/* ==========================================================================
   Center for Christian Virtue (CCV) - Giving Pages Theme & Stylesheet
   Direct Flow: Arise & Vote Graphic -> Copy -> Embedded Form -> Goal -> Mockup -> Initiatives -> Footer
   Colors:
   - Coral / Red: #f15e61
   - Cyan / Sky Blue: #1eb3e8
   - CCV Navy: #1b3059
   Typography: Poppins (Headings/UI) & Lora (Body)
   Default: Pure White Clean Light Mode + Dark Mode Header Toggle
   ========================================================================== */

:root {
  /* Arise & Vote Graphic Brand Tokens */
  --aav-coral: #f15e61;
  --aav-coral-light: #f47b7e;
  --aav-coral-dark: #d94346;
  --aav-coral-glow: rgba(241, 94, 97, 0.38);
  
  --aav-cyan: #1eb3e8;
  --aav-cyan-light: #48c5ee;
  --aav-cyan-dark: #0e96c7;
  --aav-cyan-glow: rgba(30, 179, 232, 0.35);

  --ccv-navy: #1b3059;
  --ccv-navy-light: #254278;
  --ccv-charcoal: #414042;
  
  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* ==========================================================================
     LIGHT THEME (DEFAULT)
     ========================================================================== */
  --bg-page: #ffffff;
  --bg-section-alt: #f8fafc;
  --bg-header: rgba(255, 255, 255, 0.96);
  --header-border: #e2e8f0;
  
  --text-primary: #1b3059;
  --text-heading: #1b3059;
  --text-body: #334155;
  --text-lead: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-accent: var(--aav-coral);

  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 16px 48px rgba(27, 48, 89, 0.08), 0 2px 10px rgba(0, 0, 0, 0.03);

  --item-bg: #ffffff;
  --item-border: #e2e8f0;
  --item-hover-border: var(--aav-coral);
  --item-shadow: 0 8px 24px rgba(27, 48, 89, 0.05);

  --goal-box-bg: linear-gradient(135deg, #fff5f5 0%, #f0f9ff 100%);
  --goal-box-border: var(--aav-coral);
  --goal-text: #1b3059;
  --goal-stat-number: var(--aav-coral);

  --footer-bg: #f8fafc;
  --footer-border: #e2e8f0;
  --footer-text: #64748b;

  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-text: #0f172a;
  --amount-btn-bg: #f8fafc;
  --amount-btn-border: #cbd5e1;
  --amount-btn-text: #1b3059;

  --toggle-bg: #e2e8f0;
  --toggle-border: #cbd5e1;
  --toggle-knob: #ffffff;
  --toggle-icon-color: var(--aav-coral);
}

/* ==========================================================================
   DARK THEME
   ========================================================================== */
[data-theme="dark"] {
  --bg-page: #060d1a;
  --bg-section-alt: #0a1426;
  --bg-header: rgba(6, 13, 26, 0.9);
  --header-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #ffffff;
  --text-heading: #ffffff;
  --text-body: rgba(255, 255, 255, 0.86);
  --text-lead: rgba(255, 255, 255, 0.95);
  --text-muted: rgba(255, 255, 255, 0.76);
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-accent: var(--aav-coral);

  --card-bg: rgba(16, 30, 60, 0.88);
  --card-border: rgba(241, 94, 97, 0.35);
  --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(241, 94, 97, 0.12);

  --item-bg: rgba(16, 32, 64, 0.7);
  --item-border: rgba(30, 179, 232, 0.3);
  --item-hover-border: var(--aav-coral);
  --item-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

  --goal-box-bg: linear-gradient(135deg, rgba(241, 94, 97, 0.15) 0%, rgba(30, 179, 232, 0.15) 100%);
  --goal-box-border: var(--aav-coral);
  --goal-text: #ffffff;
  --goal-stat-number: var(--aav-coral-light);

  --footer-bg: rgba(4, 9, 18, 0.95);
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-text: rgba(255, 255, 255, 0.6);

  --input-bg: #091326;
  --input-border: rgba(255, 255, 255, 0.2);
  --input-text: #ffffff;
  --amount-btn-bg: rgba(255, 255, 255, 0.08);
  --amount-btn-border: rgba(255, 255, 255, 0.16);
  --amount-btn-text: #ffffff;

  --toggle-bg: #1b3059;
  --toggle-border: rgba(241, 94, 97, 0.4);
  --toggle-knob: var(--aav-coral);
  --toggle-icon-color: #ffffff;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--bg-page);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ==========================================================================
   NAVIGATION BAR (CCV BRANDED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-header);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  padding: 14px 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-logo-link:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.header-logo {
  height: 38px;
  width: auto;
  max-width: 240px;
}

.logo-light { display: block; }
.logo-dark { display: none; }

[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme Switch Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  background: var(--toggle-bg);
  border: 1.5px solid var(--toggle-border);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  outline: none;
  transition: all 0.25s var(--ease-spring);
}

.theme-toggle-btn:hover {
  border-color: var(--aav-coral);
}

.toggle-switch-track {
  width: 36px;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-knob {
  width: 18px;
  height: 18px;
  background: var(--toggle-knob);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-spring);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .toggle-knob {
  transform: translateX(16px);
}

.toggle-icon {
  width: 11px;
  height: 11px;
  color: var(--toggle-icon-color);
}

.sun-icon { display: block; }
.moon-icon { display: none; }

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; color: #ffffff; }

/* ==========================================================================
   HERO SECTION (OFFICIAL ARISE AND VOTE GRAPHIC + COPY + EMBEDDED FORM)
   ========================================================================== */
.hero-section {
  width: 100%;
  padding: 44px 20px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 8%, rgba(241, 94, 97, 0.05) 0%, rgba(30, 179, 232, 0.04) 50%, transparent 70%);
}

.hero-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 179, 232, 0.08);
  border: 1px solid rgba(30, 179, 232, 0.3);
  color: var(--aav-cyan-dark);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

[data-theme="dark"] .hero-badge {
  background: rgba(30, 179, 232, 0.15);
  border-color: rgba(30, 179, 232, 0.4);
  color: var(--aav-cyan-light);
}

/* Official Logo Graphic in Hero */
.hero-logo-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 14px;
  display: flex;
  justify-content: center;
}

.hero-aav-logo {
  width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(241, 94, 97, 0.12));
  transition: transform 0.3s var(--ease-spring);
}

.hero-logo-wrapper:hover .hero-aav-logo {
  transform: scale(1.02);
}

.hero-sub-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 700;
  color: var(--ccv-navy);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

[data-theme="dark"] .hero-sub-title {
  color: #ffffff;
}

.hero-narrative {
  max-width: 720px;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.9vw, 1.18rem);
  line-height: 1.75;
  color: var(--text-lead);
  margin: 0 auto 32px;
}

.hero-narrative strong {
  color: var(--text-heading);
  font-weight: 700;
}

/* ==========================================================================
   DONATION FORM (PLACED DIRECTLY IN HERO FLOW)
   ========================================================================== */
.hero-giving-form-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: left;
}

.giving-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: all 0.3s ease;
}

.giving-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--aav-coral), var(--aav-cyan), transparent);
}

.form-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(241, 94, 97, 0.12);
  border: 1px solid rgba(241, 94, 97, 0.4);
  color: var(--aav-coral);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

.virtuous-form-wrapper {
  width: 100%;
  min-height: 480px;
  position: relative;
}

/* Skeleton Loading State */
.form-loading-skeleton {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 0;
}

.skeleton-row {
  height: 44px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
  animation: skeletonPulse 1.5s infinite ease-in-out;
}

[data-theme="dark"] .skeleton-row {
  background: rgba(255, 255, 255, 0.06);
}

.skeleton-row.btn-row {
  height: 52px;
  background: rgba(241, 94, 97, 0.15);
  border: 1px solid rgba(241, 94, 97, 0.3);
}

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

@keyframes skeletonPulse {
  0% { opacity: 0.5; }
  50% { opacity: 0.85; }
  100% { opacity: 0.5; }
}

/* Trust Indicators */
.trust-badges-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .trust-badges-container {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
}

.trust-badge-item svg {
  color: var(--aav-coral);
}

/* ==========================================================================
   CAMPAIGN GOAL BANNER & COMPUTER GRAPHIC
   ========================================================================== */
.campaign-goal-section {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

.goal-card {
  background: var(--goal-box-bg);
  border: 1.5px solid var(--goal-box-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 8px 24px var(--aav-coral-glow);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.goal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--aav-coral);
}

.goal-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--goal-text);
  line-height: 1.45;
  margin-bottom: 14px;
}

.goal-card-title strong {
  color: var(--aav-coral);
  font-weight: 800;
}

.goal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .goal-stats-grid {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--goal-stat-number);
  line-height: 1.1;
}

.stat-lbl {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* Computer Graphic Display */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s var(--ease-spring);
}

[data-theme="dark"] .hero-mockup-img {
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6));
}

.hero-mockup-wrapper:hover .hero-mockup-img {
  transform: scale(1.02);
}

.hero-mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 14px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   FLOWING INITIATIVES SECTION
   ========================================================================== */
.initiatives-flow-section {
  width: 100%;
  padding: 60px 20px;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--header-border);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.flow-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-lead-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 12px;
}

.section-lead-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--aav-coral);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 40px;
}

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

.flow-item {
  background: var(--item-bg);
  border: 1px solid var(--item-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--item-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s var(--ease-spring);
  position: relative;
}

.flow-item:hover {
  border-color: var(--item-hover-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(241, 94, 97, 0.12);
}

.flow-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 179, 232, 0.12), rgba(241, 94, 97, 0.12));
  border: 1px solid rgba(30, 179, 232, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aav-cyan-dark);
  margin-bottom: 20px;
}

[data-theme="dark"] .flow-item-icon {
  background: rgba(30, 179, 232, 0.2);
  border-color: rgba(30, 179, 232, 0.4);
  color: var(--aav-cyan-light);
}

.flow-item-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.flow-item-desc {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
}

.flow-item-link {
  color: var(--aav-cyan-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease;
}

[data-theme="dark"] .flow-item-link {
  color: var(--aav-cyan-light);
}

.flow-item-link:hover {
  color: var(--aav-coral);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--footer-border);
  background: var(--footer-bg);
  padding: 44px 20px 36px;
  text-align: center;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.ccv-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid var(--aav-coral);
  color: var(--ccv-navy);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all 0.25s var(--ease-spring);
}

[data-theme="dark"] .ccv-cta-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.ccv-cta-btn:hover {
  background: var(--aav-coral);
  color: #ffffff;
  box-shadow: 0 8px 25px var(--aav-coral-glow);
  transform: translateY(-2px);
}

.footer-logo-wrap {
  width: 100%;
  max-width: 240px;
}

.footer-logo {
  width: 100%;
  height: auto;
  opacity: 0.95;
}

.footer-disclaimer {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--footer-text);
  line-height: 1.6;
  max-width: 580px;
}

/* ==========================================================================
   VIRTUOUS FORM OVERRIDES
   ========================================================================== */
.virtuous-form-wrapper * {
  box-sizing: border-box !important;
  font-family: var(--font-sans) !important;
}

.virtuous-form-wrapper,
.virtuous-form-wrapper form,
.virtuous-form-wrapper p,
.virtuous-form-wrapper span,
.virtuous-form-wrapper div,
.virtuous-form-wrapper small,
.virtuous-form-wrapper strong {
  color: var(--text-body) !important;
}

.virtuous-form-wrapper legend,
.virtuous-form-wrapper .v_f__h,
.virtuous-form-wrapper fieldset legend,
.virtuous-form-wrapper h2,
.virtuous-form-wrapper h3,
.virtuous-form-wrapper h4 {
  color: var(--text-heading) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: 1px solid rgba(241, 94, 97, 0.3) !important;
  padding-bottom: 6px !important;
  margin-bottom: 14px !important;
}

.virtuous-form-wrapper label,
.virtuous-form-wrapper .v_l,
.virtuous-form-wrapper label.v_r {
  color: var(--text-heading) !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  display: block !important;
  letter-spacing: 0.2px !important;
}

.virtuous-form-wrapper label.v_r::after,
.virtuous-form-wrapper label .v_req,
.virtuous-form-wrapper label span.req {
  color: var(--aav-coral) !important;
  font-weight: 800 !important;
  margin-left: 3px !important;
}

.virtuous-form-wrapper input[type="text"],
.virtuous-form-wrapper input[type="email"],
.virtuous-form-wrapper input[type="tel"],
.virtuous-form-wrapper input[type="number"],
.virtuous-form-wrapper input.v_i__tx,
.virtuous-form-wrapper textarea,
.virtuous-form-wrapper select {
  background: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--input-text) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  padding: 12px 14px !important;
  min-height: 46px !important;
  width: 100% !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.virtuous-form-wrapper input:focus,
.virtuous-form-wrapper textarea:focus,
.virtuous-form-wrapper select:focus {
  border-color: var(--aav-cyan) !important;
  box-shadow: 0 0 0 3px rgba(30, 179, 232, 0.25) !important;
  outline: none !important;
}

.virtuous-form-wrapper input::placeholder,
.virtuous-form-wrapper textarea::placeholder {
  color: var(--text-dim) !important;
}

.virtuous-form-wrapper .v_gaos,
.virtuous-form-wrapper [class*="giving-amounts"],
.virtuous-form-wrapper [class*="amount-buttons"] {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 12px 0 !important;
}

.virtuous-form-wrapper a.v_gao,
.virtuous-form-wrapper .v_ga_btn,
.virtuous-form-wrapper #v_ga_other,
.virtuous-form-wrapper [class*="giving-amount"] {
  flex: 1 1 calc(33.333% - 8px) !important;
  background: var(--amount-btn-bg) !important;
  border: 1.5px solid var(--amount-btn-border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--amount-btn-text) !important;
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 12px 8px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s var(--ease-spring) !important;
}

.virtuous-form-wrapper a.v_gao:hover,
.virtuous-form-wrapper .v_ga_btn:hover {
  background: rgba(241, 94, 97, 0.12) !important;
  border-color: var(--aav-coral) !important;
  color: var(--aav-coral-dark) !important;
  transform: translateY(-1px) !important;
}

[data-theme="dark"] .virtuous-form-wrapper a.v_gao:hover,
[data-theme="dark"] .virtuous-form-wrapper .v_ga_btn:hover {
  color: #ffffff !important;
}

.virtuous-form-wrapper a.v_gao.active,
.virtuous-form-wrapper a.v_gao[class*="active"],
.virtuous-form-wrapper .v_ga_btn.active {
  background: var(--aav-coral) !important;
  border-color: var(--aav-coral) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px var(--aav-coral-glow) !important;
}

.virtuous-form-wrapper a.v_gao.active span,
.virtuous-form-wrapper a.v_gao.active * {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* Primary Submit Button */
.virtuous-form-wrapper button[type="submit"],
.virtuous-form-wrapper input[type="submit"],
.virtuous-form-wrapper .v_b__sb,
.virtuous-form-wrapper .v_btn.v_btn_primary,
.virtuous-form-wrapper [class*="submit-btn"] {
  width: 100% !important;
  background: linear-gradient(135deg, #f15e61 0%, #f47b7e 50%, #d94346 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 24px !important;
  margin-top: 18px !important;
  min-height: 54px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px var(--aav-coral-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transition: all 0.25s var(--ease-spring) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.virtuous-form-wrapper button[type="submit"]:hover,
.virtuous-form-wrapper input[type="submit"]:hover,
.virtuous-form-wrapper .v_b__sb:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(241, 94, 97, 0.55) !important;
  filter: brightness(1.04) !important;
}

.virtuous-form-wrapper .choices,
.virtuous-form-wrapper .Select {
  background: transparent !important;
}

.virtuous-form-wrapper .choices__inner,
.virtuous-form-wrapper .Select-control {
  background: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: var(--radius-sm) !important;
  min-height: 46px !important;
  color: var(--input-text) !important;
}

.virtuous-form-wrapper .choices__list--dropdown,
.virtuous-form-wrapper .Select-menu-outer,
.virtuous-form-wrapper .Select-menu {
  background: var(--card-bg) !important;
  border: 1px solid var(--aav-cyan) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--input-text) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  z-index: 9999 !important;
}

.virtuous-form-wrapper .card-element,
.virtuous-form-wrapper .StripeElement,
.virtuous-form-wrapper [class*="payment-container"] {
  background: #ffffff !important;
  border: 1px solid var(--input-border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 14px !important;
  margin-top: 6px !important;
}

.virtuous-form-wrapper iframe {
  width: 100% !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
}

.virtuous-form-wrapper input[type="checkbox"],
.virtuous-form-wrapper input[type="radio"] {
  accent-color: var(--aav-coral) !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 960px) {
  .initiatives-flow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-section {
    padding: 36px 16px 24px;
  }

  .hero-logo-wrapper {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .header-logo {
    height: 28px;
    max-width: 160px;
  }

  .hero-logo-wrapper {
    max-width: 290px;
  }

  .hero-narrative {
    font-size: 1rem;
    line-height: 1.65;
  }

  .giving-form-card {
    padding: 24px 16px;
  }

  .goal-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .virtuous-form-wrapper a.v_gao,
  .virtuous-form-wrapper .v_ga_btn {
    flex: 1 1 calc(50% - 8px) !important;
  }
}
