/* ==========================================================================
   DONATIONS PAGE (donations.html) SPECIFIC STYLES
   ========================================================================== */

/* Sticky Inner Page Header */
body {
  padding-top: 80px;
}

.site-header-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: var(--color-primary-dark) !important;
}

.site-header {
  position: relative !important;
  width: 100% !important;
  background: rgba(35, 4, 10, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--color-border) !important;
  box-shadow: var(--shadow-sm) !important;
}

.site-header.scrolled,
.site-header-wrapper.is-scrolled .site-header {
  background: rgba(26, 2, 7, 0.98) !important;
  border-bottom: 2px solid var(--color-gold) !important;
  box-shadow: var(--shadow-lg) !important;
}

.header-container {
  height: 80px !important;
}

/* Donation Layout Grid */
.donation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.qr-card {
  background: var(--color-surface-glass);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 2.25rem !important;
}

/* Form Labels Inside Donation Card */
.qr-card .form-label {
  color: var(--color-gold-light) !important;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  display: block;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Styled Dark Glassmorphism Input Fields */
.qr-card .form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(30, 4, 9, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--color-border) !important;
  color: var(--color-cream) !important;
  font-size: 0.98rem;
  font-weight: 500;
  outline: none;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.qr-card .form-control::placeholder {
  color: rgba(242, 213, 220, 0.45) !important;
  font-weight: 400;
}

.qr-card .form-control:focus {
  background: rgba(45, 6, 14, 0.98) !important;
  border-color: var(--color-gold) !important;
  box-shadow:
    0 0 18px var(--color-gold-glow),
    inset 0 0 8px rgba(255, 207, 51, 0.15) !important;
  color: #ffffff !important;
}

/* Preset Amount Selector Buttons */
.filter-btn {
  background: rgba(255, 207, 51, 0.08);
  border: 1.5px solid var(--color-border-gold);
  color: var(--color-gold-light);
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  padding: 0.65rem 0.25rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.filter-btn:hover,
.filter-btn:active {
  background: linear-gradient(135deg, var(--color-gold) 0%, #ffae00 100%);
  color: #2b050d;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--color-gold-glow);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.badge-teal {
  background: rgba(0, 200, 180, 0.18);
  color: #38ef7d;
  border: 1px solid rgba(0, 200, 180, 0.45);
}

.badge-saffron {
  background: rgba(255, 42, 75, 0.18);
  color: #ff6b81;
  border: 1px solid rgba(255, 42, 75, 0.45);
}

.download-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Bank Details Box */
.bank-details-box {
  background: rgba(26, 2, 7, 0.85);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  border: 1px solid var(--color-border);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.5);
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--color-surface-glass);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
}

.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    var(--color-saffron),
    var(--color-orange)
  );
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255, 42, 75, 0.55);
}

/* FAQ Accordion Styling */
.faq-container {
  max-width: 900px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-surface-glass, rgba(30, 4, 9, 0.75));
  border: 1px solid var(--color-border, rgba(212, 175, 55, 0.25));
  border-radius: var(--radius-md, 10px);
  padding: 1.2rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.3));
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--color-gold, #d4af37);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-gold-light, #f4d06f);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0;
}

.faq-question .faq-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.85rem;
  color: var(--color-gold, #d4af37);
  margin-left: 12px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-top: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted, #d1c7bd);
  font-size: 0.95rem;
  border-top: 1px dashed rgba(212, 175, 55, 0.2);
  margin-top: 0.9rem;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeInFaq 0.3s ease-in-out;
}

@keyframes fadeInFaq {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .donation-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CREATIVE UPI SECTION & QR STAND STYLING
   ========================================================================== */

/* UPI Scan & Pay Badge */
.qr-card .download-badge.badge-saffron {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 43, 0.25),
    rgba(255, 140, 0, 0.2)
  );
  color: #ffb17a;
  border: 1px solid rgba(255, 140, 0, 0.5);
  box-shadow: 0 0 16px rgba(255, 100, 0, 0.35);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.qr-card .download-badge.badge-saffron::before {
  content: "⚡";
  font-size: 0.95rem;
  filter: drop-shadow(0 0 6px #ff7b00);
}

/* Stand & Frame Effect for the QR Code Graphic */
.qr-card .qr-img {
  display: block;
  max-width: 320px;
  width: 100%;
  margin: 1.5rem auto;
  border-radius: 14px;
  border: 2px solid rgba(255, 207, 51, 0.45);
  background: #fff;
  padding: 6px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.65),
    0 0 25px rgba(255, 150, 0, 0.35),
    inset 0 0 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.qr-card:hover .qr-img {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-gold, #ffd700);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(255, 160, 0, 0.55);
}

/* Creative Pill Badge for UPI ID */
.qr-card > div[style*="font-weight: 800"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    rgba(30, 4, 10, 0.9),
    rgba(55, 10, 18, 0.95)
  );
  padding: 0.65rem 1.4rem !important;
  border-radius: 50px !important;
  border: 1.5px dashed rgba(255, 207, 51, 0.5) !important;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 140, 0, 0.1);
  margin: 0.5rem auto 1rem !important;
  width: fit-content;
  transition: all 0.3s ease;
  user-select: all;
  cursor: copy;
}

.qr-card > div[style*="font-weight: 800"]:hover {
  border-color: #ffaa00;
  border-style: solid;
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 150, 0, 0.4);
}

/* Text Highlights & UPI ID Styling */
.qr-card > div[style*="font-weight: 800"] span {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 1.15rem;
  letter-spacing: 0.8px;
  color: #ffcc00 !important;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
}

/* Supported Apps / Hint Text */
.qr-card p[data-mr*="GPay"] {
  font-size: 0.9rem !important;
  color: #f1dfc8 !important;
  opacity: 0.9;
  letter-spacing: 0.2px;
  margin-bottom: 1.5rem !important;
}

/* WhatsApp Button Styling inside Donation Step Card */
.btn-whatsapp-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.btn-whatsapp-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}
