.navbar {
    font-family: "Work Sans", sans-serif;
    display: flex;
    justify-content: space-between; /* This puts the Logo on the left and Links on the right */
    align-items: center;
    width: 100%;
    padding: 15px 30px;
    background: white;
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Bulletproof Desktop Logo */
.navbar-brand img {
    height: 60px !important;
    width: auto !important; 
    min-width: 140px !important; /* Safety net so the SVG doesn't vanish */
    display: block !important;
    margin: 0 !important;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-family: "Work Sans", sans-serif !important; /* Mobile font override */
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #FF6B35;
}

.nav-links a.active {
    color: #FF6B35;
    font-weight: 600;
}

/* The Orange Button */
.cont {
    background-color: #FF6B35;
    padding: 12px 24px;
    border-radius: 6px;
    color: white !important;
    font-weight: 600 !important;
    transition: opacity 0.2s ease;
}
.cont:hover {
    opacity: 0.9;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    font-family: inherit !important; /* Stops iOS from using system UI font */
}

/* Mobile View */
@media (max-width: 860px) {
    .navbar {
        padding: 15px 24px;
    }
    .menu-button {
        display: block;
    }
    .navbar-brand img {
        height: 38px !important;
        min-width: 110px !important;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 20px;
    }
    
    /* Matches both the CSS class and the JS toggle script */
    .nav-links.active,
    .nav-links.open {
        display: flex;
    }
    
    .cont {
        text-align: center;
        display: block;
    }
}