/* =========================================================
   BILIN EDUCATION TYPES PAGE
========================================================= */

.bilin-education-types-page{
    background:#fffdf9;
    color:#333f48;
}


/* =========================================================
   COMMON
========================================================= */

.bilin-education-types-page .container{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;
}

.education-types-page-hero{
    position:relative;
    overflow:hidden;
    padding:100px 0 110px;
    background:
        radial-gradient(
            circle at 82% 45%,
            rgba(0,143,114,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 18% 25%,
            rgba(240,90,40,.07),
            transparent 28%
        ),
        #fffdf9;
}

.education-types-page-hero::before{
    content:"";
    position:absolute;
    width:480px;
    height:480px;
    top:-250px;
    right:-170px;
    border:1px solid rgba(0,143,114,.10);
    border-radius:50%;
}

.education-types-page-hero::after{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    bottom:-190px;
    left:-120px;
    border:1px solid rgba(240,90,40,.10);
    border-radius:50%;
}

.education-types-page-hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    margin:0 auto;
    text-align:center;
}

.education-types-page-hero-content h1{
    margin:0 0 25px;
    color:#16324f;
    font-size:clamp(38px,5vw,60px);
    line-height:1.45;
    font-weight:800;
}

.education-types-page-hero-content h1 span{
    display:block;
    color:#008f72;
}

.education-types-page-hero-content p{
    max-width:720px;
    margin:0 auto 32px;
    color:#56616a;
    font-size:18px;
    line-height:2.15;
}

.education-types-page-hero-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.education-types-introduction{
    background:#ffffff;
}

.education-types-introduction .education-content-narrow{
    max-width:850px;
    margin:0 auto;
    text-align:center;
}

.education-types-introduction h2{
    margin:0 0 25px;
    color:#16324f;
    font-size:clamp(28px,4vw,40px);
    line-height:1.6;
    font-weight:700;
}

.education-types-introduction p{
    margin:0;
    color:#4f5961;
    font-size:17px;
    line-height:2.25;
}


/* =========================================================
   EDUCATION TYPES
========================================================= */

.education-types-section{
    background:#fbf7f0;
}

.education-types-section .education-section-heading{
    max-width:760px;
    margin:0 auto 50px;
    text-align:center;
}

.education-types-section .education-section-heading h2{
    margin:0 0 18px;
    color:#16324f;
    font-size:clamp(28px,4vw,40px);
    line-height:1.6;
    font-weight:700;
}

.education-types-section .education-section-heading p{
    margin:0;
    color:#59636a;
    font-size:17px;
    line-height:2.1;
}


/* =========================================================
   TYPE GRID
========================================================= */

.education-types-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.education-type-card{
    display:flex;
    flex-direction:column;
    min-height:255px;
    padding:28px;
    background:#ffffff;
    border:1px solid #eee5d8;
    border-radius:20px;
    text-decoration:none;
    box-shadow:0 12px 32px rgba(22,50,79,.06);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.education-type-card:hover{
    transform:translateY(-7px);
    border-color:#a9ddd2;
    box-shadow:0 18px 38px rgba(22,50,79,.11);
}

.education-type-icon{
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:22px;
    padding:0 6px;
    background:#e1f4ef;
    color:#008f72;
    border:1px solid #b9e1d7;
    border-radius:16px;
    font-size:20px;
    font-weight:800;
}

.education-type-content{
    flex:1;
}

.education-type-content h3{
    margin:0 0 12px;
    color:#16324f;
    font-size:21px;
    line-height:1.7;
}

.education-type-description,
.education-type-content p{
    margin:0;
    color:#5b646b;
    font-size:14px;
    line-height:2;
}

.education-type-description p{
    margin:0;
}

.education-type-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-top:25px;
    padding-top:17px;
    border-top:1px solid #eee5d8;
    color:#008f72;
    font-size:13px;
    font-weight:600;
}

.education-type-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    background:#fdf1ec;
    color:#f05a28;
    border-radius:9px;
    font-size:18px;
    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.education-type-card:hover .education-type-arrow{
    background:#f05a28;
    color:#ffffff;
    transform:translateX(-3px);
}


/* =========================================================
   CTA
========================================================= */

.education-types-cta{
    margin-top:42px;
    text-align:center;
}


/* =========================================================
   FOCUS
========================================================= */

.bilin-education-types-page
a:focus-visible{
    outline:3px solid rgba(0,143,114,.25);
    outline-offset:3px;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:992px){

    .education-types-page-hero{
        padding:80px 0 90px;
    }

    .education-types-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:600px){

    .bilin-education-types-page .container{
        width:min(100% - 30px, 1180px);
    }

    .education-types-page-hero{
        padding:65px 0 75px;
    }

    .education-types-page-hero-content h1{
        font-size:34px;
    }

    .education-types-page-hero-content p{
        font-size:16px;
        line-height:2;
    }

    .education-types-page-hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .education-types-page-hero-actions
    .education-page-primary-button,
    .education-types-page-hero-actions
    .education-page-secondary-button{
        width:100%;
    }

    .education-types-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .education-type-card{
        min-height:auto;
        padding:23px;
    }

    .education-type-content h3{
        font-size:19px;
    }

}