/* ===== FMEDS Custom Animations =====
   Replaces Webflow interaction-driven animations
   that don't export with static HTML.
   ===================================== */

/* --- MARQUEE SCROLL --- */
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}
.marquee-services-master {
  animation: marquee-scroll 40s linear infinite;
}
.marquee-services-master:hover {
  animation-play-state: paused;
}
.marquee-features {
  animation: marquee-scroll 35s linear infinite;
}
.marquee-features:hover {
  animation-play-state: paused;
}
.marquee-text-wrap {
  animation: marquee-scroll 25s linear infinite;
}

/* --- CTA CIRCLE FLOATING --- */
@keyframes float-circle {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -15px); }
  50% { transform: translate(-5px, -25px); }
  75% { transform: translate(-15px, -10px); }
}
@keyframes float-circle-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -30px) scale(1.05); }
}
@keyframes float-circle-fast {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -10px); }
  66% { transform: translate(-10px, -20px); }
}
.cta-circle-regular { animation: float-circle 8s ease-in-out infinite; }
.cta-circle-big { animation: float-circle-slow 12s ease-in-out infinite; }
.cta-circle-small { animation: float-circle-fast 6s ease-in-out infinite; }

/* --- SCROLL-TRIGGERED FADE-IN --- */
/* Use clip-path instead of opacity to keep the background opaque
   so the sticky hero doesn't bleed through */
.fade-in-on-scroll > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-on-scroll.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
