.timeline-page-container {
  width: 100%;
  overflow-x: hidden;
}

.timeline {
  padding: 40px 0;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.timeline__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.timeline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  background: none;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__year {
  position: absolute;
  top: -30px;
  left: 0;
  z-index: 2;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  color: #222;
  font-size: 1rem;
  font-weight: bold;
  border: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.timeline__item:first-child .timeline__year {
  margin-top: 0;
}

.timeline__content {
  margin-left: 40px;
  padding-left: 2rem;
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  box-shadow: none;
  flex: 1;
  min-width: 0;
  display: block;
}

.timeline__text {
  font-size: 1.1rem;
  color: #444;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline__container {
    padding: 0 15px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .timeline__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
    box-sizing: border-box;
  }

  .timeline__year {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto 1rem;
    width: 60px;
    height: 60px;
  }

  .timeline__content {
    margin-left: 0;
    padding: 1.5rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

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