/* --- Page basics --- */
:root {
    --brand: #0d3d9c;
    --muted: #9aa1b5;
    --track: #cbd5e1;
    --blue: #0f4caa;
    --track-bg: #e2e9f5;
}


@font-face {
    font-family: Ultramarine;
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url(Ultramarine-Bold.woff2) format("woff2"), url(Ultramarine-Bold.woff) format("woff")
}

@font-face {
    font-family: Ultramarine;
    font-style: italic;
    font-weight: 700;
    font-display: block;
    src: url(Ultramarine-BoldItalic.woff2) format("woff2"), url(Ultramarine-BoldItalic.woff) format("woff")
}

@font-face {
    font-family: Ultramarine;
    font-style: italic;
    font-weight: 400;
    font-display: block;
    src: url(Ultramarine-Italic.woff2) format("woff2"), url(Ultramarine-Italic.woff) format("woff")
}

@font-face {
    font-family: Ultramarine;
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: url(Ultramarine-Medium.woff2) format("woff2"), url(Ultramarine-Medium.woff) format("woff")
}

@font-face {
    font-family: Ultramarine;
    font-style: italic;
    font-weight: 500;
    font-display: block;
    src: url(Ultramarine-MediumItalic.woff2) format("woff2"), url(Ultramarine-MediumItalic.woff) format("woff")
}

@font-face {
    font-family: Ultramarine;
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(Ultramarine-Regular.woff2) format("woff2"), url(Ultramarine-Regular.woff) format("woff")
}

body {
        font-family: Ultramarine;
    background: #ffffff;
    color: #222;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Header --- */
.header {
    border-bottom: 1px solid #eee;
    background: #fff;
}

.header .brand {
    height: 42px;
}

.header .phone {
    font-weight: 600;
    color: #222;
}

/* Price label */
#priceValue {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    text-align: center;
    margin: 30px 0 20px;
}

.sliderWrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Base range */
input[type="range"].slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: var(--track-bg);
    outline: none;
    margin: 0;
    padding: 0;
}

/* Track height for Firefox */
input[type="range"].slider::-moz-range-track {
    height: 6px;
    border-radius: 10px;
    background: transparent;
    /* we'll use input background for fill */
}

/* Thumb (WebKit) */
input[type="range"].slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
    border: none;
    /* initial subtle glow */
    box-shadow: 0 0 0 8px rgba(15, 76, 170, 0.12), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.12s ease;
    position: relative;
    /* blink animation applied */
    animation: blink 1.6s infinite ease-in-out;
}

/* Thumb (Firefox) */
input[type="range"].slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue);
    border: none;
    box-shadow: 0 0 0 8px rgba(15, 76, 170, 0.12), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.12s ease;
    animation: blink 1.6s infinite ease-in-out;
}

/* Optional active scale on press */
input[type="range"].slider:active::-webkit-slider-thumb,
input[type="range"].slider:active::-moz-range-thumb {
    transform: scale(1.06);
}

/* Labels under the slider */
.minMax {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 16px;
    color: #5a6773;
}

/* Blink/pulse animation: change spread & alpha of box-shadow */
@keyframes blink {
    0% {
        box-shadow: 0 0 0 6px rgba(15, 76, 170, 0.12), 0 2px 6px rgba(0, 0, 0, 0.12);
        transform: translateY(0);
    }

    45% {
        box-shadow: 0 0 0 18px rgba(15, 76, 170, 0.14), 0 8px 18px rgba(15, 76, 170, 0.08);
        transform: translateY(-1px);
    }

    100% {
        box-shadow: 0 0 0 6px rgba(15, 76, 170, 0.12), 0 2px 6px rgba(0, 0, 0, 0.12);
        transform: translateY(0);
    }
}

.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 550px;
    margin: auto;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: #103c97;
    border: none;
    font-size: 20px;
    padding: 12px;
    border-radius: 8px;
}

.btn-primary:hover {
    background: #0c2f78;
}

.progress-wrapper {
    margin-bottom: 40px;
}

.progressbar {
    counter-reset: step;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.progressbar li {
    list-style: none;
    width: 100%;
    text-align: center;
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: #b2b8c9;
}

.progressbar li:before {
    counter-increment: step;
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    background: #d5dbe9;
    margin: 0 auto 10px;
}

.progressbar li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #d5dbe9;
    top: 4px;
    left: -50%;
    z-index: -1;
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li.active {
    color: #0a3a95;
}

.progressbar li.active:before {
    background: #0a3a95;
}

.progressbar li.active+li:after {
    background: #0a3a95;
}

#debtValue {
    font-size: 2rem;
    line-height: 130%;
    font-weight: 700;
    color: #154199;
    padding-top: 0px;
}

#svgImg {
    max-width: 32rem;
}

input,
select {
    height: 55px;
    font-size: 17px;
}

/* --- Card --- */
.container-card {
    display: flex;
    justify-content: center;
}

.card-box {
    width: 520px;
    background: #fff;
    border-radius: 10px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    margin-top: 18px;
    margin-bottom: 32px;
}

.card-box h2 {
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 22px;
    color: #0d1b2a;
}

.form-label {
    font-size: 13px;
    line-height: 120%;
    font-weight: 500;
    color: #1D252F;
}

.form-control {
    border: 1px solid #C0CBD8;
}

.form-control:hover {
    border: 1px solid #5C708A;
}
.form-control:focus{
    border: solid 2px #1D252F;
    box-shadow: none;
}
.form-group {
    margin-bottom: 15px;
}

.form-text {
    font-size: 0.75rem;
    line-height: 140%;
    font-weight: 400;
    color: #5C708A;
}

/* Buttons */
.btn-main {
    background: var(--brand);
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    border: none;
    width: 100%;
    font-weight: 700;
}

.btn-main:hover {
    background-color: #142E57;
}

.btn-main:active,
.btn-main:focus {
    outline: none;
    box-shadow: none;
}

/* logos row */
.logos {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    margin-top: 14px;
    margin-bottom: 30px;
}

.logos img {
    height: 70px;
    border-right: solid 1px #bfbfbf;
    padding-right: 20px;
}

.logos img:last-child {
    border-right: solid 0 #bfbfbf;

}

.form-row-2 {
    display: flex;
    gap: 20px;
    /* space between fields */
}

.form-row-2 .form-group {
    flex: 1;
}

/* legal/disclaimer block */
.footer{
        font-size: 0.75rem;
    line-height: 140%;
    font-weight: 400;
    background-color: rgb(248, 249, 252);
}
.legal {
    padding: 30px 0;
    color: #6b7280;
    line-height: 1.5;
}

/* footer */
.footer-links {
    text-align: center;
    color: var(--brand);
    font-size: 14px;
}

.small-copy {
    text-align: center;
    color: #8a8f98;
    font-size: 12px;
    padding-bottom: 36px;
}
.footer-links {
    text-align: center;
}

.footer-links .link-row {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #0f4caa;
    font-weight: 500;
    margin: 0 4px;
    transition: 0.2s;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links .dot {
    margin: 0 8px;
    font-size: 18px;
    color: #0f4caa;
}


/* responsive */
@media (max-width:640px) {
    .stepper-wrap {
        gap: 30px;
        transform: scale(.9);
        margin-top: 12px;
    }

    .stepper-line {
        width: 280px;
    }

    .card-box {
        width: 92%;
        padding: 22px;
    }

    .logos {
        gap: 12px;
            flex-direction: column;
    }

    .legal {
        padding: 26px 6%;
        font-size: 12px
    }
    .logos img {
    height: 100px;
    border-right: solid 0 #bfbfbf;
    padding-right: 0;
        border-bottom: solid 1px #bfbfbf;
    padding-bottom:20px;
}
}