#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-content {
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.loader-content img {
  width: 90px;
  margin-bottom: 15px;
}

.loader-content h2 {
  color: #0b4fa3;
  margin: 0;
  font-size: 22px;
  letter-spacing: 1px;
}

.loader-content span {
  display: block;
  color: #8b1c1c;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar {
  width: 220px;
  height: 6px;
  background: #e0e0e0;
  border-radius: 50px;
  overflow: hidden;
  margin: auto;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0b4fa3, #8b1c1c);
  animation: loading 2s infinite;
}

/* Animations */
@keyframes loading {
  0% {
    width: 0%;
  }
  50% {
    width: 80%;
  }
  100% {
    width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
