/* ===================================================================
   DR. BHAGAT'S CLINIC — EDITORIAL DOCTOR SHOWCASE
   - Background: Soothing Pearl Ice Slate (#f0f4f9)
   - Doctor Cards: Crisp Pure White (#ffffff) with defined borders
   - Theme: Deep Navy & Subtle Teal / Muted Rose
   =================================================================== */

.about-section {
  padding: 65px 0 75px;
  background: #f0f4f9 !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #cbd5e1;
}

/* Header Compact Spacing */
.about-section .section-header {
  margin-bottom: 38px !important;
  max-width: 740px;
}

.about-section .section-header .section-badge {
  margin-bottom: 10px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.about-section .section-header .section-title {
  margin-bottom: 8px;
  color: #1a385c;
}

/* Subtle decorative ambient backdrop rings */
.about-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   SHOWCASE CONTAINER
   ───────────────────────────────────────────────────────────── */
.about-doctors-showcase {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1220px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────
   EDITORIAL DOCTOR CARDS (ELEVATED CRISP WHITE)
   ───────────────────────────────────────────────────────────── */
.doc-editorial-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 38px;
  align-items: start;
  position: relative;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1;
  border-radius: 28px;
  padding: 32px 36px;
  box-shadow: 0 12px 36px rgba(26, 56, 92, 0.08);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.doc-editorial-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 20px 48px rgba(2, 132, 199, 0.14);
}

/* Left Accent Line for Dr. Gajanan */
.doc-editorial-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, #1a385c, #0284c7);
  border-radius: 28px 0 0 28px;
}

/* Rose Card for Dr. Sunita */
.doc-editorial-card.card-rose {
  background: #ffffff !important;
  border-color: #fca5a5;
  box-shadow: 0 12px 36px rgba(225, 29, 72, 0.07);
}

.doc-editorial-card.card-rose:hover {
  border-color: #fb7185;
  box-shadow: 0 20px 48px rgba(225, 29, 72, 0.14);
}

.doc-editorial-card.card-rose::before {
  background: linear-gradient(to bottom, #be123c, #fb7185);
}

/* Reversed Layout for Dr. Sunita (Info Left, Photo Right) */
.doc-editorial-card.doc-card-reversed {
  grid-template-columns: 1fr 310px;
}

.doc-editorial-card.doc-card-reversed::before {
  left: auto;
  right: 0;
  border-radius: 0 28px 28px 0;
}

/* ─────────────────────────────────────────────────────────────
   DOCTOR MEDIA COLUMN
   ───────────────────────────────────────────────────────────── */
.doc-media-col {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.doc-photo-frame {
  position: relative;
  width: 100%;
  max-width: 310px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 26, 48, 0.12);
  border: 4px solid #ffffff;
  background: #f8fafc;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.doc-photo-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(11, 26, 48, 0.16);
}

.doc-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.doc-photo-frame:hover img {
  transform: scale(1.04);
}

/* Floating Seniority Ribbon Pill (Top) */
.doc-floating-exp {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 26, 48, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
}

.doc-floating-exp i {
  color: #f59e0b;
}

/* Floating Verified Seal Badge (Bottom) */
.doc-photo-seal {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  z-index: 2;
  pointer-events: none;
}

.doc-photo-seal i {
  color: #0284c7;
  font-size: 1rem;
}

.doc-photo-seal span {
  font-size: 0.73rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.2px;
}

.doc-photo-seal.seal-rose {
  border-color: #fecdd3;
}

.doc-photo-seal.seal-rose i {
  color: #e11d48;
}

/* ─────────────────────────────────────────────────────────────
   DOCTOR INFORMATION COLUMN
   ───────────────────────────────────────────────────────────── */
.doc-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 13px;
}

/* Header */
.doc-header-block {
  width: 100%;
}

.doc-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.doc-badge-pill.badge-purple {
  background: #f0f7ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.doc-badge-pill.badge-rose {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.doc-profile-name {
  font-family: Outfit, var(--font-heading);
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  font-weight: 850;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}

.doc-profile-qual {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0369a1;
  letter-spacing: 0.2px;
}

.doc-profile-qual.qual-rose {
  color: #be123c;
}

/* ─────────────────────────────────────────────────────────────
   IMPACT METRICS TRIO
   ───────────────────────────────────────────────────────────── */
.doc-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(26, 56, 92, 0.04);
}

.doc-metrics-row.metrics-rose {
  background: #fff8f8;
  border-color: #fca5a5;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.04);
}

.metric-block {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.metric-block:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.metric-num {
  font-family: Outfit, var(--font-heading);
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1;
  background: linear-gradient(135deg, #1a385c 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metrics-rose .metric-num {
  background: linear-gradient(135deg, #be123c 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-lbl {
  font-size: 0.68rem;
  font-weight: 750;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────
   EDITORIAL PHILOSOPHY QUOTE
   ───────────────────────────────────────────────────────────── */
.doc-quote-card {
  margin: 0;
  padding: 10px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 0 12px 12px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}

.doc-quote-card.quote-rose {
  background: #fff8f8;
  border-color: #fecdd3;
  border-left-color: #be123c;
}

.doc-quote-card .quote-icon {
  color: #0284c7;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
}

.doc-quote-card.quote-rose .quote-icon {
  color: #e11d48;
}

.doc-quote-card p {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
  color: #334155;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   CLINICAL SPECIALTY PILLARS
   ───────────────────────────────────────────────────────────── */
.doc-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.doc-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 11px 13px;
  transition: all 0.25s ease;
}

.doc-pillar-item:hover {
  border-color: #0284c7;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.1);
}

.doc-pillar-item.item-rose {
  background: #fff8f8;
  border-color: #fecdd3;
}

.doc-pillar-item.item-rose:hover {
  border-color: #fb7185;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.1);
}

.pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.item-rose .pillar-icon {
  background: #ffe4e6;
  color: #be123c;
}

.pillar-body {
  display: flex;
  flex-direction: column;
}

.pillar-body h4 {
  font-size: 0.81rem;
  font-weight: 750;
  color: #1a385c;
  margin: 0 0 2px;
  line-height: 1.25;
}

.pillar-body p {
  font-size: 0.72rem;
  color: #475569;
  margin: 0;
  line-height: 1.35;
}

/* ─────────────────────────────────────────────────────────────
   DEDICATED OPD CONSULTATION SCHEDULE BANNER
   ───────────────────────────────────────────────────────────── */
.doc-opd-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 10px 16px;
  width: 100%;
}

.doc-opd-banner.banner-rose {
  background: #fff1f2;
  border-color: #fecdd3;
}

.opd-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.opd-ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
  animation: pingPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingPulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.opd-schedule-text {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.opd-schedule-text i {
  color: #0284c7;
  font-size: 0.85rem;
}

.banner-rose .opd-schedule-text i {
  color: #be123c;
}

.opd-schedule-text strong {
  color: #0f172a;
  font-weight: 750;
}

/* ─────────────────────────────────────────────────────────────
   COUNCIL & FELLOWSHIP VERIFICATION STRIP
   ───────────────────────────────────────────────────────────── */
.doc-council-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #0369a1;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  width: 100%;
}

.doc-council-strip i {
  color: #0284c7;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.doc-council-strip.strip-rose {
  color: #be123c;
  border-top-color: #fecdd3;
}

.doc-council-strip.strip-rose i {
  color: #e11d48;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN (TABLET & MOBILE OPTIMIZED)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .about-section {
    padding: 50px 0 60px;
  }
  
  .doc-editorial-card {
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 24px 26px;
  }
  
  .doc-editorial-card.doc-card-reversed {
    grid-template-columns: 1fr 280px;
  }
  
  .doc-photo-frame {
    height: 360px;
    max-width: 280px;
  }
  
  .doc-pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .metric-num {
    font-size: 1.45rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 40px 0 50px;
  }

  .about-doctors-showcase {
    gap: 24px;
  }

  .doc-floating-exp {
    display: none !important;
  }

  .doc-photo-frame {
    max-width: 185px !important;
    height: 225px !important;
    margin: 0 auto;
    border-radius: 18px !important;
  }

  .doc-photo-frame img {
    object-position: center top !important;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 38px 0 32px !important;
  }

  .about-section .section-header {
    margin-bottom: 20px !important;
  }

  .about-doctors-showcase {
    gap: 18px !important;
  }

  .doc-editorial-card,
  .doc-editorial-card.doc-card-reversed {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 16px 14px;
    border-radius: 18px;
  }

  /* CRITICAL: Ensure Dr. Sunita's photo appears first on mobile, just like Dr. Gajanan's */
  .doc-editorial-card.doc-card-reversed .doc-media-col {
    order: -1;
  }

  .doc-editorial-card::before,
  .doc-editorial-card.doc-card-reversed::before {
    display: none;
  }

  .doc-photo-seal {
    bottom: 8px;
    left: 8px;
    padding: 4px 8px;
  }

  .doc-photo-seal span {
    font-size: 0.62rem;
  }
  
  .doc-info-col {
    align-items: flex-start;
    gap: 10px;
  }

  .doc-profile-name {
    font-size: 1.25rem;
  }

  .doc-profile-qual {
    font-size: 0.74rem;
  }

  .doc-metrics-row {
    padding: 8px 10px;
    gap: 2px;
    border-radius: 12px;
  }

  .metric-block {
    padding: 0 4px;
    text-align: center;
  }

  .metric-num {
    font-size: 1.15rem;
  }

  .metric-lbl {
    font-size: 0.58rem;
    white-space: normal;
    text-align: center;
  }

  .doc-quote-card {
    padding: 8px 12px;
    border-radius: 0 10px 10px 0;
    margin: 2px 0;
  }

  .doc-quote-card p {
    font-size: 0.74rem;
    line-height: 1.4;
  }
  
  /* Compact 3-Column Pillars Row */
  .doc-pillars-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px;
  }

  .doc-pillar-item {
    padding: 7px 4px;
    border-radius: 10px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .doc-pillar-item .pillar-icon {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .doc-pillar-item .pillar-body h4 {
    font-size: 0.68rem;
    line-height: 1.2;
    margin: 0;
  }

  .doc-pillar-item .pillar-body p {
    display: none;
  }
  
  .doc-opd-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
    gap: 4px;
    border-radius: 10px;
  }

  .opd-schedule-text {
    font-size: 0.7rem;
  }

  .doc-council-strip {
    font-size: 0.66rem;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .doc-editorial-card {
    padding: 14px 12px;
  }

  .doc-photo-frame {
    max-width: 175px;
    height: 215px;
  }

  .doc-profile-name {
    font-size: 1.18rem;
  }

  .metric-num {
    font-size: 1.05rem;
  }
}
