.navbar {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,255,255,0.2);
}
.navbar-brand {
  color: #00ffff !important;
  font-weight: 600;
}
.brand-logo {
  height: 28px;
}
.nav-link {
  color: #9fb3c8 !important;
  transition: 0.3s;
}
.nav-link:hover {
  color: #00ffff !important;
}


.nav-link.active {
  color: #00ffff !important;
  font-weight: 600;
  position: relative;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff66;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: #00ffff;
  box-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff99;
  border-radius: 2px;
}
.active-footer {
  color: #00ffff !important;
  font-weight: 600;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff55;
  transition: 0.3s ease;
}
.navbar .dropdown-menu {
  min-width: 180px;
  font-size: 0.9rem;
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(0, 255, 255, 0.1);
}

.navbar .dropdown-toggle::after {
  display: none;
}


.navbar .dropdown-menu {
  background-color: #0d1b2a !important;
  border: 1px solid #1b3a57 !important;
}

.navbar .dropdown-item {
  color: #dbe4ee !important;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background-color: #153555 !important;
  color: #00ffff !important;
}

/* Submenu Style */
.dropdown-submenu .submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: .1rem;
  border-radius: 0.25rem;
}

.dropdown-submenu:hover .submenu {
  display: block;
}

.dropdown-menu .dropdown-item {
  color: #ccc !important;
  transition: 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #153555 !important;
  color: #00ffff !important;
}

.dropdown-submenu > .dropdown-toggle::after {
  content: "›";
  float: right;
  margin-left: .5rem;
}


/* Submenu Style */
.dropdown-submenu .submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: .1rem;
  border-radius: 0.25rem;
}

.dropdown-submenu:hover .submenu {
  display: block;
}

.dropdown-menu .dropdown-item {
  color: #ccc !important;
  transition: 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #153555 !important;
  color: #00ffff !important;
}

.dropdown-submenu > .dropdown-toggle::after {
  content: "›";
  float: right;
  margin-left: .5rem;
}

.dropdown-submenu a:active .dropdown-item.active {
    background-color: #153555 !important;
    color: #00ffff !important;
}



/* ==============================
   HEADER RESPONSIVE
============================== */

/* Tablet and Mobile */
@media (max-width: 1199.98px) {

    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .brand-logo {
        height: 26px;
        width: 26px;
        object-fit: cover;
    }

    /* Navbar Toggler */
    .navbar-toggler {
        border: 1px solid rgba(0, 255, 255, 0.5);
        padding: 5px 9px;
        box-shadow: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.2) !important;
    }

    /* Collapsed Menu */
    .navbar-collapse {
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        margin-top: 12px;
        padding: 10px 0;
        border-top: 1px solid rgba(0, 255, 255, 0.15);
    }

    .navbar-nav {
        width: 100%;
        gap: 2px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        padding: 10px 12px;
        border-radius: 5px;
    }

    /* Remove Desktop Active Underline */
    .navbar .nav-link.active::after {
        display: none;
    }

    .navbar .nav-link.active {
        background: rgba(0, 255, 255, 0.08);
    }

    /* Dropdown Menu */
    .navbar .dropdown-menu {
        position: static !important;
        width: 100%;
        min-width: 100%;
        margin: 0;
        padding: 5px 10px;
        border: none !important;
        background: rgba(13, 27, 42, 0.95) !important;
        box-shadow: none;
    }

    .navbar .dropdown-item {
        padding: 9px 12px;
        white-space: normal;
    }

    .navbar .dropdown-divider {
        margin: 4px 0;
    }

    /* Account Dropdown */
    .navbar .dropdown-menu-end {
        right: auto;
        left: 0;
    }
}


/* Small Mobile */
@media (max-width: 575.98px) {

    .navbar-brand {
        font-size: 16px;
    }

    .brand-logo {
        height: 24px;
        width: 24px;
    }

    .navbar-toggler {
        padding: 4px 8px;
    }

    .navbar-collapse {
        max-height: calc(100vh - 60px);
    }
}
