/* Animations CSS */

/* Star Animation */
#stars-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../images/watercolor_orange_space.jpg);
  z-index: 0;
  opacity: 0.7;
  /* animation: animateStarsBackground 10s linear infinite; */
}


#ai-orange-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 200%;
  transform: translate(-50%, -50%); /* center it exactly */
  background: url(../images/ai-plasma.jpg) no-repeat center center;
  background-size: contain; /* preserves aspect ratio */
  pointer-events: none;
  z-index: 0;
  opacity: 0.01; /* Optional: to fade it softly into the background */
}

/* Button Hover Animation */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-block;
  color: var(--color-text); /* ensure color stays consistent */
}

.btn-hover-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, #1d31e9, var(--color-gradient-end));
  transition: all 0.35s ease;
  z-index: -1; /* Push the hover effect behind the text */
}

.btn-hover-effect:hover::after {
  width: 100%;
}
