/* --- 3. NAVBAR & NAVIGATION --- */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.5rem 1rem !important;
        justify-content: space-between !important;
    }

    .nav-brand img {
        height: 50px !important;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent !important;
        border: none !important;
        cursor: pointer;
        padding: 0 !important;
        z-index: 2000 !important;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: #00f6fe !important;
        border-radius: 4px;
        transition: 0.3s ease;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 75% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: rgba(1, 6, 28, 0.98) !important;
        border-left: 2px solid #00f6fe !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2.5rem !important;
        transition: 0.4s cubic-bezier(0.1, 0.7, 0.6, 0.9) !important;
        z-index: 1000 !important;
        margin: 0 !important;
        padding: 2rem !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .navbar .nav-cta {
        display: none !important;
    }

    .navbar .nav-courses {
        display: none !important;
    }

    .mobile-only-item {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .nav-cta-mobile {
        background-color: var(--color-primary) !important;
        color: white !important;
        padding: 0.8rem 1.5rem !important;
        border-radius: 4px !important;
        font-weight: 700 !important;
        display: inline-block !important;
        width: 80% !important;
    }
}