#company-history {
  text-align: center;
  padding: 50px 20px;
}

#company-history h1 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  width: 80%;
  max-width: 800px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #3C3C3C;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 20px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.3s ease-out;
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #6200ea;
}

.timeline-content p {
  font-size: 1rem;
  color: #555;
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
  text-align: left;
}
