/* ============================================================
   LOTUS POLYCLINIC — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=DM+Serif+Display:ital@0;1&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:        #FF6B6B;
  --primary-dark:   #E55555;
  --primary-mid:    #FF8080;
  --primary-light:  #FFF0F0;
  --accent:         #FF6B6B;
  --accent-hover:   #E55555;
  --accent-light:   #FFCECE;
  --tag-bg:         #FFF0F0;
  --tag-text:       #CC3333;
  --text-dark:      #292F36;
  --text-mid:       #596570;
  --text-light:     #9BAABB;
  --bg-white:       #FFFFFF;
  --bg-light:       #FFF5F5;
  --bg-grey:        #F5F5F5;
  --bg-blue-light:  #FFF0F0;
  --border:         #FFD5D5;
  --shadow-sm:      0 2px 8px rgba(41,47,54,0.07);
  --shadow-md:      0 6px 24px rgba(41,47,54,0.11);
  --shadow-lg:      0 12px 48px rgba(41,47,54,0.15);
  --radius:         16px;
  --radius-sm:      10px;
  --radius-lg:      24px;
  --font-body:      'DM Sans', sans-serif;
  --font-heading:   'DM Serif Display', serif;
  --font-accent:    'Cormorant Garamond', serif;
  --max-w:          1400px;
  --nav-h:          76px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--bg-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ── Section spacing ── */
section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Typography ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1.5px solid rgba(41,47,54,0.18);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1, h2, h3, h4 { line-height: 1.15; color: var(--text-dark); }
h1 { font-size: clamp(2.7rem, 5.5vw, 4rem); font-family: var(--font-heading); font-weight: 400; }
h2 { font-size: clamp(2.6rem, 4.8vw, 3.8rem); font-family: var(--font-heading); font-weight: 400; color: #0f2a50; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
#diabetology h2, #obgyn h2, #general-medicine h2, #dermatology h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
p  { color: var(--text-mid); line-height: 1.8; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
/* SVG icon helper — used inside buttons, cards, footer */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(26,46,74,0.35);
}
.btn-outline-dark:hover { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }
.btn-outline-white {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-white:hover { background: var(--primary-light); border-color: var(--primary); }

.btn-pink {
  background: var(--accent);
  color: #fff;
}
.btn-pink:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover { background: var(--primary-light); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  z-index: 9000;
  box-shadow: var(--shadow-sm);
  overflow: visible;
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
}
.nav-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.nav-logo .logo-tagline {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-light); }

.nav-cta { margin-left: 12px; }

/* ── Dropdown ── */
.nav-links { overflow: visible; }
.nav-dropdown { position: relative; z-index: 9001; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a .dd-arrow {
  width: 13px; height: 13px; flex-shrink: 0;
  transition: transform 0.25s ease;
  opacity: 0.6;
}
.nav-dropdown:hover > a .dd-arrow { transform: rotate(180deg); opacity: 1; }

.nav-dropdown-menu {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: none;
  padding: 8px 0 14px;
  min-width: 260px;
  z-index: 9999;
  white-space: nowrap;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 0;
  padding: 13px 28px;
  font-size: 13px; color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.18s ease, padding-left 0.18s ease;
  background: transparent;
  position: relative;
}
.nav-dropdown-menu a::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 28px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-dropdown-menu a:hover {
  color: var(--primary-dark);
  background: var(--primary-light);
  padding-left: 34px;
}
.nav-dropdown-menu a:hover::after { width: calc(100% - 62px); }

.dd-dept-dot { display: none; }

/* mobile sub-links */
.mobile-sub-link {
  display: block; padding: 9px 20px 9px 38px;
  font-size: 13px; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mobile-sub-link::before {
  content: '›';
  position: absolute; left: 24px;
  color: var(--primary); font-weight: 700;
}
.mobile-sub-link:last-of-type { border-bottom: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}
.mobile-menu a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* Page offset for fixed nav */
.page-content { padding-top: var(--nav-h); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #0e2850;
  color: #fff;
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}

/* Slideshow layers — 2s per slide, 8s total cycle */
.hero-slides {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  animation: heroFade 8s linear infinite;
  animation-fill-mode: backwards;
  filter: brightness(0.88) contrast(1.15) saturate(1.2);
  will-change: opacity;
}
.hero-slide:nth-child(1) { animation-delay: 0s;  background-position: center 50%; }
.hero-slide:nth-child(2) { animation-delay: 2s;  background-position: center 50%; }
.hero-slide:nth-child(3) { animation-delay: 4s;  background-position: center 50%; }
.hero-slide:nth-child(4) { animation-delay: 6s;  background-position: center 50%; }
@keyframes heroFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  25%  { opacity: 1; }
  28%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.52) 0%,
    rgba(0,0,0,0.30) 45%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.hero h1 em { font-style: normal; color: #FFCECE; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 640px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-micro {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-micro::before { content: '✓'; color: #86EFAC; }

/* Trust bar */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
}
.hero-trust-item .value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-trust-item .label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #FF6B6B 0%, #E55555 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 640px; }
.page-hero .btn { margin-top: 28px; }

/* Patient Resources hero — photo background */
.page-hero-photo {
  position: relative;
  overflow: hidden;
  background: #FF6B6B !important;
}
.page-hero-photo .page-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center center;
  filter: brightness(0.82) contrast(1.15) saturate(1.2);
  z-index: 0;
}
.page-hero-photo::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(105deg, rgba(10,32,72,0.52) 0%, rgba(20,55,115,0.35) 55%, rgba(30,70,140,0.10) 100%);
  z-index: 1;
}
.page-hero-photo .container {
  position: relative;
  z-index: 2;
}
.page-hero .section-label,
.page-hero-photo .section-label {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   STATS / TRUST SECTION
   ============================================================ */
.stats-section { background: var(--bg-light); padding: 72px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.stat-card {
  border-radius: 20px;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 16px rgba(41,47,54,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}
.sc-blue::before   { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.sc-pink::before   { background: linear-gradient(90deg, #f9a8d4, #ec4899); }
.sc-teal::before   { background: linear-gradient(90deg, #6ee7b7, #10b981); }
.sc-indigo::before { background: linear-gradient(90deg, #a5b4fc, #6366f1); }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(41,47,54,0.12); }

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 12px;
}
.sc-blue   .stat-value { color: #1e3a8a; }
.sc-pink   .stat-value { color: #be185d; }
.sc-teal   .stat-value { color: #0f766e; }
.sc-indigo .stat-value { color: #4338ca; }
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ── Legacy .stars kept for safety ── */
.stars { color: #FBBF24; font-size: 14px; }

/* ============================================================
   REVIEWS MARQUEE — Dark Scrolling Section
   ============================================================ */
.reviews-marquee-section {
  background: #0D1B2E;
  padding: 96px 0 80px;
  overflow: hidden;
}
.reviews-marquee-section .section-header { margin-bottom: 56px; }
.reviews-marquee-section .section-header h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.reviews-marquee-section .section-label { color: var(--accent); }
.reviews-marquee-section .section-header p { color: rgba(255,255,255,0.55); }

/* Google pill badge */
.google-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 7px 18px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.google-pill svg { width: 18px; height: 18px; }
.google-pill .pill-stars { color: #FBBF24; letter-spacing: 1px; }

/* Track */
.reviews-track-outer {
  overflow: hidden;
  position: relative;
}
.reviews-track-outer::before,
.reviews-track-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.reviews-track-outer::before {
  left: 0;
  background: linear-gradient(to right, #0D1B2E 0%, transparent 100%);
}
.reviews-track-outer::after {
  right: 0;
  background: linear-gradient(to left, #0D1B2E 0%, transparent 100%);
}
.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollLeft 38s linear infinite;
  padding: 8px 0 16px;
}
.reviews-track:hover { animation-play-state: paused; }

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Cards */
.rcard {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 30px 28px;
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: default;
}
.rcard:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.rcard-stars { color: #FBBF24; font-size: 17px; letter-spacing: 2px; }
.rcard-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  flex: 1;
}
.rcard-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}
.rcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rcard-author { display: flex; align-items: center; gap: 12px; }
.rcard-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}
.rcard-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.rcard-meta { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 3px; }
.rcard-time { font-size: 11.5px; color: rgba(255,255,255,0.4); }
.rcard-g { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   SPECIALTIES / OFFERINGS GRID
   ============================================================ */
.offerings-section { background: var(--bg-grey); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 680px; margin: 0 auto; font-size: 16px; }

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.offering-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(41,47,54,0.08);
  box-shadow: 0 2px 20px rgba(41,47,54,0.07);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.offering-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.offering-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
}
.offering-icon {
  width: 58px; height: 58px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.offering-card-header h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-dark);
}
.offering-desc {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
}
.offering-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.offering-tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
}
.offering-card .btn-sm { align-self: flex-start; }

/* ============================================================
   WHY LOTUS
   ============================================================ */
.why-section { background: #0f1f3d; }
.why-section .section-header { color: #fff; }
.why-section .section-header h2 { color: #fff; }
.why-section .section-label { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  border-radius: 20px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(0,0,0,0.18); }
.why-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.18;
  font-weight: 900;
}
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.why-card:nth-child(1) { border-left: 4px solid #3b82f6; }
.why-card:nth-child(2) { border-left: 4px solid #a78bfa; }
.why-card:nth-child(3) { border-left: 4px solid #FF6B6B; }
.why-card:nth-child(4) { border-left: 4px solid #2dd4bf; }
.why-card::before { color: rgba(255,255,255,0.12); }
.why-concern {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  font-style: italic;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.why-answer {
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.why-proof {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  padding: 5px 14px;
  border-radius: 50px;
  display: inline-block;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* ============================================================
   PROCESS / JOURNEY STEPS
   ============================================================ */
.process-section { background: #fff; }
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.steps-list::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--primary-light);
}
.step-body h3 { margin-bottom: 6px; }
.step-body p { font-size: 14px; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #FF6B6B, #292F36);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 36px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-grid { display: flex; flex-direction: column; gap: 48px; }
.service-block {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-block-header {
  background: var(--primary-light);
  padding: 32px 36px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.service-block-icon {
  width: 60px; height: 60px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.service-block-header h3 { font-size: 1.4rem; margin-bottom: 6px; }
.service-block-header p { font-size: 14px; color: var(--text-mid); }
.service-block-body { padding: 32px 36px; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.service-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.service-col ul { display: flex; flex-direction: column; gap: 8px; }
.service-col ul li {
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.service-col ul li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-size: 12px; top: 2px; }
.service-advantage {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 14px;
  color: var(--text-mid);
  border-left: 3px solid var(--primary);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}
.comparison-table th:first-child { background: var(--bg-grey); }
.comparison-table th:nth-child(2) { background: var(--primary); color: #fff; }
.comparison-table th:nth-child(3) { background: var(--bg-grey); }
.comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
}
.comparison-table td:nth-child(2) {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}
.comparison-table tr:last-child td { border-bottom: none; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.origin-section { background: #fff; }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.origin-text p { margin-bottom: 20px; font-size: 15px; line-height: 1.8; }
.origin-image {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  font-size: 80px;
}

.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.expertise-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.expertise-icon-wrap {
  font-size: 2rem;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.expertise-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.expertise-card p { font-size: 14px; line-height: 1.75; color: var(--text-mid); margin-bottom: 18px; }
.expertise-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.expertise-bullets li {
  font-size: 13px;
  color: var(--text-dark);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.expertise-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 640px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { display: flex; gap: 20px; padding: 20px 0; position: relative; z-index: 1; }
.timeline-dot {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--primary-light);
}
.timeline-body strong { font-size: 14px; color: var(--primary); display: block; margin-bottom: 4px; }
.timeline-body p { font-size: 14px; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}
.value-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 12px;
}
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 14px; line-height: 1.7; }

/* Accreditations */
.accred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.accred-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.accred-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.accred-card h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.accred-card p { font-size: 14px; line-height: 1.75; color: var(--text-mid); margin-bottom: 18px; }
.accred-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.accred-bullets li {
  font-size: 13px;
  color: var(--text-dark);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.accred-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

/* Compliance */
/* ============================================================
   DOCTORS — Single flat horizontal grid
   ============================================================ */

/* One flat grid — all doctors left to right */
.doctors-all-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Single doctor card — portrait style */
.doc-card {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(41,47,54,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #1e1b2e;
  display: flex;
  flex-direction: column;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(255,107,107,0.18);
}

/* Photo area — tall portrait */
.doc-card-photo {
  height: 300px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF0F0 0%, #FFD6D6 100%);
}

.doc-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Soft gradient fade at bottom of photo */
.doc-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(26,20,20,0.55), transparent);
  pointer-events: none;
}

/* Photo placeholder */
.doc-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.doc-photo-placeholder span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,107,107,0.55);
  letter-spacing: 0.04em;
}

/* Card info bottom — dark strip, stretches to fill card */
.doc-card-body {
  background: #1e1b2e !important;
  padding: 16px 18px 18px;
  position: relative;
  flex: 1;
}

/* Coral accent line on top of dark body */
.doc-card-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
}

/* Specialty tag — floats at top of photo */
.doc-dept-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(30, 27, 46, 0.75);
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}

.doc-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.3;
}

.doc-quals {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.doc-quals-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.38);
  margin-top: 3px;
  line-height: 1.5;
}


/* Responsive */
@media (max-width: 1200px) {
  .doctors-all-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .doctors-all-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .doc-card-photo { height: 240px; }
}
@media (max-width: 500px) {
  .doctors-all-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doc-card-photo { height: 190px; }
  .doc-card-body { padding: 12px 12px 14px; }
  .doc-name { font-size: 13px; }
  .doc-dept-tag { font-size: 8.5px; padding: 2px 8px; }
}

.compliance-section { background: var(--bg-grey); }
.compliance-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
}
.compliance-box h3 { color: var(--primary); margin-bottom: 16px; }
.compliance-box p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.compliance-meta { font-size: 13px; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 16px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-card-icon .icon-svg { width: 24px; height: 24px; }
.contact-card-body h4 { font-size: 14px; color: var(--text-mid); margin-bottom: 4px; }
.contact-card-body a,
.contact-card-body strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}
.contact-card-body a:hover { color: var(--primary); }
.contact-card-body span { font-size: 12px; color: var(--text-light); margin-top: 2px; display: block; }

/* Channels */
.channels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.channel-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.channel-icon {
  font-size: 36px;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.channel-icon .icon-svg { width: 36px; height: 36px; }
.channel-card h3 { font-size: 15px; }
.channel-card p { font-size: 13px; color: var(--text-mid); }
.channel-card .btn { width: 100%; justify-content: center; }

/* Appointment Form */
.form-section { background: var(--bg-light); }
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 8px; text-align: center; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--primary); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  display: none;
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* Patient Resources */
.resources-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.resource-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.resource-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.resource-card h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.resource-card p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.resource-card .btn { align-self: flex-start; }

/* ============================================================
   CLINIC GALLERY
   ============================================================ */
.clinic-gallery-section { background: #fff; }

.clinic-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.clinic-photo-main {
  border-radius: 16px;
  overflow: hidden;
  max-height: 480px;
}
.clinic-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.clinic-photo-main:hover img { transform: scale(1.03); }

.clinic-photo-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.clinic-photo-secondary .cpic {
  border-radius: 12px;
  overflow: hidden;
  height: 229px;
}
.clinic-photo-secondary .cpic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.clinic-photo-secondary .cpic:hover img { transform: scale(1.04); }

@keyframes pinkPulseHome {
  0%, 100% { box-shadow: 0 2px 6px rgba(236,72,153,0.05); }
  12.5%    { box-shadow: 0 5px 24px rgba(236,72,153,0.38); }
  25%      { box-shadow: 0 2px 6px rgba(236,72,153,0.05); }
}
.clinic-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}
.clinic-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff, var(--bg-blue-light), #fff, var(--accent-light), #fff);
  background-size: 300% 300%;
  border-radius: 14px;
  padding: 20px 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  animation: pinkPulseHome 4s ease-in-out infinite;
}
.clinic-trust-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,107,107,0.18);
  animation: cardBgCycle 2.5s ease infinite;
}
.clinic-trust-item:nth-child(1) { animation-delay: 0s; }
.clinic-trust-item:nth-child(2) { animation-delay: 1s; }
.clinic-trust-item:nth-child(3) { animation-delay: 2s; }
.clinic-trust-item:nth-child(4) { animation-delay: 3s; }
.clinic-trust-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.clinic-trust-icon .icon-svg { width: 22px; height: 22px; }
.clinic-trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.clinic-trust-item span {
  font-size: 12px;
  color: var(--text-mid);
}

/* ============================================================
   PRE-FOOTER CTA STRIP
   ============================================================ */
.pre-footer {
  background: linear-gradient(120deg, var(--primary) 0%, #1a5fa8 40%, #2d4a8a 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.pre-footer::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(234,163,184,0.12);
  pointer-events: none;
}
.pre-footer::after {
  content: '';
  position: absolute;
  left: 40%; bottom: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.pre-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.pre-footer-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.pre-footer-text p { color: rgba(255,255,255,0.75); font-size: 14px; }
.pre-footer-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #1a1f24 0%, #232a31 55%, #292F36 100%);
  color: rgba(255,255,255,0.8);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: 40px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Top brand bar inside footer */
.footer-topbar {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0 28px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-topbar-brand { display: flex; align-items: center; gap: 18px; }
.footer-logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-topbar-tagline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-topbar-tagline strong {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.3px;
}
.footer-topbar-tagline span {
  font-size: 11px;
  color: var(--accent-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-topbar-phone {
  text-align: right;
}
.footer-topbar-phone span {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-topbar-phone a {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-topbar-phone a:hover { color: #fff; }

/* Columns area */
.footer-cols-wrap {
  padding: 44px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s, padding-left 0.2s;
  position: relative;
}
.footer-contact a:hover {
  color: #fff;
  background: rgba(99,179,237,0.10);
  animation: footer-link-glow 1.6s ease-in-out infinite;
}
@keyframes footer-link-glow {
  0%, 100% { box-shadow: 0 0 0px rgba(99,179,237,0); }
  50%       { box-shadow: 0 0 10px rgba(99,179,237,0.22), inset 0 0 8px rgba(99,179,237,0.06); }
}

/* Column headings */
.footer-col-head {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(234,163,184,0.3);
  display: block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before { content: '→'; font-size: 11px; opacity: 0; transition: opacity 0.2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-col ul li a:hover::before { opacity: 0.6; }

/* Find Us column */
.footer-find-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-find-item:last-child { border-bottom: none; }
.footer-find-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-light);
}
.footer-find-icon .icon-svg { width: 17px; height: 17px; }
.footer-find-body { display: flex; flex-direction: column; gap: 3px; }
.footer-find-item strong {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-light);
}
.footer-find-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Map column */
.footer-map-frame {
  display: block;
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-map-frame:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234,163,184,0.2);
}
.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.btn-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: rgba(234,163,184,0.12);
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-directions:hover { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(234,163,184,0.35); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); font-size: 12px; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-box {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(41,47,54,0.2);
}
.pricing-box h3 { color: var(--primary); margin-bottom: 12px; }
.pricing-box p { max-width: 560px; margin: 0 auto 24px; font-size: 15px; }
.insurance-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.1fr 1.4fr; gap: 28px; }
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-topbar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-topbar-phone { text-align: left; }
  .pre-footer-inner { flex-direction: column; text-align: center; }
  .pre-footer-actions { justify-content: center; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-grid { grid-template-columns: repeat(4, 1fr); }
  .offerings-grid { gap: 20px; }
  .clinic-photo-grid { grid-template-columns: 1fr; }
  .clinic-photo-main { max-height: 320px; }
  .clinic-photo-secondary { grid-template-columns: repeat(4, 1fr); }
  .clinic-photo-secondary .cpic { height: 160px; }
  .clinic-trust-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }

  /* Navbar */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo-img { height: 52px; width: auto; display: block; visibility: visible; opacity: 1; }
  .nav-logo { display: flex !important; align-items: center; }
  .navbar { height: 68px; overflow: visible; }
  .page-content { padding-top: 68px; }
  .mobile-menu { top: 68px; }

  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero-trust { gap: 16px; }
  .hero-trust-item .value { font-size: 18px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-row2 { grid-template-columns: 1fr; max-width: 100%; }
  .reviews-summary { flex-direction: column; text-align: center; gap: 8px; padding: 16px 24px; }

  /* Offerings */
  .offerings-grid { grid-template-columns: 1fr; gap: 20px; }
  .offering-card { padding: 28px 24px; }

  /* Clinic Gallery */
  .clinic-photo-secondary { grid-template-columns: repeat(2, 1fr); }
  .clinic-photo-secondary .cpic { height: 180px; }
  .clinic-trust-row { grid-template-columns: repeat(2, 1fr); padding: 20px 24px; }

  /* Who We Serve */
  .serve-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .serve-card { padding: 20px 16px; }

  /* Why, Values, Expertise, Accred */
  .why-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .accred-grid { grid-template-columns: 1fr; }

  /* About */
  .origin-grid { grid-template-columns: 1fr; }
  .origin-image { display: none; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .service-columns { grid-template-columns: 1fr; }
  .service-block-header { flex-direction: column; gap: 14px; padding: 24px; }
  .service-block-body { padding: 24px; }

  /* Resources */
  .resources-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-topbar-phone a { font-size: 20px; }
  .footer-cols-wrap { padding: 32px 0 28px; }

  /* Tables */
  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 10px 10px; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Stay Informed */
  .stay-informed-box { flex-direction: column; padding: 32px 24px; gap: 16px; }
  .stay-informed-icon { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  section { padding: 48px 0; }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }

  .channels-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-value { font-size: 22px; }

  .serve-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .serve-card { padding: 18px 12px; }
  .serve-icon { width: 48px; height: 48px; font-size: 22px; }

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

  .offering-card { padding: 24px 20px; gap: 14px; }
  .offering-icon { width: 50px; height: 50px; font-size: 22px; }
  .offering-card-header h3 { font-size: 1.1rem; }

  .hero-trust { flex-wrap: wrap; gap: 14px; }
  .hero-trust-item { min-width: calc(50% - 14px); }

  .testimonial-card { padding: 24px 20px; }

  .form-card { padding: 24px 16px; }

  .footer-col { text-align: left; }
  .footer-brand p { font-size: 13px; }

  .page-hero { padding: 52px 0 44px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p { font-size: 15px; }

  .faq-q { font-size: 14px; padding: 16px 18px; }
}

/* ============================================================
   PATIENT RESOURCES PAGE
   ============================================================ */
.resources-category { padding: 72px 0; }
.resources-category + .resources-category { border-top: 1px solid var(--border); }

.category-header { text-align: center; margin-bottom: 48px; }
.category-header h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 12px; }
.category-subheadline { color: var(--text-mid); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.article-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}

.article-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); line-height: 1.45; }
.article-card > p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; }

.key-points { background: var(--bg-light); border-radius: var(--radius-sm); padding: 16px 20px; }
.key-points h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 10px; }
.key-points ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.key-points ul li { font-size: 0.875rem; color: var(--text-mid); padding-left: 18px; position: relative; line-height: 1.5; }
.key-points ul li::before { content: "→"; position: absolute; left: 0; color: var(--primary); font-size: 0.8rem; }

.article-card .btn { margin-top: auto; font-size: 13px; }

.disclaimer-box {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #7A2D42;
  line-height: 1.5;
  margin-top: 8px;
}

/* Stay Informed */
.stay-informed-section { padding: 72px 0; background: linear-gradient(135deg, #FF6B6B, #E55555); }
.stay-informed-box {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.stay-informed-icon { font-size: 3.5rem; flex-shrink: 0; }
.stay-informed-body h2 { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: #fff; margin-bottom: 12px; }
.stay-informed-body p { color: rgba(255,255,255,0.85); font-size: 0.97rem; line-height: 1.7; margin-bottom: 24px; }

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .stay-informed-box { flex-direction: column; padding: 32px 24px; gap: 16px; }
  .stay-informed-icon { font-size: 2.5rem; }
}

/* ============================================================
   FACILITIES SECTION
   ============================================================ */
.facilities-section {
  background: linear-gradient(135deg, #F2C8DA 0%, #D8D2EE 45%, #B8D4E8 100%);
  padding: 96px 0;
}
.facilities-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.88);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}
.facilities-section .section-header h2 { color: var(--text-dark); }
.facilities-section .section-header p { color: var(--text-mid); }

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  padding: 36px 28px 28px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(41,47,54,0.09);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.facility-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(41,47,54,0.16);
  background: #fff;
}
.facility-card:hover::before { opacity: 1; }

.facility-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.facility-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
}
.facility-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 18px;
  transition: gap 0.2s, color 0.2s;
}
.facility-link:hover { gap: 10px; color: var(--accent-hover); }

.facility-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.ficon-blue   { background: linear-gradient(160deg, #60a5fa 0%, #2563eb 45%, #1e3a8a 100%); }
.ficon-pink   { background: linear-gradient(160deg, #f9a8d4 0%, #ec4899 45%, #9d174d 100%); }
.ficon-purple { background: linear-gradient(160deg, #d8b4fe 0%, #a855f7 45%, #6d28d9 100%); }
.ficon-indigo { background: linear-gradient(160deg, #a5b4fc 0%, #6366f1 45%, #3730a3 100%); }
.ficon-navy   { background: linear-gradient(160deg, #93c5fd 0%, #3b82f6 45%, #1d4f8a 100%); }
.ficon-rose   { background: linear-gradient(160deg, #fda4af 0%, #f43f5e 45%, #be123c 100%); }

.facility-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.facility-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
}

@media (max-width: 768px) {
  .facilities-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .facility-card { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .facilities-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DR. MEENA — FOUNDER SECTION
   ============================================================ */
.founder-section { background: var(--bg-blue-light); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}
.founder-left { display: flex; flex-direction: column; gap: 28px; }

.founder-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.founder-photo-small {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent-light);
}
.founder-photo-placeholder {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
  border: 3px solid var(--accent-light);
}
.founder-card-title { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.founder-card-cred { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.founder-card-bio { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

.founder-pillars {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.founder-pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.founder-pillar-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}

.founder-right {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-light);
}
.founder-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(1.12) contrast(1.08) saturate(1.05);
}
.founder-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: var(--shadow-lg);
}
.founder-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--accent);
}
.founder-badge-num { font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1; }
.founder-badge-label { font-size: 12px; color: var(--text-mid); line-height: 1.4; }

@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-badge { left: 16px; bottom: 16px; }
  .founder-img-placeholder { height: 280px; font-size: 60px; }
}

/* ============================================================
   WHO WE SERVE SECTION
   ============================================================ */
.serve-section { background: #f1f5f9; }
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 270px));
  justify-content: center;
  gap: 18px;
}
@keyframes serveGlow1 { 0%,100%{box-shadow:0 4px 16px rgba(59,130,246,0.08)} 50%{box-shadow:0 0 32px 6px rgba(59,130,246,0.45)} }
@keyframes serveGlow2 { 0%,100%{box-shadow:0 4px 16px rgba(139,92,246,0.08)} 50%{box-shadow:0 0 32px 6px rgba(139,92,246,0.45)} }
@keyframes serveGlow3 { 0%,100%{box-shadow:0 4px 16px rgba(236,72,153,0.08)} 50%{box-shadow:0 0 32px 6px rgba(236,72,153,0.45)} }
@keyframes serveGlow4 { 0%,100%{box-shadow:0 4px 16px rgba(20,184,166,0.08)} 50%{box-shadow:0 0 32px 6px rgba(20,184,166,0.45)} }
@keyframes serveGlow5 { 0%,100%{box-shadow:0 4px 16px rgba(225,29,72,0.08)}  50%{box-shadow:0 0 32px 6px rgba(225,29,72,0.45)} }
@keyframes serveGlow6 { 0%,100%{box-shadow:0 4px 16px rgba(37,99,235,0.08)}  50%{box-shadow:0 0 32px 6px rgba(37,99,235,0.45)} }
@keyframes serveGlow7 { 0%,100%{box-shadow:0 4px 16px rgba(16,185,129,0.08)} 50%{box-shadow:0 0 32px 6px rgba(16,185,129,0.45)} }
@keyframes serveGlow8 { 0%,100%{box-shadow:0 4px 16px rgba(217,119,6,0.08)}  50%{box-shadow:0 0 32px 6px rgba(217,119,6,0.45)} }

@keyframes cardBgCycle {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Flip card wrapper */
.serve-card-wrap {
  height: 360px;
  perspective: 1000px;
  border-radius: 24px;
  overflow: hidden;
}
.serve-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4,0.2,0.2,1);
}
.serve-card-inner.is-flipped { transform: rotateY(180deg); }

/* Front face */
.serve-card-front {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Back face */
.serve-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  border-radius: 24px;
  overflow: hidden;
}
.serve-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Front card content */
.serve-card {
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 22px 24px;
  text-align: center;
  gap: 14px;
  background-size: 300% 300%;
}
.serve-card::after { display: none; }

/* Per-card border + glow on the WRAP */
.serve-card-wrap:nth-child(1) { animation: serveGlow1 3s ease-in-out infinite; animation-delay: 0s; }
.serve-card-wrap:nth-child(2) { animation: serveGlow2 3s ease-in-out infinite; animation-delay: 1s; }
.serve-card-wrap:nth-child(3) { animation: serveGlow3 3s ease-in-out infinite; animation-delay: 2s; }
.serve-card-wrap:nth-child(4) { animation: serveGlow4 3s ease-in-out infinite; animation-delay: 3s; }
.serve-card-wrap:nth-child(5) { animation: serveGlow5 3s ease-in-out infinite; animation-delay: 4s; }
.serve-card-wrap:nth-child(6) { animation: serveGlow6 3s ease-in-out infinite; animation-delay: 5s; }
.serve-card-wrap:nth-child(7) { animation: serveGlow7 3s ease-in-out infinite; animation-delay: 6s; }
.serve-card-wrap:nth-child(8) { animation: serveGlow8 3s ease-in-out infinite; animation-delay: 7s; }

/* Per-card background gradient + border on the front card */
.serve-card-wrap:nth-child(1) .serve-card { background: linear-gradient(135deg,#fff,#dbeafe,#ede9fe,#fff); border: 2px solid #3b82f6; }
.serve-card-wrap:nth-child(2) .serve-card { background: linear-gradient(135deg,#fff,#ede9fe,#fce7f3,#fff); border: 2px solid #8b5cf6; }
.serve-card-wrap:nth-child(3) .serve-card { background: linear-gradient(135deg,#fff,#fce7f3,#ffe4e6,#fff); border: 2px solid #ec4899; }
.serve-card-wrap:nth-child(4) .serve-card { background: linear-gradient(135deg,#fff,#ccfbf1,#dbeafe,#fff); border: 2px solid #14b8a6; }
.serve-card-wrap:nth-child(5) .serve-card { background: linear-gradient(135deg,#fff,#ffe4e6,#fce7f3,#fff); border: 2px solid #e11d48; }
.serve-card-wrap:nth-child(6) .serve-card { background: linear-gradient(135deg,#fff,#dbeafe,#ccfbf1,#fff); border: 2px solid #2563eb; }
.serve-card-wrap:nth-child(7) .serve-card { background: linear-gradient(135deg,#fff,#d1fae5,#dbeafe,#fff); border: 2px solid #10b981; }
.serve-card-wrap:nth-child(8) .serve-card { background: linear-gradient(135deg,#fff,#fef3c7,#fce7f3,#fff); border: 2px solid #d97706; }

.serve-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.serve-icon svg { width: 28px; height: 28px; }
.serve-card-wrap:nth-child(1) .serve-icon { background:#dbeafe; color:#1d4ed8; }
.serve-card-wrap:nth-child(2) .serve-icon { background:#ede9fe; color:#7c3aed; }
.serve-card-wrap:nth-child(3) .serve-icon { background:#fce7f3; color:#db2777; }
.serve-card-wrap:nth-child(4) .serve-icon { background:#ccfbf1; color:#0d9488; }
.serve-card-wrap:nth-child(5) .serve-icon { background:#ffe4e6; color:#e11d48; }
.serve-card-wrap:nth-child(6) .serve-icon { background:#dbeafe; color:#1d4f8a; }
.serve-card-wrap:nth-child(7) .serve-icon { background:#d1fae5; color:#059669; }
.serve-card-wrap:nth-child(8) .serve-icon { background:#fef3c7; color:#b45309; }
.serve-card h4 { font-size: 19px; font-weight: 700; color: var(--text-dark); line-height: 1.25; }
.serve-card p  { font-size: 15.5px; color: var(--text-mid); line-height: 1.6; }

@media (max-width: 1024px) {
  .serve-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--bg-light); }
.bg-grey { background: var(--bg-grey); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   GLOBAL RESPONSIVE FIXES — INLINE GRID OVERRIDES
   ============================================================ */

/* Prevent horizontal overflow on all pages */
html { overflow-x: clip; } /* clip doesn't break position:fixed unlike hidden */
body { overflow-x: hidden; max-width: 100%; }
* { box-sizing: border-box; }

/* ── Our Specialties — Department Overview Cards (4-col → 2-col → 1-col) ── */
@media (max-width: 1024px) {
  #specialties-overview-grid,
  section[style*="repeat(4,1fr)"] > .container > div,
  .container [style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  #specialties-overview-grid,
  section[style*="repeat(4,1fr)"] > .container > div,
  .container [style*="repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Department Detail Sections — 2-col → 1-col on mobile ── */
@media (max-width: 900px) {
  /* Dept 1 & 3: text left, image right */
  #diabetology .container > div,
  #general-medicine .container > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  /* Dept 2 & 4: image left, text right — image goes on top on mobile */
  #obgyn .container > div,
  #dermatology .container > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  /* All department images — fix height on mobile */
  #diabetology .container > div > div:last-child,
  #general-medicine .container > div > div:last-child,
  #obgyn .container > div > div:first-child,
  #dermatology .container > div > div:first-child {
    min-height: 260px !important;
    width: 100% !important;
  }
  /* Department images — cap height */
  #diabetology .container > div > div:last-child img,
  #general-medicine .container > div > div:last-child img,
  #obgyn .container > div > div:first-child img,
  #dermatology .container > div > div:first-child img {
    max-height: 300px;
    object-fit: cover;
  }
  /* Dept sections padding */
  #diabetology, #obgyn, #general-medicine, #dermatology {
    padding: 48px 0 !important;
  }
}

/* ── Our Specialties Overview — 4 department cards ── */
@media (max-width: 900px) {
  /* The overview section grid with 4 cols */
  section > .container > div[style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 560px) {
  section > .container > div[style*="repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── service-columns inside departments ── */
@media (max-width: 600px) {
  .service-columns { grid-template-columns: 1fr !important; gap: 20px; }
  .service-col ul li { font-size: 13px; }
}

/* ── Index page: Who Should See grid (3-col inline) ── */
@media (max-width: 600px) {
  #diabetology ul[style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Process / Steps ── */
@media (max-width: 768px) {
  .steps-list { gap: 20px; max-width: 100%; }
  .steps-list::before { left: 22px; } /* center of 44px circle */
  .step-item { flex-direction: row; gap: 16px; align-items: flex-start; }
  .step-body { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
  .step-body h3 { font-size: 1rem; }
  .step-body p { font-size: 13.5px; }
  .step-num { width: 44px; height: 44px; font-size: 17px; flex-shrink: 0; }
}

/* ── Navbar mobile fix ── */
@media (max-width: 768px) {
  .navbar .container { padding: 0 16px; }
  .mobile-menu a { font-size: 15px; padding: 14px 20px; }
}

/* ── Hero mobile ── */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; min-height: unset; }
  .hero-inner { max-width: 100%; }
  .hero h1 { font-size: 1.6rem; line-height: 1.3; }
  .hero-sub { font-size: 14px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; font-size: 14px; }
  .hero-micro { font-size: 12px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-sub { font-size: 13px; }
}

/* ── Page hero ── */
@media (max-width: 768px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 1.4rem; }
  .page-hero p { font-size: 14px; }
}

/* ── Section header ── */
@media (max-width: 768px) {
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 14px; }
}

/* ── Founder section mobile ── */
@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .founder-right { min-height: 280px !important; }
  .founder-right { min-height: 280px !important; }
  .founder-badge { left: 12px; bottom: 12px; padding: 10px 14px; }
  .founder-badge-num { font-size: 20px; }
  .founder-card { padding: 20px; gap: 14px; }
  .founder-pillars { padding: 20px 24px; }
}

/* ── Why section cards ── */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px 20px; }
}

/* ── Serve grid ── */
@media (max-width: 768px) {
  .serve-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .serve-card { padding: 18px 14px; }
}
@media (max-width: 400px) {
  .serve-grid { grid-template-columns: 1fr !important; }
}

/* ── Clinic gallery ── */
@media (max-width: 768px) {
  .clinic-photo-grid { display: flex; flex-direction: column; gap: 12px; }
  .clinic-photo-main img { max-height: 220px; object-fit: cover; border-radius: 12px; }
  .clinic-photo-secondary { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .clinic-photo-secondary .cpic { height: 130px; }
  .clinic-trust-row { grid-template-columns: 1fr !important; gap: 12px; padding: 20px; }
}

/* ── Reviews marquee ── */
@media (max-width: 768px) {
  .rcard { min-width: 260px; padding: 20px; }
  .rcard-text { font-size: 13px; }
}

/* ── Pre-footer ── */
@media (max-width: 768px) {
  .pre-footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .pre-footer-actions { flex-direction: column; gap: 10px; width: 100%; }
  .pre-footer-actions .btn { width: 100%; justify-content: center; }
  .pre-footer-text h3 { font-size: 1.3rem; }
  .pre-footer-text p { font-size: 13px; }
}

/* ── Footer ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-map-frame { height: 160px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }
}

/* ── Contact page ── */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ── Services page ── */
@media (max-width: 768px) {
  .service-block-header { flex-direction: column; gap: 12px; }
}

/* ── Buttons general ── */
@media (max-width: 480px) {
  .btn { font-size: 13px; padding: 10px 18px; }
  .btn-lg { font-size: 14px; padding: 12px 20px; }
}

/* ── Container padding on small screens ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ── Origin stats ── */
.origin-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 24px 32px;
  justify-content: start;
}
.origin-stat { text-align: center; }
.origin-stat-num  { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.origin-stat-label { font-size: 12px; color: #596570; font-weight: 600; margin-top: 4px; white-space: nowrap; }
@media (max-width: 640px) {
  .origin-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; justify-content: stretch; }
  .origin-stat-num { font-size: 1.6rem; }
}

/* ── Button overflow fix on mobile ── */
@media (max-width: 640px) {
  .btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
    width: 100%;
    font-size: 14px;
    padding: 12px 18px;
  }
  .hero-ctas .btn { width: auto; white-space: nowrap; font-size: 13px; padding: 11px 16px; }
}

/* ── Bring + Hours grid ── */
@media (max-width: 640px) {
  .bring-hours-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── FAQ ── */
@media (max-width: 768px) {
  .faq-list { gap: 8px; }
  .faq-q { font-size: 14px; padding: 16px 18px; }
  .faq-a { font-size: 13px; padding: 0 18px 16px; }
}
.flex-wrap { display: flex; flex-wrap: wrap; }

/* ============================================================
   FLOATING ACTION BUTTONS (all pages)
   ============================================================ */
.fab-cluster {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.fab-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.24);
}

.fab-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Tooltip label */
.fab-btn::before {
  content: attr(data-label);
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20,20,30,0.85);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.fab-btn:hover::before {
  opacity: 1;
}

/* Individual button colors */
.fab-whatsapp { background: #25D366; }
.fab-book     { background: var(--primary); }
.fab-call     { background: #2563EB; }
.fab-mail     { background: #7C3AED; }

@media (max-width: 600px) {
  .fab-cluster {
    right: 14px;
    bottom: 24px;
    gap: 10px;
  }
  .fab-btn {
    width: 46px;
    height: 46px;
  }
  .fab-btn svg { width: 20px; height: 20px; }
  .fab-btn::before { display: none; }
}
