#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.pulse-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 2s infinite ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-dot {
  width: 12px;
  height: 12px;
  background-color: #00eaff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00eaff;
  animation: blink 1.2s infinite;
}

.service-icon {
  position: absolute;
  font-size: 24px;
  animation: fadeIcon 1.8s infinite;
  color: #00eaff;
}

.pulse-text {
  display: flex;
  margin-top: 20px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  gap: 2px;
}

.pulse-text span {
  animation: waveText 1.2s infinite;
}

#iconText {
  font-size: 100px;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.loading-text {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  font-size: 18px;
  color: #666;
  gap: 2px;
  font-family: "Segoe UI", sans-serif;
}

.loading-text span {
  animation: wave 1.2s ease-in-out infinite;
  display: inline-block;
}

.loading-text span:nth-child(1) { animation-delay: 0s; }
.loading-text span:nth-child(2) { animation-delay: 0.1s; }
.loading-text span:nth-child(3) { animation-delay: 0.2s; }
.loading-text span:nth-child(4) { animation-delay: 0.3s; }
.loading-text span:nth-child(5) { animation-delay: 0.4s; }
.loading-text span:nth-child(6) { animation-delay: 0.5s; }
.loading-text span:nth-child(7) { animation-delay: 0.6s; }
.loading-text span:nth-child(8) { animation-delay: 0.7s; }
.loading-text span:nth-child(9) { animation-delay: 0.8s; }
.loading-text span:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pulse-text span:nth-child(odd) { animation-delay: 0.2s; }
.pulse-text span:nth-child(even) { animation-delay: 0.4s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}


.loader {
  text-align: center;
}

@keyframes blink {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes fadeIcon {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes waveText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hide after load */
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}
