/* ============ SECTION LOADERS ============ */
section,footer  {
  position: relative; /* ensure loader overlays section */
}

/* Loader overlay for each section */
.section-loader {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9f9f9; /* match section background */
  z-index: 10;
}

/* Content hidden until loaded */
.section-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Show content & hide loader after loading */
.section-loaded .section-loader {
  display: none;
}
.section-loaded .section-content {
  opacity: 1;
}





/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border: 4px solid #0000;
  border-radius: 50%;
  border-right-color: #25b09b;
  animation: l15 1s infinite linear;
}
.loader::before,
.loader::after {    
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
  animation: l15 2s infinite;
}
.loader::after {
  margin: 8px;
  animation-duration: 3s;
}
@keyframes l15{ 
  100%{transform: rotate(1turn)}
}