.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between logo and nav-right section */
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 40px;
    max-height: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px; 
}

.nav-right ul {
    list-style: none;
    display: flex;
    gap: 20px; 
    margin: 0;
    padding: 0;
}

.nav-right ul li {
    display: inline;
}

.nav-right ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.nav-right ul li a:hover {
    color: black;
}


.nav-cta {
    margin-left: 20px; 
}

.cta-button-nav {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: transparent;
    color: black;
    text-decoration: none;
    border: 2px solid black; 
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s; 
    margin-right: 30px;
}

.cta-button-nav:hover {
    background-color: black;
    color: white;
}


.menu-toggle {
    display: none; 
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.menu-toggle div {
    width: 100%;
    height: 3px;
    background: white;
    transition: all 0.3s;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-right {
        display: none; 
        flex-direction: column;
        align-items: flex-end; 
        background: rgba(0, 0, 0, 0.9); 
        position: absolute;
        top: 60px; 
        right: 20px;
        padding: 10px;
        border-radius: 5px;
    }

    .nav-right ul {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }

    .menu-toggle {
        display: flex; 
        margin-right: 30px;
    }

    .nav-right.active {
        display: flex; 
        margin-right: 20px;
        align-items: baseline;
    }
}
