.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin: 4rem auto;
}

.team-card {
    background: transparent;
    text-align: center;
    box-shadow: none;
}

.profile-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-card:hover .profile-image {
    filter: grayscale(0%);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 0;
}

.profile-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.profile-info .title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: normal;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.social-link {
    padding: 0;
    background: none;
    color: #666;
    transition: color 0.3s ease;
}

.social-link:hover {
    background: none;
    color: var(--primary-color);
}

.social-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
