/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #00111A, #000510 70%);
  color: #fff;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  height: 85vh;
  background: linear-gradient(135deg, #003459, #001E2B 60%, #000 90%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  color: #00C9A7;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #e4e4e4;
  margin-bottom: 30px;
}
.hero {
  position: relative;
  background: url("../img/spacelogo.png") center center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55); /* dark overlay for readability */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}


.btn-primary {
  background: #FFD369;
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #FFC300;
  box-shadow: 0 0 20px rgba(255, 211, 105, 0.4);
}

/* ===== WHY SUPPORT ===== */
.why-support {
  padding: 80px 8%;
  text-align: center;
}

.why-support h2 {
  color: #00C9A7;
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.why-support .intro {
  max-width: 850px;
  margin: 0 auto 40px;
  color: #ccc;
  line-height: 1.7;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.support-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.support-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(0, 201, 167, 0.3);
}

.support-card h3 {
  color: #FFD369;
  margin-bottom: 10px;
}

/* ===== HOW YOU CAN HELP ===== */
.how-help {
  background: linear-gradient(145deg, #00111A, #002D40);
  padding: 80px 8%;
  text-align: center;
}

.how-help h2 {
  color: #FFD369;
  font-size: 2.3rem;
  margin-bottom: 40px;
}

.help-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.help-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 16px;
  width: 280px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.help-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.help-card i {
  font-size: 2.5rem;
  color: #00C9A7;
  margin-bottom: 15px;
}

.btn-secondary {
  display: inline-block;
  margin-top: 15px;
  border: 2px solid #00C9A7;
  border-radius: 25px;
  padding: 10px 20px;
  color: #00C9A7;
  font-weight: 500;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #00C9A7;
  color: #000;
}

/* ===== FUTURE ===== */
.future {
  text-align: center;
  padding: 100px 8%;
  background: radial-gradient(circle at bottom, #001821, #000);
}

.future h2 {
  color: #FFD369;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.future p {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  .support-grid, .help-options {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
/* ===== CONTRIBUTION FORM ===== */
.contribution-form {
  max-width: 600px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 201, 167, 0.1);
  backdrop-filter: blur(8px);
}

.contribution-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #FFD369;
}

.contribution-form input,
.contribution-form select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: background 0.3s;
}

.contribution-form input::placeholder {
  color: #aaa;
  font-style: italic;
}

.contribution-form input:focus,
.contribution-form select:focus {
  background: rgba(255, 255, 255, 0.2);
}

.pay-btn {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.pay-btn i {
  font-size: 1.2rem;
}

.form-note {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #bbb;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .contribution-form {
    padding: 20px;
  }
}

/* ===== PAYMENT MODAL ===== */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto; 
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
}

.modal-content {
  background: rgba(0, 201, 167, 0.1); /* subtle turquoise overlay */
  backdrop-filter: blur(10px);
  color: #fff;
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 201, 167, 0.3);
  position: relative;
  animation: fadeInModal 0.4s ease;
}

@keyframes fadeInModal {
  0% { opacity: 0; transform: translateY(-50px);}
  100% { opacity: 1; transform: translateY(0);}
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #FFD369;
}

.modal p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.modal-note {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 15px;
}

/* Close Button */
.modal .close {
  color: #FFD369;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: color 0.3s;
}

.modal .close:hover {
  color: #00C9A7;
}

/* QR Codes */
.qr-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
}

.qr {
  width: 120px;
  height: 120px;
  border: 2px solid #FFD369;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 201, 167, 0.3);
  transition: transform 0.2s ease;
}

.qr:hover {
  transform: scale(1.05);
}

/* Modal Button (optional) */
.modal .btn-primary {
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  background: #FFD369;
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}

.modal .btn-primary:hover {
  background: #FFC300;
  box-shadow: 0 0 20px rgba(255, 211, 105, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px 15px;
  }

  .qr {
    width: 100px;
    height: 100px;
  }
}
.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.payment-option p {
  font-weight: 500;
  color: #FFD369;
}

.payment-option small {
  font-size: 0.75rem;
  color: #ccc;
  text-align: center;
}

/* Ensure all payment options align nicely */
.qr-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

/* Hover effect for QR options */
.payment-option:hover .qr {
  transform: scale(1.05);
}

.neft-option:hover i {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}
/* ===== DARK THEME PAYMENT MODAL ===== */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto; 
  background: rgba(0,0,0,0.85); /* darker overlay */
  backdrop-filter: blur(6px);
  transition: opacity 0.3s ease;
}

.modal-content {
  background: radial-gradient(circle at top, #00111A, #002D40 80%);
  color: #fff;
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 201, 167, 0.4);
  position: relative;
  animation: fadeInModal 0.4s ease;
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #FFD369;
}

.modal p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ccc;
}

.modal-note {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 15px;
}

/* Close Button */
.modal .close {
  color: #FFD369;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: color 0.3s;
}

.modal .close:hover {
  color: #00C9A7;
}

/* Payment Options */
.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.payment-option p {
  font-weight: 500;
  color: #FFD369;
}

.payment-option small {
  font-size: 0.75rem;
  color: #ccc;
  text-align: center;
}

/* QR Codes */
.qr-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.qr {
  width: 120px;
  height: 120px;
  border: 2px solid #00C9A7;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 201, 167, 0.3);
  transition: transform 0.2s ease;
}

.qr:hover {
  transform: scale(1.05);
}

.neft-option:hover i {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* Copy button */
.copy-btn {
  margin-top: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  background: #00C9A7;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.copy-btn:hover {
  background: #FFD369;
}

/* "I Paid" Button */
#paidBtn {
  margin-top: 15px;
  width: 80%;
  padding: 12px;
  border-radius: 30px;
  background: #00C9A7;
  color: #000;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

#paidBtn:hover {
  background: #FFD369;
  box-shadow: 0 0 20px rgba(255, 211, 105, 0.4);
}

/* Paid Message */
#paidMsg {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #FFD369;
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px 15px;
  }

  .qr {
    width: 100px;
    height: 100px;
  }
}

/* Contribution Form Dropdown */
.contribution-form select {
  width: 100%;
  padding: 12px 40px 12px 12px; /* space for arrow */
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #000; /* black font for selected value */
  font-size: 1rem;
  outline: none;
  transition: background 0.3s, color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FFD369' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 7px;
}

.contribution-form select option {
  color: #000; /* black font for options in dropdown list */
}

.donation-form select {
  color: #000;
  background-color: #fff;
}

<!-- ===== CSS (Add to support.css or inside <style>) ===== -->
<style>
/* Donate Modal inherits same style as other modals */
.donate-modal .modal-content {
  background-color: #1A1A2E; /* matches Volunteer & Collaborate */
  color: #fff;
  margin: 10% auto;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Input fields inside modal */
.donate-modal .modal-content input,
.donate-modal .modal-content select {
  width: 100%;
  padding: 10px;
  margin: 10px 0 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

/* Modal button style consistent with others */
.donate-modal .modal-content .btn-primary {
  background-color: #FFD369;
  color: #1A1A2E;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.donate-modal .modal-content .btn-primary:hover {
  background-color: #ffb800;
}
</style>

.qr-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.qr {
  width: 120px;
  height: 120px;
  border: 2px solid #00C9A7;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 201, 167, 0.3);
  transition: transform 0.2s ease;
}

.qr:hover {
  transform: scale(1.05);
}

.copy-btn {
  margin-top: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  background: #00C9A7;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.copy-btn:hover {
  background: #FFD369;
}

/* Support Grid - 3 on top, 2 centered on bottom */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-auto-rows: auto;
  gap: 30px;
  margin-top: 30px;
  justify-content: center; /* center the grid content */
}

/* Last two cards centered under top row */
.support-grid .support-card:nth-child(4) {
  grid-column: 1 / 2; /* first column of bottom row */
}

.support-grid .support-card:nth-child(5) {
  grid-column: 2 / 3; /* second column of bottom row */
}

/* Center bottom row visually by spanning empty space */
@media (min-width: 992px) {
  .support-grid .support-card:nth-child(4),
  .support-grid .support-card:nth-child(5) {
    justify-self: center; /* centers these cards */
  }
}

/* Responsive for tablets */
@media (max-width: 992px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }
  .support-grid .support-card:nth-child(4),
  .support-grid .support-card:nth-child(5) {
    grid-column: auto;
    justify-self: auto;
  }
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .support-grid {
    grid-template-columns: 1fr; /* 1 column */
  }
}

