/* =========================================================
   "एक सफल भविष्य के लिए" — sticky button, mega menu, field pages
   Uses the site's design tokens from style.css
========================================================= */

/* ---------- Sticky footer button ---------- */
.future-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 1450;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 12px 14px;
    border-radius: 60px;
    border: none;
    color: #fff;
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.45;
    white-space: nowrap;
    cursor: pointer;
    background: linear-gradient(100deg, var(--orange) 0%, var(--orange-2) 60%, #FFB86B 130%);
    box-shadow: 0 18px 40px -14px rgba(255, 85, 0, .75), 0 0 0 1px rgba(255, 255, 255, .25) inset;
    transition: transform .45s var(--ease), box-shadow .45s, opacity .35s;
}
.future-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 138, 61, .9);
    animation: futurePulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes futurePulse {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(1.18); opacity: 0; }
}
.future-bar:hover {
    color: #fff;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 26px 48px -16px rgba(255, 85, 0, .85), 0 0 0 1px rgba(255, 255, 255, .35) inset;
}
.future-bar .fb-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .22);
    font-size: 1.15rem;
}
.future-bar .fb-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.future-bar .fb-text small {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: .74rem;
    opacity: .85;
    line-height: 1.3;
}
.future-bar .fb-arrow {
    font-size: 1.1rem;
    transition: transform .4s var(--ease);
}
.future-bar:hover .fb-arrow { transform: translateY(-3px); }
body.future-open .future-bar { opacity: 0; pointer-events: none; }

@media (max-width: 767.98px) {
    body.has-future { padding-bottom: 74px; }
    .future-bar {
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        transform: none;
        justify-content: center;
        font-size: .98rem;
        padding: 10px 16px 10px 12px;
    }
    .future-bar:hover { transform: translateY(-2px); }
    .future-bar .fb-arrow { display: none; }
    body.has-future .fab-wa { bottom: 84px; }
    body.has-future .to-top { bottom: 152px; right: 29px; }
}

/* ---------- Overlay / panel ---------- */
.future-overlay {
    position: fixed;
    inset: 0;
    z-index: 1700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(60% 50% at 10% 0%, rgba(255, 85, 0, .28), transparent 60%),
        radial-gradient(50% 45% at 100% 100%, rgba(0, 149, 255, .25), transparent 60%),
        radial-gradient(40% 40% at 90% 10%, rgba(118, 185, 0, .18), transparent 60%),
        rgba(6, 11, 26, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity .35s;
}
.future-overlay.open { display: flex; }
.future-overlay.show { opacity: 1; }

.future-panel {
    width: min(1280px, 100%);
    height: min(880px, 100%);
    background: var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    transform: translateY(24px) scale(.98);
    transition: transform .55s var(--ease);
}
.future-overlay.show .future-panel { transform: none; }

/* Top bar */
.future-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    flex-wrap: wrap;
}
.future-top .ft-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}
.future-top .ft-title .ico {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
}
.future-top h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--ink);
}
.future-top .ft-title p {
    margin: 0;
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.4;
}
.future-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 380px;
}
.future-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}
.future-search input {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 50px;
    padding: 10px 16px 10px 40px;
    font-family: var(--f-body);
    font-size: .95rem;
    color: var(--text);
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.future-search input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 85, 0, .12);
}
.future-filters {
    display: inline-flex;
    gap: 6px;
    background: var(--slate-soft);
    padding: 4px;
    border-radius: 50px;
}
.future-filters button {
    border: none;
    background: transparent;
    border-radius: 50px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: .82rem;
    color: var(--muted);
    cursor: pointer;
    transition: background .3s, color .3s;
}
.future-filters button.active {
    background: var(--ink);
    color: #fff;
}
.future-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background .3s, color .3s, transform .4s var(--ease);
}
.future-close:hover {
    background: var(--orange);
    color: #fff;
    transform: rotate(90deg);
}

/* Body: sidebar + content */
.future-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 0;
}
.future-side {
    border-right: 1px solid var(--line);
    overflow-y: auto;
    padding: 14px 12px 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.future-side .side-label {
    font-family: var(--f-body);
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    padding: 6px 12px 8px;
}
.fcat {
    --c: var(--orange);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    border-radius: 16px;
    padding: 10px 12px;
    cursor: pointer;
    color: var(--text);
    transition: background .3s, color .3s;
    position: relative;
}
.fcat .ico {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, #fff);
    transition: background .3s, color .3s;
}
.fcat .lbl {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}
.fcat .lbl b {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    padding-top: .1em;
}
.fcat .lbl small {
    font-family: var(--f-latin);
    font-size: .7rem;
    color: var(--muted);
}
.fcat .cnt {
    margin-left: auto;
    font-family: var(--f-latin);
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    background: var(--slate-soft);
    padding: 2px 9px;
    border-radius: 50px;
}
.fcat:hover { background: var(--paper); }
.fcat.active {
    background: color-mix(in srgb, var(--c) 10%, #fff);
}
.fcat.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
    background: var(--c);
}
.fcat.active .ico {
    background: var(--c);
    color: #fff;
}
.fcat.active .cnt {
    background: var(--c);
    color: #fff;
}
.fcat.c-orange { --c: var(--orange); }
.fcat.c-green  { --c: var(--green-2); }
.fcat.c-blue   { --c: var(--blue); }
.fcat.c-slate  { --c: var(--slate); }

/* Abroad box (sidebar) */
.fabroad {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue) 70%, #5EC0FF 130%);
    box-shadow: 0 14px 30px -14px rgba(0, 102, 204, .8);
    transition: transform .4s var(--ease), box-shadow .4s;
    position: relative;
    overflow: hidden;
}
.fabroad::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.fabroad:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 36px -14px rgba(0, 102, 204, .9);
}
.fabroad .ico {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, .2);
}
.fabroad b {
    display: block;
    font-family: var(--f-head);
    font-size: 1rem;
    line-height: 1.4;
    padding-top: .1em;
}
.fabroad small {
    font-family: var(--f-body);
    font-size: .72rem;
    opacity: .9;
}
.fabroad .bi-arrow-up-right { margin-left: auto; font-size: 1.1rem; }

/* Content pane */
.future-main {
    overflow-y: auto;
    padding: 22px 26px 30px;
    min-height: 0;
}
.future-main .fm-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.future-main .fm-head h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
}
.future-main .fm-head p {
    margin: 0;
    font-family: var(--f-body);
    font-size: .85rem;
    color: var(--muted);
}
.future-main .fm-head .eyebrow { margin-bottom: 6px; }
.fgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}
.fgrid .fgroup-title {
    grid-column: 1 / -1;
    font-family: var(--f-body);
    font-size: .8rem;
    font-weight: 700;
    color: var(--muted);
    margin: 10px 0 -2px;
}
.ffield {
    --c: var(--orange);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    position: relative;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.ffield::after {
    content: '\F138';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 14px;
    top: 14px;
    color: var(--muted);
    font-size: .9rem;
    transition: color .3s, transform .4s var(--ease);
}
.ffield:hover {
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--c) 40%, transparent);
}
.ffield:hover::after { color: var(--c); transform: translateX(3px); }
.ffield b {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--ink);
    padding-right: 20px;
    padding-top: .1em;
}
.ffield small {
    font-family: var(--f-latin);
    font-size: .74rem;
    color: var(--muted);
    margin-top: -4px;
}
.ffield .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
    font-family: var(--f-body);
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    line-height: 1.6;
}
.chip.c10 { background: var(--green-soft); color: var(--green-2); }
.chip.c12 { background: var(--blue-soft); color: var(--blue-2); }
.chip.cat { background: var(--orange-soft); color: var(--orange); }
.ffield.c-orange { --c: var(--orange); }
.ffield.c-green  { --c: var(--green-2); }
.ffield.c-blue   { --c: var(--blue); }
.ffield.c-slate  { --c: var(--slate); }
.future-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
}
.future-empty i { font-size: 2rem; display: block; margin-bottom: 10px; color: var(--orange); }

/* Mobile: accordion */
@media (max-width: 991.98px) {
    .future-overlay { padding: 0; }
    .future-panel {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .future-top {
        padding: 14px 14px 10px;
        gap: 10px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .future-top .ft-title { grid-column: 1; grid-row: 1; min-width: 0; }
    .future-top .ft-title .ico { width: 40px; height: 40px; flex: 0 0 40px; }
    .future-top h2 { font-size: 1.1rem; }
    .future-close { grid-column: 2; grid-row: 1; }
    .future-search { grid-column: 1 / -1; max-width: none; }
    .future-filters { grid-column: 1 / -1; justify-self: start; }
    .future-body { grid-template-columns: 1fr; overflow-y: auto; }
    .future-side {
        border-right: none;
        overflow: visible;
        padding: 10px 12px 24px;
    }
    .future-main { display: none; padding: 0; }
    .future-main.searching { display: block; padding: 14px 14px 30px; }
    .future-overlay.searching .future-side { display: none; }
    .fabroad { margin: 6px 0 10px; order: -1; }
    .fcat { border-radius: 16px; }
    .fcat .chev { margin-left: 6px; color: var(--muted); transition: transform .4s var(--ease); }
    .fcat.active .chev { transform: rotate(180deg); color: var(--c); }
    .fmob {
        display: none;
        padding: 4px 6px 12px;
    }
    .fmob.open { display: grid; gap: 8px; }
    .fmob .ffield { padding: 12px 14px; }
}
@media (min-width: 992px) {
    .fcat .chev, .fmob { display: none; }
}

/* ---------- Field page ---------- */
.fp-hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: 56px 0 64px;
    overflow: hidden;
}
.fp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(45% 60% at 0% 0%, rgba(255, 85, 0, .35), transparent 60%),
        radial-gradient(40% 55% at 100% 100%, rgba(0, 149, 255, .28), transparent 60%);
    pointer-events: none;
}
.fp-hero .container { position: relative; }
.fp-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 22px;
}
.fp-crumbs a { color: rgba(255, 255, 255, .75); }
.fp-crumbs a:hover { color: #fff; }
.fp-crumbs i { font-size: .7rem; }
.fp-hero .eyebrow { color: #FFB86B; }
.fp-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 4px;
    color: #fff;
}
.fp-hero .fp-en {
    font-family: var(--f-latin);
    font-weight: 600;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 18px;
}
.fp-hero .fp-summary {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .85);
    max-width: 760px;
    margin-bottom: 22px;
}
.fp-hero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.fp-hero .chip { font-size: .8rem; padding: 5px 14px; }
.fp-hero .chip.c10 { background: rgba(118, 185, 0, .2); color: #A6E831; border: 1px solid rgba(118, 185, 0, .5); }
.fp-hero .chip.c12 { background: rgba(0, 149, 255, .2); color: #5EC0FF; border: 1px solid rgba(0, 149, 255, .5); }
.fp-hero .chip.cat { background: rgba(255, 138, 61, .18); color: #FFB86B; border: 1px solid rgba(255, 138, 61, .5); }
.fp-hero .fp-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.fp-body { padding: 56px 0 70px; }
.fp-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
}
.fp-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.fp-card h2 .ico {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--orange);
    background: var(--orange-soft);
}
.fp-card h2 .ico.green { color: var(--green-2); background: var(--green-soft); }
.fp-card h2 .ico.blue  { color: var(--blue-2); background: var(--blue-soft); }
.fp-card h2 .ico.slate { color: var(--slate); background: var(--slate-soft); }
.fp-card p:last-child { margin-bottom: 0; }
.fp-card ul, .fp-card ol { padding-left: 1.2rem; margin-bottom: 0; }
.fp-card li { margin-bottom: 8px; }
.fp-card li:last-child { margin-bottom: 0; }

.fp-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.fp-steps li {
    position: relative;
    padding-left: 48px;
    margin-bottom: 14px;
    counter-increment: step;
}
.fp-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--f-latin);
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    background: var(--c, var(--orange));
}
.fp-steps li::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 36px;
    bottom: -14px;
    width: 2px;
    background: var(--line);
}
.fp-steps li:last-child::after { display: none; }
.fp-path-10 { --c: var(--green-2); }
.fp-path-12 { --c: var(--blue); }

.fp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 767.98px) { .fp-two { grid-template-columns: 1fr; } }
.fp-list { list-style: none; padding: 0; margin: 0; }
.fp-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
}
.fp-list li:last-child { border-bottom: none; }
.fp-list li i { color: var(--orange); margin-top: 4px; flex: 0 0 auto; }

.fp-tips {
    background: linear-gradient(135deg, var(--orange-soft), #fff);
    border-color: rgba(255, 85, 0, .25);
}
.fp-tips li { margin-bottom: 10px; }
.fp-tips li i { color: var(--orange); }

.fp-facts {
    background: var(--ink);
    color: #fff;
    border: none;
}
.fp-facts h2 { color: #fff; }
.fp-facts h2 .ico { background: rgba(255, 255, 255, .12); color: #FFB86B; }
.fp-facts dl { margin: 0; }
.fp-facts dt {
    font-family: var(--f-body);
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
    margin-top: 14px;
}
.fp-facts dd {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: .95rem;
    line-height: 1.6;
}
.fp-facts dd i { color: #A6E831; margin-right: 6px; }
.fp-sticky { position: sticky; top: 100px; }

.fp-cta {
    background: linear-gradient(135deg, var(--green-2), var(--green));
    color: #fff;
    border: none;
    text-align: center;
}
.fp-cta h3 { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.fp-cta p { color: rgba(255, 255, 255, .9); font-size: .92rem; }
.fp-cta .btn-p { --bg: #fff; color: var(--green-2); margin-top: 6px; }
.fp-cta .btn-p::before { background: var(--ink); }
.fp-cta .btn-p:hover { color: #fff; }

.fp-related { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-related a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    font-size: .88rem;
    transition: background .3s, color .3s, border-color .3s;
}
.fp-related a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.fp-related a.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Overview page */
.fo-cat { margin-bottom: 44px; }
.fo-cat h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}
.fo-cat h2 .ico {
    --c: var(--orange);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--c);
    font-size: 1.15rem;
}
.fo-cat h2 .ico.c-green { --c: var(--green-2); }
.fo-cat h2 .ico.c-blue  { --c: var(--blue); }
.fo-cat h2 .ico.c-slate { --c: var(--slate); }
.fo-cat .en { font-family: var(--f-body); color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

.fo-abroad {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 28px 30px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue) 70%, #5EC0FF 130%);
    box-shadow: 0 24px 50px -22px rgba(0, 102, 204, .9);
    margin-bottom: 48px;
}
.fo-abroad .ico {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, .2);
}
.fo-abroad h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.fo-abroad p { margin: 0; color: rgba(255, 255, 255, .9); }
.fo-abroad .btn-p { --bg: #fff; color: var(--blue-2); }
.fo-abroad .btn-p:hover { color: #fff; }
@media (max-width: 767.98px) {
    .fo-abroad { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* Abroad page specifics */
.fp-country {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}
.fp-country:last-child { border-bottom: none; }
.fp-country .flag {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: var(--f-latin);
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .04em;
    color: var(--blue-2);
    background: var(--blue-soft);
}
.fp-country b { font-family: var(--f-head); color: var(--ink); font-size: 1.05rem; }
.fp-country p { margin: 2px 0 0; font-size: .93rem; }
.fp-warn {
    background: linear-gradient(135deg, #FFF1E8, #fff);
    border-color: rgba(255, 85, 0, .3);
}
.fp-warn h2 .ico { background: var(--orange); color: #fff; }

/* =========================================================
   Gateway page ("प्रवेश मार्ग") — one screen per category.
   Desktop (≥992px): page never scrolls; cards scroll inside if ever needed.
   Mobile: ordinary single-column page.
========================================================= */
.fg-page.c-orange { --c: var(--orange); --c-soft: var(--orange-soft); }
.fg-page.c-green  { --c: var(--green-2); --c-soft: var(--green-soft); }
.fg-page.c-blue   { --c: var(--blue);    --c-soft: var(--blue-soft); }
.fg-page.c-slate  { --c: var(--slate);   --c-soft: var(--slate-soft); }
.fg-page {
    --fs: clamp(.8rem, calc(.36rem + .55vh), .98rem);     /* body text scales with viewport height */
    --gap: clamp(10px, 1.4vh, 18px);
    background: var(--paper);
}
.fg-wrap { width: min(1680px, 100% - 48px); margin-inline: auto; }
.fg { display: flex; flex-direction: column; }

/* hero strip */
.fg-hero {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: clamp(12px, 1.8vh, 22px) 0;
}
.fg-hero::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(40% 120% at 0% 50%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%),
                radial-gradient(30% 120% at 100% 50%, rgba(0, 149, 255, .25), transparent 70%);
}
.fg-hero .fg-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fg-hero-l { min-width: 0; }
.fg-hero .fp-crumbs { margin-bottom: 6px; font-size: .78rem; }
.fg-hero .eyebrow { color: #FFB86B; font-size: .8rem; margin-bottom: 2px; }
.fg-hero h1 {
    color: #fff;
    font-size: clamp(1.25rem, 2.2vh + .5rem, 1.9rem);
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.25;
}
.fg-hero h1 small { font-family: var(--f-latin); font-weight: 600; font-size: .55em; color: rgba(255, 255, 255, .65); margin-left: 8px; }
.fg-note { margin: 0; font-size: var(--fs); color: rgba(255, 255, 255, .82); max-width: 820px; }
.fg-hero-r { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex: 0 0 auto; max-width: 40%; }
.fg-hero-r .btn-p { padding: 8px 16px; font-size: .82rem; white-space: nowrap; }

/* the grid */
.fg-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1.22fr 1fr;
    gap: var(--gap);
    padding: var(--gap) 0;
    font-size: var(--fs);
}
.fg-col { display: flex; flex-direction: column; gap: var(--gap); min-height: 0; }
.fg-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: calc(var(--gap) + 2px) calc(var(--gap) + 6px);
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.fg-card h2 {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.05em; font-weight: 800; color: var(--ink);
    margin: 0 0 .7em;
}
.fg-card h2 .ico {
    width: 2em; height: 2em; border-radius: 10px; flex: 0 0 2em;
    display: grid; place-items: center;
    background: var(--c-soft); color: var(--c); font-size: .95em;
}
.fg-card > ul, .fg-card > ol, .fg-card > .fg-doclist, .fg-card > dl, .fg-card > p { min-height: 0; overflow: auto; }
.fg-card p { margin: 0; line-height: 1.6; }
.fg-list { list-style: none; margin: 0; padding: 0; }
.fg-list li { display: flex; gap: 9px; align-items: flex-start; padding: .38em 0; border-bottom: 1px dashed var(--line); line-height: 1.5; }
.fg-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fg-list li i { color: var(--c); margin-top: .22em; flex: 0 0 auto; }
.fg-must { --c: var(--green-2); --c-soft: var(--green-soft); }
.fg-can  { --c: var(--blue);    --c-soft: var(--blue-soft); }
.fg-tips { --c: var(--orange);  --c-soft: var(--orange-soft); background: linear-gradient(180deg, #FFF8F2, #fff); }
.fg-tips li i.bi-exclamation-triangle-fill { color: #D83A00; }

/* exam facts (dark) */
.fg-exam { background: var(--ink); color: #fff; border-color: transparent; }
.fg-exam-head { border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: .7em; margin-bottom: .7em; }
.fg-exam .eyebrow { color: #FFB86B; font-size: .78em; margin-bottom: 2px; }
.fg-exam h2 { color: #fff; font-size: 1.6em; font-family: var(--f-head); margin: 0 0 .15em; display: block; }
.fg-exam-head p { color: rgba(255, 255, 255, .8); font-size: .92em; }
.fg-exam-by { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: .5em; font-size: .88em; color: rgba(255, 255, 255, .85); }
.fg-exam-by i { margin-right: 6px; color: #FFB86B; }
.fg-exam-by a { color: #5EC0FF; font-family: var(--f-latin); font-weight: 600; }
.fg-exam-by a:hover { color: #fff; }
.fg-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .55em .9em; margin: 0; }
.fg-fact { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: .55em .75em; }
.fg-fact dt { font-size: .76em; font-weight: 700; color: #FFB86B; text-transform: none; margin-bottom: .2em; }
.fg-fact dt i { margin-right: 6px; }
.fg-fact dd { margin: 0; color: rgba(255, 255, 255, .92); line-height: 1.45; font-size: .93em; }
.fg-after { --c: var(--green-2); --c-soft: var(--green-soft); }
.fg-olist { list-style: none; margin: 0; padding: 0; }
.fg-olist li { display: flex; gap: 10px; align-items: baseline; padding: .34em 0; border-bottom: 1px dashed var(--line); }
.fg-olist li:last-child { border-bottom: 0; }
.fg-olist b { font-family: var(--f-body); font-weight: 700; color: var(--c); white-space: nowrap; font-size: .92em; }
.fg-olist span { color: var(--slate); font-size: .95em; }

/* numbered steps */
.fg-ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.fg-ol li {
    counter-increment: s;
    position: relative;
    padding: 0 0 .55em 2.3em;
    line-height: 1.5;
}
.fg-ol li::before {
    content: counter(s);
    position: absolute; left: 0; top: .05em;
    width: 1.65em; height: 1.65em; border-radius: 50%;
    background: var(--c); color: #fff;
    font-family: var(--f-latin); font-weight: 800; font-size: .85em;
    display: grid; place-items: center;
}
.fg-ol li::after {
    content: ''; position: absolute; left: .7em; top: 1.7em; bottom: .1em; width: 2px;
    background: color-mix(in srgb, var(--c) 25%, transparent);
}
.fg-ol li:last-child { padding-bottom: 0; }
.fg-ol li:last-child::after { display: none; }
.fg-doclist { display: flex; flex-wrap: wrap; gap: 6px; }
.fg-doc {
    display: inline-flex; align-items: center; gap: 6px;
    padding: .3em .7em; border-radius: 50px;
    background: var(--c-soft); color: var(--ink); font-size: .9em; font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
}
.fg-doc i { color: var(--c); }

/* slim footer */
.fg-foot { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .76rem; padding: 8px 0; }
.fg-foot .fg-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fg-foot a { color: #fff; font-weight: 600; }
.fg-foot a:hover { color: var(--orange-2); }
.fg-foot i { margin-right: 4px; }

/* desktop: lock the page to one screen */
@media (min-width: 992px) {
    body.fg-page { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
    body.fg-page .site-header { flex: 0 0 auto; }
    body.fg-page .fg { flex: 1 1 auto; min-height: 0; }
    .fg-hero { flex: 0 0 auto; }
    .fg-grid { flex: 1 1 auto; min-height: 0; }
    .fg-col > .fg-card { flex: 0 1 auto; }
    .fg-col > .fg-can, .fg-col > .fg-exam, .fg-col > .fg-steps, .fg-col > .fg-tips { flex: 1 1 auto; }
    /* short screens (laptops): drop the top bar and tighten everything so the grid still fits */
    @media (max-height: 899px) {
        body.fg-page .topbar { display: none !important; }
        .fg-page { --fs: .78rem; --gap: 10px; }
        .fg-hero { padding: 9px 0 10px; }
        .fg-hero .fp-crumbs { margin-bottom: 2px; font-size: .74rem; }
        .fg-hero .eyebrow { font-size: .74rem; margin-bottom: 0; }
        .fg-hero h1 { font-size: 1.25rem; margin-bottom: 2px; }
        .fg-note { font-size: .78rem; }
        .fg-card { padding: 10px 13px; border-radius: 16px; }
        .fg-card h2 { margin-bottom: .45em; }
        .fg-list li { padding: .28em 0; line-height: 1.42; }
        .fg-ol li { padding-bottom: .4em; line-height: 1.42; }
        .fg-fact { padding: .4em .6em; }
        .fg-facts { gap: .4em .6em; }
        .fg-foot { font-size: .72rem; padding: 6px 0; }
    }
    .fg-foot { flex: 0 0 auto; }
    .fg-foot .fg-wrap > span { max-width: 44%; }           /* keep the centre clear for the sticky button */
    body.fg-page .to-top { display: none !important; }
    body.fg-page .future-bar { bottom: 12px; }
    body.fg-page .fab-wa { bottom: 50px; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    .fg-wrap { width: min(1680px, 100% - 28px); }
    .fg-hero h1 small { display: none; }
    .fg-page { --fs: .76rem; }
    .fg-facts { grid-template-columns: 1fr; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .fg-page { --fs: .72rem; }
    .fg-hero-r { max-width: 32%; }
}
@media (max-width: 991.98px) {
    .fg-page { --fs: .95rem; --gap: 14px; }
    .fg-wrap { width: min(100% - 32px, 720px); }
    .fg-hero .fg-wrap { flex-direction: column; align-items: stretch; gap: 14px; }
    .fg-hero { padding: 22px 0 24px; }
    .fg-hero-r { justify-content: flex-start; max-width: none; }
    .fg-hero-r .btn-p { white-space: normal; }
    .fg-grid { grid-template-columns: 1fr; padding: 18px 0 26px; }
    .fg-card > ul, .fg-card > ol, .fg-card > .fg-doclist, .fg-card > dl, .fg-card > p { overflow: visible; }
    .fg-facts { grid-template-columns: 1fr; }
    .fg-foot { padding: 14px 0 90px; }     /* room for the sticky bar */
    .fg-foot .fg-wrap { flex-direction: column; gap: 6px; }
}
@media (max-width: 575.98px) {
    .fg-hero-r .btn-p { width: 100%; }
}
.fo-gate { color: var(--orange); font-weight: 700; }
.fo-gate:hover { color: var(--ink); }
.fo-gate i { margin-right: 4px; }

/* category rows are links now: arrow on desktop hover, "प्रवेश मार्ग" card first in each mobile list */
.fcat { text-decoration: none; }
.fcat .go { display: none; margin-left: 4px; font-size: 1.3rem; color: var(--c); opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s var(--ease); }
@media (min-width: 992px) {
    .fcat .go { display: inline-block; }
    .fcat:hover .go, .fcat.active .go { opacity: 1; transform: none; }
    .fgate { display: none; }
}
.future-main .fm-head .fm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.future-main .fm-head .fm-actions .btn-p { padding: 9px 18px; font-size: .85rem; }
.future-main .fm-head .fm-actions .btn-p.alt { --bg: var(--ink); }
.fgate {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 16px;
    background: var(--ink); color: #fff;
    text-decoration: none;
}
.fgate .ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c, var(--orange)); color: #fff; font-size: 1.1rem; }
.fgate.c-orange { --c: var(--orange); } .fgate.c-green { --c: var(--green); } .fgate.c-blue { --c: var(--blue); } .fgate.c-slate { --c: var(--slate); }
.fgate b { display: block; font-size: .95rem; font-weight: 800; }
.fgate small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .72); line-height: 1.4; }
.fgate .bi-arrow-right-short { margin-left: auto; font-size: 1.4rem; color: #FFB86B; }

/* Gateway pages already include their compact footer. */
body.fg-page > .footer, body.fg-page > .four-color { display: none; }
