/* Aurora Beam sits behind the original hero content without changing its flow. */
.aurora-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0a !important;
  background-image: none !important;
}

.aurora-beam-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aurora-hero > .container {
  position: relative;
  z-index: 1;
}

.aurora-hero .hero-services {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 1rem;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0.75rem rgba(0, 0, 0, 0.35);
}

.aurora-hero .hero-services span {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .aurora-hero .hero-services {
    gap: 0.4rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-beam-canvas {
    opacity: 0.9;
  }
}

@media (min-width: 992px) {
  .navbar-collapse .offcanvas-body > .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 2.25rem;
  }

  .navbar-collapse .offcanvas-body > .navbar-nav > .nav-item {
    display: flex;
    align-items: center;
    margin: 0;
  }

  .navbar-collapse .offcanvas-body > .navbar-nav > .nav-item > .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    padding-right: 0.25rem;
    padding-left: 0.25rem;
  }
}

.navbar-brand img.logo-dark,
.navbar-brand img.logo-light {
  width: clamp(5rem, 9.5vw, 6rem);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.navbar-brand,
.navbar-brand > a {
  display: flex;
  align-items: center;
}

.navbar-brand > a {
  transform: translateY(0.25rem);
}

.hero-scroll-hint {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 4vw, 2.5rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 10, 10, 0.28);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.18);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-scroll-hint .uil {
  font-size: 1.2rem;
  line-height: 1;
}

.hero-scroll-hint:hover,
.hero-scroll-hint:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-scroll-hint {
    animation: hero-scroll-hint-bob 1.8s ease-in-out infinite;
  }
}

@keyframes hero-scroll-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0.3rem);
  }
}

@media (max-width: 575.98px) {
  .hero-scroll-hint {
    right: 1rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}
