/* =========================================
   林國漳 2026 宜蘭縣長競選募資網站
   Main Stylesheet
   ========================================= */

/* ── CSS Variables ── */
:root {
  --dpp-green: #1B8A3D;
  --dpp-green-dark: #136B2E;
  --dpp-green-light: #27AE60;
  --dpp-green-pale: #E8F5ED;
  --dpp-purple: #948CFF;
  --dpp-purple-dark: #49439c;
  --dpp-purple-light: #bab5f5;
  --dpp-purple-pale: #d9d7fc;
  --accent-gold: #F4A300;
  --accent-yellow: #FFFF00;
  --accent-orange: #E67E22;
  --text-dark: #1A2332;
  --text-mid: #3D4F5C;
  --text-light: #6B7D8A;
  --text-white: #FFFFFF;
  --bg-light: #F8FAFB;
  --bg-white: #FFFFFF;
  --border-light: #E0E8EC;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Noto Sans TC', sans-serif;

  /* Neutral */
  --ink-900:   #0E1820;
  --ink-800:   #1A2535;
  --ink-700:   #2D3E50;
  --ink-600:   #3D5166;
  --ink-400:   #6B849A;
  --ink-200:   #B8CAD6;
  --ink-100:   #E4EBF0;
  --ink-50:    #F4F7FA;
  --white:     #FFFFFF;

  /* Typography */
  --font-serif: 'Noto Serif TC', serif;
  --font-sans:  'Noto Sans TC', sans-serif;

  /* Spacing */
  --section-py: 110px;

  /* Misc */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --shadow-sm:  0 2px 12px rgba(14,24,32,0.08);
  --shadow-md:  0 8px 32px rgba(14,24,32,0.12);
  --shadow-lg:  0 20px 60px rgba(14,24,32,0.18);
  --shadow-xl:  0 40px 100px rgba(14,24,32,0.24);
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --trans:      all 0.3s var(--ease);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; width: 100%;}
body { overflow-x: hidden; width: 100%; position: relative; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--dpp-green); border-radius: 3px; }

/* =========================================
   NAVBAR
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--dpp-green);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.nav-logo img { height: 32px; width: auto; }

.nav-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dpp-green-dark);
  letter-spacing: 2px;
}

.nav-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--dpp-green-pale);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--dpp-green); background: var(--dpp-green-pale); }

.btn-nav-donate {
  background: var(--dpp-green) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-nav-donate:hover {
  background: var(--dpp-green-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(27,138,61,0.35);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dpp-green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid var(--border-light);
  padding: 8px 24px 16px;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-link:hover { color: var(--dpp-green); background: var(--dpp-green-pale); }

.mobile-donate {
  background: var(--dpp-green);
  color: white !important;
  text-align: center;
  border-radius: 50px;
  margin-top: 8px;
  font-weight: 700;
}

/* =========================================
   HERO SECTION
   ========================================= */
#hero {
  position: relative;
  min-height: 100vh;
  padding-top: 68px;
  background: linear-gradient(135deg, #6259de 0%, #948CFF 40%, #bab5f5 70%, #746dc7 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Decorative background shapes */
#hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-badge img { height: 20px; width: auto; filter: brightness(0) invert(1); }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-highlight {
  color: var(--dpp-green);
  display: block;
  text-shadow: 2px 2px 20px rgba(256,256,256,0.5);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold);
  color: #1A2332;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(244,163,0,0.4);
}

.btn-primary:hover {
  background: #e09600;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(244,163,0,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 1.8rem; font-weight: 900; color: white; line-height: 1; }
.stat-item span { font-size: 0.8rem; color: rgba(255,255,255,0.75); margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

/* Hero Image */
.hero-image { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.hero-img-wrapper {
  position: relative;
  width: 340px;
  max-width: 100%;
}

.hero-img-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-img-badge {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--dpp-green-dark);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(255,255,255,0.3);
}

.hero-slogan {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  width: 100%;
  max-width: 340px;
}

.hero-slogan span {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-hint a {
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  transition: var(--transition);
}

.hero-scroll-hint a:hover { color: white; }

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

/* =========================================
   SECTIONS COMMON
   ========================================= */
.section-about,
.section-milestones,
.section-voices {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-vision {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--dpp-green-pale);
  color: var(--dpp-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title.white { color: white; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-desc.white { color: rgba(255,255,255,0.8); }

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.about-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--dpp-green);
}

.about-icon {
  width: 64px; height: 64px;
  background: var(--dpp-green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--dpp-green);
  transition: var(--transition);
}

.about-card:hover .about-icon {
  background: var(--dpp-green);
  color: white;
}

.about-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.about-quote {
  background: var(--dpp-purple);
  border-radius: var(--radius-md);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-quote::before {
  content: '"';
  position: absolute;
  top: -20px; left: 30px;
  font-size: 10rem;
  color: rgba(255,255,255,0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

blockquote cite {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 16px;
  font-style: normal;
}

/* =========================================
   VISION SECTION
   ========================================= */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vision-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vision-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dpp-green), var(--dpp-green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--dpp-green-light);
}

.vision-card:hover::after { transform: scaleX(1); }

.vision-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--dpp-green-pale);
  line-height: 1;
  margin-bottom: 16px;
}

.vision-icon {
  width: 52px; height: 52px;
  background: var(--dpp-green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--dpp-green);
  margin-bottom: 16px;
  transition: var(--transition);
}

.vision-card:hover .vision-icon {
  background: var(--dpp-green);
  color: white;
}

.vision-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.vision-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* Vision last card span full col */
.vision-grid .vision-card:last-child:nth-child(3n - 1) { grid-column: 2 / 3; }
.vision-grid .vision-card:last-child:nth-child(3n) { grid-column: span 1; }

/* =========================================
   MILESTONES / TIMELINE
   ========================================= */
.section-milestones { background: var(--bg-white); }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--dpp-green), var(--dpp-green-light));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%; top: 12px;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--dpp-green);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--dpp-green-light);
  z-index: 1;
  transition: var(--transition);
}

.timeline-dot.active {
  width: 22px; height: 22px;
  background: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(244,163,0,0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(244,163,0,0.3); }
  50% { box-shadow: 0 0 0 10px rgba(244,163,0,0.1); }
}

.timeline-content {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  width: 100%;
}

.timeline-content.active {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(244,163,0,0.15);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dpp-green);
  background: var(--dpp-green-pale);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 800px;
  margin: 0 auto;
}
.pillar-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 12px 14px;
  background: var(--ink-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-100);
  transition: var(--trans);
}
.pillar-item:hover {
  background: var(--green-50);
  border-color: var(--green-100);
  transform: translateX(6px);
}
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--dpp-green);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem; flex-shrink: 0;
  transition: var(--trans);
}
.pillar-item:hover .pillar-icon { background: var(--dpp-green-light); }
.pillar-item h4 { font-size: 1.3rem; font-weight: 700; color: var(--ink-800); margin-bottom: 4px; }
.pillar-item p { font-size: 0.85rem; color: var(--ink-400); line-height: 1.65; }

/* =========================================
   VOICES SECTION
   ========================================= */
.section-voices { background: var(--bg-light); }

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--dpp-green);
}

.voice-quote {
  font-size: 2rem;
  color: var(--dpp-green-pale);
  margin-bottom: 12px;
}

.voice-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.voice-avatar {
  font-size: 2rem;
  color: var(--dpp-green-light);
}

.voice-author strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.voice-author span { font-size: 0.8rem; color: var(--text-light); }

/* =========================================
   DONATE SECTION
   ========================================= */
.section-donate {
  padding: 100px 0;
  /*background: linear-gradient(135deg, #0B3D20 0%, #1B8A3D 50%, #27AE60 100%);*/
  background: linear-gradient(135deg, #6259de 0%, #948CFF 40%, #bab5f5 70%, #746dc7 100%);
  position: relative;
  overflow: hidden;
}

.section-donate::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.donate-tag {
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Preset Buttons */
.donate-presets {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  min-width: 110px;
}

.preset-btn:hover, .preset-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #1A2332;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(244,163,0,0.4);
}

.preset-amount {
  font-size: 1.1rem;
  font-weight: 800;
}

.preset-label {
  font-size: 0.75rem;
  margin-top: 4px;
  opacity: 0.85;
}

/* Donate Form */
.donate-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.donate-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label i { color: var(--dpp-green); }

.required { color: #e74c3c; }

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--dpp-green);
  background: white;
  box-shadow: 0 0 0 3px rgba(27,138,61,0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.field-error {
  font-size: 0.8rem;
  color: #e74c3c;
  min-height: 18px;
}

.form-group textarea { resize: vertical; min-height: 80px; }

/* Checkbox */
.checkbox-group { flex-direction: row; align-items: center; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-mid);
  user-select: none;
}

.checkbox-label input[type="checkbox"] { display: none; }

.checkmark {
  width: 20px; height: 20px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark {
  background: var(--dpp-green);
  border-color: var(--dpp-green);
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Form Note */
.form-note {
  background: #FFF8E7;
  border: 1px solid #FFE48A;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #8B6914;
  line-height: 1.6;
  display: flex;
  gap: 8px;
}

.form-note i { color: var(--accent-gold); flex-shrink: 0; margin-top: 2px; }

/* Submit Button */
.btn-donate-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--dpp-green) 0%, var(--dpp-green-dark) 100%);
  color: white;
  padding: 18px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(27,138,61,0.35);
}

.btn-donate-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27,138,61,0.5);
}

.btn-donate-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* =========================================
   SUCCESS MODAL
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-icon {
  font-size: 4rem;
  color: var(--dpp-green);
  margin-bottom: 16px;
  animation: pop 0.5s ease-out;
}

@keyframes pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.modal-box h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.modal-box p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-candidate {
  background: var(--dpp-green-pale);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.modal-candidate img {
  width: 70px;
  height: auto;
  border-radius: var(--radius-sm);
}

.modal-candidate p {
  font-size: 0.88rem;
  color: var(--dpp-green-dark);
  font-weight: 600;
  margin: 0;
}

.btn-modal-close {
  background: var(--dpp-green);
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-modal-close:hover {
  background: var(--dpp-green-dark);
  transform: translateY(-2px);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px;
  background: var(--dpp-green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dpp-green);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.contact-item a, .contact-item span, .contact-item address {
  font-size: 0.92rem;
  color: var(--text-white);
}

.contact-item a:hover { color: var(--dpp-green); }

.contact-map-placeholder {
  background: var(--bg-light);
  border: 10px solid #FFF;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  /*
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  */
}

.map-content {
  text-align: center;
  color: var(--text-light);
}

.map-content .fas {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: var(--dpp-green-muted);
}

.map-content p { font-weight: 600; color: var(--text-muted); }

.map-note { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* =========================================
   FOOTER
   ========================================= */
#footer {
  background: var(--text-dark);
  color: white;
  padding: 30px 0 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img { height: 50px; filter: brightness(0) invert(1); }
.footer-brand h3 { font-size: 1.25rem; font-weight: 900; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--dpp-green-light); }

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

.footer-social a {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.12);
}

.footer-social a:hover {
  background: var(--dpp-green);
  color: white;
  border-color: var(--dpp-green);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.footer-legal { font-size: 0.78rem !important; }

/* =========================================
   BACK TO TOP
   ========================================= */
.btn-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--dpp-green);
  color: white;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 800;
  display: flex; align-items: center; justify-content: center;
}

.btn-top.visible {
  opacity: 1;
  pointer-events: all;
}

.btn-top:hover {
  background: var(--dpp-green-dark);
  transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid .vision-card:last-child:nth-child(3n - 1) { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 40px 24px 60px;
  }

  .hero-badge { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }

  .hero-image { order: -1; }
  .hero-img-wrapper { width: 220px; }

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

  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd) { flex-direction: column; padding-right: 0; padding-left: 50px; }
  .timeline-item:nth-child(even) { flex-direction: column; padding-left: 50px; }
  .timeline-dot { left: 20px; }

  .donate-form-wrapper { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /*.footer-content { flex-direction: column; align-items: flex-start; }*/

  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }

  .about-quote { padding: 32px 24px; }
  blockquote { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .donate-presets { gap: 8px; }
  .preset-btn { min-width: 90px; padding: 12px 16px; }
  .preset-amount { font-size: 0.95rem; }

  .hero-stats { justify-content: center; }
  .btn-top { bottom: 16px; right: 16px; }

  .section-about,
  .section-vision,
  .section-milestones,
  .section-voices,
  .section-donate { padding: 70px 0; }
}
