/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Screen Reader Only (ADA) ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Skip Navigation (ADA) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #6d44b8;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ===== Focus Styles (ADA) ===== */
:focus-visible {
  outline: 3px solid #6d44b8;
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #6d44b8;
  outline-offset: 3px;
}
/* Remove outline only when not keyboard navigating */
:focus:not(:focus-visible) {
  outline: none;
}

:root {
  --primary: #5b4a8a;
  --primary-light: #7b6baa;
  --primary-dark: #3d2f6b;
  --accent: #e8a0bf;
  --accent-light: #f3c8dc;
  --accent-dark: #d07aa3;
  --warm: #f9e4c8;
  --warm-light: #fdf3e7;
  --bg: #fefcf9;
  --text: #2d2d2d;
  --text-light: #666;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(91, 74, 138, 0.06);
  --shadow: 0 4px 24px rgba(91, 74, 138, 0.1);
  --shadow-lg: 0 12px 48px rgba(91, 74, 138, 0.15);
  --shadow-glow: 0 0 40px rgba(232, 160, 191, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1140px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
p {
  max-width: 680px;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
}
.section-label::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ===== Layout Helpers ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.text-center {
  text-align: center;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after {
  opacity: 1;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(91, 74, 138, 0.2);
}
.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(91, 74, 138, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(91, 74, 138, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-accent {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 160, 191, 0.3);
}
.btn-accent:hover {
  box-shadow: 0 8px 30px rgba(232, 160, 191, 0.4);
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 252, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(91, 74, 138, 0.06);
  transition: all 0.4s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(91, 74, 138, 0.08);
  background: rgba(254, 252, 249, 0.95);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.nav-logo span {
  color: var(--accent);
  font-weight: 700;
}
.nav-logo img {
  height: 94px;
  width: auto;
  display: block;
  margin-top: 9px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.3s;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  transform: scaleX(1);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  background: linear-gradient(
    160deg,
    var(--warm-light) 0%,
    var(--bg) 35%,
    #f0ecf7 65%,
    var(--accent-light) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Floating decorative orbs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(232, 160, 191, 0.12),
    transparent 65%
  );
  top: -150px;
  right: -150px;
  animation: float-orb 8s ease-in-out infinite;
}
.hero::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 74, 138, 0.08), transparent 65%);
  bottom: -100px;
  left: -100px;
  animation: float-orb 10s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--accent-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  animation: bounce-soft 2s ease-in-out infinite;
}
.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

@keyframes bounce-soft {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: linear-gradient(
    transparent,
    rgba(91, 74, 138, 0.15),
    transparent
  );
}
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== Why Section ===== */
.why-section {
  background: var(--bg);
  overflow: hidden;
}
.why-section .content-block {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.why-section h2 {
  color: var(--primary);
  margin-bottom: 1.75rem;
}
.why-section p {
  margin: 0 auto 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.85;
}

/* Decorative quote marks */
.blockquote-accent {
  position: relative;
  padding: 2rem 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(91, 74, 138, 0.03),
    rgba(232, 160, 191, 0.05)
  );
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  margin: 2rem auto;
  max-width: 600px;
}
.blockquote-accent p {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
}

/* ===== What We Do ===== */
.what-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(91, 74, 138, 0.04);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--warm-light), var(--accent-light));
  color: var(--primary);
  transition: transform 0.4s;
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== How It Works ===== */
.how-section {
  background: var(--white);
  position: relative;
}
.how-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(91, 74, 138, 0.1),
    transparent
  );
}
.how-section .content-block {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.how-section h2 {
  color: var(--primary);
  margin-bottom: 1.75rem;
}
.how-section p {
  margin: 0 auto 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.85;
}

/* Steps visual */
.steps-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(91, 74, 138, 0.2);
}
.step h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 auto;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 160, 191, 0.1),
    transparent 60%
  );
  top: -200px;
  right: -200px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05),
    transparent 60%
  );
  bottom: -100px;
  left: -100px;
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 1.5rem;
  font-size: 1.15rem;
}

/* ===== Donation Page Specific ===== */
.donate-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(
    160deg,
    var(--warm-light) 0%,
    var(--bg) 35%,
    #f0ecf7 65%,
    var(--accent-light) 100%
  );
  position: relative;
  overflow: hidden;
}
.donate-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 160, 191, 0.1),
    transparent 65%
  );
  top: -100px;
  right: -100px;
  animation: float-orb 8s ease-in-out infinite;
}
.donate-hero h1 {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--accent-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}
.donate-hero p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin: 0 auto 2.5rem;
  max-width: 600px;
  line-height: 1.8;
}

.opening-message {
  background: var(--white);
}
.opening-message .content-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.opening-message h2 {
  color: var(--primary);
  margin-bottom: 1.75rem;
}
.opening-message p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin: 0 auto 1.5rem;
  line-height: 1.85;
}
.opening-message .highlight {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.15rem;
}

/* Impact tiers */
.impact-section {
  background: var(--bg);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.impact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(91, 74, 138, 0.04);
  position: relative;
  overflow: hidden;
}
.impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(91, 74, 138, 0.02),
    rgba(232, 160, 191, 0.04)
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.impact-card:hover::before {
  opacity: 1;
}

.impact-amount {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}
.impact-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.impact-note {
  margin-top: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Emotional appeal */
.emotional-section {
  background: var(--white);
  position: relative;
}
.emotional-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(91, 74, 138, 0.1),
    transparent
  );
}
.emotional-section .content-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.emotional-section h2 {
  color: var(--primary);
  margin-bottom: 1.75rem;
}
.emotional-section p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin: 0 auto 1.5rem;
  line-height: 1.85;
}

/* Trust */
.trust-section {
  background: var(--bg);
  text-align: center;
}
.trust-section .content-block {
  max-width: 700px;
  margin: 0 auto;
}
.trust-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.trust-section p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 0 auto 1rem;
}
.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.trust-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

/* Donate Form Card */
.donate-form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(91, 74, 138, 0.06);
  position: relative;
  overflow: hidden;
}
.donate-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--primary)
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.donate-form-card h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.donate-form-card .subtitle {
  color: var(--text-light);
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.amount-btn {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 2px solid #e8e4f0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  background: var(--bg);
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 74, 138, 0.08);
}
.form-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}
.form-input-wrap .prefix {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}
.form-input-wrap .prefix + .form-input {
  padding-left: 2.2rem;
}

.donate-submit {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.15rem;
  margin-top: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  box-shadow: 0 6px 20px rgba(91, 74, 138, 0.25);
  letter-spacing: 0.02em;
}
.donate-submit:hover {
  box-shadow: 0 8px 35px rgba(91, 74, 138, 0.35);
}
.donate-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.donate-error {
  color: #c0392b;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  display: none;
  background: #fef2f2;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.donate-loading {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  display: none;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.payment-methods {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.payment-methods span {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}
.powered-by {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 160, 191, 0.08),
    transparent 60%
  );
  top: -200px;
  right: -200px;
}
.final-cta .container {
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin: 0 auto 0.5rem;
}
.final-cta .closing-quote {
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent-light);
  margin-top: 2.5rem;
  font-weight: 500;
}
.payment-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.payment-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.9rem;
}
/* ===== Frequency Toggle (donate page) ===== */
.freq-btn {
  color: rgba(0,0,0,0.45);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.freq-btn.active {
  background: #6d44b8;
  color: #fff;
  box-shadow: 0 4px 14px rgba(109,68,184,0.25);
}

.footer .container,
.footer .footer-inner {
  text-align: center;
}
.footer p,
.footer a {
  text-align: center;
}
.footer a {
  color: var(--accent-light);
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--white);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > *:nth-child(1) {
  transition-delay: 0s;
}
.stagger-children > *:nth-child(2) {
  transition-delay: 0.15s;
}
.stagger-children > *:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-children > *:nth-child(4) {
  transition-delay: 0.45s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .nav-inner {
    padding: 0 1.25rem;
  }
  .nav-links {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 1rem 2rem;
    display: block;
  }
  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero {
    min-height: 90vh;
    padding: 7rem 1.25rem 4rem;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .scroll-indicator {
    display: none;
  }

  .stats-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-item {
    padding: 1.5rem 0.75rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }
  .step:not(:last-child)::after {
    display: none;
  }

  .donate-hero {
    min-height: 45vh;
    padding: 7rem 1.25rem 3rem;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .donate-form-card {
    padding: 2rem 1.5rem;
  }
  .amount-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 85vh;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .amount-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .stat-item {
    padding: 1.25rem;
  }
  .stat-item:not(:last-child) {
    border-bottom: 1px solid rgba(91, 74, 138, 0.06);
  }
}
