.timeline {
  position: relative;
  max-width: 100%;
  margin: 2.5rem auto;
}

/* Orange vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 4px;
    height: 77%;
    transform: translate(-40%, -52%);
    background: linear-gradient(91deg, rgba(0, 147, 230, 0.70) 47.62%, rgba(0, 163, 255, 0.70) 51.2%);
}

/* Each item container */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.125rem 5rem;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

/* Card */
.timeline-content {
  background: #fff;
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
  border-radius: 7.573px;
  border: 0.947px solid #0092DD;
  min-height: 11rem;
}
.timeline-item .timeline-content{
    text-align: left;
}
.timeline-item.left .timeline-content::before{
    content: '';
    position: absolute;
    height: 118%;
    width: 11.625rem;
    right: -1rem;
    top: -1.2rem;
    background-image: url(../images/roadmap-box.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}
.timeline-item.right .timeline-content::before{
    content: '';
    position: absolute;
    height: 118%;
    width: 11.625rem;
    left: -1rem;
    top: -1.2rem;
    transform: rotate(-180deg);
    background-image: url(../images/roadmap-box.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}
.timeline-item.right{
    margin-top: -7rem;;
}
.timeline-item.left .timeline-content::after{
    content: '';
    position: absolute;
    height: 100%;
    width: 3.75rem;
    right: -4.8rem;
    top: 0rem;
    background-image: url(../images/roadmap-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}
.timeline-item.right .timeline-content::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 3.75rem;
    left: -4.8rem;
    top: 0rem;
    transform: rotate(180deg);
    background-image: url(../images/roadmap-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}
.timeline-content h3 {
  margin: 0 0 10px;
  color: #000;
  font-family: "Aclonica", sans-serif;
  font-size: 1.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.9rem; /* 93.75% */
  margin-bottom: 1rem;
}

.timeline-content p {
    color: #5A4300;
    /* font-family: "Clash Display"; */
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 2.4rem;
    margin-bottom: 0;
}

/* Orange dots */
.timeline-dot {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #0092DD;
  border-radius: 50%;
  transform: translateY(-50%);
}
.timeline-item.left .timeline-dot {
  right: -0.75rem;
}
.timeline-item.right .timeline-dot {
  right: auto;
  left: -0.75rem;
}
@media (max-width:991px){
  .timeline-item {
    padding: 1.125rem 4rem;
}
.timeline-content{
    padding: 1rem;
}
.timeline-content h3 {
    font-size: 1.5rem;
}
.cloud-banner{
  margin-top: -10rem;
}
}
/* Responsive */
@media (max-width: 767.8px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 1rem;
    margin-bottom: 2rem;
  }
  .timeline-item:last-child .timeline-content::after{
    content: none;
  }
  .timeline-item {
    padding: 1.125rem 1rem;
}
.timeline-item.right {
    margin-top: 0rem;
}
  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-dot {
    left: 20px;
    transform: none;
  }
  .timeline-content {
    min-height: 12rem;
    text-align: center;
}
.timeline-item .timeline-content{
  text-align: center;
}
.join-clean-puff::before {
    height: 25rem;
    width: 12rem;
}
.join-clean-puff .inner-box {
    padding: 2.313rem 1rem;
}
.timeline-item.left .timeline-content::after, .timeline-item.right .timeline-content::after{
        left: 0;
        bottom: -4rem;
        top: auto;
        right: 0;
        margin: auto;
        transform: rotate(-90deg);
        height: 4rem;
}
 .timeline-item.right:last-child .timeline-content::after{
  content: none;
 }
.timeline-dot, .timeline-line{
    display: none;
}
}
