:root {
  --green: #239B0F;
  --green-bright: #25DB07;
  --green-hero: #44E929;
  --green-deep: #086E2C;
  --green-hover: #0F7B1D;
  --sky: #6EC1E4;
  --accent: #61CE70;
  --footer: #B20A0A;
  --ink: #2b2b2b;
  --text: #000000;
  --muted: #54595F;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #F3F5F2;
  --bg-blue: #F4F8FD;
  --hero-blue: #055394;
  --nav-active: #FF0909;
  --line: rgba(43, 43, 43, 0.1);
  --shadow: 0 16px 40px rgba(8, 110, 44, 0.12);
  --font-display: "Poppins", "Montserrat", "Roboto", sans-serif;
  --font-body: "Montserrat", "Poppins", "Roboto", sans-serif;
  --font-hero: "Roboto", "Montserrat", sans-serif;
  --container: 1200px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: #fff;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 28px;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .25s ease, background .25s ease, transform .25s ease; }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 .75rem;
}
.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .5rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Green ticker — fixed strip (must never expand page width) */
.topbar-green {
  background: var(--green);
  color: #fff;
  height: 36px;
  max-height: 36px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 90;
  contain: layout paint;
}
.marquee {
  display: flex;
  width: max-content;
  gap: 0;
  padding: 5px 0;
  font-size: .9rem;
  font-weight: 500;
  line-height: 26px;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 40s linear infinite;
}
.marquee span {
  display: inline-block;
  padding: 0 2rem;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Header — logo + nav like Woostify layout 1, without WP */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
}
.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.brand-text { display: none; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
}
.primary-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  padding: 20px 16px;
  line-height: 1;
}
.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--nav-active);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: .55rem .9rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .85rem 1.6rem;
  border-radius: 50px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn-primary {
  background: var(--green-bright);
  color: #fff;
}
.btn-primary:hover {
  background: var(--nav-active);
  color: #fff;
  transform: translateY(-2px);
}
.hero .btn-primary {
  font-family: var(--font-hero);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--green-deep);
}
.btn-light:hover { color: var(--hero-blue); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.85);
}
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Hero — matches live Elementor section 7833bd5 (custom CSS, no WP) */
.hero {
  position: relative;
  min-height: 625px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background-color: #1a1a1a;
  background-image: var(--hero-image);
  background-position: 132px -108px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2b2b2b;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.75rem 0 5rem;
  max-width: 620px;
}
.hero h1 {
  font-family: var(--font-hero);
  color: #fff;
  font-size: clamp(1.85rem, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  word-spacing: 2px;
  margin: 0 0 .85rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-hero);
}
.hero .hero-rule {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  background: none;
  margin: 0 0 1.1rem;
}
.hero .hero-rule::before {
  content: "";
  width: 70px;
  height: 3px;
  background: var(--green-bright);
}
.hero .hero-rule i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nav-active);
  display: inline-block;
}
.hero p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: #fff;
}

/* Partners — light cards like live */
.partners {
  padding: 1.35rem 0;
  background: #f4f6f3;
  border-bottom: 1px solid var(--line);
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem 1.25rem;
}
.partner-card {
  background: #e9eee8;
  border-radius: 4px;
  padding: .85rem 1.4rem;
  display: grid;
  place-items: center;
  min-width: min(220px, 100%);
}
.partner-card img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: invert(1) brightness(0.45);
  opacity: .92;
  transition: opacity .25s ease, transform .25s ease;
}
.partner-card:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

/* Sections */
.section { padding: 4.25rem 0; }
.section-alt { background: var(--bg-soft); }
.section-impact { background: var(--bg-blue); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-head p { color: var(--muted); margin: 0; }
.section-head .subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: .35rem 0 .75rem;
}
.section-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  font-size: .85rem;
  margin: 0 0 .5rem;
}
.section-kicker.light { color: rgba(255,255,255,.9); }

.dual-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}
.dual-title .lead,
.dual-title span.lead { color: var(--green); }
.dual-rule {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: .85rem 0 1.1rem;
}
.dual-rule span {
  display: block;
  height: 3px;
  border-radius: 2px;
}
.dual-rule span:first-child { width: 28px; background: var(--green); }
.dual-rule span:last-child { width: 48px; background: var(--ink); }

/* Who are we — live dark photo band */
.who-section {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  text-align: center;
  background-color: #1a1a1a;
  background-image: var(--who-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.who-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2b2b2b;
  opacity: 0.82;
  z-index: 0;
}
.who-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}
.who-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.who-title .lead { color: var(--green-bright); }
.who-title .rest { color: #fff; }
.who-rule span:first-child { background: var(--green-bright); }
.who-rule span:last-child { background: var(--nav-active); width: 36px; }
.who-inner p {
  color: rgba(255,255,255,.92);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0;
}
.who-mark {
  margin-top: 1.25rem;
  color: var(--nav-active);
  font-size: 1.35rem;
}

.focus-title .lead { color: var(--nav-active); }
.focus-title .rest { color: var(--green); }
.focus-section .card-link { color: var(--nav-active); }
.focus-section .card-link:hover { color: var(--green-deep); }

.header-search {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--nav-active);
  margin-left: .25rem;
  flex: 0 0 auto;
}
.header-search:hover { color: var(--green-deep); }

.fancy-line .typed {
  color: var(--green);
  border-right: 2px solid var(--green);
  padding-right: 2px;
  margin-left: .15rem;
  white-space: nowrap;
}

/* Focus carousel */
.focus-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: stretch;
}
.focus-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .35rem .15rem 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.focus-track::-webkit-scrollbar { display: none; }
.focus-slide {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.focus-slide:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.focus-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.focus-slide-body { padding: 1.15rem 1.2rem 1.35rem; }
.focus-slide h3 {
  font-size: 1.15rem;
  margin-bottom: .45rem;
}
.focus-slide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.focus-nav {
  align-self: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.focus-nav:hover { background: var(--green); color: #fff; border-color: var(--green); }

.card-link {
  display: inline-flex;
  margin-top: .9rem;
  font-weight: 700;
  color: var(--green);
}
.card-link:hover { color: var(--hero-blue); }

/* Featured communities band */
/* Featured communities — photo + floating white card */
.featured-scene {
  position: relative;
  min-height: 520px;
  background-image: var(--featured-image);
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: end;
  padding: 2.5rem 0 3rem;
}
.featured-card {
  width: min(480px, calc(100% - 2rem));
  margin-left: max(1rem, calc((100% - var(--container)) / 2));
  background: #fff;
  border-radius: 4px;
  padding: 1.75rem 1.85rem 1.9rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.featured-card .eyebrow {
  margin: 0 0 .55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
}
.featured-card h2 {
  color: #0d7a6f;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.featured-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.focus-section,
.section-impact,
.news-section,
.projects-section {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

/* Project cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.project-card,
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.project-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.project-card h3,
.blog-card h3 { font-size: 1.15rem; }
.project-card h3 a,
.blog-card h3 a { color: inherit; }
.project-card p,
.blog-card p { margin: 0; color: var(--muted); }
.blog-card .meta {
  color: #FF6B06;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .45rem;
}

/* Impact accordion */
.impact-accordion {
  display: flex;
  gap: .65rem;
  min-height: 420px;
}
.impact-pane {
  flex: 1;
  position: relative;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: flex .45s ease;
  min-height: 320px;
}
.impact-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72));
}
.impact-pane.is-active { flex: 4.5; }
.impact-pane-body {
  position: relative;
  z-index: 1;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.impact-pane.is-active .impact-pane-body {
  opacity: 1;
  transform: none;
}
.impact-pane h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: .55rem;
}
.impact-pane p {
  margin: 0 0 1rem;
  line-height: 1.6;
  max-width: 28rem;
}

/* News ticker */
.news-ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.news-ticker strong {
  flex: 0 0 auto;
  color: #FF0909;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.news-ticker-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.news-ticker-track a { color: var(--ink); font-weight: 500; }
.news-ticker-track a:hover { color: var(--green); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CTA */
.cta-band {
  background:
    linear-gradient(120deg, rgba(35, 155, 15, 0.9), rgba(5, 83, 148, 0.85)),
    var(--hero-image, none) center/cover;
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  max-width: 40rem;
  margin: 0 auto 1.4rem;
  line-height: 1.35;
}

/* Inner pages */
.page-hero {
  background:
    linear-gradient(120deg, rgba(8, 110, 44, 0.88), rgba(5, 83, 148, 0.82)),
    url('/uploads/hello-section.jpg') center/cover;
  color: #fff;
  padding: 3.6rem 0 2.8rem;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0;
}
.page-hero p { margin: .75rem 0 0; opacity: .92; max-width: 40rem; }
.prose { max-width: 48rem; }
.prose h2, .prose h3 { font-family: var(--font-display); }
.prose img { border-radius: var(--radius); margin: 1rem 0; }
.form { display: grid; gap: 1rem; max-width: 36rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}
.alert { padding: .9rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.alert-success { background: #e7f8ea; color: #1c5a36; }
.alert-error { background: #fde8e4; color: #8a2b1a; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 3.2rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 .75rem;
  color: #fff;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffe0e0; }
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .85rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .9rem;
  opacity: .9;
}

.reveal {
  opacity: 1;
  transform: none;
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .impact-accordion { flex-direction: column; min-height: 0; }
  .impact-pane { min-height: 180px; flex: none !important; }
  .impact-pane.is-active { min-height: 280px; }
  .impact-pane-body { opacity: 1; transform: none; }
  .focus-nav { display: none; }
  .focus-carousel { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero {
    min-height: 420px;
    background-position: center top;
    background-attachment: scroll;
  }
  .hero::before { opacity: 0.82; }
  .who-section { background-attachment: scroll; }
  .featured-card { margin-left: 1rem; margin-right: 1rem; width: auto; }
  .header-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    padding: .75rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .85rem .5rem; }
  .brand img { width: 52px; height: 52px; }
  .header-inner { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
