               if (content) {
                      const height = content.offsetHeight;
                      card.style.setProperty('--content-height', `${height}px`);
                  }
              });
          });

          // Observe feature cards if they exist
          if (featureCards.length > 0) {
              featureCards.forEach(card => resizeObserver.observe(card));
          }

          // Debounce function for performance
          function debounce(func, wait) {
              let timeo