@media (max-width:1799.98px) {
  h1,
  .h1 { font-size: 80px; line-height: 90px; }
}
@media (max-width:1599.98px) {

  /* GLOBAL CSS */
  h1,
  .h1 { font-size: 75px; line-height: 85px; }
  .h2 { font-size: 40px; line-height: 52px; }
  .h3 { font-size: 34px; line-height: 38px; }
  .h4 { font-size: 19px; line-height: 21px; }
  .h5 { font-size: 17px; line-height: 22px; }
  .h6 { font-size: 16px; line-height: 24px; }
  .p { font-size: 22px; line-height: 28px; }
}
@media (max-width:1499.98px) {

  /* GLOBAL CSS */
  h1,
  .h1 { font-size: 67px; line-height: 77px; }
  .h2 { font-size: 37px; line-height: 50px; }
  .h3 { font-size: 30px; line-height: 35px; }
  .h4 { font-size: 19px; line-height: 21px; }
  .h5 { font-size: 17px; line-height: 22px; }
  .h6 { font-size: 16px; line-height: 24px; }
  .p { font-size: 20px; line-height: 26px; }
  .common-padding-t { padding-top: 100px; }
  .common-padding-b { padding-bottom: 100px; }
  .common-padding { padding: 100px 0; }
  .common-main-title-padding { padding-bottom: 50px; }

  /* ACCORDION */
  .accordion-button { padding: 20px; }

  /* HEADER SECTION */
  .header-inner.header-inner-right a { font-size: 22px; }

  /* MORTAGE JUST GOT EASIER SECTION */
  ul.checkicon-points li { margin: 10px 0; }

  /* COMPANY TRANSPARENCY */
  .company-transparency-main .company-transparency-wrapper { padding-bottom: 50px; }
}
@media (max-width:1399.98px) {

  /* GLOBAL CSS */
  h1,
  .h1 { font-size: 56px; line-height: 65px; }
  .h2 { font-size: 33px; line-height: 45px; }
  .h3 { font-size: 28px; line-height: 32px; }
  .h4 { font-size: 19px; line-height: 21px; }
  .h5 { font-size: 16px; line-height: 20px; }
  .h6 { font-size: 15px; line-height: 23px; }
  .p { font-size: 19px; line-height: 25px; }
  .common-padding-t { padding-top: 80px; }
  .common-padding-b { padding-bottom: 80px; }
  .common-padding { padding: 80px 0; }
  .common-main-title-padding { padding-bottom: 40px; }

  /* ACCORDION */
  .accordion-button { padding: 15px 20px; }

  /* FAQ SECTION */
  .faq-wrapper { gap: 65px; }
  .faq-image { max-width: 500px; }
  .faq-sec-main .faq-element { left: 30px; }
  .faq-content { width: calc(100% - 500px); }
}
@media (max-width:1199.98px) {

  /* GLOBAL CSS */
  h1,
  .h1 { font-size: 46px; line-height: 55px; }
  .h2 { font-size: 28px; line-height: 42px; }
  .h3 { font-size: 23px; line-height: 27px; }
  .h4 { font-size: 18px; line-height: 20px; }
  .h5 { font-size: 16px; line-height: 20px; }
  .h6 { font-size: 15px; line-height: 23px; }
  .p { font-size: 18px; line-height: 24px; }
  .btn { font-size: 17px; }
  .banner-main .banner-wrapper .banner-intro { width: calc(100% - 450px); }
  .banner-main .banner-wrapper .banner-form { width: 450px; }

  /* COMMON ACCORDION */
  .accordion-item { margin-bottom: 10px; }
  .accordion-button:after { width: 30px; height: 30px; font-size: 16px; }

  /* HEADER SECTION */
  .header-inner.header-inner-right a { font-size: 18px; }

  /* FAQ SECTION */
  .faq-image { max-width: 400px; max-height: 400px; }
  .faq-content { width: calc(100% - 400px); }

  /* MORTGAGE JUST GOT EASIER SECTION */
  ul.checkicon-points li { font-size: 18px; }
  ul.checkicon-points li:before { background-size: 20px; }
}
@media (max-width:991.98px) {
  .container { max-width: 100%; padding: 0 15px; }

  /* GLOBAL CSS */
  h1,
  .h1 { font-size: 36px; line-height: 42px; }
  .h2 { font-size: 24px; line-height: 33px; }
  .h3 { font-size: 20px; line-height: 24px; }
  .h4 { font-size: 16px; line-height: 18px; }
  .h5 { font-size: 15px; line-height: 20px; }
  .h6 { font-size: 14px; line-height: 23px; }
  .p { font-size: 16px; line-height: 22px; }
  .btn { font-size: 15px; padding: 10px; min-width: 150px; }
  .common-padding-t { padding-top: 60px; }
  .common-padding-b { padding-bottom: 60px; }
  .common-padding { padding: 60px 0; }
  .common-main-title-padding { padding-bottom: 30px; }
  .banner-main .banner-wrapper .banner-intro { width: calc(100% - 350px); }
  .banner-main .banner-wrapper .banner-form { width: 350px; }

  /* COMMON ACCORDION */
  .accordion-item { margin-bottom: 10px; }
  .accordion-button:after { width: 30px; height: 30px; font-size: 16px; }
  .accordion-button,
  .accordion-body { padding: 10px 20px; }

  /* MORTGAGE JUST GOT EASIER SECTION */
  ul.checkicon-points li {font-size: 16px;margin: 8px 0;line-height: normal;padding-left: 30px;}
  ul.checkicon-points li:before {background-size: 18px;top: 0px;width: 18px;height: 18px;}
  .loan-points-main { padding-left: 0; padding-top: 30px; }

  /* FEATURE SECTION */
  .feature-main .feature-icon i { font-size: 20px; }
  .feature-main .feature-icon { width: 50px; height: 50px; }
  .feature-item > span { width: calc(100% - 50px - 1rem); }

  /* FAQ SECTION */
  .faq-image { max-width: 300px; max-height: 300px; }
  .faq-content { width: calc(100% - 300px); }

  /* CONTACT DETAILS */
  .contact-wrapper { max-width: 95%; }
  .contact-details { padding: 30px; }
  .contact-inner-details .contact-item .contact-content { padding-left: 20px; }

  /* OUR COMPANY SECTION */
  .company-transparency-main .company-transparency-wrapper { padding-bottom: 0; }
}
@media (max-width:767.98px) {
  .banner-main .banner-wrapper { min-height: auto; margin-bottom: 0px; padding-top: 0px; margin-left: -15px; margin-right: -15px; }
  .banner-main { background: var(--primary-color); }
  .banner-main .banner-wrapper .banner-intro { width: 100%; padding-top: 150px; padding-right: 20px; padding-left: 20px; height: calc(75vh - 150px); background: url(../images/banner-bg.png), var(--primary-color); background-position: left 25% center; background-repeat: no-repeat; background-size: cover; min-height: 600px; padding-bottom: 100px; display: flex; align-items: end; justify-content: end; }
  .banner-main .banner-wrapper .banner-form { width: 100%; }
  .banner-main .banner-wrapper .banner-intro h1,
  .banner-main .banner-wrapper .banner-intro .h1 { font-size: 35px; letter-spacing: 0px; }
  .banner-main .banner-wrapper .banner-form .apply-form { width: calc(100% - 60px); margin: -60px auto 0px; }

  /* FAQ SECTION */
  .faq-wrapper { flex-wrap: wrap; }
  .faq-image { max-width: 500px; max-height: 500px; }
  .faq-content { width: 100%; }

  /* FIND YOUR DREAM SECTION */
  .find-your-dream-main .find-your-dream-wrapper { padding: 50px; }
  
      .contact-details {
        padding: 30px 15px;
    }
    .contact-wrapper {
        max-width: 100%;
    }
.header-main .header-inner-main .header-logo { max-width: 160px;}
.header-inner.header-inner-right a {font-size: 15px;}
.header-inner.header-inner-right h4.primary_text.h4 {font-size: 14px;}

    
}
@media (max-width:575px) {

  /* FIND YOUR DREAM SECTION */
  .find-your-dream-main .find-your-dream-wrapper { padding: 40px; }

  /* BANNER SECTION */
  .banner-main .banner-wrapper .banner-intro { padding-bottom: 80px; }
  .banner-main .banner-wrapper .banner-form .apply-form { padding: 30px 20px; }
}
@media (max-width:481.98px) {
  .banner-main .banner-wrapper .banner-intro h1,
  .banner-main .banner-wrapper .banner-intro .h1 { font-size: 30px; line-height: 38px; }
}