/* =============================================
   RESPONSIVE MENU CSS - COMPLETE FIX
   Mobile & Desktop Responsive Navigation
   ============================================= */

/* Base styles for all screen sizes */
.HeaderViewLoggedOutstyles__Wrapper-sc-1p2ovxz-0 {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 998;
}

.HeaderViewLoggedOutstyles__Container-sc-1p2ovxz-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 68px;
}

/* Logo styles */
.HeaderViewLoggedOutstyles__LogoWrap-sc-1p2ovxz-3 {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.HeaderViewLoggedOutstyles__LogoWrap-sc-1p2ovxz-3 a {
    display: flex;
    align-items: center;
}

.Logo__LogoImage-sc-aq2pol-0 {
    height: 40px;
    width: 145px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
}

/* Hamburger Button Container */
.HeaderViewLoggedOutstyles__HamburgerWrap-sc-1p2ovxz-7 {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Hamburger Animation Base */
.Hamburger__Bun-sc-1w9jhkm-1 {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    height: 23px;
    position: relative;
    width: 30px;
    vertical-align: top;
}

.Hamburger__Meat-sc-1w9jhkm-0 {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 1px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
    background: #1A1B1D;
}

/* Login area base styles */
.LoginArea__Container-sc-1h2r6t4-0 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.LoginArea__SignupHolder-sc-1h2r6t4-2 {
    display: flex;
    align-items: center;
}

/* =============================================
   DESKTOP STYLES (1200px and up)
   ============================================= */
@media (min-width: 1200px) {
    .HeaderViewLoggedOutstyles__Container-sc-1p2ovxz-1 {
        height: 64px;
    }
    
    .Logo__LogoImage-sc-aq2pol-0 {
        width: 185px;
    }
    
    /* Desktop menu container - always visible */
    .HeaderViewLoggedOutstyles__MenuContainer-sc-1p2ovxz-4 {
        position: static !important;
        opacity: 1 !important;
        display: flex !important;
        align-self: center;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }
    
    .HeaderViewLoggedOutstyles__Menu-sc-1p2ovxz-5 {
        position: static !important;
        padding: 0 24px !important;
        background: transparent !important;
        overflow-y: visible !important;
        width: auto !important;
        right: auto !important;
        height: auto !important;
    }
    
    .HeaderViewLoggedOutstyles__MenuItemsContainer-sc-1p2ovxz-6 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 0;
        padding: 0 20px;
        padding-bottom: 0 !important;
    }
    
    .HeaderItemLoggedOutstyle__MenuItem-sc-z8kjof-1 {
        position: relative;
        margin: 0;
        border-bottom: none !important;
        display: inline-flex;
        align-items: center;
    }
    
    .HeaderItemLoggedOutstyle__Title-sc-z8kjof-3 {
        display: flex;
        align-items: center;
        height: 64px;
    }
    
    .HeaderItemLoggedOutstyle__MenuLinkContainer-sc-z8kjof-2 {
        display: flex;
        align-items: center;
        height: 64px;
        padding: 0 15px;
        transition: all 0.3s ease;
    }
    
    .HeaderItemLoggedOutstyle__MenuLinkContainer-sc-z8kjof-2 a {
        font-size: 14px;
        color: #1A1B1D;
        text-decoration: none;
        font-family: 'Linik Sans', Arial, sans-serif;
    }
    
    .HeaderItemLoggedOutstyle__MenuLinkContainer-sc-z8kjof-2:hover {
        background-color: rgba(0,0,0,0.03);
    }
    
    /* Desktop dropdown submenu styles */
    .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5 {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: #FFFFFF !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
        border-radius: 8px !important;
        min-width: 280px !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000 !important;
        padding: 20px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .HeaderItemLoggedOutstyle__MenuItem-sc-z8kjof-1:hover .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5 {
        opacity: 1;
        visibility: visible;
    }
    
    .HeaderItemLoggedOutstyle__ArrowIcon-sc-z8kjof-4 {
        margin-left: 8px;
        transition: transform 0.3s ease;
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #1A1B1D;
    }
    
    .HeaderItemLoggedOutstyle__MenuItem-sc-z8kjof-1:hover .HeaderItemLoggedOutstyle__ArrowIcon-sc-z8kjof-4 {
        transform: rotate(180deg);
    }
    
    /* Hide hamburger on desktop */
    .HeaderViewLoggedOutstyles__HamburgerWrap-sc-1p2ovxz-7 {
        display: none !important;
    }
    
    /* Hide mobile-only elements on desktop */
    .devices__MobileOnly-sc-1vs0x36-0 {
        display: none !important;
    }
    
    /* Show desktop-only elements */
    .devices__DesktopOnly-sc-1vs0x36-1 {
        display: block !important;
    }
    
    /* Hide mobile menu footer on desktop */
    .HeaderViewLoggedOutstyles__MobileMenuFooter-sc-1p2ovxz-10 {
        display: none !important;
    }
    
    /* Backdrop hidden on desktop */
    .HeaderViewLoggedOutstyles__Backdrop-sc-1p2ovxz-9 {
        display: none !important;
    }
    
    /* Submenu section styling for desktop */
    .SubmenuSectionstyles__SubMenuSection-sc-awryzd-0 {
        padding: 10px 0;
    }
    
    .Label__LabelSmall-sc-1n9idvm-1 {
        font-size: 11px;
        color: #888C93;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
        display: block;
    }
    
    .HeaderItemLoggedOutstyle__SubMenuItem-sc-z8kjof-6 {
        padding: 8px 0;
    }
    
    .HeaderItemLoggedOutstyle__SubMenuItem-sc-z8kjof-6 a {
        font-size: 14px;
        color: #5E6268;
        transition: color 0.2s ease;
    }
    
    .HeaderItemLoggedOutstyle__SubMenuItem-sc-z8kjof-6 a:hover {
        color: #00E6E6;
    }
    
    /* Login link visible on desktop */
    .LoginArea__LoginLinkWrapper-sc-1h2r6t4-3 {
        display: inline-block !important;
        margin: 0 10px 0 20px;
    }
}

/* =============================================
   TABLET AND MOBILE STYLES (below 1200px)
   ============================================= */
@media (max-width: 1199px) {
    .HeaderViewLoggedOutstyles__HamburgerWrap-sc-1p2ovxz-7 {
        display: flex !important;
        align-items: center;
        padding: 15px;
    }
    
    /* Mobile menu container */
    .HeaderViewLoggedOutstyles__MenuContainer-sc-1p2ovxz-4 {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        z-index: 998;
        transition: right 0.3s ease, opacity 0.3s ease;
        overflow-y: auto;
        opacity: 0;
    }
    
    .HeaderViewLoggedOutstyles__MenuContainer-sc-1p2ovxz-4.mobi1 {
        right: 0;
        opacity: 1;
    }
    
    .HeaderViewLoggedOutstyles__Menu-sc-1p2ovxz-5 {
        padding: 24px;
        height: 100%;
        position: relative;
    }
    
    .HeaderViewLoggedOutstyles__Menu-sc-1p2ovxz-5.mobi2 {
        right: 0;
    }
    
    .HeaderViewLoggedOutstyles__MenuItemsContainer-sc-1p2ovxz-6 {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 140px;
    }
    
    .HeaderItemLoggedOutstyle__MenuItem-sc-z8kjof-1 {
        border-bottom: 1px solid #eee;
    }
    
    .HeaderItemLoggedOutstyle__Title-sc-z8kjof-3 {
        padding: 16px 0;
        display: block;
    }
    
    .HeaderItemLoggedOutstyle__MenuLinkContainer-sc-z8kjof-2 {
        font-size: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .HeaderItemLoggedOutstyle__MenuLinkContainer-sc-z8kjof-2 a {
        font-size: 18px;
        color: #1A1B1D;
        text-decoration: none;
        font-family: 'Linik Sans', Arial, sans-serif;
    }
    
    /* Mobile arrow icon */
    .HeaderItemLoggedOutstyle__ArrowIcon-sc-z8kjof-4 {
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #1A1B1D;
        transition: transform 0.3s ease;
    }
    
    /* Mobile submenu styles */
    .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5 {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
        background: #f8f9fa;
        margin: 0 -24px;
        padding: 0 24px;
        opacity: 0;
    }
    
    .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5.eduationSub,
    .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5.aboutSub,
    .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5.mobile-menu-drop,
    .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5.mobile-menu-drop2 {
        max-height: 700px !important;
        padding: 15px 24px !important;
        opacity: 1 !important;
        height: auto !important;
    }
    
    .SubmenuSectionstyles__SubMenuSection-sc-awryzd-0 {
        padding: 15px 0;
    }
    
    .Label__LabelSmall-sc-1n9idvm-1 {
        font-size: 11px;
        color: #888C93;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
        display: block;
    }
    
    .HeaderItemLoggedOutstyle__SubMenuItem-sc-z8kjof-6 {
        padding: 10px 0;
    }
    
    .HeaderItemLoggedOutstyle__SubMenuItem-sc-z8kjof-6 a {
        font-size: 15px;
        color: #5E6268;
    }
    
    /* Mobile menu footer */
    .HeaderViewLoggedOutstyles__MobileMenuFooter-sc-1p2ovxz-10 {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #FFFFFF;
        padding: 20px 24px;
        border-top: 1px solid #eee;
        z-index: 999;
    }
    
    .HeaderViewLoggedOutstyles__MobileMenuFooterHolder-sc-1p2ovxz-11 {
        display: flex;
        gap: 12px;
    }
    
    .HeaderViewLoggedOutstyles__MobileMenuFooterHolder-sc-1p2ovxz-11 a {
        flex: 1;
    }
    
    .HeaderViewLoggedOutstyles__MobileMenuFooterHolder-sc-1p2ovxz-11 button {
        width: 100%;
    }
    
    /* Hide desktop-only elements */
    .devices__DesktopOnly-sc-1vs0x36-1 {
        display: none !important;
    }
    
    /* Show mobile-only elements */
    .devices__MobileOnly-sc-1vs0x36-0 {
        display: block !important;
    }
    
    /* Mobile Nav Container in menu */
    .HeaderViewLoggedOutstyles__NavContainer-sc-1p2ovxz-13 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid #eee;
    }
    
    /* Login area - hide login link on mobile/tablet */
    .LoginArea__LoginLinkWrapper-sc-1h2r6t4-3 {
        display: none !important;
    }
}

/* Tablet specific width */
@media (min-width: 768px) and (max-width: 1199px) {
    .HeaderViewLoggedOutstyles__Container-sc-1p2ovxz-1 {
        padding: 0 35px;
    }
    
    .Logo__LogoImage-sc-aq2pol-0 {
        height: 45px;
        width: 160px;
    }
    
    .HeaderViewLoggedOutstyles__MenuContainer-sc-1p2ovxz-4 {
        width: 320px;
    }
}

/* Mobile specific */
@media (max-width: 767px) {
    .HeaderViewLoggedOutstyles__Container-sc-1p2ovxz-1 {
        padding: 0 15px;
    }
    
    .Logo__LogoImage-sc-aq2pol-0 {
        height: 35px;
        width: 130px;
    }
}

/* =============================================
   HAMBURGER ACTIVE STATE ANIMATION
   ============================================= */
.cyGYgc span.Hamburger__Meat-sc-1w9jhkm-0 {
    opacity: 0 !important;
}

.cyGYgc::before {
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
}

.cyGYgc::after {
    bottom: auto !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(-45deg) !important;
}

/* =============================================
   BACKDROP STYLES
   ============================================= */
.HeaderViewLoggedOutstyles__Backdrop-sc-1p2ovxz-9 {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 68px;
    left: 0;
    width: 100vw;
    height: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 996;
    pointer-events: none;
}

/* =============================================
   BODY SCROLL LOCK WHEN MENU OPEN
   ============================================= */
body.menu-open {
    overflow: hidden;
}

/* =============================================
   ACCESSIBILITY STYLES
   ============================================= */
.HeaderItemLoggedOutstyle__MenuLinkContainer-sc-z8kjof-2:focus,
.HeaderItemLoggedOutstyle__MenuLinkContainer-sc-z8kjof-2:focus-visible,
.Hamburger__Bun-sc-1w9jhkm-1:focus,
.Hamburger__Bun-sc-1w9jhkm-1:focus-visible {
    outline: 2px solid #00E6E6;
    outline-offset: 2px;
}

/* =============================================
   REDUCED MOTION SUPPORT
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .HeaderViewLoggedOutstyles__MenuContainer-sc-1p2ovxz-4,
    .HeaderViewLoggedOutstyles__Menu-sc-1p2ovxz-5,
    .HeaderItemLoggedOutstyle__SubMenu-sc-z8kjof-5,
    .Hamburger__Bun-sc-1w9jhkm-1,
    .Hamburger__Meat-sc-1w9jhkm-0,
    .HeaderViewLoggedOutstyles__Backdrop-sc-1p2ovxz-9 {
        transition: none !important;
    }
}

/* =============================================
   BUTTON STYLES
   ============================================= */
.Buttonstyle__ButtonContainer-sc-8g16l6-0 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Linik Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border: none;
}

/* Primary Button (Sign Up) */
.Buttonstyle__ButtonContainer-sc-8g16l6-0.jYNpVh {
    background: #00E6E6;
    color: #1A1B1D;
}

.Buttonstyle__ButtonContainer-sc-8g16l6-0.jYNpVh:hover {
    background: #71F0D9;
}

/* Secondary Button (Login) */
.Buttonstyle__ButtonContainer-sc-8g16l6-0.hoaTda {
    background: transparent;
    color: #1A1B1D;
    border: 1px solid #1A1B1D;
}

.Buttonstyle__ButtonContainer-sc-8g16l6-0.hoaTda:hover {
    background: #F7F8F9;
}
