/* style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0d6efd;
  --green: #046838;
  --dark: #1a1a2e;
  --text: #333;
  --light-bg: #f8f9fa;
  --white: #fff;
  --radius: 6px;

  /* Sticky offsets */
  --header-h: 84px;

  /* Hero sizing */
  --hero-min-h: 600px;
  --hero-pad-y: 80px;

  /* DGO panel sizing (adjust here) */
  --hero-media-w: 520px;
  --hero-media-h: calc(var(--hero-min-h) - (var(--hero-pad-y) * 2));
  --hero-media-top-gap: 10px;
  --glass-blur: 14px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── MAIN HEADER ── */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 120;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.site-logo img { height: 60px; width: auto; object-fit: contain; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); opacity: 1; }
.lang-toggle {
  background: transparent;
  color: var(--green);
  border: 2px solid rgba(4, 104, 56, 0.24);
  min-width: 116px;
}
.lang-toggle:hover {
  opacity: 1;
  border-color: var(--green);
  background: rgba(4, 104, 56, 0.08);
}
.lang-icon { display: none; font-size: 1.3rem; line-height: 1; }

/* ── NAV ── */
.navbar {
  position: sticky;
  top: var(--header-h);
  z-index: 115;
  background: rgba(4, 104, 56, 0.72);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links { display: flex; }
.nav-links a {
  display: block;
  padding: 14px 18px;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-radius: 10px;
  margin: 6px 4px;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0;
}
.nav-toggle svg { width: 24px; height: 24px; fill: var(--white); }

/* ── HERO ── */
.hero {
  min-height: var(--hero-min-h);
  background-image: url('../img/backgroundmain.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(13, 20, 30, 0.82);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--hero-pad-y) 20px;
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  min-height: var(--hero-min-h);
}

.hero-text {
  flex: 1;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero-text h1 span { color: #4fc3f7; }
.hero-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
}
.hero-text p + p { margin-top: 10px; }

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
  max-width: 760px;
}
.pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pill strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.hero-image {
  width: var(--hero-media-w);
  flex: 0 0 var(--hero-media-w);
  height: calc(100% - var(--hero-media-top-gap));
  margin-top: var(--hero-media-top-gap);
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 48px rgba(0,0,0,0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px 16px 18px;
}

/* ── SECTION HELPERS ── */
.section { padding: 70px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.text-center { text-align: center; }

/* ── PROGRAMS ── */
.programs { background: var(--light-bg); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.program-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.program-icon {
  width: 60px; height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.program-icon svg { width: 28px; height: 28px; fill: var(--white); }
.program-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.program-card p { font-size: 0.9rem; color: #666; }

/* ── HOW TO REGISTER ── */
.register-steps { background: var(--dark); color: var(--white); }
.register-steps .section-tag { color: #4fc3f7; }
.register-steps .section-title { color: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step-card { text-align: center; padding: 24px 16px; }
.step-num {
  width: 56px; height: 56px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
  color: var(--white);
}
.step-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: rgba(255,255,255,0.68); }

/* ── ABOUT ── */
.about .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-gallery img {
  width: 100%; height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.about-gallery img:first-child {
  grid-column: span 2;
  height: 240px;
}
.about-text .check-list { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.about-text .check-list li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
  align-items: flex-start;
}
.check-icon {
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon svg { width: 11px; height: 11px; fill: var(--white); }

/* ── EVENTS ── */
.events { background: var(--light-bg); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.event-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.event-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.event-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
}
.event-card a.event-btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.event-card a.event-btn:hover { background: #035a2d; }

/* ── CTA PANELS ── */
.cta-section { background: #f0f4f8; }
.cta-section .section-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cta-card {
  background: linear-gradient(135deg, var(--green) 0%, #023a1e 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 44px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform 0.2s;
}
.cta-card:hover { transform: translateY(-4px); }
.cta-card h2 { font-size: 1.25rem; font-weight: 700; }
.cta-card p { font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.cta-card svg { width: 40px; height: 40px; fill: rgba(255,255,255,0.8); }

/* ── FOOTER CONTACT ── */
.footer-contact { background: #111827; color: #ccc; padding: 40px 20px; }
.footer-contact-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.footer-contact-item { display: flex; align-items: flex-start; gap: 14px; }
.footer-icon {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-icon svg { width: 18px; height: 18px; fill: #fff; }
.footer-contact-item small { font-size: 0.75rem; color: #888; display: block; }
.footer-contact-item a,
.footer-contact-item span { font-size: 0.95rem; color: #e0e0e0; font-weight: 500; }

/* ── FOOTER ── */
.footer-main { background: #0d1117; color: #aaa; padding: 60px 20px 30px; }
.footer-main-inner { max-width: 1200px; margin: 0 auto; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 50px; margin-bottom: 16px;
  filter: brightness(0) invert(1); opacity: 0.85;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col h6 { color: var(--white); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.85rem; color: #aaa; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  :root { --hero-media-w: 460px; }
}
@media (max-width: 980px) {
  :root { --hero-media-w: 420px; }
}
@media (max-width: 768px) {
  :root { --header-h: 76px; }
  .header-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
  .lang-toggle { min-width: 0; padding: 8px 12px; }
  .lang-icon { display: inline; }
  .lang-label { display: none; }
  .hero-image { display: none; }
  .hero-inner { padding: 60px 20px; }
  .about .section-inner { grid-template-columns: 1fr; }
  .about-gallery { display: none; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(3, 90, 45, 0.86);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 20px; margin: 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .nav-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-44px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.82); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13,110,253,0.45); }
  50%       { box-shadow: 0 0 0 14px rgba(13,110,253,0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mobileMenuOpen {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rippleOut {
  from { transform: scale(0); opacity: 0.5; }
  to   { transform: scale(4); opacity: 0; }
}
@keyframes iconSpin {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.15); }
  to   { transform: rotate(360deg) scale(1); }
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes pillPop {
  0%   { opacity: 0; transform: scale(0.7) translateY(10px); }
  70%  { transform: scale(1.06) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll-triggered base ── */
.anim {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.anim.fade-up    { transform: translateY(44px); }
.anim.fade-down  { transform: translateY(-44px); }
.anim.fade-left  { transform: translateX(-56px); }
.anim.fade-right { transform: translateX(56px); }
.anim.scale-in   { transform: scale(0.82); }
.anim.is-visible { opacity: 1 !important; transform: none !important; }

/* stagger helpers */
.anim-d1 { transition-delay: 0.08s; }
.anim-d2 { transition-delay: 0.16s; }
.anim-d3 { transition-delay: 0.24s; }
.anim-d4 { transition-delay: 0.32s; }
.anim-d5 { transition-delay: 0.40s; }
.anim-d6 { transition-delay: 0.48s; }

/* ── Page-load: header drops in ── */
.main-header { animation: headerDrop 0.55s cubic-bezier(0.22,1,0.36,1) both; }

/* ── Hero: continuous float on image panel ── */
.hero-image {
  animation: float 5s ease-in-out infinite;
}

/* ── Hero CTA: pulse glow on primary btn ── */
.hero-actions .btn-primary {
  animation: pulseGlow 2.6s ease-in-out infinite;
}

/* ── Section tags: shimmer text ── */
.section-tag {
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    #09c76a 40%,
    var(--green) 60%,
    #09c76a 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}

/* ── Program icon: spin on card hover ── */
.program-card:hover .program-icon svg {
  animation: iconSpin 0.6s ease forwards;
}

/* ── CTA cards: animated gradient background ── */
.cta-card {
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

/* ── Button ripple container ── */
.btn { position: relative; overflow: hidden; }
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  pointer-events: none;
  animation: rippleOut 0.55s ease-out forwards;
  transform-origin: center;
}

/* ── Mobile nav: slide-in animation ── */
.nav-links.open {
  animation: mobileMenuOpen 0.28s ease both;
}

/* ── Nav links: animated underline ── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 18px; right: 18px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ── Footer icon bounce on hover ── */
.footer-contact-item:hover .footer-icon svg {
  animation: float 0.6s ease-in-out;
}

/* ── Event cards: overlay reveal on hover ── */
.event-overlay {
  transition: background 0.35s ease;
}
.event-card:hover .event-overlay {
  background: linear-gradient(to top, rgba(4,104,56,0.85) 0%, rgba(4,104,56,0.15) 70%, transparent 100%);
}
.event-card img {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.event-card:hover img { transform: scale(1.06); }

/* ── Check icons: pop in ── */
.check-icon {
  transition: transform 0.2s ease, background 0.2s ease;
}
.check-list li:hover .check-icon {
  transform: scale(1.2);
  background: #035a2d;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, #0a1a10 0%, #046838 55%, #023a1e 100%);
  padding: 80px 20px 70px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/backgroundmain.png') center/cover no-repeat;
  opacity: 0.08;
}
.page-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.page-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #4fc3f7;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero h1 span { color: #4fc3f7; }
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 28px;
}
.event-meta-center { justify-content: center; }
.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ── FORM SECTION ── */
.form-section {
  background: linear-gradient(160deg, #f0fdf4 0%, #f8fafc 55%, #f0fdf4 100%);
  padding: 72px 20px 88px;
}
.form-container {
  max-width: 700px;
  margin: 0 auto;
}
.form-intro {
  text-align: center;
  margin-bottom: 44px;
}
.form-intro p { color: #555; font-size: 0.95rem; max-width: 560px; margin: 0 auto; }
.form-wrapper {
  background: var(--white);
  border-radius: 20px;
  border-top: 4px solid var(--green);
  box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 20px 60px rgba(0,0,0,0.10);
  padding: 44px 48px 52px;
}

/* ── FEATURE STRIPS (inner pages) ── */
.feature-strip {
  background: var(--white);
  padding: 60px 20px;
}
.feature-strip .section-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(4,104,56,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--green); }
.feature-item h4 { font-size: 0.95rem; font-weight: 700; }
.feature-item p { font-size: 0.85rem; color: #666; }

@media (max-width: 768px) {
  .page-hero { padding: 60px 20px 50px; }
}

/* ── Custom form styles ── */
.crusade-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-required-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin: -8px 0 2px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.form-field.required label::after {
  content: " *";
  color: var(--green);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b0b8c4;
  font-weight: 400;
}
.form-field select {
  appearance: none;
  background-color: #f9fafb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(4,104,56,0.10);
}
.form-field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23046838' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.btn-form-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 4px;
  border-radius: 12px;
}
.btn-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.form-feedback {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
}
.form-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
}
.form-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1.5px solid #fca5a5;
}
@media (max-width: 768px) {
  .form-wrapper { padding: 32px 28px 36px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-wrapper { padding: 24px 18px 28px; border-radius: 16px; }
  .form-field input,
  .form-field select,
  .form-field textarea { font-size: 1rem; padding: 13px 14px; }
}

/* ── Registration / Form Closed banner ── */
.form-closed {
  text-align: center;
  padding: 48px 24px;
  background: #f4fbf6;
  border-radius: 10px;
  border: 2px solid var(--green);
}
.form-closed-icon { font-size: 2rem; margin: 0 0 12px; }
.form-closed h3 { margin: 0 0 12px; color: var(--green); font-size: 1.3rem; }
.form-closed p  { color: #555; font-size: 1rem; margin: 0; }
.form-closed a  { color: var(--green); }

/* ── Convert page — decision type cards ── */
.decision-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0;
}
@media (max-width: 480px) {
  .decision-cards { grid-template-columns: 1fr; }
}
.decision-card input[type="radio"] { display: none; }
.decision-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border: 2px solid #dde4e0;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, background .2s;
  font-size: .95rem;
  font-weight: 500;
  color: #444;
  background: #fafafa;
}
.decision-card label svg {
  width: 36px;
  height: 36px;
  fill: var(--green);
  flex-shrink: 0;
}
.decision-card input[type="radio"]:checked + label {
  border-color: var(--green);
  background: #f0faf4;
  color: var(--green);
}

/* ── Convert page — scripture pull-quote ── */
.scripture-banner {
  background: linear-gradient(135deg, var(--green) 0%, #08934e 100%);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
}
.scripture-banner blockquote {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7;
  font-weight: 300;
}
.scripture-banner cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: .9rem;
  font-weight: 600;
  opacity: .85;
}

/* ── Multi-step form progress bar ── */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 32px;
}
.form-progress-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #9ca3af;
  transition: all .3s;
  flex-shrink: 0;
}
.form-progress-dot.done    { background: var(--green); border-color: var(--green); color: #fff; }
.form-progress-dot.current { background: var(--green); border-color: var(--green); color: #fff;
                              box-shadow: 0 0 0 5px rgba(4,104,56,.12); }
.form-progress-line {
  height: 2px;
  width: 72px;
  background: #e5e7eb;
  transition: background .3s;
  flex-shrink: 0;
}
.form-progress-line.done { background: var(--green); }

/* Multi-step visibility */
.form-step { display: none; }
.form-step.active {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Step header */
.step-header { margin-bottom: 0; }
.step-count {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--green);
  margin-bottom: 4px;
}
.step-header h3 { font-size: 1.15rem; font-weight: 700; color: #111; margin: 0 0 6px; }
.step-header p  { font-size: .88rem; color: #6b7280; margin: 0; }

/* ── Styled radio / checkbox option groups ── */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-group.radio-inline {
  flex-direction: row;
  flex-wrap: wrap;
}
.radio-group.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.check-group { display: flex; flex-direction: column; gap: 10px; }

.radio-option, .check-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: .92rem;
  color: #374151;
  background: #fafafa;
  user-select: none;
}
.radio-option:hover, .check-option:hover {
  border-color: var(--green);
  background: #f0faf4;
}
.radio-option.selected, .check-option.selected {
  border-color: var(--green);
  background: #f0faf4;
  font-weight: 600;
  color: #1a5c33;
}

/* Compact grid variant (age range) */
.radio-group.radio-grid .radio-option {
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  text-align: center;
  font-size: .82rem;
  justify-content: center;
  align-items: center;
}

/* Language selector pills */
.lang-select {
  flex-direction: row;
  gap: 12px;
}
.lang-select .radio-option {
  flex: 1;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 16px;
}

/* Override global .form-field input styles for radio/checkbox inputs */
.form-field .radio-option input[type="radio"],
.form-field .radio-option input[type="checkbox"],
.form-field .check-option input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
  transition: none;
}

/* ── Back / Next navigation ── */
.form-nav {
  display: flex;
  gap: 12px;
  margin-top: 0;
}
.form-nav .btn-form-submit,
.form-nav .btn-primary { flex: 1; }
.btn-outline {
  padding: 14px 22px;
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* Field-level error highlight */
.form-field.field-error .radio-group,
.form-field.field-error .check-group {
  border: 2px solid #ef4444;
  border-radius: 10px;
  padding: 8px;
}
.form-field.field-error > label { color: #b91c1c; }

/* Checkbox consent rows */
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color .15s;
}
.consent-field:hover { border-color: var(--green); }
.consent-field input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: none;
}
.consent-field span { font-size: .88rem; color: #374151; line-height: 1.55; }
.consent-field.selected { border-color: var(--green); background: #f0faf4; }
.consent-field.field-error { border-color: #ef4444; background: #fef2f2; }

/* Required marker on Q15 consent gate */
.consent-req-mark { color: var(--green); font-weight: 700; font-size: .9rem; }
.consent-gate { border-color: #d1fae5; background: #f0fdf4; }
.consent-gate.selected { border-color: var(--green); background: #dcfce7; }

.cv-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

@media (max-width: 480px) {
  .radio-group.radio-grid { grid-template-columns: 1fr 1fr; }
  .lang-select { gap: 8px; }
  .lang-select .radio-option { padding: 12px 10px; font-size: .88rem; }
  .form-progress-line { width: 48px; }
}

/* Respect reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .anim, .hero-image, .hero-actions .btn-primary,
  .cta-card, .section-tag, .main-header {
    animation: none !important;
    transition: none !important;
  }
  .anim { opacity: 1 !important; transform: none !important; }
}
