/* ===== TEAM ===== */
.team {
  background: var(--primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-strong);
}

.team-card:first-child {
  grid-column: 1 / -1;
}

.team-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent-medium), var(--accent-bg));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--accent);
  border: 2px solid var(--border);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-education {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  font-size: 0.85rem;
}

.team-social a:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}
