/* ===== Variables ===== */
:root {
    --bg:      #0a0d1a;
    --bg2:     #0f1425;
    --card:    #131726;
    --red:     #dc143c;
    --blue:    #4a9eff;
    --border:  rgba(0, 0, 0, 0.061);
    --text:    #0f1425;
    --text2:   rgba(154, 154, 154, 1);
    --text3:   rgba(255,255,255,1);
    --font:    "Mukta", sans-serif;
    --textLight:  #fff;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; height: auto; display: block; }

body {
    /* background: var(--bg); */
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Progress bar ===== */
#progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    /* background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%); */
    background: rgb(60, 127, 220);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* ===== Header ===== */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 1.2rem 0;
    background: linear-gradient(to bottom, rgba(10,13,26,0.88) 0%, transparent 100%);
    transition: background 0.35s, border-color 0.35s;
}
#header.stuck {
    background: rgba(10,13,26,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { width: 105px; }
.logo img { filter: brightness(0) invert(1); }
.header-label {
    font-size:1.25;
    color: #fff;
    font-weight: 300;
}

/* ===== Container ===== */
/* .container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
} */

/* ===== Hero ===== */
.hero-section{
    height: 100vh;
    display: flex;
    position: relative;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-section:before{
       content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}
.hero-content{
    margin-top: auto;
    max-width: 650px;
    width: 100%;
    margin-bottom: 4rem;
    color: #fff;
    position: relative;
    z-index: 3;
}
.hero-content h1{
    font-size: 4rem;
}
.hero-content p{
    font-size: 1.25rem;
}
.map-wrap {
    width: 100%;
    max-width: 1660px;
}

#nepal-map {
    width: 100%;
    height: auto;
    display: block;
}

.eyebrow {
    display: block;
    font-size: 1.25rem;
    color: var(--textLight);
    font-weight: 500;
    margin-bottom: 1.6rem;
    opacity: 0;
}


/* ===== Scroll cue ===== */
.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    z-index: 10;
    opacity: 0;
}
.scroll-track {
    width: 1px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.scroll-fill {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--blue));
    animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
    0%   { top: -100%; }
    100% { top: 100%; }
}
.scroll-txt {
    font-size: 1.125rem;
    color: var(--text3);
    opacity: 1;
}

/* ===== Intro ===== */
.intro {
    position: relative;
    padding: 7.5rem 0 6rem;
    background: #f5f5f7;
     box-shadow: 0 0 12px rgba(0, 0, 0, .16);
     border: none;
     z-index: 33;
}
.intro-para {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.9;
    /* color: var(--text2); */
    font-weight: 300;
    max-width: 700px;
    padding-left: 1.6rem;
    border-left: 2px solid var(--red);
}

/* ===== Cases ===== */
.cases {
    padding: 4rem 0 8rem;
    background-color: #f5f5f7;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.055) 1px, transparent 1px);
    background-size: 100px 100px;
    overflow: hidden;
}
.cases .container{
    max-width: 1080px;
}
.case-row {
    display: flex;
    margin-bottom: 4.5rem;
}
.case-row:last-child{
    margin-bottom: 0;
}
.case-row.left  { justify-content: flex-start; }
.case-row.right { justify-content: flex-end; }

.case-card {
    width: 75%;
    min-width: 300px;
    padding: 2.6rem 2.6rem 2.4rem 2.8rem;
    position: relative;
    transition: border-color 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
    border-radius: .75rem;
}
.case-heading{
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.feature-image{
    position: relative;
}
.case-heading .feature-image figure{
     position: relative;
    width: 280px;
    padding-top: 70%;
    overflow: hidden;
    border-radius: .35rem;
    margin: 0;
}
.case-heading .feature-image figure img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0 ;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.feature-image figcaption{
    color: rgba(0, 0, 0, .5);
    font-size: .875rem;
    margin-top: .5rem;
    position: absolute;
    left: 0;
    bottom: -2rem;
}

.case-card:hover { border-color: rgba(74,158,255,0.22); }

.case-no {
    position: absolute;
    top: 2rem; right: 2.5rem;
    font-size: 3.8rem;
    font-weight: 800;
    color: rgba(0,0,0,0.09);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.case-title {
    font-size: 1.42rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    color: var(--bg2);
}

.case-age {
    font-size: 1.125rem;
    margin-bottom: 1.2rem;
}

.income-block {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.9rem 0;
    padding-top: 0;
    /* border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); */
}

.income-lbl {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 500;
}

.income-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    /* color: var(--red); */
}

.case-text {
    font-size: 1.375rem;
    line-height: 1.75;
}

/* ===== Image breaks ===== */
.img-break {
    max-width: 500px;
    width: 100%;
    margin: 0.5rem auto 4rem;
    height: 420px;
}
.img-break-fig {
    position: relative;
    height: 100%;
    width: 100%;
}
.img-break-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}
.img-break-fig figcaption {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    color: var(--text2);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.5;
}
.img-caption-label {
    flex-shrink: 0;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    font-weight: 600;
    border: 1px solid var(--red);
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
}

/* ===== Footer ===== */
.site-footer {
    padding: 3rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-logo {
    width: 88px;
    margin: 0 auto 0.7rem;
}
.footer-logo img { filter: brightness(0) invert(1); opacity: 0.35; }
.footer-copy {
    font-size: 0.72rem;
    color: var(--text3);
    font-weight: 300;
}

/* ===== District map ===== */
.district-path {
    transition: filter 0.18s ease;
}
.district-path:hover {
    filter: brightness(1.7);
}

/* ===== Back to top ===== */
#back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
#back-to-top svg {
    width: var(--size);
    height: var(--size);
    --size: 75%;
}
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#back-to-top:hover {
    opacity: .75;
}
.case-heading.centalized{
    display: block;
    text-align: center;
}
.case-heading.centalized .income-num{
    font-size: 3rem;
}


/* ===== Responsive ===== */
@media (max-width: 992px) {
    .cases{
        padding: 3rem 0 5rem;
    }
    .case-row{
        margin-bottom: 2rem;
    }
    .case-card { width: 100%; min-width: unset; }
    .case-row.left,
    .case-row.right { justify-content: center; }
    .map-wrap { width: 100%; }
    .header-label { display: none; }
    
}
.hero-content .banner-caption {
    display: block;
    opacity: .65;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .cases{
        padding: 1.5rem 0 3rem;
    }
    .case-no{
        display: none;
    }
    /* .container { padding: 0 1.2rem; } */
    .case-row{
        margin-bottom: 1.875rem;
    }
    .case-card {
         padding: 1.25rem;
         border-radius: .5rem;
         box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
        }
    .income-num { font-size: 1.65rem; }
    .case-heading{
        flex-direction: column;
        margin-bottom: 1rem;
        gap: 1rem;
    }
     .feature-image {
        /* margin-bottom: 2rem; */
     }
    .case-heading .feature-image figure{
        width: 100%;
        padding-top: 56.5%;
    }
    .case-text{
        font-size: 20px;
        margin: 0;
    }
    .case-age{
        margin-bottom: .5rem;
    }
}
