/* Force normal text direction - override any cached CSS */
h2[data-controller="text-animation"] {
  display: block !important;
  flex-direction: row !important;
  text-align: center;
  line-height: 1.3;
}

/* Very simple text animation - just opacity */
[data-text-animation-target="word"] {
  display: inline;
  opacity: 0;
  transition: opacity 0.5s ease;
}

[data-text-animation-target="word"].animate-in {
  opacity: 1;
}

/* Letter animation styles */
.letter-animation-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.letter-animation-letter.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Container for letter animation */
h1[data-controller="letter-animation"] {
  display: flex;
  justify-content: center;
}

/* Image animation styles */
.image-animation-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-animation-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-animation-left.animate-in,
.image-animation-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}