:root {
    /* --- Default Light Theme Variables --- */
    --ach-bg: #ffffff;
    --ach-top-bar-bg: #f8f9fa;
    --ach-text-dark: #343a40;
    --ach-text-light: #6c757d;
    --ach-primary: #0056b3;
    --ach-primary-hover: #004494;
    --ach-secondary-bg: #eef5ff;
    --ach-secondary-hover: #dbeaff;
    --ach-border: #dee2e6;
    --ach-shadow: rgba(0, 0, 0, 0.06);
    --ach-mobile-menu-bg: #212529;
    --ach-font: 'Poppins', sans-serif;
    --ach-transition: all 0.3s ease-in-out;
}
    /* --- Top Bar Styles --- */
            #first-header .ach-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .ach-top-right-controls {
                display: flex;
                align-items: center;
                gap: 20px;
            }

            /* --- Main Navbar Styles --- */
            .ach-navbar .ach-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .ach-navbar-brand {
                margin-right: auto;
            }
            .ach-navbar-content, .ach-header-controls {
                display: flex;
                align-items: center;
            }
            .ach-header-controls {
                gap: 20px; /* Spacing between profile and hamburger */
            }

            /* --- Default (Mobile-First) Styles --- */
            .ach-navbar-content {
                display: none; /* Hide mobile menu panel by default */
            }
            .ach-navbar-content.is-active {
                display: block; /* Show menu when hamburger is clicked */
            }
            
            /* --- Desktop Styles (1025px and up) --- */
            @media (min-width: 1025px) {
                .ach-navbar-content {
                    display: flex; /* Show nav menu items in a row */
                    margin-right: 20px; /* Space between menu and controls */
                }
                .ach-hamburger {
                    display: none; /* Hide hamburger on desktop */
                }
            }

            /* --- Mobile & Tablet Styles (1024px and down) --- */
            @media (max-width: 1024px) {
                .ach-header-controls {
                    gap: 15px;
                }
            }

            /* Profile picture element styles (applies to all views) */
            .ach-profile-item { display: flex; align-items: center; }
            .ach-profile-link { display: block; position: relative; line-height: 0; }
            .ach-profile-pic {
                width: 40px !important;
                height: 40px !important;
                max-width: 40px !important;
                max-height: 40px !important;
                min-width: 40px !important;
                min-height: 40px !important;
                border-radius: 50%;
                object-fit: cover;
                border: 2px solid transparent;
                transition: transform 0.3s ease, border-color 0.3s ease;
            }
            .ach-profile-link:hover .ach-profile-pic {
                transform: scale(1.1);
                border-color: #0056b3;
            }

/* ==========================================================================
   Optional Color Themes
   ========================================================================== */

/* --- Dark Theme --- */
.ach-theme-dark {
    --ach-bg: #1a1a2e;
    --ach-top-bar-bg: #212529;
    --ach-text-dark: #f8f9fa;
    --ach-text-light: #adb5bd;
    --ach-primary: #4dabf7;
    --ach-primary-hover: #74c0fc;
    --ach-secondary-bg: #343a40;
    --ach-secondary-hover: #495057;
    --ach-border: #495057;
    --ach-shadow: rgba(0, 0, 0, 0.2);
    --ach-mobile-menu-bg: #121212;
}

/* --- Forest Theme --- */
.ach-theme-forest {
    --ach-bg: #fafffa;
    --ach-top-bar-bg: #e6f9e6;
    --ach-text-dark: #1e4620;
    --ach-text-light: #4a7c59;
    --ach-primary: #2f9e44;
    --ach-primary-hover: #2b8a3e;
    --ach-secondary-bg: #d3f9d8;
    --ach-secondary-hover: #b2f2bb;
    --ach-border: #cce7d0;
    --ach-shadow: rgba(47, 158, 68, 0.1);
    --ach-mobile-menu-bg: #1e4620;
}

/* --- Sunset Theme --- */
.ach-theme-sunset {
    --ach-bg: #fff8f0;
    --ach-top-bar-bg: #fff0e1;
    --ach-text-dark: #5c3d1e;
    --ach-text-light: #8c6d4e;
    --ach-primary: #f76707;
    --ach-primary-hover: #d95900;
    --ach-secondary-bg: #ffe8cc;
    --ach-secondary-hover: #ffd8a8;
    --ach-border: #ffdec0;
    --ach-shadow: rgba(247, 103, 7, 0.1);
    --ach-mobile-menu-bg: #5c3d1e;
}


/* ==========================================================================
   Base & Header Structure
   ========================================================================== */
   
#ach-header {
    width: 100%;
    /* background-color: var(--ach-bg); */ /* Yahan se background-color hata dein */
    box-shadow: 0 2px 15px var(--ach-shadow);
    font-family: var(--ach-font);
   
    z-index: 1000;
    transition: background-color 0.5s ease, box-shadow 0.3s ease;
}

/* --- Scroll Effect --- */
#ach-header.is-scrolled #second-header {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
#ach-header.is-scrolled #second-header .ach-navbar-brand img {
    height: 45px;
}

.ach-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   First Header (Top Bar)
   ========================================================================== */
#first-header {
    background-color: var(--ach-primary);
    border-bottom: 1px solid var(--ach-border);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #ffffff;
    transition: var(--ach-transition);
}
#first-header .ach-contact-info {
    display: flex;
    gap: 20px;
}
#first-header .ach-contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}
#first-header .ach-contact-info a:hover,
#first-header .ach-contact-info a:focus {
    color: #eef5ff;
    text-decoration: none; /* Remove underline on hover for cleaner look */
}
#first-header .ach-contact-info i {
    margin-right: 8px;
}

/* Hide mobile-only text on desktop */
.ach-contact-info .ach-mobile-only {
    display: none;
}


/* ==========================================================================
   Language Switcher Links
   ========================================================================== */
.ach-language-switcher {
    display: flex;
    align-items: center;
}

.ach-language-switcher .ach-lang-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    outline: none;
}

.ach-language-switcher .ach-lang-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

.ach-language-switcher .ach-lang-link:active {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(0.95);
}

.ach-language-switcher .ach-lang-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.ach-language-switcher .ach-lang-separator {
    color: #ffffff;
    font-size: 14px;
    opacity: 0.7;
    margin: 0 4px;
}


/* ==========================================================================
   Second Header (Main Navbar)
   ========================================================================== */
   #second-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: fadeInDown 0.5s ease;
 
    background-color: var(--ach-bg); 
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#second-header {
    height: 80px;
    transition: height 0.3s ease;
    position: sticky; /* <-- ADDED */
    top: 0; /* <-- ADDED */
    z-index: 999; /* Parent se thoda zyada z-index */
    background-color: var(--ach-bg); /* <-- ADDED (Important!) */
}
#second-header > .ach-container {
    height: 100%;
}
#second-header .ach-navbar-brand img {
    height: 80px;
    width: auto;
    transition: height 0.3s ease, transform 0.3s ease;
    display: block;
}
#second-header .ach-navbar-brand:hover img {
    transform: scale(1.05) rotate(-2deg);
}
#second-header .ach-navbar-brand:active img {
    transform: scale(0.98);
}

#second-header .ach-navbar-content {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Desktop Navigation & Links
   ========================================================================== */
#second-header .ach-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 8px;
}
#second-header .ach-nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    color: var(--ach-text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--ach-transition);
    position: relative;
    overflow: hidden;
}

/* --- Advanced Hover/Focus Effects for Standard Links --- */
#second-header .ach-nav-links > li:not(.ach-button-primary):not(.ach-button-secondary) > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--ach-primary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(-50%);
}
#second-header .ach-nav-links > li:not(.ach-button-primary):not(.ach-button-secondary) > a:hover::before,
#second-header .ach-nav-links > li:not(.ach-button-primary):not(.ach-button-secondary) > a:focus::before {
    width: 100%;
}

#second-header .ach-nav-links > li:not(.ach-button-primary):not(.ach-button-secondary) > a:hover,
#second-header .ach-nav-links > li:not(.ach-button-primary):not(.ach-button-secondary) > a:focus,
#second-header .ach-nav-links > li.current-menu-item:not(.ach-button-primary):not(.ach-button-secondary) > a {
    background-color: var(--ach-secondary-bg);
    color: var(--ach-primary);
}

#second-header .ach-nav-links .menu-item-has-children > a .arrow {
    transition: transform 0.2s ease;
}
#second-header .ach-nav-links .menu-item-has-children:hover > a .arrow {
    transform: rotate(180deg);
}

/* ==========================================================================
   Sub-Menus (Dropdowns)
   ========================================================================== */
#second-header .ach-nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--ach-bg);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--ach-border);
    border-radius: 8px;
    list-style: none;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1010;
}
#second-header .ach-nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
#second-header .ach-nav-links .sub-menu a {
    padding: 12px 20px;
    font-weight: 500;
}
#second-header .ach-nav-links .sub-menu a:hover,
#second-header .ach-nav-links .sub-menu a:focus {
    background-color: var(--ach-secondary-bg);
    color: var(--ach-primary);
    padding-left: 25px;
}

/* --- Multi-level Sub-menus --- */
#second-header .ach-nav-links .sub-menu .menu-item-has-children > .sub-menu {
    top: -10px;
    left: 100%;
}

/* ==========================================================================
   Auth & Menu Buttons
   ========================================================================== */
#second-header .ach-auth-trigger-item a,
#second-header .ach-auth-trigger-item button,
#second-header .ach-nav-links .ach-button-primary a,
#second-header .ach-nav-links .ach-button-secondary a {
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--ach-transition);
    border: none;
    cursor: pointer;
    font-family: var(--ach-font);
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
#second-header .ach-auth-trigger-item a:hover,
#second-header .ach-auth-trigger-item button:hover,
#second-header .ach-nav-links .ach-button-primary a:hover,
#second-header .ach-nav-links .ach-button-secondary a:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
#second-header .ach-auth-trigger-item a:active,
#second-header .ach-auth-trigger-item button:active,
#second-header .ach-nav-links .ach-button-primary a:active,
#second-header .ach-nav-links .ach-button-secondary a:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#second-header .ach-auth-trigger-item {
    margin-left: 15px;
}

/* --- Primary Button Style (Dark) --- */
#second-header .ach-auth-trigger-item a,
#second-header .ach-auth-trigger-item button,
#second-header .ach-nav-links .ach-button-primary a {
    background-color: var(--ach-primary) !important;
    color: #fff !important;
}
#second-header .ach-auth-trigger-item a:hover,
#second-header .ach-auth-trigger-item button:hover,
#second-header .ach-nav-links .ach-button-primary a:hover {
    background-color: var(--ach-primary-hover) !important;
}

/* --- Secondary Button Style (Light) --- */
#second-header .ach-nav-links .ach-button-secondary a {
    background-color: var(--ach-secondary-bg) !important;
    color: var(--ach-primary) !important;
}
#second-header .ach-nav-links .ach-button-secondary a:hover {
    background-color: var(--ach-secondary-hover) !important;
}

/* ==========================================================================
   Hamburger & Mobile Menu
   ========================================================================== */
#second-header .ach-hamburger {
    display: none;
    background: #ffffff !important; /* Set white background with high priority */
    border: 1px solid var(--ach-border);
    border-radius: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    width: 46px;
    height: 46px;
    transition: transform 0.3s ease;
}
#second-header .ach-hamburger:hover {
    transform: scale(1.1);
}
#second-header .ach-hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--ach-text-dark); /* This will be visible on the white background */
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 3px;
    position: absolute;
    left: 9px; /* Adjusted for centering */
}
#second-header .ach-hamburger span:nth-child(1) { top: 12px; }
#second-header .ach-hamburger span:nth-child(2) { top: 21px; }
#second-header .ach-hamburger span:nth-child(3) { top: 30px; }

#second-header .ach-hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 21px;
}
#second-header .ach-hamburger.is-active span:nth-child(2) {
    transform: translateX(-20px);
    opacity: 0;
}
#second-header .ach-hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
}

#ach-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--ach-transition);
}
#ach-mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Responsive Styles (Mobile View)
   ========================================================================== */
@media (max-width: 924px) {
    #second-header .ach-hamburger {
        display: block;
    }

    #second-header .ach-navbar-content {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
       
        background-color: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: calc(100vh - 80px); 
       
        
        /* Animation Properties */
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
    }
    
    #second-header .ach-navbar-content.is-active {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }
    
    #second-header .ach-nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    #second-header .ach-nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(-15px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    /* Staggered animation for mobile menu items */
    #second-header .ach-navbar-content.is-active .ach-nav-links li {
        opacity: 1;
        transform: translateY(0);
    }
    #second-header .ach-navbar-content.is-active .ach-nav-links li:nth-child(1) { transition-delay: 0.05s; }
    #second-header .ach-navbar-content.is-active .ach-nav-links li:nth-child(2) { transition-delay: 0.1s; }
    #second-header .ach-navbar-content.is-active .ach-nav-links li:nth-child(3) { transition-delay: 0.15s; }
    #second-header .ach-navbar-content.is-active .ach-nav-links li:nth-child(4) { transition-delay: 0.2s; }
    #second-header .ach-navbar-content.is-active .ach-nav-links li:nth-child(5) { transition-delay: 0.25s; }

    #second-header .ach-nav-links a {
        color: var(--ach-text-dark);
        padding: 15px 25px;
        border-radius: 0;
        border-bottom: 1px solid var(--ach-border);
    }
    #second-header .ach-nav-links a:hover,
    #second-header .ach-nav-links a:focus,
    #second-header .ach-nav-links .current-menu-item > a {
        background-color: var(--ach-secondary-bg);
        color: var(--ach-primary);
    }

    /* Mobile Sub-Menu */
    #second-header .ach-nav-links .sub-menu {
        position: static;
        max-height: 0;
        overflow: hidden;
        background-color: #f8f9fa;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    #second-header .ach-nav-links .menu-item-has-children.is-open > .sub-menu {
        max-height: 500px;
    }
    #second-header .ach-nav-links .sub-menu a {
        padding-left: 40px;
        font-size: 0.9rem;
        border-color: var(--ach-border);
    }
    #second-header .ach-nav-links .menu-item-has-children > a .arrow {
        transform: rotate(-90deg);
    }
    #second-header .ach-nav-links .menu-item-has-children.is-open > a .arrow {
        transform: rotate(0deg);
    }

    /* Mobile Auth Button */
    #second-header .ach-auth-trigger-item {
        display: block;
        padding: 25px;
        margin-left: 0;
    }
    #second-header .ach-auth-trigger-item a,
    #second-header .ach-auth-trigger-item button {
        display: block;
        text-align: center;
        width: 100%;
    }
}

/* Responsive styles for contact info */
@media (max-width: 768px) {
    .ach-contact-info .ach-desktop-only {
        display: none;
    }
    .ach-contact-info .ach-mobile-only {
        display: inline;
    }
    #first-header .ach-contact-info i {
        margin-right: 4px; /* Adjust spacing for mobile */
    }
    .ach-container {
        padding: 0 15px;
    }
}


/* ==========================================================================
   Accessibility & Utility Classes
   ========================================================================== */

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--ach-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--ach-secondary-bg);
}

.ach-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    #ach-header {
        display: none !important;
    }
}

/* ==========================================================================
   Extra Animations & Flourishes (Optional)
   ========================================================================== */

#ach-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--ach-primary), transparent);
    animation: ach-loading-bar 3s infinite linear;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#ach-header.is-scrolled::after {
    opacity: 1;
}

@keyframes ach-loading-bar {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.ach-pulse a {
    animation: ach-pulse-effect 2s infinite;
}

@keyframes ach-pulse-effect {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 86, 179, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 86, 179, 0);
    }
}
 .ach-top-bar .ach-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .ach-language-switcher .ach-lang-link {
                color: #ffffff;
                text-decoration: none;
                font-size: 14px;
                font-family: 'Poppins', sans-serif;
                padding: 0 5px;
            }
            .ach-language-switcher .ach-lang-link:hover {
                text-decoration: underline;
            }
            .ach-language-switcher .ach-lang-separator {
                color: #ffffff;
                font-size: 14px;
            }
            /* Hide the original Google Translate banner */
            body > .skiptranslate {
                display: none !important;
            }
            /* Prevent Google Translate from adding top margin to the body */
            body {
                top: 0 !important;
            }
            
            
            
            
         