/* =========================================================
   SWDA — visual language inspired by yay.org.au
   Sky-blue utility bar, white nav, hero with wave divider,
   stat circles, alternating feature rows, dark footer.
   ========================================================= */

:root {
  --blue: #4FB3D9;          /* primary sky blue */
  --blue-dark: #2E8FB8;
  --blue-darker: #1F6F92;
  --coral: #F25C4D;         /* CTA / donate */
  --coral-dark: #D64537;
  --text: #1f2937;
  --text-soft: #4b5563;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f7fafc;
  --footer: #e0f4fa;
  --footer-soft: #c4e4f0;
  --border: #e5e7eb;
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Nunito', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--text-soft); }
a { color: var(--blue-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: #fff; padding: .75rem 1rem; z-index: 999;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---- top utility bar ---- */
.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: .65rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}
.topbar-social { display: flex; gap: 1rem; }
.topbar-social a {
  color: #fff;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  opacity: .95;
}
.topbar-social a:hover { color: #fff; opacity: 1; transform: translateY(-1px); }

.topbar-links {
  display: flex;
  gap: 2rem;
  margin: 0 auto;
}
.topbar-links a {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
}
.topbar-links a:hover { color: #fff; opacity: .85; }

.topbar-donate {
  background: var(--coral);
  color: #fff !important;
  padding: .85rem 1.75rem;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  border-radius: 0;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  transition: background .2s;
}
.topbar-donate:hover { background: var(--coral-dark); color: #fff !important; }

/* ---- main nav ---- */
.mainnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.mainnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--blue-dark);
  letter-spacing: -.01em;
}
.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
}

.mainnav-menu {
  margin-left: auto;
  display: flex;
  gap: 2.25rem;
}
.mainnav-menu a {
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.mainnav-menu a:hover,
.mainnav-menu a.active {
  color: var(--blue-dark);
  border-bottom-color: var(--blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: .5rem;
}
.hamburger span {
  width: 26px; height: 3px; background: var(--text); border-radius: 2px;
}

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a3550;
}
.hero-image {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,40,60,.78) 0%, rgba(20,40,60,.45) 55%, rgba(20,40,60,.15) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 7rem;
  width: 100%;
}
.hero-eyebrow {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}
.hero-title {
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 2.5rem;
  max-width: 760px;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 100px;
  z-index: 1;
}

/* ---- buttons ---- */
.btn-cta {
  display: inline-block;
  background: var(--coral);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .1em;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  transition: background .2s, transform .2s;
}
.btn-cta:hover { background: var(--coral-dark); color: #fff !important; transform: translateY(-2px); }
.btn-cta-small { padding: .75rem 1.5rem; font-size: 13px; }

.btn-link {
  display: inline-block;
  color: var(--coral);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--coral);
}
.btn-link:hover { color: var(--coral-dark); border-color: var(--coral-dark); }

/* ---- intro band ---- */
.intro {
  max-width: 980px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}
.intro h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

/* ---- stats ---- */
.stats {
  padding: 3rem 1.5rem 5rem;
}
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.stat-icon {
  color: var(--blue);
  width: 120px; height: 120px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.stat-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(79,179,217,.35);
  border-radius: 50%;
}
.stat-icon svg { width: 100%; height: 100%; }
.stat h3 {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.stat p { color: var(--text-soft); font-size: 15px; }

/* ---- feature rows ---- */
.feature { padding: 4rem 1.5rem; }
.feature-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-text h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--blue-dark);
  margin-bottom: 1.25rem;
}
.feature-text p {
  font-size: 16px;
  margin-bottom: 1.75rem;
  color: var(--text-soft);
}
.feature-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 55%;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
}
.about-section .feature-inner {
  align-items: start;
}
.about-stack {
  display: grid;
  gap: 24px;
}
.about-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.about-panel h3 {
  color: var(--blue-darker);
  font-size: 1.45rem;
  margin: 0 0 14px;
}
.about-list,
.values-list {
  margin: 0;
  padding-left: 1.25rem;
}
.about-list li,
.values-list li {
  color: var(--text-soft);
  margin-bottom: .85rem;
}
.feature-image-who {
  background-image: url('/__l5e/assets-v1/6f211390-eef2-44d8-9fa5-1d3608e1607f/u25.png');
  min-height: 540px;
  position: sticky;
  top: 110px;
}
.feature-image-what {
  background-image: url('/__l5e/assets-v1/ef85f873-8548-4af7-8330-f9afec9fa274/u7.png');
}
.feature-image-how {
  background-image: url('/__l5e/assets-v1/107629fc-6f51-4aa0-aee9-8b120149cfe4/u19.png');
}


.core-values-photo {
  margin: 24px 0 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.core-values-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---- impact band ---- */
.impact-band {
  background: var(--bg-soft);
  padding: 5rem 1.5rem;
}
.impact-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
}
.impact-circle {
  width: 280px; height: 280px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(46,143,184,.45);
}
.impact-circle span {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
}
.impact-circle small { font-size: 1rem; margin-top: .5rem; opacity: .95; }
.impact-band-text h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

/* ---- newsletter ---- */
.newsletter {
  background: var(--blue);
  color: #fff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.newsletter-inner { max-width: 720px; margin: 0 auto; }
.newsletter h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: .75rem;
}
.newsletter p { color: rgba(255,255,255,.92); margin-bottom: 2rem; font-size: 17px; }
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.newsletter-form input {
  flex: 1;
  border: 0;
  padding: .85rem 1.25rem;
  font-size: 15px;
  outline: none;
  color: var(--text);
  background: transparent;
}
.newsletter-form button {
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--coral-dark); }
.newsletter-thanks { color: #fff; font-weight: 600; }
.newsletter-prefs {
  margin-top: 1.25rem;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-checkbox {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.newsletter-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--coral);
  cursor: pointer;
}
.newsletter-privacy {
  max-width: 520px;
  margin: 1rem auto 0;
  text-align: left;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  line-height: 1.6;
}

/* ---- footer ---- */
.footer {
  background: var(--footer);
  color: var(--text);
  padding: 4rem 1.5rem 0;
}
.footer-highlights,
.footer-inner,
.footer-bottom {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.footer-highlights {
  margin-bottom: 3rem;
}
.footer-highlights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.footer-highlights-eyebrow {
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.footer-highlights h3 {
  color: var(--text);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0;
}
.footer-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.footer-highlights-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  background: var(--footer-soft);
  box-shadow: 0 18px 35px rgba(0,0,0,.18);
}
.footer-highlights-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
}
.footer-social a:hover {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-col h4 {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.footer-col p, .footer-col li, .footer-col a {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}
.footer-col ul li { margin-bottom: .35rem; }
.footer-col a:hover { color: var(--coral); }
.brand-light .brand-text strong { color: var(--text); }
.brand-light .brand-text em { color: var(--muted); }
.brand-light { margin-bottom: 1.5rem; }

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--footer-soft);
  text-align: center;
}
.footer-bottom p { color: var(--muted); font-size: 13px; margin: 0; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .topbar-links { display: none; }
  .topbar-inner { padding-right: 130px; }
  .topbar-donate { padding: .65rem 1.25rem; font-size: 12px; }

  .hamburger { display: flex; }
  .mainnav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 20px 30px rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .mainnav-menu.open { max-height: 500px; }
  .mainnav-menu a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border) !important;
  }
  .mainnav { position: relative; }

  .stats-inner { grid-template-columns: 1fr; gap: 3rem; }

  .feature-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-left .feature-image { order: -1; }
  .feature-image { max-width: 380px; margin: 0 auto; }
  .feature-image-who { position: static; min-height: 380px; }

  .impact-band-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .impact-circle { width: 220px; height: 220px; }
  .impact-circle span { font-size: 3.75rem; }

  .footer-highlights-head { flex-direction: column; align-items: flex-start; }
  .footer-highlights-grid,
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .hero { min-height: 520px; }
  .hero-inner { padding: 4rem 1.5rem 6rem; }
  .newsletter-form { flex-direction: column; border-radius: 24px; padding: 12px; gap: 8px; }
  .newsletter-form input { text-align: center; }
  .newsletter-form button { width: 100%; padding: 1rem; }
  .footer-highlights-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social { flex-wrap: wrap; }
  .brand-text em { display: none; }
}

/* ---- Homework Club ---- */
.homework { padding: 80px 24px; background: #fff; }
.homework-inner { max-width: 1180px; margin: 0 auto; }
.homework-header { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.homework-eyebrow { color: var(--blue-dark); font-weight: 800; letter-spacing: .15em; text-transform: uppercase; font-size: .85rem; margin: 0 0 8px; }
.homework h2 { font-family: 'Nunito', sans-serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--blue-darker); margin: 0 0 16px; }
.homework-lead { font-size: 1.12rem; color: var(--text-soft); margin: 0; }
.homework-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.homework-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  background: #ddd;
}
.homework-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.homework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.homework-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.homework-card-wide { grid-column: span 2; }
.homework-card h3,
.homework-cta h3 { color: var(--blue-darker); font-size: 1.45rem; margin: 0 0 14px; }
.homework-card p { margin: 0 0 14px; }
.homework-card ul { list-style: disc; padding-left: 1.25rem; }
.homework-card li { color: var(--text-soft); margin-bottom: .6rem; }
.homework-cta {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.homework-cta p,
.homework-cta a,
.homework-cta h3 { color: #fff; }
.homework-cta p { margin: 0; }
.homework-cta a:hover { color: #fff; opacity: .9; }

/* ---- Emergency Food Relief ---- */
.relief { background: var(--bg-soft); padding: 80px 24px; }
.relief-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.relief-eyebrow { color: var(--coral); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: .85rem; margin: 0 0 8px; }
.relief h2 { font-family: 'Nunito', sans-serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--blue-darker); margin: 0 0 16px; }
.relief-lead { font-size: 1.15rem; color: var(--text-soft); max-width: 820px; margin: 0 auto 36px; text-align: center; }
.relief p { color: var(--text-soft); line-height: 1.7; max-width: 850px; margin: 0 auto 18px; text-align: left; }
.relief-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 38px;
}
.relief-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  text-align: center;
}
.relief-stat-percent {
  display: block;
  color: var(--coral);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.relief-stat-number {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--blue-darker);
  line-height: 1;
  margin-bottom: 10px;
}
.relief-stat-card p {
  text-align: center;
  margin: 0;
  max-width: none;
  line-height: 1.45;
}
.relief-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 36px;
}
.relief-gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  aspect-ratio: 3/4;
  background: #ddd;
}
.relief-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.relief-donate {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}
.relief-donate h3 { font-family: 'Nunito', sans-serif; color: var(--blue-darker); margin: 0 0 12px; font-size: 1.5rem; }
.relief-donate p { text-align: center; max-width: 760px; }
.relief-account { font-size: 1.05rem; color: var(--text); }
.relief-donate .btn-cta { display: inline-block; margin-top: 16px; }

/* ---- Partnerships ---- */
.partnerships {
  padding: 88px 24px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.partnerships-inner { max-width: 1180px; margin: 0 auto; }
.partnerships-header {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}
.partnerships-eyebrow,
.partnerships-mini-eyebrow {
  color: var(--coral);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .82rem;
  margin: 0 0 10px;
}
.partnerships h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-darker);
  margin: 0 0 16px;
}
.partnerships h3 {
  color: var(--blue-darker);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  margin: 0 0 14px;
}
.partnerships-lead,
.partnerships-summary {
  font-size: 1.08rem;
  color: var(--text-soft);
}
.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.partnership-card,
.feedback-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
.partnership-card p:last-of-type,
.feedback-card p:last-of-type { margin-bottom: 0; }
.partnerships-proof {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
  margin: 20px 0 28px;
}
.partnerships-proof-copy {
  background: var(--blue-darker);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
}
.partnerships-proof-copy h3,
.partnerships-proof-copy p { color: #fff; }
.partnerships-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.partnerships-metrics article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  min-height: 150px;
}
.partnerships-metrics strong {
  display: block;
  color: var(--coral);
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.partnerships-metrics span {
  display: block;
  color: var(--text-soft);
  font-size: .96rem;
  line-height: 1.55;
}
.partnerships-showcase {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
  margin: 32px 0;
}
.partnerships-showcase-copy {
  position: sticky;
  top: 110px;
}
.partnerships-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.partnerships-gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #dfe7ec;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  aspect-ratio: 4 / 3;
}
.partnerships-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.partnerships-feedback { margin-top: 8px; }
.partnerships-feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.feedback-card h4 {
  color: var(--blue-dark);
  font-size: 1.05rem;
  margin: 0 0 12px;
}
.partnerships-summary {
  max-width: 860px;
  margin: 20px auto 0;
  text-align: center;
}

/* ---- Eid Festival ---- */
.eid-festival {
  padding: 88px 24px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.eid-festival-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.eid-festival-eyebrow {
  color: var(--coral);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .82rem;
  margin: 0 0 10px;
}
.eid-festival h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-darker);
  margin: 0 0 16px;
}
.eid-festival-lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 860px;
  margin: 0 auto 36px;
}
.eid-festival-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.eid-festival-text p {
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}
.eid-festival-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.15);
}
.eid-festival-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 880px) {
  .homework-gallery,
  .relief-gallery,
  .relief-stats,
  .partnerships-gallery,
  .partnerships-metrics { grid-template-columns: repeat(2, 1fr); }
  .homework-grid,
  .partnerships-grid,
  .partnerships-feedback-grid,
  .partnerships-proof,
  .partnerships-showcase { grid-template-columns: 1fr; }
  .homework-card-wide { grid-column: span 1; }
  .homework-cta { flex-direction: column; align-items: flex-start; }
  .partnerships-showcase-copy { position: static; }
  .eid-festival-content { grid-template-columns: 1fr; gap: 28px; }
  .eid-festival-photo { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .relief-stats,
  .relief-gallery,
  .partnerships-gallery,
  .partnerships-metrics,
  .partnerships-feedback-grid { grid-template-columns: 1fr; }
}


/* ============ MOTION / ANIMATIONS (swdai.org.au style) ============ */
@keyframes swda-kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes swda-fade-up {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes swda-fade-in {
  0% { opacity: 0; } 100% { opacity: 1; }
}
@keyframes swda-slide-down {
  0%   { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes swda-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Hero: Ken Burns slow zoom on background image */
.hero-image {
  animation: swda-kenburns 18s ease-out forwards;
  transform-origin: center center;
  will-change: transform;
}

/* Hero text staggered entrance */
.hero-eyebrow { animation: swda-slide-down .8s ease-out .15s both; }
.hero-title   { animation: swda-fade-up .9s ease-out .35s both; }
.hero-inner .btn-cta,
.hero-inner .hero-cta,
.hero-inner a.btn,
.hero-inner > p:not(.hero-eyebrow),
.hero-inner > .hero-actions { animation: swda-fade-up .9s ease-out .6s both; }

/* Top utility bar + main nav slide-in */
.topbar  { animation: swda-fade-in .6s ease-out both; }
.mainnav { animation: swda-slide-down .7s ease-out both; }

/* Donate button gentle pulse-float */
.topbar-donate { animation: swda-float 3.5s ease-in-out infinite; }

/* Social icons hover lift */
.topbar-social a, .footer-social a {
  transition: transform .25s ease, color .25s ease, background-color .25s ease;
}
.topbar-social a:hover, .footer-social a:hover {
  transform: translateY(-3px) scale(1.08);
}

/* Cards / images lift on hover (matches site feel) */
.relief figure img,
.homework-gallery img,
.footer-highlights-grid img,
.feature-image img,
.program-card,
.homework-card,
.homework-card-wide,
.about-panel {
  transition: transform .4s ease, box-shadow .4s ease;
}
.relief figure:hover img,
.homework-gallery figure:hover img,
.footer-highlights-grid figure:hover img {
  transform: scale(1.04);
}
.program-card:hover,
.homework-card:hover,
.homework-card-wide:hover,
.about-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(20, 40, 60, .35);
}

/* Reveal-on-scroll: starts hidden, becomes visible when .is-visible added */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-eyebrow, .hero-title, .hero-inner *,
  .topbar, .mainnav, .topbar-donate,
  .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============ PAGE HERO (non-home pages) ============ */
.page-hero {
  background: linear-gradient(135deg, #0e3a5f 0%, #1b6ea8 60%, #2aa39a 100%);
  color: #fff;
  padding: 120px 24px 64px;
  text-align: center;
}
.page-hero-inner { max-width: 920px; margin: 0 auto; }
.page-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  opacity: .85;
  margin: 0 0 12px;
}
.page-hero h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.page-hero-lead {
  font-size: 1.05rem;
  opacity: .92;
  max-width: 720px;
  margin: 0 auto;
}

/* ============ EID FESTIVAL GALLERY ============ */
.eid-festival-gallery { margin-top: 32px; }

/* ============ CONTACT PAGE ============ */
.contact-section { padding: 72px 24px; background: #f7f9fb; }
.contact-inner { max-width: 1180px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px -18px rgba(20, 40, 60, .25);
}
.contact-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  color: #0e3a5f;
  margin: 0 0 10px;
}
.contact-card p { margin: 0; color: #354655; line-height: 1.55; }
.contact-card a { color: #1b6ea8; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 16px 40px -22px rgba(20, 40, 60, .25);
}
.contact-form-wrap h3 {
  font-family: 'Nunito', sans-serif;
  color: #0e3a5f;
  margin: 0 0 20px;
}
.contact-form { display: grid; gap: 14px; }
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: #354655;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #d4dce4;
  border-radius: 10px;
  background: #fbfcfd;
  color: #1a2530;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #1b6ea8;
  outline-offset: 1px;
}
.contact-form button { justify-self: start; margin-top: 6px; }

/* ============ DONATE PAGE ============ */
.donate-section { padding: 72px 24px; background: #f7f9fb; }
.donate-inner { max-width: 1180px; margin: 0 auto; }
.donate-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  color: #354655;
  font-size: 1.02rem;
  line-height: 1.6;
}
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.donate-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 36px -22px rgba(20, 40, 60, .28);
  display: flex;
  flex-direction: column;
}
.donate-card h3 {
  font-family: 'Nunito', sans-serif;
  color: #0e3a5f;
  margin: 0 0 14px;
  font-size: 1.2rem;
}
.donate-card p { color: #354655; line-height: 1.55; margin: 0 0 12px; }
.donate-card a { color: #1b6ea8; }
.donate-card-primary {
  background: linear-gradient(160deg, #fff 0%, #eaf4fb 100%);
  border: 2px solid #1b6ea8;
}
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.donate-amounts button {
  flex: 1 1 80px;
  padding: 12px 10px;
  border-radius: 10px;
  border: 2px solid #1b6ea8;
  background: #fff;
  color: #1b6ea8;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.donate-amounts button:hover,
.donate-amounts button.selected {
  background: #1b6ea8;
  color: #fff;
}
.donate-custom {
  display: grid;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: #354655;
  margin-bottom: 14px;
}
.donate-custom input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #d4dce4;
  border-radius: 10px;
  background: #fbfcfd;
}
.donate-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 14px;
  margin: 0 0 14px;
  padding: 14px;
  background: #f7f9fb;
  border-radius: 10px;
}
.donate-details dt { font-weight: 700; color: #0e3a5f; font-size: .85rem; }
.donate-details dd { margin: 0; color: #354655; font-size: .92rem; }
.donate-note {
  margin-top: auto;
  font-size: .85rem;
  color: #5a6b7a;
  font-style: italic;
}

/* ===== Refugee Week 2026 ===== */
.refugee-week { padding: 72px 24px; background: linear-gradient(180deg,#eef5fb 0%,#fff 100%); }
.refugee-week-inner { max-width: 1180px; margin: 0 auto; }
.refugee-week-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--blue-darker); margin: 0 0 .4em; font-size: .82rem; }
.refugee-week h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 28px; color: #1e3a8a; }
.refugee-week-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 36px; align-items: center; }
.refugee-week-poster img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(30,58,138,.35); }
.refugee-week-text p { font-size: 1.02rem; }
.refugee-week-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.refugee-week-values li { background: #1e3a8a; color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 820px) { .refugee-week-grid { grid-template-columns: 1fr; } }

/* ===== Support SWDA ===== */
.support-swda { padding: 72px 24px; background: #fff; }
.support-swda-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.support-swda-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--coral); margin: 0 0 .4em; font-size: .82rem; }
.support-swda h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.support-swda-lead { max-width: 760px; margin: 0 auto 36px; color: var(--text-soft); }
.support-swda-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.support-swda-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #f1f5f9; }
.support-swda-gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .support-swda-gallery { grid-template-columns: repeat(2, 1fr); } }
.support-swda-bank { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; text-align: left; }
.support-swda-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
.support-swda-card h3 { font-size: 1.05rem; color: var(--blue-darker); margin-bottom: 10px; }
.support-swda-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.support-swda-card dt { font-weight: 700; color: var(--text); }
.support-swda-card dd { margin: 0; color: var(--text-soft); }
@media (max-width: 760px) { .support-swda-bank { grid-template-columns: 1fr; } }
.support-swda-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-outline { background: transparent !important; color: var(--coral) !important; border: 2px solid var(--coral) !important; }
.btn-cta-outline:hover { background: var(--coral) !important; color: #fff !important; }

/* ============ HERO CAROUSEL (moving header photos, all pages) ============ */
.hero-carousel {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 60vh, 620px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel .hc-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-carousel .hc-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}
.hero-carousel .hc-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-carousel .hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
}
/* Ken-Burns slow zoom/pan on the visible slide so photos visibly move */
.hero-carousel .hc-slide.active img {
  animation: hc-kenburns 8s ease-in-out forwards;
}
@keyframes hc-kenburns {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2%, -1%, 0); }
}
.hero-carousel .hc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-carousel .hc-inner {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding: clamp(2.5rem, 7vw, 5rem) 1.5rem;
  text-align: center;
}
.hero-carousel .hc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  opacity: 0.95;
}
.hero-carousel .hc-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-carousel .hc-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
  opacity: 0.95;
}
.hero-carousel .btn-cta {
  display: inline-block;
  margin-top: 0.5rem;
}
.hero-carousel .hc-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-carousel .hc-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.hero-carousel .hc-dots button.active {
  background: #fff;
  transform: scale(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hc-slide,
  .hero-carousel .hc-slide.active img { animation: none; transition: none; transform: none; }
}

