:root {
    --navy: #0d3a7a;
    --navy-deep: #07254f;
    --orange: #f28a0a;
    --orange-soft: #fdeedb;
    --paper: #f6f8fb;
    --white: #ffffff;
    --ink: #1b2433;
    --muted: #5b6678;
    --line: #dbe2ec;
    --ok: #1f7a4d;
    --warn: #9a3b12;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Mukta', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    font-size: 17px
}

h1,
h2,
h3 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-weight: 400;
    line-height: 1.35;
    color: var(--navy)
}

a {
    color: inherit
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px
}

/* header */
header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy);
    display: grid;
    place-items: center;
    position: relative;
    flex: none
}

.logo span {
    font-family: 'Tiro Devanagari Hindi', serif;
    color: #fff;
    font-size: 24px;
    line-height: 1
}

.logo i {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--white)
}

.brand b {
    display: block;
    font-size: 19px;
    color: var(--navy);
    line-height: 1.2
}

.brand small {
    color: var(--muted);
    font-size: 13px
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px
}

nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    color: var(--navy)
}

nav a:hover {
    color: var(--orange)
}

.call {
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 999px;
    white-space: nowrap
}

@media(max-width:860px) {
    nav {
        display: none
    }
}

/* hero */
.hero {
    background: var(--navy);
    color: #fff;
    padding: 64px 0 72px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: center
}

.hero h1 {
    color: #fff;
    font-size: clamp(30px, 5vw, 48px)
}

.hero p.lead {
    margin: 18px 0 26px;
    font-size: 19px;
    color: #dbe6f5;
    max-width: 34em
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 17px
}

.btn.primary {
    background: var(--orange);
    color: #fff
}

.btn.ghost {
    border: 2px solid rgba(255, 255, 255, .55);
    color: #fff
}

.btn.primary:hover {
    background: #d97800
}

.range {
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: 26px
}

.range h2 {
    font-size: 21px;
    margin-bottom: 14px
}

.range .bar {
    height: 10px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--orange), var(--navy));
    margin: 10px 0 8px
}

.range .ends {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--navy);
    font-size: 22px
}

.range .ends small {
    display: block;
    font-weight: 500;
    font-size: 13px;
    color: var(--muted)
}

.range ul {
    list-style: none;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 14px
}

.range li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    font-size: 16px
}

.range li b {
    color: var(--navy)
}

@media(max-width:860px) {
    .hero-grid {
        grid-template-columns: 1fr
    }
}

/* sections */
section {
    padding: 60px 0
}

section.alt {
    background: var(--white)
}

.sec-head {
    max-width: 640px;
    margin-bottom: 30px
}

.sec-head h2 {
    font-size: clamp(26px, 4vw, 34px)
}

.sec-head p {
    color: var(--muted);
    margin-top: 8px
}

/* who */
.who {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px
}

.who div {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--orange);
    border-radius: 10px;
    padding: 16px 18px;
    font-weight: 600;
    color: var(--navy)
}

.who div span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 15px;
    margin-top: 2px
}

section.alt .who div {
    background: var(--paper)
}

/* steps */
.steps {
    list-style: none;
    counter-reset: s;
    display: grid;
    gap: 14px;
    max-width: 760px
}

.steps li {
    counter-increment: s;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px
}

.steps li::before {
    content: counter(s);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 18px
}

.steps b {
    display: block;
    color: var(--navy);
    font-size: 18px
}

.steps span {
    color: var(--muted);
    font-size: 16px
}

.tag {
    display: inline-block;
    background: var(--orange-soft);
    color: #8a4a00;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 6px
}

/* fee */
.fee-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 26px
}

.fee-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px
}

.fee-card h3 {
    font-size: 20px;
    margin-bottom: 6px
}

.fee-card .big {
    font-size: 34px;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.2
}

.fee-card p {
    color: var(--muted);
    font-size: 16px
}

@media(max-width:700px) {
    .fee-box {
        grid-template-columns: 1fr
    }
}

.tbl-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white)
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px
}

caption {
    text-align: left;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--navy);
    font-size: 18px
}

th,
td {
    padding: 12px 16px;
    text-align: right;
    border-top: 1px solid var(--line);
    font-variant-numeric: tabular-nums
}

th:first-child,
td:first-child {
    text-align: left
}

thead th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-top: 0
}

tbody tr:nth-child(even) {
    background: #f3f6fa
}

td:last-child {
    font-weight: 700;
    color: var(--navy)
}

.note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px
}

.calc {
    margin-top: 30px;
    background: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: 24px
}

.calc h3 {
    color: #fff;
    font-size: 21px;
    margin-bottom: 12px
}

.calc label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px
}

.calc input[type=number] {
    width: 100%;
    max-width: 300px;
    padding: 11px 14px;
    font: inherit;
    border-radius: 8px;
    border: 2px solid transparent
}

.calc .out {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px
}

.calc .out div {
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 12px 14px
}

.calc .out small {
    display: block;
    color: #c3d3ea;
    font-size: 14px
}

.calc .out b {
    font-size: 21px
}

.calc .out .tot {
    background: var(--orange)
}

.calc .out .tot small {
    color: #fff
}

#err {
    color: #ffd9b0;
    margin-top: 8px;
    min-height: 1.4em
}

/* docs / safety */
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

@media(max-width:760px) {
    .two {
        grid-template-columns: 1fr
    }
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px
}

.card ul {
    padding-left: 20px
}

.card li {
    margin: 4px 0
}

.safe {
    background: var(--orange-soft);
    border: 1px solid #f3cf9f;
    border-radius: 14px;
    padding: 22px
}

.safe h3 {
    color: #7a3f00
}

.safe li {
    margin: 6px 0
}

/* faq */
details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 0 18px
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    padding: 14px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px
}

summary::after {
    content: "+";
    color: var(--orange);
    font-size: 24px;
    line-height: 1
}

details[open] summary::after {
    content: "–"
}

details p {
    padding: 0 0 16px;
    color: var(--muted)
}

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

@media(max-width:760px) {
    .contact-grid {
        grid-template-columns: 1fr
    }
}

.contact-list {
    list-style: none
}

.contact-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.contact-list b {
    display: block;
    color: var(--navy)
}

.contact-list a {
    text-decoration: none;
    font-size: 18px
}

.contact-list a:hover {
    color: var(--orange)
}

form.enq {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    display: grid;
    gap: 12px
}

form.enq label {
    font-weight: 600;
    font-size: 15px;
    color: var(--navy)
}

form.enq input,
form.enq select,
form.enq textarea {
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    border: 1px solid #b9c4d4;
    border-radius: 8px;
    background: #fff;
    margin-top: 4px
}

form.enq button {
    background: var(--orange);
    color: #fff;
    border: 0;
    font: inherit;
    font-weight: 700;
    padding: 13px;
    border-radius: 10px;
    cursor: pointer
}

form.enq button:hover {
    background: #d97800
}

#ok {
    display: none;
    color: var(--ok);
    font-weight: 600
}

footer {
    background: var(--navy-deep);
    color: #b9c7dc;
    padding: 0;
    font-size: 15px
}

footer .tl {
    color: #fff;
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 20px;
    margin-bottom: 6px
}

footer p {
    max-width: 760px;
    margin-top: 10px
}

footer a {
    color: #fff
}

.wa {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #1f9d55;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    z-index: 30
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

/* application form */
.apply-form {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 22px
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    padding: 22px 22px 18px;
    min-width: 0
}

legend {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 20px;
    color: var(--navy);
    padding: 0 8px
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px
}

.grid1 {
    grid-column: 1/-1
}

@media(max-width:640px) {
    .grid2 {
        grid-template-columns: 1fr
    }
}

.fld label,
.fld .lbl {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 4px
}

.fld label i,
.fld .lbl i {
    color: #c0392b;
    font-style: normal
}

.fld input[type=text],
.fld input[type=tel],
.fld input[type=email],
.fld input[type=date],
.fld input[type=number],
.fld select {
    width: 100%;
    padding: 11px 12px;
    font: inherit;
    border: 1px solid #b9c4d4;
    border-radius: 8px;
    background: #fff;
    color: var(--ink)
}

.fld input:disabled,
.fld select:disabled {
    background: #eef1f5;
    color: #8b95a5
}

.fld small {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px
}

.fld input.bad,
.fld select.bad {
    border-color: #c0392b;
    background: #fff6f5
}

.upl {
    border: 1.5px dashed #9fb0c8;
    border-radius: 12px;
    padding: 14px;
    background: var(--paper)
}

.upl .row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0
}

.upl button {
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    padding: 9px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--navy);
    background: #fff;
    color: var(--navy);
    cursor: pointer
}

.upl button:hover {
    background: var(--navy);
    color: #fff
}

.upl .prev {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 6px
}

.upl .prev img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line)
}

.upl .prev .pdf {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: var(--orange-soft);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #8a4a00
}

.upl .prev span {
    font-size: 14px;
    color: var(--ok);
    word-break: break-all
}

.upl .prev a {
    font-size: 14px;
    color: var(--warn);
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap
}

.upl.bad {
    border-color: #c0392b;
    background: #fff6f5
}

.undertake {
    background: var(--orange-soft);
    border: 1px solid #f3cf9f;
    border-radius: 14px;
    padding: 20px 22px
}

.undertake h3 {
    font-size: 20px;
    color: #7a3f00;
    margin-bottom: 8px
}

.undertake ol {
    padding-left: 22px;
    font-size: 16px
}

.undertake li {
    margin: 5px 0
}

.undertake label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    font-weight: 600;
    color: #5a2d00;
    cursor: pointer
}

.undertake input {
    width: 22px;
    height: 22px;
    flex: none;
    margin-top: 3px;
    accent-color: var(--navy)
}

.submit-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px
}

.submit-bar button {
    background: var(--orange);
    color: #fff;
    border: 0;
    font: inherit;
    font-weight: 700;
    font-size: 18px;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer
}

.submit-bar button:hover {
    background: #d97800
}

.submit-bar span {
    color: var(--muted);
    font-size: 15px
}

#formErr {
    color: #c0392b;
    font-weight: 600;
    display: none
}

dialog#pay {
    border: 0;
    border-radius: 16px;
    padding: 0;
    max-width: 460px;
    width: calc(100% - 24px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35)
}

dialog#pay::backdrop {
    background: rgba(11, 33, 64, .6)
}

.pay-in {
    padding: 24px
}

.pay-in h3 {
    font-size: 22px;
    margin-bottom: 4px
}

.pay-amt {
    font-size: 36px;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.2
}

.pay-in .meta {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 12px
}

.pay-warn {
    background: #fdecea;
    color: #8a1f12;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    margin-bottom: 12px;
    display: none
}

.upi-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0
}

.upi-btns a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 8px;
    border-radius: 10px;
    border: 1.5px solid var(--navy);
    color: var(--navy)
}

.upi-btns a.main {
    grid-column: 1/-1;
    background: var(--navy);
    color: #fff;
    font-size: 17px;
    padding: 13px
}

.upi-btns a:hover {
    background: var(--navy);
    color: #fff
}

#qr {
    display: flex;
    justify-content: center;
    margin: 10px 0
}

.pay-in .fld {
    margin-top: 10px
}

.pay-in .go {
    width: 100%;
    margin-top: 12px;
    background: var(--orange);
    color: #fff;
    border: 0;
    font: inherit;
    font-weight: 700;
    font-size: 17px;
    padding: 13px;
    border-radius: 10px;
    cursor: pointer
}

.pay-in .go:disabled {
    background: #c9ced6;
    cursor: not-allowed
}

.pay-in .close {
    background: none;
    border: 0;
    color: var(--muted);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 8px;
    display: block;
    margin-inline: auto
}

.done {
    display: none;
    background: #e8f6ee;
    border: 1px solid #9bd5b4;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto
}

.done h3 {
    color: var(--ok);
    font-size: 24px
}

.done b {
    font-size: 22px;
    color: var(--navy)
}

.brand img {
    /* height: 62px;
    width: auto; */
    display: block
}

.banner {
    display: block;
    width: 100%;
    height: auto;
    background: #fff
}

.foot-img {
    display: block;
    width: 100%;
    height: auto
}

.legal {
    background: var(--navy-deep);
    color: #b9c7dc;
    font-size: 14px;
    padding: 16px 0
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px
}

.chips span {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 14px;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy)
}

.chips span.f {
    border-color: #f3cf9f;
    background: var(--orange-soft);
    color: #8a4a00
}

.fld textarea {
    width: 100%;
    padding: 11px 12px;
    font: inherit;
    border: 1px solid #b9c4d4;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    resize: vertical;
    min-height: 84px
}

.fld textarea.bad {
    border-color: #c0392b;
    background: #fff6f5
}

.chk {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    margin-top: 6px;
    cursor: pointer
}

.chk input {
    width: 18px;
    height: 18px;
    accent-color: var(--navy)
}