.glass-navbar {
    background: rgba(15, 23, 42, 0.7) !important; /* Darker glass */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 10px;
    transition: all 0.3s ease;
}

.glass-navbar.scrolled {
    background: rgba(15, 23, 42, 0.9) !important;
}

/* Logo Effects */
.glow-on-hover:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transition: filter 0.3s ease;
}

/* Navigation Links */
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 10px;
    font-weight: 500;
    position: relative;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.glass-dropdown {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 10px !important;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgb(0 0 0 / 50%);
    color: white;
}

/* Search Bar */
.glass-search-container {
    margin-left: 20px;
}

.glass-search {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-search-input {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: none !important;
    padding: 10px 15px;
    min-width: 250px;
}

.glass-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.glass-search-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: white !important;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.glass-search-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Mobile Toggle Button */
.glass-toggle {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px;
    padding: 8px 12px;
}

.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%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .glass-search-container {

        margin-left: 0;
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
    }

    .glass-search {
        width: 100%;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .nav-item {
        margin-bottom: 5px;
    }
    .glass-toggle {
        outline: none !important;
    }
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        margin: 0 !important;
    }
    .glass-search-container {
        flex:none;
    }
}
