/* -----------------------------------------------------
   RESPONSIVE & MOBILE NAVIGATION ADDITIONS
----------------------------------------------------- */

/* Mobile Menu Button - Hidden by default on Desktop */
.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* Tablet & Mobile Styles (Max Width 992px) */
@media (max-width: 992px) {

    /* Header Adjustments */
    header {
        padding: 0 20px;
        justify-content: space-between;
    }

    nav {
        justify-content: space-between;
    }

    /* Hide Desktop Nav Links & Actions by default */
    .nav-links,
    .nav-actions {
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide out */
        height: 100vh;
        background: rgba(15, 0, 30, 0.98);
        /* Deep Purple Overlay */
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 300px;
        transition: right 0.4s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links {
        padding-top: 80px;
        /* Space for actions */
    }

    /* When Active (Toggled via JS) */
    .nav-links.active {
        right: 0;
    }

    /* Actions usually stick to bottom or merge into links for mobile */
    .nav-actions {
        display: none;
        /* Simplify: often better to merge actions into the main menu list for mobile */
    }

    /* However, for this specific site, let's merge them visually via JS or just simple CSS adjustments */
    /* Alternative: Show Nav Actions below Links inside the mobile menu */
    .nav-mobile-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #1a0b2e;
        z-index: 1000;
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-mobile-container.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    /* Grids to Single Column */
    .about-grid,
    .contact-grid,
    .process-grid,
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* Typography Scaling */
    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Padding Adjustments */
    .section-padding,
    section {
        padding: 60px 0;
    }

    /* Stats */
    .hero-stats {
        justify-content: center;
    }

    /* Hero Visuals */
    .hero-visuals {
        display: none;
        /* Hide complex 3D cards on mobile for performance/space */
    }
}

/* Mobile Small (Max Width 576px) */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-col {
        min-width: 100%;
    }

    .form-box {
        padding: 20px;
    }
}