:root {
    --padding-gap: 80px;
    /*third gap*/
    --calc-minus-gap: -90px;
    --input-size: 50px;
    --padding-box: 25px 20px;
    --calc-heading-2: 22px;
    --calc-heading-3: 24px;
    --lg-text: 20px;
    --priamry-bg-color: #0072d5;
    --priamry-bg-dark-color: #0060b5;
    --priamry-text-color: #0072d5;
}

@media(min-width: 768px) {
    :root {
        --input-size: 60px;
    }
}

@media(min-width: 992px) {
    :root {
        --padding-box: 50px 30px;
        --container-gap: 30px;
        --calc-heading-2: 24px;
        --lg-text: 24px;
    }
}

@media(min-width: 1200px) {
    :root {
        --calc-minus-gap: -135px;
    }
}

@media(min-width: 1400px) {
    :root {
        --calc-heading-2: 27px;
        --calc-minus-gap: -220px;
        --container-gap: 6%;
        --lg-text: 26px;
    }
}

/* Base responsive font sizes */
html {
    font-size: 16px;
}

@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 15.5px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    html {
        font-size: 16.5px;
    }
}

@media (min-width: 1400px) {
    html {
        font-size: 17px;
    }
}

small {
    font-size: 75%;
}

p {
    color: #21252A !important;
    font-size: 1rem;
    line-height: 1.5;
}

.text-primary {
    color: #0072d5 !important;
}

.text-blue {
    color: #0F6BBD !important
}

.fw-light {
    font-weight: 300 !important;
}

h2::before,
h2::after,
h3::before,
h3::after {
    display: none !important;
}

.section-padding-sm {
    padding-top: var(--padding-gap);
    padding-bottom: var(--padding-gap);
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-color: #ffffff;
    border: 1px solid #e6e6e6a9;
    overflow: hidden;
    box-shadow: 3px 3px 16px rgba(0 0 0 / 5%);
    border-radius: 8px;
}

.calc-section-title {
    margin-bottom: 20px;
    text-align: center;
}

.calc-section-title span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--priamry-text-color);
    margin-bottom: 10px !important;
    display: block;
    text-transform: uppercase;
}

@media(min-width: 992px) {
    .inner-container {
        padding-left: var(--container-gap);
        padding-right: var(--container-gap);
    }

    .calc-section-title {
        margin-bottom: 40px;
    }

    .calc-section-title h2 {
        font-size: 2rem;
    }
}

@media(max-width: 767px) {
    main.container {
        padding: 0;
        overflow: hidden;
    }

    .calc-section.inner-container {
        padding: 0;
    }

    .px-max-sm-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media(max-width: 991px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .pb-max-lg-0 {
        padding-bottom: 0 !important;
    }
}

.gy-4 {
    row-gap: 24px;
}

@media(min-width: 992px) {
    .gy-lg-0 {
        row-gap: 0;
    }
}

.inner-banner {
    min-height: 350px;
    padding-top: var(--padding-gap);
    padding-bottom: var(--padding-gap);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.inner-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.4) 80%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.inner-banner p {
    font-size: 1.25rem;
}

.inner-banner h1 {
    color: #0083f5;
    font-size: 2.5rem;
}

@media(min-width: 768px) {
    .inner-banner {
        min-height: 450px;
    }

    .inner-banner h1 {
        font-size: 3rem;
    }
}

@media(min-width: 992px) {
    .inner-banner {
        min-height: 615px;
    }

    .inner-banner::before {
        background: linear-gradient(90deg, rgba(255 255 255 / 100%) 0%, rgba(255 255 255 / 70%) 40%, rgba(255 255 255 / 20%) 60%, rgba(70 70 70 / 0%) 100%);
    }

    .inner-banner .row {
        transform: translateY(calc(var(--calc-minus-gap) / 2));
    }

    .calc-section {
        margin-top: var(--calc-minus-gap);
        position: relative;
        z-index: 992;
    }

    .inner-banner h1 {
        font-size: 3.5rem;
    }
}

.calc-card {
    padding: var(--padding-box);
}

.calc-card h2 {
    font-size: var(--calc-heading-2);
}

.calc-card h3 {
    font-size: var(--calc-heading-3);
}

.calc-card.bg-light {
    background-color: #edf7ff;
    background-image: linear-gradient(to bottom, #edf7ff, #edf7ffe8, #edf7ffd8, #ffffff, #ffffff);
}

.calc-card .btn-primary {
    font-size: 1.125rem !important;
    font-weight: 500;
    width: 100%;
    height: var(--input-size) !important;
    padding: 10px 35px;
    border-radius: 4px !important;
    text-transform: uppercase;
    display: grid;
    place-items: center;
    background-color: var(--priamry-bg-color);
    border-color: var(--priamry-bg-color);
}

.calc-card .btn-primary:hover {
    background-color: var(--priamry-bg-dark-color);
    border-color: var(--priamry-bg-dark-color);
}

.calc-card .calc-input-group .calc-input-group-icon {
    color: #ffffff;
    background-color: var(--priamry-bg-color);
    font-size: 1.25rem;
    width: var(--input-size);
    height: var(--input-size);
    display: grid;
    place-items: center;
    line-height: 1;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
}

.calc-card .calc-input-group .calc-input-group-icon:hover {
    background-color: var(--priamry-bg-dark-color);
}

.calc-card .calc-input-group .form-control {
    font-size: 1.25rem;
    font-weight: 500;
    height: var(--input-size);
    line-height: 1;
    background-color: #ffffff !important;
    border: 1px solid #e2e2e2;
    border-radius: 0 5px 5px 0;
    margin-bottom: 0 !important;
}

.calc-card .select_wrapper {
    background-color: #ffffff !important;
    border: 1px solid #e2e2e2;
    border-radius: 0 5px 5px 0;
    padding-right: 8px;
}

.calc-card .select_wrapper .form-control {
    background-color: #ffffff !important;
    border: 0;
    border-radius: 0;
    height: 50px !important;
    vertical-align: middle;
}

.calc-card .calc-min-loan {
    font-size: 0.875rem !important;
    display: block;
    margin-top: 0.5rem;
}

.calc-card-body table {
    table-layout: fixed;
}

.calc-card label {
    font-size: 1.125rem;
    font-weight: 700;
}

.calc-table-view table {
    margin-bottom: 0 !important;
}

.calc-table-view :is(td, th) {
    font-size: 0.75rem;
    background-color: inherit;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

.calc-table-view thead :is(td, th) {
    color: #798188 !important;
}

.calc-card .card>.card-body {
    padding: 1rem !important;
}

.calc-card .card {
    position: relative;
    overflow: unset;
    border-radius: 10px !important;
}

.calc-card .card::before {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    content: '';
    display: inline-block;
    height: 35px;
    width: 35px;
    position: absolute;
    right: -24px;
    top: 22px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjExNS40NyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMjYuNDU4IDMwLjU1MSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiA8bWV0YWRhdGE+CiAgPHJkZjpSREY+CiAgIDxjYzpXb3JrIHJkZjphYm91dD0iIj4KICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgPGRjOnR5cGUgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIvPgogICAgPGRjOnRpdGxlLz4KICAgPC9jYzpXb3JrPgogIDwvcmRmOlJERj4KIDwvbWV0YWRhdGE+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNy42MTg1IC0yNS4zNzgpIj4KICA8cGF0aCBkPSJtMzMuOTMgNDAuNjUzLTI2LjIzOCAxNS4xNDkgMWUtNiAtMTUuMTQ5LTFlLTYgLTE1LjE0OSAxMy4xMTkgNy41NzQzeiIgZmlsbD0iI2ZmZiIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9Ii4xNDY3NSIvPgogPC9nPgo8L3N2Zz4K);
}

.calc-card .card>.card-body b {
    font-size: 0.875rem;
}

.calc-card .card>.card-body p {
    font-size: 0.8125rem;
}

@media(min-width: 992px) {
    .calc-card .select_wrapper .form-control {
        height: 60px !important;
    }
}

/* table style */
.calc-table-view :is(tbody, tfoot, thead, th, td, tr) {
    border: 0 !important;
}

.calc-table-view .table-responsive {
    margin-bottom: 1.875rem !important;
}

.calc-table-view .table-responsive table {
    margin-bottom: 0 !important;
}

.calc-table-view table thead tr {
    background-color: #fff !important;
    border-top: 2px solid #f2f2f2 !important;
}

.calc-table-view table tbody tr:nth-child(odd) {
    background-color: #f2f2f2 !important;
}

.calc-table-view table tbody tr:nth-child(even) {
    background-color: #ffffff !important;
}

/* how it work section */
.calc-how-it-work {
    background-color: #f7f8fa;
    padding-bottom: 0 !important;
    position: relative;
    text-align: center;
}

.calc-how-it-work+.calc-how-it-work {
    padding-top: 0 !important;
    background-color: unset;
    position: relative;
    z-index: 1;
}

.calc-how-it-work+.calc-how-it-work::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(90% + 24px);
    background-color: #f7f8fa;
    z-index: -1;
}

.calc-how-it-work .card:not(:hover) {
    box-shadow: unset !important;
}

.calc-how-it-work .card {
    padding: 1.875rem !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    height: 100%;
    margin-bottom: 0 !important;
    transition: all 0.22s ease;
}

.calc-how-it-work .card p {
    margin-bottom: 0 !important;
}

.calc-how-it-work .card .card-icon img {
    height: 7.5rem;
    margin-bottom: 0.9375rem;
}

.calc-how-it-work .card .card-heading {
    margin-bottom: 0 !important;
}

.calc-how-it-work .card .card-heading h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

@media(min-width: 768px) {
    .calc-how-it-work+.calc-how-it-work::before {
        height: calc(75% + 24px);
    }
}

@media(min-width: 992px) {
    .calc-how-it-work+.calc-how-it-work::before {
        height: 50%;
    }
}

.disclaimer_text_1 {
    border-top: 2px dotted #ddd;
    display: block;
}

#moreText {
    display: none;
}

.disclaimer_text_1 button {
    color: #0072d5;
    font-weight: 500;
    text-decoration: underline;
}

.calc-amount-show h2 {
    color: #0072d5;
    font-weight: 400;
    font-size: 4rem;
    margin-bottom: 1rem !important;
}

.calc-amount-show span {
    color: #0072d5;
    font-size: 18px;
    font-weight: 400;
}

.calc-amount-show p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem !important;
}

.calc-amount-show p.small {
    font-size: 1.0625rem;
}

@media(max-width: 991px) {
    .calc-amount-show h2 {
        font-size: 2rem;
        padding: 0;
    }

    .calc-amount-show span {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .calc-amount-show h2 {
        font-size: 1.75rem !important;
    }

    .calc-amount-show span {
        font-size: 0.875rem !important;
    }
}

.lg-text {
    font-size: var(--lg-text);
    font-weight: 300 !important;
}

.label-heading {
    color: #21252A;
    font-size: 0.78125rem;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    display: block;
    margin-bottom: 0.625rem;
}

h3>sup {
    margin: 0 !important;
    top: -0.6em !important;
    font-size: 70% !important;
}

.loan-limit-message {
    font-size: 1.875rem !important;
    line-height: 1.8 !important;
    color: #ff0000 !important;
    margin: 0;
    padding: 0;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 575px) {
    .inner-banner h1 {
        font-size: 2rem;
        padding-top: 1.25rem !important;
    }

    .inner-banner p {
        font-size: 1rem;
    }

    .calc-card {
        padding: 1.25rem 0.9375rem !important;
    }

    .calc-card h2 {
        font-size: 1.25rem !important;
    }

    .calc-card label {
        font-size: 1rem !important;
    }

    .calc-card .calc-input-group .form-control {
        font-size: 1rem !important;
    }

    .calc-amount-show h2 {
        font-size: 1.75rem !important;
    }

    .calc-amount-show span {
        font-size: 15px !important;
    }

    #calcMsg {
        font-size: 0.875rem !important;
    }

    .loan-limit-message {
        font-size: 1.25rem !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .inner-banner h1 {
        font-size: 2.25rem;
    }

    .calc-amount-show h2 {
        font-size: 2.25rem !important;
    }

    .loan-limit-message {
        font-size: 1.5rem !important;
    }
}

/* Print styles */
@media print {

    .calc-card .btn-primary,
    .inner-banner::before {
        display: none !important;
    }

    .calc-grid {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

@media (min-width: 1024px) {
    .desktop-only-calc {
        padding-top: 2.8125rem !important;
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .desktop-only-calc {
        padding-top: 4.8125rem !important;
        /* padding-top: 2.8125rem !important; */
        padding-bottom: 2.5rem;
    }
}

.sub-text-banner {
    color: #0083f5;
    font-size: 19px;
}

@media only screen and (min-width: 600px) {
    .sub-text-banner {
        font-size: 18px;
    }
}

@media only screen and (min-width: 768px) {
    .sub-text-banner {
        font-size: 20px;
    }
}

@media only screen and (min-width: 992px) {
    .sub-text-banner {
        font-size: 22px;
    }
}

@media only screen and (min-width: 1200px) {
    .sub-text-banner {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
  .small-screen-faq {
    padding-top: 70px !important ;
  }
}