.howtoApplyOuterContainer .row {
  justify-content: space-between;
}
.howtoApplyOuterContainer {
  margin: auto;
  padding-top: 40px;
  
  background-color: #e6e6e6;
  overflow: hidden;
}
.benefitsOfPLOuterContainer {
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  
}

.benefit-card-outer {
  row-gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.loan-title,
.section-heading {
  font-size: 42px;
  line-height: 50px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
  z-index: 3;
  position: relative;
}

.loan-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-box {
  display: flex;
  align-items: flex-end;
  padding: 20px;
  padding-bottom: 0;
  gap: 25px;
  justify-content: space-between;
  border-radius: 10px;
  background-color: #dde1dc;
}
.loan-subtitle.personalLoanSubHeading {
  text-align: center;
  margin: auto;
  width: 80%;
  margin-bottom: 32px;
  margin-top: -20px;
  z-index: 3;
  position: relative;
}
.step-content {
  width: 445px;
  margin-bottom: 15px;
}
.step-number {
  height: 90px;
}
.step-number img {
  height: 100%;
  max-width: none;
}
.step-content h5 {
  font-size: 24px;
  font-weight: bold;
  color: #a00000;
  margin-bottom: 5px;
  line-height: 29px;
}

.step-content p {
  margin: 0;
  font-size: 19px;
  color: #333;
  line-height: 24px;
}
.benefit-card img {
  width: 100%;
}
.benefitsImgBox {
  width: 60px;
  margin: auto;
  flex: 0 0 60px;
}

.benefitsContentBox {
  width: calc(100% - 60px);
}

.loan-image img {
  width: 100%;
  max-width: 400px;
}
.loan-bg-img {
  width: 100%;
}

.loan-bg-imgBox {
  width: 720px;
  position: absolute;
  right: 0;
  bottom: 0;
}
.benefit-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.benefit-card i {
  font-size: 28px;
  color: #8b0000;
  min-width: 32px;
}

.benefit-card h5 {
  color: #8b0000;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 24px;
  line-height: 29px;
}

.benefit-card p {
  margin: 0;
  font-size: 18px;
  color: #333;
  line-height: 24px;
}

.benefits-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.loan-steps {
  flex: 1;
}

.loan-image {
  flex: 1;
  text-align: right;
}
:root {
  --container: 1220px;
}
.step-box {
  z-index: 3;
}
.offset-custom-left {
  margin-left: calc((100% - var(--container)) / 2);
  max-width: calc(var(--container) / 12 * 6);
  padding-bottom: 40px;
}
.offset-custom-right {
  margin-right: 0;
  padding-right: 0;
  position: relative;
}
/* Mobile view */
@media (max-width: 1200px) {
  :root {
    --container: 960px;
  }
  .loan-bg-imgBox {
    width: 110%;
  }
  .step-content {
    width: 315px;
  }
}
@media (max-width: 992px) {
  :root {
    --container: 720px;
  }
  .offset-custom-left {
    max-width: calc(var(--container) / 12 * 8);
  }
  .loan-container {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .loan-image {
    order: 2;
    margin-top: 20px;
  }

  .loan-steps {
    order: 1;
  }

  .step-box {
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --container: 540px;
  }
  .howtoApplyOuterContainer .row {
    flex-direction: column;
    gap: 180px;
  }
  .step-content {
    width: 405px;
  }
  .loan-bg-imgBox {
    width: 51%;
  }
  .loan-subtitle.personalLoanSubHeading {
    margin-bottom: 20px;
    margin-top: -10px;
  }
  .offset-custom-left {
    margin-left: calc((100% - var(--container)) / 2);
    max-width: calc(var(--container) / 12 * 12);
  }
  .howtoApplyOuterContainer {
    padding-top: 30px;
  }
  .benefitsOfPLOuterContainer {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .benefit-card {
    gap: 30px;
  }
  .benefit-card h5 {
    font-size: 22px;
    line-height: 27px;
  }
  .benefit-card p {
    font-size: 16px;
    line-height: 22px;
  }
  .section-heading,
  .loan-title {
    font-size: 30px;
    line-height: 38px;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .benefit-card-outer {
    row-gap: 15px;
  }
}
@media screen and (min-width: 576px) and (max-width: 768px) {
  .howtoApplyHeadingContainer,
  .benefitsOfPLOuterContainer .container,
  .offset-custom-left {
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 576px) {
  :root {
    --container: 540px;
  }
  .step-content {
    width: 84%;
  }
  .offset-custom-left {
    margin-left: auto;
    max-width: none;
  }
  .howtoApplyHeadingContainer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .benefit-card h5 {
    font-size: 18px;
    line-height: 24px;
  }
  .benefit-card p {
    font-size: 14px;
    line-height: 18px;
  }
  .section-heading,
  .loan-title {
    /* margin-top: 20px; */
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
  }
  .howtoApplyOuterContainer {
    padding-top: 20px;
  }
  .benefitsOfPLOuterContainer {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .benefit-card {
    gap: 20px;
    padding: 15px;
  }
  .step-box {
    padding: 15px;
    gap: 20px;
    padding-bottom: 0;
  }
  .step-number {
    height: 65px;
  }
  .step-content h5 {
    font-size: 20px;
    line-height: 26px;
  }
  .step-content p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 450px) {
  .howtoApplyOuterContainer .row {
    gap: 100px;
  }
  .benefitsImgBox {
    width: 50px;
    flex: 0 0 50px;
  }
}
