@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&display=swap');

:root {
  --terracotta: #f4a81e;
  --terracotta-dark: #d68f0f;
  --cream: #faf5ec;
  --ink: #3a4246;
  --green: #165bfb;
  --gold: #f2994a;
  --gold-dark: #c1690e;
  --navy: #a8460c;
  --navy-dark: #7a3308;
  --red-light: #ffe0c2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Nunito", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3 { font-weight: 900; }

.page-section p {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
}

.page-section p + p {
  margin-top: 14px;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 3px solid var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--terracotta-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.footer-logo {
  height: 22px;
  width: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.logo-short {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--terracotta-dark);
}

.nav-social {
  display: flex;
  gap: 8px;
  margin-left: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  margin-left: 12px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 16px;
  background: linear-gradient(135deg, #2f74ff, #0e3ba3);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 24px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 59, 163, 0.5);
  animation: donate-pulse 2.6s ease-in-out infinite;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-donate svg {
  flex-shrink: 0;
}

.btn-donate:hover {
  background: #0e3ba3;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(14, 59, 163, 0.7);
  animation-play-state: paused;
}

@keyframes donate-pulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(14, 59, 163, 0.5);
  }
  50% {
    box-shadow: 0 4px 18px rgba(14, 59, 163, 0.8), 0 0 0 6px rgba(47, 116, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-donate {
    animation: none;
  }
}

/* Dropdown nav */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.7em;
  opacity: 0.6;
}

.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  padding: 6px 0;
  list-style: none;
  border-top: 3px solid var(--gold);
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--terracotta-dark);
}

/* Page hero (profile / leadership pages) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 24px 50px;
}

.page-hero .back-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.page-hero .back-link:hover {
  color: #fff;
}

.page-hero .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--red-light);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 560px;
}

/* Page sections */
.page-section {
  padding: 60px 0;
}

.page-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  margin-top: 10px;
}

/* News page */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.news-article {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eadfca;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.news-article img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.news-article-photos {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-article-photos img {
  width: 100%;
  flex: 1 1 50%;
  min-height: 110px;
  object-fit: cover;
  display: block;
}

.news-article-body {
  padding: 26px 28px;
}

.news-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-article h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-article p {
  color: #4a4038;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-article p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .news-article {
    grid-template-columns: 1fr;
  }
  .news-article img {
    min-height: 180px;
  }
}

/* Profile page */
.profile-intro p {
  max-width: 720px;
  font-size: 1.05rem;
  color: #4a4038;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.fact-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #eadfca;
}

.fact-year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 6px;
}

.fact-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 10px;
}

.fact-card p {
  font-size: 0.9rem;
  color: #5a5048;
  line-height: 1.6;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.focus-item {
  display: block;
  background: var(--cream);
  border-radius: 10px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.focus-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.focus-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.focus-item p {
  font-size: 0.85rem;
  color: #5a5048;
  line-height: 1.5;
}

/* Leadership page */
.leadership-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.leadership-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.leadership-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 14px;
}

.leadership-title {
  font-size: 0.85rem;
  color: #7a6a5a;
  margin-top: 4px;
}

.leadership-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--terracotta-dark);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 16px 0 24px;
  line-height: 1.6;
}

.leadership-text p {
  font-size: 1rem;
  color: #4a4038;
  line-height: 1.75;
}

/* Reusable pill tag (used on support/sponsor pages) */
.pill-tag {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Success stories */
.story-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.story-block:not(:last-child) {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid #e8ddd0;
}

.story-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
}

.story-job-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.story-meta {
  font-size: 0.85rem;
  color: #7a6a5a;
  margin-top: 10px;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  max-width: 720px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  opacity: 0.4;
}

.timeline-year {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.2;
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  padding-top: 18px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: #5a5048;
  line-height: 1.7;
}

.social-icon {
  display: inline-flex;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-icon svg {
  display: block;
  border-radius: 6px;
}

.social-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 4px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(26, 19, 13, 0.35) 0%, rgba(26, 19, 13, 0.68) 100%), url("images/hero.jpg") center 15% / cover no-repeat;
  color: #fff;
  padding: 130px 24px 100px;
  text-align: center;
}

.hero .motto {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.14;
  margin-bottom: 10px;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.45);
}

.hero .sub {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 10px;
}

.hero p.lead {
  max-width: 620px;
  margin: 18px auto 28px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--navy);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.btn.outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  margin-left: 10px;
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Sections */
section {
  padding: 70px 0;
}

h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-tag {
  color: var(--terracotta-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.about-grid .about-logo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: block;
  box-shadow: none;
}

.about-text h2 {
  text-align: left;
}

.about-profile-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.about-profile-link:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.badge {
  background: var(--cream);
  border: 1px solid #eadfca;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
}

.badge strong {
  display: block;
  color: var(--green);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.badge span {
  font-size: 0.82rem;
  color: #4a4038;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 4px solid var(--terracotta);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.card-body { padding: 22px; }

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(33, 39, 54, 0.12);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--terracotta-dark);
}

.card:nth-of-type(1) {
  border-top-color: var(--gold-dark);
}

.card:nth-of-type(1) h3 {
  color: var(--gold-dark);
}

.card:nth-of-type(2) {
  border-top-color: var(--green);
}

.card:nth-of-type(2) h3 {
  color: var(--green);
}

.card:nth-of-type(3) {
  border-top-color: var(--gold);
}

.card:nth-of-type(3) h3 {
  color: var(--gold-dark);
}

.card p {
  font-size: 0.92rem;
  color: #4a4038;
}

/* Ways to Send Your Support: fully trust-blue accents and background */
#ways-to-give h2,
#ways-to-give .section-tag,
#ways-to-give .give-extra-item h4,
#ways-to-give .give-brand {
  color: #123a91;
}

#ways-to-give .give-details {
  background: #dfe9f9;
}

#ways-to-give .give-extra {
  border-top-color: #cddaf0;
}

#ways-to-give .copy-row {
  border-bottom-color: #cddaf0;
}

#ways-to-give .card:nth-of-type(1) {
  border-top-color: #123a91;
}

#ways-to-give .card:nth-of-type(1) h3 {
  color: #123a91;
}

#ways-to-give .card:nth-of-type(2) {
  border-top-color: #165bfb;
}

#ways-to-give .card:nth-of-type(2) h3 {
  color: #165bfb;
}

#ways-to-give .cards {
  grid-template-columns: repeat(2, 1fr);
}

#ways-to-give .btn {
  background: linear-gradient(135deg, #2f74ff, #0e3ba3);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 59, 163, 0.35);
}

#ways-to-give .btn:hover {
  background: #0e3ba3;
  box-shadow: 0 8px 18px rgba(14, 59, 163, 0.45);
}

.give-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 10px;
}

.give-details p {
  margin: 0;
}

.give-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e8ddc8;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.98rem;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon.bank-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #123a91;
  color: #fff;
}

.brand-icon.mtn-icon,
.brand-icon.airtel-icon {
  min-width: 56px;
  height: 22px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  font-style: normal;
}

.brand-icon.mtn-icon { background: #ffcb05; color: #1a1305; }
.brand-icon.airtel-icon { background: #ed1c24; color: #fff; }

.copy-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 0;
  border-bottom: 1px solid #efe4d0;
}

.copy-row:last-child {
  border-bottom: none;
}

.copy-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a7f74;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.copy-row-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  color: #2a2018;
  font-size: 0.98rem;
}

.copy-row-value.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  letter-spacing: 0.02em;
}

.copy-row-value.pending {
  font-weight: 600;
  font-style: italic;
  color: #a89a86;
  font-size: 0.82rem;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: #fff;
  color: #123a91;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #165bfb;
  color: #fff;
}

.copy-btn svg {
  width: 12px;
  height: 12px;
}

.copy-btn .copy-label-done {
  display: none;
}

.copy-btn.copied {
  background: #2f9e58;
  color: #fff;
}

.copy-btn.copied .copy-label {
  display: none;
}

.copy-btn.copied .copy-label-done {
  display: inline;
}

@media (max-width: 480px) {
  .copy-row {
    flex-wrap: wrap;
  }
  .copy-row-value {
    margin-left: auto;
  }
}

.give-note {
  margin-top: 12px;
  font-style: italic;
  font-size: 0.85rem;
  color: #8a7f74;
}

.give-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  background: #eaf1ff;
  border: 1px solid #b9cdf5;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #123a91;
  line-height: 1.45;
}

.give-alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.give-extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed #ddd0c0;
}

.give-extra-item h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--terracotta-dark);
  margin-bottom: 6px;
}

.give-extra-item p {
  font-size: 0.88rem;
  color: #6b6058;
}

@media (max-width: 700px) {
  .give-extra {
    grid-template-columns: 1fr;
  }
}

/* Objectives */
.objectives-list {
  margin-top: 36px;
  display: grid;
  gap: 14px;
  list-style: none;
  counter-reset: objective;
}

.objectives-list li {
  counter-increment: objective;
  background: #fff;
  border-left: 4px solid var(--terracotta);
  border-radius: 8px;
  padding: 16px 20px 16px 52px;
  font-size: 0.95rem;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.objectives-list li::before {
  content: counter(objective);
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--terracotta-dark);
  font-weight: 800;
}

.objectives-list li:nth-child(4n+1) { border-left-color: var(--navy); }
.objectives-list li:nth-child(4n+1)::before { color: var(--navy); }
.objectives-list li:nth-child(4n+2) { border-left-color: var(--green); }
.objectives-list li:nth-child(4n+2)::before { color: var(--green); }
.objectives-list li:nth-child(4n+3) { border-left-color: var(--gold); }
.objectives-list li:nth-child(4n+3)::before { color: var(--gold-dark); }

/* Quote block */
.quote-block {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.quote-block img {
  width: 180px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.quote-block blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}

.quote-block cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  color: var(--terracotta-dark);
}

/* Who We Support */
.who-we-support {
  background: var(--cream);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.support-col {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.support-col img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.support-col-body {
  padding: 26px 28px;
}

.support-col.welcome {
  border-top: 4px solid var(--green);
}

.support-col.limited {
  border-top: 4px solid var(--gold);
}

.support-col h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.support-col.welcome h3 {
  color: var(--green);
}

.support-col.limited h3 {
  color: var(--gold-dark);
}

.support-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.support-col li {
  padding-left: 26px;
  position: relative;
}

.support-col.welcome li a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.support-col.welcome li a:hover {
  color: var(--terracotta);
  text-decoration: underline;
}

.support-col.welcome li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.support-col.limited p {
  font-size: 0.95rem;
}

.support-condition {
  margin-top: 16px;
  font-size: 0.88rem;
  color: #4a4038;
  border-top: 1px dashed #eadfca;
  padding-top: 12px;
}

.support-condition a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
}

.support-condition a:hover {
  text-decoration: underline;
}

.admission-process {
  margin-top: 40px;
  text-align: center;
}

.admission-process h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admission-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admission-step {
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 10px;
  padding: 16px 20px;
  width: 180px;
  min-height: 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid #eadfca;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admission-step p {
  font-size: 0.85rem;
  color: #4a4038;
  margin: 0;
  line-height: 1.4;
}

.admission-arrow {
  font-size: 1.4rem;
  color: var(--gold-dark);
  font-weight: 700;
}

.support-note {
  text-align: center;
  margin-top: 30px;
  font-weight: 700;
  color: var(--navy);
}

.support-note a {
  text-decoration: underline;
}

/* Programs page */
.programs-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.program-card {
  border-bottom: 1px solid #eadfca;
  padding-bottom: 48px;
  scroll-margin-top: 90px;
}

#our-reality,
#ways-to-give {
  scroll-margin-top: 90px;
}

.program-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.program-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.program-row {
  display: flex;
  gap: 32px;
  align-items: center;
}

.program-card:nth-child(even) .program-row {
  flex-direction: row-reverse;
}

.program-photo {
  flex: 0 0 auto;
  height: 270px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  border-radius: 12px;
}

.program-photo-group {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.program-photo-group .program-photo {
  margin: 0;
}

.program-text {
  flex: 1;
  min-width: 0;
}

.program-card p {
  font-size: 0.98rem;
  color: #4a4038;
  line-height: 1.75;
}

.program-card p + p {
  margin-top: 12px;
}

.program-video-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.program-video {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.program-video img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.program-video.vertical {
  width: 120px;
}

.program-video.vertical img {
  aspect-ratio: 9 / 16;
}

.program-video .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.program-video .play-button svg {
  width: 100%;
  display: block;
}

.program-video:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

.program-video-info {
  flex: 1;
  min-width: 160px;
}

.program-video-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e51e25;
  margin-bottom: 6px;
}

.program-video-info p {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.4;
}

/* Conditions page */
.conditions-intro {
  font-size: 1rem;
  color: #5a5048;
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.7;
  border-left: 4px solid var(--gold);
  padding-left: 18px;
}

.conditions-intro a {
  color: var(--terracotta-dark);
  font-weight: 600;
}

.condition-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.condition-card {
  padding: 40px 0;
  border-bottom: 1px solid #eadfca;
  scroll-margin-top: 90px;
}

.condition-card:last-child {
  border-bottom: none;
}

.condition-row {
  display: flex;
  gap: 32px;
  align-items: center;
}

.condition-photo {
  flex: 0 0 auto;
  height: 270px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  border-radius: 12px;
}

.condition-photo-group {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.condition-photo-group .condition-photo {
  margin: 0;
}

.condition-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.condition-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}

.condition-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.condition-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--terracotta-dark);
  margin-bottom: 20px;
}

.condition-text {
  flex: 1;
  min-width: 0;
}

.condition-text h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 10px;
}

.condition-text h3:not(:first-child) {
  margin-top: 20px;
}

.condition-text p {
  font-size: 0.95rem;
  color: #4a4038;
  line-height: 1.75;
}

.condition-text p + p {
  margin-top: 12px;
}

/* Services */
.services {
  background: #fff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin-top: 20px;
}

.service-list li {
  background: var(--cream);
  border-radius: 8px;
  padding: 18px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border: 1px solid #eadfca;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-list li:hover {
  border-color: var(--terracotta);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.service-list li a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.classes-note {
  text-align: center;
  margin-top: 26px;
  font-weight: 600;
  color: var(--green);
}

/* Gallery */
#gallery,
#full-gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.gallery-cta {
  text-align: center;
  margin-top: 30px;
}

.gallery-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eadfca;
}

.gallery-year-group + .gallery-year-group .gallery-year {
  margin-top: 40px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--terracotta-dark);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Contact */
.contact {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.contact h2 {
  color: #fff;
}

.contact .section-tag {
  color: var(--red-light);
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-item {
  max-width: 320px;
}

.contact-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-item a {
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.contact .btn {
  margin-top: 34px;
  background: #fff;
  color: var(--navy);
}

.contact .btn:hover {
  background: var(--red-light);
}

/* Map embed */
.map-wrap {
  margin-top: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.map-embed {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  display: block;
  pointer-events: none;
  border: 0;
}

.map-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 19, 13, 0.82);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  text-align: center;
}

/* Facebook embed */
#news {
  background: #fff;
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.fb-embed-wrap {
  display: flex;
  justify-content: center;
}

.ig-embed-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ig-embed-wrap iframe {
  border-radius: 8px;
}

.ig-fallback {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e1306c;
  text-decoration: none;
}

.ig-fallback:hover {
  text-decoration: underline;
}

.news-teaser {
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 14px;
  overflow: hidden;
  width: 350px;
  max-width: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.news-teaser img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.news-teaser-body {
  padding: 18px 20px;
}

.news-teaser-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-teaser-body p {
  font-size: 0.85rem;
  color: #4a4038;
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-teaser-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  text-decoration: none;
}

.news-teaser-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: #cdd8e8;
  text-align: center;
  padding: 28px 24px;
  font-size: 0.88rem;
}

.footer-bottom {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  font-size: 0.78rem;
  color: rgba(205, 216, 232, 0.55);
}

footer .slogan {
  color: var(--red-light);
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: var(--red-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Overlays (detail modal + lightbox) */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26, 19, 13, 0.8);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.overlay.open {
  display: flex;
}

.modal-panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-panel h3 {
  color: var(--terracotta-dark);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.modal-panel p {
  font-size: 0.95rem;
  color: #4a4038;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #999;
}

.modal-media {
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
}

.modal-media img {
  width: 100%;
  display: block;
}

.modal-media span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: var(--cream);
  border: 1px dashed #cdbfa3;
  border-radius: 10px;
  color: #9a8b6c;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox img.show {
  opacity: 1;
  transform: scale(1);
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lb-prev {
  left: 20px;
}

.lb-next {
  right: 20px;
}

@media (max-width: 980px) {
  /* Narrow desktop/tablet: drop social icons, shorten logo and tighten links so nothing wraps or overflows before the mobile layout kicks in */
  .nav-social {
    display: none;
  }
  .logo-full {
    display: none;
  }
  .logo-short {
    display: inline;
  }
  .nav-links {
    gap: 12px;
    font-size: 0.82rem;
  }
  .btn-donate {
    margin-left: 10px;
    padding: 7px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 800px) {
  /* Mobile nav: hamburger-collapsed menu */
  .nav {
    position: relative;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid #f0ece2;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    padding: 6px 24px 16px;
    font-size: 0.95rem;
    z-index: 50;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #f2ece0;
  }
  .has-dropdown::after {
    display: none;
  }
  .has-dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 4px 16px;
  }
  .dropdown-menu li a {
    padding: 10px 0;
    border-bottom: none;
  }

  /* Principal page: stack photo above text */
  .leadership-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .leadership-photo {
    text-align: center;
  }
  .leadership-photo img {
    max-width: 220px;
    width: 220px;
  }

  .logo-full {
    display: none;
  }
  .nav-social {
    display: none;
  }
  .btn-donate {
    margin-left: 10px;
    padding: 7px 16px;
    font-size: 0.8rem;
  }
  .logo-short {
    display: inline;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .trust-badges {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    gap: 28px;
  }
  .quote-block {
    flex-direction: column;
    text-align: center;
  }
  .lb-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .lb-prev {
    left: 6px;
  }
  .lb-next {
    right: 6px;
  }
  .modal-panel {
    padding: 26px;
  }
}

@media (max-width: 420px) {
  .nav {
    padding: 12px 16px;
  }
  .logo {
    gap: 6px;
    font-size: 1rem;
  }
  .logo-img {
    height: 30px;
    width: 30px;
  }
  .btn-donate {
    margin-left: 6px;
    padding: 6px 12px;
    font-size: 0.72rem;
  }
}

/* ─── Contact page ─── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-col h2,
.contact-info-col h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-form-note {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #d8cfc5;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fafaf8;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
}

.form-submit {
  align-self: flex-start;
  margin-top: 4px;
}

.info-block {
  margin-bottom: 24px;
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.info-block p,
.info-block a {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.info-block a {
  color: var(--navy);
  text-decoration: none;
}

.info-block a:hover {
  color: var(--terracotta);
}

.contact-social-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 16px 8px 10px;
  border: 1.5px solid #d8cfc5;
  border-radius: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.contact-social-link:hover {
  border-color: var(--terracotta);
  background: var(--cream);
  color: var(--terracotta);
}

@media (max-width: 700px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ─── Mobile layout fixes ─── */
@media (max-width: 800px) {
  /* Hero: adjust photo position so faces aren't cropped */
  .hero {
    background-position: center 40%;
    padding: 100px 20px 80px;
  }

  /* Sub-pages hero */
  .page-hero {
    padding: 50px 20px 36px;
  }
  .page-hero h1 {
    font-size: 1.9rem;
  }

  /* Centre Profile: 3-col → 1-col */
  .profile-facts {
    grid-template-columns: 1fr;
  }

  /* Focus grid: 3-col → 2-col */
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Program cards: photo + text → stacked, no left/right alternation on mobile */
  .program-row,
  .program-card:nth-child(even) .program-row {
    flex-direction: column;
    align-items: stretch;
  }
  .program-photo {
    flex: 0 0 auto;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 320px;
    margin: 0 auto;
  }
  .program-photo-group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .program-photo-group .program-photo {
    height: auto;
    max-height: 220px;
    max-width: 47%;
  }

  /* Conditions: photo + text → stacked */
  .condition-row {
    flex-direction: column;
    align-items: stretch;
  }
  .condition-photo {
    flex: 0 0 auto;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 320px;
    margin: 0 auto;
  }
  .condition-photo-group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .condition-photo-group .condition-photo {
    height: auto;
    max-height: 220px;
    max-width: 47%;
  }

  /* Admission steps: stack vertically, hide arrows */
  .admission-steps {
    flex-direction: column;
    align-items: center;
  }
  .admission-step {
    width: 100%;
    max-width: 340px;
  }
  .admission-arrow {
    transform: rotate(90deg);
    font-size: 1.1rem;
  }

  /* Leadership timeline: tighten */
  .timeline-item {
    padding-left: 48px;
  }

  /* Wrap hero buttons to avoid overflow */
  .hero .btn {
    display: inline-block;
    margin: 6px 4px;
  }
}

@media (max-width: 600px) {
  /* Service list: 2-col → 1-col */
  .service-list {
    grid-template-columns: 1fr;
  }

  /* Focus grid: 2-col → 1-col */
  .focus-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery: keep 2-col on small phones */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Hero text tighter */
  .hero h1 {
    font-size: 1.85rem;
  }
  .hero p.lead {
    font-size: 0.95rem;
  }

  /* Objectives list tighter */
  .objectives-list {
    padding-left: 0;
  }
  .objectives-list li {
    padding: 14px 16px 14px 48px;
  }

  /* Contact items: stack cleanly */
  .contact-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 4px;
  }
  .contact-item {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 420px) {
  /* Hero: smaller padding and font */
  .hero {
    padding: 80px 16px 60px;
    background-position: center 40%;
  }
  .hero h1 {
    font-size: 1.65rem;
  }
  .hero .motto {
    font-size: 0.72rem;
  }
  .hero p.lead {
    font-size: 0.88rem;
  }

  /* Page hero tighter */
  .page-hero {
    padding: 40px 16px 28px;
  }
  .page-hero h1 {
    font-size: 1.6rem;
  }

  /* Gallery: 1-col on very small screens */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  /* Wrap text cleanly */
  .support-note {
    font-size: 0.88rem;
  }
  .classes-note {
    font-size: 0.88rem;
  }
}

/* ==========================================================
   Shared "playful" component library (squiggle, stats, icon
   grid, photo splits, page-hero wave, entrance animation,
   floating blobs) — used across support-us.html and index.html,
   available site-wide.
   ========================================================== */

.squiggle { display: block; margin-bottom: 10px; }

.page-hero { position: relative; overflow: hidden; padding-bottom: 90px; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; display: block; }
.hero { position: relative; overflow: hidden; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat-card { background: var(--gold-dark); border-radius: 18px; overflow: hidden; text-align: center; color: #fff; transition: transform 0.2s ease; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.stat-card-body { padding: 20px 16px; }
.stat-card .num { font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.stat-card .label { font-size: 0.9rem; font-weight: 700; }
.stat-card .stat-note { font-size: 0.72rem; font-weight: 600; opacity: 0.8; margin-top: 4px; }

.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 24px; }
.icon-item { text-align: center; }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: transform 0.2s ease; }
.icon-item:hover .icon-circle { transform: scale(1.08); }
.icon-item p { font-size: 0.95rem; max-width: none; margin: 0 auto; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.split.reverse .split-photo { order: -1; }

.qa-list { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; max-width: 720px; }
.qa-item h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.qa-item p { margin: 0; }
.split-photo img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: 20px; display: block; }

.split-photo-group { display: flex; gap: 10px; height: 360px; }
.split-photo-group img { width: auto; max-width: calc(50% - 5px); height: 100%; object-fit: contain; background: var(--cream); }
.split-text p { max-width: none; }

/* Decorative floating blobs */
.blob { position: absolute; border-radius: 50%; opacity: 0.5; animation: float 6s ease-in-out infinite; z-index: 0; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-16px) translateX(8px); }
}

/* Entrance fade-up animation */
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.fade-up.d1 { animation-delay: 0.08s; }
.fade-up.d2 { animation-delay: 0.18s; }
.fade-up.d3 { animation-delay: 0.28s; }
.fade-up.d4 { animation-delay: 0.38s; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-photo { order: 0; }
  .split-photo img { max-height: 260px; }
  .split-photo-group { height: 260px; }
}
@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr; }
}
