/* =========================================================
   SMARTCLASS GROUP TEAM PAGE
   File: assets/css/team.css
========================================================= */

.team-page {
    overflow-x: hidden;
    color: #263e58;
}

.team-page .team-section {
    position: relative;
    padding: 95px 0;
}

.team-page .team-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #087fc3;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.team-page .team-label::before {
    width: 28px;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, #0874bf, #1bc1dd);
    border-radius: 10px;
}

.team-page .team-label-light {
    color: #79e4f6;
}

.team-page h2 {
    margin: 0;
    color: #102846;
    font-size: clamp(31px, 4vw, 47px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -1.2px;
}

.team-section-heading {
    max-width: 740px;
    margin: 0 auto 45px;
    text-align: center;
}

.team-section-heading .team-label {
    justify-content: center;
}

.team-section-heading p {
    margin: 17px auto 0;
    color: #697d90;
    font-size: 15px;
    line-height: 1.8;
}

.team-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 13px 24px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.team-button:hover {
    transform: translateY(-2px);
}

.team-button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #07519f, #0b92cd);
    box-shadow: 0 12px 26px rgba(8, 80, 153, 0.23);
}

.team-button-primary:hover {
    color: #ffffff;
    box-shadow: 0 17px 32px rgba(8, 80, 153, 0.31);
}

.team-button-outline {
    color: #0a579d;
    background: #ffffff;
    border-color: #b9cfdf;
}

.team-button-outline:hover {
    color: #ffffff;
    background: #0a579d;
    border-color: #0a579d;
}

.team-button-light {
    color: #084b8d;
    background: #ffffff;
    box-shadow: 0 12px 27px rgba(0, 0, 0, 0.14);
}

.team-button-light:hover {
    color: #084b8d;
    background: #eafaff;
}

.team-button-transparent {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.7);
}

.team-button-transparent:hover {
    color: #07477f;
    background: #ffffff;
}


/* =========================================================
   PAGE BANNER
========================================================= */

.team-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    overflow: hidden;
    color: #ffffff;
    background: #071d3a;
}

.team-banner-background {
    position: absolute;
    inset: 0;
}

.team-banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 48, 0.96) 0%,
            rgba(5, 39, 79, 0.83) 48%,
            rgba(6, 40, 77, 0.37) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3, 21, 47, 0.36),
            transparent
        );
}

.team-banner-content {
    position: relative;
    z-index: 2;
    padding-top: 55px;
    padding-bottom: 55px;
}

.team-banner-content > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: #76e4f7;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.team-banner-content > span::before {
    width: 28px;
    height: 3px;
    content: "";
    background: #37d5ef;
    border-radius: 10px;
}

.team-banner h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 66px);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.team-banner-content > p {
    max-width: 650px;
    margin: 18px 0 0;
    color: #d2e2ef;
    font-size: 16px;
    line-height: 1.7;
}

.team-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.team-breadcrumb li {
    color: #91bad2;
    font-size: 11px;
    font-weight: 650;
}

.team-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.team-breadcrumb a:hover {
    color: #58dcf3;
}


/* =========================================================
   TEAM INTRODUCTION
========================================================= */

.team-introduction {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(22, 183, 216, 0.07),
            transparent 25%
        ),
        #ffffff;
}

.team-introduction-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 80px;
}

.team-introduction-content > p {
    margin: 18px 0 0;
    color: #687c90;
    font-size: 14px;
    line-height: 1.85;
}

.team-introduction-content .team-lead {
    color: #3e5973;
    font-size: 17px;
    font-weight: 600;
}

.team-introduction-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    margin: 31px 0;
}

.team-introduction-points > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.team-introduction-points > div > span {
    display: grid;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: #0b91c8;
    border-radius: 50%;
    place-items: center;
    box-shadow: 0 7px 15px rgba(11, 145, 200, 0.21);
}

.team-introduction-points p {
    margin: 0;
}

.team-introduction-points strong,
.team-introduction-points small {
    display: block;
}

.team-introduction-points strong {
    margin-bottom: 5px;
    color: #173451;
    font-size: 14px;
}

.team-introduction-points small {
    color: #738598;
    font-size: 11px;
    line-height: 1.55;
}

.team-introduction-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.team-introduction-visual {
    position: relative;
    min-height: 575px;
    padding: 0 0 60px 35px;
}

.team-introduction-image {
    position: relative;
    height: 535px;
    overflow: hidden;
    background: #e1eaf2;
    border-radius: 6px 24px 6px 24px;
    box-shadow: 0 24px 55px rgba(8, 47, 92, 0.17);
}

.team-introduction-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        0deg,
        rgba(5, 38, 76, 0.26),
        transparent 55%
    );
}

.team-introduction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-introduction-visual:hover
.team-introduction-image img {
    transform: scale(1.04);
}

.team-count-card {
    position: absolute;
    top: 40px;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 150px;
    min-height: 115px;
    padding: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #07509b, #0e9bc9);
    border: 6px solid #ffffff;
    border-radius: 15px 4px 15px 4px;
    box-shadow: 0 16px 35px rgba(7, 69, 133, 0.24);
}

.team-count-card strong {
    margin-bottom: 7px;
    font-size: 30px;
    line-height: 1;
}

.team-count-card span {
    font-size: 11px;
    line-height: 1.45;
}

.team-work-card {
    position: absolute;
    right: 22px;
    bottom: 0;
    width: min(325px, calc(100% - 40px));
    padding: 21px 23px;
    color: #153150;
    background: #ffffff;
    border-left: 5px solid #19b8d7;
    border-radius: 10px;
    box-shadow: 0 17px 38px rgba(8, 48, 91, 0.2);
}

.team-work-card small,
.team-work-card strong,
.team-work-card a {
    display: block;
}

.team-work-card small {
    margin-bottom: 5px;
    color: #7b8b9c;
    font-size: 10px;
}

.team-work-card strong {
    margin-bottom: 8px;
    font-size: 16px;
}

.team-work-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #087abc;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   FOUNDER AND CEO
========================================================= */

.founder-team-section {
    background: #f4f8fc;
}

.founder-team-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 80px;
}

.founder-team-photo {
    position: relative;
    max-width: 500px;
    padding: 0 25px 35px 0;
}

.founder-team-photo-frame {
    position: relative;
    height: 590px;
    overflow: hidden;
    background: #e2eaf1;
    border-radius: 23px 5px 23px 5px;
    box-shadow: 0 24px 55px rgba(8, 47, 92, 0.17);
}

.founder-team-photo-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        0deg,
        rgba(4, 34, 68, 0.3),
        transparent 50%
    );
}

.founder-team-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-team-identity {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 245px;
    padding: 21px;
    color: #ffffff;
    background: linear-gradient(135deg, #07529e, #0c92c7);
    border: 7px solid #f4f8fc;
    border-radius: 13px 4px 13px 4px;
    box-shadow: 0 17px 38px rgba(7, 70, 135, 0.23);
}

.founder-team-identity strong,
.founder-team-identity span {
    display: block;
}

.founder-team-identity strong {
    margin-bottom: 6px;
    font-size: 16px;
}

.founder-team-identity span {
    color: #ccecf7;
    font-size: 10px;
}

.founder-team-content blockquote {
    margin: 27px 0 23px;
    padding: 22px 25px;
    color: #28506f;
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.75;
    background: #ffffff;
    border-left: 4px solid #0b95c8;
    border-radius: 0 10px 10px 0;
}

.founder-team-content > p {
    margin: 17px 0 0;
    color: #667a8f;
    font-size: 14px;
    line-height: 1.85;
}

.founder-team-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 27px 0;
}

.founder-team-details > div {
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dae6ee;
    border-radius: 8px;
}

.founder-team-details small,
.founder-team-details strong {
    display: block;
}

.founder-team-details small {
    margin-bottom: 6px;
    color: #8595a4;
    font-size: 8px;
    text-transform: uppercase;
}

.founder-team-details strong {
    color: #174266;
    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   LEADERSHIP TEAM
========================================================= */

.leadership-team-section {
    background: #ffffff;
}

.leadership-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.leadership-member-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce7f0;
    border-radius: 15px;
    box-shadow: 0 10px 33px rgba(10, 50, 92, 0.06);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.leadership-member-card:hover {
    border-color: #a9dbe9;
    box-shadow: 0 24px 50px rgba(9, 61, 116, 0.13);
    transform: translateY(-7px);
}

.leadership-member-photo {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #e2eaf1;
}

.leadership-member-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        0deg,
        rgba(4, 31, 65, 0.55),
        transparent 48%
    );
}

.leadership-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.leadership-member-card:hover
.leadership-member-photo img {
    transform: scale(1.055);
}

.member-social-links,
.team-member-social {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 18px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.leadership-member-card:hover .member-social-links,
.team-member-card:hover .team-member-social {
    opacity: 1;
    transform: translateY(0);
}

.member-social-links a,
.team-member-social a {
    display: grid;
    width: 35px;
    height: 35px;
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
    text-decoration: none;
    background: rgba(7, 82, 151, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    place-items: center;
}

.leadership-member-content {
    padding: 25px 24px 27px;
}

.member-department {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 8px;
    color: #0878b7;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: #e9f8fc;
    border-radius: 5px;
}

.leadership-member-content h3 {
    margin: 0 0 5px;
    color: #153150;
    font-size: 20px;
}

.member-designation {
    display: block;
    color: #0a82ba;
    font-size: 11px;
}

.leadership-member-content > p {
    margin: 14px 0 0;
    color: #6d8093;
    font-size: 11px;
    line-height: 1.7;
}

.member-skills,
.team-member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.member-skills span,
.team-member-skills span {
    padding: 5px 8px;
    color: #0a6fa9;
    font-size: 8px;
    background: #edf7fa;
    border-radius: 4px;
}

.member-professional-details {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5edf3;
}

.member-professional-details small,
.member-professional-details strong {
    display: block;
}

.member-professional-details small {
    margin-bottom: 3px;
    color: #8b99a7;
    font-size: 8px;
    text-transform: uppercase;
}

.member-professional-details strong {
    color: #4e657b;
    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   TEAM FILTER
========================================================= */

.team-filter-section {
    position: relative;
    z-index: 10;
    background: #f5f9fc;
}

.team-filter-box {
    display: grid;
    grid-template-columns: auto 1fr minmax(220px, 320px);
    align-items: center;
    gap: 24px;
    padding: 27px 30px;
    background: #ffffff;
    border: 1px solid #dbe6ef;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(10, 50, 92, 0.1);
    transform: translateY(50%);
}

.team-filter-heading span {
    display: block;
    margin-bottom: 4px;
    color: #0a84c1;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-filter-heading h2 {
    font-size: 19px;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.team-department-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.team-department-filters button {
    min-height: 37px;
    padding: 8px 12px;
    color: #536b80;
    font-family: inherit;
    font-size: 9px;
    font-weight: 750;
    background: #f2f7fa;
    border: 1px solid #d9e5ed;
    border-radius: 7px;
    cursor: pointer;
}

.team-department-filters button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #07529f, #0b93c9);
    border-color: transparent;
}

.team-search {
    position: relative;
}

.team-search input {
    width: 100%;
    height: 45px;
    padding: 10px 44px 10px 14px;
    color: #1e3853;
    font-family: inherit;
    font-size: 11px;
    background: #f7fafc;
    border: 1px solid #cedbe7;
    border-radius: 8px;
    outline: none;
}

.team-search input:focus {
    background: #ffffff;
    border-color: #159cc9;
    box-shadow: 0 0 0 4px rgba(21, 156, 201, 0.11);
}

.team-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    display: grid;
    width: 29px;
    height: 29px;
    padding: 0;
    color: #718599;
    font-size: 18px;
    background: #e8f0f6;
    border: 0;
    border-radius: 50%;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
}


/* =========================================================
   ALL TEAM MEMBERS
========================================================= */

.all-team-section {
    padding-top: 150px !important;
    background: #f5f9fc;
}

.all-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 23px;
}

.team-member-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce7f0;
    border-radius: 14px;
    box-shadow: 0 9px 28px rgba(10, 50, 92, 0.06);
    transition:
        opacity 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.team-member-card:hover {
    border-color: #a9dbe9;
    box-shadow: 0 22px 44px rgba(9, 61, 116, 0.13);
    transform: translateY(-7px);
}

.team-member-card.is-hidden {
    display: none;
}

.team-member-photo {
    position: relative;
    height: 325px;
    overflow: hidden;
    background: #e2eaf1;
}

.team-member-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        0deg,
        rgba(4, 31, 65, 0.5),
        transparent 48%
    );
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.team-member-card:hover .team-member-photo img {
    transform: scale(1.055);
}

.team-member-content {
    padding: 21px 19px 23px;
    text-align: center;
}

.team-member-content > span {
    display: block;
    margin-bottom: 7px;
    color: #087fba;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.team-member-content h3 {
    margin: 0 0 5px;
    color: #153150;
    font-size: 17px;
}

.team-member-content > strong {
    display: block;
    color: #0a82ba;
    font-size: 10px;
}

.team-member-content > p {
    margin: 12px 0 0;
    color: #738596;
    font-size: 10px;
    line-height: 1.65;
}

.team-member-skills {
    justify-content: center;
}


/* =========================================================
   EMPTY RESULTS
========================================================= */

.team-no-results,
.team-empty-state {
    max-width: 650px;
    margin: 0 auto;
    padding: 55px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #b9cddd;
    border-radius: 15px;
}

.team-no-results > span,
.team-empty-state > span {
    display: grid;
    width: 57px;
    height: 57px;
    margin: 0 auto 19px;
    color: #087dbc;
    font-size: 20px;
    font-weight: 900;
    background: #e9f8fc;
    border-radius: 50%;
    place-items: center;
}

.team-no-results h3,
.team-empty-state h3 {
    margin: 0 0 10px;
    color: #15314e;
    font-size: 21px;
}

.team-no-results p,
.team-empty-state p {
    margin: 0 auto 22px;
    color: #718497;
    font-size: 13px;
    line-height: 1.7;
}

.team-no-results button {
    padding: 11px 18px;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    background: #087bb9;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}


/* =========================================================
   TEAM VALUES
========================================================= */

.team-values-section {
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 0 100%,
            rgba(21, 185, 218, 0.18),
            transparent 29%
        ),
        linear-gradient(125deg, #061b36, #093c70);
}

.team-values-section::after {
    position: absolute;
    top: -150px;
    right: -120px;
    width: 410px;
    height: 410px;
    content: "";
    border: 65px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.team-values-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 75px;
}

.team-values-content {
    position: sticky;
    top: 115px;
}

.team-values-content h2 {
    color: #ffffff;
}

.team-values-content > p {
    margin: 20px 0 29px;
    color: #bacee1;
    font-size: 14px;
    line-height: 1.85;
}

.team-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.team-value-card {
    min-height: 195px;
    padding: 26px 24px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    backdrop-filter: blur(8px);
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.team-value-card:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-5px);
}

.team-value-card > span {
    display: block;
    margin-bottom: 23px;
    color: #53d9f1;
    font-size: 10px;
    font-weight: 900;
}

.team-value-card h3 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 17px;
}

.team-value-card p {
    margin: 0;
    color: #b7ccdf;
    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   DEPARTMENTS
========================================================= */

.departments-section {
    background: #ffffff;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.department-card {
    min-height: 255px;
    padding: 29px 27px;
    background: #ffffff;
    border: 1px solid #dfe8f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(10, 50, 92, 0.055);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.department-card:hover {
    border-color: #a8dcea;
    box-shadow: 0 22px 45px rgba(9, 63, 118, 0.12);
    transform: translateY(-6px);
}

.department-card > span {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
    color: #087abd;
    font-size: 10px;
    font-weight: 900;
    background: #e9f8fc;
    border-radius: 15px;
    place-items: center;
}

.department-card h3 {
    margin: 0 0 10px;
    color: #153150;
    font-size: 18px;
}

.department-card p {
    margin: 0;
    color: #6d8094;
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   FINAL CTA
========================================================= */

.team-cta {
    padding: 85px 0;
    color: #ffffff;
    background:
        linear-gradient(
            rgba(4, 28, 61, 0.9),
            rgba(5, 46, 88, 0.92)
        ),
        url("../images/backgrounds/team-cta.jpg")
        center / cover no-repeat;
}

.team-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.team-cta-content {
    max-width: 760px;
}

.team-cta-content > span {
    display: block;
    margin-bottom: 12px;
    color: #75e4f7;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.team-cta-content h2 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 45px);
}

.team-cta-content p {
    margin: 16px 0 0;
    color: #c7dbea;
    font-size: 14px;
    line-height: 1.75;
}

.team-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 11px;
    width: 200px;
}

.team-cta-actions .team-button {
    width: 100%;
}


/* =========================================================
   REVEAL AND JAVASCRIPT STATES
========================================================= */

.reveal-team {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-team.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member-card:focus-visible,
.team-member-card.is-keyboard-focused {
    border-color: #159dc9;
    outline: 3px solid rgba(21, 157, 201, 0.17);
    outline-offset: 4px;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {
    .team-introduction-grid,
    .founder-team-grid,
    .team-values-layout {
        gap: 50px;
    }

    .team-filter-box {
        grid-template-columns: 1fr 1.5fr;
    }

    .team-search {
        grid-column: 1 / -1;
    }

    .leadership-team-grid,
    .departments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .all-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {
    .team-page .team-section {
        padding: 75px 0;
    }

    .team-introduction-grid,
    .founder-team-grid,
    .team-values-layout {
        grid-template-columns: 1fr;
    }

    .team-introduction-visual,
    .founder-team-photo {
        max-width: 650px;
    }

    .founder-team-content {
        order: -1;
    }

    .team-filter-box {
        display: block;
        transform: translateY(30%);
    }

    .team-department-filters,
    .team-search {
        margin-top: 17px;
    }

    .all-team-section {
        padding-top: 145px !important;
    }

    .all-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-values-content {
        position: static;
    }

    .team-cta-inner {
        display: block;
    }

    .team-cta-actions {
        flex-direction: row;
        width: auto;
        margin-top: 30px;
    }

    .team-cta-actions .team-button {
        width: auto;
    }
}


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

@media (max-width: 600px) {
    .team-page .team-section {
        padding: 62px 0;
    }

    .team-page h2 {
        font-size: 31px;
        letter-spacing: -0.7px;
    }

    .team-banner {
        min-height: 350px;
    }

    .team-banner h1 {
        font-size: 42px;
    }

    .team-banner-content > p {
        font-size: 14px;
    }

    .team-introduction-points,
    .founder-team-details,
    .leadership-team-grid,
    .all-team-grid,
    .team-values-grid,
    .departments-grid {
        grid-template-columns: 1fr;
    }

    .team-introduction-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .team-introduction-actions .team-button {
        width: 100%;
    }

    .team-introduction-visual {
        min-height: 485px;
        padding: 0 0 50px 20px;
    }

    .team-introduction-image {
        height: 440px;
    }

    .team-count-card {
        top: 25px;
        width: 130px;
        min-height: 100px;
        padding: 16px;
        border-width: 5px;
    }

    .team-work-card {
        right: 8px;
    }

    .founder-team-photo-frame {
        height: 520px;
    }

    .founder-team-identity {
        width: 215px;
    }

    .founder-team-content blockquote {
        font-size: 16px;
    }

    .leadership-member-photo {
        height: 430px;
    }

    .team-filter-box {
        padding: 23px 20px;
        transform: translateY(22%);
    }

    .team-filter-heading h2 {
        font-size: 19px;
        white-space: normal;
    }

    .team-department-filters {
        flex-wrap: nowrap;
        padding-bottom: 5px;
        overflow-x: auto;
    }

    .team-department-filters button {
        flex: 0 0 auto;
    }

    .all-team-section {
        padding-top: 135px !important;
    }

    .team-member-photo {
        height: 420px;
    }

    .team-values-layout {
        gap: 45px;
    }

    .team-cta {
        padding: 65px 0;
    }

    .team-cta-actions {
        flex-direction: column;
    }

    .team-cta-actions .team-button {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
    .team-banner h1 {
        font-size: 37px;
    }

    .team-filter-box {
        padding: 20px 17px;
    }

    .founder-team-photo-frame {
        height: 470px;
    }

    .founder-team-identity {
        width: 195px;
        padding: 17px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .reveal-team,
    .leadership-member-card,
    .team-member-card,
    .team-value-card,
    .department-card {
        transition: none !important;
    }

    .reveal-team {
        opacity: 1;
        transform: none;
    }
}