/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  font-family: Georgia, "Times New Roman", serif;   /* screenshot = serif */
  line-height: 1.6;
  color: #33443b;
  background: #f7f4ec;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 82px;              /* fixed navbar height */
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 60px;           /* remove vertical padding */
  background: rgba(248, 246, 240, 0.92);
  border-bottom: 1px solid rgba(120, 120, 120, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

.logo img {
  max-height: 180px;          /* logo can grow, but navbar won't */
  width: auto;
  display: block; 
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-right a {
  text-decoration: none;
  color: #2e473c;
  font-size: 16px;
}

.nav-right a:hover {
  opacity: 0.75;
}

.nav-right .active {
  font-weight: 700;
}

.nav-cta {
  background: #3f5a3c;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

.nav-cta:hover {
  opacity: 0.92;
}

/* One background image across the page */
.page-bg {
  background-image: url("hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Shared centered container */
.section-inner,
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  padding-top: 150px; /* account for fixed navbar */
  padding-bottom: 95px;
  text-align: center;

  /* soft cream overlay like screenshot */
  background: linear-gradient(
    rgba(248, 246, 240, 0.90),
    rgba(248, 246, 240, 0.72)
  );
}

.hero h1 {
  font-size: 58px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #2f3f37;
  line-height: 1.05;
}

.hero-subtext {
  margin: 20px auto 30px;
  max-width: 760px;
  font-size: 18px;
  color: rgba(47, 63, 55, 0.85);
}

.primary-btn {
  display: inline-block;
  text-decoration: none;
  background: #3f5a3c;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.14);
}

.primary-btn:hover {
  opacity: 0.92;
}

/* WHAT IS REGROW */
.what {
  padding: 95px 0 105px;
  text-align: center;

  /* slightly different cream overlay to separate section */
  background: linear-gradient(
    rgba(248, 246, 240, 0.84),
    rgba(248, 246, 240, 0.92)
  );
}

.what h2 {
  font-size: 44px;
  font-weight: 600;
  color: #2f3f37;
  margin-bottom: 10px;
}

.section-subtext {
  max-width: 820px;
  margin: 0 auto 55px;
  font-size: 18px;
  color: rgba(47, 63, 55, 0.85);
}

/* Cards row */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(120, 120, 120, 0.14);
  border-radius: 12px;
  padding: 28px 24px 26px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  text-align: center;
  min-height: 240px;
}

.card-icon {
  font-size: 26px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.1;
}

.card p {
  font-size: 14px;
  color: rgba(47, 63, 55, 0.85);
}

.card-dark {
  background: rgba(63, 90, 60, 0.95);
  border: 1px solid rgba(0,0,0,0.18);
  color: #fff;
}

.card-dark p {
  color: rgba(255,255,255,0.86);
}

/* HOW IT WORKS */
.how {
  padding: 105px 0 120px;
  text-align: center;

  /* let forest show through more like screenshot bottom */
  background: linear-gradient(
    rgba(248, 246, 240, 0.28),
    rgba(248, 246, 240, 0.15)
  );
}

.how h2 {
  font-size: 50px;
  font-weight: 600;
  color: rgba(248, 246, 240, 0.95);
  text-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.section-subtitle {
  margin-top: 8px;
  font-size: 20px;
  color: rgba(248, 246, 240, 0.85);
  text-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* Steps cards */
.steps {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.step {
  background: rgba(255, 255, 255, 0.60);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  padding: 28px 22px 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  min-height: 210px;
  text-align: left;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
  background: rgba(0,0,0,0.15);
  color: #fff;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: rgba(35, 52, 43, 0.95);
}

.step p {
  font-size: 14px;
  color: rgba(35, 52, 43, 0.85);
}

/* Step color variants like screenshot */
.step-green {
  background: rgba(63, 90, 60, 0.72);
  color: #fff;
}
.step-green h3,
.step-green p {
  color: rgba(255,255,255,0.92);
}
.step-green .step-num {
  background: rgba(255,255,255,0.20);
  color: #fff;
}

.step-tan {
  background: rgba(206, 186, 148, 0.72);
}
.step-light {
  background: rgba(255, 255, 255, 0.72);
}

/* FOOTER */
.footer {
  padding: 95px 0 70px;
  text-align: center;
  background: rgba(248, 246, 240, 0.92);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer h3 {
  font-size: 42px;
  font-weight: 600;
  color: #2f3f37;
  margin-bottom: 10px;
}

.footer p {
  font-size: 16px;
  color: rgba(47, 63, 55, 0.85);
  margin-bottom: 24px;
}

.footer-line {
  margin: 40px auto 18px;
  width: 70%;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

.footer-copy {
  margin-top: 0;
  font-size: 14px;
  color: rgba(47, 63, 55, 0.70);
}

/* Responsive */
@media (max-width: 1050px) {
  .cards, .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .navbar {
    padding: 12px 18px;
  }

  .nav-right {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: 40px;
  }

  .cards, .steps {
    grid-template-columns: 1fr;
  }
}

/* =========================
   REGROW CHANGES (OVERRIDES)
   Paste at bottom of style.css
========================= */

/* 1) Center the numbers (circles) on the How It Works cards */
.step-num {
  margin: 0 auto 14px;         /* centers the circle horizontally */
}

/* (optional but nice) keep the rest of the step content left-aligned */
.step {
  text-align: left;
}

/* 2) Make each "What is ReGrow" card a different (thematic) color */
.cards .card:nth-child(1) {
  background: rgba(111, 175, 142, 0.22); /* soft green */
  border-color: rgba(111, 175, 142, 0.30);
}

.cards .card:nth-child(2) {
  background: rgba(206, 186, 148, 0.26); /* warm tan */
  border-color: rgba(206, 186, 148, 0.34);
}

.cards .card:nth-child(3) {
  background: rgba(63, 90, 60, 0.16); /* deep forest tint */
  border-color: rgba(63, 90, 60, 0.26);
}

.cards .card:nth-child(4) {
  background: rgba(142, 186, 177, 0.20); /* soft teal */
  border-color: rgba(142, 186, 177, 0.30);
}

/* Keep the same airy “glass” vibe */
.cards .card {
  backdrop-filter: blur(6px);
}

/* 3) Add a clean divider line between each card title and text */
.cards .card h3 {
  margin-bottom: 0; /* the divider will handle spacing */
}

.cards .card h3::after {
  content: "";
  display: block;
  width: 62%;
  height: 1px;
  margin: 14px auto 14px;
  background: rgba(47, 63, 55, 0.22);
}

/* Make the divider subtly adapt on darker-tinted cards if needed */
.cards .card:nth-child(3) h3::after {
  background: rgba(47, 63, 55, 0.28);
}

/* Fix vertical alignment of titles across What is ReGrow cards */

/* Target ALL icon containers */
.card-icon,
.card-reinvest,
.card-impact,
.card-community {
  height: 48px;                 /* same height for all icons */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;          /* consistent spacing above title */
  font-size: 26px;              /* keep icons visually balanced */
}

/* =========================
   CARD HOVER INTERACTIONS
========================= */

/* Apply hover to BOTH card types */
.cards .card,
.steps .step {
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Hover effect */
.cards .card:hover,
.steps .step:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 18px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(47, 93, 80, 0.45);
}

/* Slight icon emphasis on hover */
.cards .card:hover .card-icon,
.cards .card:hover .card-reinvest,
.cards .card:hover .card-impact,
.cards .card:hover .card-community,
.steps .step:hover .step-num {
  transform: scale(1.08);
}

/* Smooth icon animation */
.card-icon,
.card-reinvest,
.card-impact,
.card-community,
.step-num {
  transition: transform 0.35s ease;
}

/* Keep motion respectful for accessibility */
@media (prefers-reduced-motion: reduce) {
  .cards .card,
  .steps .step {
    transition: none;
    transform: none;
  }
}

/* Fix text alignment for ALL How It Works cards */
.steps .step {
  text-align: center;
}


