/* team.css */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.team-card {
    background-color: #0d0d0d;
    border: 1px solid #22c1c3;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(34, 193, 195, 0.5);
}

.team-card .avatar {
    width: 7.5rem;
  height: 7.5rem;
  aspect-ratio: 1;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid #22c1c3;
    -o-object-fit: cover;
       object-fit: cover;
}

.team-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.team-card .role {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #16d7ae;
    margin-bottom: 1rem;
}

.team-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #cccccc;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #22c1c3;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #16d7ae;
}