/* ===== Common Styles - Shared across all pages ===== */

body {
  background-color: #fdfbf7;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #121212;
}
::-webkit-scrollbar-thumb {
  background: #ff671f;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e55b17;
}

/* Loading Spinner */
#loader {
  position: fixed;
  inset: 0;
  background: #121212;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease-out;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 103, 31, 0.3);
  border-radius: 50%;
  border-top-color: #ff671f;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Text Gradients */
.text-gradient-saffron {
  background: linear-gradient(to right, #ff671f, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow Effects */
.hover-glow:hover {
  box-shadow: 0 0 20px rgba(255, 103, 31, 0.5);
  transform: translateY(-5px);
}

/* Parallax Backgrounds */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Floating Flag */
.floating-flag {
  animation: floatFlag 4s ease-in-out infinite;
}
@keyframes floatFlag {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}
