/* ==========================================================================
   Shri Amiya Kanti Das (MLA Dholai) - Official Website CSS
   Design Theme: Clean, Elegant, Modern Indian Leadership Aesthetic
   Color Palette: Warm Cream, Saffron, Deep Maroon, Terracotta & Gold Accents
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Libertinus+Math&family=Libertinus+Serif:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  /* Brand Color Palette */
  --bg-main: #fffdf9;
  --bg-alt: #faf4eb;
  --bg-card: #ffffff;
  --bg-card-hover: #fffdf7;
  --bg-saffron-light: #fff5ec;

  --primary-saffron: #d9531e;
  --primary-hover: #be4212;
  --saffron-gold: #e89623;
  --saffron-light: #fce8d5;
  --deep-maroon: #4a1510;
  --navy-blue: #1e3a8a;
  --forest-green: #15803d;

  --text-dark: #2c1a14;
  --text-muted: #66544d;
  --text-light: #8c7a72;
  --border-light: #ebe0d3;
  --border-gold: #e5c396;

  /* Typography - Only 2 Fonts: Inter and Libertinus Math */
  --font-heading: "Libertinus Math", "Libertinus Serif", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-devanagari: "Inter", system-ui, sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(74, 21, 16, 0.04);
  --shadow-md: 0 8px 24px rgba(74, 21, 16, 0.08);
  --shadow-lg: 0 16px 36px rgba(74, 21, 16, 0.12);
  --shadow-gold: 0 8px 30px rgba(217, 83, 30, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.section-bg-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-saffron);
  background: var(--bg-saffron-light);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--saffron-light);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--deep-maroon);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 1.5rem 0;
  color: var(--saffron-gold);
}

.divider-ornament::before,
.divider-ornament::after {
  content: "";
  height: 1px;
  width: 60px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--saffron-gold),
    transparent
  );
}

/* Top Notification / Info Bar */
.top-bar {
  background: var(--deep-maroon);
  color: #fdf3e7;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--saffron-gold);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gita-quote-top {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--saffron-gold);
  font-weight: 600;
}

/* Main Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.2rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

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

.brand-bjp-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--deep-maroon);
  letter-spacing: 1px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-saffron);
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-saffron);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-saffron);
}

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

.btn-cta-nav {
  background: var(--primary-saffron);
  color: #ffffff !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.btn-cta-nav:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--deep-maroon);
  cursor: pointer;
}

/* Hero Section - Viewport Height Fit (Header + Hero + Stats Bar = 100vh) */
.hero-section {
  position: relative;
  background: url("../assets/images/bg_hero.jpg") center center / cover
    no-repeat;
  min-height: calc(100vh - 195px);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 253, 249, 0.96) 0%,
    rgba(255, 253, 249, 0.9) 45%,
    rgba(255, 253, 249, 0.4) 80%,
    rgba(255, 253, 249, 0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  min-height: calc(100vh - 245px);
}

.hero-content {
  z-index: 2;
  position: relative;
}

.gita-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.gita-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-maroon);
}

.gita-source {
  font-size: 0.85rem;
  color: var(--primary-saffron);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: var(--primary-saffron);
  display: block;
}

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

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary-saffron), #c84413);
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217, 83, 30, 0.35);
  background: linear-gradient(135deg, #e25b24, var(--primary-saffron));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-maroon);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--border-gold);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--primary-saffron);
  color: var(--primary-saffron);
  transform: translateY(-2px);
}

/* Full Right Side Borderless Hero Slider */
.hero-slider-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(100vh - 245px);
  min-height: 480px;
  max-height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: 0 15px 35px rgba(74, 21, 16, 0.12);
  background: transparent;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.8s ease-in-out,
    transform 0.8s ease-in-out;
  transform: scale(1.02);
  border: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.8rem 1.5rem 1.8rem;
  background: linear-gradient(
    to top,
    rgba(30, 10, 6, 0.9) 0%,
    rgba(30, 10, 6, 0.45) 60%,
    transparent 100%
  );
  color: #fffdf9;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  pointer-events: none;
}

.hero-slide-overlay .slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--saffron-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-slide-overlay .slide-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-slider-controls {
  position: absolute;
  bottom: 18px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: var(--primary-saffron);
  border-color: #ffffff;
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-maroon);
  color: #fffdf9;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--saffron-gold);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Quick Features Highlight Bar below Hero */
.hero-stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-light);
}

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

.hero-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-saffron-light);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-stat-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.category-strip-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.col-header-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-stat-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-maroon);
}

.hero-stat-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* About / Overview Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.overview-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-saffron);
  opacity: 0;
  transition: var(--transition-fast);
}

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

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

.card-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--saffron-gold);
  margin-bottom: 0.4rem;
}

.overview-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.5rem;
}

.overview-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Counter Box Grid */
.counters-wrapper {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, #320b08 100%);
  color: #fffdf9;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.counter-item {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
}

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

.counter-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--saffron-gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}

/* Quote Bar */
.quote-banner {
  background: var(--bg-saffron-light);
  border: 1px solid var(--saffron-light);
  border-radius: var(--radius-md);
  padding: 1.8rem 2.5rem;
  margin-top: 2.5rem;
  text-align: center;
  position: relative;
}

.quote-banner p {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--deep-maroon);
  font-weight: 600;
}

.quote-author {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  color: var(--primary-saffron);
  margin-top: 0.5rem;
}

/* Section 3 - Journey Through Responsibility (Matches Reference Image 3) */
.journey-header-box {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(180deg, #fbf4e8 0%, #fffdf7 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem 2.5rem 3rem;
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.journey-header-text {
  padding-bottom: 2.5rem;
  width: 50%;
}

.journey-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-saffron);
  margin-bottom: 0.8rem;
}

.journey-header-badge::before,
.journey-header-badge::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--saffron-gold);
}

.journey-main-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--deep-maroon);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.journey-sub-years {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-saffron);
  margin-bottom: 1rem;
}

.journey-header-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

.journey-header-portrait {
  position: relative;
  text-align: right;
  width: 50%;
}

.journey-header-portrait img {
  max-width: 24rem;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 15px rgba(74, 21, 16, 0.15));
  margin-right: 0;
  border-radius: 1rem;
}

/* Category Cards (4 Large Horizontal Cards) */
.journey-categories-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.category-card-main {
  display: grid;
  grid-template-columns: 240px 1fr 160px;
  align-items: center;
}

/* Left Image & Symbol Block */
.category-media-block {
  position: relative;
  height: 100%;
  min-height: 140px;
  display: flex;
  overflow: hidden;
}

.category-icon-strip {
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  flex-shrink: 0;
}

.category-icon-strip.rss-bg {
  background: linear-gradient(135deg, #d9531e, #b83e12);
}

.category-icon-strip.bjp-bg {
  background: linear-gradient(135deg, #e89623, #d9531e);
}

.category-icon-strip.govt-bg {
  background: linear-gradient(135deg, #1e3a8a, #1d2a44);
}

.category-icon-strip.leg-bg {
  background: linear-gradient(135deg, #15803d, #0f5128);
}

.category-thumb-img {
  width: calc(100% - 70px);
  height: 100%;
  object-fit: cover;
}

/* Category Center Content */
.category-info {
  padding: 1.5rem 2rem;
}

.category-title-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.3rem;
}

.category-years-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-saffron);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.category-summary-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Category Right Button */
.category-action {
  padding: 1.5rem 1.8rem;
  text-align: right;
}

.btn-category-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-category-toggle.rss-btn {
  background: #d9531e;
}

.btn-category-toggle.bjp-btn {
  background: #d9531e;
}

.btn-category-toggle.govt-btn {
  background: #1e3a8a;
}

.btn-category-toggle.leg-btn {
  background: #15803d;
}

.btn-category-toggle:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Expandable Category Timeline inside card */
.category-expandable-content {
  display: none;
  padding: 1.5rem 2rem 2rem 2rem;
  background: var(--bg-saffron-light);
  border-top: 1px solid var(--border-gold);
}

.category-card.expanded .category-expandable-content {
  display: block;
}

/* Bottom "A Glimpse of the Journey" 4-Column Timeline Grid */
.glimpse-section-header {
  text-align: center;
  margin: 3.5rem 0 2.5rem 0;
  position: relative;
}

.glimpse-section-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-gold);
  z-index: 1;
}

.glimpse-header-badge {
  position: relative;
  z-index: 2;
  background: var(--bg-main);
  padding: 0.5rem 1.8rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep-maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.glimpse-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.glimpse-column-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-normal);
  cursor: pointer;
}

.glimpse-column-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.glimpse-timeline-container {
  max-height: 195px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease-in-out;
}

.glimpse-timeline-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.glimpse-column-card.expanded .glimpse-timeline-container {
  max-height: 1200px;
}

.glimpse-column-card.expanded .glimpse-timeline-container::after {
  opacity: 0;
}

.btn-glimpse-expand {
  margin-top: 0.9rem;
  width: 100%;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-saffron);
  background: var(--bg-saffron-light);
  border: 1px solid var(--saffron-light);
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-glimpse-expand:hover {
  background: var(--primary-saffron);
  color: #ffffff;
}

.glimpse-column-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-maroon);
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--saffron-light);
  margin-bottom: 1.2rem;
}

.glimpse-column-header .col-header-logo,
.glimpse-column-header i,
.glimpse-column-header .col-icon {
  width: 38px;
  height: 38px;
  padding: 6px;
  background: var(--bg-saffron-light);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  color: var(--primary-saffron);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.glimpse-timeline-list {
  position: relative;
  padding-left: 1.2rem;
}

.glimpse-timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--saffron-gold);
}

.glimpse-event-item {
  position: relative;
  margin-bottom: 1.2rem;
}

.glimpse-event-item:last-child {
  margin-bottom: 0;
}

.glimpse-event-dot {
  position: absolute;
  left: -1.2rem;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-saffron);
  border: 2px solid #ffffff;
}

.glimpse-event-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-saffron);
  margin-bottom: 0.15rem;
}

.glimpse-event-desc {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.45;
}

.glimpse-and-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: right;
  margin-top: 0.8rem;
  font-style: italic;
}

/* Bottom Journey Quote Ribbon */
.journey-quote-ribbon {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, #350f0b 100%);
  color: #fffdf7;
  padding: 1.8rem 2.5rem;
  border-radius: var(--radius-md);
  margin-top: 3rem;
  text-align: center;
  border: 1px solid var(--saffron-gold);
  box-shadow: var(--shadow-md);
}

.journey-quote-ribbon p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--saffron-gold);
}

.journey-quote-ribbon span {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.4rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.4rem;
}

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

/* Public Service 6 Pillars Section (Matches Reference Image 1) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.pillar-icon-box {
  width: 64px;
  height: 64px;
  background: var(--bg-saffron-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-saffron);
  margin-bottom: 1.2rem;
  border: 1px solid var(--saffron-light);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.pillar-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-list {
  text-align: left;
  width: 100%;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
}

.pillar-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
  font-weight: 500;
}

.pillar-list li:last-child {
  margin-bottom: 0;
}

.pillar-list li::before {
  content: "•";
  color: var(--primary-saffron);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.1rem;
}

.pillar-stat {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-saffron);
  line-height: 1;
}

.pillar-stat-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
}

.btn-view-details {
  color: var(--primary-saffron);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-fast);
}

.btn-view-details:hover {
  color: var(--primary-hover);
  gap: 0.6rem;
}

/* Pillar Callout Bottom Banner */
.pillar-bottom-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.pillar-banner-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pillar-banner-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-saffron-light);
  color: var(--primary-saffron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pillar-banner-text h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--deep-maroon);
}

.pillar-banner-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Ramakrishna Mission & Social Work Section */
.social-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.social-image-stack {
  position: relative;
}

.social-img-main {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.social-img-main.fade-out {
  opacity: 0.15;
  transform: scale(0.98);
}

.social-card-float {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--bg-card);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  max-width: 260px;
  transition: all 0.3s ease;
}

.social-card-float h5 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--deep-maroon);
  font-weight: 700;
}

.social-card-float p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.service-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid transparent;
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-item:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.service-item.active {
  background: var(--bg-saffron-light);
  border-color: var(--border-gold);
  border-left-color: var(--primary-saffron);
  box-shadow: var(--shadow-sm);
}

.service-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(217, 83, 30, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-item.active .service-progress-track {
  opacity: 1;
}

.service-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--primary-saffron),
    var(--saffron-gold)
  );
  border-radius: 0 2px 2px 0;
  will-change: width;
}

.service-item-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-saffron-light);
  color: var(--primary-saffron);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-item.active .service-item-icon {
  background: var(--primary-saffron);
  color: #ffffff;
  transform: scale(1.1);
}

.service-item-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.2rem;
}

.service-item-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Photo Gallery & Media */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #000;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(74, 21, 16, 0.85) 0%,
    transparent 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  color: #fffdf9;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--saffron-gold);
}

/* Family & Profile Info Grid */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.profile-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.profile-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--deep-maroon);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--saffron-light);
  padding-bottom: 0.75rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border-light);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table td {
  padding: 0.75rem 0;
  font-size: 0.92rem;
  vertical-align: top;
}

.info-label {
  font-weight: 700;
  color: var(--deep-maroon);
  width: 38%;
}

.info-val {
  color: var(--text-muted);
}

/* Citizen Connect & Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, #320b08 100%);
  color: #fffdf9;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--saffron-gold);
  margin-bottom: 0.8rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(232, 150, 35, 0.4);
  color: var(--saffron-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-item div h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--saffron-gold);
  margin-bottom: 0.2rem;
}

.contact-detail-item div p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-box h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--deep-maroon);
  margin-bottom: 0.5rem;
}

.form-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep-maroon);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-saffron);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 83, 30, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit-form {
  width: 100%;
  padding: 0.9rem;
  background: var(--primary-saffron);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-gold);
}

.btn-submit-form:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 20, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

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

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: var(--bg-saffron-light);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep-maroon);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 2rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
}

.toast {
  background: var(--deep-maroon);
  color: #ffffff;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--saffron-gold);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background: #1c110c;
  color: #ddd4ce;
  padding: 4rem 0 2rem 0;
  border-top: 3px solid var(--saffron-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.footer-brand p.sub {
  font-size: 0.8rem;
  color: var(--saffron-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-saffron);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--saffron-gold);
  padding-left: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top {
  width: 40px;
  height: 40px;
  background: var(--primary-saffron);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .social-work-grid,
  .contact-grid,
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 2px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-menu.show {
    display: flex;
  }

  .top-info {
    display: none;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .overview-card-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-bottom-banner {
    flex-direction: column;
    text-align: center;
  }

  .pillar-banner-left {
    flex-direction: column;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Updates Section & Dedicated Archive Page Styles
   ========================================================================== */

/* Updates Cards Grid */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 1200px) {
  .updates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }
}

.update-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

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

.update-card-image {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.update-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.update-card:hover .update-card-image img {
  transform: scale(1.05);
}

.update-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--deep-maroon);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.update-card-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--primary-saffron);
  font-weight: 600;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

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

.update-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.update-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.update-card-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 0.8rem;
}

.btn-read-update {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-saffron);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.update-card:hover .btn-read-update {
  gap: 0.6rem;
  color: var(--primary-hover);
}

/* Dedicated Updates Page Hero Banner */
.updates-hero-banner {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, #3b0918 100%);
  color: #ffffff;
  padding: 4rem 0 3.5rem 0;
  text-align: center;
  position: relative;
}

.updates-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(232, 150, 35, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.updates-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--saffron-gold);
  margin: 0.6rem 0 1rem 0;
}

.updates-hero-content p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Filter Card & Toolbar */
.filter-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.filter-form-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 1.2rem;
  align-items: end;
}

@media (max-width: 992px) {
  .filter-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .filter-form-grid {
    grid-template-columns: 1fr;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep-maroon);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-main);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.filter-input:focus {
  outline: none;
  border-color: var(--primary-saffron);
  box-shadow: 0 0 0 3px rgba(232, 150, 35, 0.2);
}

.filter-actions {
  display: flex;
  gap: 0.6rem;
}

.btn-filter-submit {
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
}

.btn-filter-reset {
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
}

/* Active Filters & Results Bar */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.filter-pill {
  background: var(--bg-saffron-light);
  color: var(--deep-maroon);
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
}

.clear-all-link {
  color: var(--primary-saffron);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.5rem;
}

.results-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.2rem 1.2rem 0.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.8rem;
}

/* Pagination Controls */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.page-link {
  min-width: 42px;
  height: 42px;
  padding: 0 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.page-link:hover:not(.disabled):not(.active) {
  background: var(--bg-saffron-light);
  border-color: var(--primary-saffron);
  color: var(--primary-saffron);
}

.page-link.active {
  background: var(--deep-maroon);
  border-color: var(--deep-maroon);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bg-secondary);
}

.page-link.ellipsis {
  border: none;
  background: transparent;
}

/* Update Modal Specific Layout */
.update-detail-meta-box {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.8rem 1rem;
  background: var(--bg-saffron-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-saffron);
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: var(--deep-maroon);
  font-weight: 600;
}

.update-media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.update-media-item-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  background: #0f172a;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.update-media-item-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-saffron);
}

.update-media-item-wrapper img,
.update-media-item-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Overlay */
.update-media-item-wrapper.video-item .media-type-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.4rem;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.update-media-item-wrapper.video-item:hover .media-type-overlay {
  background: rgba(217, 83, 30, 0.6);
  color: #ffffff;
}

.update-media-item-wrapper.video-item .media-type-overlay i {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* PDF Item Styling */
.update-media-item-wrapper.pdf-item {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  text-align: center;
  border: 1.5px solid var(--border-gold);
}

.update-media-item-wrapper.pdf-item .pdf-icon {
  font-size: 2.6rem;
  color: #ef4444;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.update-media-item-wrapper.pdf-item .pdf-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
  word-break: break-word;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-media-item-wrapper.pdf-item .pdf-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--saffron-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Redesigned Premium Footer & Developer Credit
   ========================================================================== */
.footer {
  position: relative;
  background: linear-gradient(180deg, #180905 0%, #0d0402 100%);
  color: #e5dada;
  padding: 4rem 0 2rem 0;
  border-top: 3px solid var(--primary-saffron);
  overflow: hidden;
}

.footer-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--saffron-gold),
    transparent
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4.5rem;
  margin-bottom: 3rem;
}

.footer-brand-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.footer-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--saffron-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.footer-mission {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #bfae9e;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #d8c8b8;
}

.footer-contact-mini span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-saffron);
}

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

.footer-links a {
  color: #bfae9e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--primary-saffron);
  transition: transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--saffron-gold);
  transform: translateX(4px);
}

.footer-links a:hover i {
  color: #ffffff;
  transform: translateX(2px);
}

/* Footer Bottom & Voteecal Developer Credit */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: #9e8e82;
  flex-wrap: wrap;
}

.footer-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  font-size: 0.88rem;
}

.footer-developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.footer-developer-credit:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--saffron-gold);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.credit-label {
  font-size: 0.82rem;
  color: #bfae9e;
  font-weight: 500;
}

.voteecal-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.voteecal-logo-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.voteecal-name {
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffc043 0%, #ff9a26 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.voteecal-brand-link:hover {
  transform: scale(1.05);
}

.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-saffron);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: var(--saffron-gold);
  transform: translateY(-3px);
  color: var(--deep-maroon);
}

/* ==========================================================================
   Comprehensive Responsive Layout Breakpoints (Laptops, Tablets, Mobiles)
   ========================================================================== */

/* --- 1. Large Laptops & Desktops (Max-width: 1200px) --- */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .journey-main-title {
    font-size: 2.5rem;
  }
}

/* --- 2. Medium Tablets & Small Laptops (Max-width: 992px) --- */
@media screen and (max-width: 992px) {
  /* Top Bar */
  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }

  /* Mobile Navbar Style */
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-saffron-light);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--primary-saffron);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .mobile-toggle:hover,
  .mobile-toggle:active {
    background: var(--primary-saffron);
    color: #ffffff;
    border-color: var(--primary-saffron);
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--border-gold);
    box-shadow: 0 15px 30px rgba(74, 21, 16, 0.15);
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--bg-saffron-light);
    color: var(--primary-saffron);
    border-left-color: var(--primary-saffron);
    padding-left: 1.25rem;
  }

  .nav-link::after {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-slider-wrapper {
    height: 380px;
    min-height: 380px;
    max-height: 420px;
  }

  /* Quick Stats Bar */
  .stats-grid-hero {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Journey Section Responsiveness */
  .journey-header-box {
    flex-direction: column-reverse;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .journey-header-text {
    width: 100%;
    padding-bottom: 0;
    text-align: center;
  }

  .journey-header-desc {
    margin: 0 auto;
  }

  .journey-header-portrait {
    width: 100%;
    text-align: center;
  }

  .journey-header-portrait img {
    max-width: 100%;
    margin: 0 auto;
  }

  .journey-main-title {
    font-size: 2.2rem;
  }

  .category-card-main {
    grid-template-columns: 180px 1fr;
  }

  .category-action {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding: 0 1.5rem 1.2rem 1.5rem;
  }

  .glimpse-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Social Work Section & Image Stack Responsiveness */
  .social-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .social-image-stack {
    height: auto;
    position: relative;
    margin-bottom: 2rem;
  }

  .social-card-float {
    position: absolute;
    bottom: -3rem;
    right: 15px;
    max-width: calc(100% - 30px);
    z-index: 5;
  }

  /* Counter Grid 3 in a row on Mobile */
  .counters-wrapper {
    padding: 1.8rem 1rem;
  }

  .counters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem 0.5rem;
  }

  .counter-item {
    border-right: none;
    padding: 0.4rem 0.2rem;
  }

  .counter-value {
    font-size: 2rem;
  }

  .counter-label {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* --- 3. Portrait Tablets & Mobile Devices (Max-width: 768px) --- */
@media screen and (max-width: 768px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .section {
    padding: 2rem 0;
    position: relative;
  }

  /* Brand Logo Mobile */
  .brand-logo {
    gap: 0.6rem;
  }

  .gita-banner {
    display: none;
  }

  .gita-text {
    font-size: 0.85rem;
  }

  .gita-source {
    font-size: 0.75rem;
  }

  .gita-quote-top {
    font-size: 0.75rem;
  }

  .brand-bjp-logo {
    height: 38px;
  }

  .brand-text h1 {
    font-size: 1.15rem;
  }

  .brand-text span {
    font-size: 0.65rem;
  }

  /* Hero Mobile */
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-slider-wrapper {
    height: 320px;
    min-height: 320px;
  }

  /* Quick Stats Bar */
  .stats-grid-hero {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Counters Grid 3 in a row on Mobile */
  .counters-wrapper {
    padding: 1.5rem 0.8rem;
    margin-top: 0rem;
  }

  .counters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 0.4rem;
  }

  .counter-item {
    border-right: none;
    padding: 0.35rem 0.15rem;
    text-align: left;
  }

  .counter-value {
    font-size: 1.85rem;
  }

  .counter-label {
    font-size: 0.68rem;
    line-height: 1.2;
    letter-spacing: 0;
  }

  /* Category Cards Horizontal Stack -> Vertical Mobile Stack */
  .category-card-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .category-media-block {
    width: 100%;
    height: 180px;
    min-height: 180px;
  }

  .category-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .category-info {
    padding: 1.2rem 1.2rem 0.5rem 1.2rem;
  }

  .category-title-text {
    font-size: 1.2rem;
  }

  .category-action {
    padding: 0.8rem 1.2rem 1.2rem 1.2rem;
  }

  .btn-category-toggle {
    width: 100%;
    justify-content: center;
  }

  .glimpse-columns-grid {
    grid-template-columns: 1fr;
  }

  /* Updates Grid */
  .updates-grid {
    grid-template-columns: 1fr;
  }

  /* Grievance Form Box */
  .form-box {
    padding: 1.5rem 1.2rem;
  }

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

  /* --- 4. Small Mobile Phones (Max-width: 480px) --- */
  @media screen and (max-width: 480px) {
    .social-card-float {
      position: relative;
      bottom: auto;
      right: auto;
      max-width: 100%;
      margin-top: 1rem;
      box-shadow: var(--shadow-sm);
    }

    .hero-title {
      font-size: 1.8rem;
    }

    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }

    .btn-primary,
    .btn-outline {
      width: 100%;
      justify-content: center;
    }

    .stats-grid-hero {
      grid-template-columns: 1fr;
    }

    .counters-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 0.8rem 0.3rem;
    }

    .counter-value {
      font-size: 1.65rem;
    }

    .counter-label {
      font-size: 0.65rem;
    }

    .journey-main-title {
      font-size: 1.75rem;
    }

    .journey-sub-years {
      font-size: 1.05rem;
    }

    .hero-slider-wrapper {
      height: 260px;
      min-height: 260px;
    }
  }
}
