/* ===== Contribution Section ===== */
.contribution-section {
  padding: 80px 20px;
  background: #f9f9ff;
  text-align: center;
}

.contribution-heading h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #c2185b;
  margin-bottom: 10px;
}

.contribution-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: #444;
  margin: 0 auto 50px auto;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
}

.contribution-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contribution-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contribution-box:hover {
  transform: translateY(-5px);
}

.contribution-box h2 {
  font-size: 1.8rem;
  color: #4f0424;
  margin-bottom: 10px;
}

.contribution-box p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.volunteer-form {
  text-align: left;
}

.volunteer-form label {
  font-weight: 600;
  margin-top: 12px;
  display: block;
  color: #333;
}

.volunteer-form input,
.volunteer-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.volunteer-form textarea {
  resize: none;
  height: 80px;
}

.btn-submit {
  margin-top: 15px;
  background: #4f0424;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #750a38;
}

.donation-option {
  margin: 15px 0;
}

.donation-btn {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #4f0424, #750a38);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.donation-btn:hover {
  transform: scale(1.05);
}

.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #750a38;
  cursor: pointer;
}

.modal-content img {
  max-width: 300px;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .contribution-container {
    grid-template-columns: 1fr;
  }
}

/* QR Scanner Image */
.donation-scanner {
  margin-top: 20px;
  text-align: center;
}

.donation-scanner img {
  max-width: 220px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.donation-scanner img:hover {
  transform: scale(1.05);
}

.scanner-caption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
}

/* Verse Image Styling */
.donation-verse {
  margin-top: 25px;
  text-align: center;
}

.donation-verse img {
  max-width: 260px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.donation-verse img:hover {
  transform: scale(1.05);
}
