/* ========================================================
   Congres.si - Main Bhi Congressi
   Master Stylesheet (Vanilla CSS, Modern Design System)
   ======================================================== */

:root {
  /* Brand Palette: Authentic Indian National Congress Tricolour & Accents */
  --saffron-primary: #FF671F;
  --saffron-dark: #DE4C03;
  --saffron-light: #FFF0E6;
  --saffron-glow: rgba(255, 103, 31, 0.35);

  --green-primary: #046A38;
  --green-dark: #024b27;
  --green-light: #EBF7EE;
  --green-glow: rgba(4, 106, 56, 0.35);

  --navy-primary: #06038D;
  --navy-dark: #03014B;
  --navy-light: #EEF2FF;
  --navy-accent: #1E3A8A;

  --white: #FFFFFF;
  --surface-base: #F8FAFC;
  --surface-card: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(255, 255, 255, 0.5);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;

  --border-light: #E2E8F0;
  --border-focus: #FF671F;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow-saffron: 0 10px 30px rgba(255, 103, 31, 0.28);
  --shadow-glow-green: 0 10px 30px rgba(4, 106, 56, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Tiro Devanagari Hindi', sans-serif;
  --font-slogan: 'Rozha One', 'Poppins', serif;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--surface-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button, input, select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ========================================================
   Tricolor Top Bar & Announcement Ticker
   ======================================================== */
.tricolor-top-bar {
  display: flex;
  height: 5px;
  width: 100%;
  position: relative;
  z-index: 100;
}

.tricolor-top-bar .stripe {
  flex: 1;
  height: 100%;
}
.tricolor-top-bar .saffron { background: var(--saffron-primary); }
.tricolor-top-bar .white { background: #FFFFFF; }
.tricolor-top-bar .green { background: var(--green-primary); }

.announcement-bar {
  background: #0B132B;
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--saffron-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.ticker-wrapper {
  overflow: hidden;
  flex: 1;
  position: relative;
  white-space: nowrap;
}

.ticker-content {
  display: inline-flex;
  gap: 3rem;
  animation: tickerSlide 35s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

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

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
  background: var(--saffron-primary);
  border-color: var(--saffron-primary);
}

/* ========================================================
   Header & Navigation
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0 4px 12px rgba(6, 3, 141, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 1px solid var(--border-light);
  transition: transform var(--transition-bounce);
}

.brand-logo:hover .brand-symbol {
  transform: rotate(-4deg) scale(1.08);
}

.brand-symbol .hand-icon {
  width: 100%;
  height: 100%;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F172A;
  line-height: 1.1;
}

.logo-title .dot {
  color: var(--saffron-primary);
}

.logo-tagline {
  font-family: var(--font-slogan);
  font-size: 0.82rem;
  color: var(--green-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--saffron-primary), var(--green-primary));
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* ========================================================
   Buttons & Core Components
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron-primary), #E65100);
  color: #FFF;
  box-shadow: var(--shadow-glow-saffron);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 103, 31, 0.4);
  background: linear-gradient(135deg, #FF7936, var(--saffron-primary));
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(25deg);
  animation: shineGlow 4s infinite;
}

@keyframes shineGlow {
  0% { transform: translateX(-150%) rotate(25deg); }
  35%, 100% { transform: translateX(150%) rotate(25deg); }
}

.btn-secondary {
  background: #FFF;
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--navy-accent);
  color: var(--navy-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFF;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--navy-light);
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

.btn-xl {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 0.96rem;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
}

.btn-icon {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
}

.w-100 { width: 100%; }

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(255, 103, 31, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 90% 80%, rgba(4, 106, 56, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-bg-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-saffron {
  width: 380px;
  height: 380px;
  top: -100px;
  left: -80px;
  background: rgba(255, 103, 31, 0.22);
}

.orb-green {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -80px;
  background: rgba(4, 106, 56, 0.2);
  animation-delay: -5s;
}

.orb-blue {
  width: 250px;
  height: 250px;
  top: 35%;
  left: 45%;
  background: rgba(6, 3, 141, 0.1);
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.15); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.65;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFF;
  border: 1px solid rgba(255, 103, 31, 0.35);
  box-shadow: 0 4px 14px rgba(255, 103, 31, 0.12);
  padding: 0.38rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--saffron-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 103, 31, 0.7);
  animation: pulseRipple 1.8s infinite;
}

@keyframes pulseRipple {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 103, 31, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 9px rgba(255, 103, 31, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 103, 31, 0); }
}

.hero-headline {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin-bottom: 1.35rem;
}

.slogan-hindi {
  display: block;
  font-family: var(--font-slogan);
  font-size: clamp(2.8rem, 5.2vw, 4.4rem);
  font-weight: 900;
  background: linear-gradient(120deg, var(--saffron-primary) 0%, #D84315 45%, var(--green-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(255, 103, 31, 0.15);
  margin-bottom: 0.35rem;
}

.hero-subtext {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.arrow-icon {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 580px;
}

.stat-card {
  flex: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-light);
}

/* ========================================================
   Hero 3D Floating Card Preview
   ======================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card-wrapper {
  position: relative;
  perspective: 1000px;
  width: 100%;
  max-width: 440px;
}

.preview-hero-card {
  position: relative;
  background: linear-gradient(135deg, #101827 0%, #1E293B 100%);
  color: #FFF;
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.15),
              0 0 40px rgba(255, 103, 31, 0.2);
  transform: rotateY(-8deg) rotateX(6deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.preview-hero-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.card-glass-specular {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.18) 0%, transparent 45%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.ph-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

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

.ph-logo-badge {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFF;
}

.ph-official-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #94A3B8;
  font-weight: 700;
}

.ph-id-chip {
  color: #F59E0B;
  font-size: 1.5rem;
}

.ph-card-body {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.ph-avatar-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
}

.ph-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFF;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.verified-tick {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #10B981;
  color: #FFF;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 2px solid #101827;
}

.ph-info {
  flex: 1;
}

.ph-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  line-height: 1.25;
}

.ph-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 103, 31, 0.2);
  color: #FF9E66;
  border: 1px solid rgba(255, 103, 31, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  margin: 0.35rem 0;
}

.ph-meta {
  font-size: 0.75rem;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
}

.ph-card-slogan {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.slogan-stamp {
  font-family: var(--font-slogan);
  font-size: 1.15rem;
  color: #FFB37C;
  font-weight: 700;
}

.slogan-en {
  font-size: 0.72rem;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ph-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ph-qr {
  width: 52px;
  height: 52px;
  background: #FFF;
  border-radius: 8px;
  padding: 3px;
}

.qr-code-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ph-seal {
  width: 48px;
  height: 48px;
  opacity: 0.85;
}

.ashoka-seal {
  width: 100%;
  height: 100%;
}

.ashoka-seal text {
  fill: #E2E8F0;
}

.ashoka-seal circle {
  stroke: #94A3B8;
}

.card-bottom-tricolor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #FF671F 0%, #FF671F 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #046A38 66.6%, #046A38 100%);
}

.floating-bubble {
  position: absolute;
  background: #FFF;
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-light);
  z-index: 2;
  animation: floatBubble 5s ease-in-out infinite alternate;
}

.bubble-1 {
  top: -15px;
  right: -20px;
  color: var(--saffron-dark);
}

.bubble-2 {
  bottom: -15px;
  left: -20px;
  color: var(--green-primary);
  animation-delay: -2.5s;
}

@keyframes floatBubble {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ========================================================
   Section Headers & Common
   ======================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.text-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--saffron-primary);
  background: var(--saffron-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--saffron-primary), #E65100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
}

/* ========================================================
   Interactive Digital ID Card Generator Section
   ======================================================== */
.id-card-section {
  background: #F1F5F9;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.id-maker-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.maker-form-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy-primary);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

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

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
  pointer-events: none;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  padding: 0.72rem 1rem 0.72rem 2.6rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FAFBFD;
  color: var(--text-main);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  outline: none;
  border-color: var(--saffron-primary);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(255, 103, 31, 0.15);
}

.avatar-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.avatar-choices {
  display: flex;
  gap: 0.5rem;
}

.avatar-choice {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  cursor: pointer;
  background: transparent;
  transition: all var(--transition-fast);
}

.avatar-choice img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-choice.active, .avatar-choice:hover {
  border-color: var(--saffron-primary);
  transform: scale(1.1);
}

.upload-custom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: #FAFBFD;
  color: var(--navy-accent);
  transition: all var(--transition-fast);
}

.upload-custom-btn:hover {
  border-color: var(--navy-primary);
  background: var(--navy-light);
}

.theme-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.radio-chip {
  position: relative;
  cursor: pointer;
}

.radio-chip input {
  position: absolute;
  opacity: 0;
}

.chip-text {
  display: block;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  background: #FFF;
  transition: all var(--transition-fast);
}

.radio-chip input:checked + .chip-text {
  border-color: var(--saffron-primary);
  background: var(--saffron-light);
  color: var(--saffron-dark);
}

/* Live Card Mockup */
.maker-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preview-stage {
  width: 100%;
  max-width: 500px;
  perspective: 1000px;
}

.digital-id-canvas-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6 / 1;
  background: #FFF;
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.holo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%, rgba(255, 103, 31, 0.08) 60%, rgba(4, 106, 56, 0.08) 100%);
  pointer-events: none;
  z-index: 5;
}

/* Card Themes */
.digital-id-canvas-mockup.theme-tricolor {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 85%, #F0FDF4 100%);
  border-top: 5px solid var(--saffron-primary);
}

.digital-id-canvas-mockup.theme-saffron {
  background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 100%);
  border-top: 5px solid var(--saffron-primary);
}

.digital-id-canvas-mockup.theme-emerald {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  border-top: 5px solid var(--green-primary);
}

.digital-id-canvas-mockup.theme-midnight {
  background: linear-gradient(140deg, #0B132B 0%, #1C2541 100%);
  color: #FFF;
  border-top: 5px solid var(--saffron-primary);
}

.theme-midnight .dic-title { color: #FFF; }
.theme-midnight .dic-name { color: #FFF; }
.theme-midnight .m-label { color: #94A3B8; }
.theme-midnight .m-val { color: #F1F5F9; }
.theme-midnight .dic-pledge-note { color: #CBD5E1; }

.dic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.dic-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dic-symbol {
  width: 32px;
  height: 32px;
}

.card-hand-svg {
  width: 100%;
  height: 100%;
}

.dic-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1;
}

.dic-subtitle {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-accent);
  display: block;
  margin-top: 2px;
}

.membership-badge {
  background: var(--navy-primary);
  color: #FFF;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.dic-body {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  margin: 0.6rem 0;
}

.dic-photo-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.dic-photo-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.dic-photo-border {
  position: absolute;
  inset: -3px;
  border: 2px solid var(--saffron-primary);
  border-radius: 17px;
  pointer-events: none;
}

.dic-details {
  flex: 1;
}

.dic-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.dic-role {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron-dark);
  background: var(--saffron-light);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  margin: 0.25rem 0;
}

.dic-meta-grid {
  display: flex;
  gap: 1rem;
  font-size: 0.72rem;
  margin-top: 0.2rem;
}

.meta-item {
  display: flex;
  gap: 0.25rem;
}

.m-label { color: var(--text-light); }
.m-val { color: var(--text-main); font-weight: 700; }

.dic-card-id {
  font-size: 0.68rem;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green-primary);
  margin-top: 0.2rem;
}

.dic-slogan-ribbon {
  background: linear-gradient(90deg, rgba(255, 103, 31, 0.12), rgba(4, 106, 56, 0.12));
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.slogan-hi {
  font-family: var(--font-slogan);
  font-size: 1rem;
  font-weight: 700;
  color: var(--saffron-dark);
}

.slogan-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-accent);
}

.dic-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  margin-top: 0.4rem;
}

.dic-qr-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dic-qr-box img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #FFF;
  padding: 2px;
}

.qr-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dic-pledge-note {
  max-width: 220px;
  font-size: 0.62rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.25;
}

.dic-hologram-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE17D 0%, #F59E0B 70%, #D97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 900;
  color: #78350F;
  line-height: 1;
}

.dic-tricolor-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #FF671F 0%, #FF671F 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #046A38 66.6%, #046A38 100%);
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* ========================================================
   Digital Pledge Section
   ======================================================== */
.pledge-section {
  background: #FFF;
}

.pledge-box {
  padding: 3.5rem 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.pledge-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--navy-light);
  color: var(--navy-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.pledge-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.pledge-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  background: #FAFBFD;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pledge-item:hover {
  border-color: var(--saffron-primary);
  background: #FFF;
  box-shadow: var(--shadow-sm);
}

.pledge-check {
  display: none;
}

.pledge-custom-box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 2px solid var(--border-light);
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.pledge-check:checked + .pledge-custom-box {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFF;
}

.pledge-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.pledge-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pledge-action-area {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-light);
  flex-wrap: wrap;
}

.signature-input-box {
  flex: 1;
  min-width: 260px;
}

.signature-input-box label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.pledge-success-toast {
  margin-top: 2rem;
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideDownToast 0.4s ease-out;
}

@keyframes slideDownToast {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.toast-icon {
  font-size: 2rem;
  color: #059669;
}

.toast-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #065F46;
}

.toast-content p {
  font-size: 0.9rem;
  color: #047857;
}

/* ========================================================
   5 Pillars of Nyay
   ======================================================== */
.pillars-section {
  background: #F8FAFC;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.pillar-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.card-glow-saffron:hover { border-color: var(--saffron-primary); }
.card-glow-green:hover { border-color: var(--green-primary); }
.card-glow-blue:hover { border-color: var(--navy-accent); }
.card-glow-emerald:hover { border-color: #10B981; }

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--surface-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy-primary);
  margin-bottom: 1.3rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--navy-primary);
  color: #FFF;
  transform: scale(1.08);
}

.pillar-num {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.06);
}

.pillar-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.pillar-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex: 1;
}

.pillar-points {
  list-style: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pillar-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-points i {
  color: var(--green-primary);
  font-size: 0.85rem;
}

/* ========================================================
   Live Wall of Congressis
   ======================================================== */
.wall-section {
  background: #FFF;
}

.post-thought-box {
  padding: 1.4rem 1.8rem;
  margin-bottom: 2rem;
}

.post-input-flex {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.small-input {
  flex: 1;
  min-width: 170px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.grow-input {
  flex: 2.2;
  min-width: 260px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.small-input:focus, .grow-input:focus {
  outline: none;
  border-color: var(--saffron-primary);
}

.feed-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.feed-tab {
  background: #F1F5F9;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.feed-tab.active, .feed-tab:hover {
  background: var(--navy-primary);
  color: #FFF;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.wall-entry-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.wall-entry-card:hover {
  border-color: var(--saffron-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.we-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.we-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.we-meta h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.we-loc {
  font-size: 0.74rem;
  color: var(--text-light);
}

.we-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.we-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F1F5F9;
  padding-top: 0.65rem;
  font-size: 0.74rem;
  color: var(--text-light);
}

.we-tag {
  color: var(--saffron-dark);
  font-weight: 700;
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
}

.like-btn:hover, .like-btn.liked {
  color: #EF4444;
}

/* ========================================================
   Campaigns & Events Section
   ======================================================== */
.events-section {
  background: #F8FAFC;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.event-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.8rem;
  display: flex;
  gap: 1.4rem;
  transition: all var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-accent);
}

.event-date-badge {
  background: var(--navy-light);
  color: var(--navy-primary);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: fit-content;
  flex-shrink: 0;
}

.event-date-badge .day {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-badge .month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.event-content {
  flex: 1;
}

.event-category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.saffron-badge { background: var(--saffron-light); color: var(--saffron-dark); }
.green-badge { background: var(--green-light); color: var(--green-dark); }
.blue-badge { background: var(--navy-light); color: var(--navy-primary); }

.event-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.event-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========================================================
   Wings Strip
   ======================================================== */
.wings-section {
  padding: 3.5rem 0;
  background: #FFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.wings-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.wing-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.wing-pill i {
  color: var(--saffron-primary);
  font-size: 1.1rem;
}

.wing-pill strong {
  color: var(--text-main);
}

.wing-pill span {
  color: var(--text-light);
  font-size: 0.8rem;
}

.wing-pill:hover {
  background: #FFF;
  border-color: var(--navy-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ========================================================
   Audio Anthem Banner
   ======================================================== */
.audio-banner {
  background: #0F172A;
  color: #FFF;
  padding: 0.85rem 0;
  border-top: 2px solid var(--saffron-primary);
  position: relative;
  z-index: 80;
}

.audio-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.audio-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.anthem-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--saffron-primary);
  border: none;
  color: #FFF;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(255, 103, 31, 0.4);
}

.anthem-play-btn:hover {
  transform: scale(1.08);
  background: #FF7B3D;
}

.anthem-info {
  display: flex;
  flex-direction: column;
}

.anthem-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFF;
}

.anthem-subtitle {
  font-size: 0.74rem;
  color: #94A3B8;
}

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

.audio-visualizer .bar {
  width: 4px;
  height: 6px;
  background: #10B981;
  border-radius: 2px;
  transition: height 0.15s ease;
}

.audio-visualizer.playing .bar:nth-child(1) { animation: soundWave 0.7s infinite alternate; }
.audio-visualizer.playing .bar:nth-child(2) { animation: soundWave 0.5s infinite alternate 0.1s; }
.audio-visualizer.playing .bar:nth-child(3) { animation: soundWave 0.9s infinite alternate 0.2s; }
.audio-visualizer.playing .bar:nth-child(4) { animation: soundWave 0.6s infinite alternate 0.15s; }
.audio-visualizer.playing .bar:nth-child(5) { animation: soundWave 0.8s infinite alternate 0.25s; }
.audio-visualizer.playing .bar:nth-child(6) { animation: soundWave 0.4s infinite alternate 0.05s; }
.audio-visualizer.playing .bar:nth-child(7) { animation: soundWave 0.75s infinite alternate 0.3s; }

@keyframes soundWave {
  0% { height: 4px; background: #FF671F; }
  100% { height: 22px; background: #10B981; }
}

.audio-status {
  font-size: 0.78rem;
  color: #94A3B8;
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  background: #090E1A;
  color: #CBD5E1;
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-logo .logo-title {
  color: #FFF;
}

.footer-motto {
  font-family: var(--font-slogan);
  font-size: 1.1rem;
  color: #FFB37C;
  margin: 0.8rem 0 0.5rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-links a:hover {
  background: var(--saffron-primary);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 1.2rem;
  position: relative;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #FFF;
  transform: translateX(4px);
}

.contact-line {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-line i {
  color: var(--saffron-primary);
}

.footer-newsletter {
  margin-top: 1.2rem;
}

.footer-newsletter label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.45rem;
}

.input-with-action {
  display: flex;
  gap: 0.5rem;
}

.input-with-action input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: #FFF;
  font-size: 0.85rem;
}

.input-with-action input:focus {
  outline: none;
  border-color: var(--saffron-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: #64748B;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 0.8rem;
}

/* ========================================================
   Floating Quick Pill
   ======================================================== */
.floating-action-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 85;
}

.pill-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--saffron-primary), #E65100);
  color: #FFF;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(255, 103, 31, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-smooth);
}

.pill-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 30px rgba(255, 103, 31, 0.6);
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: #FFF;
  border-radius: 50%;
  animation: pulseRipple 1.8s infinite;
}

/* ========================================================
   Responsive Media Queries
   ======================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description, .hero-cta-group, .hero-stats-strip {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .id-maker-layout {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .audio-visualizer {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Mobile navigation handled by master overlay below */

  .mobile-toggle {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .pledge-box {
    padding: 2rem 1.5rem;
  }

  .preview-hero-card {
    transform: none !important;
  }

  .post-input-flex {
    flex-direction: column;
  }
}


/* Tricolor Text Logo Styles */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.brand-text .logo-title {
  display: inline-block;
  background: linear-gradient(90deg, #FF671F 0%, #FF671F 33.3%, #000080 33.3%, #000080 66.6%, #046A38 66.6%, #046A38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: 'Rozha One', serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand-text .logo-tagline {
  display: block;
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #06038D;
  margin-top: 0.1rem;
}

/* ========================================================
   Heroes Section Styles (हमारे नायक - Hero Tab)
   ======================================================== */
.heroes-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-tab-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.hero-tab-btn:hover {
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(-2px);
}

.hero-tab-btn.active {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.heroes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.hero-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.15);
  border-color: #BAE6FD;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF671F 0%, #06038D 50%, #046A38 100%);
}

.hero-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-avatar-circle {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1px solid #FED7AA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EA580C;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.1);
}

.hero-avatar-circle.blue-theme {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-color: #BAE6FD;
  color: #0284C7;
}

.hero-avatar-circle.navy-theme {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-color: #C7D2FE;
  color: #4338CA;
}

.hero-avatar-circle.green-theme {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-color: #BBF7D0;
  color: #16A34A;
}

.hero-meta .hero-name {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.hero-title-tag {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0284C7;
  margin-bottom: 0.25rem;
}

.hero-event-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.hero-card-body {
  position: relative;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.quote-icon-bg {
  position: absolute;
  top: -10px;
  right: -5px;
  font-size: 3.5rem;
  color: #F1F5F9;
  z-index: 0;
  pointer-events: none;
}

.hero-quote-hi {
  position: relative;
  z-index: 1;
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1E293B;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero-quote-en {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748B;
  font-style: italic;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-pill.saffron-pill {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FFEDD5;
}

.badge-pill.blue-pill {
  background: #F0F9FF;
  color: #0369A1;
  border: 1px solid #E0F2FE;
}

.badge-pill.green-pill {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #DCFCE7;
}

.copy-quote-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-quote-btn:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  transform: scale(1.08);
}

/* ========================================================
   MOBILE RESPONSIVE MEDIA QUERIES
   ======================================================== */

/* ---- Tablet: ≤ 1024px ---- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 0;
    margin: 0 auto;
  }
  .floating-card-wrapper {
    max-width: 360px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-strip {
    margin: 0 auto;
    justify-content: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .id-maker-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .maker-preview-card {
    order: -1;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

/* ---- Mobile: ≤ 768px ---- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Container padding on mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* ---- Announcement Bar ---- */
  .ticker-container {
    gap: 0.5rem;
  }
  .ticker-badge span {
    display: none; /* hide text, keep icon */
  }
  .lang-switch-wrapper {
    flex-shrink: 0;
  }

  /* ---- Header / Nav ---- */
  .site-header {
    position: sticky;
    top: 0;
  }
  .header-inner {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .brand-text .logo-title {
    font-size: 1.25rem;
  }
  .brand-text .logo-tagline {
    font-size: 0.72rem;
  }
  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  /* Hide desktop nav links on mobile */
  /* Master Fullscreen Mobile Nav Overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 99999;
    padding: 2.5rem 1.5rem;
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav-links.mobile-open,
  .nav-links.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  .nav-link {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    transition: background 0.2s, color 0.2s;
  }
  .nav-link:hover,
  .nav-link.active {
    background: var(--saffron-light);
    color: var(--saffron-dark);
  }

  /* Mobile toggle button */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--saffron-light);
    border: 1.5px solid rgba(255, 103, 31, 0.2);
    border-radius: 12px;
    color: var(--saffron-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  .mobile-toggle:hover {
    background: var(--saffron-primary);
    color: #FFF;
  }

  /* Show close X button inside mobile nav overlay */
  .nav-mobile-close {
    display: flex !important;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-size: 1.4rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100000;
    transition: all 0.2s;
  }
  .nav-mobile-close:hover {
    background: #FEE2E2;
    color: #DC2626;
  }

  /* Hide join button text on small screens */
  .header-actions .btn span {
    display: none;
  }
  .header-actions .btn {
    padding: 0.6rem;
    min-width: 40px;
    min-height: 40px;
  }

  /* ---- Hero Section ---- */
  .hero-section {
    padding: 3rem 0 2.5rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .slogan-hindi {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
  .hero-subtext {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }
  .hero-description {
    font-size: 0.96rem;
  }
  .hero-stats-strip {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.2rem;
  }
  .stat-divider {
    display: none;
  }
  .stat-card {
    flex: 0 0 auto;
  }
  .floating-bubble {
    display: none; /* hide floating bubbles on mobile */
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    justify-content: center;
    width: 100%;
  }

  /* ---- Sections ---- */
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  /* ---- ID Card Generator ---- */
  .id-card-section .id-maker-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .maker-form-card {
    padding: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .theme-radios {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- Pillars Grid ---- */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* ---- Pledge Box ---- */
  .pledge-box {
    padding: 2rem 1rem;
  }
  .pledge-action-area {
    flex-direction: column;
    align-items: stretch;
  }

  /* ---- Wall / Members ---- */
  .wall-grid, .members-grid {
    grid-template-columns: 1fr;
  }

  /* ---- Footer ---- */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col:first-child {
    grid-column: unset;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .footer-social-links {
    justify-content: center;
  }

  /* ---- Events ---- */
  .events-grid {
    grid-template-columns: 1fr;
  }

  /* ---- Hero Quotes ---- */
  .heroes-grid, .heroes-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* ---- Wall Cards ---- */
  .wall-cards-scroller {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  /* ---- Nav close button (X) inside mobile menu ---- */
  .nav-links::before {
    content: '✕';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    pointer-events: none; /* handled by JS toggle */
  }
}

/* ---- Small Mobile: ≤ 480px ---- */
@media (max-width: 480px) {
  .brand-text .logo-title {
    font-size: 1.1rem;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
  }

  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  .floating-card-wrapper {
    max-width: 100%;
  }
  .preview-hero-card {
    transform: none;
    padding: 1.25rem;
  }

  .pledge-box {
    padding: 1.5rem 0.75rem;
  }
  .pledge-item {
    padding: 1rem 1rem;
  }

  .maker-form-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .btn-xl {
    padding: 0.85rem 1.5rem;
    font-size: 0.96rem;
  }

  .hero-stats-strip .stat-number {
    font-size: 1.35rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .id-card-download-btn-area {
    flex-direction: column;
  }

  .preview-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .preview-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Ticker: hide on very small */
  .announcement-bar {
    display: none;
  }

  /* Footer newsletter inline → stacked */
  .input-with-action {
    flex-direction: column;
  }
  .input-with-action .btn {
    width: 100%;
  }
}

