/* === GLOBAL === */
body {
  font-family: "Poppins", sans-serif;
  background: #f9f9fb;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .cta-btn {
  padding: 14px 40px;
  border-radius: 35px;
  font-weight: 600;
  text-decoration: none;
  background: #3c1361;
  color: #ffcc00;
  transition: all 0.3s ease;
}

.hero .cta-btn:hover {
  background: #ffcc00;
  color: #3c1361;
  transform: scale(1.05);
}

/* === DONATION SECTION === */
.donate {
  padding: 80px 0;
  background: #f1eef6;
  text-align: center;
}

.donate h2 {
  font-size: 2.5rem;
  color: #3c1361;
  margin-bottom: 15px;
}

.donate p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-items: center;
}

.donation-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.donation-card h3 {
  margin-bottom: 15px;
  color: #3c1361;
}

.donation-card label {
  display: block;
  text-align: left;
  margin: 10px 0 5px 0;
  font-weight: 500;
}

.donation-card input,
.donation-card textarea,
.donation-card select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 1rem;
}

.cta-btn {
  display: inline-block;
  background: #3c1361;
  color: #ffcc00;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cta-btn:hover {
  background: #ffcc00;
  color: #3c1361;
  transform: scale(1.05);
}

/* Secondary button style */
.cta-btn.secondary {
  background: #ffcc00;
  color: #3c1361;
}

.cta-btn.secondary:hover {
  background: #3c1361;
  color: #ffcc00;
}

/* Bank Details & Offline Form */
.bank-details,
#offlineForm {
  margin-top: 15px;
  text-align: left;
  display: none;
}

.bank-details.show,
#offlineForm.active {
  display: block;
}

.bank-details p {
  margin: 5px 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

/* === BACK TO TOP BUTTON === */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 14px;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  background: #3c1361;
  color: #ffcc00;
  cursor: pointer;
  display: none;
  z-index: 100;
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: #ffcc00;
  color: #3c1361;
  transform: scale(1.1);
}
