/* Reset & Base Styles - FIXED */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --bg-primary: #FFF9E6;                 /* overall page background */
  --bg-secondary: #E8F5E9;               /* light green sections */
  --bg-card: #FFFFFF;                    /* cards / content blocks */
  --accent-gold: #FFC727;                /* sun / yellow from logo */
  --accent-blue: #2E7D32;                /* primary green accent */
  --text-primary: #1F2933;               /* main text */
  --text-muted: #6B7280;                 /* muted text */
  --border-color: #E5E7EB;               /* soft borders */
  --gradient-blue: linear-gradient(135deg, #FFE082, #FFCC80);
  --gradient-purple: linear-gradient(135deg, #E8F5E9, #FFF3D1);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}



html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FFFFFF;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header - FIXED */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0B8A35;
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* left: logo + text + tagline */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* circle logo */
.header-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

/* wrapper for ONDUGOODU + tagline stacked vertically */
.header-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

/* main title */
.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

/* new tagline under title */
.header-tagline {
  font-size: 0.8rem;
  color: #ffffff;
  opacity: 0.9;
}
.header-tagline:hover{
  color:#000000
}

/* right side: nav + donate */
.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  color: #f9f9f9;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.header-nav a:hover {
  color: var(--text-primary);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* block inside nav (desktop) */
.nav-social {
  margin-left: 1.5rem;
}

/* circle container */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* full logo inside circle, no white bg */
.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.social-link.linkedin:hover {
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.6);
}

.social-link.youtube:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.6);
}

/* Donate Button */
.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0B8A35;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.donate-btn:hover {
  background: #f7f7f7;
  color: #066425;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.donate-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu dropdown */
.header-nav.mobile-open {
  display: flex;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: center;
  background: #0B8A35;
  padding: 1.5rem 1.25rem 2rem;
  gap: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-right {
    gap: 1.5rem;
  }

  .header-nav {
    gap: 1.5rem;
  }

  .social-icons {
    gap: 0.5rem;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .donate-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    height: 60px;
  }

  .header-logo {
    width: 40px;
    height: 40px;
  }

  .header-title {
    font-size: 1.1rem;
  }

  .header-tagline {
    font-size: 0.72rem;
  }

  /* hide inline nav, show only when mobile-open */
  .header-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* top bar: only logo, text, donate, burger */
  .header-right {
    gap: 0.9rem;
  }

  .donate-btn {
    padding: 0.45rem 1.05rem;
    font-size: 0.85rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  }

  /* social icons row under Contact inside dropdown */
  .header-nav .nav-social {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .social-link {
    width: 30px;
    height: 30px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .header-container {
    height: 55px;
    padding: 0 0.9rem;
  }

  .header-logo {
    width: 36px;
    height: 36px;
  }

  .header-title {
    font-size: 1rem;
  }

  .header-tagline {
    font-size: 0.68rem;
  }

  .header-nav.mobile-open {
    padding: 1.3rem 1rem 1.8rem;
  }

  .header-nav a {
    font-size: 1rem;
    padding: 0.4rem 0;
  }

  .header-right {
    gap: 0.7rem;
  }

  .donate-btn {
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
  }

  .header-nav .nav-social {
    margin-top: 1.2rem;
    gap: 0.8rem;
  }

  .social-link {
    width: 28px;
    height: 28px;
  }
}
/* Small phones */
@media (max-width: 480px) {
  .header-container {
    height: 55px;
    padding: 0 0.9rem;
  }

  .header-logo {
    width: 36px;
    height: 36px;
  }

  .header-title {
    font-size: 1rem;
  }

  .header-nav.mobile-open {
    padding: 1.3rem 1rem 1.8rem;
  }

  .header-nav a {
    font-size: 1rem;
    padding: 0.4rem 0;
  }

  .header-right {
    gap: 0.7rem;
  }

  .donate-btn {
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
  }

  .header-nav .nav-social {
    margin-top: 1.2rem;
    gap: 0.8rem;
  }

  .social-link {
    width: 28px;
    height: 28px;
  }
}


/* Hero Slider */
.hero-slider {
  top: 75px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-slide.prev {
  transform: translateX(-100%);
}

/* Dark overlay for readability */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.8)
  );
  z-index: 1;
}

/* Content above overlay */
.hero-slide-content {
  top: 90px;
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #f9fafb;
  padding: 2rem 0;
}

/* Optional: blur panel behind text (wrap h1 + subtitle in .hero-text-box) */
.hero-text-box {
  display: inline-block;
  padding: 1.4rem 1.8rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

/* Heading and subtitle */
.hero-slide-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #e2e8f0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
  max-width: 600px;
}

/* Slider Navigation */
.slider-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active,
.dot:hover {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255, 216, 92, 0.6);
}

.slide-counter {
  position: absolute;
  bottom: 2.2rem;
  right: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 10;
}

.counter-current {
  color: var(--accent);
  font-size: 1.3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #ffd85c, #ff9f1c);
  color: #251400;
  box-shadow: 0 14px 30px rgba(255, 159, 28, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 159, 28, 0.45);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f9fafb;
}

.btn.ghost:hover {
  border-color: var(--accent);
  background: rgba(255, 216, 92, 0.05);
}

.btn.full-width {
  width: 100%;
}

/* Hero card */
.hero-card {
  background: radial-gradient(
    circle at top left,
    #28345f 0,
    #11172a 40%,
    #050814 100%
  );
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0.9rem;
}

.hero-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 216, 92, 0.35);
}


/* Sections */
.section {
  padding: 3.2rem 0;
}

/*.section.alt {
  background: radial-gradient(circle at top, #10152b 0, #050814 65%);
}*/

.section-header {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 1.6rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.section-text h2 {
  margin-top: 0;
}

.section-text p {
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Cards */
.section-card,
.card,
.form-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.45);
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  color: var(--accent);
}

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

.card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.card p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.highlight-block {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border);
}

.highlight-block h3 {
  margin-top: 0;
}

.list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.small {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.85rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: #050814;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text);
  font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 216, 92, 0.4);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
}

/* Who Are We Section */
.who-we-are {
  padding: 5rem 0;
  background: radial-gradient(circle at top left, #10152b 0%, var(--bg) 70%);
  position: relative;
  overflow: hidden;
}

.who-we-are::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.who-we-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.who-we-images {
  position: relative;
}

.image-stack {
  position: relative;
  height: 500px;
}

.image-card {
  position: absolute;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 216, 92, 0.2);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.image-card.primary {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.image-card.secondary {
  width: 70%;
  height: 60%;
  top: 20%;
  right: 0;
  z-index: 2;
  transform: rotate(-3deg);
}

.image-card:hover {
  transform: scale(1.02) rotate(0deg) !important;
  box-shadow: 0 30px 60px rgba(255, 216, 92, 0.25);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem 1.5rem 1.5rem;
  color: var(--text);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-card:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.image-overlay p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  padding: 0.4rem 1rem;
  background: var(--accent);
  color: #1f1300;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* Text Content */
.who-we-text {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.text-block h3 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
}

.text-block h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 1rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: all 1.5s ease;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 0.8rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.features-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .who-we-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .image-stack {
    height: 400px;
  }
  
  .image-card.secondary {
    width: 60%;
    height: 50%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .who-we-are {
    padding: 3rem 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .image-card.secondary {
    display: none;
  }
}

/* Compact Our Reach */
.our-reach {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.reach-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 216, 92, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.reach-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(255, 216, 92, 0.15);
}

/* Image */
.reach-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.reach-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Header */
.reach-card-header {
  padding: 1rem 1.5rem 0;
}

.region-badge {
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--accent), #ff9f1c);
  color: #1f1300;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 20px;
  display: inline-block;
}

.region-badge.alt {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

/* Compact Content */
.reach-content.compact {
  padding: 1.2rem 1.5rem 1.5rem;
}

.reach-content.compact h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.reach-content.compact p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

/* Compact Stats */
.reach-stats {
  margin: 1rem 0;
}

.stat-pair {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Compact Features */
.reach-features.compact {
  margin-top: 0.8rem;
}

.reach-features.compact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.reach-features.compact li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
  color: var(--text);
  font-size: 0.85rem;
}

.reach-features.compact li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .reach-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .reach-image {
    height: 160px;
  }
}

/* What We Do Section */
.what-we-do {
  padding: 5rem 0;
  background: radial-gradient(circle at top, #10152b 0%, var(--bg) 70%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 216, 92, 0.2);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  max-width: 380px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 35px 70px rgba(255, 216, 92, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

/* Service Icons */
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-icon.awareness {
  background: linear-gradient(135deg, var(--accent), #ff9f1c);
  color: #1f1300;
  box-shadow: 0 0 30px rgba(255, 216, 92, 0.4);
}

.service-icon.training {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  box-shadow: 0 0 30px rgba(255, 107, 107, 0.4);
}

.service-icon.tech {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  box-shadow: 0 0 30px rgba(78, 205, 196, 0.4);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Service Content */
.service-content h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin: 0 0 1.2rem;
  font-weight: 600;
}

.service-content p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

/* Features */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.service-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .what-we-do {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
  }
}

/* ===========================
   Partner With Us Section
   =========================== */

.ngo-partner {
  position: relative;
  padding: 4rem 0;
  color: #ffffff;
  overflow: hidden;
}

/* Background image - change URL to your NGO image */
.ngo-partner-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/ngo-partner-bg.jpg'); /* <-- change this */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  z-index: -2;
}

/* Overlay for text readability */
.ngo-partner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.88) 45%,
    rgba(0, 0, 0, 0.4) 80%
  );
  z-index: -1;
}

/* Grid layout */
.ngo-partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Left content */
.ngo-partner-content {
  max-width: 560px;
}

.ngo-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ngo-partner-content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0.7rem 0 1rem;
  line-height: 1.2;
}

.ngo-lead {
  font-size: 1.1rem;
  max-width: 32rem;
  margin: 0 0 0.7rem;
  color: #e2e8f0;
}

.ngo-body {
  font-size: 0.96rem;
  max-width: 36rem;
  color: rgba(226, 232, 240, 0.9);
  margin: 0 0 1.1rem;
}

.ngo-points {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.ngo-points li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.ngo-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1;
  color: #ffd85c;
}

/* Right form card */
.ngo-partner-form-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 2rem 2.2rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.45);
  max-width: 420px;
  margin-left: auto;
}

.ngo-partner-form-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.form-caption {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Form layout */
.ngo-partner-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ngo-partner-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ngo-partner-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
}

.ngo-partner-form input,
.ngo-partner-form select {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 0.7rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #111827;
  background-color: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.ngo-partner-form input::placeholder,
.ngo-partner-form select::placeholder {
  color: #9ca3af;
}

.ngo-partner-form input:focus,
.ngo-partner-form select:focus {
  outline: none;
  border-color: #fb923c;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.45);
  background-color: #ffffff;
}

/* Reuse existing button styles (if already defined):
   .btn, .btn.primary, .btn.full-width
   Otherwise uncomment below minimal button style. */

/*
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.btn.primary {
  background: linear-gradient(135deg, #ffd85c, #ff9f1c);
  color: #1f1300;
}

.btn.full-width {
  width: 100%;
}
*/

/* Responsive */
@media (max-width: 1024px) {
  .ngo-partner-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
  }
}

@media (max-width: 840px) {
  .ngo-partner-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.9) 55%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }

  .ngo-partner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ngo-partner-form-card {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
  }

  .ngo-partner {
    padding: 3rem 0;
  }
}

@media (max-width: 640px) {
  .ngo-partner-content h2 {
    font-size: 1.8rem;
  }

  .ngo-partner-form-card {
    padding: 1.6rem 1.4rem;
  }

  .ngo-partner-bg {
    transform: scale(1.08);
  }
}

.about-program {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  overflow: hidden;
}

.about-program-header {
  text-align: center;
  margin-bottom: 60px;
}

.eyebrow {
  color: #667eea;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-program-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin: 0 0 24px 0;
}

.about-intro {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.about-block {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.about-block:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
  border-color: rgba(102, 126, 234, 0.3);
}

.about-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 24px 0;
  position: relative;
}

.about-block h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

.about-block p {
  color: #475569;
  line-height: 1.75;
  margin: 0;
  font-size: 1rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: #475569;
  line-height: 1.7;
}

.about-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 2px;
  color: #667eea;
  font-size: 1.2rem;
  font-weight: 700;
  animation: arrowFloat 2s ease-in-out infinite;
}

@keyframes arrowFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.vision-mission {
  display: grid;
  gap: 24px;
}

.vision-mission > div {
  padding: 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.vision-mission h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vision-mission h4::before {
  content: '✦';
  font-size: 1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vision-mission p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-program {
    padding: 60px 0;
  }
  
  .about-program-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-block {
    padding: 32px 24px;
  }
  
  .about-program-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .about-block {
    padding: 28px 20px;
  }
  
  .about-program-header h2 {
    font-size: 2.25rem;
  }
}

/* Scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-block {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.about-block:nth-child(1) { animation-delay: 0.1s; }
.about-block:nth-child(2) { animation-delay: 0.2s; }
.about-block:nth-child(3) { animation-delay: 0.3s; }
.about-block:nth-child(4) { animation-delay: 0.4s; }

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.3rem 0 1.6rem;
  background: #050814;
}

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

.footer-brand {
  font-size: 0.9rem;
  margin: 0 0 0.2rem;
}

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

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-card {
    margin-top: 1.5rem;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    inset: 64px 0 auto 0;
    padding: 0.8rem 1.5rem 1rem;
    background: rgba(5, 8, 20, 0.98);
    flex-direction: column;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .highlights-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }
}
/* 3 cards per row, responsive */
.services-grid.hero-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 992px) {
  .services-grid.hero-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid.hero-services {
    grid-template-columns: 1fr;
  }
}

/* hero-style cards similar to your reach section */
.hero-card {
  background: #f3f5f5; /* deep slate instead of almost-black */
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45); /* soft slate border */
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.75); /* smoother shadow */
  display: flex;
  flex-direction: column;
  color: #000000; /* ensure text is readable */
}


/* top image */
.hero-card-image {
  height: 190px;
  background-size: cover;
  background-position: center;
}

/* bottom content */
.hero-card-body {
  padding: 1.6rem 1.6rem 1.8rem;
}

/* small pill at top of card */
.hero-badge {
  display: inline-flex;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #facc15;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}
.hero-badge.badge-alt {
  background: #fb7185;
  color: #000000;
}

/* heading & text */
.hero-card-body h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}
.hero-card-body p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: #787878;
}

/* small bullet list */
.service-features.compact {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: #000000;
}
.service-features.compact li + li {
  margin-top: 0.25rem;
}

/* primary button to that page */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  color: #000000;
         background: linear-gradient(135deg, #FFE082, #FFB300);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(248, 113, 113, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-btn i {
  font-size: 0.85rem;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(248, 113, 113, 0.55);
      background: linear-gradient(135deg, #f9d56b, #FFB300);
}

/*footer*/
.footer {
  background: #0B8A35;
  color: #E6F6EB;
  padding: 3.5rem 0 1.6rem;
  margin-top: 4rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: flex-start;
}

/* Column 1 */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.footer-logo-text h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-logo-text p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #CFF3D8;
}

.footer-about {
  margin: 0 0 0.8rem;
  max-width: 360px;
  color: #E6F6EB;
  line-height: 1.7;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: #CFF3D8;
}

/* Column titles */
.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

/* QUICK LINKS – vertical list with arrow */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block !important;      /* force block, kill any flex */
}

.footer-links li {
  display: block;
  margin: 0 0 0.75rem;
}

.footer-links a {
  display: inline-block;
  padding-left: 1.4rem;           /* space for arrow */
  position: relative;
  color: #E6F6EB;
  text-decoration: none;
  font-size: 0.98rem;
  white-space: nowrap;            /* keep text in one line */
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: #D1E7D8;
}

.footer-links a:hover {
  color: #FFF8C2;
  transform: translateX(2px);
}

/* Contact list */
.footer-contact {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.footer-contact li + li {
  margin-top: 0.4rem;
}

.footer-contact a {
  color: #E6F6EB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #FFF8C2;
}

/* Social icons in footer */
.footer-social-title {
  margin-top: 1.2rem;
  margin-bottom: 0.7rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-social a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-map {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 200px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(230, 246, 235, 0.35);
  margin-top: 2.4rem;
  padding-top: 0.9rem;
  font-size: 0.85rem;
  color: #D6F0DD;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
}

/* each takes 1/3 width so center stays centered */
.footer-copy,
.footer-designed,
.footer-top {
  flex: 1;
}

/* align left / center / right */
.footer-copy {
  text-align: left;
}

.footer-designed {
  text-align: center;
}

.footer-top {
  text-align: right;
  white-space: nowrap;
}

.footer-bottom-inner a {
  color: #E6F6EB;
  text-decoration: none;
}

.footer-bottom-inner a:hover {
  color: #FFF8C2;
}

/* mobile: stack */
@media (max-width: 640px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy,
  .footer-designed,
  .footer-top {
    flex: 0;
    text-align: center;
  }
}



/* Responsive */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    row-gap: 2.5rem;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 2.8rem 0 1.3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Popup overlay */
.form-popup {
  position: fixed;
  inset: 0;
  display: none;                 /* hidden by default */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
}

/* Show state (JS adds .show) */
.form-popup.show {
  display: flex;
}

/* Popup card */
.form-popup-content {
  background: #ffffff;
  color: #111827;
  padding: 1.8rem 2.2rem;
  border-radius: 16px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  animation: popup-fade-in 0.22s ease-out;
}

/* Heading and text spacing */
.form-popup-content h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.form-popup-content p {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Reuse your primary button style; optionally tweak size here */
#formPopupClose.primary-btn {
  min-width: 120px;
}

/* Simple appear animation */
@keyframes popup-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
