.timeline-container-f298574d {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: hidden;
}

.timeline-line-f298574d {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-fill-f298574d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: #3b82f6;
  transition: height 0.1s ease-out;
}

.timeline-items-f298574d {
  position: relative;
  z-index: 2;
}

.timeline-item-f298574d {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item-f298574d.is-visible-f298574d {
  opacity: 1;
  transform: translateY(0);
}

.timeline-marker-f298574d {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3b82f6;
  border: 4px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  z-index: 3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.timeline-item-f298574d:hover .timeline-marker-f298574d {
  transform: translateX(-50%) scale(1.15);
}

.timeline-card-f298574d {
  width: 45%;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item-f298574d:hover .timeline-card-f298574d {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.timeline-left-f298574d {
  flex-direction: row;
}

.timeline-right-f298574d {
  flex-direction: row-reverse;
}

.timeline-card-image-f298574d img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 250px;
}

.timeline-card-content-f298574d {
  padding: 24px;
}

.timeline-card-title-f298574d {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  color: #1f2937;
}

.timeline-card-body-f298574d {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

/* Responsiveness - Strictly Vertical layout on smaller screens */
@media (max-width: 768px) {
  .timeline-line-f298574d {
    left: 20px;
    transform: none;
  }

  .timeline-marker-f298574d {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-item-f298574d:hover .timeline-marker-f298574d {
    transform: translateX(-50%) scale(1.15);
  }

  .timeline-left-f298574d,
  .timeline-right-f298574d {
    flex-direction: row-reverse;
  }

  .timeline-card-f298574d {
    width: calc(100% - 50px);
    margin-left: auto;
  }
}
