/* =========================================================
   Nazar Health Care — 2026 Redesign System
   Medical · Trustworthy · Clean · Modern
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --nhc-navy: #0e2a47;
  --nhc-navy-deep: #081c31;
  --nhc-red: #c1121f;
  --nhc-red-soft: #e63946;
  --nhc-teal: #1a7a74;
  --nhc-mint: #e8f6f4;
  --nhc-ice: #f4f8fb;
  --nhc-sand: #f7f3ee;
  --nhc-text: #1c2a39;
  --nhc-muted: #5b6b7c;
  --nhc-line: #d9e3ee;
  --nhc-white: #ffffff;
  --nhc-shadow: 0 18px 50px rgba(14, 42, 71, 0.12);
  --nhc-radius: 22px;
  --nhc-radius-sm: 14px;
  --nhc-max: 1180px;
  --nhc-font: "Manrope", system-ui, sans-serif;
  --nhc-display: "Fraunces", Georgia, serif;
}

html { scroll-behavior: smooth; }

body.nhc-redesign,
body.nhc-redesign .site-content,
body.nhc-redesign .ast-container {
  font-family: var(--nhc-font) !important;
  color: var(--nhc-text);
  background: var(--nhc-ice);
}

body.nhc-redesign h1,
body.nhc-redesign h2,
body.nhc-redesign h3,
body.nhc-redesign .nhc-display {
  font-family: var(--nhc-display) !important;
  letter-spacing: -0.02em;
  color: var(--nhc-navy);
}

/* Hide old Elementor theme builder chrome on front for clean template */
body.nhc-home .elementor-location-header,
body.nhc-home .elementor-location-footer,
body.nhc-home .ast-primary-header-bar,
body.nhc-home #masthead,
body.nhc-home .site-header,
body.nhc-home footer.site-footer,
body.nhc-home .ast-footer-overlay {
  display: none !important;
}

body.nhc-home #content,
body.nhc-home .site-content,
body.nhc-home .ast-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.nhc-home .entry-header,
body.nhc-home .ast-archive-description,
body.nhc-home .page-header {
  display: none !important;
}

/* ---------- Shell ---------- */
.nhc-shell { background: var(--nhc-ice); overflow-x: hidden; }

.nhc-wrap {
  width: min(100% - 2rem, var(--nhc-max));
  margin-inline: auto;
}

/* ---------- Top bar ---------- */
.nhc-topbar {
  background: linear-gradient(90deg, var(--nhc-navy-deep), var(--nhc-navy));
  color: #d7e6f5;
  font-size: 0.86rem;
  padding: 0.55rem 0;
}

.nhc-topbar .nhc-wrap {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nhc-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.nhc-topbar a:hover { color: #9be7e0; }
.nhc-topbar-left, .nhc-topbar-right { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }

/* ---------- Header ---------- */
.nhc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(217,227,238,0.8);
}

.nhc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.nhc-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nhc-nav {
  display: flex;
  gap: 0.35rem 1.15rem;
  align-items: center;
  flex-wrap: wrap;
}

.nhc-nav a {
  color: var(--nhc-navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.35rem 0.15rem;
  position: relative;
}

.nhc-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--nhc-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nhc-nav a:hover::after,
.nhc-nav a.is-active::after { transform: scaleX(1); }

.nhc-header-cta {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.nhc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 750;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1.1;
  white-space: nowrap;
}

.nhc-btn:hover { transform: translateY(-2px); }

.nhc-btn-primary {
  background: linear-gradient(135deg, var(--nhc-red), #9b0d18);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(193,18,31,0.28);
}

.nhc-btn-secondary {
  background: var(--nhc-navy);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(14,42,71,0.18);
}

.nhc-btn-ghost {
  background: #fff;
  color: var(--nhc-navy) !important;
  border: 1px solid var(--nhc-line);
}

.nhc-btn-teal {
  background: linear-gradient(135deg, var(--nhc-teal), #12635e);
  color: #fff !important;
}

.nhc-menu-toggle {
  display: none;
  background: var(--nhc-navy);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
}

/* ---------- Hero ---------- */
.nhc-hero {
  position: relative;
  padding: 3.2rem 0 2.5rem;
  background:
    radial-gradient(1000px 420px at 85% 10%, rgba(26,122,116,0.18), transparent 60%),
    radial-gradient(800px 400px at 10% 0%, rgba(193,18,31,0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--nhc-ice) 100%);
}

.nhc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.nhc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--nhc-mint);
  color: var(--nhc-teal);
  border: 1px solid rgba(26,122,116,0.2);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 750;
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

.nhc-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 12ch;
}

.nhc-hero h1 span { color: var(--nhc-red); }

.nhc-hero-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--nhc-muted);
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.nhc-hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.6rem; }

.nhc-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.75rem;
}

.nhc-meta-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--nhc-line);
  border-radius: var(--nhc-radius-sm);
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 24px rgba(14,42,71,0.05);
}

.nhc-meta-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--nhc-navy);
  font-family: var(--nhc-display);
}

.nhc-meta-card span { color: var(--nhc-muted); font-size: 0.84rem; }

.nhc-hero-visual {
  position: relative;
  min-height: 420px;
}

.nhc-hero-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 36px 12px 36px 12px;
  box-shadow: var(--nhc-shadow);
  display: block;
}

.nhc-float-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 0.95rem 1.05rem;
  box-shadow: var(--nhc-shadow);
  border: 1px solid rgba(255,255,255,0.7);
  max-width: 240px;
  animation: nhc-float 4.5s ease-in-out infinite;
}

.nhc-float-card.one { left: -18px; bottom: 48px; }
.nhc-float-card.two { right: -10px; top: 36px; animation-delay: -1.5s; }

.nhc-float-card b { display: block; color: var(--nhc-navy); margin-bottom: 0.2rem; }
.nhc-float-card span { color: var(--nhc-muted); font-size: 0.86rem; }

@keyframes nhc-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.nhc-section { padding: 4.2rem 0; }
.nhc-section.alt { background: #fff; }
.nhc-section.mint { background: linear-gradient(180deg, var(--nhc-mint), #fff); }
.nhc-section.navy {
  background: linear-gradient(135deg, var(--nhc-navy-deep), #143a5c 55%, #0f4f4a);
  color: #e8f1fa;
}

.nhc-section.navy h2,
.nhc-section.navy h3 { color: #fff !important; }

.nhc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.nhc-eyebrow {
  color: var(--nhc-teal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.nhc-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  margin: 0;
  line-height: 1.15;
}

.nhc-section-lead {
  color: var(--nhc-muted);
  max-width: 34rem;
  margin-top: 0.55rem;
  line-height: 1.6;
}

.nhc-section.navy .nhc-section-lead,
.nhc-section.navy .nhc-eyebrow { color: #9adfd8; }

/* ---------- Feature / Tabinda: Urdu banner LEFT + English details RIGHT ---------- */
.nhc-feature.nhc-feature-tabinda {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--nhc-line);
  box-shadow: var(--nhc-shadow);
}

.nhc-feature-banner {
  margin: 0;
  background: #7a0f18;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.nhc-feature-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain; /* show FULL Urdu banner — no crop */
  object-position: center;
  border-radius: 14px;
}

.nhc-feature-copy {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nhc-feature-copy h3 {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.2;
}

.nhc-feature-copy p {
  color: var(--nhc-muted);
  line-height: 1.65;
  margin: 0;
}

.nhc-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.nhc-chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0; }
.nhc-chip {
  background: var(--nhc-mint);
  color: var(--nhc-teal);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nhc-feature.nhc-feature-tabinda {
    grid-template-columns: 1fr;
  }
  .nhc-feature-banner { order: -1; }
}
/* ---------- Services ---------- */
.nhc-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.nhc-service {
  background: #fff;
  border: 1px solid var(--nhc-line);
  border-radius: var(--nhc-radius);
  padding: 1.35rem;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.nhc-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--nhc-shadow);
}

.nhc-service:nth-child(odd) {
  background: linear-gradient(160deg, var(--nhc-navy), #184868);
  color: #fff;
  border-color: transparent;
}

.nhc-service:nth-child(odd) h3,
.nhc-service:nth-child(odd) p { color: #fff !important; }
.nhc-service:nth-child(odd) .nhc-service-link { color: #9be7e0 !important; }

.nhc-service-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(26,122,116,0.12);
  color: var(--nhc-teal);
  font-weight: 800;
  margin-bottom: 1rem;
}

.nhc-service:nth-child(odd) .nhc-service-icon {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.nhc-service h3 { margin: 0 0 0.55rem; font-size: 1.25rem; }
.nhc-service p { margin: 0 0 1.1rem; color: var(--nhc-muted); line-height: 1.55; font-size: 0.95rem; }
.nhc-service-link { font-weight: 750; color: var(--nhc-red); text-decoration: none; }

/* ---------- Trust ---------- */
.nhc-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}

.nhc-trust-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1.25rem;
}

.nhc-trust-item strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--nhc-display);
  margin-bottom: 0.25rem;
}

/* ---------- Doctors ---------- */
.nhc-doctors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.nhc-doctor {
  background: #fff;
  border-radius: var(--nhc-radius);
  border: 1px solid var(--nhc-line);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(14,42,71,0.06);
  display: flex;
  flex-direction: column;
}

.nhc-doctor-media {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(14,42,71,0.75), rgba(26,122,116,0.55)),
    url('https://www.nazarhealthcare.com/wp-content/uploads/2025/07/photo-1538108149393-fbbd81895907.avif') center/cover;
  position: relative;
}

.nhc-doctor-media.tabinda {
  background:
    linear-gradient(135deg, rgba(193,18,31,0.35), rgba(14,42,71,0.45)),
    url('https://www.nazarhealthcare.com/wp-content/uploads/2026/09/dr-tabinda-naseem-gynecologist-nazar-healthcare.jpg') center/cover;
}

.nhc-doctor-badge {
  position: absolute;
  left: 12px; bottom: 12px;
  background: #fff;
  color: var(--nhc-navy);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.nhc-doctor-body { padding: 1.15rem 1.2rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.nhc-doctor-body h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.nhc-doctor-role { color: var(--nhc-teal); font-weight: 750; font-size: 0.9rem; margin-bottom: 0.65rem; }
.nhc-doctor-body p { color: var(--nhc-muted); font-size: 0.92rem; line-height: 1.55; margin: 0 0 1rem; flex: 1; }
.nhc-doctor-body .nhc-btn { align-self: flex-start; padding: 0.65rem 1rem; font-size: 0.88rem; }

/* ---------- CTA band ---------- */
.nhc-cta-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  padding: 1.8rem;
  border: 1px solid var(--nhc-line);
  box-shadow: var(--nhc-shadow);
}

.nhc-cta-band h3 { margin: 0 0 0.4rem; font-size: 1.7rem; }
.nhc-cta-band p { margin: 0; color: var(--nhc-muted); }
.nhc-cta-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: end; }

/* ---------- FAQ ---------- */
.nhc-faq { display: grid; gap: 0.75rem; max-width: 820px; }
.nhc-faq details {
  background: #fff;
  border: 1px solid var(--nhc-line);
  border-radius: 16px;
  padding: 1rem 1.15rem;
}
.nhc-faq summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--nhc-navy);
  list-style: none;
}
.nhc-faq summary::-webkit-details-marker { display: none; }
.nhc-faq details p { color: var(--nhc-muted); margin: 0.7rem 0 0; line-height: 1.6; }

/* ---------- Footer ---------- */
.nhc-footer {
  background: var(--nhc-navy-deep);
  color: #c9d8e8;
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}

.nhc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nhc-footer h4 {
  color: #fff !important;
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-family: var(--nhc-font) !important;
  letter-spacing: 0;
}

.nhc-footer a { color: #c9d8e8; text-decoration: none; }
.nhc-footer a:hover { color: #9be7e0; }
.nhc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.nhc-footer-brand img { height: 48px; width: auto; margin-bottom: 0.9rem; filter: brightness(0) invert(1); }
.nhc-footer-brand p { line-height: 1.6; max-width: 28rem; }
.nhc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

/* ---------- Floating widgets ---------- */
.nhc-float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: grid;
  gap: 0.55rem;
}

.nhc-wa, .nhc-call {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  font-weight: 800;
  font-size: 0.72rem;
}

.nhc-wa { background: #25D366; }
.nhc-call { background: var(--nhc-red); }

.nhc-mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: rgba(8,28,49,0.96);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0.85rem;
  gap: 0.5rem;
}

.nhc-mobile-cta .nhc-btn { flex: 1; border-radius: 14px; padding: 0.85rem 0.5rem; }

/* ---------- Inner pages polish ---------- */
body.nhc-redesign:not(.nhc-home) .entry-content,
body.nhc-redesign:not(.nhc-home) .ast-article-single {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(14,42,71,0.05);
}

body.nhc-redesign .elementor-button,
body.nhc-redesign .wp-block-button__link {
  border-radius: 999px !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nhc-hero-grid,
  .nhc-cta-band,
  .nhc-footer-grid { grid-template-columns: 1fr; }
  .nhc-services { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nhc-doctors { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nhc-trust { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nhc-nav { display: none; }
  .nhc-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--nhc-line);
    box-shadow: var(--nhc-shadow);
  }
  .nhc-menu-toggle { display: inline-flex; }
  .nhc-header { position: relative; }
  .nhc-header-inner { position: relative; }
  .nhc-hero-visual img { height: 340px; }
  .nhc-float-card.one, .nhc-float-card.two { display: none; }
}

@media (max-width: 640px) {
  .nhc-services,
  .nhc-doctors,
  .nhc-trust,
  .nhc-hero-meta { grid-template-columns: 1fr; }
  .nhc-header-cta .nhc-btn-ghost { display: none; }
  .nhc-mobile-cta { display: flex; }
  body.nhc-redesign { padding-bottom: 76px; }
  .nhc-float-actions { bottom: 84px; }
}

/* ===== Inner pages: lift Elementor content into the new system ===== */
body.nhc-redesign:not(.nhc-home) #content {
  background: var(--nhc-ice);
  padding: 1.5rem 0 3rem;
}

body.nhc-redesign:not(.nhc-home) .ast-container {
  max-width: var(--nhc-max) !important;
}

body.nhc-redesign:not(.nhc-home) .entry-title,
body.nhc-redesign:not(.nhc-home) h1.entry-title {
  font-family: var(--nhc-display) !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  color: var(--nhc-navy) !important;
  margin-bottom: 1rem !important;
}

body.nhc-redesign:not(.nhc-home) .elementor-widget-heading .elementor-heading-title {
  font-family: var(--nhc-display) !important;
  color: var(--nhc-navy) !important;
}

body.nhc-redesign:not(.nhc-home) .elementor-button-wrapper .elementor-button {
  background: linear-gradient(135deg, var(--nhc-red), #9b0d18) !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(193,18,31,0.22);
}

body.nhc-redesign:not(.nhc-home) .elementor-widget-text-editor,
body.nhc-redesign:not(.nhc-home) .entry-content {
  color: var(--nhc-muted);
  line-height: 1.7;
}

body.nhc-redesign:not(.nhc-home) .elementor-element {
  border-radius: 4px;
}

body.nhc-redesign .wp-block-image img,
body.nhc-redesign .doctor-profile-photo img {
  border-radius: 18px;
  box-shadow: var(--nhc-shadow);
}

body.nhc-redesign .wp-block-list {
  line-height: 1.7;
}

/* ---------- Dr Sidrah highlight slider ---------- */
.nhc-slider {
  position: relative;
  background: #fff;
  border: 1px solid var(--nhc-line);
  border-radius: 28px;
  box-shadow: var(--nhc-shadow);
  overflow: hidden;
}

.nhc-slider-track { position: relative; }

.nhc-slide {
  display: none;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  align-items: stretch;
  min-height: 360px;
}

.nhc-slide.is-active { display: grid; animation: nhc-fade .45s ease; }

@keyframes nhc-fade {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

.nhc-slide-media {
  background: linear-gradient(160deg, #0e2a47, #1a7a74);
  min-height: 320px;
}

.nhc-slide-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.nhc-slide-copy {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nhc-slide-tag {
  display: inline-flex;
  align-self: flex-start;
  background: var(--nhc-mint);
  color: var(--nhc-teal);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
}

.nhc-slide-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

.nhc-slide-copy p {
  color: var(--nhc-muted);
  line-height: 1.65;
  margin: 0 0 1.1rem;
}

.nhc-slide-list {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--nhc-text);
  line-height: 1.7;
}

.nhc-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1.1rem;
  border-top: 1px solid var(--nhc-line);
  background: #fbfcfe;
}

.nhc-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--nhc-line);
  background: #fff;
  color: var(--nhc-navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
}

.nhc-slider-btn:hover { background: var(--nhc-navy); color: #fff; }

.nhc-slider-dots { display: flex; gap: 0.4rem; align-items: center; }

.nhc-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #c9d6e4;
  cursor: pointer;
  padding: 0;
}

.nhc-slider-dot.is-active {
  background: var(--nhc-red);
  width: 22px;
  border-radius: 999px;
}

.nhc-doctor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 900px) {
  .nhc-slide { grid-template-columns: 1fr; }
  .nhc-slide-media img { min-height: 260px; height: 260px; }
}



/* =========================================================
   Modern easy-use polish pass
   ========================================================= */

:root {
  --nhc-shadow: 0 10px 28px rgba(14, 42, 71, 0.08);
  --nhc-radius: 18px;
  --nhc-radius-sm: 12px;
  --nhc-max: 1120px;
  --nhc-display: "Manrope", system-ui, sans-serif;
}

body.nhc-redesign {
  background: #f7f9fc !important;
  -webkit-font-smoothing: antialiased;
}

body.nhc-redesign h1,
body.nhc-redesign h2,
body.nhc-redesign h3 {
  font-family: var(--nhc-font) !important;
  font-weight: 780 !important;
  letter-spacing: -0.025em;
}

.nhc-shell { background: #f7f9fc; }

.nhc-topbar {
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.nhc-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid #e8eef5;
}

.nhc-header-inner { padding: 0.7rem 0; }

.nhc-logo img { height: 46px; }

.nhc-nav a {
  font-weight: 650;
  font-size: 0.92rem;
  color: #243447;
  padding: 0.45rem 0.2rem;
}

.nhc-btn {
  padding: 0.72rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 44px;
}

.nhc-hero {
  padding: 2.4rem 0 2rem;
  background:
    radial-gradient(900px 380px at 90% 0%, rgba(26,122,116,0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.nhc-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
  font-weight: 800 !important;
}

.nhc-hero-lead {
  font-size: 1.02rem;
  max-width: 34rem;
}

.nhc-kicker {
  background: #eef8f6;
  border: 0;
  font-size: 0.8rem;
}

.nhc-meta-card {
  box-shadow: none;
  background: #fff;
  border: 1px solid #e8eef5;
}

.nhc-section { padding: 3.2rem 0; }
.nhc-section.alt { background: #fff; }

.nhc-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 750;
}

.nhc-section h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 800 !important;
}

.nhc-section-lead {
  font-size: 0.98rem;
  margin-top: 0.4rem;
}

.nhc-service,
.nhc-doctor,
.nhc-feature.nhc-feature-tabinda,
.nhc-slider,
.nhc-cta-band,
.nhc-faq details {
  border-radius: 16px;
  box-shadow: none;
  border: 1px solid #e6edf5;
}

.nhc-service {
  min-height: 200px;
  padding: 1.2rem;
}

.nhc-service:hover,
.nhc-doctor:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14,42,71,0.08);
}

.nhc-doctor-media { height: 170px; }

.nhc-doctor-body { padding: 1rem 1.05rem 1.15rem; }
.nhc-doctor-body h3 { font-size: 1.08rem; }
.nhc-doctor-body p { font-size: 0.88rem; }

.nhc-slide-copy { padding: 1.6rem 1.4rem; }
.nhc-slide-copy h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 780 !important;
}

.nhc-slide-tag {
  background: #eef8f6;
  font-size: 0.72rem;
}

.nhc-slider-controls {
  background: #fafbfd;
  padding: 0.7rem 1rem 0.9rem;
}

.nhc-faq details {
  background: #fff;
  padding: 0.95rem 1.05rem;
}

.nhc-faq summary {
  font-size: 0.98rem;
  font-weight: 700;
}

.nhc-footer {
  padding: 2.8rem 0 1.3rem;
}

.nhc-footer-grid { gap: 1.2rem; margin-bottom: 1.5rem; }

.nhc-float-actions { gap: 0.45rem; }
.nhc-wa, .nhc-call {
  width: 52px;
  height: 52px;
  font-size: 0.7rem;
}

/* Clearer focus for accessibility / easy use */
.nhc-btn:focus-visible,
.nhc-nav a:focus-visible,
.nhc-slider-btn:focus-visible {
  outline: 3px solid rgba(26,122,116,0.35);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .nhc-hero { padding: 1.6rem 0 1.2rem; }
  .nhc-section { padding: 2.2rem 0; }
  .nhc-header-cta .nhc-btn-primary { padding-inline: 0.9rem; }
  .nhc-topbar-left span:first-child { display: none; }
}

/* =========================================================
   V2 — First-fold doctors + energetic motion
   ========================================================= */

.nhc-v2 .nhc-firstfold {
  position: relative;
  padding: 1.4rem 0 1.8rem;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(193,18,31,0.08), transparent 55%),
    radial-gradient(800px 380px at 100% 10%, rgba(26,122,116,0.12), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  overflow: hidden;
}

.nhc-firstfold-hero {
  text-align: left;
  max-width: 720px;
  margin-bottom: 1.35rem;
}

.nhc-firstfold-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  margin: 0 0 0.7rem;
  line-height: 1.05;
  max-width: none;
}

.nhc-firstfold-hero h1 span {
  background: linear-gradient(135deg, var(--nhc-red), #ff4d5a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nhc-firstfold-hero .nhc-hero-lead {
  margin-bottom: 1rem;
  max-width: 40rem;
}

.nhc-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.nhc-hero-pills span {
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nhc-navy);
}

.nhc-doctors-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.nhc-doctors-head h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
}

.nhc-doctors-hint {
  margin: 0;
  color: var(--nhc-muted);
  font-size: 0.9rem;
}

.nhc-doctor-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.nhc-docard {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.nhc-docard:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 36px rgba(14,42,71,0.12);
  border-color: rgba(26,122,116,0.35);
}

.nhc-docard-media {
  height: 110px;
  background-size: cover;
  background-position: center top;
  position: relative;
  filter: saturate(1.05);
}

.nhc-docard-media.tabinda { background-position: center; }

.nhc-docard-body {
  padding: 0.75rem 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.nhc-docard-body h3 {
  margin: 0;
  font-size: 0.95rem !important;
  line-height: 1.25;
}

.nhc-docard-role {
  margin: 0;
  color: var(--nhc-teal);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.2em;
}

.nhc-docard-actions {
  display: flex;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.45rem;
}

.nhc-docard-actions .nhc-btn {
  flex: 1;
  padding: 0.5rem 0.35rem;
  font-size: 0.78rem;
  min-height: 36px;
  border-radius: 999px;
}

.nhc-pulse {
  animation: nhc-pulse 2.2s ease-in-out infinite;
}

@keyframes nhc-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(193,18,31,0.22); }
  50% { box-shadow: 0 14px 34px rgba(193,18,31,0.42); }
}

.nhc-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--d, 0) * 70ms);
}

.nhc-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .nhc-doctor-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nhc-v2 .nhc-firstfold { padding-top: 1rem; }
  .nhc-doctor-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.7rem;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }
  .nhc-docard {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
  .nhc-docard-media { height: 130px; }
  .nhc-firstfold-hero h1 { font-size: 2.1rem !important; }
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@500;700&display=swap');

.nhc-docard-main {
  display: block;
  text-decoration: none !important;
  color: inherit;
  flex: 1;
}

.nhc-docard-main-static { flex: 1; }

.nhc-docard[data-profile] { cursor: pointer; }

.nhc-docard-actions {
  padding: 0 0.8rem 0.9rem;
}

.nhc-docard-body { padding-bottom: 0.55rem; }

.nhc-docard-urdu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 110px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 45%),
    linear-gradient(145deg, #9b0d18 0%, #c1121f 45%, #7a0f18 100%);
  position: relative;
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.nhc-urdu-name {
  font-family: "Noto Nastaliq Urdu", "Segoe UI", Tahoma, sans-serif;
  color: #ffe566;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.nhc-urdu-sub {
  font-family: "Noto Nastaliq Urdu", "Segoe UI", Tahoma, sans-serif;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.95;
}

.nhc-docard-urdu .nhc-doctor-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: auto; /* prevent stretch from base bottom:12px */
  right: auto;
  height: auto;
  width: auto;
  line-height: 1;
  padding: 0.22rem 0.55rem;
  font-size: 0.68rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  z-index: 2;
}
.nhc-docard-urdu { height: 132px; gap: 0.2rem; }
.nhc-urdu-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #fff;
}
.nhc-urdu-name { font-size: 0.95rem; }
.nhc-urdu-sub { font-size: 0.72rem; }


/* Visit section with Google Map */
.nhc-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}
.nhc-cta-band.nhc-cta-with-map {
  grid-template-columns: 1fr;
  align-content: center;
  min-height: 100%;
}
.nhc-map-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: none;
}
.nhc-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}
.nhc-map-caption {
  padding: 0.7rem 0.9rem;
  font-size: 0.86rem;
  color: var(--nhc-muted);
  border-top: 1px solid #eef3f8;
  background: #fafbfd;
}
.nhc-map-caption strong { color: var(--nhc-navy); }
@media (max-width: 900px) {
  .nhc-visit-grid { grid-template-columns: 1fr; }
  .nhc-map-card iframe { min-height: 240px; }
}

/* Sitewide call-to-book modal */
.nhc-book-modal {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.nhc-book-modal[hidden] { display: none !important; }
.nhc-book-backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 42, 71, .55);
  backdrop-filter: blur(2px);
}
.nhc-book-dialog {
  position: relative; z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.4rem 1.35rem;
  box-shadow: 0 24px 60px rgba(14,42,71,.28);
  text-align: center;
}
.nhc-book-x {
  position: absolute; top: .7rem; right: .85rem;
  border: 0; background: transparent; font-size: 1.6rem;
  line-height: 1; color: #7a8a9a; cursor: pointer;
}
.nhc-book-kicker {
  margin: 0 0 .35rem; color: var(--nhc-teal, #1a7a74); font-weight: 750; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.nhc-book-dialog h2 {
  margin: 0 0 .55rem !important; color: var(--nhc-navy, #0e2a47) !important;
  font-size: 1.35rem !important; line-height: 1.25 !important;
}
.nhc-book-copy {
  margin: 0 0 1rem; color: #5b6b7c; font-size: .92rem; line-height: 1.55;
}
.nhc-book-number {
  display: inline-block;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: .02em;
  color: #9b0d18;
  text-decoration: none;
  background: #fff5f5;
  border: 2px solid #f0c4c8;
  border-radius: 14px;
  padding: .7rem 1rem;
  margin: 0 0 .45rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nhc-book-number:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(155,13,24,.15);
  color: #7a0a12;
}
.nhc-book-hint { margin: 0 0 1.1rem; color: #8a97a6; font-size: .8rem; }
.nhc-book-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.nhc-book-actions .nhc-btn { margin: 0; }
.nhc-book-note { margin: .75rem 0 0; color: var(--nhc-teal, #1a7a74); font-size: .85rem; font-weight: 650; }
body.nhc-book-open { overflow: hidden; }
button.nhc-btn,
button.nhc-call {
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
button.nhc-call {
  /* match float call chip look if styled as <a> before */
  border: 0;
}
.nhc-float-actions .nhc-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nhc-docard-time {
  margin: 0.25rem 0 0;
  color: var(--nhc-teal, #1a7a74);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}
.nhc-book-doctor {
  margin: 0 0 0.35rem;
  color: var(--nhc-navy, #0e2a47);
  font-size: 1.05rem;
  font-weight: 800;
}
.nhc-book-timing {
  margin: 0 0 0.85rem;
  display: inline-block;
  background: #e8f6f4;
  color: #1a7a74;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 750;
}

/* Doctor card Call button — blue, icon, animation */
.nhc-docard-actions .nhc-btn {
  gap: 0.35rem;
}
.nhc-docard-actions .nhc-ico {
  flex: 0 0 auto;
  display: block;
}
.nhc-docard-actions .nhc-btn-call {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 55%, #1e40af 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
  position: relative;
  overflow: hidden;
  animation: nhc-call-breathe 2.4s ease-in-out infinite;
}
.nhc-docard-actions .nhc-btn-call::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: nhc-call-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.nhc-docard-actions .nhc-btn-call:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 26px rgba(29, 78, 216, 0.45);
  filter: brightness(1.05);
}
.nhc-docard-actions .nhc-btn-call:active {
  transform: translateY(0) scale(0.98);
}
.nhc-docard-actions .nhc-btn-secondary,
.nhc-docard-actions .nhc-btn-primary {
  box-shadow: 0 6px 14px rgba(14, 42, 71, 0.16);
}
@keyframes nhc-call-breathe {
  0%, 100% { box-shadow: 0 8px 18px rgba(37, 99, 235, 0.32); }
  50% { box-shadow: 0 10px 26px rgba(37, 99, 235, 0.55); }
}
@keyframes nhc-call-shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .nhc-docard-actions .nhc-btn-call,
  .nhc-docard-actions .nhc-btn-call::after { animation: none; }
}

/* =========================================================
   Cool modern doctor cards + stronger responsive
   ========================================================= */
.nhc-v2 .nhc-doctors-head {
  margin-bottom: 1.1rem;
}
.nhc-doctor-rail {
  gap: 1rem;
}
.nhc-docard {
  /* gradient border via background */
  border-radius: 22px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, rgba(59,130,246,.22), rgba(26,122,116,.18), rgba(193,18,31,.12)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(14, 42, 71, 0.06);
  backdrop-filter: saturate(1.05);
}
.nhc-docard:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(14, 42, 71, 0.14);
}
.nhc-docard-media {
  height: 138px;
  position: relative;
}
.nhc-docard-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(14,42,71,.28));
  pointer-events: none;
}
.nhc-docard-urdu::after { display: none; }
.nhc-docard-body {
  padding: 0.9rem 0.95rem 0.55rem;
  gap: 0.28rem;
}
.nhc-docard-body h3 {
  font-size: 1rem !important;
  letter-spacing: -0.01em;
}
.nhc-docard-role {
  font-size: 0.78rem;
  opacity: 0.95;
}
.nhc-docard-time {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.35rem !important;
  background: #eef8f6;
  color: #0f766e !important;
  border: 1px solid #d5efe9;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem !important;
  font-weight: 750;
  line-height: 1.25;
  min-height: 0;
}
.nhc-docard-actions {
  padding: 0.35rem 0.85rem 0.95rem;
  gap: 0.45rem;
}
.nhc-docard-actions .nhc-btn {
  min-height: 40px;
  font-size: 0.8rem;
  font-weight: 750;
  border-radius: 14px;
}
.nhc-docard-actions .nhc-btn-call {
  border-radius: 14px !important;
}

/* Responsive: tablet / mobile */
@media (max-width: 1200px) {
  .nhc-doctor-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .nhc-v2 .nhc-firstfold { padding: 1rem 0 1.4rem; }
  .nhc-firstfold-hero { margin-bottom: 1.1rem; }
  .nhc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }
  .nhc-hero-actions .nhc-btn {
    flex: 1 1 auto;
    min-width: min(100%, 10.5rem);
  }
}
@media (max-width: 720px) {
  .nhc-doctor-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding: 0.15rem 0.15rem 0.85rem;
    margin: 0 -0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nhc-doctor-rail::-webkit-scrollbar { display: none; }
  .nhc-docard {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
  .nhc-docard-media { height: 148px; }
  .nhc-doctors-head { align-items: flex-start; }
  .nhc-doctors-hint { max-width: 16rem; }
  .nhc-feature {
    grid-template-columns: 1fr !important;
  }
  .nhc-services { grid-template-columns: 1fr 1fr; }
  .nhc-mobile-cta { z-index: 90; }
  .nhc-float-actions { bottom: 5.4rem; }
}
@media (max-width: 480px) {
  .nhc-docard { flex-basis: 84vw; }
  .nhc-services { grid-template-columns: 1fr; }
  .nhc-firstfold-hero h1 { font-size: 1.85rem !important; }
  .nhc-hero-actions .nhc-btn { width: 100%; min-width: 0; }
  .nhc-wrap { padding-left: 1rem; padding-right: 1rem; }
}


/* =========================================================
   Doctor cards — polished, aligned, single-line hours
   ========================================================= */
.nhc-doctor-rail {
  align-items: stretch;
  gap: 0.85rem;
}
.nhc-docard {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  border-radius: 20px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, rgba(26,122,116,.28), rgba(59,130,246,.16), rgba(14,42,71,.08)) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 12px 30px rgba(14, 42, 71, 0.07);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease;
}
.nhc-docard:hover {
  transform: translateY(-7px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 22px 44px rgba(14, 42, 71, 0.14);
}
.nhc-docard-main,
.nhc-docard-main-static {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  text-decoration: none !important;
  color: inherit;
}
.nhc-docard-media,
.nhc-docard-urdu {
  height: 128px !important;
  min-height: 128px;
  flex: 0 0 128px;
  position: relative;
}
.nhc-docard-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(14,42,71,.34));
  pointer-events: none;
  z-index: 1;
}
.nhc-docard-urdu::after { display: none; }
.nhc-docard-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.72rem 0.72rem 0.45rem;
  gap: 0.22rem;
  min-height: 0;
}
.nhc-docard-body h3 {
  margin: 0 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em;
  color: #0e2a47;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nhc-docard-role {
  margin: 0;
  color: #1a7a74;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 1;
}
.nhc-docard-time {
  margin: auto 0 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, #f2fbf9, #e8f6f3);
  color: #0f766e !important;
  border: 1px solid #cfeae4;
  border-radius: 999px;
  padding: 0.28rem 0.4rem;
  font-size: 0.62rem !important;
  font-weight: 750;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
  min-height: 1.7rem;
  max-height: 1.7rem;
}
.nhc-docard-actions {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 0;
  padding: 0.5rem 0.7rem 0.75rem;
  flex: 0 0 auto;
}
.nhc-docard-actions .nhc-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 36px;
  height: 36px;
  padding: 0 0.35rem !important;
  font-size: 0.72rem !important;
  font-weight: 750;
  border-radius: 11px !important;
  line-height: 1;
  white-space: nowrap;
}
.nhc-docard-actions .nhc-ico {
  width: 12px;
  height: 12px;
}
.nhc-docard-actions .nhc-btn-call {
  border-radius: 11px !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28);
}
.nhc-docard-actions .nhc-btn-secondary,
.nhc-docard-actions .nhc-btn-primary,
.nhc-docard-actions .nhc-btn-ghost {
  box-shadow: 0 4px 10px rgba(14, 42, 71, 0.1);
}

@media (max-width: 1400px) {
  .nhc-docard-time { font-size: 0.58rem !important; padding: 0.26rem 0.32rem; }
  .nhc-docard-body h3 { font-size: 0.84rem !important; }
  .nhc-docard-role { font-size: 0.64rem; }
}
@media (max-width: 1200px) {
  .nhc-docard-time { font-size: 0.68rem !important; }
  .nhc-docard-body h3 { font-size: 0.92rem !important; min-height: 1.3em; }
  .nhc-docard-role { font-size: 0.72rem; min-height: 2.4em; }
}
@media (max-width: 720px) {
  .nhc-docard-media,
  .nhc-docard-urdu { height: 148px !important; min-height: 148px; flex-basis: 148px; }
  .nhc-docard-time { font-size: 0.72rem !important; }
  .nhc-docard-body h3 { font-size: 0.95rem !important; }
  .nhc-docard-role { font-size: 0.74rem; }
  .nhc-docard-actions .nhc-btn { min-height: 40px; height: 40px; font-size: 0.78rem !important; }
}

/* =========================================================
   Mobile doctors: 2-column grid (no horizontal swipe)
   ========================================================= */
@media (max-width: 720px) {
  .nhc-doctor-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    gap: 0.75rem !important;
    padding: 0 0 0.5rem !important;
    margin: 0 !important;
  }
  .nhc-docard {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    scroll-snap-align: unset !important;
  }
  .nhc-docard-media,
  .nhc-docard-urdu {
    height: 118px !important;
    min-height: 118px !important;
    flex-basis: 118px !important;
  }
  .nhc-docard-body {
    padding: 0.65rem 0.55rem 0.4rem;
  }
  .nhc-docard-body h3 {
    font-size: 0.82rem !important;
    min-height: 2.35em;
  }
  .nhc-docard-role {
    font-size: 0.62rem;
    min-height: 2.5em;
  }
  .nhc-docard-time {
    font-size: 0.58rem !important;
    padding: 0.24rem 0.28rem;
    min-height: 1.55rem;
    max-height: 1.55rem;
  }
  .nhc-docard-actions {
    padding: 0.4rem 0.5rem 0.65rem;
    gap: 0.3rem;
  }
  .nhc-docard-actions .nhc-btn {
    min-height: 34px !important;
    height: 34px !important;
    font-size: 0.68rem !important;
    padding: 0 0.25rem !important;
    border-radius: 10px !important;
  }
  .nhc-docard-actions .nhc-ico {
    width: 11px;
    height: 11px;
  }
  .nhc-doctors-hint {
    max-width: none;
  }
}

/* Very small phones: still 2 cols, slightly tighter */
@media (max-width: 380px) {
  .nhc-docard-actions .nhc-btn span {
    font-size: 0.64rem;
  }
  .nhc-docard-time {
    font-size: 0.54rem !important;
  }
}
