/* ============================================================
   MEHANDIWADA JANHIT MANCH — PUBLIC CSS FOUNDATION
   ============================================================ */

/* --- Header & Brand --- */
.site-header {
    background: var(--color-surface);
    border-bottom: 3px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: 4.75rem;
    padding-block: var(--space-2);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand img {
    width: auto;
    height: 48px;
    max-width: 170px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    line-height: 1.2;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}

.header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    min-height: var(--touch);
    padding: 0 0.75rem;
    border-radius: 8px;
    background: var(--color-info);
    border: 1px solid var(--color-info-border);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.header-search:hover {
    background: #d8e7f2;
    color: var(--color-primary-dark);
}

.header-cta {
    display: none;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: var(--touch);
    min-width: var(--touch);
    background: var(--color-primary);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.nav-toggle:hover {
    background: var(--color-primary-dark);
}

/* --- Mobile Navigation Drawer & Backdrop --- */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 24, 38, 0.6);
    z-index: 190;
    backdrop-filter: blur(2px);
}

.nav-backdrop.is-active {
    display: block;
}

.site-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 360px);
    background: var(--color-surface);
    z-index: 200;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    padding: var(--space-4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.site-nav.is-open {
    display: flex;
    animation: drawerSlideIn 0.25s ease-out;
}

@keyframes drawerSlideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-3);
}

.nav-drawer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.nav-close-btn {
    background: #e8edf2;
    color: var(--color-navy-dark);
    border: 0;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    cursor: pointer;
    min-height: 38px;
}

.nav-list {
    list-style: none;
    margin: 0 0 var(--space-4);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-list a {
    display: flex;
    align-items: center;
    min-height: var(--touch);
    text-decoration: none;
    color: var(--color-navy-dark);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-list a:hover {
    background: var(--color-info);
    color: var(--color-primary);
}

.nav-list a[aria-current="page"] {
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
}

.nav-cta-wrap {
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

.nav-cta {
    width: 100%;
    text-align: center;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #08283f 0%, #0b3a5b 55%, #104e7a 100%);
    color: #f0f5fa;
    padding-block: var(--space-7);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(200, 16, 46, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(27, 122, 74, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    letter-spacing: 0.02em;
}

.hero h1 {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    color: #f6c8ce;
    margin-top: 0;
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.hero p.hero-desc {
    max-width: 44rem;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #d8e5f0;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

/* --- Section Containers --- */
.section {
    padding-block: var(--space-7);
}

.section-alt {
    background: #eef3f7;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
}

.section-head h2 {
    margin-bottom: 0.25rem;
    font-size: 1.45rem;
    color: var(--color-navy-dark);
}

.section-head p {
    margin: 0;
    font-size: 0.98rem;
}

.section-head a.section-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-primary);
}

.section-head a.section-link:hover {
    color: var(--color-accent);
}

/* --- Quick Access Grid --- */
.quick-access-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
}

.quick-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary);
    transition: background-color 0.15s ease;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #b7c7d7;
}

.quick-card:hover::before {
    background: var(--color-accent);
}

.quick-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.quick-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-info);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-card-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.quick-card h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--color-navy-dark);
}

.quick-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.5;
    flex: 1;
}

.quick-card-cta {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: var(--space-2);
}

.quick-card:hover .quick-card-cta {
    color: var(--color-accent);
}

/* --- Card Grids & Layouts --- */
.card-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
}

.media-card,
.content-card,
.stat-card,
.transparency-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.media-card:hover,
.content-card:hover,
.transparency-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.content-card,
.stat-card,
.transparency-card {
    padding: var(--space-4);
}

.media-card a.card-link,
.content-card a.card-link,
.transparency-card a.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    aspect-ratio: 16 / 10;
    background: #d9e2ea;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.media-card:hover .card-image img {
    transform: scale(1.03);
}

.card-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin: 0 0 var(--space-2);
}

.card-body h3,
.content-card h3 {
    margin: 0 0 var(--space-2);
    font-size: 1.1rem;
    color: var(--color-navy-dark);
    line-height: 1.35;
}

.card-body p,
.content-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-muted);
}

/* --- Stats Grid --- */
.stat-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
    text-align: center;
    padding: var(--space-5) var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.stat-card strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--space-1);
}

.stat-card span {
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 600;
}

/* --- Reason Grid (Why Change) --- */
.reason-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
}

.reason-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
    position: relative;
    border-left: 4px solid var(--color-primary);
}

.reason-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-info);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: var(--space-2);
}

.reason-card h3 {
    margin: 0 0 var(--space-2);
    font-size: 1.15rem;
    color: var(--color-navy-dark);
}

.reason-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

/* --- Transparency Grid --- */
.transparency-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-5);
}

.transparency-card {
    border-left: 4px solid var(--color-success);
}

.transparency-card h3 {
    margin: 0 0 var(--space-2);
    font-size: 1.15rem;
    color: var(--color-navy-dark);
}

.transparency-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
}

/* --- Citizen CTA Band --- */
.cta-band {
    background: linear-gradient(135deg, #08283f 0%, #0b3a5b 100%);
    color: #e8eef3;
    padding-block: var(--space-7);
    text-align: center;
}

.cta-band h2 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: var(--space-2);
}

.cta-band p {
    max-width: 38rem;
    margin-inline: auto;
    font-size: 1.05rem;
    color: #d0deea;
    margin-bottom: 0;
}

.cta-band .hero-actions {
    justify-content: center;
}

/* --- Gallery & Video Grids --- */
.gallery-grid {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #d9e2ea;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.04);
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #081821;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: var(--space-3);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Lightbox Modal --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 28, 0.92);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(94vw, 1100px);
    max-height: 78vh;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #ffffff;
    margin-top: var(--space-3);
    font-size: 0.95rem;
    text-align: center;
    max-width: 40rem;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 0;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* --- Footer --- */
.site-footer {
    background: var(--color-navy-dark);
    color: #d8e5f0;
    padding-block: var(--space-7) var(--space-5);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
}

.footer-brand img {
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: var(--space-3);
}

.footer-name-hi {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.15rem;
}

.footer-name-en {
    font-size: 0.9rem;
    color: #9cb3c9;
    margin: 0 0 var(--space-2);
}

.footer-tag {
    font-size: 0.88rem;
    color: #f6c8ce;
    font-weight: 600;
    margin: 0 0 var(--space-3);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.footer-links a {
    color: #c4d7e8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.15s ease;
    display: inline-block;
    padding-block: 0.15rem;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-info {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.footer-contact-info a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-legal {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: var(--space-3) var(--space-4);
    font-size: 0.88rem;
    line-height: 1.55;
    color: #f0f4f8;
    margin-bottom: var(--space-4);
}

.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.85rem;
    color: #9cb3c9;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a {
    color: #9cb3c9;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* 360px — Small Mobile */
@media (max-width: 389px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .brand img {
        height: 40px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }
}

/* 768px — Tablet */
@media (min-width: 768px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .reason-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transparency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .brand-text {
        display: flex;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.45rem;
    }
}

/* 1024px — Desktop */
@media (min-width: 1024px) {
    .header-bar {
        min-height: 5.5rem;
    }

    .nav-toggle {
        display: none;
    }

    .nav-backdrop {
        display: none !important;
    }

    .header-cta {
        display: inline-flex;
    }

    .site-nav {
        display: flex;
        position: static;
        flex: 1;
        align-items: center;
        justify-content: center;
        background: transparent;
        box-shadow: none;
        padding: 0;
        overflow-y: visible;
        width: auto;
    }

    .nav-drawer-header,
    .nav-cta-wrap {
        display: none;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.15rem 0.35rem;
        margin: 0;
    }

    .nav-list a {
        font-size: 0.9rem;
        padding: 0.35rem 0.6rem;
        min-height: 2.25rem;
    }

    .quick-access-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .reason-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .transparency-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 2.75rem;
    }
}

/* 1440px — Wide Desktop */
@media (min-width: 1440px) {
    :root {
        --max-width: 82rem;
    }

    .nav-list a {
        font-size: 0.94rem;
        padding: 0.4rem 0.75rem;
    }
}

