.header {
    height: var(--header-height);
    background: var(--primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 19999;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--secondary);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 48px !important;
    /* Balanced size */
    width: auto;
    transition: transform 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');

.logo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.brand-highlight {
    color: var(--secondary);
    font-weight: 700;
}

.logo-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white);
    opacity: 0.8;
    margin-left: 5px;
    letter-spacing: 0;
    display: inline-block;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.35rem;
        /* Smaller and more delicate */
        font-weight: 600;
        gap: 2px;
    }

    .logo-suffix {
        font-size: 0.75rem;
        opacity: 0.7;
    }

    .logo img {
        height: 38px !important;
        /* Slightly smaller icon too */
    }
}

@media (min-width: 993px) {
    .logo-suffix {
        display: none;
        /* Keep desktop focused on the main brand */
    }
}

/* Hover Effect */
.logo:hover img {
    transform: rotate(-10deg) scale(1.1);
}

.logo:hover .logo-text {
    text-shadow: 0 0 15px rgba(255, 180, 0, 0.3);
}

/* Mobile Menu Logic Styles */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.mobile-cta-item {
    display: none;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

/* Dropdown Styles (New) */
.has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 250px;
    border-radius: 12px;
    padding: 15px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Arrow indicator */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    transform: rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
    border-left-color: var(--secondary);
    padding-left: 30px;
}

.dropdown-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
    font-weight: 400;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-header,
.menu-overlay {
    display: none;
}

/* Desktop Contact Info */
.desktop-contact-info {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-contact-info i {
    color: var(--secondary);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        /* Premium Gradient Background - Solid */
        /* High Contrast - Solid Brand Color */
        background: #002244;
        /* Official Brand Primary */
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 20000;
        /* Must be higher than floating WhatsApp button (10000) */
        border-left: 2px solid var(--secondary);
        /* Gold border for definitive edge */
    }

    .nav-links.active {
        right: 0;
    }

    /* Header inside Menu */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-menu-header .logo-text {
        font-size: 1.5rem;
    }

    .menu-close-btn {
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 5px;
        transition: 0.3s;
    }

    .menu-close-btn:hover {
        color: var(--secondary);
        transform: rotate(90deg);
    }

    /* List Items & Animation */
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered Delay Loop */
    .nav-links.active li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.6s;
    }

    .nav-links.active li:nth-child(8) {
        transition-delay: 0.7s;
    }

    /* Links Styling */
    .nav-link {
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 1.15rem;
        /* Larger for readability */
        padding: 18px 20px;
        /* More clickable area */
        border-radius: 12px;
        color: #ffffff;
        /* Pure White */
        width: 100%;
        transition: 0.3s;
        font-weight: 600;
        /* Bolder text */
    }

    .nav-link i {
        width: 25px;
        text-align: center;
        color: var(--secondary);
        font-size: 1.2rem;
    }

    /* Active/Hover State */
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white) !important;
        transform: translateX(10px);
    }

    .nav-link:hover i,
    .nav-link.active i {
        color: #FFD700;
        /* Gold */
    }

    .nav-link::after {
        display: none;
        /* Remove desktop underline */
    }

    /* Mobile Dropdown (Accordion Style) */
    .has-dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .has-dropdown .nav-link {
        justify-content: space-between;
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border: none;
        margin: 0 15px 10px;
        padding: 5px 0;
        display: none;
        /* Shown when parent has .active class */
        min-width: 0;
        border-radius: 10px;
        backdrop-filter: none;
    }

    .has-dropdown .dropdown-menu::before {
        display: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
        animation: slideDownMobile 0.3s ease-out;
    }

    .has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-item {
        padding: 12px 20px;
        font-size: 1rem;
    }

    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile CTA Button */
    .mobile-cta-item {
        display: block;
        margin-top: auto;
        /* Push to bottom */
        padding-top: 20px;
    }

    .mobile-cta-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 1rem;
        padding: 15px;
        border-radius: 15px;
        background: var(--secondary);
        color: var(--primary);
        font-weight: 800;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    /* Overlay */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        /* Darker overlay - Solid Color */
        /* backdrop-filter: blur(4px); REMOVED per request */
        z-index: 1009;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .desktop-contact-info {
        display: none;
    }

    .menu-toggle {
        display: block;
        transition: 0.3s;
    }

    .menu-toggle:hover {
        color: var(--secondary);
    }
}