body {
    padding-top: 110px;
}

/* Navbar */
.navbar {
    background-color: var(--primary-blue);
    height: 110px;
    /* Increased height */
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    z-index: 100;
}

.navbar.scrolled {
    background-color: rgba(13, 66, 145, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 35px;
    /* Adjust based on actual logo size */
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
    /* Removed gap to use padding for separators */
    align-items: center;
}

.nav-links li {
    padding: 0 35px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    line-height: 1;
    /* Ensure border height matches text roughly */
}

.nav-links li:first-child {
    padding-left: 0;
}

.nav-links li:last-child {
    border-right: none;
    padding-right: 0;
}

.nav-links li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.02em;
    /* -2% */
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #1E7DFF;
    font-weight: 500;
    /* Make active/hover slightly bolder */
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 101;
    /* Above nav-links */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .hamburger-menu {
        display: block;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        /* Start from top */
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        height: 100vh;
        /* Full height */
        text-align: center;
        transition: 0.3s;
        padding-top: 110px;
        /* Space for navbar height */
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 99;
        /* Below hamburger */
        justify-content: flex-start;
        /* Align items to top */
        gap: 30px;
        /* Space between links */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 0;
        border: none;
    }

    .nav-links li a {
        font-size: 24px;
        font-weight: 600;
    }
}