/* --- 1. LOADER WRAPPER --- */
#loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: #111; /* Keep that professional dark look */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- 2. THE LOADER BOX (Now a simple stack) --- */
#loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px; /* Space between logo and bar */
}

/* --- 3. LOGO STYLING --- */
#loader-logo {
  width: 280px; /* Adjusted for your new wider logo */
  height: auto;
  /* No more rotation needed! */
}

/* --- 4. THE HORIZONTAL PROGRESS BAR --- */
#progress-bar {
  width: 240px; /* Slightly narrower than logo for better balance */
  height: 4px;
  background: #222; /* Dark track background */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

/* The moving gradient element */
#progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Start off-screen */
  width: 100%;
  height: 100%;
  /* Using your brand colors: Dark Blue to Light Blue */
  background: linear-gradient(90deg, transparent, #39537c 20%, #92acda 50%, #39537c 80%, transparent);
  animation: move-gradient 1.8s infinite ease-in-out;
}

/* --- 5. THE ANIMATION --- */
@keyframes move-gradient {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
