:root {
    --primary-red: #dc2626;
    --primary-blue: #00377A;
    --light-bg: #f5f0e8;
    --text-dark: #1f2937;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}


.form-banner::after{
      position: absolute;
  
}
.form-banner {
    position: absolute;
    max-width: 500px;
    right: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    border-color: #707070;
    border-width: 1px;
    border-style: solid;
}
.esaf-field .esaf-input {
    width: 100%;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 600;
    line-height: 33px;
    font-style: normal;
    text-align: left;
    color: #000000;
    padding: 11px 0;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #e9e9e9;
    background: transparent;
}
#homeLoanForm::before{
      width: 100%;
    height: 34px;
    border-left-top-radius: 28px;
    border-right-top-radius: 28px;
    border-right-bottom-radius: 0px;
    border-left-bottom-radius: 0px;
    background: #ce181e;
    background: linear-gradient(155deg, #ce181e 0.00%, #043678 100.00%);
    right: 0;
    top: 0;
    content: '';
    display: block;
}
#homeLoanForm .esaf-field {
    padding: 0 30px;
}
.esaf-field select.esaf-input {
    background: url(../images/select-icon.svg) 0 0 no-repeat;
    background-size: 16px;
    background-position: 100% 50%;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.esaf-submit-btn {
    font-weight: normal;
    line-height: 33px;
    font-style: normal;
    text-align: left;
    color: #ffffff;
    border: none;
    width: 235px;
    height: 50px;
    background: #c00015;
    border-radius: 35px;
    margin: 20px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.home-loan-dream-home h2 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.3;
    font-style: normal;
    text-align: left;
    color: #c00015;
}
.home-loan-dream-home p {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
    font-style: normal;
    text-align: left;
    color: #000000;
    margin: 20px 0;
}
.home-loan-dream-home{
    margin-top: 70px;
}
.home-loan-dream-home img{
    margin-top: 20px;
}

.our_home_loan_box {
    border-radius: 35px;
    background: #c00015;
    background: linear-gradient(-155deg, #c00015 0.00%, #60000b 100.00%);
    padding: 15px 15px 15px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.loan_per {
    border-radius: 22px;
    background: #0e3174;
    background: linear-gradient(165deg, #0e3174 0.00%, #07193a 100.00%);
    padding: 20px 22px 20px 66px;
    display: flex;
    align-items: flex-end;
}
.our_home_loan_box h3 {
    font-size: 40px;
    font-weight: normal;
    line-height: 1.3;
    font-style: normal;
    text-align: left;
    color: #ffffff;
    margin: 0;
}
.loan_per h2 {
    margin: 0;
    font-size: 75px;
    font-weight: 800;
    line-height: 1.3;
    font-style: normal;
    text-align: left;
    color: #ffffff;
}
.loan_per p {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    font-style: normal;
    text-align: left;
    color: #ffffff;
}
.loan_per p span {
    display: block;
    font-weight: 400;
    font-size: 13px;
}

.avail_boxes.d-flex {
    gap: 15px;
}
.avail-home-loan-sec h2, .feature-home-loan-sec h2, .faq-home-loan-sec h2 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.3;
    font-style: normal;
    text-align: center;
    color: #c00015;
}
.avail-box {
    background: #0e3174;
    border-radius: 30px;
    overflow: hidden;
    padding: 7px;
}
.avail-box img {
    border-radius: 30px;
}
.avail-box p {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    font-style: normal;
    text-align: center;
    color: #fff;
    margin: 10px 0 10px 0;
}
.feature-home-loan-sec::before {
    content: '';
    background: #ECECEC;
    height: 100%;
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    width: 75%;
    transform: translateX(-50%);
    left: 50%;
    border-radius: 30px;
}
.f_b_box {
    width: 90%;
    height: unset;
    border-radius: 27px;
    background: #fff;
    text-align: center;
    padding: 40px;
    margin: 15px 0;
}
.f_b_box p {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.3;
    font-style: normal;
    text-align: center;
    color: #000;
    margin: 25px 0 0 0;
}
.f_b_box img {
    width: 65px;
}
#faqAccordion .accordion-item {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #dfdfdf;
}
#faqAccordion .accordion-item .accordion-button {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 20px 0;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.5;
    font-style: normal;
    text-align: left;
    color: #00377a;
}
#faqAccordion .accordion-item .accordion-body{
    padding-top: 0;
}
#faqAccordion .accordion-item .accordion-body h6 {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.5;
    font-style: normal;
    text-align: left;
    color: #000;
    font-weight: 600;
}
#faqAccordion .accordion-item .accordion-body ul {
    margin: 0;
    padding: 0 0 0 15px;
}
#faqAccordion .accordion-item .accordion-body ul li {
    font-size: 16px;
    font-weight: 500;
}
#faqAccordion .accordion-item .accordion-body ul li::marker{
    color: #00377a;
}
.accordion-button::after {
   background: url(../images/close_accordian.svg) 0 0 no-repeat;
    transform: rotate(0);
    background-size: 100%;
}
.accordion-button:not(.collapsed)::after {
    background: url(../images/open_accordian.svg) 0 0 no-repeat;
    transform: rotate(0);
    background-size: 100%;
}



/*media*/
/*media*/
/*media*/

@media (max-width: 1400px) {
.feature-home-loan-sec::before {
    width: 90%;
}
.home-loan-dream-home img {
    margin-top: 97px;
}
}
@media (max-width: 1280px) {
.feature-home-loan-sec::before {
    width: 90%;
}
.form-banner {
    position: unset;
    margin: 0 auto;
}
}
@media (max-width: 767px) {
.esaf-field .esaf-input {
    font-size: 13px;
    line-height: 1.5;
    padding: 11px 0;
}
.home-loan-dream-home {
    margin-top: 35px;
}
.home-loan-dream-home h2 {
    font-size: 27px;
}
.home-loan-dream-home p {
    font-size: 16px;
    margin: 12px 0;
}
.home-loan-dream-home img {
    margin-top: 30px;
}
.our_home_loan_box {
    display: block;
    padding: 20px;
}
.loan_per {
    padding: 20px;
    gap: 7px;
}
.our_home_loan_box h3 {
    font-size: 23px;
    margin: 0 0 20px 0;
}
.loan_per h2 {
    font-size: 40px;
}
.avail-home-loan-sec h2, .feature-home-loan-sec h2, .faq-home-loan-sec h2 {
    font-size: 27px;
}
.avail_boxes.d-flex {
    gap: 15px;
    flex-wrap: wrap;
}
.avail-box {
    background: #0e3174;
    border-radius: 30px;
    overflow: hidden;
    padding: 7px;
    width: 47%;
}
.avail-box p {
    font-size: 16px;
    font-weight: 600;
}
.f_b_box {
    margin: 15px auto 0;
}
#faqAccordion .accordion-item .accordion-button {
    padding: 15px 0;
    font-size: 18px;
}
#faqAccordion .accordion-item .accordion-body h6 {
    font-size: 17px;
}
.f_b_box img {
    width: 45px;
}
.f_b_box p {
    font-size: 17px;
    margin: 14px 0 0 0;
}
.f_b_box {
    padding: 30px; 
}
}
