:root {
  --brand-dark: #233741;
  --brand-primary: #81c5e2;
  --brand-light: #cddee7;
  --brand-mid: #bcbdc0;
  --ink: #222f38;
  --white: #ffffff;
  --font-display: "Fredoka", "Baloo 2", Arial, sans-serif;
  --font-body: "Nunito", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #f8fcff 0%, #edf4f8 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 0.75rem;
  background: #ffffff;
  color: var(--brand-dark);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  z-index: 999;
}

.skip-link:focus {
  top: 0.75rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 15% 18%, #b6e2f4, transparent 28%),
    radial-gradient(circle at 82% 30%, #5a91ad66, transparent 35%),
    linear-gradient(145deg, var(--brand-dark) 20%, #34505f 100%);
  color: var(--white);
  padding-bottom: 3rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 84px;
  background: linear-gradient(to top, rgba(248, 252, 255, 0.45), transparent 72%);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
  animation: floaty 9s ease-in-out infinite;
}

.hero-blob-one {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #91d0ea 0%, #91d0ea00 72%);
  top: -55px;
  right: 10%;
}

.hero-blob-two {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #7abede 0%, #7abede00 72%);
  bottom: -120px;
  left: -40px;
  animation-delay: -3s;
}

.wave-divider {
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 58px;
}

.wave-dark {
  margin-bottom: -1px;
}

.nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  position: relative;
  z-index: 2;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links a {
  color: #d9edf8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.logo-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 0.3rem 0.5rem;
  backdrop-filter: blur(5px);
}

.logo {
  width: min(300px, 62vw);
  max-width: 100%;
  height: auto;
  display: block;
}

.nav-cta {
  margin-left: 0.4rem;
  text-decoration: none;
  color: var(--brand-dark);
  background: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(13, 25, 31, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(13, 25, 31, 0.26);
}

.hero-content {
  padding: 2.2rem 0 2.2rem;
  max-width: 720px;
  position: relative;
  z-index: 2;
  margin-top: 0.8rem;
}

.tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
  color: var(--brand-light);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.hero-copy {
  font-size: 1.08rem;
  max-width: 64ch;
}

.hero-highlights {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-highlights p {
  margin: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: var(--brand-dark);
  background: var(--brand-primary);
  box-shadow: 0 10px 24px rgba(79, 159, 194, 0.35);
}

.btn-secondary {
  color: var(--white);
  border: 2px solid #a2d2e8;
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 4rem 0;
}

#about.section {
  padding-bottom: 1.2rem;
}

#parent-support.section {
  padding-top: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, auto);
  gap: 1.2rem;
  background: linear-gradient(rgba(248, 252, 255, 0.9), rgba(248, 252, 255, 0.9)),
    url("backgrounds/BG\ 1.png") center / cover no-repeat;
  border-radius: 20px;
  padding: 1.2rem;
}

.about-heading {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
}

.about-heading .section-title {
  margin: 0;
  max-width: 16ch;
}

.bento-card {
  height: 100%;
}

.bento-main {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-quote {
  grid-column: span 2;
}

.bento-stat {
  grid-column: span 1;
  background: linear-gradient(155deg, #eef0f2 0%, #d5d7db 35%, #bcbdc0 70%, #9ea1a6 100%);
  border: 1px solid rgba(88, 88, 90, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: #1f4e66;
}

.stat-label {
  margin: 0.3rem 0 0;
  color: #35576a;
  font-weight: 700;
}

.bento-focus {
  grid-column: span 1;
  background: #ffffff;
}

.bento-focus h3 {
  margin-bottom: 0.45rem;
}

.bento-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.28rem;
}

.parent-support {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}

.parent-card,
.brand-meaning {
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
}

.parent-card {
  background: linear-gradient(135deg, #e7f4fb 0%, #d9e9f3 100%);
  border: 1px solid rgba(129, 197, 226, 0.4);
}

.brand-meaning {
  background: var(--white);
  border: 1px solid rgba(35, 55, 65, 0.15);
  box-shadow: 0 10px 24px rgba(35, 55, 65, 0.08);
}

.parent-card p,
.brand-meaning p {
  margin-bottom: 0;
}

.quote-strip {
  padding: 1.4rem 0 2rem;
}

.quote-strip .section-title {
  margin: 0 0 0.8rem;
}

.quote-review-card {
  margin: 0 auto;
  max-width: 760px;
  background: #ffffff;
  border: 1px solid rgba(35, 55, 65, 0.12);
  border-radius: 16px;
  padding: 1rem 1.1rem 0.9rem;
  box-shadow: 0 12px 24px rgba(35, 55, 65, 0.08);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: #7fb0c8;
}

.quote-review-card blockquote {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #243743;
}

.quote-review-card figcaption {
  margin-top: 0.45rem;
  color: #496473;
  font-weight: 700;
  font-size: 0.95rem;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(35, 55, 65, 0.08);
  border: 1px solid rgba(129, 197, 226, 0.25);
}

.quote-card {
  background: linear-gradient(145deg, #ebf7fc, #d9ecf6);
}

.quote {
  font-weight: 800;
  font-size: 1.18rem;
  margin-top: 0;
}

.mission {
  margin-bottom: 0;
}

.signs {
  background: var(--brand-dark);
  color: var(--white);
  position: relative;
}

.signs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 14%, #81c5e238, transparent 26%);
  pointer-events: none;
}

.lead {
  max-width: 60ch;
  margin-bottom: 1.3rem;
}

.notice {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--brand-dark);
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  font-weight: 800;
}

.programmes .grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.programmes {
  background: linear-gradient(rgba(248, 252, 255, 0.9), rgba(248, 252, 255, 0.9)),
    url("backgrounds/BG\ 2.png") center / cover no-repeat;
  border-radius: 20px;
  padding: 1.4rem;
}

.section-intro {
  max-width: 70ch;
  margin-top: 0;
  opacity: 0.85;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3c6f88;
}

.section-title {
  margin: 0 0 1rem;
}

.signs .section-kicker {
  color: #c7e6f5;
}

.program-card {
  background: var(--white);
  border-top: 5px solid var(--brand-primary);
  border-radius: 14px;
  padding: 1rem 1rem 0.6rem;
  box-shadow: 0 12px 25px rgba(35, 55, 65, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(35, 55, 65, 0.14);
}

.impact {
  background: linear-gradient(180deg, #eef6fa 0%, #dfeaf1 100%);
}

.impact-wrap {
  display: grid;
  align-items: center;
  gap: 1.4rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.impact-image {
  width: 100%;
  max-height: 340px;
  aspect-ratio: 2026 / 1350;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 30px rgba(35, 55, 65, 0.15);
}

.impact-btn {
  margin-top: 0.6rem;
  display: inline-block;
}

.attribution {
  margin-top: -0.3rem;
  margin-bottom: 0.8rem;
  color: #4e6b79;
  font-weight: 700;
}

.contact {
  background: var(--brand-dark);
  color: var(--white);
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr;
  gap: 1.2rem;
  padding-bottom: 2rem;
}

.footer-brand h2 {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: #cae8f6;
  margin-top: 0.45rem;
}

.footer-col h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.footer-col p {
  margin: 0.35rem 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.34rem;
}

.footer-links a,
.footer-col a {
  color: #d8eef9;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover,
.footer-col a:hover {
  color: #ffffff;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact a {
  color: #d8eef9;
  text-decoration: none;
  font-weight: 700;
}

.contact a:hover {
  color: #ffffff;
}

.contact-note {
  color: #d8eef9;
  margin: 0;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(205, 222, 231, 0.25);
  padding: 0.75rem 0;
}

.footer-bottom p {
  margin: 0;
  color: #c8e4f3;
  font-size: 0.88rem;
}

.footer-bottom a {
  color: #e4f5ff;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.faq {
  padding-top: 2.4rem;
}

.faq details {
  background: #ffffff;
  border: 1px solid rgba(35, 55, 65, 0.12);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--brand-dark);
}

.faq p {
  margin-bottom: 0.2rem;
}

.contact-section {
  background: linear-gradient(180deg, #eaf3f9 0%, #e0edf5 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(234, 243, 249, 0.92), rgba(224, 237, 245, 0.94)),
    url("backgrounds/BG\ 3.png") center / cover no-repeat;
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-panels {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(35, 55, 65, 0.13);
  border-radius: 14px;
  padding: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.6rem;
}

.contact-card p {
  margin: 0.4rem 0;
}

.contact-card a {
  color: #205f7c;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.32rem;
  border-radius: 999px;
  background: #1877f2;
  color: #ffffff;
  vertical-align: middle;
}

.social-icon svg {
  width: 0.82rem;
  height: 0.82rem;
  fill: currentColor;
}

.contact-info-map {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 10px;
}

.form-card form {
  display: grid;
  gap: 0.45rem;
}

.form-card label {
  font-weight: 700;
  font-size: 0.92rem;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid #bfd4df;
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font: inherit;
}

.form-card button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.floating-btn {
  position: fixed;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.55rem 0.82rem;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(10, 24, 31, 0.24);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-btn:hover {
  transform: translateY(-2px);
}

.floating-top {
  left: 1rem;
  background: linear-gradient(145deg, #ffffff 0%, #eaf2f7 100%);
  color: #21485d;
  width: 56px;
  height: 56px;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(35, 55, 65, 0.22);
  box-shadow: 0 12px 25px rgba(12, 28, 36, 0.25);
  opacity: 0;
  pointer-events: none;
}

.top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.floating-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-whatsapp {
  right: 1rem;
  background: linear-gradient(145deg, #2b8c7b 0%, #1d6f62 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes floaty {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(0, -14px);
  }
}

@media (max-width: 900px) {

  .about,
  .parent-support,
  .contact-panels,
  .footer-grid,
  .programmes .grid,
  .impact-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2.2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .impact-image {
    max-height: 300px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  #about.section {
    padding-bottom: 0.8rem;
  }

  #parent-support.section {
    padding-top: 0.8rem;
  }

  .container {
    width: min(1100px, 94%);
  }

  .nav {
    gap: 0.6rem;
    padding-top: 0.85rem;
    flex-wrap: wrap;
  }

  .logo {
    width: min(190px, 50vw);
  }

  .nav-cta {
    padding: 0.55rem 0.8rem;
    font-size: 0.83rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 0.2rem 0 0;
    gap: 0.55rem;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 0.24rem 0.5rem;
  }

  .hero-highlights p {
    font-size: 0.82rem;
  }

  .hero-content {
    padding-top: 1.2rem;
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.9rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero-highlights {
    gap: 0.45rem;
  }

  .hero-highlights p {
    padding: 0.28rem 0.62rem;
  }

  .quote-strip p {
    font-size: 0.95rem;
  }

  .parent-card,
  .brand-meaning,
  .card,
  .program-card {
    padding: 1.05rem;
  }

  .wave-divider svg {
    height: 38px;
  }
}

@media (max-width: 420px) {
  .nav {
    justify-content: center;
    gap: 0.5rem;
  }

  .logo-wrap {
    width: 100%;
    justify-content: center;
  }

  .logo {
    width: min(210px, 72vw);
  }

  .nav-cta {
    margin-left: 0;
  }

  .hero-copy,
  .lead,
  .section-intro {
    font-size: 0.96rem;
  }

  .hero-highlights p {
    width: 100%;
    text-align: center;
  }

  .contact-grid {
    gap: 1rem;
  }

  .floating-btn {
    bottom: 0.7rem;
    font-size: 0.85rem;
    padding: 0.48rem 0.72rem;
  }

  .floating-top {
    width: 50px;
    height: 50px;
    padding: 0;
  }

  .floating-top {
    left: 0.7rem;
  }

  .floating-whatsapp {
    right: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-blob,
  .reveal,
  .btn,
  .program-card,
  .nav-cta {
    animation: none;
    transition: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
  }
}