 });

              badge.addEventListener('mouseleave', () => {
                  badge.style.animationPlayState = 'running';
                  badge.style.transform = 'scale(1)';
              });
          });

          // Performance optimization: Use ResizeObserver for dynamic adjustments
          const resizeObserver = new ResizeObserver(entries => {
              entries.forEach(entry => {
                  const card = entry.target;
                  const content = card.querySelector('.p-6');
   