/* --- Hero Section (reuse small hero but lighter overlay) --- */
.hero-small {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("assets/hero-donate.jpg") center/cover no-repeat;
  position: relative;
  color: white;
  text-align: center;
}
.hero-small::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}
.hero-small .hero-content {
  position: relative;
  z-index: 1;
}
.hero-small h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero-small p {
  font-size: 1.2rem;
}

/* --- Donation Section --- */
.donation-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}
.donation-form {
  max-width: 600px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.donation-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.donation-amount {
  background: #f0f6ff;
  border: 2px solid #0056b3;
  color: #0056b3;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.donation-amount:hover {
  background: #0056b3;
  color: white;
}
.donation-amount.active {
  background: #0056b3;
  color: white;
  transform: scale(1.05);
}

.custom-amount {
  margin: 1rem 0;
  text-align: left;
}
.custom-amount label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}
.custom-amount input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.donation-frequency {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1rem;
}
.donation-frequency input {
  margin-right: 0.5rem;
}

.donate-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #ffcc00;
  color: #222;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.donate-btn:hover {
  background: #ffdb4d;
  transform: translateY(-3px);
}

/* --- Why Donate Section --- */
.why-donate {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}
.why-donate h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.reason-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.reason-card h3 {
  color: #0056b3;
  margin-bottom: 1rem;
}
.reason-card p {
  color: #444;
}
.reason-card:hover {
  transform: translateY(-6px);
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
  .hero-small h1 {
    font-size: 2rem;
  }
  .donation-options {
    flex-direction: column;
  }
  .donation-frequency {
    flex-direction: column;
    gap: 1rem;
  }
}

.donation-message {
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-weight: 600;
}
.donation-message.error { background: #ffe6e6; color: #a80000; border: 1px solid #ffb3b3; }
.donation-message.success { background: #e8ffea; color: #0a7a13; border: 1px solid #baf0c5; }

