.ms-process {
  position: relative;
  z-index: 1;
}

.ms-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(23, 24, 51, 0.4), rgba(23, 24, 51, 1));
  z-index: 0;
} 

.msp-image {
  position: relative;
  display: inline-block;
  width: 100%;
}

.msp-image img {
  border: 1px solid #fff;
}

.msp-badge {
  position: absolute;
  bottom: -10px;
  right: 0px;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 14px;
  overflow: hidden;
}

.msp-badge-icon {
  display: inline-block;
  background-color: #171833;
  padding: 14px 12px;
  vertical-align: middle;
}

.msp-badge-icon i {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.msp-badge-text {
  display: inline-block;
  vertical-align: middle;
  padding: 10px 14px;
  font-family: "Open Sans", sans-serif;
      width: calc(100% - 50px);
    line-height: 1;
}

.ms-process .msp-steps {
    margin-top: 80px;
}

.ms-process .msp-step {
  margin-bottom: 40px;
}

.ms-process .msp-icon {
  width: 100px;
  height: 100px;
  background: #fff;
  line-height: 100px;
  text-align: center;
  margin-right: 20px;
  margin-bottom: 16px;
  transition: all ease-in-out 0.8s;
}

.ms-process .msp-icon:hover {
  background-color: #171833;
  transition: all ease-in-out 0.8s;
}

.ms-process .msp-icon.pull-left {
  float: none !important;
}
.ms-process .msp-icon i {
  color: #171833;
  font-size: 68px;
  vertical-align: middle;
  transition: all ease-in-out 0.8s;

}
.ms-process .msp-icon:hover i {
  color: #fff;
  transition: all ease-in-out 0.8s;

}
.ms-process .msp-text h4 {
    font-size: 24px;
}

.ms-process .msp-text h4,
.ms-process .msp-text p {
  overflow: hidden;
  color: #fff;
}
.ms-process .msp-badge.animation-key-1 {
  animation-name: animation-1;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  max-width: 284px;
}
.ms-process .msp-content h2 {
  font-weight: 700 !important;
}

@keyframes animation-1 {
  0% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(20px);
  }
}
@media only screen and (min-width: 576px) {
  .ms-process .msp-text {
    width: 100%;
  }
  .ms-process .msp-icon.pull-left {
    float: left !important;
  }

  .ms-process .msp-badge.animation-key-1 {
    max-width: 330px;
  }

}

@media only screen and (min-width: 768px) {
  .ms-process .msp-icon {
    width: 140px;
    height: 140px;
    line-height: 140px;
    margin-bottom: 0;
  }
  .ms-process .msp-icon i {
    font-size: 80px;
  }
}
@media only screen and (min-width: 992px) {
  .msp-badge {
    bottom: -20px;
    right: -50px;
  }
}

    /* Active state for icons when scrolled into view - mimics hover effect */
    .ms-process .msp-icon.active {
        background-color: #171833 !important;
    }
    
    .ms-process .msp-icon.active i {
        color: #fff !important;
    }