/* ===== TIMELINE BACKGROUND EFFECTS & PARTICLES ===== */
/* Background animations and particle effects specific to the process timeline section of index.html */

/* Animated Background */
.timeline-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.flow-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFlow 12s ease-in-out infinite;
}

.particle-dot:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 15s;
}

.particle-dot:nth-child(2) {
  top: 60%;
  left: 25%;
  animation-delay: 3s;
  animation-duration: 18s;
}

.particle-dot:nth-child(3) {
  top: 40%;
  right: 30%;
  animation-delay: 6s;
  animation-duration: 14s;
}

.particle-dot:nth-child(4) {
  bottom: 30%;
  left: 60%;
  animation-delay: 9s;
  animation-duration: 16s;
}

.particle-dot:nth-child(5) {
  top: 80%;
  right: 15%;
  animation-delay: 12s;
  animation-duration: 20s;
}

@keyframes particleFlow {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-40px) translateX(20px) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) translateX(-15px) scale(0.8);
    opacity: 1;
  }
  75% {
    transform: translateY(-60px) translateX(30px) scale(1.1);
    opacity: 0.6;
  }
}

/* Process Path SVG */
.process-path {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.path-svg {
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.animated-path {
  stroke-dasharray: 20 10;
  animation: pathFlow 4s linear infinite;
}

.path-dot {
  filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6));
}

@keyframes pathFlow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 30;
  }
}
