#NavigationBar {
  font-family: 'Arial', sans-serif;
  position: relative;
  display: flex;
  max-width: 100%;
  min-width: 80%;
  justify-content: center;
  align-items: center;
  gap: 8vw;
  margin-top: 20px;
}
/* #region Products Front Pages */
.fibre-optics #NavigationBar,
.rf #NavigationBar,
.rectifier #NavigationBar,
.power #NavigationBar,
.aero-and-defence #NavigationBar,
.mining #NavigationBar,
.security-solutions #NavigationBar {
  font-family: 'Arial', sans-serif;
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8vw;
  padding: 20px 0 40px 0;
  margin-top: 0;
  background-color: white; /* Optional: to make navbar visible */
}

/* #endregion */

/* #region Logo */
.logo img{
  width: 25vw;
  max-width: 350px;
  height: auto;
}
/* #endregion */

/* #region Hamburger (Mobile Menu) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.hamburger-div {
  position: relative;
}
.hamburger .line {
  width: 60px;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.7);
}
/* #endregion */

/* #region Navbar style */
ul {
  list-style: none; /* Removes bulletpoints */
  margin: 0;
  padding: 0;
}

.mainButtons button .icon {
  width: 20px; /* Adjust the icon size as needed */
  height: 20px; /* Adjust the icon size as needed */
  object-fit: cover;
  margin-right: 10px;
}

.mainButtons {
  position: relative;
  display: flex;
  align-content: center;
  gap: 3vw;
  border-radius: 20px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
  padding: 4px;
}

/* ul within mainButtons are the dropdown list */
.mainButtons ul {
  display: none;
  position: absolute;
  background-color: white;
  z-index: 5;
}
/* li within mainButtons is the list items of the dropdown menus */
.mainButtons li {
  position: block;
}

.mainButtons button:hover {
  color: rgb(237, 85, 35);
}

/* button under mainButtons are all the buttons including the dropdown buttons (li) */
.mainButtons button {
  background-color: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: clamp(14px, 1.5vw,22px);
  color: rgb(60, 75, 135);
}

.productDropdownContent button,
.servicesDropdownContent button,
.industriesDropdownContent button {
  min-width: 100%;
  font-size: clamp(10px, 1.5vw,18px);
  border-bottom: 1px solid black;
}

.productButton:hover .productDropdownContent,
.servicesButton:hover .servicesDropdownContent,
.industriesButton:hover .industriesDropdownContent {
  display: block;
}

#contactUsButton {
  color: rgb(237, 85, 35, 0.8);
  transition: transform 0.3s ease-in-out;
}

#contactUsButton:hover {
  transform: scale(1.1);
  color: rgba(133, 171, 216);
}

html {
  scroll-behavior: smooth;
}
/* #endregion */

/* #region Mobile Screen style */
@media screen and (max-width: 1025px) {
  .mainButtons {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    gap: 1%;
    top: 100%;
    left: 0;
    background-color: white;
    z-index: 10;
    width: fit-content;
    text-wrap: nowrap;
  }

  .mainButtons button {
    font-size: 45px;
  }

  .hamburger {
    display: flex;
    z-index: 10;
  }

  .mainButtons.menuOpen {
    display: flex;
  }

  .logo img{
    width: fit-content;
  }


  .mainButtons ul {
    display: none !important; 
  }

}
/* #endregion */