/* This ensures the main navbar is fixed and on top */
.navbar {
  position: relative; /* No longer fixed, part of the sticky flow */
  background-color: var(--white); /* Give navbar a solid background */
  z-index: 1001; /* Ensure navbar is on top of sub-header */
}

/* This container holds both headers and sticks to the top */
.header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
}