/* Notification Bar Styling */
/* Notification Bar Styling */
#notificationBar {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    padding: 35px;
    background-color: #f44336; /* Red background color */
    color: white; /* White text color */
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, top 0.3s ease;
    padding-right: 40px; /* Add space for close button */
}

/* Show notification with animation */
#notificationBar.show {
    visibility: visible;
    opacity: 1;
    top:80px;
}

/* Close Button Styling */
#notificationBar .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    cursor: pointer;
    padding:3px;
    border:1px solid;
    border-radius:5px;
    margin:5px;
}



.notification-bar p {
    margin: 0;
    flex-grow: 1;
}

.notification-bar button {
    background: none;
    border: none;
    color: #721c24;
    font-size: 16px;
    cursor: pointer;
}






/* Navigation Container */
.nav {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 5px 15px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 20px;
    transition: color 0.3s, border-bottom 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: #007BFF; /* Link color on hover */
}

.nav-menu a::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: #007BFF; /* Underline color */
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%; /* Underline expands on hover */
}

