:root {
  --acts101-primary: #065e23;
  --acts101-primary-dark: #044a1b;
  --acts101-primary-light: #087a2e;
  --acts101-secondary: #2E8B57;
  --acts101-accent: #F7941D;
  --acts101-accent-dark: #d97d10;
  --acts101-white: #FFFFFF;
  --acts101-light-gray: #F5F7FA;
  --acts101-mid-gray: #E2E8F0;
  --acts101-gray: #94A3B8;
  --acts101-dark-gray: #333333;
  --acts101-black: #111827;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', sans-serif;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --top-bar-height: 36px;
  --header-height: 80px;
  --header-height-scrolled: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--acts101-dark-gray);
  background: var(--acts101-white);
  line-height: 1.7;
  padding-top: calc(var(--top-bar-height) + var(--header-height));
}

body.menu-open { overflow: hidden; }

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

a { color: var(--acts101-primary); text-decoration: none; }
a:hover { color: var(--acts101-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--acts101-dark-gray);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--acts101-primary);
  color: #fff;
  padding: 8px 12px;
  z-index: 2000;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(1280px, calc(100% - 2rem)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: .75rem 1.6rem;
  border: 2px solid transparent;
  transition: .25s ease;
  text-decoration: none;
}
.btn-primary, .btn.btn-primary {
  background: var(--acts101-primary);
  border-color: var(--acts101-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--acts101-primary-dark); color: #fff; transform: translateY(-2px); }
.btn-secondary, .btn.btn-secondary {
  background: #fff;
  color: var(--acts101-primary);
  border-color: var(--acts101-primary);
}
.btn-secondary:hover { background: var(--acts101-primary); color: #fff; }
.btn-accent, .btn.btn-accent {
  background: var(--acts101-accent);
  border-color: var(--acts101-accent);
  color: #fff;
}
.btn-accent:hover { background: var(--acts101-accent-dark); color: #fff; }
.btn-donate {
  background: var(--acts101-accent);
  color: #fff !important;
  border-color: var(--acts101-accent);
  padding: .55rem 1.2rem;
  font-size: .9rem;
}
.btn-donate:hover { background: var(--acts101-accent-dark); color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.8);
}
.btn-ghost:hover { background: #fff; color: var(--acts101-primary); }

.section-padding { padding: 5rem 0; }
.section-label {
  display: inline-block;
  color: var(--acts101-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-divider {
  width: 64px;
  height: 3px;
  background: var(--acts101-accent);
  margin: .85rem auto 0;
}
.card-soft {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.card-soft:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* Top bar + header */
.top-header-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  height: var(--top-bar-height);
  background: #033b17;
  color: rgba(255,255,255,.82);
  font-size: .75rem;
  transition: transform .25s, opacity .25s;
}
.top-header-bar.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.top-header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.top-header-left, .top-header-right { display: flex; align-items: center; gap: .55rem; }
.top-header-item { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.top-header-item i { color: var(--acts101-accent); font-size: .7rem; }
a.top-header-item:hover { color: var(--acts101-accent); }
.top-header-divider { color: rgba(255,255,255,.25); }
.top-header-social {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: #fff; font-size: .65rem;
}
.top-header-social:hover { background: var(--acts101-accent); color: #fff; }

.site-header {
  position: fixed; top: var(--top-bar-height); left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: var(--acts101-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: .25s ease;
}
.site-header.scrolled {
  top: 0; background: #fff; height: var(--header-height-scrolled);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-logo {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.96); border-radius: 7px; padding: 5px 12px;
}
.site-header.scrolled .site-logo { background: transparent; padding: 4px 0; }
.site-logo img { height: 46px; width: auto; display: block; }
.site-header.scrolled .site-logo img { height: 38px; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(.5rem, 1vw, 1.3rem); }
.site-nav a {
  font-family: var(--font-heading); font-weight: 600; font-size: .88rem;
  color: #fff; position: relative;
}
.site-header.scrolled .site-nav a { color: var(--acts101-dark-gray); }
.site-nav a:hover, .site-nav a.is-active { color: var(--acts101-accent); }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > ul {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--acts101-accent); padding: .5rem 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .22s;
  z-index: 1100;
}
.site-nav > ul > li:hover > ul { opacity: 1; visibility: visible; transform: none; }
.site-nav > ul > li > ul a {
  display: block; padding: .6rem 1.1rem; color: var(--acts101-dark-gray); font-size: .84rem; white-space: nowrap;
}
.site-nav > ul > li > ul a:hover { background: var(--acts101-light-gray); color: var(--acts101-primary); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.mobile-menu-toggle {
  display: none; background: none; border: 0; width: 42px; height: 42px; position: relative;
}
.mobile-menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: .2s;
}
.site-header.scrolled .mobile-menu-toggle span { background: var(--acts101-primary); }
.mobile-menu-toggle span:nth-child(1) { top: 13px; }
.mobile-menu-toggle span:nth-child(2) { top: 20px; }
.mobile-menu-toggle span:nth-child(3) { top: 27px; }

/* Hero */
.hero-slider {
  position: relative; min-height: calc(100svh - var(--top-bar-height) - var(--header-height));
  display: flex; align-items: center; overflow: hidden; color: #fff; margin-top: calc(-1 * (var(--top-bar-height) + var(--header-height)));
  padding-top: calc(var(--top-bar-height) + var(--header-height));
}
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,94,35,.88) 0%, rgba(4,74,27,.72) 55%, rgba(247,148,29,.35) 100%);
}
.hero-slider__content { position: relative; z-index: 2; width: 100%; padding: 4rem 0 6rem; text-align: center; }
.hero-title { color: #fff; font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hero-subtitle { max-width: 680px; margin: 0 auto 2rem; color: rgba(255,255,255,.92); font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff;
}
.hero-slider__prev { left: 1.5rem; }
.hero-slider__next { right: 1.5rem; }
.hero-slider__dots { position: absolute; bottom: 5.5rem; left: 0; right: 0; display: flex; justify-content: center; gap: .45rem; z-index: 3; }
.hero-slider__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); }
.hero-slider__dot.active { background: var(--acts101-accent); }
.hero-slider__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.15); z-index: 3; }
.hero-slider__progress span { display: block; height: 100%; width: 0; background: var(--acts101-accent); }
.hero-stats { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: clamp(1.75rem, 4vw, 2.5rem); font-family: var(--font-heading); color: #fff; }
.hero-stats span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.page-hero {
  background: linear-gradient(135deg, #065e23, #044a1b);
  color: #fff; padding: 4.5rem 0 3.5rem; text-align: center;
}
.page-hero__label { color: var(--acts101-accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.page-hero__title { color: #fff; margin: .6rem 0; }
.page-hero__subtitle { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
.page-hero__breadcrumb { margin-top: 1rem; color: rgba(255,255,255,.7); }
.page-hero__breadcrumb a { color: #fff; }

.stats-section {
  background: linear-gradient(135deg, #065e23, #044a1b);
  color: #fff; padding: 5rem 0; position: relative;
}
.stat-box { text-align: center; }
.stat-box strong { display: block; font-size: 2.4rem; font-family: var(--font-heading); color: #fff; }
.stat-box span { color: rgba(255,255,255,.75); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }

.program-card .program-image { height: 190px; background: #ddd; background-size: cover; background-position: center; }
.program-card .program-body { padding: 1.4rem; }
.program-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: .8rem;
}
.testimonial-card { padding: 1.75rem; }
.testimonial-card .quote { font-size: 1.05rem; color: #444; }
.partner-logo {
  height: 90px; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: #fff; border: 1px solid var(--acts101-mid-gray); border-radius: 12px;
}
.partner-logo img { max-height: 64px; width: auto; }

.cta-orange { background: linear-gradient(135deg, #F7941D, #d97d10); color: #fff; padding: 5rem 0; text-align: center; }
.cta-green { background: var(--acts101-primary); color: #fff; padding: 5rem 0; text-align: center; }

.site-footer { background: var(--acts101-black); color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-main { padding: 5rem 0 3rem; }
.footer-columns { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: #fff; display: inline-block; margin-bottom: 1rem; }
.footer-brand span { color: var(--acts101-accent); }
.footer-widget-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer-widget-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--acts101-accent); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-links span { color: rgba(255,255,255,.75); display: flex; gap: .4rem; align-items: flex-start; padding: .28rem 0; }
.footer-links a:hover { color: var(--acts101-accent); }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--acts101-accent); color: #fff; }
.footer-newsletter-form { display: flex; gap: .5rem; }
.footer-newsletter-form input {
  flex: 1; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff;
  border-radius: var(--radius-full); padding: .6rem 1rem;
}
.footer-newsletter-form button {
  border: 0; background: var(--acts101-accent); color: #fff; border-radius: var(--radius-full);
  padding: .6rem 1rem; font-family: var(--font-heading); font-weight: 600;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.25rem; flex-wrap: wrap; }
.footer-credit {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.88;
  transition: opacity .25s ease, transform .25s ease;
}
.footer-credit img {
  height: 34px;
  width: auto;
  max-width: none;
  display: block;
  /* Gold mark shifted toward the site accent orange so it sits on the dark footer */
  filter: sepia(.2) saturate(1.25) hue-rotate(-18deg) brightness(1.08);
}
.footer-credit:hover { opacity: 1; transform: translateY(-1px); }

.back-to-top {
  position: fixed; right: 2rem; bottom: 2rem; z-index: 997;
  width: 44px; height: 44px; border-radius: 50%; background: var(--acts101-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: .25s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--acts101-accent); color: #fff; }

.whatsapp-float {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 998;
  display: flex; align-items: center; gap: .5rem; background: #25D366; color: #fff;
  border-radius: 9999px; padding: .75rem 1.1rem; max-width: 52px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(37,211,102,.45); transition: .3s;
}
.whatsapp-float:hover { max-width: 200px; color: #fff; }
.whatsapp-float__label { font-family: var(--font-heading); font-weight: 700; font-size: .875rem; white-space: nowrap; opacity: 0; }
.whatsapp-float:hover .whatsapp-float__label { opacity: 1; }

.form-control, .form-select { border-radius: 10px; padding: .75rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--acts101-primary); box-shadow: 0 0 0 .2rem rgba(6,94,35,.15); }
.gallery-item { display: block; overflow: hidden; border-radius: 14px; height: 220px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.prose p, .prose li { font-size: 1.05rem; }
.rich-text p:last-child, .prose p:last-child { margin-bottom: 0; }
.rich-text ul, .rich-text ol { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.hero-subtitle.rich-text p { color: inherit; }
.badge-status { border-radius: 999px; padding: .25rem .7rem; font-size: .75rem; font-weight: 700; }
.badge-active { background: #dcfce7; color: #166534; }
.badge-completed { background: #e2e8f0; color: #334155; }

@media (max-width: 1024px) {
  .mobile-menu-toggle { display: block; }
  .site-nav {
    position: fixed; top: calc(var(--top-bar-height) + var(--header-height)); right: 0;
    width: min(360px, 88vw); height: calc(100vh - var(--top-bar-height) - var(--header-height));
    background: #fff; transform: translateX(100%); transition: transform .3s;
    box-shadow: var(--shadow-lg); padding: 1.25rem; overflow: auto; display: block;
  }
  .site-nav.open { transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { color: var(--acts101-dark-gray) !important; display: block; padding: .7rem 0; }
  .site-nav > ul > li > ul {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; max-height: 0; overflow: hidden; padding: 0; background: var(--acts101-light-gray);
  }
  .site-nav > ul > li.submenu-open > ul { max-height: 480px; padding: .4rem 0; }
  .btn-donate { display: none; }
  .hero-slider { margin-top: 0; padding-top: 2rem; min-height: 80vh; }
  body { padding-top: calc(var(--top-bar-height) + var(--header-height)); }
}
@media (max-width: 960px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-columns .footer-widget:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-columns { grid-template-columns: 1fr; }
  .top-header-right .top-header-social:nth-child(n+3) { display: none; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .footer-credit { margin-left: 0; }
  .footer-credit img { height: 28px; }
}
