﻿
.team-box {
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.102);
}

.team-hover {
    position: absolute;
    height: 2px;
    width: 0;
    background-color: var(--dark-color);
    transition: width 0.4s ease-in-out;
    left: 0;
    bottom: 0;
}

.team-member:hover .team-hover {
    width: 100%;
}

.team-member.modern-team {
    background: var(--background-color);
    border-radius: 8px;
    /*    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
*/ transition: 0.3s ease;
    display: flex;
    align-items: start;
    text-align: left;
}

.team-member .member-img {
    width: 100px;
    height: 100px;
    overflow: hidden; 
}

    .team-member .member-img img {
        object-fit: cover;
        border-radius: 50%;
        filter: brightness(0.85);
        transition: 0.5s;
        padding: 4px;
    }

    .team-member .member-img:hover img {
        transform: scale(1.08);
    }

.team-member .member-info .text-5 {
    color: var(--dark-color);
}

/*.team-member .member-info p {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 32px;
}*/

.team-member .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 4px 0 0;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 20px;
}

    .team-member .social-icons a:hover {
        background-color: var(--base-color);
        color: var(--light-color);
    }
