/* Team Section Styles (shared) */
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}


.dark .team-card {
    background: #1f2937;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(143, 30, 174, 0.4);
}

.dark .team-card:hover {
    box-shadow: 0 20px 40px rgba(143, 30, 174, 0.5);
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.dark .team-image-wrapper {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(143, 30, 174, 0.85) 0%, rgba(106, 27, 122, 0.85) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.team-overlay .overlay-role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.team-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    max-height: 150px;
    overflow-y: auto;
}

.role-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8F1EAE 0%, #6A1B7A 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 8px;
}

.team-info {
    padding: 24px;
}

.empty-state {
    padding: 80px 20px;
    text-align: center;
}
