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

:root {
  --green-deep: #1a5632;
  --green-mid: #2d7a4f;
  --green-light: #4a9e6e;
  --blue-deep: #1a3a5c;
  --blue-mid: #2a6496;
  --blue-sky: #5ba4d9;
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --gold-warm: #f0d98a;
  --sand: #f7f2e8;
  --sand-light: #faf8f2;
  --white: #ffffff;
  --dark: #1a1a1a;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green-deep);
}

.logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav-links a:hover { color: var(--green-mid); }

.nav-links .btn-nav {
  background: var(--green-mid);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-links .btn-nav:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f3d1e 0%, #1a5632 30%, #1a3a5c 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(212,168,67,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(91,164,217,0.1) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.5) 30px, rgba(255,255,255,0.5) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.5) 30px, rgba(255,255,255,0.5) 31px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  max-width: 780px;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,67,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.hero-stat-bar {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 2;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.hero-stat {
  text-align: center;
  padding: 28px 16px;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
}

a.hero-stat:hover { background: rgba(255,255,255,0.06); }
a.hero-stat:hover strong { color: var(--gold); }

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ===== SECTION STYLES ===== */
section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--dark);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== ABOUT / MISSION ===== */
.about {
  background: var(--sand-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green-light), var(--blue-mid));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(212,168,67,0.2) 0%, transparent 60%);
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  padding: 24px;
  background: var(--gold);
  border-radius: var(--radius);
  color: var(--dark);
  z-index: 2;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.about-accent strong {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  display: block;
}

.about-accent span {
  font-size: 13px;
  font-weight: 500;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--green-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.value-item p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ===== WHY PRIMARY SCHOOL ===== */
.why-section {
  background: var(--white);
  position: relative;
}

.why-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.why-header .section-sub {
  margin: 0 auto;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--sand-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.why-card-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--green-mid);
  opacity: 0.15;
  position: absolute;
  top: 20px;
  right: 24px;
}

.why-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== IMPACT / STATS ===== */
.impact {
  background: linear-gradient(135deg, #0f3d1e 0%, #1a5632 40%, #1a3a5c 100%);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 80%, rgba(212,168,67,0.08) 0%, transparent 50%);
}

.impact .container { position: relative; z-index: 2; }

.impact-header {
  text-align: center;
  margin-bottom: 64px;
}

.impact-header .section-label { color: var(--gold-light); }
.impact-header .section-title { color: var(--white); }
.impact-header .section-sub { color: rgba(255,255,255,0.6); margin: 0 auto; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* Flip card container */
.flip-card {
  perspective: 800px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: background 0.3s;
}

.flip-card:not(.flipped):hover .flip-card-front {
  background: rgba(255,255,255,0.1);
}

.flip-hint {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.flip-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.flip-close:hover { color: rgba(255,255,255,0.8); }

/* Carousel inside flip back */
.carousel { position: relative; text-align: left; min-height: 80px; }
.carousel-slide { display: none; }
.carousel-slide.active { display: block; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.carousel-nav button {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-nav button:hover { background: rgba(255,255,255,0.2); }

.carousel-counter {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.impact-number {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: block;
}

.impact-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  line-height: 1.5;
}

.impact-story {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.story-image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  margin-bottom: 12px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 1.5;
}

.impact-story blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.impact-story blockquote::before {
  content: '\201C';
  font-size: 64px;
  color: var(--gold);
  position: absolute;
  top: -20px;
  left: -8px;
  opacity: 0.5;
  line-height: 1;
}

.story-attribution {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.story-attribution strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ===== HOW TO HELP ===== */
.help-section {
  background: var(--sand-light);
}

.help-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.help-header .section-sub { margin: 0 auto; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.help-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.help-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
}

.help-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.help-card .btn-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.help-card:hover .btn-link { gap: 10px; }

/* Donate CTA */
.donate-cta {
  background: var(--white);
  border-radius: 20px;
  padding: 64px;
  text-align: center;
  box-shadow: 0 8px 48px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.donate-cta h2 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 16px;
}

.donate-cta p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.donate-amounts {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.donate-amount {
  padding: 14px 28px;
  border: 2px solid var(--green-mid);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-mid);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.donate-amount:hover, .donate-amount.active {
  background: var(--green-mid);
  color: var(--white);
}

.donate-cta .btn-primary {
  padding: 18px 48px;
  font-size: 16px;
  background: var(--green-mid);
  color: var(--white);
}

.donate-cta .btn-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 8px 32px rgba(26,86,50,0.3);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--gold);
  background: rgba(212,168,67,0.1);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.6);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 12px; }

.footer-col a {
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover { color: var(--gold-light); }

/* ===== PAYMENT STYLES ===== */
.payment-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  min-width: 200px;
  justify-content: center;
}

/* ===== REGISTER ===== */
.register-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 420px) {
  .register-name-grid { grid-template-columns: 1fr; }
}

/* ===== SUPPORTERS / DONORS ===== */
.donor-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.donor-stats strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--green-mid);
}
.donor-stats span { font-size: 13px; color: var(--text-light); }

.donor-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 56px;
}
.donor-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px 16px;
}
.donor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.donor-chip strong { display: block; font-size: 14px; color: var(--dark); }
.donor-tier {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tier-friend { color: var(--text-light); }
.tier-supporter { color: var(--green-mid); }
.tier-champion { color: var(--gold); }
.tier-benefactor { color: var(--blue-mid); }
.tier-founders { color: #9b5de5; }

.tier-legend {
  background: var(--sand-light);
  border-radius: 16px;
  padding: 32px;
}
.tier-legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.tier-legend-grid > div {
  text-align: center;
  padding: 16px 12px;
  background: var(--white);
  border-radius: 10px;
}
.tier-legend-grid strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.tier-legend-grid span { font-size: 12px; color: var(--text-light); }

/* ===== WAYS TO GIVE ===== */
.give-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.04);
}

.give-freq {
  display: flex;
  background: var(--sand-light);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 24px;
}

.give-freq-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: transparent;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}

.give-freq-btn.active {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(45,122,79,0.3);
}

.give-presets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.give-preset {
  padding: 12px 0;
  border: 2px solid #e4e4e4;
  background: var(--white);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}

.give-preset:hover { border-color: var(--green-light); }
.give-preset.active { border-color: var(--green-mid); background: var(--green-mid); color: var(--white); }

.give-amount-row {
  display: flex;
  align-items: center;
  border: 2px solid var(--green-mid);
  border-radius: 12px;
  padding: 8px 16px;
  margin-bottom: 20px;
}

.give-dollar { font-size: 28px; font-weight: 700; color: var(--green-mid); }

.give-amount-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 32px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  width: 100%;
  padding: 6px 8px;
  -moz-appearance: textfield;
}
.give-amount-row input::-webkit-outer-spin-button,
.give-amount-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.give-per { font-size: 18px; color: var(--text-light); font-weight: 600; }

.give-impact {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: var(--white);
  margin-bottom: 20px;
}

.give-impact-main { font-family: 'Playfair Display', serif; font-size: 21px; line-height: 1.35; }
.give-impact-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 8px; }

.give-scholarship {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: var(--sand-light);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.give-scholarship:hover { background: #f3ead4; }
.give-scholarship strong { display: block; font-size: 15px; color: var(--dark); }
.give-scholarship span { font-size: 13px; color: var(--text-light); }
.give-scholarship-amt { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--gold); flex-shrink: 0; }

.give-card-btn {
  width: 100%;
  background: var(--green-mid);
  color: #fff;
  margin-bottom: 12px;
  justify-content: center;
}
.give-card-btn:hover { background: var(--green-deep); }
.give-cta { display: flex; gap: 12px; }
.give-cta .payment-btn { flex: 1; text-decoration: none; }
.give-note { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 14px; min-height: 18px; }

@media (max-width: 600px) {
  .give-card { padding: 24px 20px; }
  .give-cta { flex-direction: column; }
}

/* ===== SCHOOL DETAIL ===== */
.school-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.school-stat {
  background: var(--sand-light);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.school-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--green-mid);
  margin-bottom: 4px;
}

.school-stat span {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

.scholar-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.scholar-mini {
  text-decoration: none;
  color: inherit;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scholar-mini img, .scholar-mini-ph {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  background: var(--sand);
}

.scholar-mini-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.scholar-mini-meta { font-size: 12px; color: var(--text-light); }

@media (max-width: 640px) {
  .school-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== SUBSCRIBE ===== */
.subscribe-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--green-mid);
}

/* ===== SCHOLAR DETAIL ===== */
.scholar-detail-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 640px) {
  .scholar-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .scholar-detail-grid img,
  .scholar-detail-grid > div:first-child {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image { order: -1; }

  .about-accent {
    bottom: -12px;
    right: -12px;
    width: 160px;
    padding: 20px;
  }

  .about-accent strong { font-size: 28px; }

  .why-cards, .help-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-story {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat:nth-child(2)::after { display: none; }

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

@media (max-width: 640px) {
  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-links .btn-nav {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 24px;
    border-radius: 100px;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hamburger → X animation */
  .mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  section { padding: 64px 0; }

  .hero-content { padding-top: 100px; padding-bottom: 160px; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 20px 12px; }
  .hero-stat strong { font-size: 22px; }

  .why-cards, .help-grid { grid-template-columns: 1fr; }

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

  .impact-story { padding: 28px 20px; gap: 28px; }

  .impact-story blockquote { font-size: 18px; }

  .donate-cta { padding: 36px 20px; border-radius: 16px; }

  .donate-cta h2 { font-size: 26px; }

  .donate-amounts {
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .donate-amount { padding: 12px 0; font-size: 15px; }

  .payment-methods { flex-direction: column; align-items: stretch; }

  .payment-btn { width: 100%; max-width: none; }

  .about-values { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Scholars page */
  .scholars-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .scholars-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
