    :root {
      --primary: #0d3b66;
      --primary-2: #1d5f96;
      --accent: #f4a261;
      --accent-2: #ffd6a5;
      --bg: #f6f9fc;
      --text: #1f2937;
      --muted: #5b6472;
      --card: #ffffff;
      --card1: #F7F1E9;
      --card2: #F6EFE7;
      --border: #e5ebf3;
      --success: #2a9d8f;
      --danger: #c44536;
      --shadow: 0 20px 50px rgba(13, 59, 102, 0.12);
      --radius: 18px;
      --radius-sm: 12px;
      --container: 1160px;
      --line: rgba(42,37,34,.12);
      --brown: #7B5A4C;
      --brown2: #6B4C40;
      --white: #ffffff;
      --navy: #0d3b66;
      --navy2: #1d5f96;
      --shadow-lg: 0 20px 50px rgba(13,59,102,.14);
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
      color: var(--text);
      background: var(--bg);
      scroll-behavior: smooth;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: min(100% - 2.4rem, var(--container));
      margin-inline: auto;
    }

    .topbar {
      background: #082843;
      color: #e8f3ff;
      font-size: 0.9rem;
    }

    .topbar-inner {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      padding: 0.4rem 0;
    }

    .topbar p {
      margin: 0;
    }

    .top-actions {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .top-actions a {
      color: #fff;
      opacity: 0.95;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s ease;
    }

    .top-actions a:hover {
      border-color: #fff;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .brand img {
      width: 42px;
      height: 42px;
      object-fit: contain;
    }

    .brand strong {
      font-size: 0.98rem;
      display: block;
      line-height: 1.3;
      color: var(--primary);
      letter-spacing: 0.2px;
    }

    .brand .brand-short {
      display: none;
      font-size: 0.96rem;
      line-height: 1.3;
      color: var(--primary);
    }

    .header-controls {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-left: auto;
    }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid #c8d6e8;
      border-radius: 10px;
      background: #fff;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      cursor: pointer;
    }

    .menu-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--primary);
      border-radius: 99px;
      transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .site-header.nav-open .menu-toggle span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .site-header.nav-open .menu-toggle span:nth-child(2) {
      opacity: 0;
    }

    .site-header.nav-open .menu-toggle span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    nav ul {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      align-items: center;
      gap: 1.1rem;
      flex-wrap: wrap;
    }

    nav li {
      position: relative;
    }

    nav a {
      font-size: 0.94rem;
      color: #263444;
      font-weight: 600;
    }

    nav a:hover {
      color: var(--primary-2);
    }

    .submenu-toggle {
      font-size: 0.94rem;
      color: #263444;
      font-weight: 600;
      background: transparent;
      border: 0;
      padding: 0;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .submenu-toggle::after {
      content: "▾";
      font-size: 0.7rem;
      transform: translateY(1px);
      transition: transform 0.2s ease;
    }

    .has-submenu.submenu-open > .submenu-toggle::after {
      transform: rotate(180deg) translateY(-1px);
    }

    .submenu {
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      min-width: 240px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 16px 32px rgba(8, 40, 67, 0.14);
      padding: 0.5rem;
      display: none;
      z-index: 20;
    }

    .has-submenu.submenu-open > .submenu {
      display: grid;
      gap: 0.15rem;
    }

    @media (min-width: 761px) {
      .has-submenu:hover > .submenu,
      .has-submenu:focus-within > .submenu {
        display: grid;
        gap: 0.15rem;
      }

      .has-submenu:hover > .submenu-toggle::after,
      .has-submenu:focus-within > .submenu-toggle::after {
        transform: rotate(180deg) translateY(-1px);
      }
    }

    .submenu a {
      display: block;
      padding: 0.55rem 0.65rem;
      border-radius: 8px;
      font-size: 0.9rem;
      font-weight: 600;
    }

    .submenu a:hover {
      background: #eef5fc;
      color: var(--primary);
    }

    .mobile-only {
      display: none;
    }

    .mobile-only a.mobile-donate {
      display: block;
      text-align: center;
      margin-top: 0.3rem;
      border-radius: 999px;
      padding: 0.7rem 1rem;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      color: #fff;
      font-weight: 700;
      box-shadow: 0 10px 24px rgba(13, 59, 102, 0.2);
    }

    .mobile-only a.mobile-donate:hover {
      background: linear-gradient(135deg, #0b3358, #174f7b);
      color: #fff;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      border-radius: 999px;
      font-weight: 700;
      padding: 0.78rem 1.2rem;
      border: 1px solid transparent;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      cursor: pointer;
      white-space: nowrap;
      font-size: 0.92rem;
    }

    .btn:hover {
      transform: translateY(-1px);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      color: #fff;
      box-shadow: 0 10px 24px rgba(13, 59, 102, 0.25);
    }

    .btn-secondary {
      color: var(--primary);
      border-color: #c8d6e8;
      background: #fff;
    }

    .hero {
      background:
        linear-gradient(120deg, rgba(13, 59, 102, 0.92), rgba(8, 40, 67, 0.9)),
        url("../images/learning-wellness.png") center/cover no-repeat;
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0 0;
      height: 120px;
      background: linear-gradient(to top, rgba(246, 249, 252, 1), rgba(246, 249, 252, 0));
    }

    .hero-grid {
      min-height: 86vh;
      padding: 5.5rem 0 8rem;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 2rem;
      align-items: end;
      position: relative;
      z-index: 1;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 999px;
      padding: 0.35rem 0.8rem;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.4px;
      text-transform: uppercase;
      background: rgba(255, 255, 255, 0.08);
      margin-bottom: 1rem;
    }

    h1 {
      margin: 0;
      font-size: clamp(2rem, 4.6vw, 3.9rem);
      line-height: 1.1;
      max-width: 15ch;
    }

    .hero p {
      font-size: clamp(1rem, 1.8vw, 1.18rem);
      line-height: 1.75;
      color: #deebf8;
      max-width: 62ch;
      margin: 1.1rem 0 1.8rem;
    }

    .hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-bottom: 1.5rem;
    }

    .microproof {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      flex-wrap: wrap;
      color: #d1e5f8;
      font-size: 0.92rem;
    }

    .microproof strong {
      color: #fff;
    }

    .hero-card {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: var(--radius);
      padding: 1.2rem;
      backdrop-filter: blur(8px);
      box-shadow: var(--shadow);
      max-width: 420px;
      justify-self: end;
    }

    .hero-card h3 {
      margin: 0;
      font-size: 1.1rem;
    }

    .hero-card p {
      margin: 0.8rem 0 1rem;
      font-size: 0.95rem;
      color: #e6f2ff;
      line-height: 1.6;
    }

    .priority-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.6rem;
      margin-top: 0.8rem;
    }

    .priority-item {
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      padding: 0.65rem;
      font-size: 0.86rem;
      color: #e4f0ff;
      background: rgba(0, 0, 0, 0.12);
    }

    .section {
      padding: 4.3rem 0;
    }

    .section-heading {
      margin: 0 0 0.8rem;
      color: var(--primary);
      font-size: clamp(1.7rem, 3vw, 2.4rem);
      line-height: 1.2;
    }

    .section-sub {
      margin: 0;
      color: var(--muted);
      line-height: 1.8;
      max-width: 72ch;
    }

    .quick-stats {
      margin-top: 2rem;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
    }

    .stat {
      background: #fff;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      padding: 1.1rem;
      box-shadow: 0 10px 26px rgba(13, 59, 102, 0.06);
    }

    .stat strong {
      display: block;
      font-size: 1.6rem;
      color: var(--primary);
      line-height: 1.1;
      margin-bottom: 0.4rem;
    }

    .stat span {
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.45;
    }

    .focus-grid {
      margin-top: 2rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .focus-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.3rem;
      box-shadow: 0 14px 30px rgba(13, 59, 102, 0.06);
    }

    .focus-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 800;
      margin-bottom: 0.8rem;
      border-radius: 999px;
      padding: 0.32rem 0.62rem;
      background: #eaf3ff;
      color: var(--primary);
    }

    .focus-card h3 {
      margin: 0;
      font-size: 1.2rem;
      color: #122235;
    }

    .focus-card p {
      margin: 0.7rem 0 0;
      color: var(--muted);
      line-height: 1.75;
    }

    .work-grid {
      margin-top: 2rem;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
    }

    .work-card {
      overflow: hidden;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: 0 12px 28px rgba(13, 59, 102, 0.08);
      display: grid;
      grid-template-rows: 190px auto;
    }

    .work-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .work-card-content {
      padding: 1rem;
    }

    .work-card h4 {
      margin: 0;
      font-size: 1.04rem;
      color: #122235;
    }

    .work-card p {
      margin: 0.55rem 0 1rem;
      color: var(--muted);
      line-height: 1.65;
      font-size: 0.94rem;
    }

    .story-wrap {
      margin-top: 2rem;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: var(--shadow);
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 1.2fr;
    }

    .story-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 100%;
    }

    .story-content {
      padding: 1.6rem;
    }

    .quote {
      margin: 0;
      font-size: 1.06rem;
      line-height: 1.85;
      color: #28384a;
      border-left: 4px solid var(--accent);
      padding-left: 0.9rem;
    }

    .story-meta {
      margin-top: 1rem;
      color: var(--muted);
      font-size: 0.92rem;
    }

    /* =========================
   Mission / Vision / Values
   ========================= */

.mission-vision .mv-head {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-vision .mv-sub {
  margin: 0.6rem auto 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #12304e;
  font-size: 1.05rem;
}

.mission-vision .mv-desc {
  margin: 0.9rem auto 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
  max-width: 75ch;
}

/* 3 cards grid */
.mv-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* PREMIUM CARD STYLE */
.mv-card {
  position: relative;
  overflow: hidden;

  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: var(--radius);

  padding: 1.35rem;

  box-shadow:
    0 18px 50px rgba(13, 59, 102, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;

  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

/* Gradient top strip */
.mv-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 14px;
  height: 3px;
  border-radius: 999px;

  background: linear-gradient(90deg, var(--primary), var(--accent), #ffffff);
  opacity: 0.7;
}

/* Soft corner glow */
.mv-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  top: -120px;
  right: -120px;

  background: radial-gradient(circle, rgba(255, 214, 165, 0.35), transparent 60%);
  opacity: 0.7;
  pointer-events: none;

  transform: translate3d(0,0,0);
  transition: opacity 240ms ease;
}

.mv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 59, 102, 0.22);

  box-shadow:
    0 26px 70px rgba(13, 59, 102, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.mv-card:hover::after {
  opacity: 1;
}

/* Premium icon */
.mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;

  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border: 1px solid rgba(13, 59, 102, 0.14);

  box-shadow:
    0 14px 30px rgba(13, 59, 102, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;

  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.mv-card:hover .mv-icon {
  transform: translateY(-2px) rotate(-2deg);
  border-color: rgba(255, 214, 165, 0.7);

  box-shadow:
    0 20px 44px rgba(13, 59, 102, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.mv-card:active {
  transform: translateY(-2px) scale(0.995);
}

/* Better typography spacing */
.mv-card h3 {
  margin: 0;
  font-size: 1.18rem;
  color: #0f2236;
  letter-spacing: 0.1px;
}

.mv-card p {
  margin: 0.75rem 0 0;
  color: #4f5d6f;
  line-height: 1.78;
  font-size: 0.96rem;
}

/* card text */
.mv-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #122235;
}

.mv-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

/* =========================
   SDG Section (Official)
   ========================= */

.sdg-section .sdg-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.sdg-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

/* SDG Card */
.sdg-card {
  position: relative;
  overflow: hidden;

  background: #fff;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: var(--radius);

  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(13, 59, 102, 0.07);

  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

/* Official SDG color bar */
.sdg-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  width: 100%;
  background: var(--sdg-color, var(--primary));
}

/* soft corner glow */
.sdg-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  top: -140px;
  right: -140px;

  background: radial-gradient(circle, rgba(0, 0, 0, 0.06), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.sdg-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 59, 102, 0.22);
  box-shadow: 0 26px 70px rgba(13, 59, 102, 0.14);
}

/* Top row inside card */
.sdg-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.sdg-no {
  width: 42px;
  height: 42px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  font-weight: 1000;
  font-size: 1.05rem;
  color: #fff;
  background: var(--sdg-color, var(--primary));
  box-shadow: 0 14px 30px rgba(13, 59, 102, 0.14);
}

.sdg-label {
  font-weight: 900;
  color: #0f2236;
  font-size: 1.02rem;
  line-height: 1.25;
}

.sdg-card p {
  margin: 0.65rem 0 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.sdg-card .btn {
  width: 100%;
  justify-content: center;
}

/* Official SDG colors (close enough for web use) */
.sdg-4  { --sdg-color: #C5192D; } /* Quality Education */
.sdg-3  { --sdg-color: #4C9F38; } /* Good Health */
.sdg-5  { --sdg-color: #FF3A21; } /* Gender Equality */
.sdg-10 { --sdg-color: #DD1367; } /* Reduced Inequalities */

/* SDG CTA band */
.sdg-cta {
  margin-top: 1.8rem;
  padding: 1.5rem 1.5rem;

  border-radius: var(--radius);
  border: 1px solid rgba(13, 59, 102, 0.12);

  background: linear-gradient(135deg, #ffffff, #f3f8ff);
  box-shadow: 0 18px 50px rgba(13, 59, 102, 0.06);

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: center;
}

.sdg-cta h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #0f2236;
  line-height: 1.25;
}

.sdg-cta p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.sdg-cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* =========================
   Stories of Change (Slider)
   ========================= */

.story-section .story-head{
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.6rem;
}

.story-slider{
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
}

/* Track */
.story-track{
  display: flex;
  gap: 0;
  transition: transform 650ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

/* Each slide */
.story-slide{
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;

  background: linear-gradient(135deg, #ffffff, #f6fbff);
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: calc(var(--radius) + 8px);

  padding: 1.2rem;
  box-shadow: 0 26px 70px rgba(13, 59, 102, 0.10);
}

/* Media */
.story-media{
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  min-height: 320px;
  background: #eef4fb;
  border: 1px solid rgba(13, 59, 102, 0.10);
}

.story-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 700ms ease;
}

.story-slide:hover .story-media img{
  transform: scale(1.08);
}

/* Content */
.story-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.4rem 0.2rem;
}

.story-content .quote{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #122235;
  font-weight: 700;
}

.story-content .quote::before{
  content: "“";
  font-size: 2.2rem;
  line-height: 1;
  margin-right: 0.2rem;
  color: rgba(13, 59, 102, 0.35);
}

.story-content .quote::after{
  content: "”";
  font-size: 2.2rem;
  line-height: 1;
  margin-left: 0.2rem;
  color: rgba(13, 59, 102, 0.35);
}

.story-meta{
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.story-actions{
  margin-top: 1.2rem;
}

/* Nav arrows */
.story-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 46px;
  height: 46px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 59, 102, 0.18);
  box-shadow: 0 18px 40px rgba(13, 59, 102, 0.18);

  font-size: 1.8rem;
  font-weight: 900;
  color: #0f2236;

  transition: transform 220ms ease, box-shadow 220ms ease;
}

.story-nav:hover{
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 22px 55px rgba(13, 59, 102, 0.22);
}

.story-nav:active{
  transform: translateY(-50%) scale(0.98);
}

.story-nav.prev{ left: 12px; }
.story-nav.next{ right: 12px; }

/* Dots */
.story-dots{
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.story-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(13, 59, 102, 0.25);
  background: rgba(13, 59, 102, 0.12);
  cursor: pointer;

  transition: transform 220ms ease, background 220ms ease, width 220ms ease;
}

.story-dot.is-active{
  width: 28px;
  background: var(--primary);
  border-color: rgba(13, 59, 102, 0.35);
}

/* Responsive */
@media (max-width: 980px){
  .story-slide{
    grid-template-columns: 1fr;
  }

  .story-media{
    min-height: 240px;
  }

  .story-nav{
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .story-nav.prev{ left: 14px; }
  .story-nav.next{ right: 14px; }
}

@media (max-width: 1024px) {
  .sdg-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sdg-cta {
    grid-template-columns: 1fr;
  }

  .sdg-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .sdg-grid {
    grid-template-columns: 1fr;
  }

  .sdg-cta-actions .btn {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .sdg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .sdg-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

    .founder-note {
      margin-top: 2rem;
    }

    .founder-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: 0 14px 30px rgba(13, 59, 102, 0.08);
      padding: 1.6rem;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1rem;
      align-items: start;
    }

    .founder-avatar {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-weight: 800;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      box-shadow: 0 8px 18px rgba(13, 59, 102, 0.25);
      letter-spacing: 0.5px;
      font-size: 0.9rem;
    }

    .founder-content h3 {
      margin: 0;
      color: #122235;
      font-size: 1.18rem;
    }

    .founder-message {
      margin: 0.7rem 0 0;
      color: #314255;
      line-height: 1.8;
      font-size: 0.98rem;
    }

    .founder-meta {
      margin-top: 0.9rem;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.6;
    }

    .cta-band {
      padding: 4rem 0;
      background: linear-gradient(130deg, #0f3e69 0%, #13578c 45%, #0a6b74 100%);
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .cta-band::before,
    .cta-band::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      filter: blur(2px);
    }

    .cta-band::before {
      width: 260px;
      height: 260px;
      background: rgba(255, 255, 255, 0.08);
      top: -80px;
      right: -60px;
    }

    .cta-band::after {
      width: 220px;
      height: 220px;
      background: rgba(255, 214, 165, 0.16);
      bottom: -90px;
      left: -80px;
    }

    .cta-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 1.4rem;
      align-items: center;
    }

    .cta-grid h3 {
      margin: 0;
      font-size: clamp(1.6rem, 2.7vw, 2.2rem);
      line-height: 1.25;
    }

    .cta-grid p {
      margin: 0.9rem 0 0;
      color: #d9ebfb;
      line-height: 1.8;
    }

    .cta-actions {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 0.8rem;
      flex-wrap: wrap;
    }

    .cta-actions .btn-primary {
      background: #fff;
      color: var(--primary);
      box-shadow: none;
    }

    .cta-actions .btn-secondary {
      color: #fff;
      border-color: rgba(255, 255, 255, 0.55);
      background: transparent;
    }

    .trust-grid {
      margin-top: 1.8rem;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
    }

    .trust-card {
      border: 1px solid var(--border);
      background: #fff;
      border-radius: var(--radius-sm);
      padding: 1rem;
    }

    .trust-card strong {
      color: #12304e;
      display: block;
      margin-bottom: 0.4rem;
    }

    .trust-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
      font-size: 0.94rem;
    }

    .site-footer {
      padding-top: 2.4rem;
      background: #0b2339;
      color: #d6e6f7;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 1.2rem;
      padding-bottom: 2rem;
      border-bottom: 1px solid rgba(214, 230, 247, 0.15);
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      margin-bottom: 0.8rem;
    }

    .footer-brand img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }

    .site-footer h5 {
      margin: 0 0 0.75rem;
      color: #fff;
      font-size: 0.98rem;
    }

    .site-footer p,
    .site-footer li,
    .site-footer a {
      margin: 0;
      color: #c9dff5;
      line-height: 1.7;
      font-size: 0.92rem;
    }

    .site-footer ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.42rem;
    }

    .site-footer a:hover {
      color: #fff;
    }

    .footer-bottom {
      min-height: 62px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      font-size: 0.88rem;
      color: #a8c4df;
    }

    .footer-socials {
      display: flex;
      gap: 12px;
      margin-top: 16px;
    }

    .footer-socials a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.7);
      transition: background 0.2s, color 0.2s;
    }

    .footer-socials a:hover {
      background: rgba(255, 255, 255, 0.2);
      color: #fff;
    }

    .footer-legal {
      display: flex;
      gap: 0.9rem;
      flex-wrap: wrap;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 1024px) {
      .hero-grid,
      .cta-grid,
      .story-wrap {
        grid-template-columns: 1fr;
      }

      .founder-card {
        grid-template-columns: 1fr;
      }

      .hero-card {
        justify-self: start;
      }

      .quick-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .work-grid {
        grid-template-columns: 1fr 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 760px) {
      .topbar {
        font-size: 0.76rem;
      }

      .topbar-inner {
        min-height: 30px;
        padding: 0.2rem 0;
        gap: 0.35rem;
      }

      .topbar-inner,
      .footer-bottom {
        justify-content: center;
        text-align: center;
      }

      .top-actions {
        justify-content: center;
      }

      .header-inner {
        min-height: 64px;
        align-items: center;
      }

      .brand strong {
        font-size: 0.78rem;
        line-height: 1.25;
      }

      .brand .brand-full {
        display: none;
      }

      .brand .brand-short {
        display: block;
      }

      .menu-toggle {
        display: inline-flex;
      }

      .header-controls {
        position: relative;
        gap: 0.6rem;
      }

      nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(86vw, 320px);
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 18px 36px rgba(8, 40, 67, 0.18);
        padding: 0.9rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
      }

      .site-header.nav-open nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }

      nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
      }

      nav li {
        width: 100%;
      }

      nav a {
        display: block;
        padding: 0.62rem 0.7rem;
        border-radius: 8px;
      }

      .submenu-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.62rem 0.7rem;
        border-radius: 8px;
      }

      .submenu-toggle:hover {
        background: #eef5fc;
      }

      .submenu {
        position: static;
        min-width: 0;
        border-radius: 10px;
        box-shadow: none;
        border: 1px solid #e7edf5;
        margin-top: 0.2rem;
      }

      .submenu a {
        padding-left: 0.9rem;
      }

      nav a:hover {
        background: #eef5fc;
      }

      .header-donate {
        display: none;
      }

      .mobile-only {
        display: list-item;
      }

      .hero {
        background-position: center;
      }

      .hero-grid {
        min-height: auto;
        padding: 4.2rem 0 7rem;
      }

      .quick-stats,
      .focus-grid,
      .work-grid,
      .trust-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .cta-actions {
        justify-content: flex-start;
      }

      .cta-actions .btn {
        width: 100%;
      }

      .story-content,
      .founder-card,
      .focus-card,
      .work-card-content,
      .stat,
      .trust-card {
        padding: 1rem;
      }
    }

    /* =========================
   LIFE + ANIMATIONS UPGRADE
   ========================= */

:root {
  --anim-fast: 220ms;
  --anim-med: 420ms;
  --anim-slow: 720ms;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* Smooth hover / focus improvements */
.btn,
.stat,
.focus-card,
.work-card,
.trust-card,
.hero-card,
.story-wrap {
  will-change: transform;
}

/* Better button hover */
.btn {
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(0px) scale(0.98);
}

/* Soft glow on primary hover */
.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(13, 59, 102, 0.35);
}

/* Secondary hover improvement */
.btn-secondary:hover {
  border-color: #9db8d6;
  box-shadow: 0 12px 28px rgba(13, 59, 102, 0.08);
}

/* Card hover lift */
.stat:hover,
.focus-card:hover,
.work-card:hover,
.trust-card:hover,
.hero-card:hover,
.story-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(13, 59, 102, 0.14);
}

/* Work card image zoom (only if it has an image) */
.work-card img {
  transition: transform var(--anim-med) ease;
}
.work-card:hover img {
  transform: scale(1.04);
}

/* Story image zoom */
.story-wrap img {
  transition: transform var(--anim-slow) ease;
}
.story-wrap:hover img {
  transform: scale(1.03);
}

/* -------------------------
   Scroll reveal animations
   ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--anim-slow) ease, transform var(--anim-slow) ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Different reveal variants */
.reveal-left {
  transform: translateX(-18px);
}
.reveal-right {
  transform: translateX(18px);
}
.reveal-up {
  transform: translateY(18px);
}

.reveal-left.reveal-visible,
.reveal-right.reveal-visible,
.reveal-up.reveal-visible {
  transform: translate(0, 0);
}

/* Stagger effect */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--anim-slow) ease, transform var(--anim-slow) ease;
}

.reveal-stagger.reveal-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.reveal-visible > *:nth-child(1) { transition-delay: 80ms; }
.reveal-stagger.reveal-visible > *:nth-child(2) { transition-delay: 140ms; }
.reveal-stagger.reveal-stagger.reveal-visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.reveal-visible > *:nth-child(4) { transition-delay: 260ms; }
.reveal-stagger.reveal-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.reveal-visible > *:nth-child(6) { transition-delay: 380ms; }
.reveal-stagger.reveal-visible > *:nth-child(7) { transition-delay: 440ms; }
.reveal-stagger.reveal-visible > *:nth-child(8) { transition-delay: 500ms; }

/* -------------------------
   Fancy underline for nav
   ------------------------- */
nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 6px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity var(--anim-fast) ease, transform var(--anim-fast) ease;
}

nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Active nav link */
nav a.nav-active {
  color: var(--primary);
}
nav a.nav-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* -------------------------
   Back to top button
   ------------------------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(13, 59, 102, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(8, 40, 67, 0.25);
  z-index: 99;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--anim-fast) ease, transform var(--anim-fast) ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0px) scale(0.97);
}

/* =========================
   ADVANCED EFFECTS
   ========================= */

/* 1) Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 120;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffffff, var(--primary-2));
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  transition: width 90ms linear;
}

/* 2) Hero subtle wave divider */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 90px;
  background:
    radial-gradient(circle at 10% 40%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 55% 60%, rgba(255, 214, 165, 0.22), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.14), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

/* 3) Animated border for hero card */
.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(
    from 180deg,
    rgba(255, 214, 165, 0.0),
    rgba(255, 214, 165, 0.35),
    rgba(13, 59, 102, 0.35),
    rgba(255, 214, 165, 0.0)
  );
  opacity: 0.65;
  animation: spinBorder 7s linear infinite;
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

/* Keep hero-card content above border layers */
.hero-card > * {
  position: relative;
  z-index: 1;
}

@keyframes spinBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 4) Ripple effect for buttons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  animation: rippleAnim 650ms ease-out;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.btn-secondary .ripple {
  background: rgba(13, 59, 102, 0.18);
}

@keyframes rippleAnim {
  to {
    transform: scale(18);
    opacity: 0;
  }
}

/* 5) Floating donate button */
.floating-donate {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 98;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.78rem 1.05rem;
  border-radius: 999px;

  font-weight: 800;
  font-size: 0.92rem;
  color: #0b2339;

  background: linear-gradient(135deg, #fff, #fff7ef);
  border: 1px solid rgba(255, 214, 165, 0.9);
  box-shadow: 0 18px 42px rgba(8, 40, 67, 0.22);

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.floating-donate.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-donate:hover {
  transform: translateY(-2px);
}

.floating-donate:active {
  transform: translateY(0px) scale(0.98);
}

/* Keep floating buttons away from each other on mobile */
@media (max-width: 760px) {
  .floating-donate {
    left: 14px;
    bottom: 74px; /* so it doesn't collide with back-to-top */
  }
}

/* 6) Slight glow hover for cards */
.stat:hover,
.focus-card:hover,
.work-card:hover,
.trust-card:hover {
  outline: 2px solid rgba(255, 214, 165, 0.35);
  outline-offset: 2px;
}


