/* ─── RESET & BASE ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #16a34a;
  --green-dark:  #15803d;
  --green-xdark: #14532d;
  --green-light: #dcfce7;
  --gold:        #b45309;
  --gold-light:  #fef3c7;
  --red:         #dc2626;
  --text:        #111827;
  --text-muted:  #6b7280;
  --bg:          #ffffff;
  --bg-alt:      #f9fafb;
  --border:      #e5e7eb;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:   0 8px 30px rgba(0,0,0,.12);
  --transition:  0.25s ease;
  --max-w:       1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

.accent { color: var(--green); }

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}
.btn-lg  { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(22,163,74,.35); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-white { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-white:hover { background: #f0fdf4; transform: translateY(-1px); }

/* ─── NAVBAR ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 6px;
}
.logo-title {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: .02em;
  line-height: 1.1;
}
.logo-sub {
  display: block;
  font-size: .62rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
  max-width: 200px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: .875rem; font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-links .nav-cta { color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden; /* clips the bg to hero bounds */
}

.hero-bg {
  /* position:absolute keeps it clipped to .hero; background-attachment:fixed
     makes the bg image itself stay fixed relative to viewport = parallax */
  position: absolute; inset: 0;
  background: url('assets/IMG-20260507-WA0014.jpg') center 20%/cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
  will-change: transform; /* GPU hint */
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,48,20,.92) 0%, rgba(21,128,61,.82) 55%, rgba(22,163,74,.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  padding: 80px 24px;
  color: #fff;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  margin-bottom: 28px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero-title .accent { color: #86efac; }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}

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

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: .72rem; letter-spacing: .06em;
  z-index: 2; text-decoration: none;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,.5);
  border-bottom: 2px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}
@keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }

/* ─── TRUST BAR ──────────────────────────────────────────────────────── */
.trust-bar { background: #111827; padding: 24px 0; }
.trust-inner {
  display: flex; align-items: stretch;
  justify-content: center; gap: 0;
}
.trust-item {
  text-align: center; flex: 1; padding: 4px 20px;
  border-right: 1px solid #374151;
}
.trust-item:last-child { border-right: none; }
.trust-label { display: block; font-size: .66rem; color: #9ca3af; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.trust-value { display: block; font-size: .88rem; font-weight: 600; color: #fff; line-height: 1.3; }
.trust-divider { display: none; } /* dividers now done with border-right */

/* ─── IMPACT STATS ───────────────────────────────────────────────────── */
.impact { padding: 96px 0; background: var(--bg-alt); text-align: center; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 48px;
}

.stat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon { font-size: 2rem; margin-bottom: 12px; }
.stat-number { font-size: 2.6rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 8px; }
.stat-label { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.stat-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* ─── ABOUT ──────────────────────────────────────────────────────────── */
.about { padding: 96px 0; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}

.about-img-wrap { position: relative; margin-bottom: 24px; }
.about-img-wrap img {
  width: 100%; border-radius: var(--radius-lg);
  object-fit: cover; height: 420px;
  box-shadow: var(--shadow-lg);
}

.about-badge-float {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--green); color: #fff;
  border-radius: var(--radius); padding: 18px 22px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.badge-num { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.badge-txt { display: block; font-size: .72rem; opacity: .85; margin-top: 4px; }

.partner-logos { text-align: center; margin-top: 28px; }
.partner-label { display: block; font-size: .72rem; color: var(--text-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.partner-row {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.partner-row img {
  height: 60px; width: auto; max-width: 100px;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter var(--transition), transform var(--transition);
}
.partner-row img:hover { filter: grayscale(0%); transform: scale(1.05); }

.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-pillars { margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.pillar strong { display: block; margin-bottom: 3px; font-size: .95rem; }
.pillar p { color: var(--text-muted); font-size: .87rem; margin: 0; }

/* ─── PROGRAMMES ─────────────────────────────────────────────────────── */
.services { padding: 96px 0; background: var(--bg-alt); text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; text-align: left;
}

.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-logo-wrap {
  width: 80px; height: 80px;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.service-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
}

/* City Hospital — placeholder until logo is provided */
.logo-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; width: 100%; height: 100%;
  padding: 6px;
}
.logo-placeholder span {
  font-size: .6rem; font-weight: 700;
  color: #16a34a; text-align: center;
  line-height: 1.2;
}

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon-wrap svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

.prog-tag {
  font-size: .65rem; font-weight: 700;
  background: var(--green-light); color: var(--green-dark);
  padding: 2px 8px; border-radius: 100px;
  letter-spacing: .04em; text-transform: uppercase;
}
.prog-tag.orange { background: #fff7ed; color: #c2410c; }

.service-card p { color: var(--text-muted); font-size: .88rem; margin-bottom: 14px; line-height: 1.68; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.service-list li { font-size: .83rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.service-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .83rem; font-weight: 600; color: var(--green);
  margin-top: auto; padding-top: 8px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 8px; }

.featured-card {
  border: 2px solid var(--green);
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 60%);
}

.new-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--red); color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: .05em; text-transform: uppercase;
}

.pmkvy-note {
  margin-top: 12px;
  background: var(--gold-light);
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .82rem; color: var(--gold);
  line-height: 1.5;
}

/* ─── GALLERY ────────────────────────────────────────────────────────── */
.gallery { padding: 96px 0; text-align: center; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px; margin-top: 48px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden; position: relative; cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  color: #fff; font-size: .8rem; font-weight: 500;
  padding: 24px 14px 12px;
  transform: translateY(4px);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ─── LOCATION ───────────────────────────────────────────────────────── */
.location { padding: 96px 0; background: var(--bg-alt); text-align: center; }

.location-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 40px; align-items: stretch; margin-top: 48px; text-align: left;
}

.location-info {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
}

.loc-item { display: flex; gap: 14px; align-items: flex-start; }
.loc-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.loc-item strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.loc-item p { color: var(--text-muted); font-size: .88rem; margin: 0; line-height: 1.65; }
.loc-item a { color: var(--green); font-size: .88rem; }
.loc-item a:hover { text-decoration: underline; }

.location-map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  box-shadow: var(--shadow);
}
.location-map-wrap iframe { display: block; }

.gps-photo-wrap {
  position: relative; margin-top: 24px;
  border-radius: var(--radius-lg); overflow: hidden;
  max-height: 340px;
  box-shadow: var(--shadow-lg);
}
.gps-photo-wrap img { width: 100%; height: 340px; object-fit: cover; object-position: center 25%; }
.gps-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  padding: 32px 24px 16px;
  color: #fff; font-size: .88rem; font-weight: 500;
  display: flex; align-items: flex-end;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────────────── */
.testimonials { padding: 96px 0; text-align: center; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr));
  gap: 24px; margin-top: 48px; text-align: left;
}

.testimonial-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.quote-mark { font-size: 4rem; color: var(--green-light); font-family: Georgia,serif; line-height: .8; display: block; margin-bottom: 12px; }
.testimonial-card p { color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: .82rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .88rem; }
.testimonial-author span { font-size: .78rem; color: var(--text-muted); }

/* ─── CTA BANNER ─────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-xdark) 0%, var(--green) 100%);
  padding: 72px 0;
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-text h2 { font-family: 'Playfair Display',serif; font-size: 2rem; color: #fff; margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,.8); max-width: 540px; line-height: 1.65; }

/* ─── CONTACT ────────────────────────────────────────────────────────── */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }

.contact-info p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.78; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; margin-bottom: 4px; font-size: .9rem; }
.contact-item p { color: var(--text-muted); margin: 0; font-size: .87rem; line-height: 1.6; }
.contact-item a { color: var(--green); font-size: .87rem; display: block; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .93rem; font-family: inherit;
  background: #fff; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .78rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.footer { background: #0f172a; color: #d1d5db; padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer-logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; }
.footer-logo span { font-weight: 800; font-size: 1.1rem; color: #fbbf24; letter-spacing: .02em; }

.footer-brand p { font-size: .87rem; color: #9ca3af; line-height: 1.7; margin-bottom: 8px; }
.footer-reg { font-size: .76rem; color: #6b7280; }

.footer-partner-logos {
  display: flex; align-items: center; gap: 12px; margin-top: 20px;
}
.footer-partner-logos img {
  height: 44px; width: auto; object-fit: contain;
  opacity: .6; transition: opacity var(--transition);
  border-radius: 4px;
}
.footer-partner-logos img:hover { opacity: 1; }

.footer-links h4 { color: #fff; font-size: .88rem; margin-bottom: 16px; }
.footer-links a, .footer-links span {
  display: block; font-size: .83rem; color: #9ca3af;
  margin-bottom: 10px; transition: color var(--transition);
}
.footer-links a:hover { color: #86efac; }

.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; }
.footer-bottom .container {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 8px; font-size: .78rem; color: #6b7280;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { height: 300px; }
  .about-badge-float { right: 16px; bottom: -12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map-wrap { min-height: 300px; }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-item.tall { grid-row: span 1; }
}

/* ── Tablet / Mobile (≤768px) ────────────────────────────────── */
@media (max-width: 768px) {

  /* iOS fix: background-attachment:fixed breaks on Safari */
  .hero-bg {
    background-attachment: scroll;
    background-position: center center;
  }

  /* ── Navbar ── */
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    gap: 0; padding: 8px 0 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 14px 24px; width: 100%;
    color: var(--text); font-size: 1rem;
    border-bottom: 1px solid #f3f4f6;
    min-height: 48px; display: flex; align-items: center;
  }
  .nav-links .nav-cta {
    margin: 12px 20px 4px; width: calc(100% - 40px);
    justify-content: center; border-bottom: none;
    min-height: 48px;
  }
  .hamburger { display: flex; }
  .logo-sub { display: none; }
  .logo-img { width: 40px; height: 40px; }

  /* ── Hero ── */
  .hero {
    min-height: 100svh;
    align-items: center;      /* vertically centered, not bottom-pinned */
    padding-top: 72px;
    padding-bottom: 0;
  }
  .hero-content {
    padding: 40px 20px 60px;
    max-width: 100%;
    width: 100%;
  }
  .hero-badge {
    font-size: .72rem;
    padding: 5px 12px 5px 8px;
    margin-bottom: 20px;
    /* truncate if still too wide */
    max-width: calc(100vw - 40px);
  }
  .hero-title { font-size: clamp(1.85rem, 7.5vw, 2.6rem); margin-bottom: 16px; }
  .hero-desc   { font-size: .92rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: .95rem; }
  .hero-scroll-hint { bottom: 20px; }

  /* ── Trust bar — 2×2 grid ── */
  .trust-bar { padding: 0; }
  .trust-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  .trust-item {
    flex: none;
    padding: 16px 12px;
    border-right: none;           /* reset desktop border */
    border-bottom: 1px solid #1f2937;
    text-align: center;
  }
  /* items in right column get a left border */
  .trust-item:nth-child(even) { border-left: 1px solid #1f2937; }
  /* bottom row items don't need bottom border */
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) { border-bottom: none; }
  .trust-label { font-size: .6rem; }
  .trust-value { font-size: .82rem; }

  /* ── Impact ── */
  .impact { padding: 56px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 22px 14px; }
  .stat-icon { font-size: 1.6rem; margin-bottom: 8px; }
  .stat-number { font-size: 1.9rem; }
  .stat-label { font-size: .85rem; }
  .stat-desc { font-size: .78rem; }

  /* ── About ── */
  .about { padding: 56px 0; }
  .about-grid { gap: 32px; }
  .about-img-wrap img { height: 240px; }
  .about-badge-float { padding: 14px 16px; right: 12px; bottom: -10px; }
  .badge-num { font-size: 1.5rem; }
  .partner-logos { margin-top: 28px; }
  .partner-row img { height: 44px; }
  .about-text .section-title { font-size: 1.7rem; }

  /* ── Programmes ── */
  .services { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 22px 20px; }
  .service-logo-wrap { width: 60px; height: 60px; }

  /* ── Gallery ── */
  .gallery { padding: 56px 0; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 170px);
    gap: 10px;
  }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-caption { font-size: .7rem; padding: 14px 10px 8px; }

  /* ── Location ── */
  .location { padding: 56px 0; }
  .location-info { padding: 20px; gap: 18px; }
  .location-map-wrap { min-height: 250px; }
  .gps-photo-wrap img { height: 200px; }

  /* ── Testimonials ── */
  .testimonials { padding: 56px 0; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-card { padding: 22px 20px; }

  /* ── CTA ── */
  .cta-banner { padding: 48px 0; }
  .cta-inner { flex-direction: column; text-align: center; gap: 20px; }
  .cta-text h2 { font-size: 1.55rem; }

  /* ── Contact ── */
  .contact { padding: 56px 0; }
  .contact-grid { gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }

  /* ── Footer ── */
  .footer { padding: 44px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 4px; }
  .footer-partner-logos img { height: 36px; }

  /* ── Global mobile tweaks ── */
  .section-sub { margin-bottom: 28px; font-size: .92rem; }
  .btn { min-height: 48px; }
  .service-link { min-height: 44px; }
}

/* ── Small phones (≤480px) ───────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.5rem; }
  .hero-title { font-size: 1.75rem; }

  /* Trust bar stays 2-col but tighter */
  .trust-value { font-size: .78rem; }

  /* Stats single column on very small screens */
  .stats-grid { grid-template-columns: 1fr 1fr; } /* keep 2-col */
  .stat-number { font-size: 1.7rem; }

  /* Gallery single column */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 190px);
    gap: 10px;
  }

  /* Location */
  .loc-item p { font-size: .83rem; }
  .gps-photo-wrap img { height: 180px; }

  /* footer */
  .footer-logo span { font-size: .95rem; }
}
