
/* ==========================================
   SCHOOLS SECTION
========================================== */

.schools {
    padding: 85px 40px 100px;

    background: #F7F7F5;

    overflow: hidden;
}

/* ==========================================
   CONTAINER
========================================== */

.schools-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: 55% 45%;

    align-items: center;
    gap: 55px;
}

/* ==========================================
   LEFT IMAGE
========================================== */

.schools-image {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 0;
}

.schools-bg {
    display: block;

    width: 100%;
    max-width: 760px;

    height: auto;

    aspect-ratio: 5 / 4;

    object-fit: cover;

    border-radius: 32px;

    position: relative;
    z-index: 2;

    box-shadow:
        0 25px 60px rgba(15,23,42,.12),
        0 10px 25px rgba(15,23,42,.06);

    transition: transform .4s ease;
}

.schools-bg:hover {
    transform: translateY(-6px);
}

/* ==========================================
   IMAGE DECORATION
========================================== */

.schools-image::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(255,201,40,.16);

    top: -60px;
    left: -60px;

    filter: blur(70px);

    z-index: 0;
}

.schools-image::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    background: rgba(245,130,32,.10);

    bottom: -40px;
    right: -30px;

    filter: blur(60px);

    z-index: 0;
}

/* ==========================================
   RIGHT CONTENT
========================================== */

.schools-content {
    width: 100%;
    max-width: 540px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 20px 15px;
}

/* ==========================================
   SECTION TAG
========================================== */

.schools-tag {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 8px 18px;

    margin-bottom: 26px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #EAF3FF,
        #DCEEFF
    );

    color: #202938;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

/* ==========================================
   HEADLINE
========================================== */

.schools-title {
    font-size: clamp(40px, 4vw, 56px);

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -1.8px;

    color: #202938;

    margin: 0 0 25px;
}

.schools-title span {
    display: block;

    color: #F58220;
}

/* ==========================================
   DESCRIPTION
========================================== */

.schools-description {
    max-width: 500px;

    font-size: 18px;

    font-weight: 500;

    line-height: 1.8;

    color: #6B7280;

    margin: 0 0 32px;
}

/* ==========================================
   BUTTON
========================================== */

.schools-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 16px 36px;

    border-radius: 999px;

    background: #FFC928;

    color: #202938;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;

    transition: all .3s ease;

    box-shadow:
        0 12px 30px rgba(255,201,40,.25);
}

.schools-btn:hover {
    transform: translateY(-4px);

    background: #F5BA12;

    color: #202938;

    box-shadow:
        0 18px 40px rgba(255,201,40,.35);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

    .schools {
        padding: 70px 30px 80px;
    }

    .schools-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .schools-content {
        padding: 10px 0;
    }

    .schools-title {
        font-size: 42px;
    }

    .schools-description {
        font-size: 16px;
        line-height: 1.75;
    }

}

/* ==========================================
   TABLET SMALL
========================================== */

@media (max-width: 850px) {

    .schools-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .schools-image {
        order: 1;
    }

    .schools-content {
        order: 2;

        max-width: 650px;

        margin: 0 auto;

        align-items: center;

        text-align: center;
    }

    .schools-title {
        font-size: 46px;
    }

    .schools-description {
        max-width: 600px;
    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .schools {
        padding: 55px 20px 70px;
    }

    .schools-container {
        gap: 32px;
    }

    .schools-bg {
        border-radius: 22px;

        aspect-ratio: 4 / 3;
    }

    .schools-tag {
        font-size: 11px;
        letter-spacing: 1.5px;

        margin-bottom: 20px;
    }

    .schools-title {
        font-size: clamp(36px, 9vw, 44px);

        line-height: 1.18;

        letter-spacing: -1.3px;

        margin-bottom: 20px;
    }

    .schools-description {
        font-size: 16px;

        line-height: 1.7;

        margin-bottom: 25px;
    }

    .schools-btn {
        width: 100%;
        max-width: 260px;

        padding: 15px 28px;

        font-size: 16px;
    }

    .schools-image::before {
        width: 160px;
        height: 160px;

        top: -25px;
        left: -15px;
    }

    .schools-image::after {
        width: 130px;
        height: 130px;

        bottom: -15px;
        right: -10px;
    }

}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .schools-bg,
    .schools-btn {
        transition: none;
    }

}
