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

body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 20px;
    background: #FFFFFF;
}

/* BASIC STYLES */

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

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

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

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

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

h3.subtitle {
    color: #697BAA;
}

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

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

.text {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #697BAA;
}

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

.footer-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    color: #FFFFFF;
}

.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: 32px;
    border-radius: 24px;
    background: linear-gradient(to right, #4061F8 0%, #56CEFD var(--fill-percent), #ECECEC var(--fill-percent), #ECECEC 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 38px;
    width: 5px;
    background: #1A50EE;
    border: none;
    cursor: pointer;
    margin-top: -3px;
    border-radius: 8px;
}

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

input[type="range"]::-moz-range-thumb {
    height: 38px;
    width: 5px;
    background: #1A50EE;
    border: none;
    cursor: pointer;
    margin-top: -3px;
    border-radius: 8px;
}

/* 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, #4061F8 0%, #56CEFD var(--fill-percent), #ECECEC var(--fill-percent), #ECECEC 100%);
    height: 32px;
    border-radius: 24px;
}

input[type="text"] {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #1A50EE;
}

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

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

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

.calculator-indicators-wrapper .calculator-indicator {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    color: #BCBCBC;
    margin-top: 8px;
}

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: 'Manrope', 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: #FFFFFF;
}

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

.btn {
    height: 60px;
    max-width: 400px;
    width: 100%;
    border-radius: 32px;
    background: linear-gradient(118.48deg, #4061F8 -5.81%, #56CEFD 91.26%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: .1s all linear;
    border: none;

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

.btn:hover {
    transform: scale(1.01);
}

.btn.enter-btn {
    height: 44px;
    width: 110px;
    color: #189BE6;
    background: #C5EAFF;
}

header {
}

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

section.first-screen {
    padding-top: 68px;
}

section.first-screen .container {
    background: url("../img/first-screen-bg-img.png") no-repeat bottom left;
    padding-bottom: 300px;
}

section.first-screen .first-screen__wrapper {
    display: flex;
    gap: 150px;
}

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

h1 {
    margin-bottom: 24px;
}

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

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

.calculator {
    padding: 32px;
    max-width: 464px;
    background: #FFFFFF;
    border-radius: 0 0 32px 32px;
    box-shadow: 0px 26px 27.6px 0px #D4D4D4;
}

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

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

section.how-it-works ul li {
    min-height: 378px;
    max-width: 462px;
    width: 100%;
    border-radius: 40px;
    background: #FFFFFF;
    box-shadow: 0px 14px 22.1px 0px #00000040;
    border: 3px solid #FFFFFF;
}

section.how-it-works ul li .item-header {
    background: #F5F5F5;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    height: 200px;
}

section.how-it-works ul li:last-child .item-header {
    padding-top: 20px;
}

section.how-it-works ul li .item-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

section.for-loan {
    padding-bottom: 100px;
    background: #F5F5F5;
}

section.for-loan .for-loan-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

section.for-loan .for-loan-wrapper .left {
    max-width: 616px;
}

section.for-loan .for-loan-wrapper .left h2 {
    margin-bottom: 24px;
}

section.for-loan .for-loan-wrapper .left .subtitle {
    color: #697BAA;
}

section.for-loan .for-loan-wrapper .left img {
    margin-top: 64px;
}

section.for-loan ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

section.for-loan ul li {
    min-height: 300px;
    max-width: 300px;
    width: 100%;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0px 14px 22.1px 0px #7684A740;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    flex-direction: column;
}

section.for-loan ul li h3 {
    color: #697BAA;
    text-align: center;
}

footer {
    background: linear-gradient(118.48deg, #4061F8 -5.81%, #56CEFD 91.26%);
    padding: 120px 0;
}