
*, :before, :after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    background: url("../img/body-bg.png") no-repeat, #FAFAFA;
    background-size: cover;
}

/* BASIC STYLES */

.container {
    max-width: 1480px;
    padding: 0 20px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 100%;
    letter-spacing: 0;
    color: #190063;
}

h1 {
    font-weight: 600;
    font-size: 80px;
    margin-top: 64px;
    margin-bottom: 32px;
}

h2 {
    font-weight: 600;
    font-size: 48px;
    text-align: center;
}

h3 {
    font-weight: 600;
    font-size: 36px;
}

h4 {
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
}

.calculator h4 {
    color: #190063;
    text-align: center;
    margin-bottom: 26px;
}

h5 {
    font-weight: 700;
    font-size: 20px;
}

.subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    color: #503A92;
}

.text {
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #190063;
}

.text.small {
    font-size: 16px;
}

.footer-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #21366B;
}

.green-yellow-color {
    color: var(--green-yellow) !important;
}

.grey-color {
    color: var(--grey) !important;
}

.indigo-color {
    color: var(--indigo) !important;
}

.dark-blue-color {
    color: var(--dark-blue) !important;
}

.text-center {
    text-align: center;
}

.gradient-text-bg {
    background: linear-gradient(85.93deg, #70CAC1 -33.07%, #C9F156 112.59%);
    padding: 4px;
    border-radius: 26px;
}

.d-flex-column-default {
    display: flex;
    flex-direction: column;
}

.d-flex {
    display: flex;
}

.ai-c {
    align-items: center;
}

.ai-e {
    align-items: flex-end;
}

.ai-s {
    align-items: flex-start;
}

.jc-c {
    justify-content: center;
}

.jc-e {
    justify-content: flex-end;
}

.jc-s {
    justify-content: flex-start;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-40 {
    gap: 40px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
}

/* Track styles for WebKit browsers (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-runnable-track {
    height: 24px;
    border-radius: 24px;
    background: linear-gradient(to right, #7B4EFF 0%, #73C3FF var(--fill-percent), #FFFFFFD8 var(--fill-percent), #FFFFFFD8 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 32px;
    width: 25px;
    background: linear-gradient(90deg, #7040FF 0%, #00DCFF 100%);
    border-radius: 50px;
    cursor: pointer;
    margin-top: -3px;
}

/* Track styles for Firefox */
input[type="range"]::-moz-range-track {
    height: 24px;
    border-radius: 24px;
    background: linear-gradient(to right, #7B4EFF 0%, #73C3FF var(--fill-percent), #FFFFFFD8 var(--fill-percent), #FFFFFFD8 100%);
    border: none;
}

input[type="range"]::-moz-range-thumb {
    height: 32px;
    width: 25px;
    background: linear-gradient(90deg, #7040FF 0%, #00DCFF 100%);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    margin-top: -3px;
}

/* For the unfilled portion of the track */
input[type="range"] {
    background: #ECECEC;
    border-radius: 24px;
}

/* Firefox specific - to show the unfilled portion */
input[type="range"]::-moz-range-progress {
    background: linear-gradient(to right, #7B4EFF 0%, #73C3FF var(--fill-percent), #FFFFFFD8 var(--fill-percent), #FFFFFFD8 100%);
    height: 24px;
    border-radius: 24px;
}

input[type="text"] {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    color: #190063;
}

input[type="text"]::placeholder {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    color: #190063;
}

.calculator {
    max-width: 412px;
    background: #FFFFFFB2;
    width: 100%;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.calculator__wrapper {
    position: relative;
    max-width: 412px;
    width: 100%;
}

.calculator-block-wrapper {
    background: #FFFFFF;
    padding: 32px 32px 64px 32px;
    border-radius: 32px;
    max-width: 852px;
    width: 100%;
}

.calculator-indicators-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.calculator-indicators-wrapper .calculator-indicator {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #503A92;
}



.btn {
    height: 64px;
    background: linear-gradient(90deg, #7040FF 0%, #00DCFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    border-radius: 50px;
    margin-top: 26px;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    transition: .1s all linear;
}

.btn:hover {
    background: linear-gradient(90deg, #7c54f3 0%, #29cbe4 100%);
    transform: scale(1.01);
}

header {
    background: transparent;
}

header .header__wrapper {
    height: 96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.enter-btn {
    margin: 0;
    width: 133px;
    color: #1D8CFF;
    background: #FFFFFF;
    gap: 10px;
}

.enter-btn:hover {
    background: #fbf9f9;
}

.first-screen {
    padding: 120px 0 140px 0;
    position: relative;
}

.first-screen__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 48px;
}

.blue-text {
    color: #1D8CFF;
}

.first-screen .percent-rate {
    position: absolute;
    top: -100px;
    left: -220px;
    width: 246px;
    background: linear-gradient(142.39deg, #7B4EFF 5.37%, #73C3FF 92.87%);
    padding: 20px;
    border-radius: 20px;
}

.first-screen .percent-rate .wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 18px;
    color: #FFFFFF;
}

.first-screen .percent-rate .rate {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 54px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
    margin-top: 16px;
}

section.how-it-works {
    padding-bottom: 140px;
}

section.how-it-works ul {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 96px;
}

section.how-it-works ul li {
    background: linear-gradient(142.39deg, #7B4EFF 5.37%, #73C3FF 92.87%);
    padding: 60px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 455px;
    width: 100%;
}

section.how-it-works ul li:first-child, section.how-it-works ul li:last-child {
    margin-top: 96px;
}

section.how-it-works ul li .title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: #FFFFFF;
}

section.how-it-works ul li .text {
    color: #FFFFFF;
}

section.how-it-works ul li img {
    margin-bottom: 16px;
}

section.for-loan {
    padding-bottom: 140px;
}

section.for-loan .for-loan__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-top: 64px;
}

section.for-loan ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 64px;
}

section.for-loan ul li {
    display: flex;
    gap: 24px;
    align-items: center;
    max-width: 789px;
    width: 100%;
}

section.for-loan h4 {
    color: #190063;
}

section.for-loan .icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFFB2;
}

section.for-loan .phone-img {
    margin-left: 90px;
}

section.always-work {
    padding-bottom: 140px;
}

section.always-work .always-work__wrapper {
    display: flex;
    max-width: 900px;
    width: 100%;
    justify-content: center;
    gap: 48px;
    margin: 0 auto;
}

section.always-work h2 {
    text-align: left;
}

footer {
    padding: 60px 0 96px 0;
}

footer .footer__wrapper {
    display: flex;
    justify-content: center;
    gap: 48px;
}

footer .footer__wrapper .footer__wrapper__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .footer__wrapper .footer__wrapper__item .wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .footer__wrapper .footer-info-wrapper {
    display: flex;
    gap: 35px;
    flex-direction: column;
}

footer .all-rights {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #190063;
}

footer .all-rights.mobile {
    display: none;
}

footer a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #1D8CFF;
    text-align: center;
}