.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #133452, #FFA726, #FFA726);
  transform-origin: left;
  animation: growProgress linear;
  animation-timeline: scroll();
}

@keyframes growProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes scrollFadeIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.72);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-header,
.box,
.gallery-img,
.banner-text,
.banner-image {
  opacity: 1; /* Fallback for browsers without timeline support */
  transform: translateY(0);
}

@supports (animation-timeline: view()) {
  .section-header,
  .box,
  .gallery-img,
  .banner-text,
  .banner-image {
    animation: scrollFadeIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    will-change: opacity, transform;
  }
}
