@keyframes floatShape {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(18px, -24px, 0) rotate(8deg);
  }
}

@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(244, 191, 58, 0.28);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(244, 191, 58, 0);
  }
}

@keyframes certificateFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes circleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(10px, -18px, 0) scale(1.06);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.shape {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  animation: floatShape 8s ease-in-out infinite;
}

.shape-one {
  top: 14%;
  left: 6%;
  width: 90px;
  height: 90px;
}

.shape-two {
  right: 8%;
  bottom: 18%;
  width: 120px;
  height: 120px;
  animation-delay: 1.4s;
}

.shape-three {
  right: 42%;
  bottom: 10%;
  width: 60px;
  height: 60px;
  animation-delay: 2.4s;
}

.play-tour i,
.back-to-top.show {
  animation: softPulse 2.4s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
