.team_section {
    padding-top: 46px;
    padding-bottom: 122px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 325px 338px;
}

.teams-list__title {
    font-family: "Exo 2", sans-serif !important;
    font-style: normal;
    font-weight: 600;
    font-size: 58px;
    line-height: 69.6px;
    background: var(--Darkest-Blue-Gradient, linear-gradient(181deg, #01273A 0.91%, #023B4C 91.69%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 48px !important;
}

.team-member-types {
    display: flex;
    margin-bottom: 48px !important;
    padding: 0;
}

.team-member-type {
    display: block;
    margin-right: 16px;
}

.team-member-type:last-child {
    margin-right: 0;
}

.team-member-type a {
    display: block;
    font-family: "League Spartan", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #01273A;
    background: #FFFFFF;
    border: 0.6px solid #185E7F;
    border-radius: 14.4px;
    padding: 16px 22px;
    min-width: 162px;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.team-member-type.active a {
    background: linear-gradient(96deg, #D7F6F6 17.13%, rgba(255, 255, 255, 0.75) 119.73%);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 24px;
    column-gap: 16px;
}

.team-member-card {
    position: relative;
    background: #FFFFFF;
    border: 0.232px solid #01273A;
    border-radius: 8px;
    padding: 18px 32px 63px 32px;
    transition: all 0.3s ease-in-out;
}

.team-member-card.is_active {
    display: block;
    opacity: 1;
}

.team-member-card__avatar img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    border-radius: 100%;
}

.team-member-card__content {
    margin-top: 8px;
    text-align: center;
}

.team-member-card__name {
    font-family: "League Spartan", sans-serif !important;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #01273A;
    text-transform: capitalize;
    margin-bottom: 4px !important;
}

.team-member-card__designation {
    font-family: "League Spartan", sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #01273A;
    text-transform: capitalize;
    margin-bottom: 4px;
}

.team-member-card__company {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.team-member-card__company-logo img {
    display: block;
    width: auto;
    max-height: 16px;
    object-fit: cover;
}

.team-member-card__company-name {
    font-family: "League Spartan", sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #01273A;
    text-transform: capitalize;
}

.team-member-card__excerpt {
    font-family: "Lato" !important;
    font-style: italic;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #01273A;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-member-card__view-profile {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
}

.team-member-card__view-profile a {
    display: block;
    font-family: "League Spartan", sans-serif !important;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: #01273A;
    text-align: center;
    background: #EDF7FF;
    border: 0.093px solid #185E7F;
    border-radius: 7.415px;
    text-transform: capitalize;
    width: fit-content;
    margin: 0 auto;
    padding: 8px 35px 8px 14px;
    transition: all .3s ease;
    position: relative;
}

.team-member-card__view-profile a:hover {
    color: #EDF7FF;
    background: #185E7F;
}

.team-member-card__view-profile a::after {
    content: "";
    background-image: url(../images/linkedin-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    display: block;
    width: 14px;
    height: 14px;
    transition: all .3s ease;
}

.team-member-card__view-profile a:hover::after {
    filter: invert(1);
}

@media (max-width: 1199px) {
    .team_section {
        padding-top: 40px;
        padding-bottom: 100px;
    }

    .teams-list__title {
        font-size: 50px;
        line-height: 60px;
        margin-bottom: 40px !important;
    }

    .team-member-types {
        margin-bottom: 40px !important;
    }

    .team-member-type {
        margin-right: 14px;
    }

    .team-member-type a {
        padding: 14px 20px;
    }

    .team-members-grid {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 22px;
        column-gap: 14px;
    }

    .team-member-card {
        padding: 15px 20px 60px 20px;
    }

    .team-member-card__avatar img {
        width: 110px;
        height: 110px;
    }

    .team-member-card__view-profile {
        bottom: 15px;
    }
}

@media (max-width: 991px) {
    .team_section {
        padding-top: 30px;
        padding-bottom: 80px;
    }

    .teams-list__title {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 30px !important;
    }

    .team-member-types {
        margin-bottom: 35px !important;
    }

    .team-member-type {
        margin-right: 12px;
    }

    .team-member-type a {
        padding: 12px 18px;
    }

    .team-members-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 20px;
        column-gap: 12px;
    }

    .team-member-card__avatar img {
        width: 100px;
        height: 100px;
    }

}

@media (max-width: 767px) {
    .team_section {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .teams-list__title {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 20px !important;
    }

    .team-member-types {
        flex-wrap: wrap;
        margin-bottom: 20px !important;
    }

    .team-member-type {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .team-member-type:last-child {
        margin-bottom: 0;
    }

    .team-member-type a {
        padding: 10px 15px;
        min-width: initial;
    }

    .team-members-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .team-member-card {
        padding: 15px;
    }

    .team-member-card__avatar img {
        width: 90px;
        height: 90px;
    }

    .team-member-card__excerpt {
        -webkit-line-clamp: initial;
    }

    .team-member-card__view-profile {
        position: initial;
        margin-top: 7px;
    }
}