/* =========================================================
   GET WELL PHYSIOTHERAPY
   OUR TEAM PAGE
========================================================= */

.team-page {
    overflow: hidden;
}


/* =========================================================
   COMMON
========================================================= */

.team-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.team-page .section-padding {
    padding: 100px 0;
}

.team-page .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;

    color: #0077b9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.team-page .section-eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    background: #00a651;
}

.team-page h1,
.team-page h2,
.team-page h3,
.team-page p {
    margin-top: 0;
}

.team-page h1 span,
.team-page h2 span {
    color: #00a651;
}


/* =========================================================
   HERO
========================================================= */

.team-hero {
    position: relative;
    min-height: 480px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(12, 51, 72, 0.97) 0%,
            rgba(12, 51, 72, 0.90) 48%,
            rgba(12, 51, 72, 0.50) 100%
        ),
        url("../images/team-hero.webp") center / cover no-repeat;

    color: #ffffff;
}

.team-hero-inner {
    position: relative;
    z-index: 2;
}

.team-hero-content {
    max-width: 700px;
    padding: 80px 0;
}

.team-hero .section-eyebrow {
    color: #b9f3d1;
}

.team-hero h1 {
    margin-bottom: 24px;

    font-size: clamp(44px, 5.5vw, 70px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 800;
}

.team-hero h1 span {
    display: block;
    color: #4bd88b;
}

.team-hero p {
    max-width: 650px;
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.team-intro {
    background: #ffffff;
}

.team-intro .section-heading {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.team-intro .section-eyebrow {
    justify-content: center;
}

.team-intro .section-heading h2 {
    margin-bottom: 20px;

    color: #163f55;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.team-intro .section-heading p {
    margin: 0;

    color: #607783;
    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   TEAM MEMBERS
========================================================= */

.team-members {
    background: #f4f9fb;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* =========================================================
   TEAM CARD
========================================================= */

.team-card {
    position: relative;

    background: #ffffff;
    border: 1px solid #e3edf1;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(18, 53, 74, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);

    border-color: #cce4ed;

    box-shadow: 0 22px 50px rgba(18, 53, 74, 0.12);
}


/* =========================================================
   TEAM PHOTO
========================================================= */

.team-photo {
    position: relative;

    width: 100%;
    height: 330px;

    overflow: hidden;

    background: #eaf3f7;
}

.team-photo::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 35%;

    background: linear-gradient(
        to top,
        rgba(18, 53, 74, 0.12),
        transparent
    );

    pointer-events: none;
}

.team-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.04);
}


/* =========================================================
   TEAM INFO
========================================================= */

.team-info {
    position: relative;

    padding: 26px 28px 28px;
}

.team-role {
    display: block;

    margin-bottom: 9px;

    color: #0077b9;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.5;
    text-transform: uppercase;
}

.team-info h3 {
    margin-bottom: 18px;

    color: #244b60;

    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
}

.team-bio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #00a651;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.team-bio-link span {
    font-size: 17px;
    line-height: 1;

    transition:
        transform 0.2s ease;
}

.team-bio-link:hover {
    color: #0077b9;
    gap: 12px;
}

.team-bio-link:hover span {
    transform: translateX(3px);
}


/* =========================================================
   TEAM PHILOSOPHY
========================================================= */

.team-philosophy {
    background: #ffffff;
}

.team-philosophy-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;

    padding: 65px 70px;

    background:
        linear-gradient(
            135deg,
            #f2f9fc 0%,
            #ffffff 100%
        );

    border: 1px solid #e3edf1;
    border-radius: 16px;

    box-shadow: 0 18px 50px rgba(18, 53, 74, 0.06);
}

.team-philosophy-box h2 {
    margin-bottom: 0;

    color: #163f55;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.team-philosophy-box > p {
    margin: 0;

    color: #607783;

    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
   CTA
========================================================= */

.team-cta {
    position: relative;

    padding: 75px 0;

    background:
        linear-gradient(
            120deg,
            #075f91 0%,
            #0077b9 55%,
            #006b8f 100%
        );

    color: #ffffff;

    overflow: hidden;
}

.team-cta::after {
    content: "";

    position: absolute;

    right: -130px;
    top: -190px;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.team-cta-inner {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.team-cta .section-eyebrow {
    color: #b9f3d1;
}

.team-cta h2 {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

.team-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;
}

.team-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 28px;

    flex-shrink: 0;

    border-radius: 6px;

    background: #00a651;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.team-cta-btn:hover {
    transform: translateY(-3px);

    background: #008e45;

    box-shadow: 0 17px 35px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .team-page .section-padding {
        padding: 80px 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-philosophy-box {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px;
    }

    .team-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .team-page .container {
        width: calc(100% - 30px);
    }

    .team-page .section-padding {
        padding: 65px 0;
    }


    /* Hero */

    .team-hero {
        min-height: 500px;

        background:
            linear-gradient(
                90deg,
                rgba(12, 51, 72, 0.96),
                rgba(12, 51, 72, 0.82)
            ),
            url("../images/team-hero.webp") center / cover no-repeat;
    }

    .team-hero-content {
        padding: 65px 0;
    }

    .team-hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .team-hero p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* Team */

    .team-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .team-photo {
        height: 360px;
    }

    .team-info {
        padding: 24px;
    }


    /* Philosophy */

    .team-philosophy-box {
        padding: 35px 25px;
    }


    /* CTA */

    .team-cta {
        padding: 60px 0;
    }

    .team-cta-btn {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .team-hero h1 {
        font-size: 37px;
    }

    .team-hero .section-eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .team-page .section-eyebrow {
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .team-intro .section-heading h2 {
        font-size: 31px;
    }

    .team-photo {
        height: 320px;
    }

    .team-info h3 {
        font-size: 21px;
    }
}