/* ================= HEADER CSS - ULTRA PREMIUM FIXED ================= */
:root {
    --dark-green: #204312;
    --leaf-green: #737622;
    --gold: #C9A03D;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ================= TOP BAR ================= */
.top-bar {
    background: var(--dark-green);
    padding: 10px 0;
    color: var(--white);
    font-size: 13px;
    position: relative;
    z-index: 101;
}

.top-contact span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-contact i, .top-social i {
    margin-right: 8px;
}

.top-social a {
    color: var(--white);
    margin-left: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.top-social a:hover {
    color: var(--gold);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

/* ================= MAIN HEADER ================= */
.main-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.main-header.sticky {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ================= LOGO - PREMIUM ================= */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
    display: block;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: none !important;
}

/* ================= NAVIGATION - PREMIUM ================= */
.main-nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-green);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    display: inline-block;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--leaf-green));
    transition: var(--transition);
    border-radius: 2px;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--gold);
}

/* ================= DROPDOWN MENU - PREMIUM ================= */
.main-nav .dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav .dropdown > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.main-nav .dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: -25px;
    background: var(--white);
    min-width: 780px;
    padding: 12px 0;
    margin: 0;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1000;
    list-style: none;
    border: 1px solid rgba(201, 160, 61, 0.2);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-custom {
    padding: 0;
    margin: 0;
    transition: all 0.25s ease;
}

.dropdown-item-custom a {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 12px 20px !important;
    transition: all 0.25s ease !important;
    background: transparent !important;
    text-decoration: none !important;
    position: relative !important;
}

.dropdown-item-custom a::after {
    display: none !important;
}

.dropdown-item-custom:hover {
    background: linear-gradient(90deg, rgba(201, 160, 61, 0.12), rgba(115, 118, 34, 0.08));
}

.dropdown-item-custom a:hover {
    padding-left: 28px !important;
    background: transparent !important;
}

.dropdown-item-custom i {
    font-size: 24px;
    color: var(--gold);
    width: 35px;
    text-align: center;
    transition: all 0.25s ease;
}

.dropdown-item-custom:hover i {
    transform: scale(1.1);
    color: var(--leaf-green);
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dropdown-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 3px;
    transition: color 0.25s ease;
}

.dropdown-item-custom:hover .dropdown-title {
    color: var(--gold);
}

.dropdown-desc {
    font-size: 11px;
    color: var(--gray);
    transition: color 0.25s ease;
}

.dropdown-item-custom:hover .dropdown-desc {
    color: var(--leaf-green);
}

/* ================= HEADER ACTIONS ================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

/* ================= MOBILE TOGGLE ================= */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 9999;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark-green);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle:hover span {
    background: var(--gold);
}

/* ================= MOBILE MENU - PREMIUM ================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transition: 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    padding: 25px 20px;
    overflow-y: auto;
    visibility: visible;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-header .logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-menu-header .logo img {
    height: 45px;
    width: auto;
}

.mobile-menu-header .logo-text h1 {
    font-size: 18px;
    margin: 0;
    color: var(--dark-green);
}

.mobile-menu-header .logo-text h1 span {
    color: var(--leaf-green);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-green);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-close:hover {
    background: rgba(201, 160, 61, 0.1);
    color: var(--gold);
    transform: rotate(90deg);
}

/* Mobile Navigation List */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list > li {
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-list > li:last-child {
    border-bottom: none;
}

.mobile-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--dark-green);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    border-radius: 12px;
}

.mobile-nav-list > li > a i:first-child {
    width: 28px;
    color: var(--gold);
    font-size: 18px;
}

.mobile-nav-list > li > a:hover {
    color: var(--gold);
    padding-left: 8px;
}

/* Mobile Dropdown - FIXED (Only ONE icon) */
.mobile-dropdown {
    position: relative;
}

/* Hide the duplicate icon - Only show chevron */
.mobile-dropdown > a i:first-child {
    display: inline-flex !important;
}

.mobile-dropdown > a i.fa-chevron-down {
    margin-left: auto;
}

.dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer;
}

.dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--gold);
    margin-left: auto;
}

.mobile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Submenu - Premium */
.mobile-submenu {
    list-style: none;
    padding-left: 40px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin: 0;
    background: rgba(201, 160, 61, 0.03);
    border-radius: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.mobile-dropdown.active .mobile-submenu {
    max-height: 300px;
}

.mobile-submenu li {
    margin-bottom: 0;
    border-bottom: none;
}

.mobile-submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 15px;
    text-decoration: none;
    color: var(--gray);
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    border-radius: 8px;
}

.mobile-submenu li a i {
    width: 22px;
    font-size: 14px;
    color: var(--gold);
}

.mobile-submenu li a:hover {
    color: var(--gold);
    background: rgba(201, 160, 61, 0.08);
    padding-left: 20px;
}

.mobile-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-footer .whatsapp-btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.mobile-footer .whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.overlay.active {
    display: block;
}

/* ================= RESPONSIVE LOGO SIZES ================= */
@media (min-width: 1200px) {
    .logo img {
        height: 65px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .logo img {
        height: 55px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .logo img {
        height: 50px !important;
    }
}

@media (max-width: 767px) {
    .logo img {
        height: 42px !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 38px !important;
    }
}

/* ================= RESPONSIVE NAVIGATION ================= */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .top-contact span {
        margin-right: 15px;
        font-size: 12px;
    }
    
    .top-bar .text-end {
        text-align: center !important;
        margin-top: 8px;
    }
    
    .top-bar .row {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-contact {
        text-align: center;
        margin-bottom: 8px;
    }
    
    .top-contact span {
        display: inline-block;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .mobile-menu {
        width: 85%;
        padding: 20px 15px;
    }
    
    .mobile-nav-list > li > a {
        font-size: 15px;
        padding: 10px 0;
    }
    
    .mobile-submenu {
        padding-left: 32px;
    }
    
    .mobile-submenu li a {
        font-size: 13px;
        padding: 8px 0 8px 12px;
    }
    
    .top-contact span {
        display: block;
        margin: 5px 0;
    }
    
    .whatsapp-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .mobile-footer .whatsapp-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .mobile-menu {
        width: 90%;
        padding: 15px 12px;
    }
    
    .mobile-menu-header .logo img {
        height: 38px !important;
    }
    
    .mobile-nav-list > li > a {
        font-size: 14px;
    }
}