/* =========================
   HARD RESET (REQUIRED)
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ROOT ELEMENTS — MUST BE ZERO */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* BODY BASE */
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f9fafb;
  color: #0f172a;
  line-height: 1.5;
  
}


/* REMOVE ALL DEFAULT BLOCK SPACING */
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
  
}
h1{
    font-size: 1.7rem;
}
h2{
    font-size: 1.5rem;
}

/* LINKS */
a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   SCROLLBAR (OPTIONAL)
========================= */

* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 999px;
}


/* =========================
   Modern Circular Preloader
========================= */

#page-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Container */
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Circular animated loader */
.preloader-symbol {
  position: relative;
  width: 48px;
  height: 48px;
}

/* Outer circle */
.preloader-symbol::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(90, 90, 91, 0.35);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

/* Inner orbiting dot */
.preloader-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: #5a5a5b;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit 1.6s linear infinite;
}

/* Brand text */
.preloader-text {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: #5a5a5b;
  font-weight: 500;
  user-select: none;
}

/* Animations */
@keyframes orbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(16px);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(16px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
