:root {
  --green-950: #073a2a;
  --green-900: #084b36;
  --green-800: #0d6243;
  --green-700: #147a4d;
  --green-100: #e9f4ed;
  --green-50: #f4f9f5;
  --gold: #e6a52f;
  --gold-light: #f7d88a;
  --ink: #17231d;
  --muted: #617068;
  --line: #dce6df;
  --white: #fff;
  --shadow: 0 18px 50px rgba(5, 53, 36, .14);
  --font-scale: 1;
}


.custom-label {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 11px 12px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(203, 216, 208);
    border-image: initial;
    border-radius: 5px;
    background: rgb(255, 255, 255);
}

.mill-container {
    display: flex;
    justify-content: center;
    
    flex-wrap: wrap;
   
}




* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--font-scale)); }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans Devanagari", "Nirmala UI", sans-serif; line-height: 1.65; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 16px; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 10px; }

.utility-bar { background: var(--green-950); color: #e9f6ef; font-size: .76rem; }
.utility-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; }
.utility-inner > div { display: flex; align-items: center; gap: 10px; }
.utility-inner a { border-left: 1px solid rgba(255,255,255,.3); padding-left: 12px; }
.text-control { border: 0; color: #fff; background: transparent; padding: 2px; }
.site-header {
    width: 100%;
    max-width: 100%;
    margin: 0;
   
}
/*.site-header { position: relative; z-index: 20; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.05); }*/
.brand-row { min-height: 124px; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand p, .brand h1, .campaign-title span, .campaign-title strong, .campaign-title small { margin: 0; display: block; }
.brand p { color: var(--green-700); font-weight: 700; }
.brand h1 { font-size: 1.45rem; line-height: 1.15; }
.bihar-logo { width: 88px; height: 88px; object-fit: contain; }
.bihar-logo.small { width: 64px; height: 64px; }
.campaign-title { text-align: center; padding-inline: 18px; border-inline: 1px solid var(--line); }
.campaign-title span { font-size: .75rem; color: var(--green-700); font-weight: 800; letter-spacing: .06em; }
.campaign-title strong { color: var(--green-950); font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.35; }
.campaign-title small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.header-leaders { display: flex; gap: 18px; }
.header-leader { display: flex; align-items: center; gap: 9px; min-width: 168px; }
.header-leader img { width: 58px; height: 70px; object-fit: cover; object-position: top center; border: 2px solid #fff; outline: 1px solid #cbd9d0; background: var(--green-100); }
.header-leader.cm img { width: 70px; height: 84px; }
.header-leader p, .header-leader strong, .header-leader span { display: block; margin: 0; }
.header-leader strong { color: var(--green-950); font-size: .75rem; line-height: 1.35; }
.header-leader span { color: var(--green-700); font-size: .65rem; line-height: 1.4; }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; padding: 8px 14px; border-radius: 6px; }
.main-nav { background: var(--green-900); color: #fff; }
.nav-inner { min-height: 54px; display: flex; align-items: center; gap: 4px; }
.nav-inner a { padding: 15px 18px 12px; font-size: .9rem; border-bottom: 3px solid transparent; }
.nav-inner a:hover, .nav-inner a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-apply { margin-left: auto; align-self: stretch; border: 0; background: var(--gold); color: #153826; padding: 0 24px; font-weight: 800; }

.hero { min-height: 650px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--green-950) url("https://commons.wikimedia.org/wiki/Special:FilePath/Time%20of%20cutting%20sugar%20cane.jpg") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,48,33,.97) 0%, rgba(5,67,43,.86) 48%, rgba(5,50,34,.32) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(transparent, rgba(3,40,27,.45)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .78fr; gap: 72px; align-items: center; padding-block: 70px; }
.hero-copy { color: #fff; }
.eyebrow { display: inline-flex; margin: 0 0 16px; padding: 7px 13px; border: 1px solid rgba(247,216,138,.55); border-radius: 4px; color: var(--gold-light); font-weight: 700; font-size: .82rem; }
.hero h2 { margin: 0; max-width: 700px; font-size: clamp(2.45rem, 4.6vw, 4.45rem); line-height: 1.15; letter-spacing: -.03em; }
.hero-lead { max-width: 680px; margin: 22px 0 28px; color: #e1eee7; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { min-height: 50px; border: 1px solid transparent; border-radius: 5px; padding: 12px 22px; font-weight: 800; transition: transform .2s, background .2s; display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #153826; }
.btn-primary:hover { background: #f1b43e; }
.btn-secondary { border-color: rgba(255,255,255,.55); color: white; background: rgba(255,255,255,.08); }
.hero-trust { display: flex; gap: 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
.hero-trust div { padding: 0 25px; border-right: 1px solid rgba(255,255,255,.2); }
.hero-trust div:first-child { padding-left: 0; }
.hero-trust strong, .hero-trust span { display: block; }
.hero-trust strong { color: var(--gold-light); font-size: 1.25rem; }
.hero-trust span { color: #c9ded2; font-size: .74rem; }

.quick-check { background: rgba(255,255,255,.98); border-radius: 9px; padding: 28px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.check-head { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.check-icon { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: 1.4rem; font-weight: 800; }
.check-head small { color: var(--green-700); font-weight: 700; }
.check-head h3 { margin: 0; font-size: 1.25rem; }
.quick-check form { display: grid; gap: 8px; padding-top: 18px; }
.quick-check label { font-size: .83rem; font-weight: 700; margin-top: 5px; }
.quick-check input[type="number"], .quick-check select { width: 100%; border: 1px solid #cad8cf; border-radius: 5px; padding: 11px 12px; background: #fff; color: var(--ink); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; margin: 7px 0; }
.check-row input { margin-top: 6px; accent-color: var(--green-700); }
.btn-check { background: var(--green-800); color: #fff; width: 100%; margin-top: 6px; }
.eligibility-result { display: none; margin-top: 14px; padding: 12px; border-radius: 5px; font-size: .86rem; }
.eligibility-result.show { display: block; }
.eligibility-result.success { background: #e6f5eb; color: #0c673e; border: 1px solid #bce2ca; }
.eligibility-result.warning { background: #fff5dc; color: #805a08; border: 1px solid #efd591; }

.textBoxCss {
    width: 100%;
    border: 1px solid #cad8cf;
    border-radius: 5px;
    background: #fff;
    font: inherit;
    box-sizing: border-box;
    padding-block: 1px;
    padding-left:15px;
}

.notice-strip { background: #fff7e4; border-bottom: 1px solid #edddb9; }
.notice-inner { min-height: 58px; display: flex; align-items: center; gap: 20px; }
.notice-inner strong { background: var(--gold); padding: 5px 10px; border-radius: 3px; white-space: nowrap; font-size: .78rem; }
.notice-inner p { margin: 0; color: #5f543b; font-size: .84rem; }
.section { padding: 88px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading.centered { text-align: center; }
.section-heading > span, .doc-visual > span, .cta span { color: var(--green-700); text-transform: uppercase; font-weight: 800; font-size: .78rem; letter-spacing: .1em; }
.section-heading h2, .doc-visual h2, .cta h2 { margin: 5px 0 8px; color: var(--green-950); font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.25; }
.section-heading p { color: var(--muted); margin: 0; }

.leaders { background: #fff; }
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: auto; }
.leader-card { min-height: 260px; display: grid; grid-template-columns: 190px 1fr; align-items: end; background: linear-gradient(135deg, var(--green-50), #fff); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 12px 30px rgba(10,70,46,.07); }
.leader-card img { width: 100%; height: 260px; object-fit: cover; object-position: top center; background: #e3ede7; }
.leader-card.cm-card { grid-template-columns: 215px 1fr; }
.leader-card.cm-card img { height: 285px; }
.leader-card div { padding: 28px 24px; }
.leader-card small { color: var(--green-700); font-weight: 700; }
.leader-card h3 { margin: 4px 0 13px; color: var(--green-950); font-size: 1.35rem; }
.leader-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.eligibility { background: var(--green-50); }
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.criteria-grid article { background: #fff; min-height: 195px; padding: 25px; display: flex; align-items: flex-start; gap: 17px; border: 1px solid var(--line); border-radius: 7px; transition: transform .2s, box-shadow .2s; }
.criteria-grid article:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(8,68,45,.1); }
.criteria-grid b { color: var(--gold); font-size: .95rem; border-bottom: 2px solid var(--gold); }
.criteria-grid h3 { margin: 0 0 8px; color: var(--green-900); font-size: 1.03rem; }
.criteria-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.eligibility-note { margin: 23px 0 0; color: var(--muted); font-size: .78rem; }

.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; border-top: 2px dashed #bed1c4; }
.steps article { position: relative; text-align: center; padding: 0 24px; }
.steps span { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; margin: auto; border-radius: 50%; border: 6px solid #fff; outline: 2px solid var(--gold); background: var(--green-800); color: #fff; font-weight: 800; }
.steps h3 { margin: 20px 0 5px; color: var(--green-900); }
.steps p { margin: 0; color: var(--muted); font-size: .86rem; }



.steps1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

    .steps1::before {
        content: "";
        position: absolute;
        top: 18px;
        left: 15%;
        right: 15%;
        border-top: 2px dashed #bed1c4;
    }

    .steps1 article {
        position: relative;
        text-align: center;
        padding: 0 4px;
    }

.spanDeactive {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 50%;
    border: 6px solid #fff;
    outline: 2px solid var(--gold);
    background: #a8c9bd;
    color: #fff;
    font-weight: 800;
}
     .spanActive {
        position: relative;
        z-index: 1;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        margin: auto;
        border-radius: 50%;
        border: 6px solid #fff;
        outline: 2px solid var(--gold);
        background: var(--green-800);
        color: #fff;
        font-weight: 800;
    }

    .steps1 h5 {
        margin: 5px 0 5px;
        color: var(--green-900);
    }

    .steps1 p {
        margin: 0;
        color: var(--muted);
        font-size: .86rem;
    }

.documents { background: #edf4ef; }
.doc-grid { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; box-shadow: var(--shadow); }
.doc-visual { position: relative; overflow: hidden;  padding: 60px; color: #fff; background: linear-gradient(150deg, rgba(5,65,42,.98), rgba(13,112,68,.85)), url("https://commons.wikimedia.org/wiki/Special:FilePath/Sugar_cane_farm.JPG") center/cover; display: flex; flex-direction: column; justify-content: center; }
.doc-visual > span { color: var(--gold-light); }
.doc-visual h3 { color: #fff; max-width: 430px; }
.btn-light { width: fit-content; margin-top: 20px; background: white; color: var(--green-900); }
.cane-lines { position: absolute; inset: auto -50px -70px auto; width: 220px; height: 300px; border: 2px solid rgba(255,255,255,.15); border-radius: 80% 0; transform: rotate(-18deg); }
.doc-list { padding: 45px 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 26px; }
.doc-list div { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-list span { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-weight: 800; }
.doc-list p, .doc-list strong { display: block; margin: 0; }
.doc-list p { color: var(--muted); font-size: .82rem; }
.doc-list strong { color: var(--ink); font-size: .92rem; }

.cta { padding: 54px 0; background: var(--gold); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta span { color: #496035; }
.cta h2 { margin: 3px 0; color: var(--green-950); font-size: 2rem; }
.btn-white { background: #fff; color: var(--green-900); white-space: nowrap; }

footer { background: #062f23; color: #c9dcd2; }
.footer-grid { padding: 55px 0; display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 60px; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.footer-brand .bihar-logo { background: #fff; border-radius: 6px; }
.footer-brand strong { font-size: 1.15rem; }
.footer-brand p { margin: 0; }
footer h3 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
footer a, footer p { display: block; margin: 5px 0; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: .75rem; }
.footer-bottom .container { display: flex; justify-content: space-between; }

.modal { position: fixed; z-index: 1000; inset: 0; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,26,18,.75); backdrop-filter: blur(5px); }
.modal-panel { position: relative; z-index: 1; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; padding: 38px; border-radius: 9px; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 13px; right: 16px; border: 0; background: transparent; font-size: 1.8rem; color: var(--muted); }
.modal-heading span { color: var(--green-700); font-weight: 800; font-size: .78rem; }
.modal-heading h2 { margin: 2px 0; color: var(--green-950); }
.modal-heading p { margin: 0 0 22px; color: var(--muted); font-size: .86rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { font-size: .82rem; font-weight: 700; }
.form-grid input, .form-grid select { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid #cbd8d0; border-radius: 5px; background: #fff; }

.form-grid1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

    .form-grid1 label {
        font-size: .82rem;
        font-weight: 700;
    }

    .form-grid1 input, .form-grid1 select {
        display: block;
        width: 100%;
        margin-top: 5px;
        padding: 11px 12px;
        border: 1px solid #cbd8d0;
        border-radius: 5px;
        background: #fff;
    }


.full-width { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; margin: 20px 0; color: var(--muted); font-size: .8rem; }
.consent input { accent-color: var(--green-700); }
.submit-application { width: 100%; }
.application-success { text-align: center; padding: 25px 10px 5px; }
.application-success > span { display: grid; place-items: center; width: 60px; height: 60px; margin: auto; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: 2rem; font-weight: 800; }
.application-success h3 { color: var(--green-900); font-size: 1.4rem; margin-bottom: 0; }

@media (max-width: 980px) {
  .brand-row { grid-template-columns: auto 1fr auto; }
  .header-leaders { grid-column: 1 / -1; justify-content: center; padding-bottom: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .quick-check { max-width: 560px; }
  .leader-grid, .doc-grid { grid-template-columns: 1fr; }
  .criteria-grid { grid-template-columns: 1fr 1fr; }
  .leader-card { grid-template-columns: 170px 1fr; }
  .doc-visual { min-height: 380px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .utility-inner > span { display: none; }
  .brand-row { min-height: 82px; grid-template-columns: 1fr auto; gap: 12px; padding-block: 12px; }
  .campaign-title { grid-column: 1 / -1; grid-row: 2; order: 3; border: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
  .campaign-title strong { font-size: 1.15rem; }
  .campaign-title small { font-size: .68rem; }
  .header-leaders { grid-column: 1 / -1; grid-row: 3; gap: 10px; padding-bottom: 0; }
  .header-leader { min-width: 0; flex: 1; padding: 7px; background: var(--green-50); }
  .header-leader img { width: 45px; height: 54px; }
  .header-leader.cm img { width: 54px; height: 64px; }
  .header-leader strong { font-size: .67rem; }
  .header-leader span { font-size: .58rem; }
  .bihar-logo { width: 68px; height: 68px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .nav-inner { padding: 8px 0; display: grid; }
  .nav-inner a { padding: 9px 4px; }
  .nav-apply { margin: 6px 0 0; padding: 12px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 50px; }
  .hero h2 { font-size: 2.45rem; }
  .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-trust div { padding: 0 10px; }
  .criteria-grid, .steps, .doc-list, .footer-grid { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .steps::before { display: none; }
  .section { padding: 65px 0; }
  .leader-card { grid-template-columns: 125px 1fr; min-height: 220px; }
  .leader-card.cm-card { grid-template-columns: 145px 1fr; }
  .leader-card img { height: 220px; }
  .leader-card.cm-card img { height: 240px; }
  .leader-card div { padding: 20px 16px; }
  .doc-visual { padding: 40px 28px; }
  .doc-list { padding: 28px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { gap: 30px; }
  .footer-bottom .container { gap: 5px; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .modal-panel { padding: 30px 22px; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 2rem; }
  .hero-trust { grid-template-columns: 1fr; gap: 12px; }
  .hero-trust div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding: 0 0 10px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-card img { width: 100%; height: 260px; object-position: top; }
}
