/* ============================
   RESPONSIVE DESIGN SYSTEM
============================ */

/* TABLETS & SMALL DESKTOPS (1100px) */
@media (max-width: 1100px) {
    .test {
        gap: 30px;
        padding: 50px 5%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .heroImages {
        width: 100%;
        justify-content: center;
    }

    .regularSchool {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}

/* TABLETS (900px) */
@media (max-width: 900px) {
    section {
        padding: 60px 5%;
    }

    .test {
        flex-direction: column;
    }

    .course-grid,
    .features,
    .values {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* HEADER / MOBILE NAV */
    .navItems {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: 0.3s;
    }

    .navItems.active {
        display: flex;
    }

    .navItems span {
        margin: 15px 0;
    }

    .navItems span a {
        font-size: 1.5rem;
    }

    .hamburgerIcon {
        display: block;
        z-index: 1100;
    }

    /* .footer-top {
        flex-direction: column;
        text-align: left;
    } */
    .footer-top {
        flex-direction: column;
        padding: 40px 6%;
    }

    .contact-list li {
        justify-content: left;
    }

    /* .heroText h1 {
        font-size: 2.6rem;
    } */
}

/* MOBILE (600px) */
@media (max-width: 600px) {
    .test {
        flex-direction: column;
        gap: 30px;
        padding: 40px 5%;
    }

    .side-images {
        flex-direction: row;
        gap: 15px;
    }

    .side-images img {
        width: 120px;
        height: 120px;
    }

    .circle-text {
        width: 320px !important;
        height: 320px !important;
        border-width: 8px;
        padding: 25px;
    }

    .circle-text p {
        /* -webkit-line-clamp: 4; */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .circle-text p:not(:first-of-type) {
        display: none;
    }

    .test img {
        width: 140px;
        height: 140px;
    }

    .textBox h2 {
        font-size: 1.8rem;
    }
}

/* EXTRA SMALL (400px) */
@media (max-width: 400px) {
    .circle-text {
        width: 290px;
        height: 290px;
        padding: 20px;
    }

    section {
        padding: 40px 5%;
    }
}