.navbar {
  padding: 4% 5%;
}

.navbar-brand img{
  width: 130px;
  margin-bottom: -62px;
}

.nav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #15253d !important;
  padding-top: 0px !important; 
}

.nav-item a:hover {
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #15253d;
}

.navbar-nav .active::after {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  content: " ";
  border-bottom: 2px solid #15253d;
}
.navbar-nav > li {
  float: left;
  position: relative;
}
.nav-item {
  margin: 10px 10px;
}

@media (min-width: 320px) and (max-width: 480px) {
  .navbar-nav .active::after {
    border-bottom: none;
  }

  .nav-item a{
    padding-top: 0px !important;
  }
}




/* Keep your existing navbar scroll background */
.navbar {
    padding: 3% 5%;
    transition: background 0.3s ease;
}

/* Logo separate white box */
.navbar-brand {
    position: absolute;
    top: 0;
    left: 0;
    width: 225px !important;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    
    z-index: 9999;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Logo box becomes white on scroll */
.navbar.scrolled .navbar-brand img#logo {
    background: #f8f9fa;
    /* box-shadow: 0 3px 8px rgba(0,0,0,0.12); */
}

/* Logo image */
.navbar-brand img {
         width: 145px;
    height: auto;
    margin-bottom: -65px;
    padding: 10px;

}

/* Mobile */
@media (max-width: 767px) {
    .navbar-brand {
   
    width: 145px !important;
    }

    .navbar-brand img {
        width: 100px;
          height: 110px;
    }

    .navbar {
    padding: 5% 5%;
    transition: background 0.3s ease;
}

.navbar-brand img {
    width: 140px;
    height: auto;
    margin-bottom: 0px;
    padding: 10px;
    background: #f8f9fa !important;
}
div#navbarSupportedContent {
    padding-top: 55px;
}

}


