
.team-card {
    border: none;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    
    /* Shadow */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    
    /* Smooth animation */
    transition: all 0.35s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #f1f1f1;
    transition: transform 0.4s ease;
}

/* Image zoom effect */
.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-role {
    font-weight: 600;
    margin-bottom: 5px;
}

.team-name {
    font-size: 0.95rem;
    color: #555;
}

.lead{
    margin-top: 10px;
    font-size:12px;
}

/* Responsive spacing improvement */
@media (max-width: 768px) {
    .team-card {
        padding: 25px 15px;
    }

    .team-img {
        width: 130px;
        height: 130px;
    }
}