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

/* ─────────────────────────────────────────
   DONATE HERO
───────────────────────────────────────── */
.donate-hero {
  position: relative;
  padding: 100px 0 80px;
  background: var(--navy);
  overflow: hidden;
}
.donate-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1800')
    center/cover no-repeat;
  opacity: 0.08;
}
.donate-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,74,40,0.94) 0%, rgba(15,30,60,0.9) 100%);
}
.donate-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.donate-hero-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 18px;
}
.donate-hero-inner h1 .accent { color: #6edba0; }
.donate-hero-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 580px;
}
.donate-hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.donate-hero-trust span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}
.donate-hero-trust i { color: #6edba0; }

/* ─────────────────────────────────────────
   PROGRESS BAR
───────────────────────────────────────── */
.progress-section { background: var(--white); }

.progress-wrap {
  background: linear-gradient(135deg, var(--green-tint), var(--white));
  border: 2px solid var(--green-light);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
}
.progress-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.progress-header h2 { font-size: 1.4rem; margin-bottom: 4px; }
.progress-header p { font-size: 14px; color: var(--text-muted); margin: 0; }

.progress-amounts { text-align: right; }
.progress-amounts .raised {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}
.progress-amounts .raised small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.progress-amounts .goal {
  font-size: 14px;
  color: var(--text-muted);
}

.progress-bar-wrap {
  background: var(--border);
  border-radius: 20px;
  height: 22px;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--green-mid));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  transition: width 1.2s ease;
}
.progress-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.progress-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.progress-meta span {
  font-size: 13.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.progress-meta i { color: var(--green-primary); }

/* ─────────────────────────────────────────
   DONATE MAIN
───────────────────────────────────────── */
.donate-main-section { background: var(--surface); }

.donate-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Form Wrap */
.donate-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.donate-form-wrap h2 { font-size: 1.6rem; margin-bottom: 8px; }
.donate-form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* Donation type toggle */
.donate-type-toggle {
  display: flex;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  width: fit-content;
}
.donate-type-btn {
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.donate-type-btn.active {
  background: var(--white);
  color: var(--green-primary);
  box-shadow: var(--shadow-sm);
}

/* Amount section */
.amount-section { margin-bottom: 20px; }
.amount-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.amount-btn {
  padding: 13px 10px;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.amount-btn:hover { border-color: var(--green-primary); color: var(--green-primary); }
.amount-btn.active {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
  box-shadow: 0 4px 12px rgba(26,110,60,0.25);
}

.custom-amount-wrap { margin-top: 4px; }
.custom-amount-label {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.custom-amount-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.custom-amount-input:focus-within { border-color: var(--green-primary); }
.currency-symbol {
  padding: 12px 14px;
  background: var(--surface);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}
.custom-amount-input input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
}

/* Impact indicator */
.impact-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-tint);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 16px 0 24px;
  transition: all var(--transition);
}
.impact-indicator-icon { font-size: 24px; flex-shrink: 0; }
.impact-indicator p {
  font-size: 14px;
  color: var(--green-dark);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* Donor form */
.donor-form {}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group label span { color: var(--green-primary); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(26,110,60,0.1);
}
.form-group input.error { border-color: #e53e3e; }
.form-group textarea { resize: vertical; }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--green-primary);
}
.form-check label { font-size: 13.5px; color: var(--text-muted); cursor: pointer; }

.donate-submit { width: 100%; justify-content: center; margin-top: 8px; font-size: 16px; }
.donate-secure-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.donate-secure-note i { color: var(--green-primary); }

/* Donate Info Wrap */
.donate-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.donate-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.donate-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}
.donate-info-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.impact-list { display: flex; flex-direction: column; gap: 14px; }
.impact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.impact-list li:hover { background: var(--green-tint); }
.impact-list-icon {
  width: 36px; height: 36px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--green-primary);
  flex-shrink: 0;
}
.impact-list li strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 2px;
}
.impact-list li span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* Transparency Card */
.donate-transparency-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.transparency-icon {
  font-size: 28px;
  color: var(--green-primary);
  margin-bottom: 10px;
  display: block;
}
.donate-transparency-card h4 { font-size: 1rem; margin-bottom: 16px; }

.fund-allocation { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.fund-bar-wrap {}
.fund-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 500;
}
.fund-bar {
  height: 8px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.fund-fill {
  height: 100%;
  border-radius: 20px;
  transition: width 1s ease;
}

.transparency-note {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.transparency-note i { color: var(--green-primary); }

/* Tax Card */
.donate-tax-card {
  background: var(--green-tint);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.donate-tax-icon {
  font-size: 22px;
  color: var(--green-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.donate-tax-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.donate-tax-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ─────────────────────────────────────────
   IMPACT NUMBERS
───────────────────────────────────────── */
.impact-numbers-section { background: var(--white); }

.impact-numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.impact-number-card {
  text-align: center;
  padding: 24px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.impact-number-card:hover {
  border-color: var(--green-primary);
  background: var(--green-tint);
  transform: translateY(-3px);
}
.impact-number-icon {
  font-size: 26px;
  color: var(--green-primary);
  margin-bottom: 10px;
  display: block;
}
.impact-number-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.impact-number-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testimonials-section { background: var(--surface); }

.testimonials-wrap { max-width: 680px; margin: 0 auto; }

.testimonial-track { position: relative; min-height: 220px; }

.testimonial-card {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  animation: fadeSlide 0.4s ease;
}
.testimonial-card.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-size: 28px;
  color: var(--green-light);
  margin-bottom: 14px;
}
.testimonial-card > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-mid));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 15px; margin-bottom: 2px; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }
.testimonial-stars { margin-left: auto; color: var(--amber); font-size: 13px; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.slider-prev, .slider-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-prev:hover, .slider-next:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  background: var(--green-tint);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--green-primary);
  width: 20px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   OTHER SUPPORT
───────────────────────────────────────── */
.other-support-section { background: var(--white); }

.other-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}
.support-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.support-icon {
  font-size: 32px;
  color: var(--green-primary);
  margin-bottom: 14px;
  display: block;
}
.support-card h4 { font-size: 1rem; margin-bottom: 10px; }
.support-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }

/* ─────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────── */
.donate-final-cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.donate-final-cta::before {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.donate-final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.donate-final-cta-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
}
.donate-final-cta-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 480px;
}
.donate-final-cta-action { text-align: center; }
.btn-cta-white {
  background: var(--white);
  color: var(--green-primary);
  border-color: var(--white);
  font-weight: 700;
  display: inline-flex;
}
.btn-cta-white:hover {
  background: var(--green-tint);
  transform: translateY(-2px);
}
.cta-secure {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.cta-secure i { color: #6edba0; }

/* ─────────────────────────────────────────
   RESPONSIVE — DONATE
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .impact-numbers-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-info-wrap { position: static; }
  .other-support-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .donate-form-wrap { padding: 24px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .amount-options { grid-template-columns: repeat(3, 1fr); }
  .progress-wrap { padding: 24px; }
  .progress-header { flex-direction: column; align-items: flex-start; }
  .progress-amounts { text-align: left; }
  .donate-final-cta-inner { flex-direction: column; text-align: center; }
  .donate-final-cta-text p { margin: 0 auto; }
  .impact-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { padding: 24px; }
}

@media (max-width: 480px) {
  .amount-options { grid-template-columns: repeat(2, 1fr); }
  .other-support-grid { grid-template-columns: 1fr; }
  .donate-hero-trust { gap: 14px; }
  .impact-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .progress-meta { flex-direction: column; gap: 10px; }
}