/* =========================================================
   ELIS DENTAL CLINIC
   OUR TEAM PAGE
   Premium Team Page Styling
========================================================= */


/* =========================================================
   TEAM HERO
========================================================= */

.team-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            rgba(8, 49, 82, 0.98),
            rgba(10, 91, 140, 0.92)
        );

    isolation: isolate;
}


/* Decorative background */

.team-hero::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    z-index: -1;
}


.team-hero::after {
    content: "";
    position: absolute;

    width: 380px;
    height: 380px;

    left: -180px;
    bottom: -220px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.08);

    z-index: -1;
}


/* Hero content */

.team-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    padding-top: 80px;
    padding-bottom: 80px;
}


/* Hero tag */

.team-hero .section-tag {
    margin-bottom: 24px;

    color: #ffffff;
}


/* Hero heading */

.team-hero h1 {
    max-width: 800px;

    margin: 0 0 24px;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: clamp(42px, 5vw, 72px);

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 800;
}


.team-hero h1 span {
    display: block;

    color: #55c7ef;
}


/* Hero paragraph */

.team-hero p {
    max-width: 680px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    font-size: 14px;
}


.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    transition: color 0.25s ease;
}


.breadcrumb a:hover {
    color: #ffffff;
}


.breadcrumb i {
    color: rgba(255, 255, 255, 0.4);

    font-size: 10px;
}


.breadcrumb span {
    color: #ffffff;

    font-weight: 600;
}


/* =========================================================
   TEAM INTRO
========================================================= */

.team-intro {
    padding-bottom: 55px;
}


.team-intro .section-heading {
    max-width: 850px;

    margin: 0 auto;
}


.team-intro .section-heading h2 {
    max-width: 800px;

    margin-left: auto;
    margin-right: auto;
}


.team-intro .section-heading p {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;

    line-height: 1.8;
}


/* =========================================================
   TEAM MEMBERS SECTION
========================================================= */

.team-members {
    position: relative;

    background: #f7fbfd;

    padding-top: 40px;
}


/* Grid */

.team-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    align-items: stretch;
}


/* =========================================================
   TEAM CARD
========================================================= */

.team-card {
    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(20, 85, 120, 0.08);

    border-radius: 22px;

    box-shadow:
        0 12px 35px rgba(12, 61, 91, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.team-card:hover {
    transform: translateY(-8px);

    border-color: rgba(37, 171, 220, 0.25);

    box-shadow:
        0 24px 55px rgba(12, 61, 91, 0.13);
}


/* =========================================================
   TEAM IMAGE
========================================================= */

.team-image {
    position: relative;

    height: 390px;

    overflow: hidden;

    background: #eaf5f9;
}


.team-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4, 40, 65, 0.22),
            transparent 45%
        );

    pointer-events: none;

    z-index: 1;
}


.team-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.6s ease;
}


.team-card:hover .team-image img {
    transform: scale(1.05);
}


/* =========================================================
   SOCIAL BUTTONS
========================================================= */

.team-socials {
    position: absolute;

    right: 18px;
    bottom: 18px;

    display: flex;

    gap: 8px;

    z-index: 3;
}


.team-socials a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: rgba(9, 74, 110, 0.9);

    border: 1px solid rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(8px);

    text-decoration: none;

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.25s ease;
}


.team-card:hover .team-socials a {
    opacity: 1;

    transform: translateY(0);
}


.team-socials a:nth-child(2) {
    transition-delay: 0.05s;
}


.team-socials a:hover {
    background: #28b7e5;

    transform: translateY(-3px);
}


/* =========================================================
   TEAM CONTENT
========================================================= */

.team-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 28px 28px 30px;
}


/* Role */

.team-role {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 12px;

    padding: 7px 12px;

    border-radius: 50px;

    background: #e9f7fc;

    color: #078bbd;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.1px;
}


/* Name */

.team-content h3 {
    margin: 0 0 7px;

    color: #123b56;

    font-family: "Manrope", sans-serif;

    font-size: 27px;

    line-height: 1.2;

    font-weight: 800;
}


/* Specialty */

.team-specialty {
    margin: 0 0 17px;

    color: #159bc9;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;
}


/* Description */

.team-content > p:last-child {
    margin: 0;

    color: #657b89;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   TEAM VALUES
========================================================= */

.team-values {
    position: relative;

    overflow: hidden;

    background: #ffffff;
}


.team-values-grid {
    display: grid;

    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 80px;
}


/* Content */

.team-values-content {
    max-width: 620px;
}


.team-values-content h2 {
    margin: 0 0 22px;

    color: #123b56;

    font-family: "Manrope", sans-serif;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.12;

    letter-spacing: -1.5px;

    font-weight: 800;
}


.team-values-content h2 span {
    color: #21a8d8;
}


.team-values-content > p {
    margin: 0 0 38px;

    color: #687f8e;

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================================
   VALUE ITEMS
========================================================= */

.team-values-list {
    display: flex;

    flex-direction: column;

    gap: 25px;
}


.team-value-item {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 20px;

    border-radius: 16px;

    background: #f7fbfd;

    border: 1px solid rgba(20, 85, 120, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.team-value-item:hover {
    transform: translateX(6px);

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(10, 76, 110, 0.08);
}


/* Icon */

.team-value-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #e6f6fb;

    color: #0ba2d2;

    font-size: 19px;
}


.team-value-item h3 {
    margin: 0 0 6px;

    color: #163f58;

    font-family: "Manrope", sans-serif;

    font-size: 17px;

    font-weight: 800;
}


.team-value-item p {
    margin: 0;

    color: #6c818e;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   TEAM VALUES IMAGE
========================================================= */

.team-values-image {
    position: relative;

    padding: 15px;
}


.team-values-image-wrapper {
    position: relative;

    overflow: hidden;

    min-height: 580px;

    border-radius: 30px;

    background: #eaf5f9;

    box-shadow:
        0 25px 60px rgba(7, 61, 91, 0.13);
}


.team-values-image-wrapper::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 51, 76, 0.25),
            transparent 50%
        );
}


.team-values-image img {
    width: 100%;
    height: 100%;

    min-height: 580px;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.6s ease;
}


.team-values-image:hover img {
    transform: scale(1.03);
}


/* =========================================================
   EXPERIENCE BADGE
========================================================= */

.team-experience-badge {
    position: absolute;

    left: -5px;
    bottom: 45px;

    z-index: 3;

    display: grid;

    grid-template-columns: 52px 1fr;

    column-gap: 13px;

    align-items: center;

    min-width: 220px;

    padding: 17px 20px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(7, 56, 83, 0.15);
}


.team-experience-badge i {
    grid-row: span 2;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #e8f7fb;

    color: #13a5d5;

    font-size: 20px;
}


.team-experience-badge strong {
    color: #163f58;

    font-family: "Manrope", sans-serif;

    font-size: 14px;

    font-weight: 800;
}


.team-experience-badge span {
    color: #7a8e99;

    font-size: 12px;
}


/* =========================================================
   TEAM APPROACH
========================================================= */

.team-approach {
    background: #f7fbfd;
}


.team-approach .section-heading {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;
}


.team-approach-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 55px;
}


/* =========================================================
   APPROACH CARD
========================================================= */

.team-approach-card {
    position: relative;

    overflow: hidden;

    padding: 32px 25px;

    min-height: 270px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid rgba(20, 85, 120, 0.07);

    box-shadow:
        0 10px 30px rgba(10, 70, 100, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.team-approach-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(10, 70, 100, 0.11);
}


/* Number */

.team-approach-number {
    position: absolute;

    top: 18px;
    right: 20px;

    color: #d9edf4;

    font-family: "Manrope", sans-serif;

    font-size: 42px;

    font-weight: 800;

    line-height: 1;
}


/* Icon */

.team-approach-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 16px;

    background: #e9f8fc;

    color: #0aa3d4;

    font-size: 21px;
}


.team-approach-card h3 {
    margin: 0 0 10px;

    color: #173f58;

    font-family: "Manrope", sans-serif;

    font-size: 20px;

    font-weight: 800;
}


.team-approach-card p {
    margin: 0;

    color: #718691;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   CONTACT STRIP
========================================================= */

.about-contact-strip {
    position: relative;

    background:
        linear-gradient(
            120deg,
            #073d5c,
            #087fae
        );

    padding: 35px 0;
}


.about-contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


.about-contact-item {
    display: flex;

    align-items: center;

    gap: 16px;

    min-width: 0;
}


.about-contact-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 18px;

    border: 1px solid rgba(255, 255, 255, 0.12);
}


.about-contact-item > div:last-child {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.about-contact-item span {
    color: rgba(255, 255, 255, 0.62);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.about-contact-item strong,
.about-contact-item a {
    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    line-height: 1.4;
}


.about-contact-item a {
    transition: color 0.25s ease;
}


.about-contact-item a:hover {
    color: #65d5f5;
}


/* =========================================================
   DESKTOP LARGE
========================================================= */

@media (min-width: 1200px) {

    .team-grid {
        gap: 34px;
    }


    .team-image {
        height: 410px;
    }


    .team-content {
        padding: 30px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .team-values-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .team-values-content {
        max-width: 800px;
    }


    .team-values-image {
        max-width: 700px;

        width: 100%;

        margin: 0 auto;
    }


    .team-approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .about-contact-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

}


/* =========================================================
   TABLET SMALL
========================================================= */

@media (max-width: 768px) {

    .team-hero {
        min-height: 470px;
    }


    .team-hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }


    .team-hero h1 {
        font-size: clamp(36px, 8vw, 52px);

        letter-spacing: -1.5px;
    }


    .team-hero p {
        font-size: 15px;

        line-height: 1.7;
    }


    .team-intro {
        padding-bottom: 35px;
    }


    .team-grid {
        grid-template-columns: 1fr;

        max-width: 520px;

        margin-left: auto;
        margin-right: auto;
    }


    .team-image {
        height: 420px;
    }


    .team-socials a {
        opacity: 1;

        transform: none;
    }


    .team-values-grid {
        gap: 40px;
    }


    .team-values-image-wrapper,
    .team-values-image img {
        min-height: 470px;
    }


    .team-experience-badge {
        left: 0;

        bottom: 30px;
    }


    .team-approach-grid {
        grid-template-columns: 1fr;

        max-width: 520px;

        margin-left: auto;
        margin-right: auto;

        margin-top: 40px;
    }


    .team-approach-card {
        min-height: auto;
    }


    .about-contact-grid {
        gap: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    /* HERO */

    .team-hero {
        min-height: 430px;
    }


    .team-hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    .team-hero h1 {
        font-size: 35px;

        line-height: 1.1;

        letter-spacing: -1px;

        margin-bottom: 18px;
    }


    .team-hero p {
        font-size: 14px;

        line-height: 1.75;

        margin-bottom: 24px;
    }


    .breadcrumb {
        gap: 8px;

        font-size: 12px;
    }


    /* INTRO */

    .team-intro .section-heading p {
        font-size: 14px;

        line-height: 1.75;
    }


    /* TEAM CARD */

    .team-card {
        border-radius: 18px;
    }


    .team-image {
        height: 360px;
    }


    .team-content {
        padding: 23px 20px 25px;
    }


    .team-role {
        font-size: 10px;

        padding: 6px 10px;
    }


    .team-content h3 {
        font-size: 24px;
    }


    .team-specialty {
        font-size: 13px;

        margin-bottom: 14px;
    }


    .team-content > p:last-child {
        font-size: 13px;

        line-height: 1.75;
    }


    /* VALUES */

    .team-values-content h2 {
        font-size: 34px;

        letter-spacing: -1px;
    }


    .team-values-content > p {
        font-size: 14px;

        line-height: 1.75;

        margin-bottom: 28px;
    }


    .team-value-item {
        gap: 13px;

        padding: 16px;
    }


    .team-value-icon {
        flex-basis: 45px;

        width: 45px;
        height: 45px;

        border-radius: 12px;

        font-size: 17px;
    }


    .team-value-item h3 {
        font-size: 15px;
    }


    .team-value-item p {
        font-size: 13px;

        line-height: 1.65;
    }


    /* IMAGE */

    .team-values-image {
        padding: 8px;
    }


    .team-values-image-wrapper,
    .team-values-image img {
        min-height: 390px;
    }


    .team-values-image-wrapper {
        border-radius: 22px;
    }


    .team-experience-badge {
        min-width: 195px;

        grid-template-columns: 44px 1fr;

        padding: 13px 15px;

        border-radius: 13px;

        bottom: 22px;
    }


    .team-experience-badge i {
        width: 44px;
        height: 44px;

        border-radius: 11px;

        font-size: 17px;
    }


    .team-experience-badge strong {
        font-size: 12px;
    }


    .team-experience-badge span {
        font-size: 11px;
    }


    /* APPROACH */

    .team-approach-card {
        padding: 25px 21px;
    }


    .team-approach-icon {
        width: 50px;
        height: 50px;

        margin-bottom: 20px;

        border-radius: 13px;
    }


    .team-approach-card h3 {
        font-size: 18px;
    }


    .team-approach-card p {
        font-size: 13px;

        line-height: 1.7;
    }


    /* CONTACT STRIP */

    .about-contact-strip {
        padding: 28px 0;
    }


    .about-contact-item {
        gap: 12px;
    }


    .about-contact-icon {
        flex-basis: 45px;

        width: 45px;
        height: 45px;

        border-radius: 12px;

        font-size: 16px;
    }


    .about-contact-item span {
        font-size: 9px;
    }


    .about-contact-item strong,
    .about-contact-item a {
        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .team-hero h1 {
        font-size: 31px;
    }


    .team-image {
        height: 320px;
    }


    .team-content {
        padding: 20px 17px 22px;
    }


    .team-values-content h2 {
        font-size: 30px;
    }


    .team-value-item {
        padding: 14px;
    }


    .team-experience-badge {
        min-width: 180px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .team-card,
    .team-image img,
    .team-socials a,
    .team-value-item,
    .team-values-image img,
    .team-approach-card {
        transition: none;
    }

}