/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark-green: #1B5E20;
    --primary-green: #2E7D32;
    --primary-light-green: #4CAF50;
    --primary-orange: #FF9800;
    --primary-dark-orange: #F57C00;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f9f9f9;
    --bg-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: white;
    padding: 8px;
    z-index: 10000;
    text-decoration: none !important;
    border-radius: 0 0 4px 0;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
}

/* ===== HEADER STYLES ===== */
.header {
    background-color: var(--text-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: bold;
    gap: 10px;
}

.logo img {
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.2rem;
    color: var(--primary-dark-green);
    font-weight: 700;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-dark-green);
}

.nav-link:hover:after {
    width: 100%;
}

/* Dropdown styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-light);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-dark-green);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.dropdown:hover .dropdown-icon {
    transform: rotate(45deg);
}

/* CTA Button */
.cta-button .btn {
    background-color: var(--primary-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button .btn:hover {
    background-color: var(--primary-dark-orange);
    transform: translateY(-2px);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    justify-content: space-around;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark-green);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--primary-dark-green);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-about {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-orange);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 0.5;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark-orange);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--text-light);
        width: 80%;
        height: calc(100vh - 70px);
        padding: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 20px;
        margin: 10px 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        transform: none;
    }

    .hamburger {
        display: flex;
    }

    .cta-button {
        margin-top: 20px;
        width: 100%;
    }

    .cta-button .btn {
        display: block;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}