/* ===========================
   BahayNihan – Main Stylesheet
   =========================== */

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

:root {
  --primary:    #3a7d44;   /* forest green */
  --primary-lt: #57a85f;   /* medium green */
  --primary-dk: #2c5f34;   /* deep green */
  --accent:     #f39c12;   /* warm gold */
  --dark:       #1e3a22;   /* very dark green */
  --light:      #eef6ee;   /* pale green tint */
  --white:      #ffffff;
  --muted:      #6b8f6e;
  --text:       #2c3e2d;

  --font-head:  'American Typewriter', 'Special Elite', 'Courier New', Courier, monospace;
  --font-body:  'American Typewriter', 'Special Elite', 'Courier New', Courier, monospace;

  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.12);
  --transition: .28s ease;
}

html { scroll-behavior: smooth; font-size: 20px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; }
*, *::before, *::after { font-family: inherit; }

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

sup { font-size: .6em; vertical-align: super; }

/* --- Utility --- */
.container   { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.centered    { text-align: center; }
.section     { padding: 0 0 88px; }
.section-light  { background: #ffffff; }
.section-dark   { background: #ffffff; color: var(--text); }
.section-accent { background: #ffffff; color: var(--text); }
.alt-bg      { background: #f5f5f5; }

/* Alternating section backgrounds — concept(2nd section)=white, then grey, white, grey… */
section.section:nth-of-type(even) { background: #ffffff !important; }
section.section:nth-of-type(odd)  { background: #f5f5f5 !important; }
.hidden      { display: none !important; }
.mt          { margin-top: 16px; }

/* --- Section Labels & Headings --- */
/* ── Section banner (green strip with logo + title) ── */
.section-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--primary);
  padding: 10px 48px;
  margin-bottom: 48px;
  width: 100%;
  box-sizing: border-box;
}
.banner-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.section-banner span {
  color: #fff !important;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: none !important;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 20px;
  color: inherit;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #e67e22; transform: translateY(-2px); }
.btn-primary.full-width { width: 100%; text-align: center; margin-top: 20px; }

/* ===========================
   NAVBAR
   =========================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.9);
  font-size: .92rem; font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.btn-nav {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px; border-radius: 50px; font-weight: 700 !important;
}
.btn-nav:hover { background: #e67e22 !important; color: #fff !important; }

.hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 1.6rem; cursor: pointer;
}

/* ===========================
   HERO
   =========================== */
#hero {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  min-height: 480px;
  overflow: hidden;
  margin-top: 64px;
}
.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 48px 56px;
  gap: 16px;
  background: #ffffff;
}
.hero-right {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}
.hero-bottom-left {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) .8s both;
}
.hero-bottom-right {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 10;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) .8s both;
}
.hero-right video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-logo-br {
  width: 320px;
  height: auto;
  filter: brightness(0);
  margin-top: auto;
}
.hero-label {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #111 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  line-height: 1.15;
}
#hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0;
  border-left: 5px solid var(--accent);
  padding-left: 16px;
  animation: heroSlideUp .8s cubic-bezier(.22,1,.36,1) .2s both;
}
.hero-sub {
  font-size: 1rem;
  margin: 0;
  padding-left: 21px;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) .4s both;
}
.hero-tag {
  font-size: 1rem; font-weight: 600;
  margin: 0;
  padding-left: 21px;
  border-left: 3px solid #ccc;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) .6s both;
}
/* Discover How button */
.btn-hero-cta {
  font-size: 1.05rem;
  font-weight: 900;
  padding: 14px 32px;
  background: #f5a623;
  color: #1a2e1a;
  border-radius: 50px;
  letter-spacing: .02em;
  text-shadow: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  white-space: nowrap;
  border: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}
.btn-hero-cta:hover {
  background: #e67e22;
  transform: translateY(-2px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: .88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.hero-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   TWO-COLUMN LAYOUT
   =========================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%; object-fit: cover;
}
.col-text p { color: var(--muted); font-size: 1.02rem; margin-bottom: 20px; }

/* --- Stakeholder List --- */
.stakeholder-list { margin-top: 12px; padding-left: 1.4em; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.stakeholder-list li {
  font-weight: 600; font-size: 1rem; list-style: disc;
}
.icon { display: none; }

/* ===========================
   GOAL / SMILES
   =========================== */
.smiles-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin: 40px 0;
}
.smile-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}
.smile-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }
.smile-number {
  font-family: var(--font-head);
  font-size: 3rem; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-bottom: 8px;
}
.smile-card h3 { font-size: 1.6rem; margin-bottom: 16px; }
.smile-title { display: flex; align-items: center; justify-content: center; gap: 12px; }
.smile-title .smile-number { font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.smile-card p  { color: rgba(255,255,255,.88); font-size: 1.25rem; line-height: 1.7; }
.not-profits {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent); text-align: center;
  margin-top: 8px;
}

/* ===========================
   FOUNDATION
   =========================== */
.foundation-body { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 600px; margin: 0 auto 36px; }

/* Foundation plain text layout */
.foundation-text {
  text-align: left;
  max-width: 520px;
  margin: 0 auto 40px;
}
.fb-line {
  opacity: 0;
  transform: translateY(28px) scale(.95);
  transition: opacity .55s cubic-bezier(.34,1.56,.64,1),
              transform .55s cubic-bezier(.34,1.56,.64,1);
  margin-bottom: 28px;
}
.fb-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
}
.fb-big {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}
.fb-body {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.75;
}
/* Staggered pop-up delays */
.foundation-text.fb-visible .fb-line-1 { opacity:1; transform:none; transition-delay:0.2s; }
.foundation-text.fb-visible .fb-line-2 { opacity:1; transform:none; transition-delay:1.5s; }
.foundation-text.fb-visible .fb-line-3 { opacity:1; transform:none; transition-delay:2.0s; }
.foundation-text.fb-visible .fb-line-4 { opacity:1; transform:none; transition-delay:3.0s; }
.foundation-text.fb-visible .fb-line-5 { opacity:1; transform:none; transition-delay:4.0s; }

/* Individual sentence colors */
.fb-line-1 { color: var(--muted) !important; font-style: italic; }
.fb-line-2 { color: var(--primary) !important; }
.fb-line-3 { color: var(--text) !important; }
.fb-line-4 { color: var(--primary-lt) !important; font-style: italic; }
.fb-line-5 { color: #e67e22 !important; text-shadow: 0 0 24px rgba(243,156,18,.3), 0 2px 8px rgba(0,0,0,.1); }
.stat-bar {
  max-width: 500px; margin: 0 auto;
  background: rgba(0,0,0,.08);
  border-radius: 50px; height: 44px; overflow: hidden;
}
.stat-fill {
  height: 100%; width: 100%; max-width: var(--pct);
  background: linear-gradient(90deg, var(--accent), #f8c471);
  border-radius: 50px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: var(--dark);
  animation: growBar 1.4s ease-out forwards;
  transform-origin: left;
}
@keyframes growBar { from { width: 0; } to { width: min(var(--pct), 100%); } }

/* Animated Chart.js canvas */
.chart-wrapper {
  position: relative;
  margin-top: 44px;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  background: #f4f8f4;
  border-radius: var(--radius);
  padding: 28px 24px 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
#markupChart {
  width: 100% !important;
  border-radius: var(--radius);
}

/* Lightbox / zoom state */

/* ===========================
   PROCESS
   =========================== */
.process-steps {
  display: flex; align-items: stretch;
  gap: 16px; margin-top: 40px;
}

/* Community section — keep label gold (handled by global rule below) */

/* Community section two-column layout */
.community-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 24px;
}
.community-layout .process-steps {
  flex: 1;
  margin-top: 0;
}
.community-logo-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.community-logo-img {
  width: 440px;
  height: auto;
  filter: none;
}
.community-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dk);
  text-align: center;
  margin: 0 0 0 0;
  max-width: 260px;
  line-height: 1.25;
  letter-spacing: .02em;
  font-style: italic;
  font-family: 'Special Elite', 'American Typewriter', 'Courier New', monospace;
}
@media (max-width: 640px) {
  .community-layout { flex-direction: column; }
  .community-logo-img { width: 180px; }
}
.process-step {
  flex: 1;
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--white);
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  width: 56px; height: 56px; border-radius: 50%;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 12px; color: #111; }
.process-step ul { display: flex; flex-direction: column; gap: 8px; }
.process-step li { font-size: .93rem; color: var(--muted); padding-left: 12px; position: relative; }
.process-step li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }
.process-arrow { font-size: 2rem; color: var(--muted); align-self: center; flex-shrink: 0; }

/* ===========================
   COMMUNITY
   =========================== */
.amenity-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 20px;
}
.amenity {
  background: var(--white);
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 600; font-size: .95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

/* ===========================
   COMMUNITY SECTION
   =========================== */
.community-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.community-content {
  flex: 1;
}
.community-img {
  flex: 0 0 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.community-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.community-steps {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px;
  margin-top: 24px;
}
.community-block {
  background: var(--light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.community-intro {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.community-list {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.community-list li {
  font-size: 1rem;
  color: var(--text);
}

/* ===========================
   BUSINESS MODEL (3P)
   =========================== */
.section-rule {
  border: none;
  border-top: 2px solid var(--primary);
  margin: 10px 0 40px;
  width: 48px;
}
.three-p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.three-p-card {
  background: #f4f8f4;
  border: 1px solid rgba(58,125,68,.18);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background var(--transition), transform var(--transition);
}
.three-p-card:hover {
  background: #e8f2e8;
  transform: translateY(-4px);
}
.three-p-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--primary-dk);
  margin-bottom: 14px;
}
.three-p-card p {
  color: var(--text);
  font-size: .97rem;
  line-height: 1.7;
}

/* ===========================
   HOMES
   =========================== */
.homes-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px; align-items: start;
  margin-top: 44px;
}
.home-card img {
  border-radius: var(--radius);
  width: 100%; height: 280px; object-fit: cover;
  box-shadow: var(--shadow);
}
.home-card .home-details {
  background: #f4f8f4;
  border: 1px solid rgba(58,125,68,.12);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px;
}
.home-card .home-details h3 { margin-bottom: 12px; }
.home-card .home-details li { padding: 4px 0; font-size: .95rem; }

.pricing-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  min-width: 240px;
}
.pricing-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.price-main {
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 700;
  color: #111; line-height: 1;
}
.price-label { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.price-features { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.price-feature { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.price-feature.highlight {
  justify-content: center; background: var(--light);
  border-radius: 8px; padding: 12px; font-size: 1.15rem; color: #111;
}
.check { color: #111; font-size: 1.1rem; }

/* ===========================
   CONTACT
   =========================== */
.contact-form {
  max-width: 640px; margin: 32px auto 0;
  display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(58,125,68,.25); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem;
  background: #f4f8f4;
  color: var(--text);
  outline: 2px solid transparent;
  transition: outline var(--transition), background var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  background: #ffffff;
}
.contact-form button { align-self: center; }
.form-success {
  margin-top: 20px; font-size: 1.1rem;
  color: var(--primary); font-weight: 600;
}

/* ===========================
   FOOTER
   =========================== */
#footer {
  background: #162b19; color: rgba(255,255,255,.7);
  padding: 48px 0 32px; text-align: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
}
.footer-tagline { font-style: italic; margin-bottom: 24px; }
.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 20px; margin-bottom: 24px;
}
.footer-nav a { font-size: .9rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: .8rem; }

/* ===========================
   WATERMARK
   =========================== */
.section { position: relative; }   /* ensure watermark is contained */

.wm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
/* all content inside sections must sit above watermark */
.section > *:not(.wm) { position: relative; z-index: 1; }

.wm-img {
  width: 780px;
  max-width: 85%;
  height: auto;
  object-fit: contain;
  opacity: .08;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Green/dark sections — slightly more visible */
.wm-img.wm-light {
  opacity: .12;
}

/* ===========================
   PROCESS STEP ANIMATIONS
   =========================== */

/* Cards slide up and pop in */
.step-animate {
  opacity: 0;
  transform: translateY(50px) scale(.92);
  transition: opacity .5s cubic-bezier(.34,1.56,.64,1),
              transform .5s cubic-bezier(.34,1.56,.64,1);
  transition-delay: var(--step-delay, 0s);
}
.arrow-animate {
  opacity: 0;
  transform: scale(.4);
  transition: opacity .35s ease, transform .35s ease;
  transition-delay: var(--step-delay, 0s);
}
.process-steps.steps-visible .step-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.process-steps.steps-visible .arrow-animate {
  opacity: 1;
  transform: scale(1);
}

/* List items pop in one by one with a bounce */
@keyframes popUp {
  0%   { opacity: 0; transform: scale(.6) translateY(10px); }
  70%  { transform: scale(1.08) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Accordion – hidden details */
.process-step { cursor: pointer; user-select: none; }
.process-step:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.step-hint {
  display: block;
  font-size: .78rem;
  color: #111;
  font-weight: 700;
  letter-spacing: .05em;
  margin: 8px 0 0;
  transition: opacity .2s;
}
.process-step.is-open .step-hint { opacity: 0; height: 0; margin: 0; overflow: hidden; }

/* Hidden by default — pop open on click */
.step-details {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  margin-top: 0 !important;
  transition: max-height .55s cubic-bezier(.4,0,.2,1),
              opacity .4s ease,
              margin .3s ease;
}
.process-step.is-open .step-details {
  max-height: 900px !important;
  opacity: 1 !important;
  margin-top: 14px !important;
}

/* Step detail items */
.step-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--text);
}
.step-item:last-child { margin-bottom: 0; }
.step-item p { margin: 0; flex: 1; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  border-radius: 50px;
  padding: 0 7px;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-or {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  margin: 6px 0 10px;
}

.process-step ul li {
  opacity: 0;
}
/* Step 1 items */
.process-steps.steps-visible .process-step:nth-child(1) ul li:nth-child(1) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) .55s forwards; }
.process-steps.steps-visible .process-step:nth-child(1) ul li:nth-child(2) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) .72s forwards; }
/* Step 2 items */
.process-steps.steps-visible .process-step:nth-child(3) ul li:nth-child(1) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) 1.0s forwards; }
.process-steps.steps-visible .process-step:nth-child(3) ul li:nth-child(2) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) 1.15s forwards; }
.process-steps.steps-visible .process-step:nth-child(3) ul li:nth-child(3) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) 1.3s forwards; }
.process-steps.steps-visible .process-step:nth-child(3) ul li:nth-child(4) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) 1.45s forwards; }
/* Step 3 items */
.process-steps.steps-visible .process-step:nth-child(5) ul li:nth-child(1) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) 1.5s forwards; }
.process-steps.steps-visible .process-step:nth-child(5) ul li:nth-child(2) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) 1.65s forwards; }
.process-steps.steps-visible .process-step:nth-child(5) ul li:nth-child(3) { animation: popUp .4s cubic-bezier(.34,1.56,.64,1) 1.8s forwards; }

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Element-level scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1),
              transform .6s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.from-left  { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.from-bottom{ transform: translateY(44px); }
.reveal.scale-up   { transform: scale(.88) translateY(20px); }

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .two-col, .smiles-grid { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); align-self: center; }
  .homes-grid { grid-template-columns: 1fr; }
  .homes-grid .pricing-card { order: -1; min-width: unset; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--primary);
    padding: 20px 24px; gap: 8px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  #hero { flex-direction: column; }
  .hero-right { flex: 0 0 220px; width: 100%; }
  .hero-left { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}


/* ── Global: ALL text black ── */
body, h1, h2, h3, h4, h5, h6, p, li, span, a:not(.btn-primary):not(.btn-nav),
label, input, textarea, .section-label, .section-label.light,
.fb-line-1, .fb-line-2, .fb-line-3, .fb-line-4, .fb-line-5,
.fb-big, .fb-body, .community-tagline, .three-p-card h3, .three-p-card p,
.smile-card h3, .smile-card p, .not-profits, .home-card h3,
.price-main, .price-label, .price-feature, .check, .step-hint,
.process-step h3, .stat-label, .amenity h4, .hero-sub, .hero-tag,
.footer-logo, .footer-tagline, .footer-nav a, .footer-copy {
  color: #111 !important;
  text-shadow: none !important;
}

/* stakeholder bullets */
.stakeholder-list li { list-style: disc; margin-left: 1.2em; }
.stakeholder-list .icon { display: none; }
