:root {
  --primary: #f07fb3;
  --secondary: #2e3a8c;
  --body-text: #64748b;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --bg-soft: #f8fafc;
  --font-main: "Quicksand", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--body-text);
  background: var(--bg-soft);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.team-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 140px 0 88px;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(46, 58, 140, 0.85), rgba(46, 58, 140, 0.56));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-style: italic;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content .eyebrow {
  color: #ffd6ea;
}

.hero-content h1 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.hero-content p {
  margin: 0;
  max-width: 640px;
  font-size: 1.05rem;
}

.team-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(46, 58, 140, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(46, 58, 140, 0.14);
}

.doctor-image-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.doctor-info {
  padding: 18px;
}

.doctor-info h3 {
  margin: 0 0 6px;
  color: var(--secondary);
  font-size: 1.2rem;
}

.role {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
}

.desc {
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--secondary);
  font-weight: 700;
}

.doctor-link:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .team-hero {
    min-height: 48vh;
    padding-top: 120px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
