/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team .team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.team .team-card:hover .member-img .social-overlay {
    opacity: 1;
}

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

.team .team-card.featured {
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.team .team-card.featured .member-info {
    background: var(--accent-color);
}

.team .team-card.featured .member-info .member-badge {
    background: color-mix(in srgb, var(--contrast-color) 20%, transparent);
    color: var(--contrast-color);
}

.team .team-card.featured .member-info h4 {
    color: var(--contrast-color);
}

.team .team-card.featured .member-info p {
    color: color-mix(in srgb, var(--contrast-color) 85%, transparent);
}

.team .team-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.team .team-card .member-img {
    position: relative;
    overflow: hidden;
}

.team .team-card .member-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team .team-card .member-img .social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, color-mix(in srgb, var(--accent-color) 90%, transparent) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team .team-card .member-img .social-overlay .social-links {
    display: flex;
    gap: 12px;
}

.team .team-card .member-img .social-overlay .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--contrast-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.team .team-card .member-img .social-overlay .social-links a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-4px);
}

.team .team-card .member-info {
    padding: 24px;
    text-align: center;
    transition: background 0.3s ease;
}

.team .team-card .member-info .member-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: color-mix(in srgb, var(--accent-color) 15%, transparent);
    color: var(--accent-color);
    margin-bottom: 12px;
}

.team .team-card .member-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--heading-color);
}

.team .team-card .member-info p {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color) 70%, transparent);
    margin: 0;
}

@media (max-width: 992px) {
    .team {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .team {
        padding: 60px 0;
    }

    .team .team-card .member-info {
        padding: 20px;
    }

    .team .team-card .member-info h4 {
        font-size: 18px;
    }
}