@keyframes planetAn {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes scaleAn {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Enhanced scroll animations */
@keyframes scrollFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Parallax effect for images */
@keyframes parallaxFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Apply animations */
.welcome {
  animation: slideInLeft 1s ease-out;
}

.hero-image {
  animation: slideInRight 1s ease-out 0.3s both;
}

.header-container {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.main-box {
  animation: fadeInUp 1s ease-out 0.7s both;
}

/* Apply enhanced animations */
.stat-item {
  animation: bounceIn 0.8s ease forwards;
}

.mission-item:nth-child(odd) {
  animation: slideInFromLeft 0.8s ease forwards;
}

.mission-item:nth-child(even) {
  animation: slideInFromRight 0.8s ease forwards;
}

/* Floating animation for hero image */
.hero-image img {
  animation: planetAn 90s linear infinite;

animation: scaleAn 15s infinite;}