/* ==========================================
   TEAM SECTION
   ========================================== */

.team-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--pink-light);
}

.team-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Section Header */
.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-title {
    font-size: 2.5rem;
    color: var(--purple-dark);
    margin-bottom: 1rem;
}

.team-subtitle {
    font-size: 1.15rem;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Team Member Card */
.team-member {
    text-align: center;
}

/* Photo Wrapper with Shadow Effect */
.team-photo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.team-photo-shadow {
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(106, 13, 173, 0.2);
    border-radius: 50%;
    top: 8px;
    left: 8px;
}

.team-photo {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 1;
    transition: transform var(--transition);
}

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

/* Name */
.team-member h3 {
    font-size: 1.25rem;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

/* Role */
.team-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

/* Bio */
.team-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

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

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

    .team-title {
        font-size: 2rem;
    }
}
