@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --primary-color: #000000;
    --background-color: #ffffff;
    --dark-color: #151515;
    --background-header: #e7e7e7;
}

html{
    font-size: 62.5%;
    font-family: 'Inter', sans-serif, 'Poppins';
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Utilidades*/

.container{
    max-width: 120rem;
    margin: 0 auto;
}

/*Header*/

.container-hero{
    background-color: var(--background-header);
}

.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.customer-support{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.customer-support i{
    font-size: 3.3rem;
}

.content-customer-support{
    display: flex;
    flex-direction: column;
}

.container-logo{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.container-logo h1 a{
    font-size: 5rem;
    text-decoration: none;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/*Navbar*/

.container-navbar{
    background-color: #29a2e3;

}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar .fa-bars{
    display: none;
}

.menu{
    display: flex;
    gap: 2rem;
}

.menu li{
    list-style: none;
}

.menu a{
    text-decoration: none;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

.menu a::after{
    content: '';
    width: 1.5rem;
    height: 1px;
    background-color: #ffffff;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%, 50%);
}

.search-form{
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #ffffff;
    border-radius: 2rem;
    background-color: #ffffff;
    height: 4.4rem;
    overflow: hidden;
}

.search-form input{
    outline: none;
    font-family: inherit;
    border: none;
    width: 25rem;
    font-size: 1.4rem;
    padding: 0 2rem;
    color: #777;
    cursor: pointer;
}

.search-form input::-webkit-search-cancel-button{
    appearance: none;
}

.search-form .btn-search{
    border: none;
    background-color: #29a2e3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
}

.btn-search i{
    font-size: 1.8rem;
    color: #ffffff;
}

/*Banner*/

.banner{
    background-image: linear-gradient(100deg, #000000, #00000020), url(img/banner.png);
    height: 75rem;
    background-size: cover;
    background-position: center;
}

.content-banner{
    max-width: 125rem;
    margin: 0 auto;
    padding: 35rem 0;
}

.content-banner p{
    color:#29a2e3;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.content-banner h2{
    color:#ffffff;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.content-banner a{
    margin-top: 2rem;
    text-decoration: none;
    color: #ffffff;
    background-color: #29a2e3;
    display: inline-block;
    padding: 2rem 4rem;
    text-transform: uppercase;
    border-radius: 3rem;
    font-size: 1.5rem;
}


/*Sobre Nosotros*/

.sobre-nosotros{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    gap: 2rem;
}

.blog{
    max-width: 120rem;
    margin: 4rem auto;
}

.blog h1{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#063970;
    font-size: 5rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 2rem;
}

.sombra{
    box-shadow: 0px 5px 15px 0px rgba(97,97,97,0.54);
    background-color: var(--background-color);
    padding: 2rem;
}
.sobre-nosotros__imagen__radius{
    border-radius: 1rem;
    height: 30rem;
    margin-top: 2rem;
}

.sobre-nosotros__texto{
    color: #063970;
    font-size: 2.7rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 3.7rem;
}


/*Servicios*/

.content-servicios{
    margin: 0 auto;
}

.titulo-servicios{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#063970;
    font-size: 5rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 2rem;
}

.servicios{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.servicios__servicio{
    font-size: 3.1rem;
    line-height: 8rem;
}

.servicios__imagen__servicios{
    height: 50rem;
    border-radius: 1rem;
    margin-left: 15rem;
}

/*Servicios extra*/

.servicios-extra{
    max-width: 120rem;
    margin: 0 auto;
    text-align: center;
    font-size: 2.8rem;
    margin-top: 1rem;
}

/*Mision,Vision,Valores*/

.section-background{
    padding: 2rem 0 2rem 0;
    background-color: #eaeaea;
    margin-top: 3rem;
}

.content-mision-vision-valores{
    max-width: 120rem;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    text-align: center;
}

.content-mision-vision-valores i{
    font-size: 10rem;
    margin-bottom: 2rem;
    color: #29a2e3;
}

.content-mision-vision-valores p{
    font-size: 2rem;
    line-height: 3rem;
    color: #0d6b92;
}

.valores li{
    list-style: none;
    font-size: 2rem;
    line-height: 3.4rem;
    color: #0d6b92;
}

.content-mision-vision-valores h2{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#063970;
    font-size: 5rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 2rem;
}

/*Galeria*/

.galeria h2{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#063970;
    font-size: 5rem;
    line-height: 1.2;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: repeat(2,30rem);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery img{
    width: 100%;
    height: 100%;
}

.gallery1{
    grid-column: 2/4;
    grid-row: 1/3;
}

/*Politica de calidad*/

.politica-de-calidad{
    max-width: 120rem;
    margin: 0 auto;
}

.politica-de-calidad h2{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#063970;
    font-size: 5rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 10rem;
}

.calidad{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#0d6b92;
    font-size: 3.5rem;
    line-height: 1.5;
    text-align: center;
}

/*Slider*/

.slider h2{
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#063970;
    font-size: 5rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 10rem;
}

.slider{
    width: 75vw;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider .slide-track{
    display: flex;
    animation: scroll 20s linear infinite;
    -webkit-animation: scroll 20s linear infinite;
    width: calc(400px * 24);
}

.slider .slide{
    width: 400px;
}

.slider .slide img{
    width: 100%;
}

@keyframes scroll {
    0%{
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100%{
        -webkit-transform: translateX(calc(-400px * 12));
        transform: translateX(calc(-400px * 12));
    }
}

/*Footer*/

.footer{
    background-color: #29a2e3;
}

.container-footer{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 3rem;
}

.menu-footer{
    display: grid;
    grid-template-columns: repeat(3,1fr) 30rem;
    gap: 3rem;
    justify-items: center;
}

.title-footer{
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.contact-info,
.information,
.news-letter{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info ul,
.information ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info ul li,
.information ul li{
    list-style: none;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 300;
}

.information ul li a{
    text-decoration: none;
    color: #ffffff;
    font-weight: 300;
}

.social-icons{
    display: flex;
    gap: 1.5rem;
}

.social-icons span{
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons span i{
    color: #ffffff;
    font-size: 1.2rem;
}

.facebook{
    background-color: #3b5998;
}

.youtube{
    background-color: #c4302b;
}

.instagram{
    background: linear-gradient(
        #405de6,
		#833ab4,
		#c13584,
		#e1306c,
		#fd1d1d,
		#f56040,
		#fcaf45
    );
}

.content p {
	font-size: 1.4rem;
	color: #fff;
	font-weight: 300;
    margin-top: 1.5rem;
}

.copyright {
	border-top: 1px solid #ffffff;
}

.copyright p {
    margin-top: 1rem;
	font-weight: 400;
	font-size: 1.2rem;
}


/*Menu hm */

.container-navbar1{
    background-color: #29a2e3;
}

.navbar1 {
    max-width: 130rem;
    background-color: #29a2e3;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0 auto;
    font-size: 1.5rem;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Para que los ítems estén en línea en escritorio */
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
}

.hamburger-menu {
    display: none; /* Ocultar el botón de hamburguesa por defecto en escritorio */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative; /* Para las barras */
    z-index: 1001; /* Asegurar que esté encima del menú cuando esté abierto */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}


/* --- Media Query para Pantallas Pequeñas --- */
@media (max-width: 768px) {

    .hamburger-menu {
        display: block; /* Mostrar el botón de hamburguesa en móviles */
    }

    .nav-list {
        position: fixed; /* O absoluta, si quieres que se desplace con el contenido */
        top: 0; /* o la altura de tu header, ej: 60px */
        left: 0;
        width: 100%;
        height: 100%; /* O 'auto' si solo quieres que ocupe el espacio del contenido */
        background-color: rgba(0, 0, 0, 0.9); /* Fondo semitransparente oscuro */
        flex-direction: column; /* Apilar los ítems verticalmente */
        justify-content: center; /* Centrar ítems verticalmente */
        align-items: center; /* Centrar ítems horizontalmente */
        transform: translateX(100%); /* Ocultar el menú a la derecha por defecto */
        transition: transform 0.3s ease-in-out; /* Animación de desplazamiento */
        z-index: 1000; /* Asegurar que esté por encima del contenido */
    }

    .nav-list.active { /* Esta clase se agregará con JavaScript */
        transform: translateX(0); /* Mostrar el menú */
    }

    .nav-list li {
        margin: 15px 0; /* Espacio vertical entre ítems */
    }

    .nav-list a {
        font-size: 2.5rem; /* Tamaño de fuente más grande para móviles */
        padding: 1rem 2rem;
    }

    /* Estilos para el icono de hamburguesa cuando está abierto (opcional) */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/*Media Querys*/

@media (max-width: 768px){
    html{
        font-size: 55%;
    }

    .hero{
        padding: 2rem;
    }

    .customer-support{
        display: none;
    }

    .navbar{
        padding: 2rem 2rem;
    }

    .navbar .fa-bars{
        display: block;
        color: #ffffff;
        font-size: 3rem;
    }

    .menu{
        display: none;
    }

    .search-form{
        display: none;
    }

    .content-banner{
        max-width: 50rem;
        margin: 0 auto;
        padding: 25rem 0;
    }

    .sobre-nosotros{
        display: block;
        align-items: center;
        font-weight: 100;
    }
    .sobre-nosotros__imagen{
        text-align: center;
        margin-bottom: 2rem;
        
    }
    .sobre-nosotros__imagen__radius{
        width: 100%;
        height: auto;
        max-width: none;
    }
    .servicios{
        display: block;
        text-align: center;
    }
    .servicios__lista{
        text-align: center;
        line-height: 6rem;
        margin-bottom: 3rem;
    }
    .servicios__imagen__servicios{
        display: none;
    }
    .content-mision-vision-valores{
        display: block;
    }
    .mision{
        margin-bottom: 3rem;
    }
    .vision{
        margin-bottom: 3rem;
    }
    .gallery{
        grid-template-rows: repeat(2, 15rem);
    }
    .menu-footer{
        grid-template-columns: repeat(2, 1fr);
    }
    .copyright{
        text-align: center;
    }
}