/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: #061a2f;
  color: #fff;
}

/* ================= CONTACT SECTION ================= */

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 15px;
}

/* HEADER */
.contact-header {
  width: 100%;
  text-align: center;
  padding: 50px 15px 25px;
  background: linear-gradient(135deg, #07111f, #0b2a4a);
}

.contact-header h1 {
  font-size: 32px;
}

/* CARD */
.contact-card {
  width: 100%;
  max-width: 500px;
  padding: 25px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,195,255,0.2);
  margin-top: 20px;
}

.contact-card h2 {
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 20px;
}

.contact-info div {
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-info i {
  color: #00c3ff;
  margin-right: 8px;
}

/* ================= DONATION ================= */

.donation-container {
  width: 95%;
  max-width: 450px;
  margin: 40px auto;
  padding: 25px;
  background: #0b2a4a;
  border-radius: 14px;
  text-align: center;
}

.amount-section {
  text-align: left;
  margin-top: 15px;
}

.amount-section label {
  font-size: 14px;
  color: #ccc;
  display: block;
  margin-bottom: 8px;
}

/* SAME INPUT STYLE */
.amount-section input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #e6e6e6;
  color: #333;
}

/* Placeholder style */
.amount-section input::placeholder {
  color: #777;
}

/* Focus effect */
.amount-section input:focus {
  background: #fff;
}

#amountInput {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
}
/* 🔴 Red note text */
.mobile-note {
  font-size: 12px;
  color: red;
  margin: 0;
  margin-top: 15px;
}
/* PAY BUTTON */
#payNow {
  width: 100%;
  margin-top: 15px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* ================= MODAL ================= */

.modal {
  display: none;
  position: fixed;
  z-index: 99999; /* 🔥 VERY HIGH */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 18, 34, 0.85);
  backdrop-filter: blur(6px);

  display: flex;              /* ✅ center fix */
  justify-content: center;
  align-items: center;
}

/* MODAL BOX */
.modal-content {
  background: #fff;
  color: #111;
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

/* CLOSE */
.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

/* OPTIONS */
.pay-option {
  background: #fff;
  border: 1px solid #ddd;
  padding: 14px;
  border-radius: 10px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 14px;
}

.pay-option:hover {
  border-color: #0072ff;
}

/* UPI BOX */
.upi-box {
  display: none;
  margin-top: 15px;
}

.upi-box img {
  width: 180px;
  max-width: 100%;
}

/* BANK */
.bank-details {
  background: #f1f1f1;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  text-align: left;
  font-size: 13px;
}

/* COPY */
#copyBtn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #0072ff;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

/* CANCEL */
.cancel-btn {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: #888;
  border: none;
  color: white;
  border-radius: 10px;
}

/* ANIMATION */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-15px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ================= MOBILE ================= */

@media (max-width: 480px) {

  .contact-header h1 {
    font-size: 22px;
  }

  .contact-card {
    padding: 20px;
  }

  .donation-container {
    padding: 20px;
  }

  .modal-content {
    padding: 15px;
    border-radius: 10px;
  }

  .pay-option {
    font-size: 13px;
    padding: 12px;
  }

  .bank-details {
    font-size: 12px;
  }

   .amount-section {
    margin-top: 10px;
  }

  .mobile-note {
    font-size: 11px;
  }
}