.timeline-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.timeline-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  min-height: 500px;
  transition: transform 0.5s ease;
  padding-left: 245px;

}

.timeline-track .active {
  width: 50%;
}

.timeline-item {
  position: relative;
  text-align: left;
  min-width: 260px;
  flex-shrink: 0;
  margin-top: 20px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 38px;
  width: 1px;
  height: 100%;
  background: #ddd;
}

.timeline-dot {
  position: absolute;
  top: -10px;
  left: 32px;
  width: 14px;
  height: 14px;
  background: #e6e6e6;
  transform: rotate(45deg);
}

.timeline-year {
  position: absolute;
  top: -22px;
  left: 55px;
  font-size: 22px;
  color: #b5b5b5;
  font-weight: 600;
}

/* Active */
.timeline-item.active .timeline-line {
  background: linear-gradient(to bottom, #2563eb, #d946ef);
  width: 2px;
}

.timeline-item.active .timeline-dot {
  background: #0d6efd;
}

.timeline-item.active .timeline-year {
  color: #0d6efd;
}

.flex-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.timeline-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-top: 120px;
  margin-left: -172px;
}

.big-year {
  font-size: 90px;
  line-height: 1;
  font-weight: 300;
  color: #111;
  flex-shrink: 0;
}

.content-right {
  max-width: 400px;
  padding-top: 15px;
}

.content-title {
  color: #0066ff;
  font-size: 28px;
  margin-bottom: 15px;
}

.content-text {
  color: #444;
  line-height: 1.7;
}

.timeline-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-btn-arrow {
  background: transparent;
  border: none;
  font-size: 36px;
  color: #111;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

#prevBtn {
  transform: translateY(-6px);
}

#nextBtn {
  transform: translateY(6px);
}

.nav-divider {
  font-size: 32px;
  color: #999;
  line-height: 1;
}

/* Arrows */
/* .timeline-nav{
      position:absolute;
      right:20px;
      top:10px;
      display:flex;
      gap:20px;
      z-index:10;
    } */

/* .nav-btn-arrow{
      width:42px;
      height:42px;
      border:none;
      background:transparent;
      font-size:42px;
      color:#222;
      cursor:pointer;
      transition:.3s;
    }

    .nav-btn-arrow:hover{
      transform:scale(1.1);
    }
    .timeline-nav button{
      padding:0;
      margin:0;
    } */
.journey-section .main-description {
  margin: auto 0;
}

@media(max-width:767px) {
  .timeline-content {
    flex-direction: column;
    margin-left: -85px;
    gap: 0;
  }

  .big-year {
    font-size: 60px;
  }

  .timeline-track {
    padding-left: 85px;
  }

  .timeline-item {
    min-width: 110px;
  }

  .flex-wrapper {
    flex-direction: column;
  }


}

