
/* =========================================================
   FINAL FIXED NAVBAR
   ========================================================= */

.site-header,
header.site-header,
.navbar,
header.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  margin: 0 !important;
}

.site-header {
  background: rgba(2, 6, 23, .78) !important;
  border-bottom: 1px solid rgba(120, 210, 255, .10) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 8px 35px rgba(0, 0, 0, .12);
}

.nav-shell {
  position: relative !important;
  width: min(1200px, calc(100% - 40px)) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Keep anchored sections visible below fixed navbar */
section[id] {
  scroll-margin-top: 90px;
}

/* Ensure first section is not hidden under navbar */
.hero-section,
#home {
  padding-top: max(110px, calc(var(--header-h, 70px) + 40px)) !important;
}

@media (max-width: 991px) {
  .nav-shell {
    width: calc(100% - 32px) !important;
  }

  .site-header {
    background: rgba(2, 6, 23, .94) !important;
  }

  section[id] {
    scroll-margin-top: 78px;
  }
}

@media (max-width: 599px) {
  .nav-shell {
    width: calc(100% - 24px) !important;
  }

  .hero-section,
  #home {
    padding-top: 20px !important;
  }
  .hero-name{
    display: flex;
    justify-content: center;
  }
  .hero-description{
    font-size: 13px;
    line-height: 1.6;
  }

  section[id] {
    scroll-margin-top: 72px;
  }
}
