.waves {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
  }
  
  .waves::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate3d(calc(var(--x, 0px) - 0.25rem), calc(var(--y, 0px) - 0.25rem), 0);
    will-change: transform;
    pointer-events: none;
    opacity: 0.5;
    z-index: 2;
  }
  
  .waves-canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  /* Ajuste para garantizar que el contenido del hero esté en primer plano */
  .hero {
    position: relative;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  /* Añadir un overlay oscuro para mejorar la visibilidad del texto */
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }