.cta-button {
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 300%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.3)
  );
  z-index: 1;
  transition: left 0.5s ease-in-out;
  mix-blend-mode: overlay; /* ✅ Makes it visible on colored backgrounds */
  pointer-events: none;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: scale(0.97);
}

/* Add this new class */
.animate-visible {
  animation: fadeInUp 0.8s ease forwards;
}
