.timeline-container {
  padding: 60px 40px;
  color: black;
}

.timeline-text-wrapper {
  min-height: 350px; /* Adjust this value based on tallest content */
  transition: min-height 0.3s ease;
  position: relative;
}

.timeline-title {
  font-family: 'CircularXX';
  font-size: 52px !important;
  font-weight: 700;
  color: black!important;
  margin-bottom: 20px !important;
  letter-spacing: 1px;
  line-height: 1;
  animation: fadeIn 0.5s ease forwards;
  opacity: 1;
  transform: translateY(10px);
}

.timeline-year {
  font-family: 'CircularXX';
  font-size: 144px;
  font-weight: 700;
/*   opacity: 0;
  animation: fadeIn 0.5s ease forwards; */
  line-height: 135px;
  padding-bottom: 70px;
}

.timeline-description {
  font-family: 'CircularXX';
  font-size: 32px;
  max-width: 700px;
/*   opacity: 0; */
  font-weight: 500;
/*   animation: fadeIn 0.5s ease forwards; */
  line-height: 36px;
  letter-spacing: 0.1px;
  text-transform: capitalize;
}

.timeline-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: right;
}

.arrow-btn {
  background: #000;
  border: none;
  width: 32px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
  position: relative;
  top: -34px;
}

.arrow-btn svg {
  width: 22px;
  height: 32px;
  fill: none;
}

.timeline-progress {
  width: 100%;
  margin-top: 30px;
}

.progress-bar {
  height: 4px;
  background: white;
  margin-bottom: 40px;
  position: relative;
}

.progress-fill {
  height: 4px;
  background: #2ecc71;
  width: 0;
  transition: width 0.4s ease;
}

.timeline-years {
  font-family: 'CircularXX';
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 2px;
}
.timeline-controls .arrow-btn:hover{
    color:#000 !important;
    background: #009759 !important;
}
.timeline-controls .arrow-btn:active{
    color:#000 !important;
    background: #009759 !important;
}
.timeline-controls .arrow-btn:focus{
    color:#000 !important;
    background: #009759 !important;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}


@media(max-width: 1439px) {
    .arrow-btn {
 top: 9px;
}
  .timeline-year {

     padding-bottom: 20px;
  }
  .timeline-text-wrapper {
  min-height: 200px; 
}
}



/* ========== RESPONSIVE STYLES ========== */
@media(max-width: 768px) {
  .timeline-container {
    padding: 0px 0px;
  }
   .timeline-title {
    font-size: 25px!important;
    line-height:29px!important;
  }

  .timeline-year {
    font-size: 72px;
    line-height: 76px;
     padding-bottom: 20px;
  }

  .timeline-description {
    font-size: 18px;
    line-height: 28px;
  }

  .arrow-btn {
    width: 28px;
    height: 28px;
  }
}

@media(max-width: 480px) {
  .timeline-title {
    font-size: 23px!important;
    line-height:29px!important;
    padding-bottom: 0px;
  }

  .timeline-year {
    font-size: 45px;
    line-height: 52px;
     padding-bottom: 10px;
  }

  .timeline-description {
    font-size: 15px;
    line-height: 19px;
  }
    .timeline-text-wrapper {
  min-height: 150px; 
}


}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.timeline-scroll-trigger {
  overflow: visible !important;
}
/* 🔥 Disable animation plugin transforms ONLY for timeline section */

/* .timeline-scroll-trigger,
.timeline-scroll-trigger * {
  transform: none !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
} */
.timeline-container {
  will-change: transform;
}