header {
    background: #fff;
    color: #1e3a8a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}
.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 50px;
}
.logo img {
    width: 120px;
    height: auto;
    display: block;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    margin-left: auto;
    padding: 0;
    align-items: center;
}
.nav-links li a {
    color: rgb(61,57,57);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.nav-links li a:hover {
    border-bottom: 2px solid #1e3a8a;
    color:#1e3a8a;

}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 15px !important;
        flex-direction: row !important; /* Keeps logo and nav on the same line */
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        width: 85px; /* Slightly smaller logo so links fit comfortably */
    }

    .nav-links {
        margin-left: auto !important;
        gap: 10px; /* Reduces space between links */
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-links li a {
        font-size: 13px; /* Slightly smaller font for mobile */
    }
}

