/* Jana Sena Party - Official Stylesheet */
:root {
  --jsp-red: #c8102e;
  --jsp-red-dark: #990011;
  --jsp-red-light: #e61937;
  --jsp-red-subtle: #fff1f2;
  --jsp-red-gradient: linear-gradient(135deg, #c8102e 0%, #990011 100%);
  --jsp-hero-gradient: linear-gradient(135deg, #180004 0%, #30060c 45%, #660a16 100%);
  
  --jsp-gold: #d97706;
  --jsp-gold-light: #f59e0b;
  --jsp-gold-glow: #fde68a;
  
  --dark-bg: #0b0f19;
  --dark-surface: #111827;
  --dark-card: #1e293b;
  --dark-border: rgba(255, 255, 255, 0.1);
  
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --font-display: 'Ramabhadra', 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-telugu: 'Ramabhadra', 'Noto Sans Telugu', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-red: 0 10px 25px -5px rgba(200, 16, 46, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Telugu font integration */
.lang-te {
  font-family: var(--font-telugu);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =========================================================================
   TOP BROADCAST & ANNOUNCEMENT BAR
   ========================================================================= */
.top-ticker-bar {
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--jsp-red);
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticker-badge {
  background: var(--jsp-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-glow 1.4s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.ticker-marquee-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-text {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-weight: 500;
  color: #e2e8f0;
}

.ticker-text span {
  margin-right: 40px;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-link {
  color: #cbd5e1;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.top-link:hover {
  color: var(--jsp-gold-light);
}

.lang-switch-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch-btn:hover {
  background: var(--jsp-red);
  border-color: var(--jsp-red);
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-border);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jsp-red-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35);
  position: relative;
  flex-shrink: 0;
  border: 2px solid #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title-te {
  font-family: var(--font-telugu);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--jsp-red);
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.brand-title-en {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brand-motto {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--jsp-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--jsp-red);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--jsp-red-gradient);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(200, 16, 46, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--jsp-red);
  border: 1.5px solid var(--jsp-red);
}

.btn-secondary:hover {
  background: var(--jsp-red-subtle);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.45);
}

.btn-dark {
  background: #111827;
  color: #fff;
}

.btn-dark:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #1e293b;
  cursor: pointer;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  position: relative;
  background: var(--jsp-hero-gradient);
  color: #fff;
  padding: 80px 0 120px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(#fff 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-chakra-watermark {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.05;
  pointer-events: none;
  animation: spin-slow 120s linear infinite;
}

@keyframes spin-slow {
  100% { transform: translateY(-50%) rotate(360deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fde68a;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-title .te-highlight {
  color: #fbbf24;
  display: block;
  font-family: var(--font-telugu);
  font-size: 1.05em;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.76rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Hero Leader Card */
.hero-card-side {
  position: relative;
}

.leader-portrait-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(200, 16, 46, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.glass-tumbler-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #fef08a;
  font-weight: 700;
  z-index: 10;
}

.leader-visual-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1e0308;
  height: 380px;
}

.leader-visual-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.leader-visual-wrap:hover img {
  transform: scale(1.03);
}

.leader-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  padding: 24px 20px 16px;
}

.leader-title-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.leader-title-box p {
  font-size: 0.86rem;
  color: #fef08a;
  font-weight: 600;
  margin-top: 2px;
}

.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: #fff;
}

/* Quick Action Strip below Hero */
.quick-action-strip {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.action-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--jsp-red);
  opacity: 0;
  transition: var(--transition);
}

.action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(200, 16, 46, 0.15);
}

.action-card:hover::before {
  opacity: 1;
}

.action-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--jsp-red-subtle);
  color: var(--jsp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.action-card:nth-child(2) .action-card-icon {
  background: #fef3c7;
  color: #d97706;
}

.action-card:nth-child(3) .action-card-icon {
  background: #ecfdf5;
  color: #059669;
}

.action-card-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.action-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.action-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jsp-red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

/* =========================================================================
   SECTION COMMON STYLES
   ========================================================================= */
.section {
  padding: 85px 0;
  position: relative;
}

.section-alt {
  background: #f1f5f9;
}

.section-dark {
  background: #0f172a;
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--jsp-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-dark .section-eyebrow {
  color: #fbbf24;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* =========================================================================
   7 IDEOLOGICAL PRINCIPLES (జనసేన ఏడు సిద్ధాంతాలు)
   ========================================================================= */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.principle-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.principle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 16, 46, 0.4);
  box-shadow: var(--shadow-lg);
}

.principle-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(200, 16, 46, 0.12);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
}

.principle-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--jsp-red-subtle);
  color: var(--jsp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.principle-title-te {
  font-family: var(--font-telugu);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.principle-title-en {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jsp-red);
  margin-bottom: 12px;
}

.principle-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================================
   LEADERSHIP & VISION - DY CM PAWAN KALYAN
   ========================================================================= */
.leader-showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.leader-media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #fff;
}

.leader-badge-pill {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--jsp-red);
}

.leader-badge-pill h4 {
  font-size: 1.1rem;
  font-weight: 800;
}

.leader-badge-pill p {
  font-size: 0.78rem;
  color: #fbbf24;
}

.leader-bio-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 16px;
}

.leader-quote-box {
  background: var(--jsp-red-subtle);
  border-left: 4px solid var(--jsp-red);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 22px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: #881337;
  font-weight: 500;
}

.portfolio-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.portfolio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.portfolio-icon {
  color: var(--jsp-red);
  font-size: 1.2rem;
}

/* =========================================================================
   DIGITAL MEMBERSHIP & ID CARD GENERATOR
   ========================================================================= */
.membership-card-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-border);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: #1e293b;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--jsp-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

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

/* Digital ID Card Preview Visual */
.id-card-visual-wrapper {
  perspective: 1000px;
}

.jsp-id-card {
  width: 100%;
  max-width: 440px;
  height: 275px;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 60%, #450a0a 100%);
  border-radius: 18px;
  box-shadow: 0 20px 40px -10px rgba(185, 28, 28, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
}

.id-card-watermark {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 220px;
  height: 220px;
  opacity: 0.08;
  pointer-events: none;
}

.id-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.id-party-info h4 {
  font-family: var(--font-telugu);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fef08a;
  line-height: 1;
}

.id-party-info span {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}

.id-card-body {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 10px 0;
}

.id-member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.id-member-details {
  flex: 1;
}

.id-member-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.id-member-id {
  font-size: 0.8rem;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.id-member-meta {
  font-size: 0.72rem;
  color: #e2e8f0;
  margin-top: 4px;
}

.id-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 8px;
}

.id-card-qr {
  width: 44px;
  height: 44px;
  background: #fff;
  padding: 2px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================================
   PRAJA VANI (CITIZEN GRIEVANCE PORTAL)
   ========================================================================= */
.grievance-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  background: #fff;
  border: 1.5px solid var(--light-border);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--jsp-red);
  color: #fff;
  border-color: var(--jsp-red);
  box-shadow: var(--shadow-red);
}

.grievance-panel {
  display: none;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-border);
  max-width: 900px;
  margin: 0 auto;
}

.grievance-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline-tracker {
  margin-top: 30px;
  position: relative;
  padding-left: 30px;
}

.timeline-tracker::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-step {
  position: relative;
  margin-bottom: 24px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -30px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #cbd5e1;
}

.timeline-step.completed .timeline-node {
  background: #10b981;
  box-shadow: 0 0 0 2px #10b981;
}

.timeline-step.active .timeline-node {
  background: var(--jsp-red);
  box-shadow: 0 0 0 2px var(--jsp-red);
  animation: pulse-glow 1.5s infinite;
}

.timeline-step h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

.timeline-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =========================================================================
   GRAM SWARAJYA & PANCHAYATI RAJ DASHBOARD
   ========================================================================= */
.gov-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.gov-stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.gov-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gov-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.gov-stat-icon.green { background: #dcfce7; color: #16a34a; }
.gov-stat-icon.blue { background: #e0f2fe; color: #0284c7; }
.gov-stat-icon.red { background: #ffe4e6; color: #e11d48; }
.gov-stat-icon.amber { background: #fef3c7; color: #d97706; }

.gov-stat-info h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.gov-stat-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Initiatives showcase cards */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.initiative-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.initiative-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.initiative-img-wrap {
  height: 190px;
  background: #0f172a;
  position: relative;
}

.initiative-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.initiative-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--jsp-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.initiative-body {
  padding: 22px;
}

.initiative-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.initiative-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.progress-bar-wrap {
  background: #e2e8f0;
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  background: linear-gradient(90deg, #10b981, #059669);
  height: 100%;
  border-radius: var(--radius-full);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* =========================================================================
   MANIFESTO & WELFARE INITIATIVES (SUPER SIX)
   ========================================================================= */
.manifesto-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.manifesto-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.manifesto-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 16, 46, 0.4);
  box-shadow: var(--shadow-lg);
}

.manifesto-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--jsp-red);
  background: var(--jsp-red-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}

.manifesto-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.manifesto-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.manifesto-highlight {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--light-border);
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================================
   OPINION POLL & CITIZEN VOICE
   ========================================================================= */
.poll-container-box {
  background: #1e293b;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
}

.poll-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 24px;
  line-height: 1.4;
}

.poll-options-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.poll-option-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.poll-option-item:hover, .poll-option-item.selected {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.poll-option-text {
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.poll-percentage-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(200, 16, 46, 0.35);
  z-index: 1;
  transition: width 0.8s ease;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.poll-pct-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fbbf24;
  position: relative;
  z-index: 2;
}

/* =========================================================================
   MEDIA, SPEECHES & GALLERY
   ========================================================================= */
.media-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.media-thumb-wrap {
  position: relative;
  height: 200px;
  background: #000;
  cursor: pointer;
}

.media-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.media-thumb-wrap:hover img {
  transform: scale(1.04);
}

.play-badge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(200, 16, 46, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.6);
}

.media-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.media-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jsp-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.media-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 10px;
}

.media-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* =========================================================================
   AUDIO PLAYER / ANTHEM
   ========================================================================= */
.party-anthem-banner {
  background: linear-gradient(135deg, #450a0a 0%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.audio-controls-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.play-pause-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fbbf24;
  color: #000;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
  transition: var(--transition);
}

.play-pause-btn:hover {
  transform: scale(1.08);
}

.wave-visualizer {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
}

.wave-bar {
  width: 4px;
  height: 8px;
  background: #f87171;
  border-radius: 4px;
  transition: height 0.2s ease;
}

.playing .wave-bar:nth-child(odd) {
  animation: wave-anim 0.8s ease-in-out infinite alternate;
}
.playing .wave-bar:nth-child(even) {
  animation: wave-anim 1.1s ease-in-out infinite alternate 0.3s;
}

@keyframes wave-anim {
  0% { height: 6px; }
  100% { height: 28px; }
}

/* =========================================================================
   DONATION & JANA SEVA NIDHI
   ========================================================================= */
.donate-box-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-border);
  max-width: 800px;
  margin: 0 auto;
}

.amount-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-btn {
  background: #f8fafc;
  border: 1.5px solid var(--light-border);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.amount-btn:hover, .amount-btn.active {
  background: var(--jsp-red-subtle);
  border-color: var(--jsp-red);
  color: var(--jsp-red);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: #0b0f19;
  color: #cbd5e1;
  padding: 70px 0 28px;
  border-top: 4px solid var(--jsp-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-family: var(--font-telugu);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.social-icon-links {
  display: flex;
  gap: 10px;
}

.social-circle-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-circle-link:hover {
  background: var(--jsp-red);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--jsp-red);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--jsp-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
}

/* =========================================================================
   MODALS & TOASTS
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: #475569;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e293b;
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--jsp-red);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-grid, .leader-showcase-grid, .membership-card-tool-grid, .party-anthem-banner {
    grid-template-columns: 1fr;
  }
  .gov-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 2px solid var(--jsp-red);
    box-shadow: var(--shadow-xl);
    z-index: 99;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .mobile-nav-drawer.open {
    transform: translateY(0);
  }
  .action-cards-grid, .initiatives-grid, .manifesto-cards-grid, .media-feed-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .amount-presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
