/* Layout setup */
.about-us-outer {
  height: 400vh;
  position: relative;
  background-color: var(--off-white);
}

/* Pinned area */
.about-us-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: start;
  flex-direction: column;
}

.about-us-container {
  position: absolute;
  /* position: absolute;
    top: 50%;
    transform: translateY(-50%); */
  width: 100%;
  bottom: 15%;
}
/* Progress bar behind items */
.scroll-progress {
  position: absolute;
  top: 27%;
  left: 0;
  height: 8px;
  width: 100%;
  /* background: #eee; */
  z-index: 0;
}
.section-title {
  padding: 0 0 30px;
  z-index: 10;
  font-size: 32px;
  font-weight: bold;
  color: #222;
  max-width: 1280px; 
}
.section-desc {
  border: 3px solid #8b8888e8;
  padding: 10px 20px;
  border-radius: 10px;
  max-width: 1280px;
  margin: 0 auto;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 50px;
  background: var(--primary-orange);
  transition: width 0.25s ease;
}

/* Milestone track and items */
.about-us-track {
  display: flex;
  gap: 250px;
  transition: transform 0.5s ease;
  will-change: transform;
  z-index: 1;
  margin-left: 20%;
  position: relative;
}

.about-us {
  flex: 0 0 auto;
  width: 250px;
  text-align: center;
  /* opacity: 0.5; */
  transition: opacity 0.5s ease;
  z-index: 2;
}

.about-us.active {
  opacity: 1;
}

.circle {
  background: rgb(247, 221, 178);
  border-radius: 50%;
  padding: 25px;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.5s ease-in-out;
}

.about-us.active .circle {
  transform: scale(1.5);
}
.about-us.active .date {
  margin-top: 15%;
}
.number {
  font-size: 24px;
}

.date {
  margin-top: 10px;
  font-weight: bold;
}

.description {
  /* display: none; */
  margin-top: 10px;
  font-size: 14px;
  color: #444;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.about-us.active .description {
  display: block;
}

@media screen and (max-width: 768px) {
  .about-us-track {
    gap: 150px;
    margin-left: 10%;
  }
  .about-us-container {
    bottom: 10%;
  }
   .about-us-inner .section-desc {
    padding: 0;
    border: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 10em;
  }
  .scroll-progress {
    top: 20%;
  }
  .about-us {
    width: 150px;
  }
  .circle {
    width: 80px;
    height: 80px;
    padding: 15px;
  }
  .about-us.active .circle {
    transform: scale(1.3);
  }
  .about-us .circle .number {
    font-size: 16px;
  }
  .about-us .circle .label {
    font-size: 10px;
  }
}
