        .site-header-nav {
            background: transparent;
            padding: 1.5rem 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
        }

        .site-header-nav.scrolled {
            background: #0a2342;
            padding: 1.2rem 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .navbar-container {
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2rem;
        }

        .logo {
            font-weight: 800;
            font-size: 1.7rem;
            color: #fff;
            letter-spacing: -1px;
        }

        /* Desktop menu wrapper */
        .menu-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
        }
        
        .menu-wrapper .floating-logo {
            display: none;
        }

        .nav-links {
            display: flex;
            gap: 1.5rem;
            list-style: none;
            margin: 0;
            padding: 0;
            justify-content: center;
            flex-grow: 1;
        }

        @media (max-width: 900px) {
            .menu-wrapper {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                width: 100vw !important;
                max-width: 100vw !important;
                border-radius: 0 !important;
                background: rgba(10, 35, 66, 0.72) !important;
                box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
                display: flex !important;
                flex-direction: column !important;
                padding: 80px 20px 24px 20px !important;
                transition: max-height 0.38s cubic-bezier(.4,1.6,.4,1), opacity 0.32s cubic-bezier(.4,1.6,.4,1), background 0.3s !important;
                z-index: 1000 !important;
                align-items: flex-start !important;
                justify-content: flex-start !important;
                backdrop-filter: blur(12px) !important;
                max-height: 0 !important;
                opacity: 0 !important;
                pointer-events: none !important;
                overflow: hidden !important;
            }
            .menu-wrapper.active {
                max-height: 100vh !important;
                opacity: 1 !important;
                pointer-events: auto !important;
            }
            .menu-wrapper .floating-logo {
                display: block !important;
                position: absolute;
                top: 1.2rem;
                left: 50%;
                transform: translateX(-50%);
                font-weight: 800;
                font-size: 1.7rem;
                color: #fff;
                letter-spacing: -1px;
                z-index: 1100;
                pointer-events: none;
                text-shadow: 0 2px 8px rgba(0,0,0,0.18);
            }
        }

        .nav-links > li {
            position: relative;
        }

        .nav-links a {
            color: #e0e7ef;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: color 0.2s, background-color 0.2s;
            padding: 0.6rem 1rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
        }

        .nav-links a:hover, .nav-links > li:hover > a {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .menu-arrow {
            font-size: 0.7rem;
            margin-left: 0.4rem;
            transition: transform 0.2s;
        }

        .nav-links > li:hover .menu-arrow {
            transform: rotate(180deg);
        }

        .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            border-radius: 0.7rem;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            min-width: 200px;
            z-index: 10;
            padding: 0.5rem;
            margin-top: 0.2rem;
            opacity: 0;
            transform: translateY(0);
            transition: opacity 0.2s ease;
            pointer-events: none;
        }

        /* Create a hover bridge to make it easier to move from nav item to dropdown */
        .nav-links > li::before {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            height: 0.7rem;
            background: transparent;
            z-index: 9;
        }

        .nav-links > li:hover .dropdown {
            display: block;
            opacity: 1;
            pointer-events: auto;
        }

        .dropdown li {
            list-style: none;
        }

        .dropdown a {
            color: #334155;
            padding: 0.7rem 1rem;
            display: block;
            border-radius: 0.5rem;
            font-size: 0.95rem;
            font-weight: 500;
            white-space: nowrap;
        }

        .dropdown a:hover {
            background: #f1f5f9;
            color: #1e293b;
        }

        .nav-actions {
            display: flex;
            align-items: center;
        }

        /* Hide mobile login container on desktop */
        .mobile-login-container {
            display: none;
        }

        .login-link {
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(179, 157, 219, 0.2);
            padding: 0.7rem 1.4rem;
            border-radius: 999px;
            transition: background-color 0.2s;
        }

        .login-link:hover {
            background: rgba(179, 157, 219, 0.4);
        }

        /* Mobile Menu Styles */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            width: 32px;
            height: 32px;
            position: relative;
            cursor: pointer;
            z-index: 2001; /* Ensure always above menu */
        }
        @media (max-width: 900px) {
            .mobile-menu-toggle {
                display: block;
                position: fixed;
                top: 1.2rem;
                right: 1.2rem;
                z-index: 2001;
                background: rgba(255, 255, 255, 0.15);
                border: 2px solid rgba(179, 157, 219, 0.6);
                border-radius: 50%;
                box-shadow: 0 4px 12px rgba(0,0,0,0.2);
                padding: 0;
                width: 44px;
                height: 44px;
                transition: all 0.3s ease;
                backdrop-filter: blur(8px);
            }
            
            .mobile-menu-toggle:hover {
                background: rgba(179, 157, 219, 0.25);
                border-color: rgba(179, 157, 219, 0.8);
                transform: scale(1.05);
            }
            
            .hamburger-icon {
                position: absolute;
                top: 50%;
                left: 10px;
                right: 10px;
                height: 3px;
                background-color: #fff;
                border-radius: 2px;
                transform: translateY(-50%);
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            }

            .hamburger-icon:before, 
            .hamburger-icon:after {
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                height: 3px;
                background-color: #fff;
                border-radius: 2px;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            }

            .hamburger-icon:before {
                top: -8px;
            }

            .hamburger-icon:after {
                top: 8px;
            }

            .mobile-menu-toggle.active .hamburger-icon {
                background-color: transparent;
            }

            .mobile-menu-toggle.active .hamburger-icon:before {
                top: 0;
                transform: rotate(45deg);
            }

            .mobile-menu-toggle.active .hamburger-icon:after {
                top: 0;
                transform: rotate(-45deg);
            }
            
            body.menu-open .mobile-menu-toggle {
                z-index: 2002;
            }
            
            .navbar-container .logo {
                transition: opacity 0.2s;
            }
            
            body.menu-open .navbar-container .logo {
                opacity: 0;
                pointer-events: none;
            }
            
            .menu-wrapper {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                width: 100vw !important;
                max-width: 100vw !important;
                background: rgba(10, 35, 66, 0.72) !important;
                box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
                display: flex !important;
                flex-direction: column !important;
                padding: 80px 20px 24px 20px !important;
                transition: max-height 0.38s cubic-bezier(.4,1.6,.4,1), opacity 0.32s cubic-bezier(.4,1.6,.4,1), background 0.3s !important;
                z-index: 1000 !important;
                align-items: flex-start !important;
                justify-content: flex-start !important;
                backdrop-filter: blur(12px) !important;
                max-height: 0 !important;
                opacity: 0 !important;
                pointer-events: none !important;
                overflow: hidden !important;
            }
            
            .menu-wrapper.active {
                max-height: 100vh !important;
                opacity: 1 !important;
                pointer-events: auto !important;
            }
            
            .menu-wrapper .floating-logo {
                display: block !important;
                position: absolute;
                top: 1.2rem;
                left: 50%;
                transform: translateX(-50%);
                font-weight: 800;
                font-size: 1.7rem;
                color: #fff;
                letter-spacing: -1px;
                z-index: 1100;
                pointer-events: none;
                text-shadow: 0 2px 8px rgba(0,0,0,0.18);
            }

            .nav-links {
                flex-direction: column !important;
                gap: 0.5rem !important;
                margin-bottom: 2rem !important;
                width: 100% !important;
            }

            .nav-links > li {
                width: 100%;
            }

            .nav-links a {
                width: 100%;
                padding: 1rem;
            }

            .dropdown {
                position: static;
                width: 100%;
                opacity: 1;
                display: none;
                box-shadow: none;
                margin: 0;
                padding: 0 0 0 1rem;
                background: transparent;
                pointer-events: auto;
            }

            .nav-links > li:hover .dropdown,
            .nav-links > li.touch-active .dropdown {
                display: block;
            }

            .dropdown a {
                color: #e0e7ef;
            }

            .dropdown a:hover {
                background: rgba(255, 255, 255, 0.1);
                color: #fff;
            }
            
            .nav-actions {
                display: none; /* Hide the original login button */
            }
            
            .login-link {
                width: 100%;
                justify-content: center;
            }
            
            /* Mobile login container and link */
            .mobile-login-container {
                width: 100%;
                margin-top: 1.5rem;
                display: none;
            }
            
            .menu-wrapper.active .mobile-login-container {
                display: block;
            }
            
            .mobile-login-link {
                display: block;
                color: #fff;
                font-weight: 600;
                text-decoration: none;
                font-size: 1rem;
                text-align: center;
                background: rgba(179, 157, 219, 0.2);
                padding: 0.7rem 1.4rem;
                border-radius: 999px;
                transition: background-color 0.2s;
                width: 100%;
                box-sizing: border-box;
            }
            
            .mobile-login-link:hover {
                background: rgba(179, 157, 219, 0.4);
                color: #fff;
            }
            
            /* Add overlay when menu is active */
            .menu-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0,0,0,0.18);
                z-index: 990;
                backdrop-filter: blur(2px);
            }
            
            .menu-overlay.active {
                display: block;
            }
        }
