:root {
    --saffron: #ff7a00;
    --saffron-dark: #e45c00;
    --saffron-soft: #fff1e0;
    --india-saffron: #ff9933;
    --green: #138808;
    --green-dark: #0d6b05;
    --green-soft: #e8f6ea;
    --navy: #1a2433;
    --text: #243041;
    --muted: #667085;
    --border: #eadfce;
    --surface: #ffffff;
    --soft: #fff8f1;
    --shadow: 0 18px 40px rgba(180, 70, 0, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
    font-family: Inter, "Noto Sans Devanagari", sans-serif;
    color: var(--text);
    background: var(--soft);
}
.landing-body {
    background:
        radial-gradient(900px 420px at -10% -10%, rgba(255, 153, 51, .28), transparent 55%),
        radial-gradient(700px 360px at 110% 8%, rgba(19, 136, 8, .14), transparent 50%),
        linear-gradient(180deg, #fff6ea 0%, #fffdf8 38%, #f3f8f3 100%);
}

.gov-tricolor { display: flex; height: 7px; }
.gov-tricolor .band { flex: 1; }
.gov-tricolor .saffron { background: #ff9933; }
.gov-tricolor .white { background: #fff; }
.gov-tricolor .green { background: #138808; }

.gov-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 153, 51, .22);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(228, 92, 0, .08);
}
.gov-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.gov-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
}
.gov-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(228, 92, 0, .25));
}
.gov-brand strong {
    display: block;
    font-family: Poppins, Inter, sans-serif;
    font-size: 19px;
    line-height: 1.1;
}
.gov-brand span { font-size: 12px; color: var(--saffron-dark); font-weight: 600; }
.gov-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.gov-nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 13px;
}
.gov-nav .nav-volunteer {
    background: var(--green);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
}
.gov-nav .nav-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .22);
}
.gov-nav .nav-login {
    background: linear-gradient(135deg, var(--india-saffron), var(--saffron-dark));
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(228, 92, 0, .28);
}
.ticker-move a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.ticker-move a:hover { text-decoration: underline; }

.gov-ticker {
    display: flex;
    align-items: stretch;
    background: #1c140c;
    color: #fff;
    overflow: hidden;
}
.ticker-label {
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--india-saffron), var(--saffron-dark));
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-move {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
    padding-left: 24px;
    font-size: 13px;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.join-band {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255, 122, 0, .95), rgba(228, 92, 0, .92) 48%, rgba(19, 136, 8, .92));
    color: #fff;
}
.join-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 36%);
    pointer-events: none;
}
.join-band-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 30px;
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}
.join-lotus {
    width: 108px;
    height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.2));
    flex: 0 0 auto;
}
.join-kicker {
    display: inline-block;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.join-copy h1 {
    margin: 0 0 8px;
    font-family: Poppins, Inter, sans-serif;
    font-size: 34px;
    line-height: 1.15;
    max-width: 26ch;
}
.join-copy p {
    margin: 0 0 16px;
    max-width: 56ch;
    color: rgba(255,255,255,.92);
    font-size: 15px;
}
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-saffron,
.btn-green,
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 999px;
}
.btn-saffron {
    background: #fff;
    color: var(--saffron-dark);
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.btn-green {
    background: #0f6d08;
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.btn-download {
    background: rgba(15, 23, 42, .92);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.gov-main { max-width: 1200px; margin: 0 auto; padding: 24px 20px 56px; }
#events, #gallery, #news { scroll-margin-top: 88px; }
.gov-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
    gap: 20px;
    align-items: start;
}
.hero-slider {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #120e0a;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 153, 51, .35);
}
.hero-slider:has(.hero-fallback) {
    min-height: 520px;
}
.hero-fallback.hero-slide.active {
    position: absolute;
    inset: 0;
    display: block;
}
.hero-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-fallback .hero-caption {
    background: linear-gradient(transparent, rgba(28, 20, 12, .92));
}
.hero-slide {
    display: none;
}
.hero-slide.active {
    display: block;
    position: relative;
    z-index: 1;
}
.hero-slide-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}
.hero-slide-photo .hero-slide-link {
    display: flex;
    flex-direction: column;
}
.hero-slide-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #120e0a;
}
.hero-slide-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}
.hero-slide-photo .hero-caption {
    position: static;
    padding: 14px 20px 34px;
    background: #1c140c;
}
.hero-readmore {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 800;
    color: #ffe0b8;
}
.hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 24px 36px;
    background: linear-gradient(transparent, rgba(28, 20, 12, .9));
    color: #fff;
}
.hero-kicker {
    display: inline-block;
    background: linear-gradient(135deg, var(--india-saffron), var(--saffron-dark));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.hero-caption h1,
.hero-caption h2 {
    margin: 0 0 8px;
    font-family: Poppins, Inter, sans-serif;
    font-size: 28px;
    line-height: 1.2;
}
.hero-caption p { margin: 0; color: #e8edf1; font-size: 14px; max-width: 640px; }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--navy);
    cursor: pointer;
}
.hero-slider:has(.hero-slide-photo) .slider-btn {
    top: 32%;
}
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-dots {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}
.slider-dots .dot.active { background: #fff; }

.events-panel {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 153, 51, .2);
}
.events-panel-head {
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, #fff7ec, #fff);
    border-bottom: 3px solid var(--india-saffron);
}
.panel-kicker,
.section-kicker {
    display: inline-block;
    color: var(--saffron-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.events-panel-head h2 {
    margin: 0 0 6px;
    font-size: 20px;
    color: var(--navy);
    font-family: Poppins, Inter, sans-serif;
}
.events-panel-head p { margin: 0; color: var(--muted); font-size: 13px; }
.events-list {
    overflow: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.event-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    border: 1px solid rgba(255, 153, 51, .18);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(180deg, #fff, #fffaf4);
    transition: transform .18s ease, box-shadow .18s ease;
}
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(228, 92, 0, .12);
}
.event-date {
    background: linear-gradient(180deg, var(--india-saffron), var(--saffron-dark));
    color: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 8px 4px;
}
.event-date strong { display: block; font-size: 20px; line-height: 1; }
.event-date span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.event-body h3 { margin: 0 0 4px; font-size: 14px; color: var(--navy); }
.event-meta { margin: 0; font-size: 12px; color: var(--muted); }
.event-desc { margin: 6px 0 0; font-size: 12px; color: var(--text); }
.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
}
.event-btn.view {
    background: #eef3f7;
    color: var(--navy);
}
.event-btn.volunteer {
    background: var(--saffron-soft);
    color: var(--saffron-dark);
}
.event-btn.benefit {
    background: var(--green-soft);
    color: var(--green-dark);
}
.events-empty {
    text-align: center;
    color: var(--muted);
    padding: 40px 16px;
}
.events-empty i { font-size: 32px; display: block; margin-bottom: 8px; color: var(--saffron); }

.section-head {
    margin: 36px 0 16px;
}
.section-head h2 {
    margin: 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: 28px;
    color: var(--navy);
}
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.gallery-section { margin-top: 8px; }
.gallery-marquee {
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #1c140c;
    height: 420px;
    border-top: 4px solid var(--india-saffron);
    border-bottom: 4px solid var(--green);
}
.gallery-track {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: max-content;
    height: 100%;
    animation: gallery-scroll 45s linear infinite;
}
.gallery-track img {
    height: 100%;
    width: auto;
    min-width: 320px;
    object-fit: cover;
    display: block;
    flex: 0 0 auto;
}
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }
@keyframes gallery-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .gallery-track { animation: none; }
}

.youth-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.youth-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 153, 51, .16);
}
.youth-card i {
    font-size: 26px;
    color: var(--saffron);
    margin-bottom: 10px;
    display: block;
}
.youth-card:nth-child(2) i { color: var(--green); }
.youth-card:nth-child(3) i { color: #c9a227; }
.youth-card strong {
    display: block;
    font-family: Poppins, Inter, sans-serif;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 16px;
}
.youth-card span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.public-detail { max-width: 820px; }
.back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}
.detail-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 153, 51, .18);
}
.detail-cover {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #120e0a;
    border-radius: 12px;
    margin-bottom: 16px;
}
.detail-card h1 {
    margin: 8px 0 12px;
    font-family: Poppins, Inter, sans-serif;
    color: var(--navy);
}
.detail-body {
    margin: 16px 0;
    line-height: 1.7;
    white-space: pre-line;
}
.detail-actions { margin-top: 18px; }
.gov-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}
.quick-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 153, 51, .14);
    transition: transform .18s ease;
}
.quick-card:hover { transform: translateY(-3px); }
.quick-card i { font-size: 22px; color: var(--saffron); }
.quick-card strong { display: block; color: var(--navy); margin-bottom: 4px; }
.quick-card span { font-size: 13px; color: var(--muted); }

.gov-footer {
    position: relative;
    background: #16110c;
    color: #eadfce;
    text-align: center;
    padding: 36px 16px 28px;
    font-size: 13px;
}
.footer-tricolor {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff9933 0 33%, #fff 33% 66%, #138808 66% 100%);
}
.footer-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 10px;
}
.footer-slogan {
    color: #ffd7a8;
    font-weight: 800;
    letter-spacing: .3px;
    margin: 0 0 8px;
}
.footer-links { display: flex; justify-content: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; }

.language-switcher { display: flex; gap: 6px; }
.language-btn {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 700;
}
.language-btn.active {
    background: var(--saffron-soft);
    border-color: var(--india-saffron);
    color: var(--saffron-dark);
}
.auth-form label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}
.auth-form input,
.auth-form textarea,
.auth-form select {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    background: #fff;
    color: inherit;
    box-sizing: border-box;
}
.auth-form select {
    appearance: auto;
    cursor: pointer;
}
.benefit-event-hero {
    margin: 8px 0 20px;
}
.benefit-event-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #120e0a;
    border: 1px solid rgba(255, 153, 51, .18);
    margin-bottom: 14px;
}
.benefit-event-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
}
.benefit-event-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--saffron-dark, #c45c12);
}
.benefit-event-title {
    margin: 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(1.45rem, 4.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--navy, #0b1f3a);
}
.benefit-event-subtitle {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: #4a5568;
}
.benefit-event-details {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
}
.auth-form .primary-btn,
.auth-form button[type="submit"] {
    width: 100%;
    margin-top: 6px;
    border: 0;
    background: linear-gradient(135deg, var(--india-saffron), var(--saffron-dark));
    color: #fff;
    font-weight: 700;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
}
.field-error { color: #c62828; font-weight: 500; display: block; margin-top: 4px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; }
.auth-switch a { color: var(--saffron-dark); font-weight: 700; }

@media (max-width: 980px) {
    .gov-hero-grid,
    .gov-quick,
    .youth-strip { grid-template-columns: 1fr; }
    .hero-slider:has(.hero-fallback),
    .events-panel { min-height: 280px; }
    .hero-slide-photo img { max-height: 560px; }
    .hero-caption h1,
    .hero-caption h2 { font-size: 22px; }
    .join-band-inner { flex-direction: column; align-items: flex-start; }
    .join-copy h1 { font-size: 26px; max-width: none; }
    .join-lotus { width: 72px; height: 72px; }
    .gov-header-inner { flex-wrap: wrap; }
    .gov-nav { width: 100%; justify-content: flex-start; }
    .gallery-marquee { height: 240px; }
    .gallery-track img { min-width: 220px; }
}
