nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background-color: #07075C;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.nav-left,
.nav-right {
    display: flex;
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: end;
    flex-shrink: 0;
    margin-left: 40px;
}

.nav-right {
    justify-content: center;
    align-items: center;
    gap: 40px;
}

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

.nav-menu li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #2195F2;
}

.call-to-action-button {
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.call-to-action-button:hover {
    transform: translateY(-2px);
}

.call-to-action-button i {
    font-size: 1.2rem;
}

.open-menu {
  display: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 8px;
  width: 100%;
}

.open-menu .menu-logo {
  width: 120px;
  height: 60px;
}

.open-menu img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    justify-content: flex-end;
}

@media screen and (max-width: 1100px) {
    nav {
        padding: 1rem 2rem;
    }
    
    .nav-wrapper {
        flex-direction: column;
        gap: 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #f4f4f4;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease;
        padding: 100px 2rem 2rem;
        z-index: 1;
        overflow-y: auto;
    }

    .nav-wrapper.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.3s ease, visibility 0s linear 0s, transform 0.3s ease;
        background-color: #07075C;
    }

    .nav-left,
    .nav-center,
    .nav-right {
        width: 100%;
        justify-content: center;
        flex: none;
    }

    .nav-menu {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .nav-right {
        flex-direction: column;
        gap: 32px;
    }

    .open-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        width: 120; 
        height: 60;
    }

    .open-menu .menu-logo {
        order: 0;
    }

    .open-menu.open img:not(.menu-logo) {
        width: 24px;
        order: 1;
        transform: rotate(90deg);
    }

    .call-to-action-button {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .nav-menu li a {
        font-size: 0.9rem;
    }
}