/* Team Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

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

.team-img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #f9f9f9;
}

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

.team-card:hover .team-img {
    transform: scale(1.05);
}

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

.team-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #080808;
    margin-bottom: 8px;
}

.team-role {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
}
