#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f172a; /* সুন্দর ডার্ক ব্যাকগ্রাউন্ড */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease-out;
}

.wave-text {
  display: flex;
  font-family: 'Arial', sans-serif;
  font-size: 40px;
  font-weight: bold;
  color: #3498db; /* নামের রঙ */
}

.wave-text span {
  display: inline-block;
  animation: wave 1.2s infinite ease-in-out;
}

/* প্রতিটি অক্ষরের জন্য ঢেউয়ের ডিলে */
.wave-text span:nth-child(1) { animation-delay: 0.1s; }
.wave-text span:nth-child(2) { animation-delay: 0.2s; }
.wave-text span:nth-child(3) { animation-delay: 0.3s; }
.wave-text span:nth-child(4) { animation-delay: 0.4s; }
.wave-text span:nth-child(5) { animation-delay: 0.5s; }
.wave-text span:nth-child(6) { animation-delay: 0.6s; }
.wave-text span:nth-child(7) { animation-delay: 0.7s; }
.wave-text span:nth-child(8) { animation-delay: 0.8s; }
/* স্পেস এর জন্য ডিলে */
.wave-text span:nth-child(9) { animation-delay: 0.9s; }
/* Islam অংশের জন্য */
.wave-text span:nth-child(10) { animation-delay: 1.0s; }
.wave-text span:nth-child(11) { animation-delay: 1.1s; }
.wave-text span:nth-child(12) { animation-delay: 1.2s; }
.wave-text span:nth-child(13) { animation-delay: 1.3s; }
.wave-text span:nth-child(14) { animation-delay: 1.4s; }

@keyframes wave {
  0%, 40%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-20px); /* উপরে উঠবে */
    color: #00ffcc; /* ঢেউয়ের সময় রঙ পরিবর্তন হবে */
  }
}