/* ==========================
   Root variables & base
   ========================== */

:root {
  --bg: #0b1e26;
  --bg-soft: #0f2833;
  --primary: #61a229;
  --primary-soft: #77c33b;
  --accent: #f4b000;
  --text: #102027;
  --text-soft: #52636c;
  --light: #ffffff;
  --border-soft: rgba(148,163,184,0.4);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 20px 40px rgba(0,0,0,0.08);
  --max-width: 1120px;

  --green: #61a229;
  --bg-card: #ffffff;
  --text-muted: #6b7280;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  scroll-behavior: smooth;
}

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

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================
   Header / Navigation
   ========================== */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-wrap img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: "Karla", system-ui, sans-serif;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: .03em;
  font-size: .9rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

nav.main-nav {
  display: block;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: .9rem;
}

nav.main-nav a {
  color: #1f2937;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}

nav.main-nav a:hover {
  border-color: var(--primary);
  color: #0b1e26;
}

/* Responsive nav */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    align-items: center;
  }
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.nav-open {
    display: block;
    margin-top: 0.5rem;
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.25rem;
  }
  nav.main-nav a {
    display: inline-block;
    padding: 0.15rem 0;
  }
}

/* ==========================
   Buttons
   ========================== */

.btn,
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease-out, box-shadow .12s ease-out, background .2s, border-color .2s;
  white-space: nowrap;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #04120a;
  box-shadow: 0 12px 24px rgba(58, 149, 52, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(58, 149, 52, 0.5);
}

.btn-outline {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #111827;
}

.btn-outline:hover {
  background-color: #f1f5f9;
  border-color: var(--primary);
}

/* Optional ghost style for other pages */
.btn-ghost {
  background: transparent;
  color: #0f172a;
  border-color: rgba(15,23,42,0.15);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: #f9fafb;
}

/* ==========================
   Hero (Home)
   ========================== */

.hero {
  position: relative;
  color: #ffffff;
  min-height: 130vh;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(120deg, rgba(15,23,42,0.82), rgba(15,23,42,0.5) 55%, rgba(15,23,42,0.18)),
    url("/static/uploads/2021/02/Website-Images.mp4_snapshot_00.00.400-1536x864.jpg") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 190px;
  background: linear-gradient(to bottom, rgba(15,23,42,0), #ffffff);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #bbf7d0;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  margin: 0;
  line-height: 1.1;
  font-family: "Karla", system-ui, sans-serif;
}

.hero-title span {
  color: #a5f3fc;
}

.hero-subtitle {
  margin: 0.8rem 0 1rem;
  font-size: 0.98rem;
  max-width: 30rem;
  color: #e5f0ff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.82rem;
  color: #0f172a;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}


.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.2rem;
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: #FFFFFF;
}

.hero-note strong {
  color: #ffffff;
}

.hero-video-card {
  border-radius: 1.6rem;
  padding: 0.5rem;
  border: none;
  box-shadow: 0 22px 45px rgba(15,23,42,0.7);
}

.hero-video-card video {
  width: 100%;
  border-radius: 1.2rem;
  display: block;
  border: none;
  background: transparent;
}

.hero-scroll {
  background-color: #ffffff;
}

.hero-scroll-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.hero-scroll-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #cbd5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-scroll-dot span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background-color: #94a3b8;
  animation: hero-scroll-pulse 1.3s infinite ease-in-out;
}

@keyframes hero-scroll-pulse {
  0% { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(4px); opacity: 0.2; }
}

/* ==========================
   Sections & layout
   ========================== */

.section {
  padding: 3rem 0 3.2rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ea580c;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 0.35rem;
  font-family: "Karla", system-ui, sans-serif;
}

.section-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Previously dark section now light + soft accent */
.section.alt {
  background: #f1f8f3;
}

.section.dark {
  background: #f3f4ff;
  color: #0f172a;
}

.section.dark .section-subtitle {
  color: #6b7280;
}

/* ==========================
   Steps / How it works
   ========================== */

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

.step-card {
  background-color: var(--bg-card);
  border-radius: 1.5rem;
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid #facc9d;
  box-shadow: 0 10px 26px rgba(15,23,42,0.06);
  position: relative;
}

.step-badge {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.96rem;
  color: #7c2d12;
}

.step-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  font-size: 1.02rem;
  padding-right: 2.4rem;
}

.step-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.donation-info-box {
  margin-top: 2rem;
  border-radius: 1.2rem;
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 1.2rem 1.4rem 1.3rem;
  box-shadow: 0 10px 22px rgba(248, 180, 107, 0.25);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.donation-info-title {
  font-weight: 700;
  margin: 0 0 0.3rem;
  color: #7c2d12;
  font-size: 0.98rem;
}

.donation-info-subtitle {
  font-weight: 600;
  margin: 0.7rem 0 0.15rem;
  color: #9a3412;
  font-size: 0.9rem;
}

/* ==========================
   Stats
   ========================== */

.stats-section {
  background-color: #f3f4ff;
}

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

.stat-card {
  background-color: #ffffff;
  border-radius: 1.4rem;
  padding: 1.3rem 1.2rem 1.5rem;
  border: 1px solid #dbeafe;
  box-shadow: 0 12px 30px rgba(148,163,184,0.18);
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: #1d4ed8;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================
   Partners
   ========================== */

.partners-section {
  background-color: #fffef7;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 1.8rem;
}

.partners-logos img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 36px rgba(148,163,184,0.4);
}

/* Older partners-row wrapper still supported */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.partners-row img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* ==========================
   CTA section (home)
   ========================== */

.cta-section {
  background-color: #ecfdf3;
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}

.cta-title {
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
}

.cta-text {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: #ffffff;
}

.cta-secondary:hover {
  background-color: #f5f5f5;
}

/* Old dark CTA band now soft light gradient */

.cta-band {
  background: linear-gradient(135deg, #ecfdf3, #dbeafe);
  color: #083344;
  padding: 3rem 0 3.5rem;
}

/* ==========================
   Booking form
   ========================== */

.booking-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 1.4rem;
  padding: 1.6rem 1.4rem 1.8rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px rgba(15,23,42,0.08);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.booking-field label {
  font-weight: 600;
  color: var(--text-muted);
}

.booking-field input,
.booking-field textarea,
.booking-field select {
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background-color: #f9fafb;
}

.booking-field input:focus,
.booking-field textarea:focus,
.booking-field select:focus {
  border-color: var(--green);
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(97,162,41,0.2);
}

.booking-required {
  color: #dc2626;
}

.booking-actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: flex-start;
}

.booking-success {
  background-color: #dcfce7;
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  color: #166534;
  border: 1px solid #bbf7d0;
  margin-bottom: 1rem;
  text-align: left;
}

.booking-error {
  font-size: 0.8rem;
  color: #b91c1c;
}

/* ==========================
   FAQ + generic form
   ========================== */

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.faq-col-header {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

details.faq-item {
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
  padding: .9rem 1rem;
  margin-bottom: .75rem;
}

details.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--text-soft);
  flex-shrink: 0;
}

details.faq-item[open] .faq-icon {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(90deg);
}

.faq-body {
  margin-top: .65rem;
  font-size: .9rem;
  color: var(--text-soft);
}

/* Generic form card for other pages */

.form-card {
  margin: 2.5rem auto 0;
  max-width: 720px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.9rem;
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  border: 1px solid rgba(15, 93, 52, 0.12);
}

.form-note {
  font-size: .9rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: .9rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(0,0,0,0.16);
  padding: 0.6rem 0.7rem;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  background: #fdfefe;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(97,162,41,0.35);
  background: #ffffff;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.form-required {
  color: #d12f2f;
}

/* ==========================
   Footer (soft dark, not teal)
   ========================== */

footer.site-footer {
  padding: 1.75rem 0 2rem;
  background: #0f172a;
  color: #cbd5f5;
  margin-top: auto;
  border-top: 1px solid rgba(148,163,184,0.35);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-links a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e0eff2;
  font-size: .8rem;
  transition: background .15s, border-color .15s, transform .12s, color .12s;
}

.social-links a:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a;
  transform: translateY(-1px);
}

/* ==========================
   Responsive tweaks
   ========================== */

@media (max-width: 900px) {
  .hero {
    padding: 3.2rem 0 3.6rem;
    min-height: 100vh;
    background-attachment: scroll;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 0 1rem;
  }
  .section-inner {
    padding: 0 1rem;
  }
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
