/* ===== BANNER ===== */
.hero-banner {
  height: 55vh;
  background: url('../images/our-team-banner.jpeg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  color: #fff;
  text-align: center;
  max-width: 700px;
  padding: 20px;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.85;
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 80px 5%;
  background: #fafafa;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1rem;
  color: #666;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.team-card {
  text-align: center;
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* .team-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
} */
.team-image img {
  width: 100%;
  height: 380px;       /* Increased from 280px */
  object-fit: cover;
  object-position: top center;   /* Keeps heads visible */
  border-radius: 14px;
}

.team-name {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 18px;
}

.team-position {
  font-size: 0.95rem;
  color: #777;
  letter-spacing: 0.5px;
}
