nav {
    background-color: #282828;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 1000;
}


.left-section {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.logo img {
    height: 40px;
}

.mini-logo {
    display: none;
}

.desktop-menu {
    display: flex;
    align-items: center;
}

.desktop-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.desktop-menu li {
    position: relative;
}

.desktop-menu a {
    text-decoration: none;
    color: #cdcdcd;
    padding: 10px 15px;
    display: block;
    position: relative;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
    left: 0;
}

.desktop-menu .dropdown-content {
    display: none;
    position: absolute;
    background-color: #191919;
    border-radius: 25px;
    width: 200px;
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.desktop-menu .dropdown:hover .dropdown-content {
    display: block;
}

.cta-buttons {
    display: flex;
}

.cta-prestame {
    border: none;
    background-color: #cdcdcd;
    color: #121212;
    padding: 15px 20px;
    border-radius: 50px;
    font-family: Poppins;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    width: 300px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.cta-prestame:hover {
    border: none;
    background-color: #121212;
    color: #cdcdcd;
    padding: 15px 20px;
    border-radius: 50px;
    margin-left: 10px;
    width: 300px;
    cursor: pointer;
}

.cta-prestar {
    border: none;
    background-color: #191919;
    color: #cdcdcd;
    padding: 15px 20px;
    border-radius: 50px;
    width: 300px;
    font-size: 18px;
    font-family: Poppins;
    font-weight: 700;
    margin-left: 10px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
}

.cta-prestar:hover {
    border: none;
    background-color: #121212;
    color: #cdcdcd;
    padding: 15px 20px;
    width: 300px;
    border-radius: 50px;
    margin-left: 10px;
    cursor: pointer;
}


.cta-prestar-grey {
    border: none;
    background-color: #333;
    color: #cdcdcd;
    padding: 15px 20px;
    border-radius: 50px;
    width: 300px;
    font-size: 18px;
    font-family: Poppins;
    font-weight: 700;
    margin-left: 10px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
}

.cta-prestar-grey:hover {
    border: none;
    background-color: #191919;
    color: #cdcdcd;
    padding: 15px 20px;
    width: 300px;
    border-radius: 50px;
    margin-left: 10px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .left-section {
        width: 100%;
        justify-content: space-between;
    }

    .desktop-menu {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        padding: 10px 0;
    }

    .cta {
        margin: 5px 0;
    }

    .mobile-nav {
        display: block;
        width: 100%;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        font-size: 24px;
        align-self: flex-end;
        margin-left: 80px;
    }

    .hamburger.active {
        padding-bottom: 150px;
    }
    

    .hamburger span {
        background-color: #cdcdcd;
        height: 3px;
        width: 25px;
        margin: 4px 0;
    }

    .hamburger .close-icon {
        display: none;
        font-size: 24px;
        color: #cdcdcd;
    }

    .hamburger.active .close-icon {
        display: block;
    }

    .hamburger.active span {
        display: none;
    }

    .logo .full-logo {
        display: none;
    }

    .logo .mini-logo {
        display: block;
    }

    .menu {
        display: none;
        width: 100%;
    }

    .menu.active {
        display: block;
    }

    .menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        flex-direction: column;
        width: 100%;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        text-decoration: none;
        color: #cdcdcd;
        padding: 10px 20px;
        display: block;
        position: relative;
    }

    .menu a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: white;
        transition: all 0.3s ease;
    }

    .menu a:hover::after {
        width: 100%;
        left: 0;
    }

    .menu .dropdown-content {
        display: none;
        background-color: #191919;
        border-radius: 25px;
        width: 100%;
    }

    .menu .dropdown-content a {
        padding: 10px 30px;
    }

    .menu .dropdown.active .dropdown-content {
        display: block;
    }
}



