#nav-icon4 {
  width: 30px;
  height: 25px;
  position: relative;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
}

#nav-icon4 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

#nav-icon4 span:nth-child(1) {
  top: 0px;
}

#nav-icon4 span:nth-child(2) {
  top: 10px;
}

#nav-icon4 span:nth-child(3) {
  top: 20px;
}

#nav-icon4.open span:nth-child(1) {
  top: 11px;
  transform: rotate(135deg);
}

#nav-icon4.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon4.open span:nth-child(3) {
  top: 11px;
  transform: rotate(-135deg);
}

/* Mobile menu visibility fix */
@media (max-width: 991px) {
  .navbar-collapse {
    display: none !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .navbar-collapse.show {
    display: block !important;
  }
  
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
    margin: 5px 0;
  }
  
  .nav-link {
    color: #333 !important;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: block;
  }
  
  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: #f8f9fa;
    border: none;
    box-shadow: none;
    display: block;
  }
}