﻿/* General Navbar Styling */
.navbar-custom {
    background-color: #003366;
    height: 70px;
    line-height: 70px;
    overflow: visible; /* Allow dropdowns to extend beyond navbar bounds */
}

    /* Navbar Brand and Link Colors */
    .navbar-custom .navbar-brand,
    .navbar-custom .nav-link {
        color: #f0f8ff;
    }

        .navbar-custom .navbar-brand:hover,
        .navbar-custom .nav-link:hover {
            color: #a9c4e2;
        }

    /* Dropdown Menu Styling */
    .navbar-custom .dropdown-menu {
        background-color: #005082;
        border: none;
        border-radius: 8px;
        z-index: 1050; /* Ensure dropdowns appear above other elements */
    }

    .navbar-custom .dropdown-item {
        color: #f0f8ff;
        padding: 10px 20px;
    }

        .navbar-custom .dropdown-item:hover {
            background-color: #006699;
            color: #ffffff;
            border-radius: 5px;
        }

    /* Navbar Brand (Logo and Text) */
    .navbar-custom .navbar-brand {
        display: flex;
        align-items: center; /* Align the logo and text vertically */
    }

        .navbar-custom .navbar-brand img {
            height: 50px; /* Adjust logo height */
            max-height: 100%; /* Prevent overflow */
            margin: 0; /* Remove unnecessary margins */
            vertical-align: middle;
        }

    /* Navbar Links Alignment */
    .navbar-custom .nav-link {
        padding-top: 0;
        padding-bottom: 0;
        line-height: 70px; /* Matches navbar height */
    }
