/*
---------------------------------------------
how it works / timeline
(ported from refer/index.html "timeline-section",
 recolored to match this site's pink/orange palette)
---------------------------------------------
*/

.timeline-section {
  background-image: url('../images/how-it-works-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.timeline-section .section-overlay {
  background-image: linear-gradient(-145deg, rgba(29,78,216, 0.92) 0%, rgba(59,130,246, 0.92) 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.timeline-section .section-overlay + .container {
  position: relative;
}

.timeline-section .section-heading h6 {
  color: #fff;
}

.timeline-section .section-heading h4 {
  color: #fff;
}

.timeline-section .section-heading h4 em {
  font-style: normal;
  color: #111111;
}

.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
  margin: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 8px;
  height: 87%;
  background-color: rgba(255, 255, 255, 0.35);
  position: absolute;
  left: 52px;
  top: 0;
  overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: #ffffff;
  width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 65px 145px;
}

.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.timeline-container .vertical-scrollable-timeline li p {
  color: #fff;
  line-height: 28px;
  margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1D4ED8;
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  position: absolute;
  background-color: #1D4ED8;
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: #ffffff;
}

.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder,
.timeline-container .vertical-scrollable-timeline li.active .icon-holder::before {
  background-color: #3B82F6;
}

.timeline-section .white-button {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .timeline-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 75%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }
}
