:root {
  --yellow-50: #fff9e6;
  --yellow-100: #fff2bf;
  --yellow-200: #ffe99a;
  --yellow-300: #ffe071;
  --yellow-400: #ffd23f;
  --yellow-500: #f6b30b;
  --yellow-600: #d89500;

  --blue-950: #061536;
  --blue-900: #09245a;
  --blue-800: #0b347b;
  --blue-700: #0d4ea6;

  --red-700: #d71920;
  --red-600: #ef2830;

  --green-700: #1f7a4d;
  --ink: #142033;
  --muted: #607087;
  --line: #eadfae;
  --soft: #fff9e6;
  --white: #ffffff;

  --shadow: 0 20px 55px rgba(6, 21, 54, .14);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--blue-950);
  color: white;
  padding: 10px 14px;
  z-index: 99;
}

.skip-link:focus {
  left: 10px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 223, 174, .85);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue-950);
  line-height: 1.1;
}

.brand strong {
  display: block;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -.03em;
}

.brand small {
  display: inline-block;
  margin-top: 5px;
  color: var(--blue-900);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}

.brand-sun {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7ba, var(--yellow-500));
  box-shadow: 0 0 0 8px rgba(246, 179, 11, .18);
  position: relative;
  flex: 0 0 auto;
}

.brand-sun::after {
  content: "";
  position: absolute;
  inset: 17px 6px auto auto;
  width: 35px;
  height: 18px;
  background: var(--blue-900);
  border-radius: 20px 20px 0 0;
  transform: rotate(-12deg);
  opacity: .9;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--blue-950);
}

.primary-nav a:hover {
  background: var(--yellow-50);
  color: var(--blue-700);
}

.primary-nav .nav-cta {
  background: var(--yellow-500);
  color: var(--blue-950);
  box-shadow: 0 10px 25px rgba(246, 179, 11, .28);
}

.primary-nav .nav-cta:hover {
  background: var(--yellow-400);
  color: var(--blue-950);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--blue-950);
  color: #fff;
  border-radius: 14px;
  padding: 11px 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}

.menu-toggle em {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hero */

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 125px) 0 72px;
  color: var(--blue-950);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .5), transparent 24%),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .35), transparent 24%),
    radial-gradient(circle at 72% 84%, rgba(216, 149, 0, .28), transparent 25%),
    linear-gradient(135deg, #fff4bd 0%, var(--yellow-400) 42%, var(--yellow-500) 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 520px;
  height: 520px;
  border: 48px solid rgba(9, 36, 90, .18);
  border-radius: 50%;
  opacity: 1;
}

.hero-section::before {
  content: "Arcal Action Agad";
  position: absolute;
  left: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 18px;
  color: rgba(6, 21, 54, .07);
  font-size: clamp(46px, 8vw, 120px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.08em;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(34px, 6vw, 70px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 900;
}

.hero-section .eyebrow {
  color: var(--blue-900);
}

.eyebrow.light {
  color: var(--yellow-300);
}

.hero-copy h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(46px, 7vw, 92px);
  line-height: .96;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 145px;
  height: 6px;
  margin-top: 22px;
  background: var(--blue-900);
  border-radius: 999px;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--blue-900);
  font-weight: 900;
}

.hero-text {
  max-width: 690px;
  margin: 16px 0 0;
  color: #29384f;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--blue-900);
  box-shadow: 0 14px 28px rgba(9, 36, 90, .25);
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-ghost {
  color: var(--blue-950);
  border: 2px solid rgba(6, 21, 54, .24);
  background: rgba(255, 255, 255, .42);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .72);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(6, 21, 54, .14);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--blue-950);
  font-weight: 900;
}

.hero-card {
  background: #fff;
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-card img {
  border-radius: 23px;
  background: #fff;
}

.hero-note {
  padding: 18px 18px 8px;
}

.hero-note strong {
  color: var(--blue-900);
  font-size: 18px;
}

.hero-note p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 14px;
}

/* Values */

.values-strip {
  transform: translateY(-28px);
  margin-bottom: -28px;
  position: relative;
  z-index: 2;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.values-grid article {
  padding: 22px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, var(--yellow-50));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
}

.values-grid .icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  grid-row: span 2;
  border-radius: 50%;
  background: var(--yellow-100);
  color: var(--blue-900);
  font-size: 24px;
  font-weight: 900;
}

.values-grid h2 {
  margin: 0;
  font-size: 17px;
  color: var(--blue-950);
  line-height: 1.1;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* General sections */

.section {
  padding: clamp(70px, 8vw, 105px) 0;
}

.split-grid,
.story-grid,
.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.image-frame {
  border-radius: 34px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.image-frame img {
  border-radius: 24px;
}

.section-copy h2,
.section-heading h2,
.stats-copy h2,
.message-card h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.section-copy p strong,
.section-heading p strong {
  color: var(--blue-950);
}

.check-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  font-weight: 750;
  color: var(--blue-950);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* Platform */

.platform-section {
  background: var(--soft);
}

.section-heading {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 42px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 245px;
  box-shadow: 0 12px 30px rgba(6, 21, 54, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--yellow-100);
  font-size: 30px;
  margin-bottom: 18px;
}

.platform-card h3 {
  margin: 0 0 10px;
  color: var(--blue-950);
  font-size: 21px;
  line-height: 1.15;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
}

/* Service / Stats */

.service-section {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 42px solid rgba(255, 210, 63, .28);
}

.stats-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.stats-copy h2 {
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stats-grid article {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  padding: 25px;
}

.stats-grid strong {
  display: block;
  color: var(--yellow-300);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.04em;
}

.stats-grid span {
  color: #eaf2ff;
  font-weight: 800;
}

/* Story */

.feature-cards {
  display: grid;
  gap: 16px;
}

.feature-cards article {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 21, 54, .06);
}

.feature-cards h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 24px;
}

.feature-cards p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue-700);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  color: var(--yellow-600);
}

/* Gallery */

.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(6, 21, 54, .06);
}

.gallery-grid img {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 8px 4px;
  color: var(--blue-950);
  font-weight: 900;
}

/* Message */

.message-section {
  padding-top: 0;
}

.message-card {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: #fff;
  border-radius: 34px;
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.message-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 40px solid rgba(255, 210, 63, .35);
}

.message-card h2 {
  color: #fff;
}

.message-card p {
  margin: 0;
  color: #eef5ff;
  font-size: 19px;
  position: relative;
  z-index: 1;
}

.message-card strong {
  color: var(--yellow-300);
}

/* Contact */

.volunteer-section {
  background: var(--soft);
}

.contact-items {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 900;
  color: var(--blue-950);
}

.volunteer-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 16px;
}

.volunteer-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-weight: 900;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  width: 100%;
  border: 1px solid #d9cc88;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.volunteer-form input:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
  outline: 3px solid rgba(246, 179, 11, .25);
  border-color: var(--yellow-500);
}

.volunteer-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-response {
  margin: 0;
  color: var(--green-700);
  font-weight: 900;
}

/* Footer */

.site-footer {
  background: var(--blue-950);
  color: #fff;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.site-footer strong {
  font-size: 20px;
}

.site-footer p {
  margin: 6px 0 0;
  color: #dbe8ff;
}

.site-footer .small {
  font-size: 13px;
  color: #a9b8d1;
}

/* Reveal animations
   If script.js is missing, content still appears.
   If script.js loads, .js enables animation.
*/

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .12s;
}

.delay-2 {
  transition-delay: .24s;
}

/* Responsive */

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    text-align: center;
  }

  .hero-grid,
  .split-grid,
  .story-grid,
  .volunteer-grid,
  .stats-wrap,
  .message-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand-sun {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
  }

  .primary-nav {
    top: 74px;
  }

  .hero-section {
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: 43px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .values-grid,
  .platform-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .values-grid article {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .message-card {
    border-radius: 24px;
  }

  .message-card p {
    font-size: 17px;
  }
}