@media (min-width: 1025px) {
    .site-footer .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.9rem !important;
    }

    .section {
        padding: 4rem 1rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .section-desc {
        font-size: 0.9rem !important;
    }
    /* Grid Fixes */
    .grid-res {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    /* Hero Section */
    .hero {
        padding: 6rem 0 4rem 0 !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-outcomes {
        grid-template-columns: 1fr !important;
        padding: 0 1rem !important;
    }

        .hero-outcomes > div {
            padding: 1.5rem !important;
        }
    /* Curriculum Table Fix */
    .curriculum-header {
        display: none !important;
    }

    .curriculum-row {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
        gap: 1rem !important;
    }

        .curriculum-row > div:nth-child(3) {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 0.5rem !important;
        }

            .curriculum-row > div:nth-child(3) span {
                margin-top: 0 !important;
            }

    .mobile-min-width-auto {
        min-width: auto !important;
    }

    .price-card {
        padding: 2rem 1.5rem !important;
    }
    /* Testimonials & Projects & Pricing */
    .testimonials-grid,
    .projects-grid,
    .registration-grid {
        grid-template-columns: 1fr !important;
        padding: 0 0.5rem !important;
        gap: 2.5rem !important;
    }

    .testimonial-card {
        padding: 2rem 1.5rem !important;
    }

        .testimonial-card [style*="position: absolute; top: -20px; right: 30px;"] {
            right: 15px !important;
            width: 35px !important;
            height: 35px !important;
        }

    .testimonial-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

        .testimonial-stats [style*="border-left"] {
            border-left: none !important;
            border-top: 1px solid #f1f5f9 !important;
            padding-left: 0 !important;
            padding-top: 1rem !important;
        }



    .instructor-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .instructor-card {
        padding: 1.5rem !important;
        border-radius: 24px !important;
    }
}

