n once to allow your translateX(-50%) loop
        const firstSet = Array.from(track.children);
        if (firstSet.length === 0) return;
        firstSet.forEach(node => track.appendChild(node.cloneNode(true)));
      }

      function attachPulseOnClick(scope = document) {
        const cards = scope.querySelectorAll(".testimonial-card");
        cards.forEach((card) => {
          card.addEventListener("click", () => {
            card.style.transform = "scale(0.98)";
            setTimeout(() => {
    