/* ============================================
   DONATE PAGE — donate.css
   ============================================ */

/* ---- Donate Hero ---- */
.donate-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 72px 0 80px;
  overflow: hidden;
}
.donate-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}
.donate-hero-copy { color: var(--white); }
.donate-hero-copy .section-tag { color: var(--green); background: rgba(46,125,85,0.2); margin-bottom: 16px; }
.donate-hero-copy h1 { color: var(--white); font-size: clamp(28px, 4vw, 46px); margin-bottom: 20px; line-height: 1.12; }
.donate-hero-copy p  { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 32px; }
.donate-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.donate-trust-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Impact card */
.impact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.impact-card-header {
  background: rgba(255,255,255,0.08);
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.impact-card-header svg { color: var(--green); }
.impact-list { padding: 8px 0; }
.impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  line-height: 1.4;
}
.impact-item:last-child { border-bottom: none; }
.impact-icon {
  width: 30px; height: 30px;
  background: rgba(46,125,85,0.2);
  color: var(--green);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---- Why it Matters ---- */
.why-matters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.wm-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.wm-card h3 { font-size: 17px; margin-bottom: 10px; }
.wm-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin: 0; }

/* ---- Donate Options ---- */
.donate-options-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.donate-main-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 36px 40px;
}
.amount-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  margin-bottom: 12px;
}
.amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.amount-btn {
  padding: 13px 10px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.amount-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.amount-btn.active { border-color: var(--green); background: var(--green); color: var(--white); }
.amount-btn.amount-custom { color: var(--text-mid); font-size: 14px; font-weight: 600; }

.custom-amount-wrap { margin-bottom: 24px; }
.custom-amount-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--green);
  border-radius: 8px;
  overflow: hidden;
  max-width: 220px;
}
.dollar-sign {
  padding: 11px 12px 11px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
}
.custom-amount-input-wrap input {
  border: none;
  padding: 11px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  width: 140px;
  outline: none;
  box-shadow: none;
}
.custom-amount-input-wrap input:focus { border-color: transparent; box-shadow: none; }

.donate-frequency { margin-bottom: 28px; }
.frequency-tabs {
  display: flex;
  gap: 0;
  background: var(--light-bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.freq-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.freq-tab.active { background: var(--navy); color: var(--white); }
.freq-tab:first-child { border-radius: 6px 0 0 6px; }
.freq-tab:last-child  { border-radius: 0 6px 6px 0; }

.donate-submit-area {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.donate-cta-btn { width: 100%; justify-content: center; font-size: 17px; padding: 18px 24px; }
.donate-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.donate-note svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.donate-alt {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}
.donate-alt a { color: var(--green); font-weight: 600; text-decoration: none; }
.donate-alt a:hover { text-decoration: underline; }

/* Donate sidebar */
.donate-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.sidebar-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 22px; }
.sidebar-card h3 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.tax-item { margin-bottom: 10px; }
.tax-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 2px; }
.tax-value { font-size: 14px; color: var(--text-dark); font-weight: 500; line-height: 1.4; }
.tax-note { font-size: 12px; color: var(--text-light); line-height: 1.6; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

.secure-card { text-align: center; }
.secure-icon { width: 44px; height: 44px; background: var(--navy-light); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.secure-card h3 { border-bottom: none; margin-bottom: 8px; padding-bottom: 0; }
.secure-card p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin: 0; }

/* ---- Ways Grid ---- */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.way-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.way-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.way-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.bg-teal-light { background: var(--teal-light); color: var(--teal); }
.way-card h3 { font-size: 16px; font-weight: 700; margin: 0; }
.way-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin: 0; flex: 1; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .donate-hero-inner      { grid-template-columns: 1fr; }
  .impact-card            { max-width: 480px; }
  .donate-options-layout  { grid-template-columns: 1fr; }
  .donate-sidebar         { position: static; flex-direction: row; }
  .donate-sidebar .sidebar-card { flex: 1; }
}
@media (max-width: 768px) {
  .why-matters-grid   { grid-template-columns: 1fr; }
  .ways-grid          { grid-template-columns: 1fr; }
  .donate-main-card   { padding: 24px 20px; }
  .donate-hero-actions { flex-direction: column; align-items: flex-start; }
  .donate-sidebar     { flex-direction: column; }
  .amount-buttons     { grid-template-columns: repeat(2, 1fr); }
}
