/* ================================
   GLOBAL BASE
   ================================ */
body {
  width: 100%;
  margin: 0;
  font-family: "Roboto";
  overflow-x: hidden;
}

/* ================================
   LAYOUT WRAPPERS
   ================================ */
.navigation {
  top: 0;
  z-index: 10;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-left: 0;
  margin-right: 0;
  position: relative;
}

.content__right {
  width: 83%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

/* =========================================================
   TOP NAVBAR (SCOPED + CONSISTENT)
   IMPORTANT: this targets ONLY the blue top navbar
   ========================================================= */
.navigation nav.navz {
  background: #11286a;
  font-family: "Roboto";
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-left: 27px;
  padding-right: 27px;

  /* ✅ reduced gap */
  padding-top: 25px;
  padding-bottom: 25px;

  margin: 0;
  box-sizing: border-box;
  height: auto;
}

/* Left side */
.navigation nav.navz .navbar__navbarLeft {
  display: flex;
  gap: 9px;
  color: white;
  font-size: 17.1px;
  align-items: center;
  text-align: left;
}

/* Logo link */
.navigation nav.navz .navbarLeft__icon {
  padding: 8px 0px;
  width: 25%;
  text-align: left;
  text-decoration: none;
}

/* Company name text */
.navigation nav.navz .navbarLeft__text {
  display: inline;
  color: white;
  font-size: 70px;
  align-content: center;
  text-align: left;
  text-decoration: none;
}

/* Logo image sizing */
.navigation nav.navz .navbar__navbarLeft img {
  width: 80%;
  height: auto;
}

/* Extra badges */
.navigation nav.navz .navbar__extraImages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.navigation nav.navz .navbar__extraImages img {
  width: 150px;
  height: 80px;
  border: 1px solid white;
  background-color: black;
  border-radius: 8px;
  object-fit: contain;
}

/* Right side */
.navigation nav.navz .navbar__navbarRight {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navigation nav.navz .navbarRight__button {
  color: white;
  border-radius: 12px;
  text-decoration: none;
  align-content: flex-start;
  font-size: 18px;
  transition: all 0.3s ease;
}

.navigation nav.navz .navbarRight__button:hover {
  transform: scale(1.05);
}

/* Hamburger (if used) */
.navigation nav.navz .navbar__hamburger {
  display: none;
}

.hamburger {
  display: none;
  text-align: right;
}

.hamburger a {
  color: white;
  text-decoration: none;
}

.hamburger__nav {
  display: none;
  transition: all 0.3s ease-out;
}

.hamburger__nav a {
  display: block;
  text-indent: 9px;
  font-size: 14.25px;
  margin: 9px 0px;
}

/* ================================
   SUBNAVBAR
   ================================ */
.subnavbar {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: right;
  gap: 27px;
  background-color: #000000;
  font-family: "Roboto";
  padding: 0.9% 27px;
  height: 42px;
  align-items: center;
}

.subnavbar a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.subnavbar a:hover {
  transform: scale(1.05);
  color: #a8a8a8;
}

.subnavbartesting {
  display: flex;
  gap: 20px;
}

.subnavbar p {
  font-size: 18px;
}

.subnavbar p:hover {
  color: #a8a8a8;
}

/* ================================
   SIDENAV
   ================================ */
.sidenav__itemsStick {
  position: sticky;
  top: 0px;
  overflow: 1;
  padding: 10px 0px 27px 0px;
}

.sidenav {
  font-family: "Roboto";
  display: flex;
  flex-direction: column;
  width: 17%;
  border-right: #898989 solid 1px;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
}

.sidenav h2 {
  font-size: 21px;
  margin: 0;
  padding: 0px 27px;
}

.items__line {
  background-color: black;
  margin: 10px 0px;
}

hr.item__line {
  margin: 10px 0px;
}

.sidenav__items a {
  text-decoration: none;
  color: black;
  font-size: 16px;
  padding: 0px 27px;
}

.sidenav__items p {
  font-size: 17px;
}

.item__subitem {
  display: none;
  transition: all 0.3s ease-out;
}

.item__subitem a {
  display: block;
  text-indent: 9px;
  font-size: 14.25px;
  margin: 9px 0px;
  transition: all 0.3s ease;
}

.item__subitem a:hover {
  font-size: 15.2px;
  color: #0045cb;
}

.item__subitem a:hover i {
  transform: rotate(180deg);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1560px) {
  .navigation nav.navz {
    padding-left: 21.6px;
    padding-right: 21.6px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .navigation nav.navz .navbarLeft__icon {
    width: 25%;
  }

  .navigation nav.navz .navbarLeft__text {
    font-size: 30px;
  }

  .navigation nav.navz .navbarRight__button {
    font-size: 24px !important;
    padding: 4px 8.8px;
  }

  .hamburger__nav a {
    font-size: 11.4px;
  }

  .sidenav {
    border-right: black solid 0.5px;
  }

  .items__line {
    height: 0.5px;
  }

  .sidenav h2 {
    font-size: 1.3em;
    padding: 0px 15px;
  }

  .sidenav__items p {
    font-size: 0.9rem;
  }

  .sidenav__items a {
    font-size: 0.9rem;
    padding: 0px 15px;
  }

  .item__subitem a {
    font-size: 11.4px;
  }

  .item__subitem a:hover {
    font-size: 12.96px;
  }
}

@media (max-width: 760px) {
  .subnavbar p {
    font-size: 16px;
  }

  .navigation nav.navz .navbar__extraImages img {
    display: none !important;
  }

  .navigation nav.navz .navbarLeft__icon {
    width: 25%;
  }
}

@media (max-width: 520px) {
  .navigation nav.navz .navbarLeft__icon {
    width: 25%;
  }

  .navigation nav.navz .navbarLeft__text {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .mobileHamburger {
    position: relative;
    z-index: 1;
  }
  .hamDropdown {
    position: relative;
    z-index: 1;
  }
}
