
/* -------------------- Navigation Bar Styles -------------------- */

.main-nav {
    background-color: #000000; /* Dark background */
    color: #fff; /* White text */
    padding: 1rem 2rem; /* Vertical and horizontal padding */
    display: flex; /* Use Flexbox for layout */
    justify-content: space-between; /* Space out brand and nav list */
    align-items: center; /* Vertically align items */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    position: sticky; /* Makes the nav stick to the top */
    top: 0; /* Sticks to the top of the viewport */
    z-index: 1000; /* Ensures nav is above other content */
}


.nav-list {
    list-style: none; /* Remove bullet points */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    display: flex; /* Make list items display in a row */
}

.nav-list li {
    margin-left: 2rem; /* Space between nav items */
}

.nav-link {
    color: #fff; /* White color for links */
    text-decoration: none; /* Remove underline */
    font-size: 1.1rem; /* Font size for links */
    padding: 0.5rem 0; /* Padding for click area */
    position: relative; /* Needed for hover effect */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

.nav-link:hover {
    color: #8499a2; /* Lighter blue on hover */
}

/* Modern Underline Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #d8f8fc; /* Underline color */
    left: 50%; /* Start from center */
    bottom: 0;
    transform: translateX(-50%); /* Center the underline */
    transition: width 0.3s ease; /* Smooth width transition */
}

.nav-link:hover::after {
    width: 100%; /* Expand to full width on hover */
}




