:root{
  --bg:#ffffff;
  --text:#0b1f1a;
  --muted:rgba(11,31,26,.72);
  --border:rgba(11,31,26,.10);

  --brand:#0d6b5f;
  --brand-dark:#08312b;
  --brand2:#f2a33a;
  --soft:#f7fbf9;

  --shadow:0 18px 50px rgba(11,31,26,.10);
  --radius:18px;
  --max:1160px;

  --ios-blur: blur(18px);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Topbar */
.topbar{background:#073b33;color:rgba(255,255,255,.88);position:relative;z-index:60}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;padding:8px 0;gap:12px}
.topbar-right{display:flex;align-items:center;gap:12px;font-weight:800}
.top-icon{color:#f05c96;margin-right:6px;font-size:13px}
.topbar a{color:rgba(255,255,255,.88)}
.topbar a:hover{color:#fff}
.top-pill{
  display:inline-flex;gap:8px;align-items:center;
  padding:6px 12px;border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-size:12px;
  font-weight:800;
}

.sep{opacity:.42;margin:0}

/* Header */
.header{
  position:sticky;top:0;z-index:70;
  background:linear-gradient(90deg, #08585c 0%, #08585c 38%, #08585c 100%);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.14);
  box-shadow:0 12px 32px rgba(8,49,43,.16);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:14px;position:relative;z-index:71}
.brand{display:flex;align-items:center;gap:10px}

.logo-chip{
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
  padding:0;
  display:inline-flex;
  align-items:center;
}
.logo-chip.small{padding:0;border-radius:0}
.logo{height:58px;width:auto;object-fit:contain}
.logo-chip.small .logo{height:40px}

/* Desktop Nav */
.nav{display:flex;align-items:center;gap:22px}
.nav a{
  color:rgba(255,255,255,.86);
  font-weight:700;
  font-size:14px;
  padding:12px 12px;
  border-radius:14px;
}
.nav a:hover,
.header .nav a[style]{
  color:#fff !important;
  background:rgba(255,255,255,.14);
}
.header .nav .btn-primary{
  background:#fff;
  color:var(--brand) !important;
  box-shadow:0 14px 34px rgba(8,49,43,.16);
}
.header .nav .btn-primary:hover{
  background:#f7fffc;
  color:var(--brand-dark) !important;
}

/* Hamburger */
.hamburger{
  display:none;
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  align-items:center;justify-content:center;flex-direction:column;gap:5px;
  box-shadow:0 10px 22px rgba(11,31,26,.08);
  cursor:pointer;
  position:relative;
  z-index:9999;
  -webkit-tap-highlight-color:transparent;
}
.hamburger span{width:18px;height:2px;background:var(--brand-dark);display:block;border-radius:3px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  font-weight:800;font-size:14px;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover{transform:translateY(-1px);filter:brightness(1.02)}
.btn-primary{
  background:linear-gradient(135deg,var(--brand),#118b7a);
  color:#fff !important;
  box-shadow:0 14px 34px rgba(13,107,95,.18);
}
.btn-outline{
  background:#fff;
  border:1px solid rgba(11,31,26,.14);
  color:rgba(11,31,26,.86);
  box-shadow:none;
}
.btn-outline:hover{border-color:rgba(13,107,95,.32)}

/* Hero */
.hero{
  padding:54px 0 24px;
  background:
    radial-gradient(900px 460px at 15% 10%, rgba(13,107,95,.08), transparent 60%),
    radial-gradient(760px 420px at 85% 0%, rgba(242,163,58,.10), transparent 60%);
  position:relative;z-index:1;
}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:start}

.badge{
  display:inline-flex;
  padding:7px 12px;border-radius:999px;
  background:rgba(13,107,95,.07);
  border:1px solid rgba(13,107,95,.16);
  color:rgba(13,107,95,.92);
  font-weight:800;
  font-size:12px;
  margin-bottom:12px;
}
.hero h1{
  font-family:"Playfair Display",serif;
  font-size:56px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:.1px;
}
.lead{color:var(--muted);font-size:16px;max-width:560px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}

.trust-row{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:22px;
  max-width:560px;
}
.trust-item{
  display:flex;gap:12px;align-items:flex-start;
  padding:14px 14px;
  border-radius:var(--radius);
  background:#fff;
  border:1px solid rgba(11,31,26,.08);
  box-shadow:0 10px 30px rgba(11,31,26,.06);
}
.trust-ico{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(13,107,95,.10);
  color:var(--brand);
  font-weight:900;
}
.trust-title{font-weight:900}
.trust-sub{color:var(--muted);font-size:13px;margin-top:2px}

.hero-media{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(11,31,26,.08);
  box-shadow:var(--shadow);
  background:#fff;
  position:relative;
}
.hero-media img{width:100%;height:360px;object-fit:cover}
.hero-overlay{
  position:absolute;inset:auto 0 0 0;
  padding:14px;
  background:linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,.55));
}
.hero-card{
  background:rgba(255,255,255,.95);
  border:1px solid rgba(11,31,26,.10);
  border-radius:18px;
  padding:14px 14px 12px;
}
.hero-card h3{margin:0 0 6px;font-size:18px}
.hero-card p{margin:0;color:rgba(11,31,26,.70);font-size:13px}
.mini-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.mini-pills span{
  padding:7px 10px;border-radius:999px;
  background:rgba(13,107,95,.07);
  border:1px solid rgba(13,107,95,.14);
  color:rgba(13,107,95,.92);
  font-weight:800;font-size:12px;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:14px;
}
.stat{
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(11,31,26,.08);
  padding:12px 12px;
  box-shadow:0 10px 25px rgba(11,31,26,.05);
}
.stat-num{font-weight:900}
.stat-label{color:var(--muted);font-size:12px;margin-top:2px}

/* Sections */
.section{padding:64px 0;position:relative;z-index:1}
.section-soft{background:var(--soft);border-top:1px solid rgba(11,31,26,.06);border-bottom:1px solid rgba(11,31,26,.06)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px}
.section-head h2{font-family:"Playfair Display",serif;font-size:34px;margin:0}
.section-head p{margin:0;color:var(--muted);max-width:620px;font-size:15px;line-height:1.7}

.grid{display:grid;gap:14px}
.cards{grid-template-columns:repeat(3,1fr)}
.card{
  background:#fff;
  border:1px solid rgba(11,31,26,.08);
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 30px rgba(11,31,26,.06);
  transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 52px rgba(11,31,26,.10);
  border-color:rgba(13,107,95,.22);
}
.card-top{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.icon{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(13,107,95,.10);
  font-size:18px;
}
.card h3{margin:0;font-size:16px}
.card p{margin:0;color:var(--muted);font-size:13px}

.cta-strip{
  margin-top:18px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(11,31,26,.10);
  background:linear-gradient(135deg, rgba(13,107,95,.08), rgba(242,163,58,.10));
}
.cta-strip h3{margin:0 0 4px}
.cta-strip p{margin:0;color:var(--muted);font-size:13px}

/* Program tabs */
.program-tabs-section{
  padding:72px 0;
  background:
    linear-gradient(135deg, rgba(8,49,43,.98), rgba(13,107,95,.94)),
    radial-gradient(700px 380px at 12% 8%, rgba(242,163,58,.20), transparent 64%);
  color:#fff;
  overflow:hidden;
}
.program-tabs-section .section-head{
  align-items:flex-start;
}
.program-tabs-section .section-head h2{
  color:#fff;
}
.program-tabs-section .section-head p{
  color:rgba(255,255,255,.72);
}
.program-tabs-grid{
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:1px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(255,255,255,.16);
  box-shadow:0 28px 80px rgba(3,23,20,.22);
  overflow:hidden;
}
.program-card{
  position:relative;
  min-height:310px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:22px;
  padding:28px;
  border-radius:0;
  border:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,251,248,.94)),
    radial-gradient(520px 240px at 0% 0%, rgba(242,163,58,.16), transparent 68%);
  box-shadow:none;
  overflow:hidden;
  isolation:isolate;
  transition:transform .22s ease, background .22s ease;
}
.program-card::before{
  content:"";
  position:absolute;
  inset:auto 24px 24px auto;
  width:86px;
  height:86px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(13,107,95,.14), rgba(13,107,95,0) 70%);
  z-index:-1;
}
.program-card:nth-child(1){
  background:
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(229,245,238,.95)),
    radial-gradient(640px 260px at 0% 0%, rgba(13,107,95,.14), transparent 66%);
}
.program-card:nth-child(3){
  grid-row:span 2;
}
.program-card:hover{
  transform:translateY(-2px);
  background:
    linear-gradient(180deg, #fff, rgba(241,249,245,.98)),
    radial-gradient(520px 240px at 0% 0%, rgba(242,163,58,.18), transparent 68%);
}
.program-kicker{
  margin:0 0 12px;
  color:var(--brand);
  font-size:11px;
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
}
.program-card h3{
  margin:0;
  font-family:"Playfair Display",serif;
  font-size:32px;
  line-height:1.08;
  color:var(--text);
  max-width:620px;
}
.program-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.program-tags span{
  padding:8px 11px;
  border-radius:999px;
  background:rgba(13,107,95,.08);
  border:1px solid rgba(13,107,95,.14);
  color:rgba(11,31,26,.76);
  font-size:12px;
  font-weight:800;
}
.text-link{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  color:#fff;
  background:var(--brand);
  font-weight:900;
  border:1px solid rgba(13,107,95,.16);
  box-shadow:0 14px 28px rgba(13,107,95,.16);
}
.text-link:hover{
  color:#fff;
  background:var(--brand-dark);
  border-color:rgba(8,49,43,.22);
}

/* Doctors and clinic */
.doctors-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:14px;
  align-items:stretch;
}
.doctor-card,
.clinic-card{
  background:#fff;
  border:1px solid rgba(11,31,26,.08);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(11,31,26,.06);
}
.doctor-card{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  overflow:hidden;
}
.doctor-photo img{
  width:100%;
  height:100%;
  min-height:380px;
  object-fit:cover;
}
.doctor-copy,
.clinic-card{
  padding:18px;
}
.doctor-copy h3,
.clinic-card h3{
  margin:0 0 8px;
  font-size:22px;
}
.doctor-role{
  margin:0 0 12px;
  color:var(--brand);
  font-weight:900;
}
.clinic-details{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.clinic-detail{
  padding:12px;
  border-radius:14px;
  background:rgba(13,107,95,.06);
  border:1px solid rgba(13,107,95,.12);
}
.clinic-detail strong{
  display:block;
  margin-bottom:3px;
}
.clinic-detail a{
  color:var(--brand);
  font-weight:900;
}

/* Testimonials */
.testimonials{grid-template-columns:repeat(2,1fr)}
.tcard{
  background:#fff;
  border:1px solid rgba(11,31,26,.08);
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 30px rgba(11,31,26,.06);
}
.stars{color:#f2a33a;font-weight:900;margin-bottom:8px}
.tname{color:var(--muted);font-weight:700;margin-top:10px}

/* Footer */
.footer{padding:34px 0;background:#08585c;color:rgba(255,255,255,.85);position:relative;z-index:1}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:18px;align-items:start}
.footer h4{margin:0 0 10px;color:#fff}
.footer a{display:block;color:rgba(255,255,255,.78);margin:7px 0}
.footer a:hover{color:#fff}
.footer-bottom{
  margin-top:16px;padding-top:14px;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.65);
  font-size:13px;
}

/* Micro interactions */
.reveal{opacity:0;transform:translateY(14px);transition:all .7s ease}
.reveal.in{opacity:1;transform:translateY(0)}
.ripple{position:relative;overflow:hidden}
.ripple .rip{
  position:absolute;border-radius:999px;
  transform:translate(-50%,-50%) scale(0);
  background:rgba(255,255,255,.35);
  animation:rip .55s ease-out forwards;
  pointer-events:none;
}
@keyframes rip{to{transform:translate(-50%,-50%) scale(8);opacity:0}}

/* Helpers used in pages */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
details.card summary{list-style:none}
details.card summary::-webkit-details-marker{display:none}
details.card[open]{border-color:rgba(13,107,95,.22)}

/* ===== Background Layers ===== */
.bg-aurora{
  position:fixed;inset:0;
  pointer-events:none;
  z-index:0;
  overflow:hidden;
}
.bg-aurora .blob{
  position:absolute;
  width:520px;height:520px;border-radius:999px;
  filter:blur(40px);
  opacity:.28;
  transform:translate3d(0,0,0);
  mix-blend-mode:multiply;
  animation:blobFloat 14s ease-in-out infinite alternate;
}
.bg-aurora .b1{
  left:-140px;top:120px;
  background:radial-gradient(circle at 30% 30%, rgba(13,107,95,.55), rgba(13,107,95,0));
  animation-duration:16s;
}
.bg-aurora .b2{
  right:-180px;top:40px;
  background:radial-gradient(circle at 30% 30%, rgba(242,163,58,.55), rgba(242,163,58,0));
  animation-duration:18s;
}
.bg-aurora .b3{
  left:40%;bottom:-220px;
  background:radial-gradient(circle at 30% 30%, rgba(13,107,95,.40), rgba(13,107,95,0));
  animation-duration:20s;
}
@keyframes blobFloat{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(40px,-25px,0) scale(1.08)}
}
.bg-aurora .noise{
  position:absolute;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  opacity:.05;
  mix-blend-mode:multiply;
}
.cursor-glow{
  position:fixed;
  width:420px;height:420px;border-radius:999px;
  background:radial-gradient(circle, rgba(13,107,95,.18), rgba(13,107,95,0) 60%);
  transform:translate(-50%,-50%);
  pointer-events:none;
  z-index:0;
  opacity:0;
  transition:opacity .25s ease;
}
#bgParticles{
  position:fixed;inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.18;
}

@media (prefers-reduced-motion: reduce){
  .bg-aurora .blob{animation:none !important}
  #bgParticles{display:none !important}
  .cursor-glow{display:none !important}
}

/* ============================
   PREMIUM iOS MOBILE DRAWER
   ============================ */

/* Default: drawer hidden on desktop */
.mnav,
.mnav-overlay{display:none}

/* Drawer overlay */
.mnav-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.40);
  backdrop-filter:blur(3px);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
  z-index:99980;
}
.mnav-overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* Drawer panel */
.mnav{
  position:fixed;
  top:10px;
  right:10px;
  height:calc(100vh - 20px);
  width:min(86vw, 360px);
  border-radius:26px;
  background:linear-gradient(180deg,var(--brand),var(--brand-dark));
  backdrop-filter:var(--ios-blur);
  -webkit-backdrop-filter:var(--ios-blur);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 40px 120px rgba(11,31,26,.28);
  transform:translateX(120%);
  transition:transform .26s cubic-bezier(.2,.9,.2,1);
  z-index:99990;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  pointer-events:auto;
}
.mnav.open{transform:translateX(0)}

/* Drawer inner layout */
.mnav-head{
  padding:14px 14px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
}
.mnav-brand{
  display:inline-flex;
  padding:0;
  border-radius:0;
  background:transparent;
}
.mnav-brand img{height:48px;width:auto;object-fit:contain}

/* Close button (always clickable) */
.mnav-close{
  width:40px;height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
  color:var(--brand-dark);
  cursor:pointer;
  z-index:2;
  pointer-events:auto;
  -webkit-tap-highlight-color:transparent;
}

/* Links wrapper (you added this in pages) */
.mnav-links{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* iOS “pill” nav rows */
.mnav-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 22px rgba(8,49,43,.12);
  font-weight:900;
  color:#fff;
}
.mnav-link::after{
  content:"›";
  font-size:18px;
  opacity:.55;
}
.mnav-link:active{transform:scale(.99)}

.mnav-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 14px;
  border-radius:18px;
  font-weight:900;
  text-align:center;
  color:var(--brand) !important;
  background:#fff;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 18px 40px rgba(8,49,43,.18);
}

/* Footer in drawer */
.mnav-footer{
  margin-top:auto;
  padding:14px 14px 16px;
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.74);
  font-weight:800;
  font-size:13px;
  background:rgba(255,255,255,.08);
}
.mnav-footer a{color:#fff;font-weight:900}

/* ============================
   Modern Home Page
   ============================ */
.home-page{
  background:#fbfcf9;
}
.home-page main{
  position:relative;
  z-index:1;
  overflow:hidden;
}
.home-hero{
  padding:72px 0 64px;
  background:linear-gradient(115deg, #f6fbf7 0%, #ffffff 46%, #fff7ea 100%);
  border-bottom:1px solid rgba(11,31,26,.06);
}
.home-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);
  gap:44px;
  align-items:center;
}
.home-hero-copy h1{
  margin:0 0 16px;
  max-width:720px;
  font-family:"Playfair Display",serif;
  font-size:64px;
  line-height:.98;
  color:#071c18;
}
.home-hero-copy .lead{
  max-width:650px;
  font-size:17px;
  line-height:1.75;
}
.hero-proof-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:28px;
  max-width:680px;
}
.proof-tile{
  min-height:104px;
  padding:15px;
  border:1px solid rgba(11,31,26,.09);
  border-radius:8px;
  background:rgba(255,255,255,.76);
  box-shadow:0 18px 44px rgba(11,31,26,.07);
}
.proof-tile strong{
  display:block;
  margin-bottom:4px;
  color:var(--brand);
  font-size:18px;
}
.proof-tile span{
  display:block;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.home-hero-visual{
  display:grid;
  gap:12px;
}
.hero-image-frame{
  position:relative;
  min-height:500px;
  border-radius:8px;
  overflow:hidden;
  background:#0a332d;
  box-shadow:0 30px 90px rgba(8,49,43,.18);
}
.hero-image-frame img{
  width:100%;
  height:500px;
  object-fit:cover;
}
.hero-image-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(7,28,24,0) 36%, rgba(7,28,24,.70) 100%);
}
.hero-image-note{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:1;
  padding:16px;
  border-radius:8px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.50);
  box-shadow:0 18px 48px rgba(0,0,0,.16);
}
.hero-image-note strong{
  display:block;
  margin-bottom:4px;
  font-size:18px;
}
.hero-image-note span{
  display:block;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.hero-mini-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.hero-mini-grid span{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:10px;
  border-radius:8px;
  border:1px solid rgba(11,31,26,.08);
  background:#fff;
  color:rgba(11,31,26,.76);
  font-size:12px;
  font-weight:900;
  box-shadow:0 12px 34px rgba(11,31,26,.05);
}
.home-page .program-tabs-section{
  padding:76px 0;
  background:linear-gradient(135deg,#073b33 0%,#0d6b5f 58%,#0a463e 100%);
}
.home-page .program-tabs-grid{
  grid-template-columns:1.06fr .94fr;
  gap:1px;
  border-radius:8px;
}
.home-page .program-card{
  min-height:315px;
  padding:30px;
  border-radius:0;
  background:linear-gradient(180deg,#ffffff 0%,#f4faf6 100%);
}
.home-page .program-card:nth-child(1){
  background:linear-gradient(135deg,#ffffff 0%,#e8f7ef 100%);
}
.home-page .program-card h3{
  font-size:34px;
}
.home-page .program-tags span{
  background:rgba(13,107,95,.08);
}
.home-services-section{
  background:#fbfcf9;
}
.home-service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.home-service-card{
  min-height:270px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px;
  border:1px solid rgba(11,31,26,.09);
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 44px rgba(11,31,26,.06);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home-service-card:hover{
  transform:translateY(-3px);
  border-color:rgba(13,107,95,.26);
  box-shadow:0 24px 70px rgba(11,31,26,.10);
}
.home-service-card span{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(13,107,95,.09);
  color:var(--brand);
  font-weight:900;
  font-size:12px;
}
.home-service-card h3{
  margin:34px 0 8px;
  font-size:21px;
  line-height:1.18;
}
.home-service-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.home-flow-section{
  background:#f2f8f5;
}
.home-flow-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:18px;
  align-items:start;
}
.flow-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.flow-step{
  min-height:220px;
  padding:20px;
  border-radius:8px;
  background:#fff;
  border:1px solid rgba(11,31,26,.08);
  box-shadow:0 18px 44px rgba(11,31,26,.05);
}
.flow-step strong{
  color:var(--brand);
  font-size:13px;
}
.flow-step h3{
  margin:42px 0 8px;
  font-size:22px;
}
.flow-step p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.home-doctors-section{
  background:#fff;
}
.home-doctors-grid{
  display:grid;
  grid-template-columns:1.28fr .72fr;
  gap:14px;
  align-items:stretch;
}
.home-doctor-card{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  min-height:520px;
  overflow:hidden;
  border-radius:8px;
  border:1px solid rgba(11,31,26,.08);
  background:#f8fbf7;
  box-shadow:0 24px 70px rgba(11,31,26,.08);
}
.doctor-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.doctor-copy-modern{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
}
.doctor-copy-modern h2,
.womens-clinic-panel h2,
.final-cta-inner h2{
  margin:0 0 16px;
  font-family:"Playfair Display",serif;
  font-size:38px;
  line-height:1.06;
}
.doctor-copy-modern h3{
  margin:0 0 8px;
  color:var(--brand);
  font-size:17px;
}
.doctor-copy-modern p,
.womens-clinic-panel p{
  margin:0 0 18px;
  color:var(--muted);
}
.womens-clinic-panel{
  padding:28px;
  border-radius:8px;
  background:linear-gradient(180deg,#0d6b5f 0%,#073b33 100%);
  color:#fff;
  box-shadow:0 24px 70px rgba(8,49,43,.14);
}
.womens-clinic-panel .badge{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.18);
  color:#fff;
}
.womens-clinic-panel p{
  color:rgba(255,255,255,.76);
}
.womens-clinic-panel .clinic-detail{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.14);
}
.womens-clinic-panel .clinic-detail a,
.womens-clinic-panel .clinic-detail strong{
  color:#fff;
}
.womens-clinic-panel .clinic-detail span{
  color:rgba(255,255,255,.78);
}
.home-testimonial-section{
  padding-top:34px;
  background:#fff;
}
.home-quote{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}
.home-quote p{
  margin:0;
  font-family:"Playfair Display",serif;
  font-size:40px;
  line-height:1.18;
}
.home-quote span{
  display:block;
  margin-top:12px;
  color:var(--muted);
  font-weight:800;
}
.home-final-cta{
  padding:30px 0 70px;
  background:#fff;
}
.final-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:28px;
  border-radius:8px;
  background:linear-gradient(135deg,#073b33,#0d6b5f);
  color:#fff;
  box-shadow:0 24px 70px rgba(8,49,43,.16);
}
.final-cta-inner p{
  max-width:660px;
  margin:0;
  color:rgba(255,255,255,.78);
}
.final-cta-inner .btn-primary{
  background:#fff;
  color:var(--brand) !important;
  box-shadow:none;
  flex:0 0 auto;
}

/* ============================
   MOBILE RESPONSIVE FIXES
   (Fixes “content not proper” across pages)
   ============================ */
@media (max-width: 980px){
  /* Layout stack */
  .hero-grid{grid-template-columns:1fr}
  .program-tabs-grid{
    grid-template-columns:1fr;
    border-radius:14px;
  }
  .program-card:nth-child(3){grid-row:auto}
  .doctors-grid,
  .doctor-card{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .testimonials{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .hero-stats{grid-template-columns:1fr}

  .hero{padding:34px 0 14px}
  .hero h1{font-size:40px}
  .program-card{min-height:auto;padding:22px}
  .program-card h3{font-size:25px}
  .doctor-photo img{height:360px;min-height:0}
  .section{padding:46px 0}
  .section-head{flex-direction:column;align-items:flex-start}
  .section-head p{max-width:100%}

  /* Show hamburger, hide desktop nav */
  .hamburger{display:flex}
  #nav{display:none !important}

  /* IMPORTANT: override inline 2-col grids on mobile (About/Contact/Doctor/etc) */
  .container.grid,
  .grid[style],
  .container.grid[style],
  form .grid[style],
  .two-col,
  .three-col{
    grid-template-columns:1fr !important;
  }

  /* Prevent overflow weirdness in long headings */
  h1,h2,h3{word-break:break-word}
  .lead{max-width:100%}

  /* Media sizing fixes */
  .hero-media img{height:auto;max-height:420px}
  img{height:auto}

  /* Drawer enabled on mobile */
  .mnav,
  .mnav-overlay{display:block}

  /* Make sure top UI stays above background visuals */
  .topbar{z-index:99970}
  .header{z-index:99971}

  /* Prevent background layers from capturing taps */
  .bg-aurora, .bg-aurora * , #bgParticles, .cursor-glow{
    pointer-events:none !important;
  }
}

@media (max-width: 1180px){
  .home-hero-grid{
    grid-template-columns:1fr;
  }
  .home-hero-copy h1{
    max-width:860px;
  }
  .home-hero-visual{
    max-width:760px;
  }
  .home-service-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .home-doctors-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 980px){
  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:8px 0;
  }
  .topbar-right{
    flex-wrap:wrap;
    gap:8px;
    font-size:13px;
  }
  .header-inner{
    padding:12px 0;
  }
  .logo{
    height:50px;
  }
  .home-hero{
    padding:44px 0 40px;
  }
  .home-hero-copy h1{
    font-size:42px;
    line-height:1.04;
  }
  .hero-proof-row,
  .home-service-grid,
  .home-flow-grid,
  .flow-steps,
  .home-doctor-card{
    grid-template-columns:1fr;
  }
  .hero-image-frame,
  .hero-image-frame img{
    min-height:0;
    height:390px;
  }
  .hero-mini-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .home-page .program-tabs-grid{
    grid-template-columns:1fr;
  }
  .home-page .program-card:nth-child(3){
    grid-row:auto;
  }
  .home-page .program-card{
    min-height:auto;
    padding:24px;
  }
  .home-page .program-card h3,
  .doctor-copy-modern h2,
  .womens-clinic-panel h2,
  .final-cta-inner h2{
    font-size:29px;
  }
  .home-doctor-card{
    min-height:0;
  }
  .doctor-image-wrap img{
    height:380px;
  }
  .doctor-copy-modern,
  .womens-clinic-panel{
    padding:24px;
  }
  .home-quote p{
    font-size:29px;
  }
  .final-cta-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 560px){
  .home-hero-copy h1{
    font-size:36px;
  }
  .hero-actions{
    width:100%;
  }
  .hero-actions .btn{
    width:100%;
  }
  .hero-mini-grid{
    grid-template-columns:1fr;
  }
  .hero-image-frame,
  .hero-image-frame img{
    height:330px;
  }
  .hero-image-note{
    left:12px;
    right:12px;
    bottom:12px;
  }
  .home-page .program-tabs-section{
    padding:54px 0;
  }
  .home-page .program-card h3,
  .doctor-copy-modern h2,
  .womens-clinic-panel h2,
  .final-cta-inner h2{
    font-size:25px;
  }
}
