:root {
    --maroon: #9b1245;
    --maroon-dark: #7a0d36;
    --gold: #f5a623;
    --navy: #1b2a5c;
    --sky: #dbeafe;
    --cream: #fff6ea;
    --ink: #1f2540;
    --muted: #5d6480;
    --line: #e3e6f0;
    --error: #c62828;
    --ok: #1b8a4b;
    font-family: "Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}

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

body {
    color: var(--ink);
    background: #fff;
    min-height: 100vh
}

/* ===== 70 / 30 LAYOUT  (change 70fr / 30fr to adjust) ===== */
.page {
    display: grid;
    grid-template-columns: minmax(0,50fr) minmax(400px,50fr);
    min-height: 100vh
}

/* ===== LEFT: image area ===== */
/*.hero {
    position: relative;
    min-height: 100vh;
    background: url('side-banner.jpg') left center / cover no-repeat, linear-gradient(135deg,var(--sky),#eaf3ff 55%,var(--cream));
}*/

.hero {
    position: relative;
    min-height: 100vh;
    margin: 1px;
    /*background: url('side-banner.jpeg') center center / contain no-repeat, #eaf3ff;*/ /* colour that fills any leftover space */
    background: url('side-banner.jpg') center / 100% 100% no-repeat #eaf3ff;
}

.hero__hint {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--navy);
    font-weight: 700;
    font-size: 20px;
    opacity: .35;
    pointer-events: none;
    border: 3px dashed rgba(27,42,92,.35);
    margin: 24px;
    border-radius: 20px
}

    .hero__hint small {
        font-weight: 500;
        font-size: 13px
    }

/* ===== RIGHT: form ===== */
.panel {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2px 28px 40px;
    background: #fff;
    overflow-y: auto;
    max-height: 100vh
}

    .panel::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 6px;
        background: linear-gradient(var(--maroon),var(--gold))
    }

/*.card {
    width: 100%;
    max-width: none
}

    .card h1 {
        font-size: 24px;
        line-height: 1.2;
        color: var(--navy)
    }

        .card h1 span {
            color: var(--maroon)
        }

.sub {
    color: var(--muted);
    font-size: 14px;
    margin: 6px 0 20px
}*/

/* page background behind the card, so the border stands out */
.panel {
    background: linear-gradient(180deg,#fff6ea 0%,#ffffff 60%)
}

/* ===== highlighted form card ===== */
.card {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    /* white fill + gradient border (maroon -> gold) */
    background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg,var(--maroon),var(--gold)) border-box;
    box-shadow: 0 18px 45px rgba(155,18,69,.18), 0 4px 12px rgba(27,42,92,.08);
    overflow: hidden;
}

/* ===== heading banner ===== */
.card__head {
    position: relative;
    padding: 22px 26px 20px;
    color: #fff;
    background: linear-gradient(135deg,var(--maroon) 0%,var(--maroon-dark) 100%);
}

    .card__head::after { /* gold accent line along the bottom */
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        background: linear-gradient(90deg,var(--gold),#ffd166,var(--gold));
    }

.badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.35);
    color: #ffd166;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.card__head h1 {
    font-size: 26px;
    line-height: 1.2;
    color: #fff
}

    .card__head h1 span {
        color: #ffd166
    }

.card__head .sub {
    margin: 6px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 14px
}

.card__body {
    padding: 24px 26px 28px
}

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

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

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

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0
}

label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy)
}

    label i {
        color: var(--maroon);
        font-style: normal
    }

.inp {
    font: inherit;
    font-size: 14.5px;
    color: var(--ink);
    width: 100%;
    padding: 11px 13px;
    background: #fbfcff;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    outline: none;
    transition: border-color .15s,box-shadow .15s,background .15s;
    appearance: none;
    -webkit-appearance: none
}

select.inp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231b2a5c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px
}

.inp:hover {
    border-color: #c4c9de
}

.inp:focus {
    border-color: var(--maroon);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(155,18,69,.12)
}

.phone {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 8px
}

.pw {
    position: relative
}

    .pw .inp {
        padding-right: 52px
    }

.pw__btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px
}

    .pw__btn:hover {
        color: var(--maroon)
    }

.meter {
    height: 4px;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden
}

    .meter i {
        display: block;
        height: 100%;
        width: 0;
        transition: width .2s,background .2s
    }

.hint {
    font-size: 12px;
    color: var(--muted)
}

/* validator messages (ASP.NET renders them as <span class="err">) */
.err {
    color: var(--error);
    font-size: 12px
}

.consent {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px
}

    .consent input {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        accent-color: var(--maroon);
        flex: none
    }

    .consent label {
        font-weight: 400;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45
    }

    .consent a {
        color: var(--maroon)
    }

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(135deg,var(--maroon),var(--maroon-dark));
    box-shadow: 0 10px 24px rgba(155,18,69,.32);
    transition: transform .12s,box-shadow .12s
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(155,18,69,.4)
    }

    .btn .arrow {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #fff;
        color: var(--maroon);
        display: grid;
        place-items: center;
        font-size: 13px
    }

.note {
    text-align: center;
    font-size: 12.5px;
    color: var(--muted)
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 14px
}

    .alert.ok {
        background: #e8f6ee;
        color: var(--ok);
        border: 1px solid #bfe5cf
    }

    .alert.bad {
        background: #fdecec;
        color: var(--error);
        border: 1px solid #f4c5c5
    }

/* ===== RESPONSIVE ===== */
@media (max-width:1100px) {
    .page {
        grid-template-columns: minmax(0,55fr) minmax(400px,45fr)
    }
}

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

    .hero {
        min-height: 260px;
        aspect-ratio: 16/9
    }

    .panel {
        max-height: none;
        padding: 28px 18px 44px
    }

        .panel::before {
            inset: 0 0 auto 0;
            width: auto;
            height: 6px;
            background: linear-gradient(90deg,var(--maroon),var(--gold))
        }

    .card {
        max-width: 560px
    }
}

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

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

.india-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

    .india-row .field {
        min-width: 0
    }

    .india-row .inp {
        width: 100%
    }

@media (max-width:480px) {
    .india-row {
        grid-template-columns: 1fr
    }
    /* stack on small phones */
}
