/* General Navbar Styling */
.navbar-container {
    background-color: #000000; /* Black background */
    padding: 1rem 0;
    border-bottom: 1px solid #444; /* Optional subtle border for separation */
    position: relative;
}

.navbar-logo img {
    max-height: 40px; /* Keep logo height consistent */
    display: block;
}

.navbar-menu {
    display: none; /* Hidden by default */
}

.navbar-menu.open {
    display: flex; /* Display as flexbox when open */
    flex-direction: column;
    background-color: #000;
    padding: 1rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}


.navbar-toggler:hover .hamburger {
    background-color: #379EFF; /* Blue on hover */
}

/* Hamburger Menu Button Styling */
.navbar-toggler {
    display: none; /* Hide by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10; /* Ensure it's above the menu */
}

/* Hamburger Lines */
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff; /* White lines */
    margin: 5px 0; /* Spacing between lines */
    transition: all 0.3s ease;
}

/* Change Color on Hover */
.navbar-toggler:hover .hamburger-line {
    background-color: #379EFF; /* Blue hover effect */
}

/* Transform Lines When Menu is Open (Optional for Animations) */
.navbar-menu.open + .navbar-toggler .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-menu.open + .navbar-toggler .hamburger-line:nth-child(2) {
    opacity: 0; /* Hide the middle line */
}

.navbar-menu.open + .navbar-toggler .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}




.navbar-menu .nav {
    list-style: none; /* Remove default list styling */
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-menu .nav-item {
    position: relative;
}

.navbar-menu .nav-link {
    color: #ffffff; /* White text */
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-menu .nav-link:hover,
.navbar-menu .nav-link.active {
    color: #379EFF; /* Highlighted blue color */
}

.navbar-menu .btn-primary {
    background-color: #379EFF; /* Blue button background */
    color: #ffffff;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.navbar-menu .btn-primary:hover {
    background-color: #1e87d3; /* Darker blue on hover */
}

/* Show Hamburger Button on Smaller Screens */
@media (max-width: 999px) {
    .navbar-toggler {
        display: block; /* Show on screens smaller than 768px */
    }

    /* Hide Desktop Menu */
    .navbar-menu {
        display: none; /* Hidden by default on smaller screens */
    }

    /* Show Menu When Open */
    .navbar-menu.open {
        display: flex; /* Flexbox for mobile menu layout */
        flex-direction: column; /* Stack menu items vertically */
        background-color: #000000; /* Black background */
        padding: 1rem;
        width: 100%; /* Full width */
        position: absolute;
        top: 100%; /* Below the navbar */
        left: 0;
        z-index: 9;
    }
}

/* Desktop Menu Styling (Show on Larger Screens) */
@media (min-width: 1000px) {
    .navbar-menu {
        display: flex; /* Flexbox layout for desktop menu */
    }
}

