/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(112, 146, 161, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 200px;
  height: auto;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.preloader-spinner {
  width: 280px;
  height: 280px;
  margin-bottom: 20px;
}

.preloader-text {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  color: #0066cc;
  margin-top: 15px;
  letter-spacing: 1px;
}

.loading-progress {
  width: 200px;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  margin-top: 15px;
  overflow: hidden;
  position: relative;
}

.loading-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0066cc, #33cc33);
  border-radius: 2px;
  transition: width 0.4s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .preloader-logo {
    width: 150px;
  }

  .preloader-spinner {
    width: 60px;
    height: 60px;
  }

  .loading-progress {
    width: 180px;
  }
}
