*{
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'MuseoModerno', cursive;
    
   
}

body{
    background: linear-gradient(to bottom, #03588C, #04C4D9, #69cad4);
    
}



/* Navbar*/


.header {
    box-sizing: border-box;
    background-color: #03588C;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
    padding: 5px 5%;
    position: relative;
    overflow: hidden; /* Prevents content from overflowing */
}

.header .logo {
    cursor: pointer;
}

.header .logo img {
    height: 75px;
    width: auto;
    transition: all 0.3s;
}

.header .logo img:hover {
    transform: scale(1.2);
}

.header nav {
    position: relative;
    display: flex;
    align-items: center;
}

/* Adjust position of the nav toggle button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    left: 0; /* Move button to the far left */
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle .hamburger {
    width: 30px;
    height: 3px;
    background: #eceff1;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    width: 30px;
    height: 3px;
    background: #eceff1;
    position: absolute;
    left: -50px;
    transition: all 0.3s ease;
}

.nav-toggle .hamburger::before {
    top: -8px;
}

.nav-toggle .hamburger::after {
    top: 8px;
}

/* Menu styles */
.header .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.header .nav-links li {
    padding: 0 20px;
}

.header .nav-links a {
    font-weight: 700;
    color: #eceff1;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.header .nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #F2B705;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.header .nav-links a:hover::before {
    visibility: visible;
    width: 100%;
}

.header .nav-links a:hover {
    color: #F2B705;
    transform: scale(1.1);
}

/* Responsive menu */
@media (max-width: 768px) {
    .header .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #03588C;
        position: fixed;
        top: 95px; /* Positioned below the header */
        left: -10px;
        padding: 20px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto; /* Allows scrolling if content overflows */
    }

    .header .nav-links.active {
        display: flex;
    }

    .header .nav-links li {
        padding: 10px 0;
        text-align: center;
    }

    .header .nav-links a {
        font-size: 18px;
    }

    .nav-toggle {
        display: block;
    }
}

/* section1*/
#section1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    font-size: 20px; 
    padding-left: 5.0em;
    padding-right: 5.0em; 
    
    
}

#section1 h1#titulo1{
    text-align: center;
    font-size: 40px;
    color: #F2F2F2;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}


#section1 .text1 {
    flex: 1;
    padding-right: 20px;
    color: #F2F2F2;
    
}

.image1 img {
    max-width: 100%;
    width: 100%;
}

.text1  {
    color: white;
}

#section1 .image {
    flex: 2;
}

#section1 .image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1200px) {
    #section1 {
        padding-left: 3.0em;
        padding-right: 3.0em;
    }

    #section1 h1#titulo1 {
        font-size: 36px;
    }

    #section1 .text1 {
        padding-right: 15px;
    }
}

@media (max-width: 992px) {
    #section1 {
        flex-direction: column;
        padding-left: 2.0em;
        padding-right: 2.0em;
    }

    #section1 h1#titulo1 {
        font-size: 32px;
    }

    #section1 .text1 {
        padding-right: 0;
        margin-bottom: 20px;
    }

    #section1 .image {
        order: -1; /* Para que la imagen esté arriba en pantallas más pequeñas */
    }
}

@media (max-width: 768px) {
    #section1 {
        padding: 15px;
        font-size: 18px;
    }

    #section1 h1#titulo1 {
        font-size: 28px;
    }

    #section1 .text1 {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    #section1 {
        padding: 10px;
        font-size: 16px;
    }

    #section1 h1#titulo1 {
        font-size: 24px;
    }

    #section1 .text1 {
        padding-right: 0;
        margin-bottom: 15px;
    }

    #section1 .image1 {
        padding-left: 25px;
        
    }

    #section1 .image img {
        max-width: 100%;
        height: auto;
    }
}

/* Botón flotante */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #F27405;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-btn:hover {
    background-color: #f7de00;
    
}

.navbar.scrolled + .floating-btn {
    opacity: 1;
}

/* Responsive*/

@media (max-width: 1200px) {
    .floating-btn {
        width: 60px;
        height: 60px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 992px) {
    .floating-btn {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .floating-btn {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .floating-btn {
        width: 40px;
        height: 40px;
        bottom: 5px;
        right: 5px;
    }
}


/*Pie de Pagina*/
.pie-pagina{
    width: 100%;
    background-color: #03588C;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}

.pie-pagina .box {
     /* Opcional: para centrar el contenido */
    padding-top: 20px; /* Ajusta este valor según sea necesario */
}

.pie-pagina .box h2, 
.pie-pagina .box2 h2 {
    margin-top: 20px; /* Ajusta este valor según sea necesario */
    margin-bottom: 10px; /* Ajusta este valor según sea necesario */
}

.pie-pagina .box .red-social {
    margin-top: 20px; /* Ajusta este valor según sea necesario */
}
.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box figure img{
    width: 250px;
}
.pie-pagina .grupo-1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .box2 {
    font-family: 'Comic Sans MS', cursive;
    color: #F2F2F2;
    font-size: 16px;
    width: 300px; /* Ajusta el ancho según sea necesario */
    padding: 20px;
    
}

.pie-pagina .box2 h2 {
    font-size: 24px;
    color: #F2F2F2;
    margin-bottom: 10px;
}

.pie-pagina .box2 .contact-info {
    font-size: 14px;
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
}

.pie-pagina .box2 .contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.pie-pagina .box2 .contact-info i {
    margin-right: 10px; 
    font-size: 18px; 
    color: #F27405; 
}

.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #F2B705;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
    color: #03588C;
}
.pie-pagina .grupo-2{
    background-color: #F2B705;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}

@media (max-width: 480px) {
    .pie-pagina .grupo-1 .box figure img {
        width: 150px;
    }

    .pie-pagina .grupo-1 .box h2 {
        font-size: 16px;
        
    }

    .pie-pagina .box2 h2 {
        font-size: 18px;
        padding-right: 50px;
    }

    .pie-pagina .box2 .contact-info {
        font-size: 10px;
        padding-right: 50px;
    }

    .pie-pagina .grupo-2 small {
        font-size: 13px;
    }
}
@media screen and (max-width: 800px) {
    .pie-pagina .grupo-1 {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 40px 0px;
        text-align: center;
    }

    .pie-pagina .box {
        /* Ajustes para centrar el contenido en dispositivos móviles */
        text-align: center;
        padding-top: 0; /* Ajuste para dispositivos móviles */
    }

    .pie-pagina .box2 {
        width: 100%; /* Ajuste para ocupar todo el ancho en dispositivos móviles */
    }

    .pie-pagina .contact-info{
        text-align: center;
        padding-top: 0;
    }
    
    
        .pie-pagina .box2 .contact-info {
            align-items: center; /* Centrar elementos en dispositivos móviles */
        }
    }@media screen and (max-width: 800px) {
    .pie-pagina .grupo-1 {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 40px 0px;
        text-align: center;
    }

    .pie-pagina .box {
        /* Ajustes para centrar el contenido en dispositivos móviles */
        text-align: center;
        padding-top: 0; /* Ajuste para dispositivos móviles */
    }

    .pie-pagina .box2 {
        width: 100%; /* Ajuste para ocupar todo el ancho en dispositivos móviles */
    }

    .pie-pagina .contact-info{
        text-align: center;
        padding-top: 0;
    }
    
    
        .pie-pagina .box2 .contact-info {
            align-items: center; /* Centrar elementos en dispositivos móviles */
        }
    }