/* ==========================================================================
   DONATION PAGE STYLES - JAN SAHARA AMBULANCE SERVICE
   High-converting, deeply emotional, mobile-first responsive layout
   ========================================================================== */

:root {
  --primary-red: #d32f2f;
  --dark-red: #991b1b;
  --accent-gold: #f59e0b;
  --dark-navy: #0f172a;
  --light-navy: #1e293b;
  --card-bg: #ffffff;
  --body-text: #334155;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --success-green: #059669;
}

/* Base resets & typography */
.donate-page {
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body-text);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.donation-hero {
  position: relative;
  background: linear-gradient(145deg, #0a1120 0%, #16243b 50%, #7f1d1d 100%);
  color: #ffffff;
  padding: 85px 0 75px;
  overflow: hidden;
}

.donation-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.5;
}

.donation-hero .container {
  position: relative;
  z-index: 2;
}

.hero-mission-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 57, 53, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.donation-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.donation-hero h1 span.highlight-gold {
  color: #fbbf24;
  display: inline;
}

.donation-hero p.hero-lead {
  font-size: 19px;
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-donate-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 34px;
  border-radius: 40px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.45);
  transition: all 0.3s ease;
  min-height: 52px;
}

.btn-donate-primary:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.6);
}

.btn-sponsor-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 17px;
  padding: 12px 30px;
  border-radius: 40px;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  min-height: 52px;
}

.btn-sponsor-secondary:hover {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Stats Proof Ribbon */
.hero-stats-ribbon {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 950px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  padding: 10px 15px;
}

.stat-item .stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 4px;
}

.stat-item .stat-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   2. EMOTIONAL STORY BLOCK
   ========================================================================== */
.emotional-story-section {
  padding: 75px 0 60px;
  background: #ffffff;
}

.section-tag {
  color: var(--primary-red);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.3;
  margin-bottom: 20px;
}

.lead-text {
  font-size: 18px;
  color: #475569;
  line-height: 1.7;
}

.story-card {
  background: #f8fafc;
  border-left: 4px solid var(--primary-red);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 25px 0;
}

.story-card p {
  margin: 0;
  font-style: italic;
  font-size: 17px;
  color: #1e293b;
}

.reality-bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.reality-bullet-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 16px;
  color: #334155;
}

.reality-bullet-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--primary-red);
  font-size: 18px;
}

/* ==========================================================================
   3. DONATION IMPACT TIERS
   ========================================================================== */
.impact-tiers-section {
  padding: 75px 0;
  background: #f1f5f9;
}

.tier-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 26px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  border-color: #cbd5e1;
}

.tier-card.featured-tier {
  border: 2px solid var(--primary-red);
  box-shadow: 0 8px 28px rgba(229, 57, 53, 0.15);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.tier-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fee2e2;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.tier-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.tier-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 14px;
}

.tier-amount span.frequency {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.tier-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tier-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-tier-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  color: var(--dark-navy) !important;
  border: 1.5px solid #cbd5e1;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  min-height: 46px;
}

.btn-tier-action:hover {
  background: var(--primary-red);
  color: #ffffff !important;
  border-color: var(--primary-red);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.3);
}

.featured-tier .btn-tier-action.primary-choice {
  background: var(--primary-red);
  color: #ffffff !important;
  border-color: var(--primary-red);
}

.featured-tier .btn-tier-action.primary-choice:hover {
  background: var(--dark-red);
}

/* ==========================================================================
   4. PAYMENT HUB & BANK DETAILS
   ========================================================================== */
.payment-hub-section {
  padding: 85px 0 75px;
  background: #ffffff;
}

.qr-card-container {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
}

.qr-card-container h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 6px;
}

.qr-badge-tid {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.qr-image-wrapper {
  max-width: 320px;
  margin: 0 auto 20px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.qr-image-wrapper:hover {
  transform: scale(1.02);
}

.qr-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Direct UPI App Action Buttons */
.upi-app-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.btn-upi-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b !important;
}

.btn-upi-app:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.btn-upi-gpay { border-left: 4px solid #4285f4; }
.btn-upi-phonepe { border-left: 4px solid #5f259f; }
.btn-upi-paytm { border-left: 4px solid #00b9f1; }
.btn-upi-any {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  border: none;
}
.btn-upi-any:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

/* Bank Details Column */
.bank-details-box {
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 34px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bank-details-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.bank-details-box p.bank-sub {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 25px;
}

.bank-detail-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.bank-detail-item:hover {
  border-color: #94a3b8;
}

.bank-detail-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.bank-detail-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark-navy);
  font-family: 'Rubik', monospace, sans-serif;
  letter-spacing: 0.5px;
  word-break: break-all;
}

.btn-copy {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: var(--dark-navy);
  color: #ffffff;
  border-color: var(--dark-navy);
}

.btn-copy.copied {
  background: var(--success-green);
  color: #ffffff;
  border-color: var(--success-green);
}

.confirmation-alert {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 14px;
  color: #1e3a8a;
  line-height: 1.5;
}

/* ==========================================================================
   5. SPONSOR AN AMBULANCE (CSR & MEMORIALS)
   ========================================================================== */
.sponsor-ambulance-section {
  padding: 85px 0;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  position: relative;
}

.sponsor-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(12px);
}

.sponsor-card h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.memorial-promise-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px dashed #f59e0b;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 25px 0;
}

.memorial-promise-box h5 {
  color: #fbbf24;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 6px;
}

.memorial-promise-box p {
  color: #fef3c7;
  font-size: 15px;
  margin: 0;
  font-style: italic;
}

.sponsor-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.sponsor-option-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.sponsor-option-card i {
  font-size: 28px;
  color: #fbbf24;
  margin-bottom: 12px;
  display: block;
}

.sponsor-option-card h6 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.sponsor-option-card p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.sponsor-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 25px;
}

.btn-sponsor-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  min-height: 50px;
}

.btn-sponsor-call:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-sponsor-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e53935;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  min-height: 50px;
}

.btn-sponsor-direct:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

/* ==========================================================================
   6. TRANSPARENCY & TRUST PROOFS
   ========================================================================== */
.transparency-section {
  padding: 75px 0;
  background: #f8fafc;
}

.trust-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease;
}

.trust-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
}

.trust-pillar-card i {
  font-size: 32px;
  color: var(--primary-red);
  margin-bottom: 14px;
  display: inline-block;
}

.trust-pillar-card h5 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.trust-pillar-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   7. FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 75px 0;
  background: #ffffff;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  font-size: 17px;
  color: var(--dark-navy);
  background-color: #ffffff;
  padding: 18px 24px;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-red);
  background-color: #fee2e2;
  box-shadow: none;
}

.accordion-body {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  padding: 20px 24px;
  background: #ffffff;
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .donation-hero h1 {
    font-size: 32px;
  }
  .donation-hero p.hero-lead {
    font-size: 17px;
  }
  .section-title {
    font-size: 28px;
  }
  .sponsor-card {
    padding: 26px 20px;
  }
}

@media (max-width: 767px) {
  .donation-hero {
    padding: 55px 0 45px;
    text-align: center;
  }
  .donation-hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-donate-primary,
  .btn-sponsor-secondary {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
  .hero-stats-ribbon .row > div {
    margin-bottom: 12px;
  }
  .hero-stats-ribbon .row > div:last-child {
    margin-bottom: 0;
  }
  .qr-card-container,
  .bank-details-box {
    padding: 24px 18px;
  }
  .bank-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .btn-copy {
    align-self: flex-start;
  }
  .sponsor-action-group {
    flex-direction: column;
  }
  .btn-sponsor-call,
  .btn-sponsor-direct {
    width: 100%;
    justify-content: center;
  }
}
