/* ============================================
     RESPONSIVE DESIGN
     Loaded last so its overrides win regardless of
     the load order of the per-section stylesheets.
     ============================================ */
@media (max-width: 1024px) {
    .register-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .formula-cards {
        flex-direction: column;
        align-items: stretch;
    }

    .formula-card {
        max-width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .formula-plus {
        text-align: center;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-number {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 50px !important;
        margin-right: 0 !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .program-cards {
        grid-template-columns: 1fr;
    }

    .ielts-path {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-logo-img {
        width: 140px;
        height: 140px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .register-form-wrapper {
        padding: 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }
}
