
/* Navbar Container */
.mainNav {
  background-color: #0D8BCD;
  padding: 0.7rem 1rem;
}


/* Menu list */
.custom-menu .nav-link {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
  padding: 10px 12px;
  border: 1px solid #ffffff33;
  border-radius: 6px;
  transition: 0.2s ease-in-out;
}

/* Hover State */
.custom-menu .nav-link:hover,
.custom-menu .nav-link:focus {
  background-color: #ffffff20;
  border-color: #fff;
}

/* Dropdown */
.dropdown-menu {
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.dropdown-item {
  color: #fff;
  padding: 10px 15px;
}

.dropdown-item:hover {
  background: #ffffff22;
  color: #fff;
}

/* Mobile improvements */
@media (max-width: 991px) {
  .custom-menu .nav-link {
    width: 100%;
    text-align: left;
  }
}

/* Main glass navbar */
.glass-nav {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.6rem 1rem;
}

/* Logo */
.mainNav .logo {
  height: 50px;
  max-height: 120px;
  height: auto;
  width: 200%;
  }

.logo{
	height: auto !important;
	max-width: 8em !important;
	margin-right: 3%;
}


.navbar-brand {
    align-self: center; /* brand won't force nav-link height */
	
    display: inline-block;
    padding-top: .0rem;
    padding-bottom: .0rem;
    margin-right: 0rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

/* Menu items */
.glass-menu .nav-link {
  color: #fff !important;
  padding: 5px 12px;     /* was 10px 14px */
  margin: 2px 0;         /* was 4px */
  line-height: 1.2;      /* reduces height even more */

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: 0.25s ease;
}

/* hover */
.glass-menu .nav-link:hover  {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Dropdown menu glass */
.glass-dropdown {
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Dropdown items */
.glass-dropdown .dropdown-item {
  color: #fff;
  padding: 10px 18px;
  transition: 0.2s ease;
}

.glass-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
}

/* Mobile */
@media (max-width: 991px) {
  .glass-menu .nav-link {
    width: 100%;
  }
}

/*FOR SCROLL*/
/* Normal state (glass) */
#mainNav .nav-link {
    color: #fff !important;
}

/* When scrolled */
#mainNav.navbar-scrolled .nav-link {
    color: #000 !important;  /* black text when scrolled */
}
#mainNav.navbar-scrolled .dropdown-item {
    color: #000 !important;
}

#mainNav.navbar-scrolled .dropdown-item:hover {
    background: rgba(0,0,0,0.1);
}
/* Default: white/light logo */
#mainNav .logo {
  filter: invert(1);
}

/* Scrolled: invert → dark */
#mainNav.navbar-scrolled .logo {
  filter: invert(0);
  
}

/*Navbar size*/
#mainNav .nav-item, 
#mainNav .nav-link {
  flex-shrink: 1 !important;
  font-size: 0.8rem;
}
/* Medium screens */
@media (max-width: 992px) {
  #mainNav .nav-link {
    font-size: 0.85rem;
  }
}

/* Small screens */
@media (max-width: 768px) {
  #mainNav .nav-link {
    font-size: 0.80rem;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  #mainNav .nav-link {
    font-size: 0.75rem;
  }
}
}.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    height: 3.5rem !important;
}

/*Dropdown toggle style*/
.navbar .navbar-toggler {
	position: fixed;
	float:right; 
	top: 0; /* Aligns the top edge with the container's top edge */
	right: 0; /* Aligns the right edge with the container's right edge */
    line-height: 1.1 !important;
	background-color: #212529 !important;
	border: 1px solid white;

	margin: 15px; /* Adds a 15px margin on all sides, pushing it inwards */

}