 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Inter', sans-serif;
    }
    body {
      background: #f4f7f6;
      color: #222;
      line-height: 1.6;
    }
    header {
      background: #ffffff;
      padding: 20px 60px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    box-shadow: 8px 8px 8px 8px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .logo {
      font-size: 28px;
      font-weight: 700;
      color: #3ca374;
    }
    nav a {
      margin-left: 30px;
      text-decoration: none;
      color: #555;
      font-weight: 500;
    }

    nav a:hover{
        color: #2f855a;
    }

    .hero {
        background-image: url('../img/hero2.png');
        background-size: cover;
        background-position: center 70%;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
        height: 32rem;
    }

.overlay {
  position: relative;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.5); 
  z-index: 2; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content{
    position: relative;
    z-index: 3;
    padding: 2rem;
}

    .hero h1 {
      font-size: 48px;
      margin-bottom: 20px;
    }
    .hero p {
      font-size: 20px;
      margin-bottom: 30px;
    }
    .hero button {
      padding: 15px 30px;
      background: #3ca374;
      color: #fff;
      border: none;
      font-size: 16px;
      border-radius: 5px;
      cursor: pointer;
    }

    .hero button:hover {
        background: #42B380;
    }

    .section {
      padding: 60px;
      background: #fff;
    }
    .section h2 {
      font-size: 32px;
      margin-bottom: 20px;
      color: #216F45;
        text-align: center;
    }

    .how-it-works {
  padding: 4rem 4rem;
  background-color: #f9f9f9;
 
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem auto 0;
}

.step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border: 1px solid #3ca374;
    text-align: center;
}

.step i {
  font-size: 2.5rem;
  color: #38a169; /* Green - matches branding */
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    justify-content: space-between;
  }
}

.counter-section {
  background-color: #e6f4ea;
  padding: 4rem 2rem;
  text-align: center;
}

.counter-container {
  margin: 0 auto;
}

.counter-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2f855a;
}

.counter-section p {
  margin-bottom: 2rem;
  color: #4a5568;
}

.counters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.counter-box {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 230px;
}

.counter-box .counter {
  font-size: 2rem;
  font-weight: bold;
  color: #2f855a;
  display: block;
  margin-bottom: 0.5rem;
}

.counter-box p {
  margin: 0;
  color: #4a5568;
}


    .categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .category-card {
      background: #f4f7f6;
      border-radius: 8px;
      padding: 20px;
      text-align: center;
      border: 1px solid #3ca374;
    }
    .category-card h3 {
      margin-bottom: 10px;
    }

    .category-card button {
      background: #3ca374;
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      margin-top: 10px;
      cursor: pointer;
    }

    .category-card button:hover{
        background: #2f855a;
    }

    .category-card img{
        border-radius: 8px;
    }


    .newsletter {
  background-color: #e6f4ea; /* light green tint to match branding */
  padding: 4rem 2rem;
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2f855a; /* darker green for contrast */
}

.newsletter p {
  margin-bottom: 2rem;
  color: #4a5568;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: 1px solid #c6eccf;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form button {
  background-color: #38a169;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #2f855a;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input {
    flex: 1;
  }

  .newsletter-form button {
    width: auto;
  }
}

    .charity-listings {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
    .charity-card {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      border: 1px solid #3ca374;
      text-align: center;
    }
    .charity-card img {
      width: 80px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 10px;
    }
    .charity-card button {
      background: #3ca374;
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      margin-top: 10px;
      cursor: pointer;
    }

    .charity-card button:hover{
        background-color: #2f855a;
    }

    footer {
      background: #222;
      color: #ccc;
      padding: 40px 60px;
      text-align: center;
    }
    footer a {
      color: #ccc;
      text-decoration: none;
      margin: 0 10px;
    }