:root {
  --saffron: #f47216;
  --saffron-dark: #b84d06;
  --green: #046a38;
  --green-bright: #00a650;
  --ink: #1f2430;
  --muted: #5b6270;
  --bg: #fffaf4;
  --bg-alt: #fff0e2;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 36, 48, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron-dark); }
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 244, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--saffron);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--saffron-dark); }
.lang-toggle {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 2px solid var(--saffron); background: transparent; color: var(--saffron-dark);
  padding: 0.2rem 0.9rem; border-radius: 999px;
}
.lang-toggle:hover { background: var(--saffron); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; margin: 4px 0; background: var(--ink); border-radius: 2px; }

.hero {
  background:
    url("../images/bjp-lotus.svg") no-repeat right -60px bottom -80px / 420px auto,
    linear-gradient(135deg, #e85f0a 0%, #f47216 55%, #ff8a2e 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: var(--green);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232, 95, 10, 0.9) 0%, rgba(244, 114, 22, 0.82) 60%, rgba(255, 138, 46, 0.6) 100%);
}
.hero-grid { position: relative; z-index: 1; }
.party {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.8rem;
  background: #fff; color: var(--saffron-dark); font-weight: 800; padding: 0.3rem 1rem 0.3rem 0.4rem; border-radius: 999px;
}
.party img { width: 28px; height: auto; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { margin: 0; color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.15; margin: 0.3rem 0 1rem; text-shadow: 0 2px 12px rgba(120, 40, 0, 0.35); }
.titles { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.2rem; }
.badge { background: #fff; color: var(--saffron-dark); padding: 0.3rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.badge-outline { background: var(--green); color: #fff; border: 2px solid #fff; }
.tagline { font-size: 1.4rem; font-weight: 600; color: #fff; margin: 0 0 1.8rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn {
  display: inline-block; padding: 0.7rem 1.5rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.hero .btn-primary { background: var(--green); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.hero-photo img {
  width: 100%; max-width: 420px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 24px; border: 6px solid #fff; box-shadow: 0 18px 48px rgba(90, 30, 0, 0.35);
}

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 2rem; position: relative; padding-bottom: 0.5rem; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--saffron); border-radius: 2px; }

.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; }
.facts { list-style: none; margin: 0; padding: 1.5rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts li { display: flex; flex-direction: column; padding: 0.6rem 0; border-bottom: 1px dashed #f0d6bd; }
.facts li:last-child { border-bottom: 0; }
.facts strong { color: var(--saffron-dark); font-size: 0.9rem; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--saffron); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.2rem; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.5rem - 9px); top: 6px;
  width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--saffron);
}
.timeline li.highlight::before { background: var(--green); border-color: var(--green); }
.timeline .when { font-weight: 800; color: var(--saffron-dark); }
.timeline li.highlight .when { color: var(--green); }
.timeline p { margin: 0.2rem 0 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--card); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 4px solid var(--saffron); border-bottom: 4px solid var(--green-bright); }
.card .icon { font-size: 2rem; }
.card h3 { margin: 0.5rem 0; }
.card p { margin: 0; color: var(--muted); }

.updates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.update { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.update time { font-size: 0.9rem; font-weight: 600; color: var(--green); }
.update h3 { margin: 0.3rem 0 0.5rem; }
.update p { margin: 0; color: var(--muted); }
.more { margin-top: 1.5rem; font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g-item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.g-item img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; transition: transform 0.3s; }
.g-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.9);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; cursor: pointer; padding: 0.5rem 1rem; line-height: 1; }
.lb-close { top: 0.5rem; right: 0.5rem; }
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { display: flex; flex-direction: column; margin-bottom: 1rem; }
.contact-list strong { color: var(--saffron-dark); font-size: 0.9rem; }
.contact-list a { word-break: break-all; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.site-footer { background: var(--green); color: #fff; text-align: center; padding: 1.8rem 0; font-size: 0.95rem; border-top: 6px solid var(--saffron); }
.footer-logo { width: 40px; height: auto; margin: 0 auto 0.6rem; background: #fff; border-radius: 50%; padding: 6px; box-sizing: content-box; }
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .cards, .updates { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 3px solid var(--saffron); display: none; padding: 0.5rem 0 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0; width: 100%; text-align: center; }
  .lang-toggle { margin-top: 0.5rem; }
  .hero { padding: 2.5rem 0; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { order: -1; }
  .hero-photo img { margin: 0 auto; max-width: 280px; }
  .hero { background-size: 260px auto, auto; background-position: right -50px bottom -40px, 0 0; }
  .hero-text { text-align: center; }
  .titles, .cta { justify-content: center; }
  .cards, .updates { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
