/* Preloader Overlay */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.4s ease;
}

/* Logo */
#preloader .loader-logo img {
  width: 110px;
  height: auto;
  margin-bottom: 10px;
  animation: fadePulse 1.8s ease-in-out infinite;
}

/* Ring Loader */
#preloader .loader-ring {
  width: 20px;
  height: 20px;
  border: 2px solid #001F3F;
  border-top-color: #D4AF37;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

/* Fade-Out Class */
#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Animations */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
