﻿/* ── Our Team page ─────────────────────────────────────────── */

.team-section {
  padding: 88px 80px;
  background: #f6f7fc;
}

.team-intro {
  text-align: center;
  margin-bottom: 64px;
}

.team-intro-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(62, 66, 150, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.team-intro h2 {
  font-size: 30px;
  font-weight: 800;
  color: #2a2a4a;
  line-height: 1.2;
  margin-bottom: 14px;
}

.team-intro p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.58;
  max-width: 580px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px 24px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  box-shadow: 0 6px 24px rgba(62, 66, 150, 0.18);
  position: relative;
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-name {
  font-size: 13px;
  font-weight: 700;
  color: #2a2a4a;
  line-height: 1.35;
  margin-bottom: 3px;
}

.team-role {
  font-size: 11.5px;
  color: #888;
  font-weight: 500;
}

/* Cycling gradient backgrounds (5 colours) */
.team-card:nth-child(5n+1) .team-photo { background: linear-gradient(135deg, #3e4296 0%, #6366f1 100%); }
.team-card:nth-child(5n+2) .team-photo { background: linear-gradient(135deg, #0e7490 0%, #22d3ee 100%); }
.team-card:nth-child(5n+3) .team-photo { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }
.team-card:nth-child(5n+4) .team-photo { background: linear-gradient(135deg, #059669 0%, #34d399 100%); }
.team-card:nth-child(5n+0) .team-photo { background: linear-gradient(135deg, #b45309 0%, #fbbf24 100%); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .team-section { padding: 64px 40px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
}

@media (max-width: 560px) {
  .team-section { padding: 48px 24px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .team-intro h2 { font-size: 24px; }
}
