/* ═══════════════ TEAM ═══════════════ */
.Team {
  background: #f9f5f0;
  padding: 6em 2em;
}

.team-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.team-inner h2 {
  font-size: 2.4em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5em;
}

.team-sub {
  color: #666;
  max-width: 600px;
  margin: 0 auto 3em;
  line-height: 1.7;
}

/* ── Grid ── */
.team-grid {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  width: 240px;
  text-align: center;
}

.team-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 1.2em;
}

.team-img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 20px;
  cursor: default;
}

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

/* ── Social Overlay ── */
.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(19, 62, 135, 0.85);
  display: flex;
  justify-content: center;
  gap: 1.5em;
  padding: 1em;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-radius: 0 0 20px 20px;
}

.team-card:hover .team-social {
  transform: translateY(0);
}

.team-social a {
  color: white;
  font-size: 1.2em;
  transition: color 0.2s;
}

.team-social a:hover {
  color: #f5a623;
}

/* ── Info ── */
.team-info h3 {
  font-size: 1.1em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.3em;
}

.team-info span {
  font-size: 0.85em;
  color: #133E87;
  font-weight: 500;
}
