/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* ── Hero ────────────────────────────────────── */
/* ── Hero ─────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(135deg, #C94000 0%, #FF6B00 50%, #FF9133 100%);
}

.hero .container {
  height: 100%;
  display: flex;
  align-items: flex-end;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.15;
  filter: grayscale(100%) brightness(50%);
}

/* Overlay: diagonal stripe texture - consistent with page-hero */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(-55deg,
      transparent 0px,
      transparent 36px,
      rgba(255, 255, 255, 0.04) 36px,
      rgba(255, 255, 255, 0.04) 37px);
  pointer-events: none;
  z-index: 1;
}

/* Shimmer sweep animation */
.hero-overlay-bottom {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero-overlay-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(108deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 38%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.04) 62%,
      transparent 100%);
  animation: hero-shimmer 6s ease-in-out infinite;
}

/* SVG arc pattern container */
.hero-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

@keyframes hero-shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: 160%;
    opacity: 0;
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: calc(100% - 80px);
  /* Height minus navbar offset */
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  /* Give more space to the left content column */
  align-items: end;
  gap: 40px;
  /* Reduced gap to allow more visual area for the portrait */
}

.hero-content {
  max-width: 780px;
  margin-bottom: 60px;
  /* Keep content vertically balanced */
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--white);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
}

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

.hero-portrait {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  /* Align portrait to the right edge */
  position: relative;
  height: 100%;
}

.portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  margin-bottom: -1px;
  /* Align perfectly to the bottom edge */
}

.portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 100%;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.18)) contrast(1.02) brightness(1.02);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll .mouse {
  width: 18px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.hero-scroll .mouse::before {
  content: '';
  width: 4px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  animation: scroll-dot 1.5s ease infinite;
}

@keyframes scroll-dot {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(5px);
    opacity: 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* ── Marquee Banner ──────────────────────────── */
.marquee-banner {
  background: var(--primary);
  padding: 12px 0;
  overflow: hidden;
}

.marquee-banner .marquee-item {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 3px;
}

.marquee-banner .marquee-item .dot {
  color: var(--white);
}

/* ── About Teaser ────────────────────────────── */
.about-teaser {
  padding: var(--section-pad);
  background: var(--white);
}

.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  object-position: top;
  height: 540px;
}

.about-img-deco {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-img-deco-2 {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.5;
}

.about-flag-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--navy);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.about-flag-badge .flag-icon {
  font-size: 2rem;
}

.about-flag-badge .flag-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.about-flag-badge .flag-text span {
  color: var(--primary);
  display: block;
  font-size: 0.7rem;
}

.about-content h2 {
  margin-bottom: 12px;
}

.about-content p {
  margin-bottom: 20px;
}

.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  /* Vertical center alignment for text and icon */
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  /* Pure white cards to stand out on off-white section backdrop */
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
  /* Soft premium shadow */
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.08);
  /* BJP Saffron hover shadow */
}

.highlight-item .hi-icon {
  font-size: 1.15rem;
  color: var(--saffron);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 107, 0, 0.08);
  /* soft Saffron background badge */
  border-radius: 50%;
}

.highlight-item .hi-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* ── Vision Strip ────────────────────────────── */
.vision-strip {
  background: var(--off-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.vision-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-pillars {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-dark);
  transition: var(--transition);
}

.pillar-item:hover {
  background: var(--saffron-pale);
  border-color: var(--saffron);
  transform: translateX(8px);
}

.pillar-icon {
  font-size: 1.4rem;
  color: var(--saffron);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.08);
  /* Saffron tint badge */
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon {
  background: var(--saffron);
  color: var(--white);
}

.pillar-text h4 {
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 1rem;
}

.pillar-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.vision-quote {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: 2px;
}

.vision-quote em {
  color: var(--primary);
  font-style: normal;
}

/* ── News Teaser ─────────────────────────────── */
.news-teaser {
  padding: var(--section-pad);
}

.news-teaser-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--border-dark);
  transition: var(--transition);
}

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

.news-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

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

.news-card-img-wrap {
  overflow: hidden;
}

.news-card-body {
  padding: 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card-meta .date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-meta .cat {
  color: var(--primary);
  font-weight: 600;
}

.news-card h4 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-dark);
  transition: var(--transition);
}

.news-card:hover h4 {
  color: var(--primary);
}

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

.news-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.read-more:hover {
  gap: 12px;
}

/* ── Animations ──────────────────────────────── */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Mobile */
@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .hero .container {
    height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 0;
    gap: 30px;
    height: auto;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-portrait {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .portrait-wrap {
    max-width: 320px;
    height: auto;
    margin-bottom: 0;
  }

  .portrait-img {
    height: auto;
    max-height: 380px;
    object-fit: contain;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .about-teaser-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-wrap {
    display: none;
  }

  .vision-strip-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-teaser-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-story {
  padding: var(--section-pad);
  background: var(--white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-img-col {
  position: relative;
}

.about-story-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  object-position: top;
  height: 560px;
}

.about-accent-box {
  position: absolute;
  bottom: 40px;
  right: -40px;
  background: var(--primary);
  color: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(255, 107, 0, 0.4);
  text-align: center;
}

.about-accent-box .big-num {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  display: block;
  line-height: 1;
}

.about-accent-box .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-text-col h2 {
  margin-bottom: 16px;
}

.about-text-col p {
  margin-bottom: 20px;
}

.positions-list {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  /* Increased gap */
}

.position-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 32px;
  /* Increased padding */
  background: var(--white);
  /* White cards on off-white section background */
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary);
  /* BJP Saffron left border accent */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  /* Soft shadow */
  transition: all 0.3s ease;
}

.position-item:hover {
  transform: translateY(-4px);
  /* Clean upward lift */
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.08);
  /* Glow shadow */
}

.position-item .p-icon {
  font-size: 1.6rem;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.08);
  /* Saffron tint badge */
  border-radius: 50%;
}

.position-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.position-item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── Key Highlights ──────────────────────────── */
.key-highlights {
  padding: var(--section-pad);
  background: var(--green);
  /* BJP Green background */
  position: relative;
  overflow: hidden;
}

.key-highlights::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.key-highlights .container {
  position: relative;
  z-index: 1;
}

.key-highlights .divider.center {
  background: var(--saffron);
  /* Saffron divider line for contrast */
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.highlight-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: none;
  /* Borderless design for premium card styling */
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  background: var(--white);
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.highlight-card .hc-icon {
  font-size: 1.35rem;
  /* Adjusted to medium size */
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.08);
  /* BJP Saffron tint */
  color: var(--saffron);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.highlight-card:hover .hc-icon {
  background: var(--saffron);
  color: var(--white);
  transform: rotate(360deg);
  /* Icon rotation micro-animation */
}

.highlight-card h3 {
  color: var(--text-dark);
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================
   ACHIEVEMENTS PAGE STYLES
   ============================================ */
.achievements-section {
  padding: var(--section-pad);
  background: var(--off-white);
  /* Off-white background to make white cards pop */
}

.positions-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.pos-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  /* Premium soft shadow */
  border: none;
  /* Borderless */
  border-left: 5px solid var(--primary);
  /* Saffron left border accent */
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.pos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(255, 107, 0, 0.08);
  /* Glow effect */
}

.pos-card .pos-num {
  font-family: var(--ff-display);
  font-size: 4rem;
  color: rgba(255, 107, 0, 0.12);
  /* Slightly higher contrast for large numbers */
  line-height: 1;
  flex-shrink: 0;
}

.pos-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.pos-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.pos-card .pos-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  /* Corrected from margin-top: 12px */
}

/* ── Focus Areas ──────────────────────────────── */
.focus-areas {
  padding: var(--section-pad);
  background: var(--off-white);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.focus-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.focus-card:hover {
  border-top-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.focus-card .fc-icon {
  font-size: 1.3rem;
  /* Adjusted to medium size */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 24px;
  transition: all 0.4s ease;
  background: rgba(255, 107, 0, 0.08);
  /* Saffron BJP tint */
  color: var(--saffron);
}

.focus-card:hover .fc-icon {
  background: var(--saffron);
  color: var(--white);
  transform: rotate(360deg);
}

.focus-card .fc-icon.green {
  background: rgba(19, 136, 8, 0.08);
  /* Green BJP tint */
  color: var(--green);
}

.focus-card:hover .fc-icon.green {
  background: var(--green);
  color: var(--white);
}

.focus-card h4 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.focus-card p {
  font-size: 0.90rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================
   VISION & MISSION PAGE STYLES
   ============================================ */
.vision-intro {
  padding: var(--section-pad);
}

.vision-lead {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vision-lead h2 {
  margin-bottom: 24px;
}

.vision-lead p {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.double-engine {
  padding: var(--section-pad);
  background: var(--off-white);
  /* Off-white backdrop to frame cards */
}

.double-engine-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* Give slightly more space to visual column */
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.engine-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.engine-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.engine-card.national {
  background: var(--saffron);
  /* Solid saffron background */
  grid-column: span 2;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.12);
}

.engine-card.national h4 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.engine-card.national p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.engine-card.regional {
  background: var(--white);
  /* Pure white cards */
  border: none;
}

.engine-card.regional:nth-child(2) {
  border-left: 5px solid var(--green);
  /* BJP Green border for regional engine */
}

.engine-card.regional:nth-child(3) {
  border-left: 5px solid var(--saffron);
  /* BJP Saffron border for synergy engine */
}

.engine-card.regional h4 {
  color: var(--text-dark);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.engine-card.regional p {
  color: var(--text-muted);
  font-size: 0.90rem;
  line-height: 1.6;
  margin: 0;
}

.engine-card:hover {
  transform: translateY(-5px);
}

.engine-card.national:hover {
  box-shadow: 0 16px 36px rgba(255, 107, 0, 0.22);
}

.engine-card.regional:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.engine-card .e-icon {
  font-size: 1.35rem;
  /* Adjusted to medium size for better icon breathing room */
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.engine-card.national .e-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.engine-card.regional:nth-child(2) .e-icon {
  background: rgba(19, 136, 8, 0.08);
  /* Green badge tint */
  color: var(--green);
}

.engine-card.regional:nth-child(3) .e-icon {
  background: rgba(255, 107, 0, 0.08);
  /* Saffron badge tint */
  color: var(--saffron);
}

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

.commitment-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-dark);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.commitment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.commitment-card:hover::before {
  transform: scaleX(1);
}

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

.commitment-card .cc-icon {
  font-size: 1.3rem;
  /* Adjusted to medium size */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 24px;
  transition: all 0.4s ease;
  background: rgba(255, 107, 0, 0.08);
  /* Saffron BJP tint */
  color: var(--saffron);
}

.commitment-card:hover .cc-icon {
  background: var(--saffron);
  color: var(--white);
  transform: rotate(360deg);
}

.commitment-card .cc-icon.green {
  background: rgba(19, 136, 8, 0.08);
  /* Green BJP tint */
  color: var(--green);
}

.commitment-card:hover .cc-icon.green {
  background: var(--green);
  color: var(--white);
}

.commitment-card h4 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.commitment-card p {
  font-size: 0.90rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.dev-statements {
  padding: 80px 0;
  background: var(--off-white);
  /* Light off-white backdrop */
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.dev-statement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;
  margin: 0 auto;
}

.dev-statement {
  font-family: var(--ff-display);
  font-size: 2.1rem;
  color: var(--text-muted);
  /* Corrected from var(--light-gray) for contrast */
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: default;
}

.dev-statement:hover {
  color: var(--primary);
}

.dev-statement.featured {
  color: var(--white) !important;
  background: var(--saffron);
  /* Saffron highlighted banner */
  font-size: 2.1rem;
  font-weight: 800;
  display: inline-block;
  align-self: center;
  /* Center horizontally in flex column */
  padding: 14px 44px;
  border-radius: 50px;
  margin: 16px 0;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.16);
  border: none;
  letter-spacing: 1px;
}

.thought-leadership {
  padding: var(--section-pad);
  background: var(--off-white);
}

.tl-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  /* Custom widths for optimal grid distribution */
  gap: 80px;
  align-items: flex-start;
  /* Corrected to top alignment for proper visual balance */
}

.message-section {
  padding: var(--section-pad);
  background: var(--white);
  /* Pure white background for high contrast UX */
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
}

.message-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.message-inner h2 {
  color: var(--text-dark);
  margin-bottom: 32px;
}

.message-lines {
  margin: 32px 0;
}

.message-line {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.message-line::before {
  content: '→';
  color: var(--primary);
  font-weight: 700;
}

.message-signature {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.message-signature .sig-name {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--primary);
  margin-top: 12px;
  display: block;
}

.jai-hind {
  font-family: var(--ff-display);
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--green);
  /* BJP Green */
  margin-top: 20px;
  display: block;
  font-weight: 700;
}

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */
.gallery-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.gallery-grid {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.9), transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-item-overlay .gi-title {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-item-overlay .gi-cat {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gallery-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: var(--transition);
  color: var(--text-dark);
}

.gallery-item:hover .gallery-zoom-btn {
  opacity: 1;
}

.gallery-item.hidden {
  display: none;
}

/* ── Lightbox ────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
  color: var(--white);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.3rem;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    columns: 1;
  }

  .positions-cards {
    grid-template-columns: 1fr;
  }

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

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

  .double-engine-grid {
    grid-template-columns: 1fr;
  }

  .tl-inner {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

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

  .engine-visual {
    grid-template-columns: 1fr;
  }

  .engine-card.national {
    grid-column: span 1;
  }

  .position-item,
  .pos-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 20px;
  }

  /* Lightbox Mobile Enhancements */
  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-caption {
    bottom: 12px;
    font-size: 0.8rem;
    width: 80%;
    white-space: normal;
    line-height: 1.4;
  }
}

/* ============================================
   NEWS PAGE STYLES
   ============================================ */
.featured-news {
  padding: var(--section-pad);
}

.featured-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border: 1px solid var(--border-dark);
  min-height: 460px;
  /* Minimum height baseline */
}

.featured-card-img {
  width: 100%;
  height: 100%;
  /* Stretch to completely fill the grid cell, eliminating empty spaces */
  object-fit: cover;
  object-position: top;
}

.featured-card-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-card-body .section-label {
  margin-bottom: 20px;
}

.featured-card-body h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-card-body p {
  margin-bottom: 24px;
}

.news-grid-section {
  padding: 0 0 var(--section-pad);
}

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

.pagination {
  display: flex;
  gap: 10px;
  /* Slightly larger gaps */
  justify-content: center;
  margin-top: 48px;
}

.pagination a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-dark);
  font-size: 0.92rem;
  font-weight: 600;
  /* Bold numbers for readability */
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  /* Modern soft shadow */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pagination a.active,
.pagination a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.22);
  /* BJP Saffron glow shadow */
  transform: translateY(-2px);
}

.pagination a.pagination-next {
  width: auto;
  padding: 0 22px;
  border-radius: 50px;
  gap: 8px;
  /* Correct spacing between text and arrow icon */
}

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

@media (max-width: 768px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card-img {
    height: 260px;
  }

  .news-grid-section .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-card-body {
    padding: 32px 24px;
  }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-section {
  padding: var(--section-pad);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.contact-info-card .ci-icon {
  width: 52px;
  height: 52px;
  background: var(--saffron);
  /* Solid saffron background */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  /* Adjusted to medium size */
  color: var(--white);
  /* Ensure icon is white */
  flex-shrink: 0;
  box-shadow: none;
  /* Removed box shadow */
}

.contact-info-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-dark);
}

.contact-form-wrap h3 {
  margin-bottom: 8px;
}

.contact-form-wrap .sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.08);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.map-section {
  padding: 0 0 var(--section-pad);
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-visual-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.map-info-panel {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

@media (max-width: 768px) {
  .map-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .map-visual-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    height: 300px;
  }

  .map-info-panel {
    padding: 36px 24px;
  }
}

/* ── Newsletter Form (News Page) ────────────────── */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Contact Page Social Links ───────────────────── */
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  /* Soft shadow */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.22);
  /* Saffron glow shadow */
}

/* ── About Story Sub Grid (More Images) ─────────── */
.about-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-sub-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
}

.about-sub-img:hover {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-form-wrap {
    padding: 28px 20px;
  }
}

/* ── Form Validation & Feedback States ──────────────── */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

.form-group.has-error label {
  color: #ef4444 !important;
}

.form-error-msg {
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: formErrorFadeIn 0.2s ease-in-out;
}

@keyframes formErrorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Toast Overlay */
.form-success-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #10b981;
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease;
}

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

.form-success-toast i {
  font-size: 1.25rem;
}