.timeline {
  position: relative;
  max-width: 800px;
  margin: 2em auto;
  padding: 1em 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
  transform: translateX(-50%);
}

.timeline-entry {
  position: relative;
  margin: 2em 0;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.timeline-entry:hover {
  opacity: 1;
  transform: scale(1.02);
}

.timeline-entry.left {
  text-align: right;
  margin-right: 55%;
}

.timeline-entry.right {
  text-align: left;
  margin-left: 55%;
}

.timeline-date {
  display: inline-block;
  background: #f0f0f0;
  padding: 0.3em 0.8em;
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: bold;
  color: #666;
  margin-bottom: 0.5em;
}

.timeline-entry.left .timeline-date {
  margin-left: 1em;
}

.timeline-entry.right .timeline-date {
  margin-right: 1em;
}

.timeline-content {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.timeline-entry.left .timeline-content::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15px;
  border: 10px solid transparent;
  border-left-color: white;
}

.timeline-entry.right .timeline-content::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 15px;
  border: 10px solid transparent;
  border-right-color: white;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 15px;
  width: 12px;
  height: 12px;
  background: #007acc;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid white;
  box-shadow: 0 0 0 2px #ddd;
}

.timeline-entry.milestone .timeline-marker {
  background: #ff6b35;
  width: 16px;
  height: 16px;
  top: 13px;
}

.timeline-title {
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #333;
}

.timeline-detail {
  font-size: 0.9em;
  color: #666;
  display: none;
}

.timeline-entry:hover .timeline-detail {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.stats-box {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5em;
  margin: 2em 0;
  text-align: center;
}

.stat-item {
  display: inline-block;
  margin: 0 1em;
  text-align: center;
}

.stat-number {
  font-size: 2em;
  font-weight: bold;
  color: #007acc;
  display: block;
}

.stat-label {
  font-size: 0.85em;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .timeline-entry.left,
  .timeline-entry.right {
    margin-left: 60px;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline-entry.left .timeline-content::after,
  .timeline-entry.right .timeline-content::after {
    left: -10px;
    border: 10px solid transparent;
    border-right-color: white;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
}
