/* header */

/* top-bar */

.scroll-progress-wrap {
  width: 100%;
  height: 2px; /* change thickness */
  background: rgba(255, 255, 255, 0.08); /* faint line */
  z-index: 9999;
}

.scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: #ffffff30;
    transition: width 0.1s linear;
}

/* top header fixed */

#main-header {
  transition: all 0.35s ease;
}

#main-header.header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: headerSlideDown 0.4s ease forwards;
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

body.has-sticky-header {
  padding-top: 80px;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}