.timeline-section {
  background-color: #fdf9f4;
  padding: 60px 20px;
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #8B0000;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
  z-index: 2;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background-color: #8B0000;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #8B0000;
  z-index: 3;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item.right::before {
  left: -10px;
}

.timeline-item .content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timeline-time {
  font-weight: bold;
  color: #8B0000;
}

.timeline-title {
  font-size: 1.2rem;
  margin-top: 5px;
  font-weight: 600;
}

.timeline-desc {
  color: #555;
  font-size: 0.95rem;
}

/* Responsive full width on small screens */
@media screen and (max-width: 768px) {
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0 !important;
    text-align: left;
  }

  .timeline-item::before {
    left: 15px !important;
    right: auto;
  }

  .timeline-container::before {
    left: 20px;
  }
}
