



/* Estilo general del header */


/* Logo en el header */
header img {
    width: 12%; /* Ajusta el tamaño del logo */
    height: auto;
}





/* Logo */
.logo {
    width: 100px; /* Ajusta según necesites */
    height: auto;
}

/* Menú extendido */
nav {
    flex-grow: 1; /* Ocupa todo el espacio disponible */
    display: flex;
    justify-content: center;
    font-style: "Montserrat";
    cursor: pointer;
}



.menu {
    list-style: none;
    display: inline-block;
    gap: 30px;
    margin: 0;
    padding: 0;
    font-style: "Montserrat";
    cursor: pointer;
}

.menu li {
    display:inline-block;
    cursor: pointer;
    font-size: 0.4rem;
}

.menu a {
    text-decoration: none;
    color: rgb(66, 63, 63);
    font-size: 20px;
    font-weight: bold;
    padding: 15px 8px;
    border-radius: 5px;
    font-family: "Montserrat";
    cursor: pointer;
    display: inline-block;
    
}



/* Botón Login alineado a la derecha */
.login-btn {
    background: white;
    color: rgb(75, 71, 71);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    font-family: "Montserrat";
}

.login-btn:hover {
    background: gray;
}

video {
    
    top: 100px;
    left: 0;
    width: 100vw; /* Ocupa el 100% del ancho de la pantalla */
    height: 52vh; /* Ocupa el 100% del alto de la pantalla */
    object-fit: cover; /* Ajusta el video sin distorsión */
    z-index: -1; /* Envía el video al fondo */
}




.text-container {
    position: absolute;
    top: 50%; /* Ajusta la posición del bloque de texto */
    left: 50px;
    transform: translate(-50%, -30%);
    text-align: center;
    z-index: 2;
    font-family: 'Montserrat';
    text-align: justify;
}

/* Título "NOSOTROS" con animación */

.title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0; /* Inicialmente invisible */
    animation: fadeInMove 2s ease-out forwards;
    font-family: 'Montserrat';
}

/* Animación del título */
@keyframes fadeInMove {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Recuadro centrado */
.info-box {
    color: white;
    position: absolute; /* Asegura que se pueda mover con "top" */
    top: 35%; /* 🔹 Baja o sube el texto según el porcentaje (ajusta según necesites) */
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px; /* 🔹 Reducí un poco el padding para que no sea tan grande */
    width: 60%;
    max-width: 800px;
    text-align: justify;
    border-radius: 10px;
    margin: 0 auto;
    font-size: large;
    font-family: 'Montserrat';
    
}
/**********************************************************************
/* Sección objetivo */
.objetivo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 50px auto; /* Espaciado superior e inferior */
    padding: 20px;
    background-color: rgba(240, 240, 240, 0.9);
    border-radius: 10px;
    font-family: 'Montserrat';
    text-align: justify;
}

/* Estilo del texto */
.objetivo-texto {
    width: 50%;
    text-align: justify;
    color: #333;
    font-family: 'Montserrat'
}

.objetivo-texto h2 {
    font-size: 2rem;
    color: #5d5f61;
    margin-bottom: 10px;
    font-family: 'Montserrat'
}

.objetivo-texto p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: gray;
    font-family: "Montserrat";
    text-align: justify;
}

.objetivo-texto h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color:rgba(80, 90, 80, 0.671);
    font-family: 'Montserrat'
}

/* Estilo del video */
.objetivo-video {
    width: 45%;
}

.objetivo-video video {
    width: 100%;
    border-radius: 10px;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .objetivo-section {
        flex-direction: column;
        text-align: center;
    }

    .objetivo-texto, .objetivo-video {
        width: 100%;
    }

    .objetivo-texto {
        margin-bottom: 20px;
    }
}

/* Sección Misión */
.mision-section {
    width: 100%;
    margin: 80px auto; /* 🔹 Centra la sección verticalmente */
    text-align: justify; /* 🔹 Centra el texto horizontalmente */
    padding: 40px;
    background-color: #6f756e;
    border-radius: 10px;
    animation: moverDerecha 3s ease-in-out forwards;
    font-family: 'Montserrat'
}

/* Estilo del título */
.mision-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    font-style: 'Montserrat';
    text-align: center;
}

/* Estilo del párrafo */
.mision-section p {
    font-size: 1.2rem;
    color: white;
    max-width: 900px; /* 🔹 Evita que el texto sea demasiado ancho */
    margin: 0 auto; /* 🔹 Centra el párrafo */
    line-height: 1.6;
    font-family: 'Montserrat';
    text-align: justify;
}


/* Animación de desplazamiento */
@keyframes moverDerecha {
    from {
        transform: translateX(-100%); /* Inicia fuera de la pantalla a la izquierda */
        opacity: 0; /* Inicia invisible */
    }
    to {
        transform: translateX(0); /* Termina en su posición normal */
        opacity: 1; /* Se hace visible */
    }
}

/* Estilo del título */
.mision-section h2 {
    font-size: 30px;
    color: #92d050;
    margin-bottom: 10px;
    font-family: "Montserrat";
    text-align: center;
}

/* Estilo del párrafo */
.mision-section p {
    font-size: 20px; 
    color: white;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
    font-family: "Montserrat";
}

.video-text-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 50px auto;
    gap: 20px;
    font-family: 'Montserrat';
}

/* Estilo del video */
.video-left {
    width: 50%;
    max-width: 500px;
    border-radius: 10px;
}

/* Contenedor del texto */
.text-right {
    width: 50%;
    padding: 20px;
    background-color: rgba(240, 240, 240, 0.9);
    border-radius: 10px;
    font-style: 'Montserrat';
    text-align: justify;

    
    /* 🔹 Aplica la animación */
    animation: moverDerecha 3s ease-in-out forwards;
}

/* Animación de desplazamiento */
@keyframes moverDerecha {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Estilo del título */
.text-right h2 {
    font-size: 2rem;
    color: #92d050;
    margin-bottom: 10px;
    font-style: 'Montserrat';
    text-align: center;
}

/* Estilo del párrafo */
.text-right p {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
    font-family: "Montserrat";
    text-align: justify;
}

/* Sección de Servicios */
.services-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 80%;
    margin: 50px auto;
    font-family: "Montserrat";
    
}

/* Recuadro de cada servicio */
.service-box {
    width: 200px;
    height: 200px;
    background-color:#92d050;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    font-style: 'Montserrat';

}

/* Efecto hover */
.service-box:hover {
    transform: translateY(-5px);
}

/* Iconos */
.service-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

/* Títulos */
.service-box h3 {
    font-size: 1.2rem;
    color: #333;
    font-style: 'Montserrat';

}

/* 🔹 Sección con Video a la Izquierda y Texto a la Derecha */
.video-text-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* 🔹 Contenedor del Video */
.video-container {
    flex: 1;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
}
html {
    scroll-behavior: smooth;
}

/* Media Query para pantallas de hasta 768px (tabletas) */
@media (max-width: 768px) {
    .video-container {
        padding: 5px; /* Reducir el padding en pantallas más pequeñas */
    }

    .video-container video {
        border-radius: 5px; /* Reducir el borde redondeado en pantallas más pequeñas */
    }
}

/* Media Query para pantallas de hasta 480px (móviles) */
@media (max-width: 480px) {
    .video-container {
        padding: 0; /* Eliminar padding en pantallas más pequeñas */
    }

    .video-container video {
        border-radius: 0; /* Eliminar el borde redondeado en móviles */
        height: 200px; /* Ajustar la altura del video en pantallas muy pequeñas */
    }
}


/* Contenedor del video de fondo */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
}

/* Video de fondo */
.video-container video {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Asegura que cubra todo el fondo */
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
}

/* Sección de servicios */
.services-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    position: relative;
    z-index: 1;
    font-family: "Montserrat";
    text-align: justify;
}

.service-box {
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    border-radius: 10px;
    background: #92d050;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    font-family: "Montserrat";
}

.service-box:hover {
    transform: scale(1.05);
}

.service-box img {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 10px;
}

/* Secciones de contenido */
.content-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: justify;
    padding: 50px;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
    z-index: 1;
    font-family: 'Montserrat';
}

h2 {
    font-size: 2.5rem;
    color: white;
    font-family: 'Montserrat';
    text-align: center;

}

p {
    font-size: 1.2rem;
    max-width: 600px;
    color: white;
    font-family: 'Montserrat';

}

.content-section img {
    margin-top: 20px; /* Espacio entre el párrafo y la imagen */
    max-width: 300px; /* Tamaño máximo de la imagen */
    width: 100%;
    border-radius: 10px; /* Bordes redondeados */
}

footer {
    background-color: rgb(58, 55, 55);
    color: gray;
    text-align:left;
    padding: 20px 10px;
    margin-top: 50px;
    color: black;
    font-family: "Montserrat";
}

footer p{


    color: white;
    font-family: 'Montserrat';

}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    color: #92d050;
    font-style: 'Montserrat';

}

.footer-contact, .footer-social {
    margin: 10px;
}

.footer-social img {
    width: 90px;
    height: 90px;
    transition: transform 0.3s;
}

.footer-social img:hover {
    transform: scale(1.1);
}

.footer-copy {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

footer a {
    color: white; /* Texto blanco */
    text-decoration: none; /* Quita el subrayado */
    font-weight: bold; /* Hace el texto más grueso */
    transition: color 0.3s ease; /* Suaviza el cambio de color */
    font-family: 'Montserrat';

}




.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background-color 0.3s;
    z-index: 9999999;
    font-family: 'Montserrat';

}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1eb84b;
}

.card-form {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    margin: 20px auto;
    font-family: 'Montserrat';

}


.card-form p {

    color:gray;
    font-family: 'Montserrat';

}

.card-form img {
    width: 80px;
    margin-bottom: 10px;
}

.card-form a {
    display: inline-block;
    background-color: gray;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition:0.3s;
    font-family: 'Montserrat';

}

.card-form a:hover {
    background-color:gray;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
}



*********************
header {
    background: url('https://source.unsplash.com/1600x900/?nature') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-family: 'Montserrat'; /* Definición correcta de la fuente */
    background-image: url('fondo header.jpg');
    background-color: #333;
    align-items: center;
    padding: 10px 20px;
    height: 70px;
    
    font-size: 0.2rem; /* Tamaño de fuente base */
    cursor: pointer;
}
nav {
    position: absolute;
    top: 20px;
    right: 20px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li {
    display: inline;
}
nav ul li a {
    text-decoration: none;
    color: gray;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}
nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    nav {
        top: 10px;
        right: 50%;
        transform: translateX(50%);
    }
}

