/* navbar.css */
:root {
  --nav-height: 4.9rem;
}

.spacer {
  height: var(--nav-height);
}

.sathee-logo {
  width: 3.4rem;
  height: auto;
}

.moe-logo {
  width: 6rem;
  height: auto;
}

/* Dropdown hover effect for desktop */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Mobile styles */
@media (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    border-top: 1px solid rgba(0,0,0,.1);
    box-shadow: 0px 0px 3px silver ;
    
  }
  
  .dropdown-menu {
    border: none;
    padding-left: 1rem;
  }
  
  .logos-main-sec {
    width: 100%;
  }
  
  .sathee-logo {
    width: 2.8rem;
  }
  
  .moe-logo {
    width: 5.4rem;
  }
  .navbar-expand-lg div {
    display: block;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    height: auto !important;
    transition: margin 0.3s ease;
  }
  
  .navbar-expand-lg div div.d-flex {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }
}

.navbar-collapse ul {
  margin-top: auto !important;
}

/* Small screens */
@media (max-width: 576px) {
  /* :root {
    --nav-height: 7.6rem;
  } */
  .mainwrap {
    flex-wrap: wrap;
  }
}

/* Custom styles for navbar toggler icon */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: background-image 0.3s ease-in-out;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
}

/* Optional: Remove the default border from toggler button */
.navbar-toggler:focus {
  box-shadow: none !important;
  border: none !important;
}
.navbar-toggler {
  border: none !important;
}

nav.navbar {
  box-shadow: 0px 0px 3px silver ;
}