:root {
  --bg: #fff8ef;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #11253d;
  --muted: #50637a;
  --line: rgba(17, 37, 61, 0.12);
  --red: #ef4b4f;
  --blue: #4f6ff0;
  --orange: #ff9b54;
  --gold: #ffd56a;
  --mint: #d9f4e7;
  --shadow: 0 24px 60px rgba(39, 69, 112, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 111, 240, 0.2), transparent 28%),
    radial-gradient(circle at 85% 14%, rgba(255, 155, 84, 0.28), transparent 20%),
    linear-gradient(180deg, #fff4e7 0%, #fff8ef 32%, #f5fbff 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

iframe {
  display: block;
  width: 100%;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(45, 70, 106, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(79, 111, 240, 0.18);
}

.brand div {
  display: grid;
}

.brand-kicker,
.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-kicker {
  color: var(--red);
}

.brand strong {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.nav-cta {
  padding: 0.8rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff6d5b);
  box-shadow: 0 14px 30px rgba(239, 75, 79, 0.28);
}

.button {
  padding: 0.95rem 1.35rem;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2f8bff);
  box-shadow: 0 18px 34px rgba(79, 111, 240, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 800;
  color: var(--text);
  background: #fff;
}

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 2.5rem;
  min-height: calc(100vh - 8rem);
  padding-top: 3rem;
}

.hero-copy h1,
.section-heading h2,
.color-card h2,
.story-band h2,
.social-copy h2,
.donation-banner h2,
.site-footer h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.04;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.05em;
}

.eyebrow {
  color: var(--red);
  margin: 0 0 1rem;
}

.hero-text,
.section-heading p,
.color-card p,
.story-band p,
.program-card p,
.approach-card p,
.social-copy p,
.donation-banner p,
.site-footer p,
.mini-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions,
.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

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

.hero-highlights article,
.program-card,
.approach-card,
.mini-card,
.feed-frame,
.values-panel,
.donation-banner,
.gallery-card,
.color-card,
.story-band {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-highlights article {
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.hero-highlights span {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-family: "Sora", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
}

.hero-highlights p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-visual::before {
  inset: 3rem 8% auto auto;
  width: 13rem;
  height: 13rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 213, 106, 0.95), rgba(255, 213, 106, 0));
}

.hero-visual::after {
  inset: auto auto 2rem 0;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle at 50% 50%, rgba(79, 111, 240, 0.22), rgba(79, 111, 240, 0));
}

.logo-card {
  position: absolute;
  inset: 4rem 3rem 7rem 3rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 239, 0.9)),
    linear-gradient(135deg, rgba(79, 111, 240, 0.12), rgba(255, 155, 84, 0.12));
  box-shadow: 0 40px 70px rgba(43, 73, 115, 0.18);
  overflow: hidden;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: -22% auto auto -12%;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(239, 75, 79, 0.14), transparent 70%);
}

.logo-card img {
  width: min(100%, 420px);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(26, 49, 84, 0.14);
}

.floating-panel {
  position: absolute;
  max-width: 270px;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(39, 69, 112, 0.16);
}

.floating-panel-top {
  top: 2rem;
  right: 0;
}

.floating-panel-bottom {
  left: 0;
  bottom: 2rem;
}

.panel-label {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.floating-panel ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.floating-panel p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.color-card,
.story-band,
.donation-banner {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.color-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76)),
    linear-gradient(135deg, rgba(79, 111, 240, 0.08), rgba(79, 111, 240, 0));
}

.color-card.secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8)),
    linear-gradient(135deg, rgba(255, 155, 84, 0.14), rgba(255, 155, 84, 0));
}

.story-band {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 2rem;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(217, 244, 231, 0.8), rgba(255, 255, 255, 0.84)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.color-card h2,
.story-band h2,
.social-copy h2,
.donation-banner h2,
.site-footer h2 {
  font-size: clamp(2rem, 3vw, 3.35rem);
  letter-spacing: -0.04em;
}

.program-grid,
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.program-card,
.approach-card,
.mini-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.program-card h3,
.approach-card h3,
.mini-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: #fff;
}

.education {
  background: linear-gradient(135deg, var(--blue), #7d92ff);
}

.health {
  background: linear-gradient(135deg, var(--red), #ff7a73);
}

.environment {
  background: linear-gradient(135deg, #3dbb75, #6ed79d);
}

.infrastructure {
  background: linear-gradient(135deg, var(--orange), #ffc165);
}

.values-layout {
  display: grid;
  gap: 1.2rem;
}

.values-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
}

.value-chip {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid rgba(17, 37, 61, 0.08);
  font-weight: 800;
}

.impact-section {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
  border-radius: 30px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem 1.2rem 1.25rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
}

.gallery-tall {
  grid-row: span 2;
}

.social-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.5rem;
  align-items: start;
}

.social-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.feed-frame {
  padding: 1rem;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 251, 255, 0.92)),
    linear-gradient(135deg, rgba(79, 111, 240, 0.08), rgba(79, 111, 240, 0));
}

.feed-frame iframe {
  min-height: 640px;
  border-radius: 24px;
}

.donation-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 213, 106, 0.44), rgba(255, 255, 255, 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.9));
}

.site-footer {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 32px;
  background: #102844;
  color: #f5f8ff;
  box-shadow: 0 24px 64px rgba(10, 28, 48, 0.28);
  margin-top: 2rem;
}

.site-footer .eyebrow,
.site-footer p,
.site-footer a {
  color: rgba(245, 248, 255, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-grid a,
.contact-grid p {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

a.social-logo {
  padding: 0px;
}

@media (max-width: 1080px) {
  .hero,
  .social-layout,
  .story-band {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .program-grid,
  .approach-grid,
  .gallery-grid,
  .social-mini-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-tall {
    grid-row: auto;
  }

  .hero-visual {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .js .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .js .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-highlights,
  .intro-grid,
  .program-grid,
  .approach-grid,
  .gallery-grid,
  .social-mini-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .logo-card {
    inset: 4rem 0.5rem 6rem;
  }

  .floating-panel {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }

  .donation-banner,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section.donation-banner {
    padding: 2rem !important;
  }

  .story-band {
    padding: 2rem;
  }

  .brand {
    gap: 0.4em;
  }

  .hero-visual{
      margin-top: -70px;
      margin-bottom: -150px;
  }
}
