/* ===== General Navbar Styling ===== */

/* Limit the size of images and links inside the navbar */
.navbar img,
.navbar a {
    max-height: 50px;
}

/* Standard navbar link styling */
.navbar a.nav-link {
    color: white !important;
    /* White text */
    text-decoration: none;
    /* Remove underline */
}

/* Active/Current Page Link - Bold and Underlined */
.navbar .nav-item .nav-link.active,
.navbar .nav-item .nav-link[aria-current="page"] {
    color: white !important;
    /* Keep text white */
    font-weight: bold !important;
    /* Bold text */
    text-decoration: underline !important;
    /* Underline */
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown menu styles */
.navbar .dropdown-menu {
    display: none;
    position: absolute;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown item styling */
.navbar .dropdown-item {
    color: #f1f1f1;
    /* Light text */
}

/* Dropdown item hover effect */
.navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Light background */
    color: #ffffff;
    /* Maintain white text */
}

/* Dropdown toggle text and caret color */
.navbar .dropdown-toggle,
.navbar .dropdown-toggle::after {
    color: #f1f1f1;
    /* Light text and caret */
}

/* Ensure active dropdown item is also bold and underlined */
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    font-weight: bold !important;
    text-decoration: underline !important;
    background-color: transparent !important;
}

/* ===== Logo Containers ===== */

/* General logo container settings */
.nav-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    /* Match navbar height */
    padding: 5px;
}

.nav-home-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgba(149, 162, 167, 0.5);
    /* Semi-transparent background */
    border-radius: 10px;
    /* Optional: Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    /* Depth effect */
    margin: 0 auto;
}

/* Logo image settings */
.nav-logo-container img {
    max-height: 50px;
    /* Keep logo within navbar */
    width: auto;
}

/* Navbar Logo */
.nav-logo {
    display: block;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .logo-container {
        margin: 0 auto;
        text-align: center;
    }

    .reading-section {
        margin: 10px 20px;
    }

    .col-md-8 {
        width: 100%;
    }

    .col-md-2 {
        display: none;
    }
}