/* Loading animations for professional feel */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 170, 255, 0.3);
  border-top: 3px solid #00aaff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Smooth scroll behavior enhancement */
html {
  scroll-behavior: smooth;
}

/* Image lazy loading */
img {
  loading: lazy;
}

/* Focus indicators for accessibility */
button:focus, a:focus {
  outline: 2px solid #00aaff;
  outline-offset: 2px;
}
