/* =============================================
   BHANU FOR WARD 3 — Campaign Website Styles
   Ajax, Ontario | 2026 Municipal Election
   Matching original Lovable design:
   white/off-white bg, blue accent, red accent,
   Fraunces serif headings, Inter body
   ============================================= */

:root {
  --blue:       #1547E8;
  --blue-dark:  #0f35c0;
  --blue-pale:  #e8effe;
  --red:        #E11D2E;
  --red-italic: #cc1a2a;
  --white:      #ffffff;
  --offwhite:   #F5F6F3;
  --charcoal:   #1B1F23;
  --gray-700:   #374151;
  --gray-500:   #6b7280;
  --gray-300:   #d1d5db;
  --gray-100:   #f3f4f6;
  --border:     #e5e7eb;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);

  --transition: all 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utility ── */
.container { max-width: 1400px; width: 95%; margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; }

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.8;
}
.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--gray-300);
}
.btn-outline-dark:hover {
  border-color: var(--charcoal);
  background: var(--offwhite);
}

.btn-donate {
  width: 100%;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(225,29,46,0.28);
}
.btn-donate:hover { background: #b81525; transform: translateY(-1px); }
.btn-donate:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-donate-hero {
  background: var(--red);
  color: var(--white);
  border: 2px solid transparent;
}
.btn-donate-hero:hover {
  background: #b81525;
  transform: translateY(-1px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.logo-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.logo-bhanu {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
}
.logo-ward {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--charcoal); background: var(--offwhite); }
.nav-link.active { color: var(--blue); }
.nav-cta-btn {
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  margin-left: 10px;
  transition: var(--transition);
}
.nav-cta-btn:hover { background: #b81525; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 100px 0 64px;
  position: relative;
}
/* Subtle gradient at the very bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--offwhite));
  pointer-events: none;
}
.hero-inner {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}
.hero-text {}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  animation: fadeInDown 0.7s ease both;
}
.hero-eyebrow::before {
  content: '★';
  color: var(--red);
  font-size: 0.6rem;
}
.vote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease 0.05s both;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.08;
  margin-bottom: 14px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-headline .blue { color: var(--blue); }
/* Tagline: bold, upright — no italic swinging */
.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-sub {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
/* Highlight key words in body text */
.hero-sub .highlight { color: var(--blue); font-weight: 500; }
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.25s both;
}

/* Blended photo — no card box, fades into page */
.hero-photo-blend {
  position: relative;
  overflow: hidden;
}
.hero-photo-blend img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  /* Fade all four edges into the white background */
  mask-image:
    linear-gradient(to bottom,  transparent 0%, black 12%, black 75%, transparent 100%),
    linear-gradient(to right,   transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to bottom,  transparent 0%, black 12%, black 75%, transparent 100%),
    linear-gradient(to right,   transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: destination-in;
}


.hero-photo-col { animation: fadeInUp 0.9s ease 0.15s both; }

/* Blob wrapper — positions blobs relative to the cutout */
.hero-photo-wrapper-blob {
  position: relative;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Shared blob styles */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* Big blue blob — hidden, blobs removed */
.blob-blue {
  display: none;
}

/* Red blob — hidden */
.blob-red {
  display: none;
}

/* The floating cutout image itself */
.hero-cutout-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0px 12px 28px rgba(0,0,0,0.12));
  display: block;
}

/* Card sits above the blobs (legacy, kept for safety) */
.hero-photo-wrapper-blob .hero-photo-card {
  position: relative;
  z-index: 1;
}
.hero-photo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Badges below the photo inside the card */
.hero-photo-badges {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.photo-badge-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.4;
}
.photo-badge-item span.icon {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  flex-shrink: 0;
}

/* ── ABOUT ── */
.about-section { background: var(--offwhite); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-left {}
/* Icon cards 2x2 grid */
.about-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.about-icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}
.about-icon-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(21,71,232,0.2);
}
.about-icon-card .icon { font-size: 1.5rem; }
.about-icon-card p {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
}
/* Body text in blue like original */
.about-right p {
  font-size: 0.98rem;
  color: var(--blue);
  line-height: 1.85;
  margin-bottom: 18px;
}

/* ── PRIORITIES ── */
.priorities-section { background: var(--white); }
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.priority-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  overflow: hidden;
}
.priority-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.priority-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.priority-card:hover::before { transform: scaleX(1); }
.priority-num {
  position: absolute;
  top: 14px; right: 20px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(21,71,232,0.06);
  line-height: 1;
}
.priority-icon { font-size: 1.6rem; margin-bottom: 12px; }
.priority-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.priority-card p { font-size: 0.9rem; color: var(--gray-700); margin-bottom: 8px; }
.priority-card ul li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding: 3px 0 3px 16px;
  position: relative;
}
.priority-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
}

/* Commitments */
/* Commitments: deep blue-slate instead of harsh black */
.commitments-wrap {
  background: #1e2d4a;
  border-radius: var(--radius-lg);
  padding: 48px;
}
.commitments-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
}
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.commitment-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}
.commitment-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(21,71,232,0.35);
}
.commit-icon { font-size: 1.6rem; margin-bottom: 8px; }
.commitment-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.commitment-card p { font-size: 0.87rem; color: rgba(255,255,255,0.58); }

/* ── CAMPAIGN TRAIL ── */
.campaign-trail-section { background: var(--white); }
.trail-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
}
.trail-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.trail-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.trail-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}
/* Map styles */
.map-container {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex: 1;
  min-height: 300px;
}
#ward-map {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: var(--offwhite);
  z-index: 1;
}
/* Events styles */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition);
}
.event-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(21,71,232,0.2);
}
.event-date {
  background: var(--blue-pale);
  color: var(--blue-dark);
  border-radius: 6px;
  padding: 8px;
  min-width: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.event-date .day {
  font-size: 1.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}
.event-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.event-info p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .trail-grid { grid-template-columns: 1fr; }
}

/* ── GET INVOLVED ── */
.involved-section { background: var(--offwhite); }
.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.involved-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}
.involved-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.involved-icon { font-size: 2rem; margin-bottom: 12px; }
.involved-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.involved-card p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 18px; flex: 1; }
.involved-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.involved-link:hover { background: var(--blue); color: var(--white); }

/* ── DONATE ── */
.donate-section { background: var(--white); }
.donate-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 540px;
  margin: 0 auto;
}
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.amount-btn {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--charcoal);
  padding: 13px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  transition: var(--transition);
}
.amount-btn:hover { border-color: var(--blue); color: var(--blue); }
.amount-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.donate-custom label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}
.custom-input-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.custom-input-wrap:focus-within { border-color: var(--blue); }
.dollar-sign {
  padding: 12px 13px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-500);
  border-right: 1px solid var(--border);
}
.custom-input-wrap input {
  background: none; border: none; outline: none;
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  width: 100%;
}
.custom-input-wrap input::placeholder { color: var(--gray-300); }
.donate-error {
  background: #fde8ea;
  border: 1px solid rgba(225,29,46,0.2);
  color: #b81525;
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-size: 0.83rem;
  margin-top: 8px;
}
.donate-disclaimer {
  margin-top: 16px;
  font-size: 0.73rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.6;
}
.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── CONTACT ── */
.contact-section { background: var(--offwhite); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(21,71,232,0.2); }
.contact-icon { font-size: 1.6rem; }
.contact-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.contact-value { font-size: 0.8rem; font-weight: 500; color: var(--charcoal); word-break: break-all; }

/* ── FOOTER ── */
.footer { background: var(--charcoal); padding: 52px 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { display: flex; align-items: baseline; gap: 5px; margin-bottom: 6px; }
.footer-logo .logo-bhanu { color: var(--white); }
.footer-logo .logo-ward  { color: rgba(255,255,255,0.45); }
.footer-tagline { font-size: 0.85rem; font-style: italic; color: rgba(255,255,255,0.4); }
.footer-domain  { font-size: 0.82rem; color: #7a9ff5; font-weight: 600; margin-top: 8px; }
.footer-links-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 16px; }
.footer-links-col ul li { margin-bottom: 8px; }
.footer-links-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.58); transition: var(--transition); }
.footer-links-col ul li a:hover { color: var(--white); }
.footer-bottom { text-align: center; }
.footer-legal { font-size: 0.73rem; color: rgba(255,255,255,0.22); max-width: 600px; margin: 0 auto 8px; line-height: 1.6; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.18); }

/* ── MODALS ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(27,31,35,0.7);
  backdrop-filter: blur(8px);
  z-index: 9000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 580px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) both;
  margin: auto;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--offwhite);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--charcoal); }
.modal-icon { font-size: 2rem; margin-bottom: 10px; }
.modal-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

/* ── FORMS ── */
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--charcoal);
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(21,71,232,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }
.form-group select { cursor: pointer; appearance: auto; }
.form-group textarea { resize: vertical; min-height: 88px; }

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 13px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.checkbox-label:hover { border-color: var(--blue); color: var(--blue); }
.checkbox-label input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--blue);
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.checkbox-label input[type="checkbox"]:checked + span,
.checkbox-label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue-dark);
}
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 0.97rem;
  font-weight: 700;
  margin-top: 4px;
  border-radius: var(--radius-sm);
}
.form-submit:hover { background: var(--blue-dark); }

/* Success state */
.form-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-success p { font-size: 0.93rem; color: var(--gray-500); margin-bottom: 20px; }

@media (max-width: 560px) {
  .modal-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── THANK YOU ── */
.thank-you-overlay {
  position: fixed; inset: 0;
  background: rgba(27,31,35,0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.thank-you-overlay.visible { display: flex; }
.thank-you-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: pop-in 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes pop-in { from { transform: scale(0.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thank-you-icon { font-size: 3rem; margin-bottom: 16px; }
.thank-you-card h2 { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--charcoal); margin-bottom: 12px; }
.thank-you-card p { font-size: 0.95rem; color: var(--gray-500); margin-bottom: 24px; line-height: 1.7; }

/* ── ANIMATIONS ── */
@keyframes fadeInDown { from { transform: translateY(-14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeInUp   { from { transform: translateY(22px);  opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-col { max-width: 320px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .priorities-grid { grid-template-columns: 1fr; }
  .commitments-grid { grid-template-columns: 1fr; }
  .commitments-wrap { padding: 30px 20px; }
  .involved-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .donate-amounts { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 250px; background: var(--white);
    border-left: 1px solid var(--border);
    padding: 80px 20px 32px; gap: 2px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-link { color: var(--charcoal) !important; }
  .nav-cta-btn { margin-left: 0; text-align: center; width: 100%; margin-top: 8px; }
  .hamburger { display: flex; }
  .hero-headline { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .donate-card { padding: 24px 18px; }
}
