/* Floating animate*/
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}
/* End Floating animate*/

/* Hero section: hover text */
/* Efek nge-block umum */
.highlight-block {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  cursor: pointer;
  overflow: hidden;
}

.highlight-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

/* Hover manual */
.highlight-block:hover::before {
  transform: scaleX(1);
}
.highlight-block:hover {
  color: white;
}

/* Animasi saat load */
@keyframes highlight-load {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
.load-animate::before {
  animation: highlight-load 0.8s ease forwards;
}
.load-animate {
  color: white; /* warna kontras saat load */
}

/* End Hero section: hover text */
