@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Tipografía del cuerpo y dezlizador de la página*/
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden; /* Evita el desbordamiento horizontal */
}

/* Encabezado de la página, su logo y sus botones*/
#main-Header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 300px;
}

#main-Header .logo img {
    width: 150px;
}

#main-Header .nav-btn {
    background: none;
    border: none;
    color: #0badc7;
    cursor: pointer;
    font-size: 20px;
    margin-right: 20px;
    padding: 0;
    text-decoration: none;
    transition: all 0.3s ease; 
}

#main-Header .nav-btn:hover {
    color: #07e0f2;           
    transform: scale(1.05);    
}

/* Sección de Introducción */
#introduccion {
    padding: 100px 20px;
    text-align: center;
    background-image: linear-gradient(to right, rgba(11, 173, 199, 0.4), rgba(255, 255, 255, 0.3)), url('../imagenes/fnd-introduccion.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    height: calc(65vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 50px;
}

#introduccion h2, #introduccion p {
    text-align: left;
    margin: 0;
}

#introduccion h2 {
    font-size: 48px;
    margin-bottom: 40px;
}

#introduccion p {
    font-size: 28px;
}


/* Sección de Clientes */
#clientes {
    background-color: #ffffff;
    padding: 20px 0;
}

#clientes h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 60px;
}

#clientes .swiper-container {
    padding-left: 250px;
    max-width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

#clientes .swiper-slide img {
    width: 40%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Sección de Servicios*/
#servicios {
    padding: 50px 0;
    text-align: center;
    background-color: #f7f7f7;
}

#servicios h2, #servicios p {
    color: #666;
}

#servicios h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

#servicios p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

#servicios .servicios-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#servicios .servicio-item {
    flex-basis: calc(50% - 10px);
    background-color: #0badc7;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.2s;
}

#servicios .servicio-item:hover {
    transform: scale(1.05);
}

#servicios .servicio-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Sección de Contacto por Servicios */
#contactar-servicios {
    padding: 50px 0;
    text-align: center;
    background-color: #f7f7f7;
}

#contactar-servicios h2, #contactar-servicios p {
    color: #666;
}

#contactar-servicios h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

#contactar-servicios p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

#contactar-servicios .btn-contacto {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    text-decoration: none;
    color: #FFF;
    background-color: #0badc7;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#contactar-servicios .btn-contacto:hover {
    background-color: #0898a5;
}

/* Sección de Testimonios*/
#testimonios {
    padding: 50px 0;
    text-align: center;
}

#testimonios h2 {
    margin-bottom: 30px;
    font-size: 2em;
    position: relative;
    z-index: 10;     
}

#testimonios .testimonios-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#testimonios .testimonios-swiper {
    flex: 1;
    width: 50%;
    max-width: 100%; /* Asegura que el contenedor del carrusel no exceda el ancho disponible */
}

#testimonios .testimonios-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#testimonios .swiper-wrapper {
    padding-top: 100px;
}

#testimonios .imagen-container {
    flex: 1;
}

#testimonios .imagen-container img {
    max-width: 100%;
    height: auto;
}

#testimonios .testimonio-container {
    width: 80%;
    margin: 10px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    flex-wrap: wrap;  /* Permite que los elementos se ajusten si no hay suficiente espacio */
    margin-left: 75px;
}

#testimonios .swiper-slide .testimonio-container {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    
}

#testimonios .swiper-slide {
    width: 100%; /* Ocupa todo el ancho disponible */
    height: auto;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    
}

#testimonios .swiper-slide-active .testimonio-container {
    transform: scale(1.1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

#testimonios .swiper-container {
    max-height: 70vh;
    overflow-y: hidden;
}


#testimonios .swiper-pagination {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Sección de Historia*/
#nuestra-historia {
    background-color: #d3d3d3;
    padding: 50px 0; 
}

#nuestra-historia .historia-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 50px; 
}

#nuestra-historia .texto-container {
    background-color: #f7f7f7; 
    padding: 40px; 
    flex: 1;
}

#nuestra-historia h2 {
    font-size: 2.5em; 
    margin-bottom: 30px; 
}

#nuestra-historia .imagen-container {
    flex: 1;
    padding-left: 50px;
}

#nuestra-historia .imagen-container img {
    max-width: 100%;
    height: auto;
}

/* Sección de Footer*/

footer {
    background-color: #333;  /* Color de fondo */
    color: #fff;  /* Color del texto */
    padding: 20px 0;  /* Espaciado superior e inferior */
    text-align: center;  /* Centra el contenido horizontalmente */
    position: relative;  /* Posición relativa */
    width: 100%;  /* Ocupa todo el ancho disponible */
    bottom: 0;  /* Asegura que se quede en la parte inferior */
    font-size: 16px;  /* Tamaño del texto */
    font-weight: 500;  /* Peso de la fuente */
    border-top: 3px solid #0badc7;;  /* Una línea superior para darle un toque de color */
}

footer a {
    color: #0badc7;;  /* Color de los enlaces */
    text-decoration: none;  /* Remueve el subrayado de los enlaces */
}

footer a:hover {
    text-decoration: underline;  /* Subraya el enlace al pasar el cursor por encima */
}
