/* Menú para móvil */
#dropdownMenuMobile {
    position: fixed;
    left: -80%; /* Menú oculto fuera de la pantalla */
    top: 0;
    background-color: rgb(39 82 90);
    z-index: 9999999;
    width: 80%; /* Toma más espacio en móvil */
    height: 100%;
    opacity: 0;
    transition: left 0.5s ease, opacity 0.5s ease;
}

#dropdownMenuMobile img {
    width: 40%;
    margin: 50px 30% 0px 30%;
    text-align: center;
}

#dropdownMenuMobile h5 {
    margin: 0 10%;
    color: #05304F;
}

#dropdownMenuMobile.visible {
    left: 0; /* Menú visible en móvil */
    opacity: 1;
}

/* Estilos compartidos */
#dropdownMenuMobile ul{
    list-style-type: none;
    padding: 20px;
	margin: 0 auto;
}


#dropdownMenuMobile li {
    padding: 10px;
    width: 100%;
}

#dropdownMenuMobile li a {
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 5px;
    border-radius: 5px;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
	width: 100%;
}

#dropdownMenuMobile li a:hover {
    background-color: #1a3c43;
    color: #ffffff;
}







.menu-btn {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
	float:right;
}

.menu-btn__burger {
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    border-radius: 5px;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-btn__burger::before {
    top: -10px;
}

.menu-btn__burger::after {
    top: 10px;
}

.menu-btn.open .menu-btn__burger {
    transform: translateY(-50%) rotate(45deg);
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(90deg);
    top: 0;
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(90deg);
    top: 0;
}






/* --- Media Queries --- */
@media only screen and (max-width: 1440px) {
	#new_slider .slide-text {
    	width: 35vw;
	}
}	

@media only screen and (max-width: 768px) {
    #dropdownMenu {
        width: 80%;
        left: -80%; 
    }
    #dropdownMenu.visible {
        left: 0;
    }
    #dropdownMenu li a {
        width: 100%;
        margin: 0%;
        text-align: center;
        padding: 10px 0;
        font-size: 14px;
    }
    #dropdownMenu li {
        padding: 0px;
        margin: 10px 0;
        width: 100%;
    }
	#dropdownMenu ul {
		margin: 5%;
	}	
	header#masthead .elementor-hidden-desktop{
		display: flex;
		flex-wrap: nowrap;
	}	
}
