
/* Loading screen container */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #001d51;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}
.no_display{
  display: none;
}
/* Logo container with animations */
.logo-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Logo image */
.logo {
  width: 160px;
  height: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Logo scale animation when loading completes */
.logo-container.completed {
  transform: scale(2);
}

/* Expanding circle animation */
.expanding-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #3B82F6;
  z-index: 1;
  pointer-events: none;
  transition: transform 0s;
}

.expanding-circle.expand {
  transform: translate(-50%, -50%) scale(15);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Pulsing circle animations */
.pulse-circle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background-color: #3B82F6;
  opacity: 0.2;
  animation: pulse 2s infinite;
}

.pulse-circle:nth-child(2) {
  animation-delay: 0.5s;
  opacity: 0.3;
}

@keyframes pulse {
  0% {
      transform: scale(0.95);
      opacity: 0.7;
  }
  50% {
      transform: scale(1.05);
      opacity: 0.3;
  }
  100% {
      transform: scale(0.95);
      opacity: 0.7;
  }
}

/* Spinning border animation */
.spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: #3B82F6;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* Progress bar styles */
.progress-container {
  margin-top: 40px;
  width: 80%;
  max-width: 300px;
  position: relative;
  z-index: 2;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #3B82F6;
  border-radius: 4px;
  transition: width 0.3s ease-out;
  position: relative;
}

/* IndabaX-style light streak animation */
.light-streak {
  position: absolute;
  top: 0;
  left: -100px;
  height: 100%;
  width: 80px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  animation: streak 1.5s linear infinite;
  pointer-events: none;
}

@keyframes streak {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(500%);
  }
}

.progress-text {
  margin-top: 12px;
  text-align: center;
  font-size: 16px;
  color: #ffff;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Main content container */
.main-content {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-container {
      width: 160px;
      height: 160px;
  }
  .logo {
      width: 120px;
  }
}