/* Top Bar - Gold Background */
.header-top {
    background: #bf9737; /* Gold color */
    padding: 10px 0;
    width: 100%;
    z-index: 10007;
    position: relative;
    /* animation: slideDown 0.6s ease-out; */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-contact-lang {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding-left: 293px;
    padding-right: 12px;
    font-size: 16px;
    font-weight: 300;
    animation: fadeInUp 0.3s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-contact-lang .left {
    display: flex;
    gap: 27px;
    align-items: center;
}

.header-contact-lang .right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-phone,
.header-email {
    color: white;
    transition: all 0.3s ease;
}

.header-phone:hover,
.header-email:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-phone i,
.header-email i {
    margin-right: 5px;
    color: white;
}

.header-search-form {
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.header-search-form:hover {
    transform: scale(1.1);
    color: #D4AF37;
}

.header-lang {
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-lang:hover {
    /* color: #D4AF37; */
}

.header-lang i:last-child {
    font-size: 12px;
}

/* Main Navigation Bar */
.header-menu {
    background: white;
    /* position: relative; */
    height: 98px;
    /* animation: slideInFromTop 0.8s ease-out 0.4s both; */
    z-index: 10006;
    /* transition: all 0.3s ease; */
}

/* Fixed header menu when scrolling */
.header-menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10007;
}

/* Body padding when header is fixed */
body.header-fixed {
    padding-top: 98px;
}

/* Logo adjustments for fixed header */
.header-menu.fixed .header-logo {
    height: 98px;
    padding-bottom: 10px;
    border-radius: 0;
}

.header-menu.fixed .header-logo img {
    height: 75px;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-menu .container {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Logo Area - Dark Green Background with rounded bottom-left corner */
.header-logo {
    background: #004923; /* Dark green */
    border-radius: 0 0 30px 0;
    position: relative;
    z-index: 10012;
    height: 100%;
    display: flex;
    align-items: flex-end;
    margin-right: 0;
    position: relative;
    top: 0;
    height: 187px;
    width: 250px;
    display: flex;
    justify-content: center;
    align-content: center;
    padding-bottom: 22px;
    /* animation: logoSlideIn 1s ease-out 0.6s both; */
}

@keyframes logoSlideIn {
    from {
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.header-logo img {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
}

.header-logo:hover img {
    /* transform: scale(1.05); */
}

/* Navigation Links */
.header-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 36.5px;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    padding-left: 29px;
    height: 100%;
    font-size: 18px;
    z-index: 99999;
    animation: navFadeIn .3s ease-out 0.3s both;
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-menu ul li > a {
    color: #2C5530; /* Dark green */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 38px 0;
    position: relative !important;
    display: block;
}

.header-menu ul li a i {
    font-size: 14px;
    margin-left: 2px;
}

.header-menu ul li > a:hover {
    color: #D4AF37; /* Gold on hover */
    /* transform: translateY(-2px); */
}

.header-menu ul li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: #D4AF37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-menu ul li a:hover::after {
    width: 100%;
}

/* Contact Button */
.header-menu-btn {
    background: #2C5530; /* Dark green */
    color: white;
    padding: 19px 21px;
    border-radius: 30px;
    font-weight: 400;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
    margin-left: auto;
    font-size: 17px;
    position: relative;
    overflow: hidden;
     border: 2px solid transparent;
}

.header-menu-btn:hover {
    background: #ffffff; /* White background on hover */
    color: #2C5530; /* Dark green text on hover */
    border: 2px solid #2C5530;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #2C5530;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #D4AF37;
    transform: scale(1.1);
}


/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Container */
.mobile-menu-container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 430px;
    height: 100%;
    background: white;
    z-index: 99999;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    flex-direction: column;
}

.mobile-menu-container.active {
    display: flex;
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    background: #004923;
    height: 79px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: relative;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-logo img {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 28px;
    flex: 1;
}

.mobile-menu-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav li {
    margin: 0;
    padding: 0;
}

.mobile-menu-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    color: #004923;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    border-top: 1px solid #D4AF37;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-nav li:first-child a {
    border-top: none;
}

.mobile-menu-nav li:last-child a {
    border-bottom: none;
}

.mobile-menu-nav li a:hover {
    color: #D4AF37;
    /* transform: translateX(10px); */
}

.mobile-menu-nav li a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.mobile-menu-nav li a:hover::before {
    /* width: 15px; */
}

.mobile-menu-nav li a i {
    font-size: 14px;
    color: #004923;
}

/* Mobile Menu Dropdown */
.mobile-menu-dropdown {
    position: relative;
}

.mobile-menu-dropdown-toggle {
    cursor: pointer;
}

.mobile-menu-chevron {
    transition: transform 0.3s ease;
}

.mobile-menu-dropdown.active .mobile-menu-chevron {
    transform: rotate(90deg);
}

.mobile-menu-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    /* background: #f8f9fa; */
    /* border-left: 3px solid #D4AF37; */
    /* margin-left: 20px; */
}

.mobile-menu-dropdown.active .mobile-menu-submenu {
    display: block;
}

.mobile-menu-submenu li {
    margin: 0;
    padding: 0;
}

.mobile-menu-submenu li a {
    display: block;
    padding: 15px 20px;
    color: #004923;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-top: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    background: transparent;
}

.mobile-menu-submenu li:last-child a {
    border-bottom: none;
}

.mobile-menu-submenu li a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    padding-left: 30px;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    background: #c09736;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    min-height: 52px;
}

.mobile-menu-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}

.mobile-menu-lang i {
    font-size: 12px;
}

/* Mobile Menu Responsive Adjustments */
@media (max-width: 480px) {
    .mobile-menu-container {
        max-width: 100%;
    }
    
    .mobile-menu-header {
        padding: 0 20px;
    }
    
    .mobile-menu-content {
        padding: 20px;
    }
    
    .mobile-menu-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 1200px) {
    .header-top {
        padding: 8px 0;
    }
    
    .header-contact-lang {
        flex-direction: column;
        gap: 8px;
        padding: 0 15px;
        font-size: 14px;
    }
    
    .header-contact-lang .left,
    .header-contact-lang .right {
        gap: 15px;
        justify-content: center;
    }
    
    .header-menu {
        height: 76px;
        padding: 0;
        position: relative;
        background: white;
    }
    
    /* Fixed header adjustments for mobile */
    .header-menu.fixed {
        height: 76px;
    }
    
    body.header-fixed {
        padding-top: 76px;
    }
    
    .header-menu .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 76px;
        padding: 0 18px;
        position: relative;
    }
    
    .header-logo {
        width: 120px;
        height: 76px;
        border-radius: 0 0 15px 0;
        margin: 0;
        padding: 0;
        background: #004923;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 18px;
        top: 0;
    }
    
    .header-logo img {
        height: 54px;
        width: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 18px;
        width: 17px;
        height: 15px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 17px;
        height: 3px;
        background: #2C5530;
        border-radius: 30px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Search icon positioning */
    .header-search-form {
        position: absolute;
        right: 50px;
        top: 18px;
        width: 18px;
        height: 18px;
        color: #2C5530;
        font-size: 18px;
    }
    
    /* Hide desktop navigation on mobile */
    .header-menu ul {
        display: none !important;
    }
    
    .header-menu-btn {
        /* display: none; */
        margin-right: 75px;
    }
    
    /* Dropdown adjustments for mobile */
    .dropdown-menu {
        display: none !important;
    }
    
    /* Small Mobile Styles (max-width: 480px) - nested within 768px */
    @media (max-width: 1200px) {
        .header-top {
            display: none;
        }
        
        .header-contact-lang {
            font-size: 12px;
            padding: 0 10px;
        }
        
        .header-contact-lang .left,
        .header-contact-lang .right {
            gap: 10px;
        }
        
        .header-phone,
        .header-email {
            font-size: 12px;
        }
        
        .header-menu {
            height: 55px;
        }
        
        /* Fixed header adjustments for small mobile */
        .header-menu.fixed {
            height: 55px;
        }
        
        body.header-fixed {
            padding-top: 55px;
        }
        
        .header-menu .container {
            height: 55px;
            padding: 0 15px;
        }
        
        .header-logo {
            width: 120px;
            height: 76px;
            left: 15px;
        }

.header-menu.fixed .header-logo {
    height: 55px;
    padding-bottom: 0;
}
        
        .header-logo img {
            height: 54px;
        }

.header-menu.fixed .header-logo img {
    height: 45px;
}
        
        .mobile-menu-toggle {
            top: 20px;
            right: 15px;
            width: 15px;
            height: 12px;
        }
        
        .mobile-menu-toggle span {
            width: 17px;
            height: 3px;
            margin-bottom: 3px;
        }
        
        .header-search-form {
            right: 50px;
            top: 15px;
            width: 16px;
            height: 16px;
            font-size: 18px;
        }
        
        .header-menu ul {
            top: 70px;
        }
        
        .header-menu ul li a {
            font-size: 14px;
            padding: 12px 15px;
        }
        
        .header-menu-btn {
            padding: 10px 20px;
            font-size: 14px;
        }
    }
}



/* Utility classes for mobile menu functionality */
.header-menu .container {
    position: relative;
}

/* Hide desktop navigation on mobile */
@media (max-width: 768px) {
    .header-menu ul:not(.active) {
        display: none !important;
    }
}

/* Ensure proper spacing for mobile menu */
@media (max-width: 768px) {
    .header-menu {
        /* min-height: 80px; */
    }
    
    .header-menu .container {
        /* min-height: 80px; */
    }
}


span.separator {
    border-right: 1px solid white;
    width: 1px;
    height: 20px;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover a {
    color: #D4AF37; /* Gold on hover */
    position: relative;
}

.dropdown:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #D4AF37; /* Gold underline */
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 98px;
    /* left: 0; */
    background: #004923; /* Dark green background */
    min-width: 355px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 0;
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
}


.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 28px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    position: relative;
}

.dropdown-item a {
    color: inherit;
}

.dropdown-item:hover {
    background: #c09736; /* Darker green on hover */
    /* transform: translateX(5px); */
}

.dropdown-item:hover i {
    color: white;
}

.dropdown-item.active {
    background: #c09736; /* Gold background for active item */
    color: white;
}

.dropdown-item i {
    color: #D4AF37; /* Gold chevron */
    font-size: 16px;
    width: 7px;
    height: 12px;
}

.dropdown-item.active i {
    color: white; /* White chevron for active item */
}

.dropdown-item span {
    font-size: 18px;
    font-weight: 300;
    padding-left: 5px;
    color: white;
}

.language-dropdown {
    display: none;
}

.language-dropdown.active {
    display: block;
}