.emi-wrapper {
  background: #8f282c;
  /* red background */
  color: #fff;
}

.emi-hero {
  /* max-width: 1400px; */
  margin-inline: auto;
  padding-top: 40px;
  text-align: center;
  
}
.emi-hero.emi-showCalculator {
  padding-bottom: 20px;
}
.emi-hero.emi-hideCalculator {
  padding-bottom: 40px;
}
.emi-hero.emi-showCalculator .swiper-slide {
  border-left: 2px dotted white;
  padding-left: 40px;
  height: auto;
  padding-right: 20px;
}
.noSwiper-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: start;
  /* padding-left: 20px; */
}
.noSwiper-slide:first-child {
  border: none;
  padding-left: 0;
}
.emi-hero.emi-showCalculator .swiper-slide:last-child {
  padding-right: 0;
}
.noSwiper-slide {
  width: 100%;
  border-left: 2px dotted white;
  padding-left: 40px;
  padding-right: 40px;
}

.emi-title {
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}
.emi-title h2,
.emi-title h3,
.emi-title h4,
.emi-title h5 {
  color: #ffffff;
}

.emi-sub {
  max-width: 1060px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}
.emi-card-image {
  position: relative;
}
.emi-card-image img {
  width: 100%;
}
.emi-steps-image {
  width: 35px;
  margin-bottom: 15px;
}
.steps-row {
  row-gap: 28px;
}

.step {
  text-align: left;
  position: relative;
  min-height: 132px;
}
.stepSwiper .swiper-slide {
  text-align: start;
}
.stepSwiper .swiper-wrapper {
  padding-bottom: 70px;
}
.stepSwiper .steps-swiper-button-prev-next {
  position: absolute;
  right: 0;
  margin: auto;
  bottom: 0;
  display: flex;
  column-gap: 15px;
  align-items: center;
}
.stepSwiper .steps-swiper-button-next {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" id="Layer_2" data-name="Layer 2" version="1.1" viewBox="0 0 55.2 49.1"><defs><style> .cls-1 { fill: %23912729; stroke-width: 0px; } </style></defs><g id="Layer_1-2" data-name="Layer 1-2"><path class="cls-1" d="M44.4,27.6H3.7c-1.2,0-2.3-.2-3.1-1.3-1.4-1.9-.2-4.6,2.1-4.8.4,0,.9,0,1.3,0h40.7c-.4-.5-.7-.7-.9-1-5-5-10-10-15-15-1.4-1.4-1.6-3.2-.4-4.5,1.2-1.3,3.2-1.3,4.6,0,2.7,2.7,5.4,5.4,8.1,8.1,4.2,4.2,8.5,8.5,12.7,12.7,1.8,1.8,1.8,3.4,0,5.2-7,7-13.9,13.9-20.9,20.9-1,1-2.2,1.4-3.5.9-1.2-.5-1.8-1.4-1.9-2.7,0-1.1.5-2,1.2-2.7,4.9-4.9,9.8-9.8,14.7-14.7.3-.3.8-.6,1.1-.8,0-.1-.2-.3-.2-.4h0Z"/></g></svg>');
}
.stepSwiper .steps-swiper-button-prev {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" id="Layer_2" data-name="Layer 2" version="1.1" viewBox="0 0 55.2 49.1"><defs><style> .cls-1 { fill: %23912729; stroke-width: 0px; } </style></defs><g id="Layer_1-2" data-name="Layer 1-2"><path class="cls-1" d="M44.4,27.6H3.7c-1.2,0-2.3-.2-3.1-1.3-1.4-1.9-.2-4.6,2.1-4.8.4,0,.9,0,1.3,0h40.7c-.4-.5-.7-.7-.9-1-5-5-10-10-15-15-1.4-1.4-1.6-3.2-.4-4.5,1.2-1.3,3.2-1.3,4.6,0,2.7,2.7,5.4,5.4,8.1,8.1,4.2,4.2,8.5,8.5,12.7,12.7,1.8,1.8,1.8,3.4,0,5.2-7,7-13.9,13.9-20.9,20.9-1,1-2.2,1.4-3.5.9-1.2-.5-1.8-1.4-1.9-2.7,0-1.1.5-2,1.2-2.7,4.9-4.9,9.8-9.8,14.7-14.7.3-.3.8-.6,1.1-.8,0-.1-.2-.3-.2-.4h0Z"/></g></svg>');
  transform: rotate(180deg);
}
.stepSwiper .steps-swiper-button-next,
.stepSwiper .steps-swiper-button-prev {
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  background-size: 14px;
  height: 32px;
  width: 32px;
  border-radius: 34px;
  z-index: 999;
}
.stepSwiper .steps-swiper-button-next.swiper-button-disabled,
.stepSwiper .steps-swiper-button-prev.swiper-button-disabled {
  opacity: 0.5;
}
.steps-swiper-button-prev.swiper-button-disabled.swiper-button-lock,
.steps-swiper-button-next.swiper-button-disabled.swiper-button-lock {
  display: none;
}

.stepSwiper:has(
    .steps-swiper-button-prev.swiper-button-disabled.swiper-button-lock
  ):has(.steps-swiper-button-next.swiper-button-disabled.swiper-button-lock)
  .swiper-wrapper {
  padding-bottom: 0;
}

.stepSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #f7a30a;
}

.step-pill {
  display: inline-block;
  background: #fff;
  color: #8f282c;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  border-top-right-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 12px;
  border-bottom-right-radius: 999px;
}
.emi-hero.emi-hideCalculator {
  padding-bottom: 30px;
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.emi-hideCalculator .step-title {
  font-size: 21px;
  line-height: 28px;
  font-weight: 700;
}
.emi-hideCalculator .step-desc {
  font-size: 16px;
  line-height: 22px;
}

.step-desc {
  font-size: 14px;
  margin: 0;
  color: #fff;
  opacity: 0.95;
}
@media (max-width: 1200px) {
  .noSwiper-slide {
    padding-right: 25px;
    padding-left: 25px;
  }
  .emi-sub {
    margin-bottom: 30px;
  }
}
@media (max-width: 992px) {
  .noSwiper-slide {
    padding-right: 15px;
    padding-left: 15px;
  }
  .emi-hero {
    padding-top: 30px;
  }
  .emi-steps-image {
    width: 30px;
  }
}
@media (max-width: 768px) {
  .noSwiper-slide {
    padding-right: 0;
    padding-left: 0;
    border: none;
    width: 48%;
  }
  .noSwiper-wrapper {
    flex-wrap: wrap;
    gap: 20px;
  }
  .emi-sub {
    margin-bottom: 20px;
  }
  .emi-steps-image {
    width: 25px;
  }
  .noSwiper-slide:nth-child(2n) {
    border-left: 1px dashed white;
    padding-left: 25px;
  }
}
@media (max-width: 768px) and (min-width: 576px) {
  .emi-hero.container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 576px) {
  .emi-hero {
    padding: 20px 15px;
  }

  .emi-title {
    font-size: 28px;
  }

  .emi-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .step {
    min-height: unset;
  }

  .step-pill {
    white-space: nowrap;
    padding: 8px 10px;
  }
  .noSwiper-wrapper {
    flex-direction: column;
    row-gap: 20px;
  }
  .noSwiper-slide:nth-child(2n) {
    border: none;
    padding-left: 0;
  }
  .noSwiper-slide {
    padding-left: 0;
    border: none;
    padding-right: 0;
    width: 100%;
    display: flex;
    gap: 20px;
  }
  .stepSwiper .swiper-wrapper {
    padding-bottom: 35px;
  }
  .step-title {
    margin-bottom: 4px;
  }
  .emi-hero.emi-hideCalculator {
    padding-bottom: 20px;
  }
}
@media (max-width: 430px) {
  .noSwiper-slide {
    column-gap: 15px;
  }
  .step-contentBox {
    width: 90%;
  }
}
