/* Animated Gradient Text Effect */

.animated-gradient-text {
  position: relative;
  margin: 0 auto;
  display: flex;
  max-width: fit-content;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  overflow: visible;
}

.text-content {
  display: inline-block;
  position: relative;
  z-index: 2;
  background-image: linear-gradient(to right, #fa9939, #f7bc81, #7d9ff0, #5583ed, #fa9939, #f7bc81, #7d9ff0, #5583ed);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient 14s linear infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Ensure the section-title works with gradient */
.section-title.animated-gradient-text {
  display: inline-block;
}

/* Keep the orange line under the title */
.section-title.animated-gradient-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}










