/* =========================================
   OPEN ENROLMENT PAGE — open-enrolment.css
========================================= */

/* =========================================
   SECTION 1 — INTRO
========================================= */

.openpage .open-intro-section {
    width: 100%;
    padding: 130px 30px 150px;
    background: #F6F8FE;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.openpage .open-top {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.openpage .open-label {
    color: #082F56;
    font-size: 17px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 18px 0;
}

.openpage .open-title {
    flex: 1;
    max-width: 700px;
    color: #082F56;
    font-size: 70px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.openpage .open-title-spacer {
    flex: 1;
    max-width: 700px;
}

/* =========================================
   PROGRAMS GRID
========================================= */

/* GRID */
.openpage .open-programs-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.openpage .open-programs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

/* CARD */
.openpage .program-card {
    width: clamp(280px, 30vw, 464px);
    height: clamp(260px, 28vw, 400px);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    flex: 1 1 320px;
    max-width: 464px;
}
.openpage .program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 25px;
}

.openpage .program-card-overlay {
    position: absolute;
    inset: 0;
    border-radius: 25px;
}

.openpage .program-card-content {
    position: absolute;
    inset: 0;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.openpage .program-card-title {
    color: #ffffff;
    font-size: 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    max-width: 300px;
    margin: 0;
}

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

.openpage .btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 9px 22px;
    background: transparent;
    border-radius: 45px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: background .25s, color .25s;
    cursor: pointer;
}

.openpage .btn-outline-white:hover {
    background: #ffffff;
    color: #082F56;
}

/* =========================================
   LARGE SCREENS
========================================= */

@media (min-width: 1400px) {

    .openpage .open-intro-section {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (min-width: 1920px) {

    .openpage .open-intro-section {
        padding-left: 160px;
        padding-right: 160px;
    }

    .openpage .open-title {
        font-size: 80px;
    }

    .openpage .program-card {
        width: 520px;
        height: 450px;
    }
}

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


@media (max-width: 991px) {

    .openpage .open-intro-section {
        padding: 80px 20px;
        gap: 60px;
    }

    .openpage .open-top {
        flex-direction: column;
        gap: 20px;
    }

    .openpage .open-title {
        font-size: 42px;
    }

    .openpage .open-title-spacer {
        display: none;
    }

    .openpage .open-programs-row {
        flex-wrap: wrap;
        justify-content: center;
    }


}

@media (max-width: 576px) {

    .openpage .open-title {
        font-size: 32px;
    }



    .openpage .program-card-title {
        font-size: 20px;
    }
}