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

:root {
  --green-dark: #133A18;
  --green-mid: #266A2C;
  --green-light: #3FA045;
  --green-soft: #e8f3e8;
  --gold: #C68418;
  --gold-light: #E5A625;
  --gold-soft: #fff6e6;
  --brown: #B58747;
  --ink: #1a2b1d;
  --muted: #5d6b5f;
  --white: #ffffff;
  --bg: #f7faf7;
  --shadow: 0 10px 30px rgba(19, 58, 24, 0.08);
  --shadow-lg: 0 20px 50px rgba(19, 58, 24, 0.15);
  --radius: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(63, 160, 69, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(63, 160, 69, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 58, 24, 0.08);
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: 0 4px 20px rgba(19, 58, 24, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}

.brand-accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-mid);
  transition: var(--transition);
}

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

.nav-links a:hover {
  color: var(--green-mid);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(63, 160, 69, 0.3);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(63, 160, 69, 0.4);
}

#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

#menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 3px;
  transition: var(--transition);
}

#menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

#menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d2814 0%, #16411d 40%, #1e5224 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 76px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(229, 166, 37, 0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(63, 160, 69, 0.2), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight {
  background: linear-gradient(135deg, var(--gold-light), #ffe885);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  max-width: 130px;
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-soft);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}

.section-sub {
  margin-top: 14px;
  color: var(--muted);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--muted);
}

.about-text strong {
  color: var(--green-dark);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-card {
  background: var(--white);
  border: 1px solid #e8efe8;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.about-icon {
  font-size: 1.8rem;
}

.about-card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
}

.about-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg), var(--white));
  border: 1px solid #e8efe8;
  transition: var(--transition);
  position: relative;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(63, 160, 69, 0.3);
}

.step h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Impact ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.impact-item {
  text-align: center;
  padding: 36px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #e8efe8;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.impact-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.impact-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.impact-item h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.impact-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Form ===== */
.form-container {
  max-width: 760px;
}

.uco-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e8efe8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-row .form-group {
  margin-bottom: 0;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 7px;
}

.req {
  color: #d64545;
}

input,
select,
textarea {
  padding: 13px 16px;
  border: 1.5px solid #d8e0d8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: var(--transition);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(63, 160, 69, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #aab8ac;
}

textarea {
  resize: vertical;
}

select {
  cursor: pointer;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-note.success {
  color: var(--green-mid);
  font-weight: 600;
}

.form-note.error {
  color: #d64545;
  font-weight: 600;
}

#submitBtn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== Footer ===== */
#footer {
  background: linear-gradient(135deg, #0d2814, #16411d);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo-link {
  margin-bottom: 16px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-col a {
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid,
  .impact-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  #menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-stats {
    gap: 28px;
  }

  .stat-num {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 20px;
  }

  .form-row:last-of-type .form-group:last-child {
    margin-bottom: 0;
  }

  .uco-form {
    padding: 28px 22px;
  }
}

@media (max-width: 540px) {
  .about-grid,
  .impact-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }
}
