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

body {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    color: #505050;
    background: url("../img/body-bg.png") no-repeat bottom, #FFFFFF;
}

/* BASIC STYLES */

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

.blue-text {
    background: linear-gradient(128.81deg, #24B6E6 16%, #4061F8 75.98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

h1 {
    font-weight: 700;
    font-size: 64px;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 44px;
}

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

h4 {
    font-weight: 600;
    font-size: 24px;
}

h5 {
    font-weight: 600;
    font-size: 20px;
    vertical-align: middle;
    color: #21366B;
}

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

.text.small {
    font-size: var(--text-small-font-size);
}

.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;
}

.jc-sb {
    justify-content: space-between;
}

.w-100 {
    width: 100%;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-40 {
    gap: 40px;
}


.mb-4 {
    margin-bottom: 4px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-28 {
    margin-bottom: 28px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-40 {
    margin-bottom: 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: 8px;
    border-radius: 8px;
    background: linear-gradient(to right, #38B9FF 0%, #4061F8 var(--fill-percent), #F6F6F6 var(--fill-percent), #F6F6F6 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 21px;
    background: #3F6DF9;
    border: 3.37px solid #172474;
    cursor: pointer;
    margin-top: -6px;
    border-radius: 50%;
}

/* Track styles for Firefox */
input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(to right, #38B9FF 0%, #4061F8 var(--fill-percent), #F6F6F6 var(--fill-percent), #F6F6F6 100%);
    border: none;
}

input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 21px;
    background: #3F6DF9;
    border: 3.37px solid #172474;
    cursor: pointer;
    margin-top: -6px;
    border-radius: 50%;
}

/* 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, #38B9FF 0%, #4061F8 var(--fill-percent), #F6F6F6 var(--fill-percent), #F6F6F6 100%);
    height: 8px;
    border-radius: 8px;
}

input[type="text"] {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #213DBB;
}

.calculator-details {
    max-width: 370px;
    width: 100%;
}

.calculator-details .btn {
    width: 100%;
    margin-bottom: 32px;
}

.calculator-details .additional-info {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #949494;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.calculator-calculation__list {
    background: #EEFBFF;
    padding: 24px;
    border-radius: 24px;
    max-width: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.calculator-calculation__list .calculator-detail {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-calculation__list li {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.calculator-calculation__list .value {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-wrapper {
    display: flex;
    gap: 48px;
}

.calculator-wrapper .calculator-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 370px;
    width: 100%;
    position: relative;
    margin-bottom: 32px;
}

.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;
    margin-top: 4px;
}

.calculator-indicators-wrapper .calculator-indicator {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #949494;
}

.calculator-details {
    max-width: 370px;
    width: 100%;
}

.calculator-details .btn {
    width: 100%;
    margin-bottom: 32px;
}

.calculator-details .additional-info {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #949494;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.calculator-calculation__list {
    background: #EEFBFF;
    padding: 24px;
    border-radius: 24px;
    max-width: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.calculator-calculation__list .calculator-detail {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-calculation__list li {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.calculator-calculation__list .value {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-wrapper {
    display: flex;
    gap: 48px;
}

.calculator-wrapper .calculator-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 370px;
    width: 100%;
    position: relative;
    margin-bottom: 32px;
}

.calculator_wrapper {
    max-width: 386px;
    width: 100%;
    border-radius: 32px;
}

.calculator_wrapper > img {
    border-radius: 32px 32px 0 0;
}

.calculator {
    border-radius: 0 0 32px 32px;
    background: #FFFFFF;
    padding: 32px;
}

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

section.first-screen .first-screen__wrapper .text-content {
    max-width: 670px;
}

h1 {
    margin-bottom: 24px;
}

footer {
    padding-bottom: 110px;
}

.footer-info-list {
    gap: 24px;
}

.footer-info-list li {
    max-width: 340px;
    width: 100%;
}

.btn {
    height: 60px;
    max-width: 322px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4061F8;
    border-radius: 32px;

    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
    color: #FFFFFF;
    transition: all 0.2s linear;
    cursor: pointer;
    border: none;
    gap: 12px;
}

.btn:hover {
    background: #4f6af8;
    transform: scale(1.01);
}

.btn.enter-btn {
    height: 44px;
    width: 110px;
    border: 1px solid #4061F8;
    background: transparent;

    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #4061F8;
}

header {
    position: absolute;
    width: 100%;
    top: 0;
}

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

section.first-screen {
    background: url("../img/first-screen-bg.png") no-repeat;
    padding-top: 171px;
    padding-bottom: 302px;
    background-size: cover;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0;
    color: #151516;
}

section.how-it-works {
    padding: 100px 0;
}

section.how-it-works h2 {
    margin-bottom: 56px;
}

section.how-it-works ul {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

section.how-it-works ul li {
    max-width: 464px;
    width: 100%;
    min-height: 220px;
    display: flex;
    gap: 24px;
    flex-direction: column;
    padding: 32px;
    border-radius: 32px;
}

section.get-loan {
    padding-bottom: 100px;
}

section.get-loan h2 {
    margin-bottom: 24px;
}

section.get-loan ul {
    margin-top: 56px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

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

section.get-loan h3 {
    line-height: 1.5;
    color: #051F98;
}

footer {
    padding-top: 115px;
}

.footer-info-list {
    margin-top: -24px;
}

.footer__wrapper {
    display: flex;
    flex-direction: column;
    gap: 56px;
    align-items: flex-start;
}

.links-list {
    margin-top: -48px;
    justify-content: space-between;
    width: 100%;
}

footer .text {
    color: #3AA7FE;
    font-size: 16px;
}

footer .text.black {
    color: #0C0C6D;
}

.links-list a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0;
    color: #3AA7FE;
}

footer .additional-info {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    color: #0C0C6D;
}