/* Nahleh motion — ported from the design's keyframe set. */

@keyframes nh-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes nh-slidein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nh-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes nh-zoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes nh-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@keyframes nh-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

html[dir='rtl'] .nahleh-animate-marquee {
  animation-direction: reverse;
}

.nahleh-animate-pop {
  animation: nh-pop 0.4s ease;
}

.nahleh-animate-slidein {
  animation: nh-slidein 0.4s ease both;
}

.nahleh-animate-fade {
  animation: nh-fade 0.3s ease both;
}

.nahleh-animate-zoom {
  animation: nh-zoom 0.25s ease both;
}

.nahleh-animate-glow {
  animation: nh-glow 2.6s ease-in-out infinite;
}

.nahleh-animate-marquee {
  animation: nh-marquee 22s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nahleh-animate-pop,
  .nahleh-animate-slidein,
  .nahleh-animate-fade,
  .nahleh-animate-zoom,
  .nahleh-animate-glow,
  .nahleh-animate-marquee {
    animation: none !important;
    transition: none !important;
  }
}
