#timeline-section.section .timeline-section {
  padding: 3rem 1rem;
  background: #fafbfc;
  min-height: 100vh;
  position: relative;
}

#timeline-section.section .hero-section {
  text-align: center;
  margin-bottom: 3rem;
}

#timeline-section.section .timeline-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

#timeline-section.section .hero-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-track {
  position: relative;
  background: white;
  border-radius: 50px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.timeline-progress {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.timeline-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #ff8c42);
  width: 60%;
  border-radius: 3px;
  animation: progressFill 2s ease-out;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 60%; }
}

.timeline-items {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 20px;
  border-left: 4px solid #e2e8f0;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-item:hover {
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(10px);
}

.timeline-item.completed {
  border-left-color: #10b981;
}

.timeline-item.upcoming {
  border-left-color: #6366f1;
  background: rgba(99, 102, 241, 0.05);
}

.timeline-item.center-milestone {
  background: linear-gradient(135deg, #ff8c42, #ff6b1a);
  color: white;
  border-left: none;
  border: 2px solid #ff8c42;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  background: #ff8c42;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.timeline-item.completed .timeline-icon {
  background: #10b981;
}

.timeline-item.upcoming .timeline-icon {
  background: #6366f1;
}

.timeline-item.center-milestone .timeline-icon {
  background: white;
  color: #ff8c42;
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.1) rotate(10deg);
}

.timeline-content {
  flex: 1;
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff8c42;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.timeline-item.completed .timeline-date {
  color: #10b981;
}

.timeline-item.upcoming .timeline-date {
  color: #6366f1;
}

.timeline-item.center-milestone .timeline-date {
  color: rgba(255, 255, 255, 0.9);
}

.timeline-title-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.timeline-item.center-milestone .timeline-title-text {
  color: white;
  font-size: 1.4rem;
}

.timeline-description {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.timeline-item.center-milestone .timeline-description {
  color: rgba(255, 255, 255, 0.9);
}

.timeline-footer {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.1), rgba(255, 140, 66, 0.05));
  border-radius: 20px;
  border: 1px solid rgba(255, 140, 66, 0.2);
}

.timeline-footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.timeline-footer-text {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ff8c42;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 18s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 3s; }
.particle:nth-child(3) { left: 30%; animation-delay: 6s; }
.particle:nth-child(4) { left: 40%; animation-delay: 9s; }
.particle:nth-child(5) { left: 60%; animation-delay: 12s; }
.particle:nth-child(6) { left: 70%; animation-delay: 15s; }
.particle:nth-child(7) { left: 80%; animation-delay: 18s; }
.particle:nth-child(8) { left: 90%; animation-delay: 21s; }

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
    transform: scale(1);
  }
  90% {
    opacity: 0.4;
    transform: scale(1);
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #timeline-section.section .timeline-section {
    padding: 2rem 1rem;
  }

  #timeline-section.section .timeline-title {
    font-size: 2rem;
  }

  #timeline-section.section .timeline-track {
    padding: 2rem 1rem;
    border-radius: 30px;
  }

  #timeline-section.section .timeline-progress {
    top: 1.5rem;
    left: 1rem;
    right: 1rem;
  }

  #timeline-section.section .timeline-item {
    padding: 1rem;
    gap: 1rem;
    border-radius: 15px;
  }

  #timeline-section.section .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  #timeline-section.section .timeline-item.center-milestone .timeline-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  #timeline-section.section .timeline-footer {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  #timeline-section.section .timeline-title {
    font-size: 1.7rem;
  }

  #timeline-section.section .timeline-track {
    padding: 1.5rem 0.8rem;
    border-radius: 25px;
  }

  #timeline-section.section .timeline-item {
    padding: 0.8rem;
    gap: 0.8rem;
    flex-direction: column;
    text-align: center;
  }

  #timeline-section.section .timeline-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  #timeline-section.section .timeline-item.center-milestone .timeline-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  #timeline-section.section .timeline-content {
    text-align: center;
  }
}

body.dark-mode #timeline-section.section .timeline-section {
  background: #0f172a;
}

body.dark-mode #timeline-section.section .timeline-track {
  background: rgba(51, 65, 85, 0.95);
  border-color: rgba(255, 140, 66, 0.2);
}

body.dark-mode #timeline-section.section .timeline-item {
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
}

body.dark-mode #timeline-section.section .timeline-item:hover {
  background: rgba(51, 65, 85, 0.95);
}

body.dark-mode #timeline-section.section .timeline-item.upcoming {
  background: rgba(99, 102, 241, 0.1);
}

body.dark-mode #timeline-section.section .timeline-title-text {
  color: #e2e8f0;
}

body.dark-mode #timeline-section.section .timeline-description {
  color: #94a3b8;
}

body.dark-mode #timeline-section.section .timeline-footer {
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.15), rgba(255, 140, 66, 0.08));
  border-color: rgba(255, 140, 66, 0.3);
}

body.dark-mode #timeline-section.section .timeline-footer-title {
  color: #e2e8f0;
}

body.dark-mode #timeline-section.section .timeline-footer-text {
  color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item,
  .timeline-icon,
  .particle,
  .timeline-progress-fill {
    animation: none !important;
    transition: none !important;
  }
}