/* =========================
   NAVIGATION – STABLE FINAL
   ========================= */

.nav-nav {
  background-color: #00175A;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #ffffff;
  
}

/* LOGO (LEFT) */
.logo-img {
  max-height: 60px;
  width: auto;
  display: block;
  will-change: transform; /* micro-optimization */
}


/* NAV LINKS (RIGHT) */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;   /* THIS is the key */
  padding: 0;
}

.nav-list a {
  color: #ffffff;
  text-decoration: none;
}

.nav-list a:hover {
  color: #c7d2ff;
}

/* CTA BUTTON */
/* FORCE consistent CTA button font across all pages */
.nav-nav .button1,
.nav-nav .button1 a {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.button1 {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.5rem 1rem;
}

.button1 a {
  color: #00175A;
  text-decoration: none;
}

.button1:hover {
  background: #00175A;
}

.button1:hover a {
  color: #ffffff;
}

/* CONTACT INFO (TOP OVERLAY — NOT FLEX PARTICIPANT) */
.info-container {
  position: absolute;
  top: 1px;
  right: 60px;
  display: flex;
  gap: 30px;
  font-size: 13px;
  pointer-events: none; /* prevents layout interference */
}

.phone,
.address-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* MOBILE */
.menu {
  display: none;
  cursor: pointer;
}

.menu-line {
  width: 22px;
  height: 3px;
  background-color: #ffffff;
  margin: 4px 0;
}

@media (max-width: 768px) {
  .info-container {
    display: none;
  }

  .menu {
    display: block;
    margin-left: auto;
  }
  @media (max-width: 768px) {

  .nav-nav {
    position: relative;
    z-index: 1000;
  }

  .nav-list {
    position: fixed;        /* 🔑 change from absolute → fixed */
    top: 100px;             /* same as nav height */
    left: 0;
    width: 100%;
    height: calc(43vh - 100px);
    background: #00175A;
    flex-direction: column;
    display: none;
    z-index: 2000;          /* 🔑 higher than hero */
    overflow-y: auto;
  }

  .nav-list.active-list {
    display: flex;
  }
}
}

.text-container {
  padding-top: 20px;   /*controls space under nav */
}