/* Team section */
.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 60vh;
    object-fit:cover;
}

.team-member:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    background: white;
}

.team-social {
    position: absolute;
    top: 0;
    right: -50px;
    background: var(--primary-color);
    border-radius: 0 0 0 10px;
    transition: all 0.3s ease;
    color: white;
}

.team-member:hover .team-social {
    right: 0;
}

.team-social a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.team-social a i{
    color: white;
}

.team-social a:hover {
    background: var(--secondary-color);
}