target.scrollIntoView({
                          behavior: 'smooth',
                          block: 'start'
                      });
                  }
              });
          });

          // Add keyframe animation for ripple effect if not already in stylesheet
          if (!document.querySelector('#ripple-animation')) {
              const style = document.createElement('style');
              style.id = 'ripple-animation';
              style.textContent = `
                  @keyframes ripple