body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #212121;
}

.timeline {
  animation: slide-left 25s linear infinite;
  
}

.timeline svg {
  
}

.timeline-section {
  padding: 40px 20px;
  text-align: center;
  width: 200%;
}

.timeline-section h4 {
  color: #7c7c7c;
  margin-bottom: 10px;
}

.timeline-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.timeline-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.wave-line {
  width: 100%;
  height: 150px;
  margin-bottom: -60px;
  position: relative;
  z-index: 0;
}

.card-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  gap: 20px;
  animation: slide-left 25s linear infinite;
  
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.card-container.top {
  margin-bottom: 80px;
}

.card {
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  min-width: 220px;
  max-width: 260px;
  text-align: left;
  margin: 10px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #1a1a1a;
}

.card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #555;
}

.card small {
  font-size: 13px;
  color: #777;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 15px;
}

.pagination button {
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
}

.dot.active {
  background: #d92035;
}
