*{
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Comic Sans MS', cursive;
    
   
}

body{
    background: linear-gradient(to bottom right, #03588C, #04C4D9, #F2B705, #F27405, #fffe92);
    
}



/*titulos */
.titulos {
    text-align: center; 
    padding: 20px 0; 
    color: #eceff1;
    max-width: 4000px; 
    overflow: hidden; 
    position: relative; 
}

.titulos h1 {
    font-size: 3.5em; 
    margin: 0; 
    padding: 10px; 
    position: relative; 
    z-index: 1; 
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

/* 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: 0px;
    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: 0px;
        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;
    }
}

/* Portada */

.cover-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Colores de fondo*/

/*titulos */
.titulos {
    text-align: center; 
    padding: 20px 0; 
    color: #eceff1;
    max-width: 4000px; 
    overflow: hidden; 
    position: relative; 
}

.titulos h1 {
    font-size: 3.5em; 
    margin: 0; 
    padding: 10px; 
    position: relative; 
    z-index: 1; 
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

/*Seccion 2*/
#section2 {
    padding: 30px 5%;
    padding-left: 5.0em;
    padding-right: 5.0em;
}

#section2 .container2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

#section2 .text {
    flex: 1;
    padding-right: 20px;
    color: #F2F2F2;
}

#section2 h3 {
    font-weight: 700;
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
}

#section2 p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

#section2 .image {
    flex: 1;
    text-align: center;
    
}

#section2 .image img {
    max-width: 75%;
    height: auto;
    border-radius: 50%; /* Esto hará que la imagen sea completamente redonda */
    
}

/* Estilos responsivos */
@media (max-width: 768px) {
    #section2 .container2 {
        flex-direction: column;
    }

    #section2 .text, #section2 .image {
        padding: 0;
        margin-bottom: 20px;
    }

    #section2 .image img {
        width: 100%;
        max-width: none;
    }
}

/* facebook*/
.btn-facebook {
    
display: inline-block;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background-color: #3b5998;;
    padding: 15px 30px;
    border-radius: 50px;
    transition: background-color 0.3s;
    float: left; /* Alinea el botón a la derecha */
    margin-top: 20px;

}

.btn-facebook:hover {
    background-color: #2d4373;
}

.btn-facebook .icon {
    margin-left: 20px; 
}

.text {
    text-align: center;
    width: 50%;
}

.image {
    float: right;
    width: 50%;
    text-align: center;
}

@media (max-width: 768px) {
    .text, .image {
        float: none;
        width: 100%;
    }

    .btn-facebook {
        display: block;
        float: none;
        margin: 20px auto; /* Centra el botón en dispositivos móviles */
    }
}
  


/* seccion 3 */
#section3 {
    padding: 30px 5%;
    padding-left: 5.0em;
    padding-right: 5.0em;
}

#section3 .container3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

#section3 .image {
    flex: 1;
    text-align: center;
    padding-right: 20px; /* Aumenta el espacio entre la imagen y el texto */
}

#section3 .text {
    flex: 1;
    padding-left: 20px; 
    color: #F2F2F2;/* Aumenta el espacio entre la imagen y el texto */
}

#section3 h3 {
    font-weight: 700;
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
}

#section3 p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

#section3 .image img {
    max-width: 75%;
    height: auto;
    border-radius: 50%; /* Esto hará que la imagen sea completamente redonda */
}

/* Estilos responsivos */
@media (max-width: 768px) {
    #section3 .container3 {
        flex-direction: column;
    }

    #section3 .text, #section3 .image {
        padding: 0;
        margin-bottom: 20px;
    }

    #section3 .image img {
        width: 100%;
        max-width: none;
    }
}

.btn-instagram {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background-color: #e4405f;
    padding: 15px 30px;
    border-radius: 50px;
    transition: background-color 0.3s;
    float: left; /* Alinea el botón a la derecha */
    margin-top: 20px; /* Espaciado entre el texto y el botón */
}

.btn-instagram:hover {
    background-color: #c13584;
}

.btn-instagram .icon {
    margin-left: 10px; /* Ajusta el espacio entre el texto y el icono */
}

.text {
    float: left;
    width: 50%;
}

.image {
    float: right;
    width: 50%;
    text-align: center;
}

@media (max-width: 768px) {
    .text, .image {
        float: none;
        width: 100%;
    }

    .btn-instagram {
        display: block;
        float: none;
        margin: 20px auto; /* Centra el botón en dispositivos móviles */
    }
}





/* seccion 4 */
#section4 {
    padding: 30px 5%;
    padding-left: 5.0em;
    padding-right: 5.0em;
    
}

#section4 .container4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    
}

#section4 .image {
    flex: 1;
    text-align: center;
    padding-right: 20px; /* Espacio entre la imagen y la lista */
}

#section4 .image img {
    max-width: 75%;
    height: auto;
    border-radius: 50%; /* Esto hará que la imagen sea completamente redonda */
}

#section4 .text {
    flex: 1;
    padding-left: 20px; /* Espacio entre la imagen y la lista */
}

#section4 .text h3 {
    font-weight: 700;
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
    color: #F2F2F2;
}

#section4 .text ul {
    list-style-type: none;
    padding: 0;
    margin: 0 auto; /* Centrar la lista */
    max-width: 300px; /* Limitar el ancho de la lista */
    color: #F2F2F2;
}

#section4 .text li {
    margin-bottom: 10px;
    font-size: 1.2em;
}

@media (min-width: 768px) {
    #section4 .container4 {
        flex-direction: row;
    }

    #section4 .text {
        order: 1;
        flex: 1;
        padding-right: 20px;
    }

    #section4 .image {
        order: 2;
        flex: 1;
        padding-left: 20px;
    }
}

.btn-whatsapp {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background-color: #25d366;
    padding: 15px 30px;
    border-radius: 50px;
    transition: background-color 0.3s;
    float: right; /* Alinea el botón a la derecha */
    margin-top: 20px; /* Espaciado entre el texto y el botón */
}

.btn-whatsapp:hover {
    background-color: #128c7e;
}

.btn-whatsapp .icon {
    margin-left: 10px; /* Ajusta el espacio entre el texto y el icono */
}

.text {
    float: left;
    width: 50%;
}

.image {
    float: right;
    width: 50%;
    text-align: center;
}

@media (max-width: 768px) {
    .text, .image {
        float: none;
        width: 100%;
    }

    .btn-whatsapp {
        display: block;
        float: none;
        margin: 20px auto; /* Centra el botón en dispositivos móviles */
    }
}





.cover-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 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;
    }

    .pie-pagina .box2 .contact-info {
        font-size: 10px;
    }

    .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 */
        }
    }






