/* Navigation */
nav {
    background-color: #f8f9fa; /* Light gray background */
    padding: 10px 0;
}

nav ul {
    list-style-type: none; /* Remove bullets */
    padding: 0;
    text-align: center; /* Center the items */
}

nav ul li {
    display: inline; /* Display the items in one line */
    margin: 0 10px; /* Add some margin between the items */
}

nav ul li a {
    text-decoration: none; /* Remove underline */
    color: #343a40; /* Dark gray color */
    font-weight: bold;
}

nav ul li a:hover {
    color: #007bff; /* Change color to blue when hovered */
}

/* Banner */
.banner {
    background-image: url("../img/elearning.2b03c2fe8336.webp"); /* Replace with the actual image URL */
    background-size: cover; /* Cover the div with the image */
    background-repeat: no-repeat;
    background-position: center; /* Center the image */
    height: 500px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Add some padding for spacing */
    color: #fff; /* White text for better visibility */
    position: relative;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark semi-transparent overlay */
    z-index: 1; /* Overlay above the background image */
}

.banner h1, .banner p {
    position: relative;
    z-index: 2; /* Above the overlay */
}

.banner h1 {
    font-size: 2.5rem; /* Adjust font size for the header */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
    margin-bottom: 20px; /* Spacing between header and paragraph */
    text-align: center; /* Center the heading */
}

.banner p {
    font-size: 1.2rem; /* Adjust font size for the paragraph */
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
    max-width: 80%; /* Limiting the width for better layout */
    margin: 0 auto; /* Center horizontally */
}
