#mortgage {
  overflow: hidden;
}
@media (max-width: 1023px) {
  #mortgage .section-1 {
    background-color: #FFFFFF;
    padding: 60px 0;
  }
  #mortgage .section-1 .section-1-left {
    width: 66%;
    padding: 10px 10px;
    background: linear-gradient(90deg, #F6AE13 0%, #FFD700 100%);
    border: 2px solid #F7AC3B;
    border-radius: 15px;
  }
  #mortgage .section-1 .section-1-left img {
    max-width: 100%;
    max-height: 60px;
  }
  #mortgage .section-1 .section-1-left p {
    margin: 10px 0 0 0;
    font-size: 14px;
  }
  #mortgage .section-1 .section-1-right {
    text-align: start;
    font-size: 26px;
    font-weight: 700;
    padding-left: 20px;
  }
  #mortgage .section-1 .section-1-right p {
    color: #000000;
    font-size: 14px;
  }
  #mortgage .section-2 .section-2-img {
    height: 0;
  }
  #mortgage .section-2 .section-2-bg {
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
  }
  #mortgage .section-2 .section-2-bg p {
    font-size: 16px;
    margin-top: 20px;
  }
  #mortgage .section-2 .section-2-bg a {
    height: 40px;
    padding: 0 16px;
    margin-top: 16px;
    background-color: #FFD03E;
    color: #000000;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 40px;
  }
  #mortgage .section-2 .bg1 {
    padding: 0 20%;
  }
  #mortgage .section-2 .bg2 {
    padding: 0 20%;
  }
  #mortgage .section-2 .bg3 {
    padding: 0 20%;
  }
  #mortgage .section-2 .bg4 {
    padding: 0 20%;
  }
  #mortgage .section-3 {
    background-color: #FFFFFF;
    min-height: 600px;
    padding: 40px 0;
  }
  #mortgage .section-3 .title-face {
    color: #000000;
    max-width: 80%;
    margin: 0 auto;
  }
  #mortgage .section-3 p {
    color: #000000;
    padding-top: 20px;
    max-width: 80%;
    margin: 0 auto;
    font-size: 13px;
  }
  #mortgage .section-3 .section-3-text .section-3-bg {
    height: 160px;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-top: 30px;
  }
  #mortgage .section-3 .section-3-text .section-3-bg img {
    max-height: 100%;
  }
  #mortgage .section-3 .section-3-text div {
    font-size: 22px;
    font-weight: 700;
  }
  #mortgage .section-4 {
    min-height: 560px;
  }
  #mortgage .section-4 .section-4-left {
    width: 100%;
  }
  #mortgage .section-4 .section-4-right {
    height: 300px;
    background: linear-gradient(to right, #F6AE13, #F7D304);
    align-items: center;
  }
  #mortgage .section-4 .section-4-right .title-face {
    color: #000000;
    font-size: 42px;
  }
  #mortgage .section-4 .section-4-right p {
    text-align: justify;
  }
  #mortgage .section-4 .section-4-right a {
    height: 40px;
    padding: 0 16px;
    margin-top: 16px;
    background-color: #000000;
    color: #F6AB3B;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 40px;
  }
  #mortgage .section-5 {
    min-height: 400px;
    padding: 60px 0;
  }
  #mortgage .section-5 .section-5-left {
    padding: 20px 0 0 20px;
  }
  #mortgage .section-5 .section-5-left .section-5-left-title {
    color: #000000;
    font-size: 22px;
    padding-left: 20px;
  }
  #mortgage .section-5 .section-5-left .section-5-left-img {
    width: 90px;
    height: 90px;
  }
  #mortgage .section-5 .section-5-img {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  #mortgage .section-1 {
    background-color: #FFFFFF;
    padding: 60px 0;
  }
  #mortgage .section-1 .section-1-left {
    width: 40%;
    padding: 10px 20px;
    background: linear-gradient(90deg, #F6AE13 0%, #FFD700 100%);
    border: 2px solid #F7AC3B;
    border-radius: 15px;
  }
  #mortgage .section-1 .section-1-left img {
    max-width: 100%;
    max-height: 80px;
  }
  #mortgage .section-1 .section-1-left p {
    margin: 10px 0 0 0;
  }
  #mortgage .section-1 .section-1-right {
    text-align: start;
    font-size: 32px;
    font-weight: 700;
    padding-left: 20px;
  }
  #mortgage .section-1 .section-1-right p {
    color: #000000;
    font-size: 16px;
  }
  #mortgage .section-2 {
    position: relative;
  }
  #mortgage .section-2 .section-2-img {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    height: 88%;
  }
  #mortgage .section-2 .section-2-bg {
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
  }
  #mortgage .section-2 .section-2-bg p {
    font-size: 16px;
    margin-top: 20px;
  }
  #mortgage .section-2 .section-2-bg a {
    height: 40px;
    padding: 0 16px;
    margin-top: 16px;
    background-color: #FFD03E;
    color: #000000;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 40px;
  }
  #mortgage .section-2 .bg1 {
    padding: 0 20% 0 4%;
  }
  #mortgage .section-2 .bg2 {
    padding: 0 4% 0 20%;
  }
  #mortgage .section-2 .bg3 {
    padding: 0 20% 0 4%;
  }
  #mortgage .section-2 .bg4 {
    padding: 0 4% 0 20%;
  }
  #mortgage .section-3 {
    background-color: #FFFFFF;
    min-height: 600px;
    padding: 60px 0;
  }
  #mortgage .section-3 .title-face {
    color: #000000;
    max-width: 90%;
    margin: 0 auto;
  }
  #mortgage .section-3 p {
    color: #000000;
    padding-top: 20px;
    max-width: 90%;
    margin: 0 auto;
  }
  #mortgage .section-3 .section-3-text .section-3-bg {
    height: 200px;
    width: 100%;
  }
  #mortgage .section-3 .section-3-text .section-3-bg img {
    max-height: 80%;
  }
  #mortgage .section-3 .section-3-text div {
    font-size: 30px;
    font-weight: 700;
  }
  #mortgage .section-4 {
    min-height: 600px;
    display: flex;
  }
  #mortgage .section-4 .section-4-left {
    width: 56%;
  }
  #mortgage .section-4 .section-4-right {
    width: 44%;
    padding-left: 6%;
    background: linear-gradient(to right, #F6AE13, #F7D304);
  }
  #mortgage .section-4 .section-4-right .title-face {
    color: #000000;
    font-size: 48px;
  }
  #mortgage .section-4 .section-4-right .title-face .title-bg {
    top: 48px;
  }
  #mortgage .section-4 .section-4-right p {
    text-align: justify;
  }
  #mortgage .section-4 .section-4-right a {
    height: 40px;
    max-width: 210px;
    padding: 0 16px;
    margin-top: 16px;
    margin-left: 16px;
    background-color: #000000;
    color: #F6AB3B;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 40px;
  }
  #mortgage .section-5 {
    min-height: 400px;
    padding: 60px 0;
  }
  #mortgage .section-5 .section-5-left {
    padding: 20px 0 0 20px;
  }
  #mortgage .section-5 .section-5-left .section-5-left-title {
    color: #000000;
    font-size: 26px;
    padding-left: 20px;
  }
  #mortgage .section-5 .section-5-left .section-5-left-img {
    width: 90px;
    height: 90px;
  }
  #mortgage .section-5 .section-5-img {
    width: 100%;
  }
}
