:root {
    --green-yellow: #C9F156;
    --grey: #A1AECB;
    --indigo: #21366B;
    --dark-blue: #27448F;
    --primary-text-color: #0C1523;
    --text-font-size: 18px;
    --text-small-font-size: 16px;
}

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

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

/* BASIC STYLES */

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

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

h1 {
    font-weight: 700;
    font-family: "Raleway", sans-serif;
    font-size: 56px;
    color: #FFFFFF;
}

h2 {
    font-weight: 600;
    font-size: 44px;
    color: #0C1523;
    text-align: center;
}

ul {
    margin-top: 56px;
}

h3 {
    font-weight: 500;
    font-size: 24px;
    color: #060a10;
}

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

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

.text {
    font-weight: 400;
    font-size: var(--text-font-size);
    line-height: 120%;
    opacity: .9;
    letter-spacing: 0;
    color: var(--primary-text-color);
}

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

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

.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: 8px;
    background: linear-gradient(to right, #FEE41D 0%, #ED671C var(--fill-percent), #f3e7e7 var(--fill-percent), #f3e7e7 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    background: url("../img/input-thumb.svg") no-repeat;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    margin-left: 1px;
}

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

input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    background: url("../img/input-thumb.svg") no-repeat;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 1px;
}

/* 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, #FEE41D 0%, #ED671C var(--fill-percent), #f3e7e7 var(--fill-percent), #f3e7e7 100%);
    height: 24px;
    border-radius: 8px;
}

input[type="text"] {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #6B3021;
    background: #01496B;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 360px;
    width: 100%;
    text-align: left;
}

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 .calculator__wrapper {
    max-width: 322px;
    width: 100%;
}

.calculator .wrapper {
    max-width: 322px;
    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: '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;
}

input[type="text"] {
    display: inline-block;
    max-width: 73px;
    width: auto;
}

.calculator .text-input-wrapper {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #D7D7D7;
    padding: 6px 8px;
    width: auto;
    border-radius: 6px;
}

.calculator .text-input-wrapper .detail {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    color: #ED6C23;
}

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

section {

}

.btn {
    background: linear-gradient(94.62deg, #EC5100 2.06%, #FF741F 93.25%);
    color: #FFFFFF;
    max-width: 324px;
    margin-top: 24px;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    border: none;
    justify-content: center;
    border-radius: 16px;
    cursor: pointer;
    transition: .1s all linear;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}

.btn.btn-transparent {
    border: 1px solid #FFFFFF;
    gap: 12px;
    background: transparent;
    width: 110px;
    color: #FFFFFF;
    height: 44px;
    border-radius: 10px;
    margin-top: 0;
}

.btn.btn-transparent:hover {
    transform: scale(1.01);

}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    color: #7D2F00;
}

/* HEADER */

header {
    position: fixed;
    z-index: 10;
    width: 100%;
    background: #ef853c;
    padding: 10px 0;
}

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

/* FIRST SCREEN */

section.first-screen {
    padding: 140px 0 290px 0;
}

section.first-screen .first-screen__wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 56px;
}

section.first-screen .first-screen__wrapper .text-content {
    max-width: 887px;
    width: 100%;
}

h1 {
    margin-bottom: 24px;
    text-align: center;
}

.calculator {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 20px;
    max-width: 706px;
    display: flex;
    gap: 20px;
}

.calculator .discount-wrapper {
    background: #FFFFFFD9;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 16px 0 20px 0;
}

.calculator .discount-wrapper p {
    color: #1e3c83;
    font-size: 18px;
}

.calculator .discount-wrapper .percent {
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    color: #2959ca;
}

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

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

section.how-it-works ul li {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 32px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    max-width: 464px;
    width: 100%;
}


section.for-loan {
    padding: 60px 0;
}

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

section.for-loan .subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    color: #0C1523;
}

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

section.for-loan ul li {
    background: #FFFFFF;
    max-width: 354px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 94px 48px;
}

section.for-loan ul li h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    color: #0C1523;
}

section.for-loan ul li.grey {
    background: #FAFAFA;
}

footer {
    padding-top: 180px;
    padding-bottom: 64px;
}

footer .footer-info-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 56px;
    gap: 12px;
}

footer .footer-info-list li {
    max-width: 340px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #E16507;
}

footer .footer-info-list li .footer-title {
    font-weight: 800;
    margin-bottom: 4px;
}

footer .footer-text.white {
    color: #FFFFFF;
}

footer .documents-list {
    margin-top: 12px;
    display: flex;
    gap: 24px;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 56px;
}

footer .documents-list li {
    background: #FFFFFF33;
    height: 58px;
    width: 100%;
    border-radius: 10px;

}

footer .documents-list li a {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    text-align: center;
}

footer .additional-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}