/* Team Section */
.team-section {
    padding: var(--spacing-xxl) 0;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.team-card {
    text-align: center;
}

.team-photo-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 3/4;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-social {
    position: absolute;
    inset: 0;
    background: rgba(19, 30, 74, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-card:hover .team-social {
    opacity: 1;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-position {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 767px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-section {
        padding: var(--spacing-md) 0;
    }
}