/* ═══════════════════════════════════════════════════════════════════
   19. TEAM SECTION
   ═══════════════════════════════════════════════════════════════════ */
.team {
  padding: 5rem 1.5rem;
  background: var(--bg);
  position: relative;
  z-index: 3;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  justify-content: center;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 auto 1.2rem;
  box-shadow: 0 12px 28px var(--primary-glow);
  position: relative;
  border: 4px solid var(--bg-card);
  transition: transform var(--transition);
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card:hover .team-avatar {
  transform: scale(1.05) rotate(-4deg);
}
.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.team-bio {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
