.timeline {
  font-family: "Inter", sans-serif;
  padding: 1rem;
  position: relative;
  width: 100%;
}

/* List styling */
.timeline ul {
  margin: 0;
  padding: 0;
  position: relative;
}

/* Timeline Items */
.timeline li {
  border: 0 solid #88b260;
  color: #fff;
  list-style-type: none;
  text-transform: uppercase;
  padding: 1rem 2rem;
  width: calc(50% + 1px);
  position: relative;
  margin-bottom: 2rem;
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  /* background: #12507e; */
}

/* Step Title */
.timeline li em {
  color: #cd4d12cd;
  display: block;
  font-weight: bold;
}

/* Step Images */
img.road {
  max-width: 150px;
}

h4.road {
  text-align: center;
}
h6.road {
  text-align: center;
  font-weight: 100;
}

/* Small connecting dot */
.timeline li:after {
  content: "";
  height: 1rem;
  width: 1rem;
  background: #88b260;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: calc(-0.5rem - 1px);
}

.timeline li:nth-child(even):after {
  left: calc(-0.5rem - 1px);
  right: auto;
}

/* Odd ( left side ) */
.timeline li:nth-child(odd) {
  border-right-width: 2px;
  text-align: right;
}

/* Even ( right side ) */
.timeline li:nth-child(even) {
  border-left-width: 2px;
  left: calc(50% - 1px);
}

/* Start + End Circles */
.timeline .circle {
  background: #88b260;
  border: 0.5rem solid #88b260;
  border-radius: 50%;
  height: 2.25rem;
  width: 2.25rem;
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   RESPONSIVE SECTION
-------------------------------------------------------------------*/

/* TABLET VIEW (max-width: 992px) */
@media (max-width: 992px) {
  .timeline li {
    width: 100%;
    left: 0 !important;
    text-align: center;
    border-width: 0;
  }

  .timeline li:after {
    display: none;
    left: 50% !important;
    right: auto;
    transform: translate(-50%, -50%);
  }
}

/* MOBILE VIEW (max-width: 600px) */
@media (max-width: 600px) {
  .timeline {
    padding: 0.5rem;
  }

  .timeline li {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }

  img.road {
    max-width: 100px;
  }

  h4.road {
    text-align: center;
  }
  h6.road {
    text-align: center;
    font-weight: 100;
  }

  .timeline .circle {
    height: 1.8rem;
    width: 1.8rem;
  }

  .timeline li em {
    font-size: 14px;
  }

  .timeline li strong {
    font-size: 16px;
  }
}
