:root {
  --primary-color: #b9c406;
  /* Peridot Green */
  --secondary-color: #ffae42;
  /* Yellow Orange */
  --bg-dark: #020617;
  /* Slate 950 feel */
  --bg-gradient-nav: linear-gradient(135deg, #020617 0%, #0f172a 100%);
  --bg-gradient-hero: linear-gradient(135deg, #b9c406 0%, #ffae42 100%);
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #475569;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

html {
  scroll-behavior: auto;
  /* Required for Lenis */
}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVIGATION */
.header {
  background: var(--bg-gradient-nav);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
}

nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}


.btn-whatsapp {
  background: #25d366;
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Primary Button Styles */
.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(185, 196, 6, 0.3);
}

.btn-primary:hover {
  background: #a2ac05;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(185, 196, 6, 0.4);
}


/* HERO MODERN (New Design) */
.hero-modern {
  min-height: 100vh;
  /* Lighting Radiant (Top Right) + Dark overlay + Hero BG Image */
  background:
    radial-gradient(circle at top right, rgba(185, 196, 6, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.85) 0%, rgba(255, 174, 66, 0.2) 100%),
    url('assets/images/hero_bg.jpg');
  background-size: 100% 100%;
  background-position: center;
  /* background-attachment: fixed; Removed for 100% fit */
  color: #f8fafc;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0;
}

.hero-modern-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 25px;
}

/* CSS Update for Typography */
.hero-modern-text h1 {
  font-size: 64px;
  /* Increased from 48px */
  line-height: 1.1;
  margin-bottom: 20px;
  color: white;
}

.hero-modern-text h4 {
  font-weight: 500;
  opacity: 0.9;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-role {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 600px;
  /* Increased width to accommodate larger text */
  font-size: 22px;
  /* Increased from 16px */
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-actions a {
  margin-right: 15px;
}

.btn-outline {
  border: 1px solid #e5e7eb;
  padding: 10px 18px;
  border-radius: 5px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.hero-contact {
  margin-top: 25px;
  font-size: 14px;
  opacity: 0.85;
}

.hero-contact span {
  margin-right: 20px;
}

.hero-modern-image {
  position: relative;
  max-width: 340px;
  margin-left: auto;
}

.hero-modern-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: block;
}

.hero-vote {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #020617;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.hero-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero-modern {
    padding: 80px 0 120px;
  }

  .hero-modern-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-modern-text h1 {
    font-size: 34px;
  }

  .hero-desc {
    margin: 0 auto 30px auto;
  }

  .hero-modern-image {
    margin: 40px auto 0;
  }

  .hero-contact span {
    display: block;
    margin-bottom: 8px;
  }
}

/* Generic Section Styles */
.section {
  padding: 80px 0;
  background: #fff;
}

.section h2 {
  font-size: 2.5rem;
  color: var(--bg-dark);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary-color);
}

.grey-bg {
  background: #f8f9fa;
}

.dark-bg {
  background: var(--bg-dark);
  color: white;
}

.dark-bg h2 {
  color: white;
}

/* ABOUT SPLIT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* CARDS (Practice Areas) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card-item {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
  cursor: pointer;
}

.card-item:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.card-item:hover h3,
.card-item:hover h4,
.card-item:hover p {
  color: white;
}

.card-item h3 {
  font-size: 3rem;
  color: #000000;
  opacity: 0.2;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-item h4 {
  color: var(--bg-dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.card-item p {
  color: #666;
}


/* VIDEO SECTION */
.video-placeholder {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  color: white;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* MANIFESTO & ACCORDION */
.accordion details {
  background: white;
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: 5px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.accordion details:hover {
  transform: translateX(10px);
}

.accordion summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--bg-dark);
  font-size: 1.1rem;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  height: 250px;
  background: #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #666;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-item-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  /* Glassmorphism if on dark bg */
  padding: 2rem;
  border-radius: 10px;
}

/* If contact is on white bg, adjust */
#contact.section {
  background: var(--bg-dark);
  color: white;
}

#contact h2 {
  color: white;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.contact-form button {
  width: 100%;
  background: #fff;
  color: var(--bg-dark);
  font-weight: bold;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: var(--primary-color);
  color: white;
}

/* MOBILE */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-dark);
  padding: 20px;
  text-align: center;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  margin: 10px 0;
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .desktop-nav,
  .btn-whatsapp {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-image {
    order: 2;
    margin-top: 20px;
  }

  /* Fix for About Content Overflow */
  .about-content {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .about-content h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-top: 20px;
  }
}


/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Animation - Measured Integrity */
@keyframes revealFromBottom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Text Stagger - Precision Reveal */
@keyframes wordReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Underline Expansion */
@keyframes expandUnderline {
  from {
    width: 0;
  }

  to {
    width: 100px;
  }
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Text Stagger */
.hero-modern-text h1 {
  overflow: hidden;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  animation: wordReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-word:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-word:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-word:nth-child(3) {
  animation-delay: 0.6s;
}

/* Section heading underline animation */
.section h2::after {
  animation: expandUnderline 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-play-state: paused;
}

.section h2.revealed::after {
  animation-play-state: running;
}


/* SCROLLING RIBBON GALLERY */
.gallery-ribbon {
  overflow: hidden;
  padding: 20px 0;
  background: white;
}

.gallery-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Optional: Fade edges */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollGallery 40s linear infinite;
}

.gallery-track img {
  height: 250px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Moves half the total width (the original set) */
}

/* Pause on hover for better UX */
.gallery-track:hover {
  animation-play-state: paused;
}

/* VOTE CARD DESIGN */
.appeal-container {
  text-align: center;
  max-width: 800px !important;
}

.appeal-intro {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

.vote-card-outer {
  border: 4px solid var(--bg-dark);
  padding: 30px;
  background: white;
  /* Light blueish tint if needed, ref shows white/light grey */
  background: #fcfcfc;
}

.vote-card-header {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 10px;
}

.vote-card-divider {
  border: 0;
  border-top: 2px solid #000;
  margin-bottom: 25px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.vote-card-inner {
  background: #8fa0b5;
  /* Muted blue-grey from reference */
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.vote-candidate-info {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.vote-photo,
.vote-photo img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border: none;
  background: transparent;
  border-radius: 4px;
}

.vote-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a2e;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.vote-role {
  font-size: 1rem;
  color: #1a1a2e;
  font-weight: 500;
}

.vote-box-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vote-box {
  background: white;
  width: 80px;
  height: 80px;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  color: #000;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.vote-label {
  margin-top: 5px;
  font-weight: bold;
  font-size: 0.9rem;
}

.vote-quote {
  margin-top: 25px;
  font-style: italic;
  font-weight: 600;
  color: #333;
}

@media (max-width: 600px) {
  .vote-card-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .vote-candidate-info {
    flex-direction: column;
    text-align: center;
  }

  .vote-card-header {
    font-size: 1.1rem;
  }
}



/* DISCLAIMER BANNER (Bottom) */
.disclaimer-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  animation: slideUpBanner 0.5s ease-out;
}

.disclaimer-banner.show {
  display: block;
}

@keyframes slideUpBanner {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.disclaimer-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.disclaimer-banner-text {
  flex: 1;
  max-width: 700px;
}

.disclaimer-scroll-area {
  max-height: 120px;
  overflow-y: auto;
  padding-right: 15px;
  /* Space for scrollbar */
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 8px;
  background: #f9f9f9;
}

/* Custom Scrollbar for disclaimer */
.disclaimer-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.disclaimer-scroll-area::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.disclaimer-scroll-area::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.disclaimer-banner-text h3 {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  letter-spacing: 1px;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.disclaimer-banner-text h2 {
  font-size: 24px;
  /* Slightly reduced for better fit */
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px 0;
}

.disclaimer-banner-text p {
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin: 0 0 10px 0;
}

.disclaimer-banner-text ul {
  margin: 0 0 10px 15px;
  padding-left: 15px;
  font-size: 12px;
  color: #555;
}

.disclaimer-banner-text li {
  margin-bottom: 5px;
}

.disclaimer-banner-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.disclaimer-btn-decline,
.disclaimer-btn-accept {
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disclaimer-btn-decline {
  background: transparent;
  color: #555;
  border: 2px solid #ddd;
}

.disclaimer-btn-decline:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

.disclaimer-btn-accept {
  background: #2563eb;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.disclaimer-btn-accept:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .disclaimer-banner-content {
    flex-direction: column;
    padding: 25px 20px;
    gap: 20px;
  }

  .disclaimer-banner-text h2 {
    font-size: 22px;
  }

  .disclaimer-banner-buttons {
    width: 100%;
    flex-direction: column;
  }

  .disclaimer-btn-decline,
  .disclaimer-btn-accept {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .disclaimer-modal-content {
    padding: 25px;
    max-height: 90vh;
  }

  .disclaimer-modal-content h2 {
    font-size: 22px;
  }

  .disclaimer-text {
    font-size: 14px;
  }
}

/* ============================================
   INTERACTIVE FLEX CARDS MANIFESTO
   ============================================ */

/* Manifesto Section Container */
.manifesto-flex {
  background: #effad3;
  padding: 60px 0;
  overflow: hidden;
}

.manifesto-flex .section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.manifesto-flex .section-sub {
  text-align: center;
  font-size: 18px;
  color: #64748b;
  margin-bottom: 50px;
  font-style: italic;
}

/* Flex Cards Container */
.manifesto-options {
  display: flex;
  /* justify-content: center; <-- Removed to prevent left-side cut-off on overflow */
  align-items: center;
  gap: 15px;
  padding: 20px;
  min-height: 550px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  /* Enable smooth scrolling */
}

/* Safe Centering Trick: 
   Centers content when it fits, left-aligns when it overflows (preventing cut-off) */
.manifesto-option:first-child {
  margin-left: auto;
}

.manifesto-option:last-child {
  margin-right: auto;
}

/* Individual Card */
.manifesto-option {
  position: relative;
  width: 70px;
  height: 500px;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

/* Card Shadow */
.option-shadow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
  transition: all 400ms ease;
}

/* Card Background */
.option-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.7);
  transition: all 400ms ease;
}

/* Card Label Container */
.option-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  z-index: 2;
}

/* Card Icon/Number */
.option-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 400ms ease;
}

.option-num {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}

/* Card Info Container */
.option-info {
  text-align: center;
  color: white;
  width: 100%;
}

/* Card Title - Vertical by default */
.option-main {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 400ms ease;
}

/* Card Subtitle - Hidden by default */
.option-sub {
  font-size: 13px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 400ms ease;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Card Content - Hidden by default */
.option-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 400ms ease;
  margin-top: 20px;
  padding: 0 20px;
  text-align: left;
}

.option-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.option-content li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.option-content strong {
  color: white;
  font-weight: 600;
}

.option-content p {
  margin: 15px 0 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

/* ============================================
   ACTIVE/EXPANDED STATE
   ============================================ */

.manifesto-option.active {
  width: 600px;
}

.manifesto-option.active .option-background {
  filter: blur(0px) brightness(1);
}

.manifesto-option.active .option-shadow {
  width: 95%;
  opacity: 0.7;
}

.manifesto-option.active .option-icon {
  transform: scale(1.2);
  margin-bottom: 20px;
}

.manifesto-option.active .option-main {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: 24px;
  margin-bottom: 10px;
}

.manifesto-option.active .option-sub {
  opacity: 1;
  max-height: 50px;
  margin-bottom: 10px;
}

.manifesto-option.active .option-content {
  opacity: 1;
  max-height: 400px;
  overflow-y: auto;
}

/* Custom Scrollbar for Content */
.option-content::-webkit-scrollbar {
  width: 6px;
}

.option-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.option-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.option-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ============================================
   HOVER EFFECTS (Non-active cards)
   ============================================ */

.manifesto-option:not(.active):hover {
  width: 85px;
}

.manifesto-option:not(.active):hover .option-background {
  filter: blur(3px) brightness(0.85);
}

.manifesto-option:not(.active):hover .option-icon {
  transform: scale(1.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .manifesto-option.active {
    width: 500px;
  }
}

@media (max-width: 900px) {
  .manifesto-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .manifesto-option {
    width: 65px;
    height: 450px;
  }

  .manifesto-option.active {
    width: 450px;
  }

  .manifesto-option.active .option-main {
    font-size: 20px;
  }

  .option-content li {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .manifesto-flex .section-title {
    font-size: 32px;
  }

  .manifesto-flex .section-sub {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .manifesto-options {
    gap: 10px;
    min-height: 400px;
  }

  .manifesto-option {
    width: 60px;
    height: 380px;
  }

  .manifesto-option.active {
    width: 350px;
  }

  .manifesto-option.active .option-main {
    font-size: 18px;
  }

  .option-main {
    font-size: 16px;
  }

  .option-content {
    padding: 0 15px;
  }

  .option-content li {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .option-icon {
    width: 38px;
    height: 38px;
  }

  .option-num {
    font-size: 18px;
  }
}

/* --- CAROUSEL GALLERY (SWIPER + FANCYBOX) --- */

/* Reset for gallery scope if needed, but inheriting from body is fine */
.carousel-gallery a {
  text-decoration: none;
}

.gallery-title {
  margin-top: 50px;
  text-align: center;
}

.gallery-title h1 {
  text-align: center;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  text-transform: uppercase;
  color: #000000;
  /* Peridot Green */
}

.gallery-title h1 span {
  display: block;
  color: #ffae42;
  /* Yellow Orange */
  font-size: 20px;
  margin-bottom: 10px;
}

/* Carousel Gallery */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
  padding: 0 60px;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

.carousel-btn svg {
  color: #333;
}

/* Pagination Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: #b9c406;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: #999;
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 50px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-slide img {
    max-height: 400px;
  }
}

.plugins {
  text-align: center;
  margin-top: 20px;
}

.plugins h3 {
  text-align: center;
  margin: 0;
  padding: 0;
  font-family: Arial;
  text-transform: uppercase;
  color: #111;
}

.plugins a {
  display: inline-block;
  font-family: Arial;
  color: #777;
  font-size: 14px;
  margin: 10px;
  transition: all 0.2s linear;
}

.plugins a:hover {
  color: #d63031;
}

/* --- UPDATED THEMES (PERIDOT & GOLD) --- */

/* Manifesto Section Background - Light Peridot */
.manifesto-flex,
#manifesto {
  background: #effad3 !important;
  /* Light Peridot/Greenish tint */
}

/* Footer Background - Gold/Yellow Orange Mix */
footer.footer {
  background: linear-gradient(135deg, #ffae42 0%, #ffd700 100%) !important;
  color: #1a1a2e !important;
  /* Dark text for contrast against gold */
}

footer.footer p {
  color: #1a1a2e !important;
}


footer.footer a {
  color: #000 !important;
  text-decoration: underline;
}

/* 90-DAY PLAN HORIZONTAL SCROLL */
.plan-scroll-container {
  overflow: hidden;
  padding: 20px 0;
  margin: 30px 0;
  position: relative;
  width: 100%;
}

.plan-scroll-track {
  display: flex;
  gap: 25px;
  padding: 10px 0;
  animation: scrollPlan 30s linear infinite;
  width: max-content;
}

/* Pause animation on hover */
.plan-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes scrollPlan {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.plan-card {
  min-width: 320px;
  max-width: 320px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.plan-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(185, 196, 6, 0.15);
  line-height: 1;
}

.plan-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.plan-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  font-weight: 500;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .plan-card {
    min-width: 280px;
    max-width: 280px;
    padding: 25px;
  }

  .plan-card h3 {
    font-size: 1.1rem;
  }

  .plan-number {
    font-size: 2.5rem;
  }

  .plan-scroll-track {
    animation-duration: 40s;
  }
}


/* VOTE ANIMATIONS */
.typewriter-container {
  min-height: 60px;
  /* Prevent layout shift */
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.appeal-intro {
  font-family: 'Courier New', Courier, monospace;
  /* Typewriter feel */
  font-size: 1.1rem;
  color: #333;
  margin: 0;
  border-right: 3px solid var(--primary-color);
  width: 0;
  white-space: nowrap;
  overflow: hidden;
  /* Animation handled by JS for content, but cursor handled here */
  animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: var(--primary-color)
  }
}

.decipher-wrapper {
  margin-bottom: 30px;
  text-align: center;
  min-height: 50px;
}

.decipher-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  /* Bold as requested */
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
  .appeal-intro {
    font-size: 0.9rem;
    white-space: normal;
    /* Allow wrapping on mobile */
    border-right: none;
    /* Remove cursor for wrapped text */
    text-align: center;
  }

  .decipher-title {
    font-size: 1.5rem;
  }
}

/* SUPPORT CARD (Replaces Contact Form) */
.support-card {
  background-color: #34495e;
  /* Dark Navy/Grey */
  padding: 30px;
  border-radius: 4px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.support-title {
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
}

.support-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.support-option-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 0;
  /* Boxy look from screenshot */
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background 0.3s;
}

.support-option-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.support-icon {
  background: #ffffff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}

.support-icon svg {
  width: 22px;
  height: 22px;
  fill: #34495e;
}

.support-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ffffff;
  font-weight: 400;
}

.btn-whatsapp-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #ffffff;
  color: #34495e;
  padding: 15px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

.btn-whatsapp-share:hover {
  background: #f1f1f1;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* LENIS SMOOTH SCROLL */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* FANCYBOX FIXES */
.fancybox-container {
  z-index: 99999 !important;
}

.fancybox-slide {
  padding: 10px !important;
}

.fancybox-content {
  width: 100% !important;
  height: auto !important;
}

/* --- ANIMATION STABILIZATION --- */
.decipher-wrapper {
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.decipher-title {
  text-align: center;
  color: var(--text-dark);
  font-family: inherit;
  font-weight: 700;
  margin: 0;
  white-space: normal;
}

.typewriter-container {
  min-height: 100px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 15px;
}

.appeal-intro {
  text-align: center;
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 800px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.5;
}