/* css/donate.css */

.donate-hero { padding: 14rem 5vw 7rem; background: var(--crimson); text-align: center; position: relative; overflow: hidden; }
.donate-hero::before {
  content: '₹'; position: absolute; font-family: var(--font-display); font-size: 40vw; font-weight: 900;
  color: rgba(255,255,255,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%); line-height: 1; pointer-events: none;
}
.donate-hero h1 { color: var(--white); position: relative; z-index: 2; }
.donate-hero p  { color: rgba(255,255,255,0.68); font-size: 1.1rem; max-width: 520px; margin: 1.5rem auto 0; position: relative; z-index: 2; line-height: 1.8; }

.impact-bar  { background: var(--black); padding: 3rem 0; }
.impact-row  { display: flex; flex-wrap: wrap; }
.impact-item { flex: 1; min-width: 180px; padding: 1.25rem 2rem; border-right: 1px solid rgba(255,255,255,0.08); }
.impact-item:last-child { border-right: none; }
.impact-amt  { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--accent); display: block; }
.impact-desc { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.2rem; }

.donate-main { padding: 7rem 0; }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }

/* ── QR DONATE ── */
.donate-qr-section { padding: 7rem 0; }
.donate-qr-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.donate-qr-text h2 { margin-bottom: 1.5rem; }
.donate-qr-text p  { font-size: 1rem; color: #555; line-height: 1.85; margin-bottom: 1.5rem; }
.tax-badge-inline  { display: inline-block; background: var(--accent); padding: 0.45rem 1.25rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-top: 0.5rem; }
.donate-qr-box { text-align: center; }
.donate-qr-box img { width: 100%; max-width: 320px; display: block; margin: 0 auto 1.5rem; border: 1px solid var(--grey-200); }
.donate-qr-box p { font-size: 0.85rem; color: var(--grey-400); }

/* online payment */
.razorpay-col h3 { margin-bottom: 0.75rem; }
.razorpay-col > p { color: #555; font-size: 0.9rem; line-height: 1.75; margin-bottom: 2rem; }
.amount-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 1.5rem; }
.pill {
  padding: 0.5rem 1.25rem; border: 2px solid var(--grey-200); font-size: 0.875rem;
  font-weight: 600; cursor: pointer; border-radius: 100px; background: none;
  font-family: var(--font-body); transition: all 0.2s;
}
.pill:hover, .pill.on { border-color: var(--black); background: var(--black); color: var(--white); }
.amount-wrap { position: relative; margin-bottom: 1.5rem; }
.amount-wrap .rupee { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 600; color: #666; }
.amount-input {
  width: 100%; padding: 1rem 1rem 1rem 2.2rem; border: 2px solid var(--grey-200);
  font-size: 1rem; font-family: var(--font-body); outline: none; border-radius: 2px; transition: border-color 0.2s;
}
.amount-input:focus { border-color: var(--black); }
.donate-btn {
  width: 100%; padding: 1.1rem; background: var(--accent); border: none;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.03em; cursor: pointer; border-radius: 2px; transition: transform 0.2s, box-shadow 0.2s;
}
.donate-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.secure-note { font-size: 0.75rem; color: var(--grey-400); margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; }

.or-divider { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--grey-200); }
.or-divider span { font-size: 0.75rem; color: var(--grey-400); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

.qr-box   { background: var(--grey-100); padding: 2.5rem; text-align: center; margin-bottom: 2rem; }
.qr-box img { max-width: 180px; margin: 0 auto 1rem; }
.qr-placeholder { width: 180px; height: 180px; border: 2px dashed var(--grey-200); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--grey-400); text-align: center; padding: 1rem; line-height: 1.6; }
.qr-box > p { font-size: 0.82rem; color: #555; }

/* bank details */
.bank-col h3 { margin-bottom: 0.75rem; }
.bank-col > p { color: #555; font-size: 0.875rem; line-height: 1.75; margin-bottom: 1.5rem; }
.bank-table { border: 1px solid var(--grey-200); }
.bank-row   { display: flex; justify-content: space-between; padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--grey-200); font-size: 0.875rem; gap: 1rem; }
.bank-row:last-child { border-bottom: none; }
.bank-key   { color: var(--grey-400); font-weight: 500; flex-shrink: 0; }
.bank-val   { font-weight: 600; text-align: right; display: flex; align-items: center; gap: 0.5rem; }
.copy-btn   { background: none; border: none; cursor: pointer; font-size: 0.72rem; color: var(--accent); font-weight: 600; padding: 0; font-family: var(--font-body); }
.bank-note  { background: var(--grey-100); padding: 1.5rem; margin-top: 1.5rem; border-left: 3px solid var(--accent); font-size: 0.85rem; color: #555; line-height: 1.75; }

/* 80G section */
.tax-section { background: var(--grey-100); padding: 5rem 0; }
.tax-inner   { max-width: 800px; margin: 0 auto; text-align: center; }
.tax-badge   { display: inline-block; background: var(--accent); padding: 0.45rem 1.5rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 2rem; }
.tax-inner h2 { margin-bottom: 1.5rem; }
.tax-inner > p { color: #555; line-height: 1.85; font-size: 1rem; margin-bottom: 0.75rem; }
.tax-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; text-align: left; }
.tax-step  { background: var(--white); padding: 2rem; }
.step-n    { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: rgba(0,0,0,0.07); line-height: 1; margin-bottom: 1rem; }
.tax-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.tax-step p  { font-size: 0.85rem; color: #666; line-height: 1.72; }

@media (max-width: 900px) {
  .donate-grid     { grid-template-columns: 1fr; gap: 4rem; }
  .tax-steps       { grid-template-columns: 1fr; }
  .impact-item     { min-width: 160px; }
  .donate-qr-inner { grid-template-columns: 1fr; gap: 3rem; }
  .donate-qr-box   { order: -1; }
}
