/* Website Loader Styles */
#website-loader {
  position: fixed; /* Sit on top of the page content */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9); /* White background with some transparency */
  z-index: 9999; /* Make sure it sits on top */
  display: flex; /* Use flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  transition: opacity 0.5s ease-out; /* Smooth fade-out */
}

.loader-spinner {
  border: 6px solid #f3f3f3; /* Light grey base */
  /* !!! CHANGE THE BORDER-TOP-COLOR TO YOUR BRAND COLOR !!! */
  border-top: 6px solid #f19225; /* Orange spinner color - ADJUST THIS */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite; /* Animation definition */
}

/* Spinner Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Class to hide the loader */
#website-loader.hidden {
  opacity: 0;
  visibility: hidden; /* Hide it completely after transition */
  pointer-events: none; /* Prevent interaction when hidden */
}