/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary: #0f6e6e;
  --color-primary-dark: #0a4f4f;
  --color-accent: #e8a33d;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f9f9;
  --color-text: #22313a;
  --color-muted: #566a73;
  --color-border: #e1e8e8;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Poppins', sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 110, 110, 0.08);
  --max-width: 1140px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; max-width: 100%; }

/* Keeps anchor-linked sections (and the contact form) from landing hidden under the sticky header */
section[id], #contactForm, #write-review { scroll-margin-top: 90px; }

/* Medicine-capsule styled scrollbar: narrow pill-shaped thumb, pink/white like a real medicine capsule (💊) */
html { scrollbar-width: thin; scrollbar-color: #ff6b81 var(--color-bg-alt); }
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track { background: var(--color-bg-alt); }
::-webkit-scrollbar-thumb {
  width: 10px;
  border-radius: 999px;
  border: 3px solid var(--color-bg-alt);
  background-clip: padding-box;
  background-image: linear-gradient(to bottom, #ff6b81 0%, #ff6b81 48%, #ffffff 52%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px #d94c6a;
}
::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(to bottom, #ff4d68 0%, #ff4d68 48%, #fff0f2 52%, #fff0f2 100%);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.25; }

/* Keeps ordinary paragraph/content text visually smaller and less dominant than the header brand name */
p { font-size: 0.88rem; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; position: relative; overflow: hidden; }
.section-alt { background: var(--color-bg-alt); }

/* Subtle medical-cross pattern watermark behind alternate sections (decorative, lightweight SVG tile) */
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/medical-cross-pattern-background.svg");
  background-repeat: repeat;
  background-size: 90px 90px;
  pointer-events: none;
  z-index: 0;
}
.section-alt .container { position: relative; z-index: 1; }

/* Large soft watermark illustration floated inside a section corner */
.section-watermark {
  position: absolute;
  width: 280px;
  height: 280px;
  pointer-events: none;
  z-index: 0;
  animation: watermarkFloat 10s ease-in-out infinite;
}
.section-watermark.top-right { top: -40px; right: -40px; }
.section-watermark.bottom-left { bottom: -40px; left: -40px; }
@keyframes watermarkFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

/* Animated heartbeat pulse divider */
.heartbeat-divider { position: relative; height: 40px; overflow: hidden; }
.heartbeat-divider img {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
  opacity: 0.35;
  animation: heartbeatScroll 8s linear infinite;
}
@keyframes heartbeatScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-tag {
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-intro {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--color-muted);
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

h2 { font-size: 2rem; margin-bottom: 20px; color: var(--color-primary-dark); }

.muted { color: var(--color-muted); }

.note { color: var(--color-muted); font-size: 0.85rem; margin-top: 20px; }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 110, 110, 0.35);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
/* Hover-only lift/color-change effects, scoped so a tap on touchscreens doesn't leave buttons stuck "hovered" */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 110, 110, 0.45); }
  .btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); }
}

/* ========== Scroll progress bar ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  z-index: 300;
  transition: width 0.1s linear;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(15, 110, 110, 0.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  max-width: 1320px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-logo { width: 32px; height: 32px; flex-shrink: 0; }

/* Colorful medical symbol badges next to the brand logo */
.header-medical-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-medical-badges .badge-icon {
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
  animation: badgeBounce 2.6s ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.12); }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  overflow: hidden;
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-muted);
  min-height: 40px;
}
.lang-btn.active { background: var(--color-primary); color: #fff; }

.main-nav a {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.88rem;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.main-nav a:hover { color: var(--color-primary); }
/* Highlights the nav link for whichever section is currently in view (scrollspy) */
.main-nav a.active-link:not(.nav-cta) { color: var(--color-primary); }
.main-nav a.active-link:not(.nav-cta)::after { width: 100%; }

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding-bottom: 11px !important;
  padding-top: 11px;
  padding-left: 22px;
  padding-right: 22px;
  border-radius: 50px;
  white-space: nowrap;
  line-height: 1;
}
.nav-cta:hover { background: var(--color-primary-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  display: block;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf5f5 0%, #ffffff 55%, #eef7f3 100%);
  background-size: 200% 200%;
  animation: heroGradient 14s ease infinite;
  padding: 70px 0 90px;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.decor-icon {
  position: absolute;
  font-size: 2.4rem;
  opacity: 0.18;
  color: var(--color-primary);
  animation: floatIcon 7s ease-in-out infinite;
}
.decor-icon.d1 { top: 12%; left: 6%; animation-delay: 0s; }
.decor-icon.d2 { top: 68%; left: 10%; font-size: 2rem; animation-delay: 1.2s; }
.decor-icon.d3 { top: 20%; right: 8%; animation-delay: 2.1s; }
.decor-icon.d4 { top: 72%; right: 12%; font-size: 1.8rem; animation-delay: 3s; }
.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,110,110,0.08), transparent 70%);
}
.decor-circle.c1 { width: 320px; height: 320px; top: -80px; right: -60px; }
.decor-circle.c2 { width: 220px; height: 220px; bottom: -60px; left: -40px; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

/* ========== Fade-up stagger animation ========== */
.fade-up { opacity: 0; transform: translateY(26px); animation: fadeUp 0.8s ease forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.float-anim { animation: floatPhoto 5s ease-in-out infinite; }
@keyframes floatPhoto {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.eyebrow {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 2.6rem;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

.hero-sub {
  color: var(--color-muted);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-location {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Bouncing invitation to keep scrolling, sits at the bottom edge of the hero */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  opacity: 0.85;
  animation: scrollHintBounce 2s ease-in-out infinite;
  transition: opacity 0.3s ease;
}
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }
.scroll-hint-arrow { font-size: 1.1rem; line-height: 1; }
@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media { position: relative; }

.trust-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 110px;
  height: 110px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.trust-badge-number { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.trust-badge-label { font-size: 0.65rem; font-weight: 600; line-height: 1.3; margin-top: 4px; }

.pulse-ring { animation: pulseRing 2.4s ease-in-out infinite; }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.55), var(--shadow); }
  70% { box-shadow: 0 0 0 16px rgba(232, 163, 61, 0), var(--shadow); }
  100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0), var(--shadow); }
}

/* ========== Stats ========== */
.stats { background: var(--color-primary-dark); padding: 50px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: #fff;
}

.stat-card { transition: transform 0.25s ease; }
.hospital-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
@media (hover: hover) and (pointer: fine) {
  .stat-card:hover { transform: translateY(-6px); }
  .hospital-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
}
.stat-icon { display: block; font-size: 1.8rem; margin-bottom: 8px; }

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.stat-plus { font-size: 1.6rem; font-weight: 700; }

.stat-card p { color: #cfe6e6; margin-top: 6px; font-size: 0.9rem; }

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.about-text p:not(.section-tag) { margin-bottom: 16px; color: var(--color-text); }

.about-highlights {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.about-highlights li {
  padding-left: 26px;
  position: relative;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.88rem;
}
.about-highlights li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ========== Timeline ========== */
.timeline {
  max-width: 760px;
  margin: 50px auto 0;
  border-left: 3px solid var(--color-primary);
  padding-left: 30px;
  display: grid;
  gap: 36px;
}

.timeline-item { position: relative; }

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-content h3 { font-size: 1.15rem; color: var(--color-primary-dark); margin-bottom: 4px; }
.timeline-meta { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 8px; }

/* ========== Cards / Expertise ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
  }
}
.service-icon { width: 54px; height: 54px; margin: 0 auto 18px; }
.service-card .read-more { display: inline-block; margin-top: 10px; color: var(--color-primary); font-weight: 600; font-size: 0.85rem; }
.service-card .read-more:hover { text-decoration: underline; }
.service-card h3 { font-size: 0.98rem; margin-bottom: 8px; color: var(--color-primary-dark); }
.service-card p { font-size: 0.9rem; color: var(--color-muted); }

/* ========== Hospitals ========== */
.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.hospital-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
}
.hospital-card img { width: 90px; height: 90px; margin: 0 auto 16px; }
.hospital-card h3 { color: var(--color-primary-dark); margin-bottom: 6px; }
.hospital-card .card-map { margin-top: 16px; border-radius: 10px; overflow: hidden; }
.hospital-card .card-map iframe { width: 100%; height: 180px; border: 0; display: block; }

/* ========== Gallery ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.08); }

/* ========== Reviews ========== */
.reviews-slider {
  position: relative;
  overflow: hidden;
}
.reviews-slider:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
.reviews-list {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.review-card .stars { color: var(--color-accent); letter-spacing: 2px; margin-bottom: 10px; }
.review-card h4 { color: var(--color-primary-dark); margin-bottom: 4px; }
.review-card .review-date { font-size: 0.78rem; color: var(--color-muted); margin-bottom: 10px; }
.review-card p.review-text { color: var(--color-text); font-size: 0.88rem; }

/* Average rating out of 5, shown above the review cards */
.reviews-rating-summary { margin: -6px 0 20px; font-size: 0.95rem; color: var(--color-text); }
.reviews-rating-summary strong { font-size: 1.2rem; color: var(--color-primary-dark); }
.reviews-rating-stars { color: var(--color-accent); letter-spacing: 1px; margin: 0 4px; }
.reviews-rating-count { color: var(--color-muted); }

/* Small owner-only toggle to reveal per-review moderation controls */
.reviews-admin-toggle {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
  color: var(--color-muted);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.reviews-admin-toggle:hover { opacity: 1; }
.reviews-admin-toggle.active { opacity: 1; color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.reviews-page-section .container { position: relative; }

/* Owner-only spam/delete flags rendered on each review card in admin mode */
.review-admin-actions { display: flex; gap: 8px; margin-top: 14px; }
.review-flag-btn {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
}
.review-flag-btn:hover { border-color: var(--color-accent); }
.review-flag-btn.review-flag-delete:hover { border-color: #c0392b; color: #c0392b; }
.review-flag-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Carousel controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.slider-arrow:hover { background: var(--color-primary); color: #fff; }
.slider-arrow[hidden] { display: none; }
.slider-prev { left: -6px; }
.slider-next { right: -6px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.slider-dots[hidden] { display: none; }
.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: var(--color-border);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.slider-dot.active { width: 22px; background: var(--color-primary); }
.reviews-more-wrap { text-align: center; margin-bottom: 10px; }
.reviews-more-wrap[hidden] { display: none; }

/* ========== Generic carousel (Expertise, Recognition, Gallery, Health Tips) ========== */
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
.carousel-track {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  transition: transform 0.5s ease;
  will-change: transform;
}
.carousel-track > * {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}
@media (max-width: 960px) { .carousel-track > * { flex-basis: calc(50% - 10px); } }
@media (max-width: 720px) {
  .carousel-track > * { flex-basis: 100%; }
  .carousel .slider-prev { left: -4px; }
  .carousel .slider-next { right: -4px; }
}

/* ========== Write a Review form ========== */
.write-review-card {
  max-width: 560px;
  margin: 40px auto 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  text-align: center;
}
.write-review-card h3 { color: var(--color-primary-dark); margin-bottom: 16px; font-size: 1.1rem; }
.review-form { text-align: left; }
.star-rating { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.star-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-border);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-btn.active { color: var(--color-accent); }
@media (hover: hover) and (pointer: fine) {
  .star-btn:hover { transform: scale(1.15); }
}

/* ========== Blog teaser ========== */
.blog-card { text-align: left; cursor: pointer; }
.blog-card .read-more { display: inline-block; margin-top: 10px; color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }
.blog-card:hover .read-more { text-decoration: underline; }

/* ========== Article page ========== */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body h1 { font-size: 2.1rem; color: var(--color-primary-dark); margin-bottom: 10px; }
.article-meta { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 30px; }
.article-body h2 { font-size: 1.3rem; margin-top: 30px; }
.article-body p, .article-body li { color: var(--color-text); margin-bottom: 14px; }
.article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.article-cta {
  margin-top: 30px;
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  text-align: center;
}

/* ========== Forms ========== */
.form-row { text-align: left; margin-bottom: 18px; }
.form-row label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-note { font-size: 0.8rem; color: var(--color-muted); margin-top: 12px; }

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-list { margin-top: 24px; display: grid; gap: 14px; }
.contact-list li { color: var(--color-text); font-size: 0.88rem; }

.contact-form {
  background: var(--color-bg-alt);
  padding: 30px;
  border-radius: var(--radius);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--color-primary-dark);
  color: #cfe6e6;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner p { margin: 4px 0; }
.footer-inner p.muted { color: #9fc3c3; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-links a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.footer-legal { margin-top: 10px; }
.footer-legal a { color: #cfe6e6; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }

/* ========== Recognition ========== */
.recognition-grid .service-card { text-align: left; }

/* ========== Why Choose ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .why-card:hover { transform: translateY(-6px); }
}
.why-icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.why-card h3 { font-size: 1rem; color: var(--color-primary-dark); margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--color-muted); }

/* ========== Hospital card extras ========== */
.hospital-card .btn-sm { margin-top: 14px; padding: 8px 20px; font-size: 0.85rem; }

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-icon { font-size: 1.3rem; color: var(--color-primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}
.faq-answer p { padding-bottom: 18px; color: var(--color-muted); font-size: 0.88rem; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ========== Map ========== */
.map-embed { margin-top: 24px; }

/* ========== WhatsApp float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 200;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 8px 20px rgba(0,0,0,0.25); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 20px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 20px rgba(0,0,0,0.25); }
}

/* ========== Footer disclaimer ========== */
.disclaimer { font-size: 0.75rem; color: #9fc3c3; max-width: 640px; margin: 12px auto 0; }

/* ========== Back to top ========== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--color-primary-dark); }

/* ========== Mobile sticky Call / Book Appointment bar (mobile only, see media query) ========== */
.mobile-book-bar { display: none; }
.mobile-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  text-align: center;
  padding: 13px 8px;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.15;
  color: #fff;
}
.mobile-book-icon { font-size: 0.95rem; line-height: 1; }
.mobile-book-call { background: var(--color-primary-dark); }
.mobile-book-cta { background: var(--color-accent); }

/* ========== Scroll Reveal ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered entrance for grid items (set by JS via nth-child order) */
.cards-grid .reveal:nth-child(1), .why-grid .reveal:nth-child(1), .hospitals-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.cards-grid .reveal:nth-child(2), .why-grid .reveal:nth-child(2), .hospitals-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.cards-grid .reveal:nth-child(3), .why-grid .reveal:nth-child(3) { transition-delay: 0.25s; }
.cards-grid .reveal:nth-child(4), .why-grid .reveal:nth-child(4) { transition-delay: 0.35s; }
.cards-grid .reveal:nth-child(5) { transition-delay: 0.45s; }
.cards-grid .reveal:nth-child(6) { transition-delay: 0.55s; }
.cards-grid .reveal:nth-child(7) { transition-delay: 0.65s; }
.cards-grid .reveal:nth-child(8) { transition-delay: 0.75s; }

/* Animated underline accent beneath centered section headings */
h2.center { position: relative; padding-bottom: 18px; }
h2.center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.5s ease;
  transform-origin: center;
}
h2.center.is-visible::after { transform: translateX(-50%) scaleX(1); }

/* ========== Custom Medical Cursor (desktop/mouse only) ========== */
html.has-custom-cursor, html.has-custom-cursor body { cursor: none; }
html.has-custom-cursor a, html.has-custom-cursor button,
html.has-custom-cursor .btn, html.has-custom-cursor [role="button"] {
  cursor: none;
}
html.has-custom-cursor input, html.has-custom-cursor textarea { cursor: text; }
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(1);
  transition: width 0.2s ease, height 0.2s ease, transform 0.15s ease, border-color 0.2s ease, opacity 0.2s ease;
  will-change: transform;
  opacity: 0;
}
html.has-custom-cursor .custom-cursor { opacity: 1; }
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease, opacity 0.2s ease;
  opacity: 0;
}
html.has-custom-cursor .custom-cursor-dot { opacity: 1; }
.custom-cursor-icon {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 14px;
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
html.has-custom-cursor .custom-cursor-icon { opacity: 1; }
/* Ring expands over clickable elements */
.custom-cursor.is-hovering { width: 54px; height: 54px; border-color: var(--color-accent); }
/* Ring briefly contracts then springs back on click, like a pulse/heartbeat */
.custom-cursor.is-clicking { transform: translate(-50%, -50%) scale(0.65); }
/* Ring gently expands while the page is scrolling */
.custom-cursor.is-scrolling { width: 42px; height: 42px; border-color: var(--color-primary); }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hospitals-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: calc(50% - 10px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .header-medical-badges { display: none; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  /* Bigger tap targets for finger taps, not just mouse clicks */
  .main-nav a { font-size: 0.95rem; width: 100%; padding: 12px 0; }
  .main-nav a::after { display: none; }
}

@media (max-width: 720px) {
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .review-card { flex-basis: 100%; }
  .slider-prev { left: -4px; }
  .slider-next { right: -4px; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .trust-badge { width: 84px; height: 84px; left: 10px; bottom: -16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; margin-bottom: 14px; }
  .section-intro { margin: 0 auto 26px; font-size: 0.92rem; }
  .section-tag { margin-bottom: 6px; }
  .decor-icon { font-size: 1.6rem; opacity: 0.12; }
  .container { padding: 0 18px; }
  .section { padding: 44px 0; }
  .hero { padding: 36px 0 52px; }
  .hero-text h1 { font-size: 1.8rem; margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-actions { margin-bottom: 14px; gap: 12px; }
  .hero-inner { gap: 28px; }
  .stats { padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .stat-icon { font-size: 1.4rem; margin-bottom: 4px; }
  .stat-number { font-size: 1.6rem; }
  .stat-plus { font-size: 1.1rem; }
  .stat-card p { font-size: 0.78rem; margin-top: 2px; }
  .about-grid, .contact-grid { gap: 28px; }
  .cards-grid, .gallery-grid { gap: 14px; }
  .faq-list { margin: 26px auto 0; gap: 10px; }
  .why-card { padding: 22px 16px; }
  /* Sticky Call / Book Appointment bar replaces the header's always-visible CTA on mobile */
  body { padding-bottom: 56px; }
  .mobile-book-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  }
  .whatsapp-float { bottom: 80px; width: 48px; height: 48px; }
  .back-to-top { bottom: 80px; }
  /* Turn off purely decorative background animations on mobile to save battery/CPU */
  .decor-icon, .section-watermark, .header-medical-badges .badge-icon { animation: none; }
}

/* Very small phones (e.g. iPhone SE 1st gen, 320px) */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .brand { font-size: 1rem; gap: 6px; }
  .brand-logo { width: 26px; height: 26px; }
  .nav-toggle { padding: 6px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .hero-sub { font-size: 0.88rem; }
  .btn { padding: 12px 20px; font-size: 0.88rem; }
  .section { padding: 36px 0; }
  .hero { padding: 30px 0 44px; }
  .stats-grid { gap: 14px 10px; }
  .stat-number { font-size: 1.4rem; }
  .stat-icon { font-size: 1.2rem; }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up, .reveal { opacity: 1 !important; transform: none !important; }
}
