/* =============================================
   GESWA MICRO CARE FOUNDATION
   Donation Now Page — donation-now.css
   Colors: #ff6600 (orange) + #ffffff (white)
   ============================================= */

:root {
  --orange: #ff6600;
  --orange-light: #ff8533;
  --orange-pale: #fff3eb;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #666;
  --shadow: 0 20px 60px rgba(255, 102, 0, 0.13);
  --radius: 22px;
}

/* ── BACKGROUND BLOBS ── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.13;
  animation: blobFloat 9s ease-in-out infinite alternate;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--orange);
  top: -120px; left: -140px;
  animation-delay: 0s;
}
.blob-2 {
  width: 360px; height: 360px;
  background: #ff9933;
  bottom: -80px; right: -60px;
  animation-delay: -3s;
}
.blob-3 {
  width: 230px; height: 230px;
  background: var(--orange);
  top: 45%; left: 62%;
  animation-delay: -5s;
}
@keyframes blobFloat {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.2) translate(28px, 18px); }
}

/* ── FLOATING HEARTS ── */
.hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.heart {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0;
  animation: floatHeart linear infinite;
}
.heart:nth-child(1) { left: 4%;  animation-duration: 9s;  animation-delay: 0s;   font-size: 1rem; }
.heart:nth-child(2) { left: 18%; animation-duration: 12s; animation-delay: 2s; }
.heart:nth-child(3) { left: 33%; animation-duration: 8s;  animation-delay: 4s;   font-size: 1.8rem; }
.heart:nth-child(4) { left: 54%; animation-duration: 11s; animation-delay: 1s; }
.heart:nth-child(5) { left: 70%; animation-duration: 7s;  animation-delay: 3.5s; font-size: 1rem; }
.heart:nth-child(6) { left: 84%; animation-duration: 13s; animation-delay: 0.5s; font-size: 1.2rem; }
.heart:nth-child(7) { left: 46%; animation-duration: 10s; animation-delay: 6s; }

@keyframes floatHeart {
  0%   { opacity: 0; bottom: -40px; transform: translateX(0) scale(1); }
  15%  { opacity: 0.28; }
  80%  { opacity: 0.12; }
  100% { opacity: 0; bottom: 110vh; transform: translateX(30px) scale(0.6); }
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 4rem 2rem 2.5rem;
  animation: fadeUp 0.9s 0.2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-pill {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.42rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 102, 0, 0.22);
  margin-bottom: 1.4rem;
  animation: pillPulse 2.5s ease-in-out infinite;
}
@keyframes pillPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,102,0,0.22); }
  50%       { box-shadow: 0 0 0 10px rgba(255,102,0,0); }
}
.hero h1 {
  font-family: 'Playfair Display', 'Nunito', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.hero p {
  font-family: 'Figtree', 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 1rem;
  line-height: 1.75;
}

/* ── STATS ROW ── */
.stats-row {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 2rem 2.5rem;
  animation: fadeUp 0.9s 0.35s ease both;
}
.stat-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 102, 0, 0.16);
  border-radius: 18px;
  padding: 1.3rem 2rem;
  text-align: center;
  box-shadow: 0 6px 28px rgba(255, 102, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(255, 102, 0, 0.16);
}
.stat-card .num {
  font-family: 'Playfair Display', 'Nunito', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
}
.stat-card .lbl {
  font-size: 0.75rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-top: 0.25rem;
}

/* ── PROGRESS SECTION ── */
.progress-section {
  position: relative;
  z-index: 5;
  max-width: 680px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  animation: fadeUp 0.9s 0.45s ease both;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
  font-family: 'Figtree', sans-serif;
}
.progress-labels strong { color: var(--orange); }
.progress-track {
  background: #ffe0cc;
  border-radius: 999px;
  height: 13px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), #ff9933);
  border-radius: 999px;
  animation: fillBar 2s 1s ease-out forwards;
  position: relative;
}
@keyframes fillBar {
  from { width: 0; }
  to   { width: 72%; }
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translate(50%, -50%);
  width: 19px; height: 19px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 0 rgba(255,102,0,0.4);
  animation: dotPulse 1.5s 3s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,102,0,0.38); }
  50%       { box-shadow: 0 0 0 9px rgba(255,102,0,0); }
}

/* ── MAIN GRID (donation + QR cards) ── */
.main-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  animation: fadeUp 0.9s 0.55s ease both;
}

/* ── CARD BASE ── */
.card {
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid rgba(255, 102, 0, 0.14);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: var(--text-dark);
}
.card-title span { color: var(--orange); }

/* ── AMOUNT BUTTONS ── */
.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.3rem;
}
.amt-btn {
  padding: 0.82rem 0.5rem;
  border: 2px solid rgba(255, 102, 0, 0.26);
  border-radius: 13px;
  background: transparent;
  font-family: 'Figtree', 'DM Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--orange);
  cursor: pointer;
  text-align: center;
  transition: background 0.22s, color 0.22s, transform 0.2s, border-color 0.22s, box-shadow 0.22s;
  user-select: none;
}
.amt-btn:hover,
.amt-btn:focus {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  transform: translateY(-3px);
  outline: none;
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.3);
}
.amt-btn:active { transform: scale(0.96); }

/* ── CUSTOM INPUT ── */
.custom-input-wrap {
  position: relative;
  margin-bottom: 1.3rem;
}
.custom-input-wrap::before {
  content: '₹';
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
}
.custom-input {
  width: 100%;
  padding: 0.88rem 1rem 0.88rem 2.2rem;
  border: 2px solid rgba(255, 102, 0, 0.22);
  border-radius: 13px;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: white;
}
.custom-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.11);
}
.custom-input::placeholder { color: #bbb; }

/* ── DONATE BUTTON ── */
.donate-btn {
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 15px;
  font-family: 'Figtree', 'DM Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.donate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 102, 0, 0.38);
}
.donate-btn:active { transform: scale(0.98); }
.donate-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(255,255,255,0.22) 50%, transparent 72%);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ── QR CARD ── */
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.qr-card .card-title { width: 100%; text-align: left; }

.qr-wrap {
  position: relative;
  width: 200px; height: 200px;
  margin: 0.4rem auto 1.1rem;
}

/* Corner brackets */
.qr-corner {
  position: absolute;
  width: 26px; height: 26px;
  border-color: var(--orange);
  border-style: solid;
}
.qr-corner.tl { top: -5px;  left: -5px;  border-width: 3px 0 0 3px; }
.qr-corner.tr { top: -5px;  right: -5px; border-width: 3px 3px 0 0; }
.qr-corner.bl { bottom: -5px; left: -5px;  border-width: 0 0 3px 3px; }
.qr-corner.br { bottom: -5px; right: -5px; border-width: 0 3px 3px 0; }

/* Laser scanner */
.laser {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: 0 0 10px 3px rgba(255, 102, 0, 0.5);
  border-radius: 2px;
  top: 8px;
  animation: laserScan 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes laserScan {
  0%, 100% { top: 8px; opacity: 0.9; }
  50%       { top: calc(100% - 10px); opacity: 1; }
}

/* QR svg box */
.qr-svg-wrap {
  width: 100%; height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  border: 1.5px solid rgba(255, 102, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.qr-svg-wrap svg { width: 100%; height: auto; }

/* Scan hint divider */
.scan-hint {
  font-size: 0.76rem;
  color: var(--text-mid);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  justify-content: center;
}
.scan-hint::before,
.scan-hint::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 102, 0, 0.18);
}

/* UPI ID box */
.upi-id {
  background: var(--orange-pale);
  border: 1px dashed rgba(255, 102, 0, 0.4);
  border-radius: 10px;
  padding: 0.52rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.5px;
  width: 100%;
}

/* Payment icons */
.pay-icons {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.pay-icon {
  background: var(--orange-pale);
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: 8px;
  padding: 0.32rem 0.68rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.4px;
}

/* ── TRUST STRIP ── */
.trust-strip {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem 2rem 4.5rem;
  border-top: 1.5px solid rgba(255, 102, 0, 0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-family: 'Figtree', sans-serif;
}
.trust-icon {
  width: 32px; height: 32px;
  background: var(--orange-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    gap: 1rem;
  }
  .hero {
    padding: 2.5rem 1.5rem 2rem;
  }
  .trust-strip {
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .amounts {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card .num {
    font-size: 1.5rem;
  }
}
