/* ============================================================
   about.css — Styles specific to about.html
   ============================================================ */

/* ------------------------------------------------------------
   PAGE HERO
   ------------------------------------------------------------ */
.page-hero {
  padding: 10rem 5% 6rem;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 60%, #EDE5D8 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 151, 90, 0.1), transparent 70%);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.page-hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 1.2rem;
  font-weight: 300;
}

.page-hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 2rem;
}

.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-cred-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.hero-cred-icon {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: white;
}

/* Doctor card in hero */
.doctor-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.doctor-card-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--cream), #D4C9B4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.doctor-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-card-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.doctor-card-photo-inner {
  text-align: center;
}

.doctor-card-photo-icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 0.8rem;
  opacity: 0.7;
}

.doctor-card-photo p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doctor-card-info {
  padding: 1.5rem;
  background: var(--charcoal);
}

.doctor-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.doctor-card-title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.3rem;
}

.doctor-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(184, 151, 90, 0.2);
  border: 1px solid rgba(184, 151, 90, 0.4);
  color: var(--gold-light);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.8rem;
}

/* ------------------------------------------------------------
   ABOUT STORY
   ------------------------------------------------------------ */
.about-story {
  background: var(--warm-white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.story-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.5;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.story-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* Education timeline */
.edu-timeline {
  margin-top: 2.5rem;
}

.edu-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
}

.edu-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  width: 2px;
  height: calc(100% - 8px);
  background: var(--border);
}

.edu-dot {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  z-index: 1;
  background: white;
}

.edu-content {
  flex: 1;
}

.edu-degree {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
}

.edu-institution {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.edu-year {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.15rem;
}

/* ------------------------------------------------------------
   STATS BAND
   ------------------------------------------------------------ */
.stats-band {
  background: var(--charcoal);
  padding: 4rem 5%;
}

.stats-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-block {
  padding: 1.5rem 1rem;
}

.stat-block-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.stat-block-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.stat-block-divider {
  width: 30px;
  height: 1px;
  background: rgba(184, 151, 90, 0.4);
  margin: 0.6rem auto 0;
}

/* ------------------------------------------------------------
   PHILOSOPHY
   ------------------------------------------------------------ */
.philosophy {
  background: var(--ivory);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.philosophy-card {
  background: var(--warm-white);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  transition: all 0.4s;
}

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.philosophy-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.philosophy-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}

.philosophy-card p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   HOSPITAL & CLINICS
   ------------------------------------------------------------ */
.locations {
  background: var(--warm-white);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.location-card {
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.location-card-header {
  background: var(--charcoal);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-card-icon {
  font-size: 1.6rem;
}

.location-card-header h3 {
  font-size: 1rem;
  color: white;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
}

.location-card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.2rem;
}

.location-card-body {
  padding: 1.5rem;
}

.location-detail {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.location-detail-icon {
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   PUBLICATIONS
   ------------------------------------------------------------ */
.publications {
  background: var(--ivory);
}

.pub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.pub-item {
  background: var(--warm-white);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  transition: all 0.3s;
}

.pub-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.pub-journal {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
}

.pub-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.pub-count-banner {
  background: var(--charcoal);
  padding: 2.5rem;
  border-radius: 6px;
  text-align: center;
  grid-column: span 2;
}

.pub-count-banner p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------------ */
.about-cta {
  background: linear-gradient(135deg, var(--charcoal), #2A2720);
  padding: 7rem 5%;
}

.about-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  font-weight: 400;
}

.about-cta h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.about-cta p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.about-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   RESPONSIVE — About page
   ------------------------------------------------------------ */
@media (max-width: 1024px) {

  /* Hero: stack — show doctor card above the text as a landscape card */
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .doctor-card {
    max-width: 100%;
    display: grid;
    grid-template-columns: 200px 1fr;
    /* photo left, info right */
    align-items: stretch;
  }

  .doctor-card-photo {
    aspect-ratio: unset;
    height: 200px;
  }

  .doctor-card-photo img {
    object-position: center 15%;
  }

  .doctor-card-photo::before {
    display: none;
  }

  /* hide top gold bar on landscape */

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-band-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .pub-count-banner {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {

  /* Doctor card: full-width portrait on phones */
  .doctor-card {
    display: block;
    /* back to single-column */
    max-width: 100%;
  }

  .doctor-card-photo {
    height: auto;
    aspect-ratio: 4/3;
    /* landscape crop — shows face, not full body */
  }

  .doctor-card-photo img {
    object-position: center 10%;
  }

  .doctor-card-photo::before {
    display: block;
  }

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

  .stats-band-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-credentials {
    gap: 0.6rem;
  }

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

  /* Fix hero decorative circle causing horizontal scroll */
  .page-hero::before {
    width: 300px;
    height: 300px;
    right: -120px;
  }

  /* Better spacing */
  .page-hero {
    padding: 8rem 5% 4rem;
  }

  .page-hero-sub {
    font-size: 0.92rem;
  }

  .hero-cred-item {
    font-size: 0.8rem;
  }

  /* Stats band - ensure numbers fit */
  .stats-band {
    padding: 3rem 5%;
  }

  .stat-block-num {
    font-size: 2.2rem;
  }

  .stat-block {
    padding: 1rem 0.5rem;
  }

  .stat-block-label {
    font-size: 0.65rem;
  }

  /* Philosophy cards better spacing */
  .philosophy-card {
    padding: 2rem 1.5rem;
  }

  /* Location cards */
  .location-card-header {
    padding: 1.2rem;
  }

  .location-card-body {
    padding: 1.2rem;
  }

  /* Publications */
  .pub-item {
    padding: 1.2rem;
  }

  .pub-count-banner {
    padding: 2rem 1.5rem;
  }

  .pub-count-banner h3 {
    font-size: 1.8rem !important;
  }

  /* Awards */
  .award-card-info {
    padding: 1rem;
  }

  /* CTA text */
  .about-cta {
    padding: 5rem 5%;
  }

  .about-cta p {
    font-size: 0.88rem;
  }

  .about-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Story quote */
  .story-quote {
    font-size: 1.3rem;
    padding-left: 1rem;
  }

  .story-body p {
    font-size: 0.9rem;
  }

  /* Education timeline */
  .edu-timeline {
    margin-top: 1.5rem;
  }
}

@media (max-width: 400px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero {
    padding: 7rem 4% 3rem;
  }

  .hero-cred-item {
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .hero-cred-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .stats-band-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stat-block-num {
    font-size: 1.8rem;
  }

  .doctor-card-photo {
    aspect-ratio: 3/2;
  }

  .doctor-card-info {
    padding: 1rem;
  }

  .doctor-card-name {
    font-size: 1.1rem;
  }

  .doctor-card-title {
    font-size: 0.65rem;
  }

  .doctor-card-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }
}

/* ------------------------------------------------------------
   AWARDS & RECOGNITION
   ------------------------------------------------------------ */
.awards-section {
  background: var(--cream);
  padding: 5rem 5%;
}

.awards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.award-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(28, 26, 23, 0.12);
}

.award-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.award-card-info {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.award-card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.award-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-top: 0.3rem;
  line-height: 1.5;
}