/* preloader.css — premium fullscreen loader */

#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-logo {
  width: 140px;
  z-index: 10;
  animation: logoPulse 2.2s infinite ease-in-out;
  filter: drop-shadow(0 20px 40px rgba(0, 102, 204, 0.2));
}

.ring,
.ring2,
.pulse {
  position: absolute;
  border-radius: 50%;
}

.ring {
  width: 250px;
  height: 250px;
  border: 6px solid rgba(0, 123, 255, 0.55);
  animation: rotate 2.2s linear infinite;
  opacity: 0.65;
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.18);
}

.ring2 {
  width: 200px;
  height: 200px;
  border: 4px solid rgba(0, 196, 255, 0.7);
  animation: rotateReverse 1.6s linear infinite;
  opacity: 0.75;
  box-shadow: 0 0 30px rgba(0, 196, 255, 0.2);
}

.pulse {
  width: 110px;
  height: 110px;
  background: rgba(0, 123, 255, 0.18);
  animation: pulse 1.8s infinite ease-in-out;
  opacity: 0.55;
  box-shadow: 0 0 60px rgba(0, 123, 255, 0.16);
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
  to { transform: rotate(-360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.45); opacity: 0.95; }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}