= `scale(${(circles.length - index) / circles.length})`;

          const nextCircle = circles[index + 1] || circles[0];
          circle.x = x;
          circle.y = y;

          x += (nextCircle.x - x) * 0.25;
          y += (nextCircle.y - y) * 0.25;
        });

        requestAnimationFrame(animateCircles);
      }

      animateCircles();
    });
  </script>

   <!-- Progress bar -->
   <div id="progressBar"></div>
   <script>
       window.onscroll = function () {
           var winScroll = document.