/* ==========================================================================
   BHARATIYA JANATA PARTY - DISTRICT FIROZABAD
   Official Political Portfolio & Profile: Hanumant Singh Baghel (Guddu)
   Former Block Pramukh (Tundla) & District Vice President, BJP Firozabad
   ========================================================================== */

:root {
  --primary-saffron: #f97316;
  --primary-saffron-dark: #c2410c;
  --primary-saffron-light: #fff7ed;
  --bjp-orange: #ff6f00;
  --bjp-green: #15803d;
  --bjp-green-dark: #0f5127;
  --bjp-green-light: #f0fdf4;
  --accent-gold: #f59e0b;
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --dark-border: rgba(255, 255, 255, 0.1);
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(249, 115, 22, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Noto Sans Devanagari', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Tricolor Top Bar Accent */
.tricolor-stripe {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ff6f00 0%, #ff6f00 33.3%, #ffffff 33.3%, #ffffff 66.6%, #15803d 66.6%, #15803d 100%);
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: #0b1120;
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-slogans {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: #fdba74;
}

.topbar-slogans span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-slogans .bullet {
  color: rgba(255, 255, 255, 0.3);
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
}

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.topbar-contact a:hover {
  color: #fdba74;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: var(--transition);
}

.nav-wrap {
  padding: 10px 0;
}

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

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

/* Main Site Logo image */
.site-logo {
  height: 52px;
  width: auto;
  max-width: 330px;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.brand:hover .site-logo {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--bjp-orange);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--bjp-orange);
}

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

.nav-cta-btn {
  background: linear-gradient(135deg, var(--bjp-orange) 0%, #e65100 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta-btn::after {
  display: none !important;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.4);
  color: #ffffff !important;
}

.menu-btn {
  display: none;
  font-size: 28px;
  color: #0f172a;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
}

/* ==========================================================================
   BUTTONS & COMMON UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(230, 81, 0, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, #15803d 0%, #0f5127 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #0f5127 0%, #0a3a1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 128, 61, 0.45);
}

.btn-light {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: #f8fafc;
  border-color: var(--bjp-orange);
  color: var(--bjp-orange);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bjp-orange);
  margin-bottom: 10px;
}

.section-kicker::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 3px;
  background: var(--bjp-orange);
  border-radius: 2px;
}

.section-head {
  margin-bottom: 45px;
}

.center-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.center-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}

.center-head h2 span {
  color: var(--bjp-orange);
}

.center-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  background: radial-gradient(circle at 10% 20%, #1e293b 0%, #0b1120 70%);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 60px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21, 128, 61, 0.2) 0%, rgba(21, 128, 61, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fdba74;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #fdba74 0%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-designation {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-designation span {
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 500;
}

.hero-bio-short {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Quick Info Badges in Hero */
.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.hero-badge-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge-icon {
  font-size: 1.35rem;
}

.hero-badge-text small {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-badge-text strong {
  display: block;
  font-size: 0.92rem;
  color: #f1f5f9;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero Right: Portrait Card */
.hero-portrait-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.4), rgba(21, 128, 61, 0.3));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(249, 115, 22, 0.15);
}

.portrait-inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: #1e293b;
}

.portrait-inner img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.portrait-frame:hover .portrait-inner img {
  transform: scale(1.03);
}

.portrait-overlay-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 70%, transparent 100%);
  padding: 30px 20px 18px;
  color: #ffffff;
  text-align: center;
}

.portrait-overlay-banner h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.portrait-overlay-banner p {
  font-size: 0.88rem;
  color: #fdba74;
  font-weight: 600;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  top: 30px;
  left: -20px;
  border-left: 4px solid var(--bjp-orange);
}

.floating-badge-2 {
  bottom: 60px;
  right: -20px;
  border-left: 4px solid var(--bjp-green);
  animation-delay: -2s;
}

.floating-badge-icon {
  font-size: 1.5rem;
}

.floating-badge-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.floating-badge-text small {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  position: relative;
  z-index: 10;
  margin-top: -20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(194, 65, 12, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 30px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  color: #ffffff;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   SECTION WRAPPER
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section.soft {
  background-color: var(--bg-soft);
}

.section.dark {
  background-color: var(--dark-bg);
  color: #ffffff;
}

.section.dark .center-head h2 {
  color: #ffffff;
}

.section.dark .center-head p {
  color: #94a3b8;
}

/* ==========================================================================
   ABOUT / PERSONAL PROFILE SECTION
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.profile-card-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.profile-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--bjp-orange), var(--bjp-green));
}

.profile-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.profile-header-banner img {
  height: 40px;
  width: auto;
}

.profile-tag {
  background: var(--primary-saffron-light);
  color: var(--primary-saffron-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.profile-data-list {
  display: grid;
  gap: 14px;
}

.profile-data-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: baseline;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--bjp-orange);
}

.profile-data-row .lbl {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
}

.profile-data-row .val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.feature-icon-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(21, 128, 61, 0.12);
  color: var(--bjp-green);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.about-feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.about-feature-item p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   TIMELINE SECTION (POLITICAL JOURNEY)
   ========================================================================== */
.timeline-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  background: #ffffff;
  color: #475569;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--bjp-orange);
  color: #ffffff;
  border-color: var(--bjp-orange);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, var(--bjp-orange) 0%, #f97316 50%, var(--bjp-green) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-card {
  position: relative;
  width: calc(50% - 35px);
  margin-bottom: 30px;
  transition: var(--transition);
}

.timeline-card.left {
  left: 0;
  text-align: right;
}

.timeline-card.right {
  left: calc(50% + 35px);
  text-align: left;
}

.timeline-pin {
  position: absolute;
  top: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--bjp-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
  z-index: 2;
}

.timeline-card.left .timeline-pin {
  right: -47px;
}

.timeline-card.right .timeline-pin {
  left: -47px;
}

.timeline-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.timeline-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.timeline-year-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary-saffron-light);
  color: var(--primary-saffron-dark);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.timeline-year-tag.highlight {
  background: linear-gradient(135deg, var(--bjp-orange) 0%, #e65100 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.3);
}

.timeline-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
}

.timeline-box p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.timeline-category-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--bjp-green);
  background: var(--bjp-green-light);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   DEDICATION & PLEDGE (SPECIAL NOTE)
   ========================================================================== */
.text-keshariya {
  color: #ff6f00 !important;
  background: linear-gradient(135deg, #ff9500 0%, #ff5722 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 111, 0, 0.2);
}

.pledge-section {
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0b1120 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 85px 0;
}

.pledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.pledge-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 35px;
  position: relative;
  backdrop-filter: blur(10px);
}

.pledge-card.note {
  border-top: 4px solid var(--bjp-green);
}

.pledge-card.pledge {
  border-top: 4px solid var(--bjp-orange);
}

.pledge-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.pledge-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.pledge-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.pledge-card .quote-highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fdba74;
  font-style: italic;
  margin-top: 10px;
}

.pledge-signer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signer-info h4 {
  font-size: 1rem;
  color: #ffffff;
}

.signer-info small {
  color: #94a3b8;
  font-size: 0.8rem;
}

.signer-seal {
  background: rgba(249, 115, 22, 0.15);
  border: 1px dashed rgba(249, 115, 22, 0.4);
  color: #fdba74;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ==========================================================================
   DOCUMENT VIEWER SECTION (PDF DETAILS)
   ========================================================================== */
.doc-section {
  background: #ffffff;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 20px;
}

.doc-preview-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.doc-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.doc-card-header {
  padding: 16px 20px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-card-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.doc-card-header span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.doc-img-wrap {
  position: relative;
  background: #f1f5f9;
  overflow: hidden;
  cursor: pointer;
}

.doc-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.doc-img-wrap:hover img {
  transform: scale(1.02);
}

.doc-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(3px);
}

.doc-img-wrap:hover .doc-img-overlay {
  opacity: 1;
}

.doc-card-footer {
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-card-footer p {
  font-size: 0.85rem;
  color: #64748b;
}

.doc-download-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.doc-download-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pdf-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: #fee2e2;
  color: #dc2626;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.doc-download-text h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.doc-download-text p {
  font-size: 0.88rem;
  color: #64748b;
}

/* ==========================================================================
   LEADERSHIP SECTION (INSPIRATION)
   ========================================================================== */
.leaders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.leader {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.leader:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--bjp-orange);
}

.leader-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  border: 3px solid #fdba74;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.leader h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.leader p {
  color: var(--bjp-orange);
  font-size: 0.84rem;
  font-weight: 700;
}

.leader small {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 6px;
}

/* ==========================================================================
   INITIATIVES / ROLES GRID
   ========================================================================== */
.cards.four {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.initiative-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.initiative-card:hover {
  transform: translateY(-5px);
  background: #243248;
  border-color: var(--bjp-orange);
}

.initiative-card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.initiative-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.initiative-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ==========================================================================
   OFFICE, RESIDENCE & CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
}

.contact-info-cards {
  display: grid;
  gap: 18px;
  margin-top: 25px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--bjp-orange);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-saffron-light);
  color: var(--bjp-orange);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}

.contact-details p {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.contact-details a {
  color: var(--bjp-orange);
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.contact-form-box p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--bjp-orange);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-feedback {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #0b1120;
  color: #cbd5e1;
  padding-top: 60px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 45px;
}

/* Footer Brand Logo */
.footer-logo {
  height: 52px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.footer-brand-info p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

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

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   MODAL / LIGHTBOX FOR DOCUMENT VIEWING
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  padding: 16px 24px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  text-align: center;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   HERO FRAME THUMBNAIL SWITCHER
   ========================================================================== */
.hero-frame-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  z-index: 5;
  position: relative;
}

.thumb-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0;
  cursor: pointer;
  background: #0f172a;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumb-btn:hover {
  transform: scale(1.08);
  border-color: #fdba74;
}

.thumb-btn.active {
  border-color: var(--bjp-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: scale(1.08);
}

/* ==========================================================================
   UI FRAMED PHOTO GALLERY SECTION
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  background: #ffffff;
  color: #475569;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--bjp-orange) 0%, #e65100 100%);
  color: #ffffff;
  border-color: var(--bjp-orange);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.photo-frame-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(255, 111, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-frame-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(249, 115, 22, 0.22), 0 0 0 2px rgba(249, 115, 22, 0.3);
  border-color: #fdba74;
}

.photo-frame-inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.photo-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.photo-frame-card:hover .photo-frame-inner img {
  transform: scale(1.06);
}

/* Elegant Corner Brackets */
.frame-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent-gold);
  border-style: solid;
  pointer-events: none;
  z-index: 4;
}
.frame-corner-tl { top: 8px; left: 8px; border-width: 2.5px 0 0 2.5px; }
.frame-corner-tr { top: 8px; right: 8px; border-width: 2.5px 2.5px 0 0; }
.frame-corner-bl { bottom: 8px; left: 8px; border-width: 0 0 2.5px 2.5px; }
.frame-corner-br { bottom: 8px; right: 8px; border-width: 0 2.5px 2.5px 0; }

/* Floating category badge */
.frame-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(15, 23, 42, 0.85);
  color: #fdba74;
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hover overlay with zoom button */
.frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.25) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.photo-frame-inner:hover .frame-overlay {
  opacity: 1;
}

.frame-zoom-btn {
  background: linear-gradient(135deg, var(--bjp-orange), #e65100);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(10px);
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.photo-frame-inner:hover .frame-zoom-btn {
  transform: translateY(0);
}

/* Frame UI Caption Details */
.frame-caption {
  padding: 16px 8px 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.frame-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bjp-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.frame-caption h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
}

.frame-caption p {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-portrait-card {
    order: -1;
  }
  .portrait-frame {
    max-width: 340px;
  }
  .portrait-inner img {
    height: 380px;
  }
  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leaders {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 25px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .menu-btn {
    display: block;
  }
  .split, .contact-grid, .doc-grid, .pledge-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .timeline-wrap::before {
    left: 20px;
  }
  .timeline-card {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    text-align: left !important;
  }
  .timeline-card .timeline-pin {
    left: 9px !important;
    right: auto !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .doc-download-banner {
    flex-direction: column;
    text-align: center;
  }
  .doc-download-info {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    flex-direction: column;
    text-align: center;
  }
  .topbar-slogans {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.78rem;
  }
  .site-logo {
    height: 42px;
    max-width: 250px;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .hero-badges-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .floating-badge {
    display: none;
  }
  .cards.four, .leaders, .about-features, .form-group-row, .footer-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .thumb-btn {
    width: 48px;
    height: 48px;
  }
  .profile-data-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}