main .calculator__row{
    display:grid;
    grid-template-columns: calc(60% - 60px) 40%;
    gap:60px;
}
main .calculator__row .main__title{
    font-size:28px;
    font-weight:600;
    margin-bottom:32px;
}
.calculator-inp-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    position: relative;
}
.calculator-inp-wrap > div{
    display: flex;
    justify-content: space-between;
}
.calculator-inp-label {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    pointer-events: none;
    width: 60%;
}
.num-inp-wrap {
    border: 1px solid #e3e1e1;
    border-radius: 3px;
    display: inline-flex;
    gap: 5px;
    padding: 5px 8px;
    text-align: right;
}
.input-prefix {
    color: #333;
    font-family: Titillium Web;
    font-weight: 700;
}
#loan-amt-inp {
    width: 95px;
}
.calculator-num-inp {
    border: none;
    color: #555;
    font-size: 16px;
    font-weight: 700;
    line-height: 15px;
    outline: none;
    text-align: left;
}
.range-input {
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 5px;
    cursor: pointer;
    height: 7px;
    margin-top: 15px;
    outline: none;
    width: 100%;
    z-index: 1;
    background: linear-gradient(to right, rgb(0, 75, 142) 0%, rgb(0, 75, 142) 56.4516%, rgb(242, 242, 240) 56.4516%, rgb(242, 242, 240) 100%);
}
input[type='range']::-webkit-slider-runnable-track {
    height: 20px;
    -webkit-appearance: none;
    color: #13bba4;
    margin-top: -1px;
}

input[type='range']::-webkit-slider-thumb {
    width: 20px;
    -webkit-appearance: none;
    height: 20px;
    cursor: ew-resize;
    background: #fff;
    border-radius:20px;
    border:2px solid #05379a;
    box-shadow:0 6px 16px rgba(0,0,0,0.12);
}
.min-max-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:10px;
}
.max-inp-amt, .min-inp-amt {
    color: gray;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.banking__partners{
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.banking__partners img{
    width:100px;
}

.home__loan__form__row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    background: #f6fafe;
    border-radius: 22px;
    padding: 45px 60px 70px;
}
.home__loan__form__row .content{
    overflow:hidden
}
#bank__partners__slider{
    margin-top:20px;
}
#bank__partners__slider .bank__slide{
    display:flex;
    align-items:center;
    flex-direction:column;
    gap:4px;
}
#bank__partners__slider p.bank__name{
    font-weight:500;
    font-size:12px;
    text-align:center;
}
#bank__partners__slider.owl-carousel .owl-dots{
    display:block;
}
.home__loan__form__row .content h3 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.home__loan__form__row .content li{
    font-size:14px;
    padding-bottom:12px;
    line-height:24px;
    position:relative;
    display:flex;
    align-items:flex-start;
    gap:8px;
}
.home__loan__form__row .content li svg{
    margin-top:6px;
}
.home__loan__form__row .form__row{
    background:#fff;
    padding:20px;
    height:max-content;
}
.home__loan__form__row .form__row .title{
    font-size:20px;
    margin-bottom:24px;
}

.home__loan__form__row .form__row form .form-group{
    margin-bottom:20px;
}
.home__loan__form__row .form__row form input{
    border-radius: 8px;
    border: 1px solid #e9eef2;
    background: #fafbfd;
    padding: 8px 16px;
    box-shadow: none;
    resize: none;
    width:100%;
    font-size:14px;
}
.home__loan__form__row .form__row form .err{
    font-size:10px;
    padding-top:4px;
}
.home__loan__form__row .form__row form input::placeholder{
    font-size:12px;
}
.home__loan__form__row .form__row form button{
    margin-top:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    max-width:max-content;
    padding-inline:32px;
    height:40px;
    background:#05379a;
    color:#fff;
    font-weight:600;
    border-radius:6px;
    cursor:pointer;
}

@media (max-width:800px){
    .home__loan__form__row{
        padding:30px 20px;
    }
}

/* ------------------------------
   Modern Home Loan Calculator
   (scoped under .hlc)
-------------------------------- */
.hlc{
    margin: 28px 0;
    background: #f6fafe;
    border: 1px solid #e7effa;
    border-radius: 22px;
    padding: 32px;
}
.hlc__header{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.hlc__eyebrow{
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(5,55,154,0.75);
}
.hlc__title{
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hlc__subtitle{
    margin: 10px 0 0;
    color: rgba(0,0,0,0.65);
    font-size: 14px;
    line-height: 1.6;
    max-width: 70ch;
}
.hlc__grid{
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 18px;
    align-items: stretch;
}
.hlc__card{
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
    padding: 18px;
    height: 100%;
}
.hlc [hidden]{
    display: none !important;
}
.hlc__form-grid{
    display: grid;
    gap: 14px;
}
.hlc__field label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0,0,0,0.75);
    margin-bottom: 6px;
}
.hlc__field input{
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e9eef2;
    background: #fafbfd;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hlc__field input:focus{
    background: #fff;
    border-color: rgba(5,55,154,0.55);
    box-shadow: 0 0 0 4px rgba(5,55,154,0.10);
}
.hlc__actions{
    margin-top: 14px;
}
.hlc__btn{
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(135deg, #05379a, #0b5ed7);
    box-shadow: 0 14px 26px rgba(5,55,154,0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.hlc__btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(5,55,154,0.26);
    filter: brightness(1.02);
}
.hlc__btn:active{
    transform: translateY(0);
}
.hlc__error{
    margin: 10px 0 0;
    font-size: 12px;
    color: #b42318;
    min-height: 16px;
}
.hlc__results{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
}
.hlc__results--hidden{
    visibility: hidden;
    pointer-events: none;
    display: none;
}
.hlc__result-card{
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 12px 14px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hlc__result-card h4{
    margin: 0;
    font-size: 12px;
    font-weight:600;
    letter-spacing: 0.10em;
    color: rgba(0,0,0,0.55);
}
.hlc__result-icon{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #05379a;
    background: rgba(5,55,154,0.08);
    flex: 0 0 auto;
}
.hlc__result-icon svg{
    width: 22px;
    height: 22px;
}
.hlc__result-text{
    min-width: 0;
    flex: 1 1 auto;
}
.hlc__result-card p{
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #05379a;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.hlc__card--table{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 600px;
}
.hlc__table-head{
    padding: 0;
    margin-bottom: 12px;
}
.hlc__table-title{
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}
.hlc__table-subtitle{
    margin: 8px 0 0;
    font-size: 13px;
    color: rgba(0,0,0,0.6);
}
.hlc__table-wrap{
    height: 520px;
    overflow: auto;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fff;
    flex: 1;
}
.hlc__table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}
.hlc__table thead th{
    position: sticky;
    top: 0;
    z-index: 1;
    background: #05379a;
    color: #fff;
    text-align: right;
    padding: 12px 12px;
    font-weight: 800;
    white-space: nowrap;
}
.hlc__table thead th:first-child,
.hlc__table tbody td:first-child{
    text-align: center;
}
.hlc__table tbody td{
    padding: 10px 12px;
    text-align: right;
    border-bottom: 1px solid #eef2f7;
    white-space: nowrap;
}
.hlc__table tbody tr:nth-child(even){
    background: #f9fbff;
}
.hlc__table tbody tr:hover{
    background: #eef4ff;
}
.hlc__empty-row td{
    text-align: center !important;
    padding: 18px 12px;
    color: rgba(0,0,0,0.55);
    font-weight: 600;
    white-space: normal;
}

@media (max-width: 980px){
    .hlc__grid{
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px){
    .hlc{
        padding: 20px;
    }
    .hlc__title{
        font-size: 22px;
    }
    .hlc__results{
        grid-template-columns: 1fr;
    }
    .hlc__table-wrap{
        height: 420px;
    }
}