/* ========== TEAM SECTION ========== */
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(99, 102, 241, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition-base);
    transform: translateY(20px);
    opacity: 0;
}

.team-card:hover .team-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:hover .team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:hover .team-social a:nth-child(3) {
    transition-delay: 0.3s;
}

.team-card:hover .team-social a:nth-child(4) {
    transition-delay: 0.4s;
}

.team-social a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.team-bio {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .team-social a {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .team-info {
        padding: 1.25rem;
    }
}