/* ===== POLARIS MEDICARE - OUR TEAM CSS ===== */

:root {
  --gold-gradient: linear-gradient(135deg, #e7a305 0%, #ffc107 100%);
}

body {
  font-family: 'Inter', sans-serif;
  background: #fafafa;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Playfair Display', serif;
}

/* --- HERO SECTION --- */
.team-hero {
  min-height: 60vh;
  position: relative;
  background: #002f43;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, white 2px, transparent 0);
  background-size: 40px 40px;
}

.hero-pre {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--secondary);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-bottom: 24px;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* --- DIRECTORS / KEY LEADERS --- */
.leadership-section {
  padding: 120px 0;
  background: white;
}

.leader-card {
  background: white;
  border-radius: 32px;
  padding: 60px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.leader-card:last-child {
  margin-bottom: 0;
}

.leader-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  background: var(--pale-blue);
}

.leader-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.leader-card:hover .leader-img-frame img {
  transform: scale(1.03);
}

.leader-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}

.leader-name {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.leader-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.leader-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #64748b;
  font-weight: 300;
  margin-bottom: 32px;
}

.leader-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary);
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* --- MEDICAL ADVISORS / GENERAL GRID --- */
.board-section {
  padding: 120px 0;
  background: #f8fafc;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.board-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}

.board-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.board-img-container {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--pale-blue);
}

.board-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.board-card:hover .board-img-container img {
  transform: scale(1.05);
}

.board-info {
  padding: 28px;
}

.board-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.board-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.board-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
  .team-hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .leader-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  .leader-img-frame {
    max-width: 320px;
    margin: 0 auto;
  }
  .leader-name {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .leadership-section, .board-section {
    padding: 80px 0;
  }
  .leader-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
  .leader-name {
    font-size: 1.8rem;
  }
  .leader-bio {
    font-size: 1rem;
    line-height: 1.7;
  }
  .board-grid {
    gap: 24px;
  }
}
