/* Next Steps Section */
.pf-nextsteps {
  padding: 40px 0;
}

.pf-nextsteps h2 {
  margin: 0;
}

.pf-nextsteps-each {
  margin-bottom: 24px;
  position: relative;
}

.pf-nextsteps-each:last-child {
  margin-bottom: 0;
}

.pf-nextsteps .pf-nextsteps-img {
  overflow: hidden;
  border: 2px solid #000;
  max-height: 340px;
}

.pf-nextsteps .pf-nextsteps-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.7s;
}

.pf-nextsteps .pf-nextsteps-img:hover img {
  transform: scale(1.1);
}

.pf-nextsteps-body {
  text-align: center;
  background-color: #8EC497;
  padding: 20px; /* base padding for mobile */
}

.pf-nextsteps-each .btn {
  margin: 15px 0;
}
.pf-nextsteps-each .pf-nextsteps-body {
  /* margin-top: 24px; */
}
.pf-nextsteps-each .pf-nextsteps-reverse-body {
  margin-top: 0;
  /* margin-bottom: 24px; */
}

/* Desktop Layout */
@media (min-width: 992px) {
  /* .pf-nextsteps .pf-nextsteps-img {
    position: absolute;
    top: 50%;
    left: 0;
    right: 50.3333%;
    z-index: 1;
    transform: translateY(-50%);
  } */

  .pf-nextsteps .pf-nextsteps-img {
    margin-right: -85px;
    /* margin-top: 84px; */
    z-index: 9 !important;
    position: relative;
  }
  .pf-nextsteps .reverse .pf-nextsteps-img {
    margin-left: -85px;
    margin-right: 0;
  }

  .pf-nextsteps-body {
    text-align: left;
    padding: 40px 24px 40px 120px;
  }

  .pf-nextsteps-reverse-body .pf-nextsteps-body {
    padding: 40px 120px 40px 24px;
  }

  .pf-nextsteps-each {
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
    .pf-nextsteps-each .row {
        gap: 1.5rem;
    }
}


@media only screen and (min-width: 1200px) {
    .pf-nextsteps .pf-nextsteps-img {
    margin-right: -85px;
    /* margin-top: 58px; */
    z-index: 9 !important;
    position: relative;
  }
}