      entry.target.style.opacity = '1';
                      }, delay * 1000);

                      // If it's a feature card, animate its highlights
                      if (entry.target.classList.contains('feature-card')) {
                          const highlights = entry.target.querySelectorAll('.highlight-item');
                          highlights.forEach((highlight, index) => {
                              setTimeout(() => {
                                  highlight.style.opacity = '0';
    