/* =========================================================
   BOARDING SCHOOLS PAGE
   Universal Migration
========================================================= */

.boarding-schools-page {

    --boarding-blue: #0066d6;
    --boarding-dark: #003e7a;
    --boarding-deep: #002f62;
    --boarding-light: #eef6ff;
    --boarding-pale: #f7fbff;
    --boarding-text: #172033;
    --boarding-muted: #687386;
    --boarding-border: #e1e9f2;

    color: var(--boarding-text);
}


/* =========================================================
   COMMON
========================================================= */

.boarding-schools-page .section-padding {
    padding: 95px 0;
}

.boarding-schools-page h1,
.boarding-schools-page h2,
.boarding-schools-page h3,
.boarding-schools-page h4 {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.boarding-section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--boarding-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* =========================================================
   BANNER
========================================================= */

.boarding-banner {
    position: relative;
    min-height: 400px;
    /*margin-top: 90px;*/
    margin-top: 45px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 34, 70, .94),
            rgba(0, 54, 105, .78),
            rgba(0, 74, 140, .42)
        ),
        url("../../images/path1.jpeg") center center / cover no-repeat;

    overflow: hidden;
}

.boarding-banner::before {
    content: "";
    position: absolute;

    width: 380px;
    height: 380px;

    right: -130px;
    top: -150px;

    border: 70px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.boarding-banner::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    left: -100px;
    bottom: -120px;

    border: 45px solid rgba(255,255,255,.04);
    border-radius: 50%;
}

.boarding-banner-content {
    position: relative;
    z-index: 2;

    /*max-width: 850px;*/
    /*padding: 70px 0;*/
    
    padding: 40px 0;
}

.boarding-banner-label {
    display: inline-flex;

    padding: 9px 15px;

    margin-bottom: 22px;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;

    background: rgba(255,255,255,.08);
}

.boarding-banner h1 {
    margin: 0;

    color: #ffffff;

    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
}

.boarding-banner h1 span {
    display: block;
    color: #8fc9ff;
}

.boarding-banner p {
    margin: 22px 0 28px;

    color: rgba(255,255,255,.86);

    font-size: 19px;
    line-height: 1.7;
}

.boarding-breadcrumb {
    display: flex;
    align-items: center;
    gap: 11px;

    color: rgba(255,255,255,.65);

    font-size: 13px;
}

.boarding-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.boarding-breadcrumb i {
    font-size: 9px;
}


/* =========================================================
   INTRO
========================================================= */

.boarding-intro {
    background: #ffffff;
}

.boarding-intro-grid {
    display: grid;

    grid-template-columns: .95fr 1fr;

    align-items: center;

    gap: 75px;
}

.boarding-intro-content h2 {
    margin: 0 0 23px;

    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
}

.boarding-intro-content h2 span {
    display: block;
    color: var(--boarding-blue);
}

.boarding-intro-content p {
    margin: 0 0 17px;

    color: var(--boarding-muted);

    font-size: 15px;
    line-height: 1.85;
}

.boarding-intro-image {
    position: relative;
}

.boarding-image-frame {
    position: relative;

    /*padding: 10px;*/

    /*background: #ffffff;*/

    border: 1px solid var(--boarding-border);

    border-radius: 27px;

    /*box-shadow: 0 20px 55px rgba(0,45,90,.10);*/
}

.boarding-image-frame img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;

    border-radius: 20px;
}

.boarding-image-badge {
    position: absolute;

    left: 35px;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.boarding-badge-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #ffffff;
    background: var(--boarding-blue);
}

.boarding-image-badge strong {
    display: block;

    color: var(--boarding-text);

    font-size: 13px;
}

.boarding-image-badge span {
    display: block;

    margin-top: 2px;

    color: var(--boarding-muted);

    font-size: 10px;
}


/* =========================================================
   DESTINATIONS
========================================================= */

.boarding-destinations {
    background: var(--boarding-pale);
}

.boarding-heading {
    max-width: 850px;

    margin-bottom: 50px;
}

.boarding-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

.boarding-heading h2 {
    margin: 0 0 17px;

    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
}

.boarding-heading h2 span {
    color: var(--boarding-blue);
}

.boarding-heading p {
    max-width: 700px;

    margin: 0;

    color: var(--boarding-muted);

    font-size: 15px;
    line-height: 1.8;
}

.boarding-heading.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.boarding-country-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.boarding-country-card {
    position: relative;

    padding: 30px;

    background: #ffffff;

    border: 1px solid var(--boarding-border);

    border-radius: 22px;

    box-shadow: 0 12px 35px rgba(0,50,100,.05);

    transition: .3s ease;
}

.boarding-country-card:hover {
    transform: translateY(-6px);

    border-color: #b8d9f7;

    box-shadow: 0 18px 45px rgba(0,70,130,.10);
}

.boarding-country-card.country-featured {
    background: linear-gradient(145deg, #003e7a, #0059a8);

    border-color: transparent;
}

.country-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 24px;
}

.country-flag {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: var(--boarding-light);

    font-size: 29px;
}

.country-featured .country-flag {
    background: rgba(255,255,255,.12);
}

.country-number {
    color: #a5b2c3;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.country-featured .country-number {
    color: rgba(255,255,255,.5);
}

.boarding-country-card h3 {
    margin: 0;

    font-size: 27px;
    font-weight: 800;

    color: var(--boarding-text);
}

.country-featured h3 {
    color: #ffffff;
}

.country-line {
    width: 45px;
    height: 3px;

    margin: 15px 0 20px;

    border-radius: 5px;

    background: var(--boarding-blue);
}

.country-featured .country-line {
    background: #8fc9ff;
}

.country-features {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.country-features span {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #617087;

    font-size: 13px;
    line-height: 1.45;
}

.country-featured .country-features span {
    color: rgba(255,255,255,.78);
}

.country-features i {
    color: var(--boarding-blue);

    font-size: 11px;
}

.country-featured .country-features i {
    color: #8fc9ff;
}


/* =========================================================
   BENEFITS
========================================================= */

.boarding-benefits {
    background: #ffffff;
}

.boarding-benefit-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.boarding-benefit-card {
    display: flex;

    align-items: center;

    gap: 17px;

    min-height: 125px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--boarding-border);

    border-radius: 17px;

    transition: .3s ease;
}

.boarding-benefit-card:hover {
    border-color: #b9d8f4;

    background: #f8fcff;

    transform: translateY(-3px);
}

.benefit-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: var(--boarding-blue);

    background: var(--boarding-light);

    font-size: 18px;
}

.boarding-benefit-card span {
    display: block;

    margin-bottom: 4px;

    color: #9aa6b6;

    font-size: 10px;
    font-weight: 800;
}

.boarding-benefit-card h3 {
    margin: 0;

    color: #27364c;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.boarding-note {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 30px;

    padding: 20px 23px;

    background: var(--boarding-light);

    border: 1px solid #d8e9f8;

    border-radius: 15px;
}

.boarding-note-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #ffffff;

    color: var(--boarding-blue);
}

.boarding-note p {
    margin: 0;

    color: #52657c;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   SUPPORT
========================================================= */

.boarding-support {
    background: var(--boarding-pale);
}

.boarding-support-box {
    display: grid;

    grid-template-columns: .75fr 1.25fr;

    gap: 45px;

    padding: 45px;

    background: #ffffff;

    border: 1px solid var(--boarding-border);

    border-radius: 25px;

    box-shadow: 0 15px 45px rgba(0,50,100,.06);
}

.boarding-support-content h2 {
    margin: 0 0 17px;

    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
}

.boarding-support-content h2 span {
    display: block;

    color: var(--boarding-blue);
}

.boarding-support-content p {
    margin: 0;

    color: var(--boarding-muted);

    font-size: 14px;
    line-height: 1.8;
}

.boarding-support-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.support-item {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 17px;

    background: var(--boarding-pale);

    border: 1px solid #e3ebf3;

    border-radius: 13px;
}

.support-item > span {
    position: absolute;

    right: 12px;
    top: 8px;

    color: #c7d0db;

    font-size: 9px;
    font-weight: 800;
}

.support-item i {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #ffffff;

    color: var(--boarding-blue);

    font-size: 14px;
}

.support-item strong {
    color: #34445b;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   CTA
========================================================= */

.boarding-cta {
    background: #ffffff;
}

.boarding-cta-box {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;

    padding: 55px 60px;

    border-radius: 27px;

    background: linear-gradient(
        135deg,
        #002f62,
        #0059a8
    );
}

.boarding-cta-box::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -150px;
    top: -190px;

    border: 65px solid rgba(255,255,255,.05);

    border-radius: 50%;
}

.boarding-cta-content {
    position: relative;

    z-index: 2;

    max-width: 700px;
}

.boarding-cta-content > span {
    display: block;

    margin-bottom: 12px;

    color: #9dccf5;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.boarding-cta-content h2 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 39px;
    line-height: 1.2;
    font-weight: 800;
}

.boarding-cta-content h2 strong {
    color: #8fc9ff;
}

.boarding-cta-content p {
    max-width: 650px;

    margin: 16px 0 25px;

    color: rgba(255,255,255,.75);

    font-size: 14px;
    line-height: 1.75;
}

.cta-destinations {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}

.cta-destinations i {
    color: #72b9f5;

    font-size: 5px;
}

.boarding-cta-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.boarding-btn-primary,
.boarding-btn-secondary {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;

    transition: .3s ease;
}

.boarding-btn-primary {
    color: #003e7a;

    background: #ffffff;
}

.boarding-btn-primary:hover {
    color: #003e7a;

    transform: translateY(-2px);

    background: #edf7ff;
}

.boarding-btn-secondary {
    color: #ffffff;

    border: 1px solid rgba(255,255,255,.3);
}

.boarding-btn-secondary:hover {
    color: #ffffff;

    background: rgba(255,255,255,.1);
}

.boarding-cta-icon {
    position: relative;

    z-index: 2;

    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(255,255,255,.9);

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);

    font-size: 45px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .boarding-banner h1 {
        font-size: 50px;
    }

    .boarding-intro-grid {
        gap: 45px;
    }

    .boarding-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 991px) {

    .boarding-schools-page .section-padding {
        padding: 75px 0;
    }

    .boarding-banner {
        min-height: 430px;
    }

    .boarding-banner h1 {
        font-size: 44px;
    }

    .boarding-intro-grid {
        grid-template-columns: 1fr;
    }

    .boarding-intro-image {
        max-width: 700px;
    }

    .boarding-country-grid {
        grid-template-columns: 1fr;
    }

    .boarding-support-box {
        grid-template-columns: 1fr;
    }

    .boarding-cta-box {
        padding: 45px;
    }

}


@media (max-width: 767px) {

    .boarding-banner {
        margin-top: 70px;
    }

    .boarding-banner h1 {
        font-size: 35px;
    }

    .boarding-banner p {
        font-size: 16px;
    }

    .boarding-heading h2,
    .boarding-intro-content h2 {
        font-size: 32px;
    }

    .boarding-image-frame img {
        height: 330px;
    }

    .boarding-benefit-grid {
        grid-template-columns: 1fr;
    }

    .boarding-support-box {
        padding: 28px;
    }

    .boarding-support-list {
        grid-template-columns: 1fr;
    }

    .boarding-cta-box {
        padding: 35px 28px;
    }

    .boarding-cta-content h2 {
        font-size: 32px;
    }

    .boarding-cta-icon {
        display: none;
    }

}


@media (max-width: 480px) {

    .boarding-banner h1 {
        font-size: 30px;
    }

    .boarding-banner-content {
        padding: 50px 0;
    }

    .boarding-country-card {
        padding: 24px;
    }

    .boarding-intro-content h2 {
        font-size: 29px;
    }

    .boarding-heading h2 {
        font-size: 29px;
    }

    .boarding-image-frame img {
        height: 280px;
    }

    .boarding-image-badge {
        left: 20px;
        bottom: 20px;
    }

    .boarding-cta-content h2 {
        font-size: 28px;
    }

    .boarding-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .boarding-btn-primary,
    .boarding-btn-secondary {
        justify-content: center;
    }

}


/* =========================================================
PREMIUM DESTINATION CARDS
========================================================= */

.boarding-schools-page .boarding-destinations {
position: relative;
overflow: hidden;
background:
radial-gradient(circle at 10% 20%, rgba(0,102,214,.055), transparent 28%),
radial-gradient(circle at 90% 80%, rgba(0,62,122,.045), transparent 28%),
#f7fbff;
}

/* ---------------------------------------------------------
HEADING
--------------------------------------------------------- */

.boarding-destination-heading {
/* display: flex; */
align-items: flex-end;
justify-content: space-between;
gap: 60px;
margin-bottom: 48px;
}

.boarding-destination-heading h2 {
margin: 0;
font-family: "Plus Jakarta Sans", sans-serif;
font-size: 40px;
line-height: 1.2;
font-weight: 800;
color: #172033;
}

.boarding-destination-heading h2 span {
color: var(--boarding-blue);
}

.boarding-destination-heading p {
/* max-width: 430px; */
margin: 0 0 3px;
color: #687386;
font-size: 14px;
line-height: 1.8;
}

/* ---------------------------------------------------------
GRID
--------------------------------------------------------- */

.boarding-destination-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
align-items: stretch;
}

/* ---------------------------------------------------------
CARD
--------------------------------------------------------- */

.boarding-destination-card {
position: relative;
overflow: hidden;


background: #ffffff;

border: 1px solid #e0e9f2;
border-radius: 24px;

box-shadow: 0 15px 45px rgba(0, 52, 100, .065);

transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;


}

.boarding-destination-card:hover {
transform: translateY(-8px);


border-color: #c3ddf4;

box-shadow:
    0 24px 55px rgba(0, 58, 110, .12);


}

/* ---------------------------------------------------------
IMAGE HEADER
--------------------------------------------------------- */

.destination-card-image {
position: relative;
height: 95px;
overflow: hidden;
background-position: center;
background-size: cover;
background-repeat: no-repeat;


}

/*
You can replace these images with your own assets later.
The gradient still gives a good appearance if an image
is not available.
*/

.usa-image {
background:
linear-gradient(
135deg,
rgba(0, 45, 95, .9),
rgba(0, 105, 190, .45)
),
url("../../images/boarding-usa.webp") center / cover no-repeat,
#0059a8;
}

.uk-image {
background:
linear-gradient(
135deg,
rgba(0, 40, 80, .92),
rgba(0, 90, 155, .48)
),
url("../../images/boarding-uk.webp") center / cover no-repeat,
#004d91;
}

.europe-image {
background:
linear-gradient(
135deg,
rgba(0, 43, 83, .91),
rgba(0, 113, 177, .48)
),
url("../../images/boarding-europe.webp") center / cover no-repeat,
#0065a8;
}

.destination-overlay {
position: absolute;
inset: 0;


background:
    linear-gradient(
        to top,
        rgba(0, 27, 58, .78),
        rgba(0, 27, 58, .08) 70%
    );


}

/* ---------------------------------------------------------
COUNTRY NAME
--------------------------------------------------------- */

.destination-country {
position: absolute;


left: 25px;
bottom: 23px;

z-index: 3;

display: flex;
align-items: center;
gap: 11px;

color: #ffffff;

font-family: "Plus Jakarta Sans", sans-serif;
font-size: 22px;
font-weight: 800;


}

.destination-flag {
display: flex;
align-items: center;
justify-content: center;


width: 42px;
height: 42px;

border-radius: 12px;

background: rgba(255,255,255,.15);

border: 1px solid rgba(255,255,255,.22);

backdrop-filter: blur(8px);

font-size: 22px;


}

/* ---------------------------------------------------------
NUMBER
--------------------------------------------------------- */

.destination-number {
position: absolute;


top: 20px;
right: 20px;

z-index: 3;

display: flex;
align-items: center;
justify-content: center;

width: 38px;
height: 38px;

border-radius: 50%;

color: rgba(255,255,255,.95);

background: rgba(255,255,255,.12);

border: 1px solid rgba(255,255,255,.2);

backdrop-filter: blur(8px);

font-size: 10px;
font-weight: 800;


}

/* ---------------------------------------------------------
CARD CONTENT
--------------------------------------------------------- */

.destination-card-content {
padding: 27px 27px 29px;
}

.destination-card-content h3 {
margin: 0 0 9px;


color: #172033;

font-family: "Plus Jakarta Sans", sans-serif;
font-size: 24px;
font-weight: 800;


}

.destination-description {
min-height: 51px;


margin: 0 0 21px;

color: #6b7789;

font-size: 13px;
line-height: 1.7;


}

/* ---------------------------------------------------------
FEATURE LIST
--------------------------------------------------------- */

.destination-feature-list {
display: flex;
flex-direction: column;


gap: 10px;

padding-top: 20px;

border-top: 1px solid #edf1f5;


}

.destination-feature-list div {
display: flex;
align-items: center;
gap: 10px;


color: #425269;

font-size: 12px;
line-height: 1.4;


}

.destination-feature-list i {
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;

flex: 0 0 22px;

border-radius: 50%;

color: #0066d6;

background: #edf6ff;

font-size: 8px;
}

/* ---------------------------------------------------------
FEATURED UK CARD
--------------------------------------------------------- */

.boarding-destination-card.destination-featured {
border-color: #0066d6;
box-shadow:
    0 20px 55px rgba(0, 82, 155, .14);

}

.destination-featured-label {
display: inline-flex;

margin-bottom: 9px;

padding: 6px 10px;

border-radius: 50px;

color: #0066d6;

background: #edf6ff;

font-size: 9px;
font-weight: 800;
letter-spacing: 1px;

}

.destination-featured .destination-feature-list i {
color: #ffffff;
background: #0066d6;
}

/* ---------------------------------------------------------
DECORATIVE CARD LINE
--------------------------------------------------------- */

.boarding-destination-card::after {
content: "";


position: absolute;

left: 27px;
bottom: 0;

width: 55px;
height: 3px;

border-radius: 10px 10px 0 0;

background: #0066d6;

opacity: .85;

transition: width .3s ease;

}

.boarding-destination-card:hover::after {
width: 100px;
}

.boarding-destination-card.destination-featured::after {
width: 100px;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

.boarding-destination-heading {
    gap: 35px;
}

.boarding-destination-heading h2 {
    font-size: 35px;
}

.boarding-destination-grid {
    gap: 18px;
}

.destination-card-content {
    padding: 23px;
}

}

@media (max-width: 991px) {

.boarding-destination-heading {
    display: block;
}

.boarding-destination-heading p {
    max-width: 700px;
    margin-top: 17px;
}

.boarding-destination-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
}

.destination-card-image {
    height: 230px;
}

}

@media (max-width: 767px) {

.boarding-destination-heading h2 {
    font-size: 31px;
}

.boarding-destination-heading p {
    font-size: 13px;
}

.boarding-destination-grid {
    gap: 20px;
}

.destination-card-image {
    height: 205px;
}

}

@media (max-width: 480px) {

.boarding-destination-heading h2 {
    font-size: 28px;
}

.destination-card-country {
    font-size: 19px;
}

.destination-card-image {
    height: 190px;
}

.destination-country {
    left: 20px;
    bottom: 19px;
    font-size: 20px;
}

.destination-flag {
    width: 38px;
    height: 38px;
    font-size: 20px;
}

.destination-card-content {
    padding: 23px 21px 27px;
}

}
