:root {
    /* brand colours taken from the Varsha logo */
    --brand: #e60045;
    --brand-dark: #b8003a;
    --accent: #fd7102;
    --navy: #033a84;
    --navy-dark: #022a62;
    --blush: #fde9ef;
    --cream: #fff1e3;
    --pink: #fff2f6;
    --grey: #e8eefa;
    --ink: #101a30;
    --mut: #3d4760;
    --rail: 64px
}

* {
    box-sizing: border-box
}

body {
    margin: 0 0 0 var(--rail);
    font: 400 15px/1.9 Montserrat,Mukta,sans-serif;
    color: var(--ink);
    background: #fff
}

h1, h3 {
    font-family: Montserrat,Mukta,sans-serif;
    font-weight: 900;
    line-height: 1.05;
    margin: 0
}

h2, h4 {
    margin: 0
}

a {
    color: inherit
}

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

.spaced {
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .5em;
    text-transform: uppercase;
    text-align: center
}

.rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    background: #fff;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 0;
    border-right: 3px solid var(--brand)
}

.rail-top {
    display: grid;
    justify-items: center;
    gap: 1.1rem
}

.rail-logo {
    display: block;
    line-height: 0
}

    .rail-logo img {
        width: 42px;
        height: auto;
        display: block
    }

.menu-btn {
    background: none;
    border: 0;
    cursor: pointer;
    display: grid;
    gap: 5px;
    padding: 6px
}

    .menu-btn i {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--brand)
    }

.rail-name {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 800;
    text-decoration: none;
    font-size: .95rem;
    white-space: nowrap;
    color: var(--navy)
}

.rail-soc {
    display: grid;
    gap: .6rem
}

    .rail-soc a {
        text-decoration: none;
        font-weight: 700;
        font-size: .8rem;
        text-align: center
    }

.login {
    position: absolute;
    top: 1.6rem;
    right: 3rem;
    z-index: 5;
    font-size: .8rem;
    text-decoration: none
}

.menu {
    position: fixed;
    inset: 0;
    background: var(--blush);
    z-index: 30;
    padding: 5rem 2rem 2rem;
    display: none;
    overflow: auto
}

    .menu.open {
        display: block
    }

    .menu .close {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2.4rem;
        background: none;
        border: 0;
        cursor: pointer
    }

.cols {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 2rem
}

.menu h4 {
    font-weight: 800;
    letter-spacing: .2em;
    font-size: .8rem;
    text-transform: uppercase;
    margin: 1rem 0 .3rem
}

.menu a {
    display: block;
    text-decoration: none;
    padding: .15rem 0
}

    .menu a:hover {
        text-decoration: underline
    }

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%);
    border-bottom: 6px solid var(--navy);
    min-height: 600px;
    margin-top: 0;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero-logo {
    display: block;
    width: clamp(90px,12vw,150px);
    height: auto;
    margin: 0 0 1.4rem
}

.script {
    position: absolute;
    left: 14%;
    top: 8%;
    font: 400 clamp(7rem,18vw,15rem)/1 "Herr Von Muellerhoff",cursive;
    color: rgba(255,255,255,.85);
    pointer-events: none
}

.hero-text {
    position: relative;
    margin-left: 19%;
    padding: 6rem 1rem 3rem
}

.hero h1 {
    font-size: clamp(2.4rem,5.5vw,4.4rem)
}

.tag {
    font-weight: 600;
    letter-spacing: .06em;
    margin: 1rem 0 1.4rem;
    color: var(--navy)
}

.hero-art {
    position: absolute;
    right: 20%;
    top: 8%;
    width: 230px;
    height: 520px;
    color: var(--navy)
}

.ghost, .solid {
    display: inline-block;
    font: 500 .8rem Montserrat,Mukta,sans-serif;
    padding: .6rem 1.6rem;
    text-decoration: none;
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 700;
    background: transparent;
    transition: background .25s ease, color .25s ease, border-color .25s ease
}

.solid {
    background: var(--brand);
    color: #fff
}

.ghost:hover {
    background: var(--brand);
    color: #fff
}

.solid:hover {
    background: var(--navy);
    border-color: var(--navy)
}

.treat {
    padding: 5rem 1rem;
    text-align: center
}

.three {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin: 4rem 0
}

    .three a {
        text-decoration: none;
        width: 200px;
        color: inherit
    }

    .three svg {
        width: 110px;
        height: 130px;
        color: #555
    }

    .three h3 {
        font-size: 1.25rem;
        margin: 1rem 0 .3rem
    }

    .three p {
        margin: 0;
        font-size: .85rem
    }

.meet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    margin-top: 2rem
}

.photo {
    background: #d9d3c8 url(/images/about.jpg) center/cover;
    margin: 3rem 0 -3rem;
    z-index: 1
}

.panel {
    position: relative;
    background: var(--cream);
    padding: 6rem 12% 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

    .panel .spaced {
        text-align: left;
        letter-spacing: .4em
    }

    .panel h3 {
        font-size: 1.9rem;
        margin: 1.6rem 0 1rem
    }

    .panel p {
        font-size: .9rem;
        color: var(--mut);
        max-width: 44ch
    }

.panel-art {
    position: absolute;
    right: 8%;
    top: -1rem;
    width: 90px;
    height: 100px;
    color: #222;
    transform: rotate(-70deg)
}

.quotes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 6rem;
    min-height: 340px
}

.q {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center
}

.pink {
    background: var(--pink)
}

.grey {
    background: var(--grey)
}

.q blockquote {
    margin: 1.3rem 0 0;
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1.4;
    max-width: 16em
}

.art svg {
    width: 200px;
    height: 260px;
    color: #666
}

.touch {
    padding: 6rem 8% 4rem
}

.four {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 2rem;
    margin-top: 4rem;
    font-size: .85rem
}

    .four h4 {
        font-weight: 800;
        font-size: .85rem;
        margin-bottom: .5rem
    }

    .four p {
        margin: 0 0 .4rem;
        color: var(--mut)
    }

    .four .solid {
        margin-top: .8rem
    }

    .four label {
        display: block;
        color: #777;
        font-size: .75rem;
        margin-bottom: .6rem
    }

    .four input, .four textarea {
        display: block;
        width: 100%;
        border: 0;
        border-bottom: 1px solid var(--navy);
        padding: .4rem 0;
        font: inherit;
        background: transparent;
        resize: vertical
    }

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.link {
    display: block;
    margin: 1rem auto 0;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer
}

.map {
    background: #e6e4df;
    height: 340px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1.2rem
}

.pin {
    background: #fff;
    padding: .6rem 1rem;
    font-size: .7rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px #0002;
    position: relative
}

    .pin:after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -16px;
        width: 14px;
        height: 14px;
        background: var(--brand);
        border-radius: 50% 50% 50% 0;
        transform: translateX(-50%) rotate(-45deg)
    }

.foot {
    border-top: 4px solid var(--accent);
    padding: 1.6rem 1rem;
    text-align: center;
    font-size: .7rem
}

.foot-addr {
    max-width: 640px;
    margin: 0 auto 1.2rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #e3e8f3;
    font-size: .8rem;
    line-height: 1.7;
    color: var(--mut)
}

    .foot-addr h4 {
        margin: 0 0 .3rem;
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .25em;
        text-transform: uppercase;
        color: var(--brand)
    }

    .foot-addr p {
        margin: 0
    }

    .foot-addr b {
        color: var(--navy);
        letter-spacing: .02em
    }

.map-link {
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    transition: color .25s ease, border-color .25s ease
}

    .map-link:hover {
        color: var(--navy);
        border-color: var(--navy)
    }

.legal a {
    margin: 0 .7rem;
    text-decoration: none;
    white-space: nowrap
}

.legal {
    line-height: 2.2
}

.copy {
    letter-spacing: .3em;
    text-transform: uppercase;
    font-size: .62rem;
    margin: .6rem 0 0
}

@media(max-width:860px) {
    body {
        margin: 0;
        padding-top: 56px
    }

    .rail {
        inset: 0 0 auto 0;
        width: auto;
        height: 56px;
        flex-direction: row;
        padding: 0 1rem
    }

    .rail-name {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: .8rem
    }

    .rail-soc {
        display: none
    }

    .login {
        display: none
    }

    .script {
        left: 5%
    }

    .hero-text {
        margin-left: 7%
    }

    .hero-art {
        right: -30px;
        opacity: .5
    }

    .meet, .quotes, .four {
        grid-template-columns: 1fr
    }

    .photo {
        min-height: 320px;
        margin: 0
    }

    .panel {
        padding: 3rem 8%
    }

    .quotes {
        margin-top: 2rem
    }

    .q {
        padding: 3rem 1rem
    }

    .art {
        display: none
    }
}

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

/* --- inner pages --- */
.page-hero {
    background: var(--blush);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    text-align: center;
    padding: 3rem 1rem
}

    .page-hero .spaced {
        letter-spacing: .4em
    }

    .page-hero h1 {
        font-size: clamp(1.8rem,4.5vw,2.8rem)
    }

.content {
    padding: 4rem 8%
}

    .content.narrow {
        max-width: 760px;
        margin: 0 auto;
        padding: 4rem 1rem
    }

    .content .lead {
        font-size: 1rem;
        color: var(--mut);
        max-width: 60ch
    }

        .content .lead.center {
            margin: 0 auto 2rem;
            text-align: center
        }

.pagehead {
    font-weight: 800;
    font-size: 1.05rem;
    margin: 2rem 0 .4rem;
    letter-spacing: .02em
}

.content p {
    color: var(--mut);
    max-width: 70ch
}

.back {
    display: inline-block;
    font-size: .8rem;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem
}

.loose {
    gap: 2.2rem;
    text-align: left;
    align-items: start
}

    .loose > a, .loose > div {
        width: auto;
        flex: 1 1 240px;
        background: var(--cream);
        padding: 2rem 1.6rem;
        text-align: center;
        text-decoration: none;
        color: inherit
    }

    .loose svg {
        width: 80px;
        height: 100px;
        color: #555;
        margin: 0 auto
    }

    .loose h3 {
        font-size: 1.1rem;
        margin-top: .6rem
    }

    .loose small {
        color: var(--mut)
    }

    .loose p {
        font-size: .85rem;
        margin: .6rem 0 0
    }

dl {
    margin: 1.6rem 0
}

dt {
    font-weight: 800;
    margin-top: 1.1rem;
    font-size: .95rem
}

dd {
    margin: .15rem 0 0;
    padding-bottom: .7rem;
    border-bottom: 1px solid #ddd;
    color: var(--mut)
}

.btnrow {
    margin-top: 1.6rem;
    display: flex;
    gap: .8rem;
    flex-wrap: wrap
}

.solid.sm, .ghost.sm {
    padding: .45rem 1rem;
    font-size: .75rem
}

.note {
    color: #888;
    font-size: .85rem
}

.ok {
    background: #eef6ee;
    border: 1px solid #bcdcc0;
    padding: .8rem 1rem;
    font-weight: 700;
    font-size: .85rem
}

.stack label {
    display: block;
    font-weight: 700;
    font-size: .8rem;
    margin: 1.1rem 0 .3rem
}

.stack input, .stack textarea {
    display: block;
    width: 100%;
    border: 1px solid #999;
    padding: .6rem .7rem;
    font: inherit;
    background: #fff;
    margin-top: .3rem
}

.stack button {
    margin-top: 1.4rem
}

.filters {
    display: flex;
    gap: .8rem;
    margin-bottom: 2rem;
    max-width: 600px
}

    .filters input, .filters select {
        flex: 1;
        padding: .6rem;
        border: 1px solid #999;
        font: inherit
    }

table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    font-size: .9rem
}

th, td {
    text-align: left;
    padding: .6rem .9rem;
    border: 1px solid #ddd
}

th {
    background: var(--navy);
    color: #fff;
    font-weight: 700
}

.scroll {
    overflow-x: auto;
    margin-bottom: 1rem
}

/* --- added home sections --- */
.why {
    padding: 5rem 1rem;
    text-align: center;
    background: var(--cream)
}

    .why .three {
        margin-top: 3rem
    }

        .why .three > div {
            width: 220px
        }

.ico {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block
}

.why h3 {
    font-size: 1.05rem;
    margin: 0 0 .4rem
}

.why p {
    font-size: .85rem;
    color: var(--mut);
    margin: 0
}

.stats {
    position: relative;
    background-color: #111;
    background-size: cover;
    background-position: center;
    padding: 4.5rem 1rem;
    color: #fff
}

    .stats:before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--navy-dark);
        opacity: .7
    }

.stats-in {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
    text-align: center
}

    .stats-in strong {
        display: block;
        font-size: 2.2rem;
        font-weight: 900
    }

    .stats-in span {
        font-size: .75rem;
        letter-spacing: .15em;
        text-transform: uppercase;
        opacity: .85
    }

.gallery-prev {
    padding: 5rem 1rem;
    text-align: center
}

.gp-grid {
    max-width: 1000px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem
}

    .gp-grid img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        display: block
    }

.notices {
    background: var(--pink);
    padding: 4rem 1rem
}

.notice-list {
    max-width: 760px;
    margin: 2rem auto 0;
    list-style: none;
    padding: 0;
    font-size: .9rem
}

    .notice-list li {
        padding: 1rem 0;
        border-bottom: 1px solid #f3c9d6;
        color: var(--mut)
    }

.nd {
    display: inline-block;
    font-weight: 800;
    color: var(--brand);
    margin-right: .9rem
}

@media(max-width:860px) {
    .stats-in {
        grid-template-columns: repeat(2,1fr);
        row-gap: 2rem
    }

    .gp-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

.treat .three a img.scheme-img {
    width: 220px;
    height: 160px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto
}

.treat .three a {
    width: 220px
}

/* --- About page --- */
.ab {
    max-width: 980px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
    overflow-x: clip
}

.ab-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3.5rem
}

    .ab-row.rev .ab-img {
        order: 2
    }

.ab-img {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--blush);
    box-shadow: 0 10px 30px rgba(0,0,0,.08)
}

    .ab-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .8s ease
    }

    .ab-img:hover img {
        transform: scale(1.06)
    }

.ab-txt h2 {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 .6rem;
    position: relative;
    padding-bottom: .6rem
}

    .ab-txt h2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background: var(--accent);
        transition: width .5s ease
    }

.ab-row:hover .ab-txt h2::after {
    width: 90px
}

.ab-txt p {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--mut);
    margin: 0 0 .5rem;
    max-width: 38ch
}

.ab-meta {
    font-size: .75rem !important;
    letter-spacing: .08em;
    text-transform: uppercase
}

.ab-values {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 3rem
}

.ab-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.25rem;
    margin-top: 1.5rem
}

    .ab-cards.small {
        grid-template-columns: repeat(4,1fr)
    }

.ab-card {
    background: var(--cream);
    border-radius: 10px;
    padding: 1.4rem 1rem;
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease
}

    .ab-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 26px rgba(0,0,0,.1);
        background: var(--blush)
    }

    .ab-card h3 {
        font-size: 1rem;
        margin: 0 0 .4rem
    }

    .ab-card p {
        font-size: .82rem;
        line-height: 1.5;
        margin: 0;
        color: var(--mut)
    }

/* scroll-reveal animation (only active when JS is running) */
.js-reveal [data-reveal] .from-left, .js-reveal [data-reveal] .from-right, .js-reveal [data-reveal] .ab-card, .js-reveal [data-reveal] > h2 {
    opacity: 0;
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1)
}

.js-reveal [data-reveal] .from-left {
    transform: translateX(-50px)
}

.js-reveal [data-reveal] .from-right {
    transform: translateX(50px)
}

.js-reveal [data-reveal] .ab-card {
    transform: translateY(30px);
    transition-delay: var(--d,0ms)
}

.js-reveal [data-reveal] > h2 {
    transform: translateY(20px)
}

.js-reveal [data-reveal].in .from-left, .js-reveal [data-reveal].in .from-right, .js-reveal [data-reveal].in .ab-card, .js-reveal [data-reveal].in > h2 {
    opacity: 1;
    transform: none
}

    .js-reveal [data-reveal].in .ab-card:hover {
        transform: translateY(-6px)
    }

@media(max-width:760px) {
    .ab-row {
        grid-template-columns: 1fr;
        gap: 1.2rem
    }

        .ab-row.rev .ab-img {
            order: 0
        }

    .ab-cards, .ab-cards.small {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:480px) {
    .ab-cards, .ab-cards.small {
        grid-template-columns: 1fr
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab *, .ab *::after {
        transition: none !important
    }
}

/* --- Digital Services cards --- */
.dg-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0
}

.dg-card {
    width: 260px;
    background: var(--cream);
    border-radius: 10px;
    padding: 1.6rem 1.3rem;
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease
}

    .dg-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 26px rgba(0,0,0,.1)
    }

    .dg-card h3 {
        margin: 0 0 .2rem;
        font-size: 1.15rem
    }

    .dg-card small {
        color: var(--mut)
    }

    .dg-card p {
        font-size: .85rem;
        line-height: 1.55;
        margin: .8rem 0 0;
        color: var(--mut)
    }

/* --- Loans table --- */
.loan-table td small {
    display: block;
    color: var(--mut);
    font-size: .75rem
}

.loan-table td a {
    font-weight: 700;
    color: inherit
}

.loan-table tr {
    transition: background .25s ease
}

    .loan-table tr:hover td {
        background: var(--cream)
    }

/* --- contact page --- */
.contact-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--blush);
    padding: 1.4rem;
    margin: 1.2rem 0 2rem
}

.contact-ico {
    flex: none;
    color: var(--brand)
}

.contact-card p {
    margin: .2rem 0
}

.contact-form label {
    display: block;
    font-weight: 700;
    font-size: .8rem;
    margin: 1.1rem 0 .3rem
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: .6rem;
    border: 1px solid #ccc;
    font: inherit;
    box-sizing: border-box
}

.copy a.priv {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .2s ease
}

    .copy a.priv:hover {
        opacity: .6
    }

/* --- language toggle (top right, every page) --- */
.lang-toggle {
    position: fixed;
    top: 1.1rem;
    right: 5.2rem;
    z-index: 40;
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font: inherit
}

    .lang-toggle span {
        padding: .28rem .8rem;
        border-radius: 999px;
        font-size: .75rem;
        font-weight: 800;
        letter-spacing: .05em;
        color: var(--navy);
        transition: background .3s ease, color .3s ease
    }

    .lang-toggle .l-en {
        background: var(--brand);
        color: #fff
    }

html[lang=mr] .lang-toggle .l-en {
    background: transparent;
    color: var(--navy)
}

html[lang=mr] .lang-toggle .l-mr {
    background: var(--brand);
    color: #fff
}

.lang-toggle:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.15)
}

/* in Marathi the small Marathi sub-titles would duplicate the translated text */
html[lang=mr] .page-hero .spaced, html[lang=mr] .loan-table td small, html[lang=mr] .dg-card small {
    display: none
}

html[lang=mr] .script {
    font-family: Mukta, sans-serif;
    font-style: italic
}

@media(max-width:860px) {
    .lang-toggle {
        top: .6rem;
        right: .8rem
    }
}
