/* =========================================================
   Manisha Varma Campaign — Custom Styles
   Stack: Bootstrap 5 + Font Awesome 6 + GLightbox
   Colors: Red #C8102E / Dark Red #8B0000 / White / Off-white
   ========================================================= */

/* ---- Variables ---- */
:root {
  --banner-h: 42px;
  --red:        #FF0000;
  --dark-red:   #CC0000;
  --white:      #FFFFFF;
  --off-white:  #F5F5F5;
  --dark:       #1a1a2e;
  --text:       #333344;
  --muted:      #6c757d;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--dark-red); }

/* ---- Utility classes ---- */
.bg-offwhite   { background-color: var(--off-white); }
.bg-primary-red { background-color: var(--red); }
.bg-dark-red   { background-color: var(--dark-red); }
.text-red      { color: var(--red); }
.z-1           { z-index: 1; }

/* Override Bootstrap danger to match site red */
.text-danger { color: var(--red) !important; }

.section-pad    { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ---- Section labels ---- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.lead-text {
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn-primary-red {
  background-color: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-primary-red:hover,
.btn-primary-red:focus {
  background-color: var(--dark-red);
  border-color: var(--dark-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,0,0,0.35);
}

.btn-outline-red {
  background-color: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-outline-red:hover { background-color: var(--red); color: var(--white); transform: translateY(-2px); }

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-outline-white:hover { background-color: var(--white); color: var(--red); transform: translateY(-2px); }

.btn-white {
  background-color: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  transition: background-color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-white:hover { background-color: var(--off-white); color: var(--dark-red); transform: translateY(-2px); }

/* ---- Top countdown banner ---- */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  background: var(--dark);
  z-index: 1032;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--red);
}
.top-banner-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-banner-label img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(0.5);
}
.top-banner-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tbc-block { display: inline-flex; align-items: baseline; gap: 1px; }
.tbc-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  min-width: 1.6ch;
  text-align: center;
}
.tbc-unit {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tbc-sep {
  color: rgba(255,255,255,0.3);
  font-weight: 700;
  padding: 0 2px;
}
@media (max-width: 480px) {
  .top-banner-label { display: none; }
}

/* ---- Navbar ---- */
#mainNav {
  background: transparent;
  padding: 1rem 0;
  top: var(--banner-h);
  transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
}
#mainNav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  padding: 0.6rem 0;
}
#mainNav .navbar-brand { text-decoration: none; }

.brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
#mainNav.scrolled .brand-name { color: var(--dark); }

#mainNav .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 0.6rem;
  transition: color var(--transition);
}
#mainNav .nav-link:hover { color: var(--white); }
#mainNav.scrolled .nav-link { color: var(--text); }
#mainNav.scrolled .nav-link:hover { color: var(--red); }

#mainNav .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
#mainNav.scrolled .navbar-toggler { border-color: var(--text); }
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(51,51,68,0.85)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Collapsed nav background on mobile */
@media (max-width: 991px) {
  #mainNav { background: rgba(26,26,46,0.97) !important; box-shadow: none; }
  #mainNav.scrolled { background: var(--white) !important; }
  #mainNav .nav-link { color: rgba(255,255,255,0.9); }
  #mainNav.scrolled .nav-link { color: var(--text); }
  #navbarNav { padding: 1rem 0; }
}

/* ---- Hero ---- */
.hero-section {
  min-height: 100vh;
  padding-top: var(--banner-h);
  position: relative;
  background:
    linear-gradient(160deg, rgba(139,0,0,0.92) 0%, rgba(200,16,46,0.88) 50%, rgba(26,26,46,0.95) 100%),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

/* Subtle animated pattern overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

/* Countdown */
.countdown-wrapper {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  margin-top: 2rem;
}
.countdown-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.countdown-grid {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.countdown-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  margin-bottom: 18px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- About ---- */
.candidate-photo-wrapper {
  position: relative;
  display: inline-block;
}
.candidate-photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.candidate-photo-wrapper::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 3px solid var(--red);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ---- Platform Cards ---- */
.platform-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
}
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--red);
}
.platform-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.platform-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ---- Gallery ---- */
.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  cursor: pointer;
  background: var(--off-white);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-thumb:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
  font-size: 1.6rem;
}
.gallery-thumb:hover .gallery-overlay { opacity: 1; }

/* ---- Gallery extra items (hidden until View More) ---- */
.gallery-extra { display: none; }
.gallery-extra.show { display: block; }

/* ---- View More button ---- */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2rem;
  padding: 0.65rem 1.8rem;
  border: 2px solid var(--red);
  border-radius: 50px;
  color: var(--red);
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-view-more:hover, .btn-view-more.active {
  background: var(--red);
  color: var(--white);
}
.btn-view-more i { transition: transform 0.3s ease; }
.btn-view-more.active i { transform: rotate(180deg); }

/* ---- Videos ---- */
.video-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.video-card .ratio {
  border-radius: var(--radius);
  overflow: hidden;
}
.video-caption {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 0;
}

/* ---- Recognitions ---- */
.recognition-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.recognition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.recognition-icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}
.recognition-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.recognition-org {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.recognition-quote {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---- Forms ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-control {
  border: 1.5px solid #dee2e6;
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,0,0,0.15);
  outline: none;
}
.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

/* Checkbox cards */
.form-check-card {
  border: 1.5px solid #dee2e6;
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem 0.6rem 2.4rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
}
.form-check-card .form-check-label {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  width: 100%;
}
.form-check-card:has(.form-check-input:checked) {
  border-color: var(--red);
  background: rgba(255,0,0,0.05);
}

/* ---- Newsletter ---- */
.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.newsletter-sub { color: var(--muted); font-size: 1rem; }

.newsletter-form .form-control {
  min-width: 0;
  flex: 1 1 auto;
}

/* ---- Contact ---- */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-item > i {
  font-size: 1.1rem;
  color: var(--red);
  margin-top: 3px;
  width: 20px;
  flex-shrink: 0;
}
.social-links-inline { display: flex; gap: 0.75rem; }
.social-links-inline a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200,16,46,0.10);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.social-links-inline a:hover { background: var(--red); color: var(--white); }

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrapper iframe { display: block; }

/* ---- Donate section ---- */
#donate { background: var(--red); }

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-brand-icon { width: 32px; height: 32px; flex-shrink: 0; }
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin: 0; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-election-date {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-vote-info { color: rgba(255,255,255,0.6); }

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2.5rem 0 1.5rem;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--dark-red); color: var(--white); }

/* ---- Responsive tweaks ---- */
@media (max-width: 767px) {
  .section-pad    { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }
  .form-card      { padding: 1.5rem; }
  .countdown-wrapper { padding: 1.25rem 1.5rem; }
  .countdown-unit { min-width: 52px; }
  .countdown-sep  { font-size: 1.8rem; }
  .hero-section   { background-attachment: scroll; }
  .candidate-photo-wrapper::before { display: none; }
}

@media (max-width: 480px) {
  .countdown-grid { gap: 0.25rem; }
  .countdown-unit { min-width: 44px; }
  .countdown-number { font-size: 1.8rem; }
}

/* ---- Event badge (hero) ---- */
.event-badge {
  background: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  animation: badge-float 3s ease-in-out infinite;
}
.event-badge:hover {
  color: var(--dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.event-badge-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.3);
  flex-shrink: 0;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.3); }
  50%       { box-shadow: 0 0 0 7px rgba(22,163,74,0.1); }
}
.event-badge-inner { display: flex; flex-direction: column; text-align: left; flex: 1; }
.event-badge-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #16a34a;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4px;
}
.event-badge-text {
  line-height: 1.35;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
}
.event-badge-date {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.event-badge .fa-arrow-right {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- Vote badge (hero) ---- */
.vote-badge {
  background: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  animation: vote-pulse 2s ease-in-out infinite;
}
.vote-badge:hover {
  color: var(--dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
@keyframes vote-pulse {
  0%, 100% { transform: translateY(0);    box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
  50%       { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(255,0,0,0.3); }
}
.vote-badge-icon {
  font-size: 1.4rem;
  color: var(--red);
  flex-shrink: 0;
}
.vote-badge-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.vote-badge .vote-badge-text {
  line-height: 1.35;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
}
.vote-badge .fa-arrow-right {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-badges { flex-wrap: wrap; }

/* ---- Events page cards ---- */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--red);
}
.event-badge-label {
  display: inline-flex;
  align-items: center;
  background: rgba(255,0,0,0.08);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.event-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.event-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.event-meta { display: flex; flex-direction: column; gap: 1rem; }
.event-meta-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.event-meta-item > i {
  font-size: 1.1rem;
  color: var(--red);
  margin-top: 2px;
  width: 20px;
  flex-shrink: 0;
}
.event-meta-item strong { display: block; color: var(--dark); font-weight: 600; }
.event-meta-item span  { font-size: 0.9rem; color: var(--muted); }

.issues-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}
.issue-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--red);
  height: 100%;
}
.issue-card strong { display: block; color: var(--dark); font-weight: 700; margin-bottom: 0.2rem; }
.issue-card p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.issue-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.event-note {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

/* ---- Volunteer page hero ---- */
.page-hero {
  padding: calc(140px + var(--banner-h)) 0 80px;
  background: linear-gradient(160deg, var(--dark-red) 0%, var(--red) 100%);
}
.page-hero .hero-title { font-size: clamp(2rem, 6vw, 3.5rem); }
.page-hero .hero-tagline { font-size: 1.1rem; }

/* ---- Volunteer why cards ---- */
.volunteer-why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  text-align: center;
}
.volunteer-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.volunteer-why-card .platform-icon { margin: 0 auto 1rem; }
.volunteer-why-card h4,
.volunteer-why-card h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

/* ---- Language Switcher ---- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  padding: 3px 6px;
  transition: background var(--transition), border-color var(--transition);
}
#mainNav.scrolled .lang-switcher {
  background: rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.22);
}
.lang-btn {
  background: none;
  border: none;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border-radius: 14px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  line-height: 1.7;
}
#mainNav.scrolled .lang-btn { color: var(--muted); }
.lang-btn.active {
  background: var(--red);
  color: var(--white) !important;
  box-shadow: 0 2px 8px rgba(255,0,0,0.45);
}
.lang-btn:hover:not(.active) {
  color: var(--white);
  background: rgba(255,255,255,0.20);
}
#mainNav.scrolled .lang-btn:hover:not(.active) {
  color: var(--dark);
  background: rgba(0,0,0,0.08);
}
.lang-divider {
  color: rgba(255,255,255,0.28);
  font-size: 0.7rem;
  user-select: none;
  line-height: 1;
}
#mainNav.scrolled .lang-divider { color: rgba(0,0,0,0.22); }
