/* Team member styles with background images instead of img tags */
.team-member {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(22, 34, 53, 0.6);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

/* Hide the original img tags */
.team-member-img {
    display: none;
}

/* Add team member photo containers with background images */
.team-member-photo {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:nth-child(1) .team-member-photo {
    background-image: url('../images/team/alex-zhang.jpg');
}

.team-member:nth-child(2) .team-member-photo {
    background-image: url('../images/team/sophia-rodriguez.jpg');
}

.team-member:nth-child(3) .team-member-photo {
    background-image: url('../images/team/marcus-patel.jpg');
}

.team-member:nth-child(4) .team-member-photo {
    background-image: url('../images/team/layla-chen.jpg');
}

.team-member-info {
    padding: 20px;
}

.team-member-info h3 {
    margin: 0 0 5px;
    font-size: 1.4rem;
    color: #ffffff;
}

.team-member-role {
    color: #14F195;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: block;
}

.team-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.team-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #14F195;
}
