#navbar {
  height: 10vh;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Customize the shadow as needed */
  font-family: 'Roboto', sans-serif;
  padding: 2vh;
}

.navbar .navWrap {
  height: 100%;
  max-width: 100% !important;
  padding: 0px 4vw;
}

#brandLogo {
  width: 12vw;
}

#navbarNav {
  justify-content: flex-end;
}

#nav-item-container {
  width: 48%;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  position: relative;
}

.navbar-nav .nav-item .nav-link{
  color: blue;
  font-size: 1.2vw;
  font-weight: 500; /* You can adjust the weight (300, 400, 500, 700) */
}

.nav-item .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: blue; /* Change this to the color you want */
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
  opacity: 0;
}

.nav-item:hover .nav-link::after {
  width: 80%;
  opacity: 0.7;
}

/* Style for the "Contact" nav link */
.navbar-nav .nav-item .contact-link {
  color: white; /* White text color */
  background-color: orange; /* Orange background color */
  border-radius: 2vw; /* Rounded corners */
  padding: 0.5vw 1vw; /* Add padding for better appearance */
  text-decoration: none;
  font-size: 1.2vw;
}

/* On hover, you can add additional styles for interaction */
.navbar-nav .nav-item .contact-link:hover {
  background-color: darkorange; /* Darker orange on hover */
  color: black;
  transition: background-color 0.3s ease-in-out; /* Smooth transition */
}

.navbar-light .navbar-toggler-icon {
  background-image: none;
}

#toggler-icon{
  padding: 5px 0;;
}

@media (max-width: 767px) {
  #navbar {
    height: 9vh;
    padding: 2vh 0;
    width: 100vw;
  }
  
  #brandLogo {
    width: 33vw;
    height: 5vh;
  }

  .navbar .navbar-collapse {
    position: fixed; /* Fixed position to span the entire screen width */
    top: 9vh; /* Adjust this value based on your navbar's height */
    left: 0;
    right: 0;
    background-color: gainsboro; /* Background color for the expanded menu */
    z-index: 1000; /* Ensure it's above other content */
    padding-right: 15px; /* Add some right padding to account for scrollbar */
    padding-left: 15px; /* Add some left padding to account for scrollbar */
    overflow-y: auto; /* Enable vertical scrolling if necessary */
    max-height: calc(100vh - 56px); /* Limit the max height to the screen height minus the navbar height */
    width: 100vw;
  }

  #nav-item-container {
    width: 100%;
    align-items: center;
    padding: 5vw 5vw 10vw;
  }

  .navbar-nav .nav-item .nav-link{
    font-size: 4vw;
    margin-bottom: 2vw;
  }

  .navbar-nav .nav-item .contact-link {
    width: 25vw;
    text-align: center;
    margin-bottom: 10vw;
    font-size: 4vw;
    padding: 1.5vw 2vw;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }
}