.team-section {
    padding: 4rem 0;
    margin-top: 51px;
    background-color: #fff;
    border-top: 16px solid #9AD63C;
    /* green top border */
}

.team-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-section__title {
    text-align: left;
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 50.2px;
    line-height: 80%;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    color: #222;
}

.team-section__desc-text {
    text-align: left;
    font-family: 'League Spartan', sans-serif;
    font-weight: 300;
    font-size: 21.86px;
    line-height: 95%;
    letter-spacing: -0.02em;
    vertical-align: middle;
    color: #333;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.team-section__grid {
    display: grid;
    grid-template-columns: repeat(5, 203.849px);
    gap: 2rem;
}

.team-section__card {
    background: #f7f7f7;
    border-radius: 0 13.84px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 6px solid #8dd33b;
    /* green left border */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    width: 203.849px;
}

.team-section__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.team-section__image-wrap {
    width: 203.849px;
    height: 165px;
    aspect-ratio: 203.85/165.00;
    background: #eaeaea;
    border-radius: 0 13.84px 0 0;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.team-section__image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 13.84px 0 0;
}

.team-section__info {
    width: 100%;
    padding: 1.1rem 1rem 1.2rem 1rem;
    background: #fff;
    text-align: center;
    border-radius: 0;
}

.team-section__card-title {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 19.96px;
    line-height: 104%;
    letter-spacing: -0.04em;
    text-align: center;
    color: #222;
    margin-bottom: 0.2rem;
}

.team-section__position {
    font-family: 'League Spartan', sans-serif;
    font-weight: 300;
    font-size: 13.31px;
    line-height: 104%;
    letter-spacing: -0.04em;
    text-align: center;
    color: #888;
}

.team-section__social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.team-section__social-link {
    color: #666;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.team-section__social-link:hover {
    color: #007bff;
}

.team-section__social-link--linkedin:hover {
    color: #0077b5;
}

.team-section__social-link--twitter:hover {
    color: #1da1f2;
}

.team-section__social-link--facebook:hover {
    color: #4267B2;
}

@media (max-width: 1200px) {
    .team-section__grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 991px) {
    .team-section__title {
        font-size: 2rem;
    }
    .team-section__desc-text {
        font-size: 1rem;
    }
    .team-section__image-wrap {
        width: 100% !important;
        height: 100% !important;
    }
    .team-section__card {
        width: 75% !important;
        margin: 0 auto;
    }
    .team-section__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}