*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    font-family: "Courier New", Courier, monospace;
}

.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}
.titulo{
    color: #000;
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
}
#nosotros p {
    width: 100%;
    padding-bottom: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}
/* Header */
header {
    width: 100%;
    height: 640px;
    background: linear-gradient(to right, hsla(342, 10%, 35%, 0.486), hsla(317, 10%, 36%, 0.651)), 
    url(../imagenes/agro_portada.jpeg); /* usar .webp si está disponible */
    background-size: cover;
    background-attachment: fixed;
}
.sig{
    width: 100%;
    height: 20px;
    text-align: center;
    padding-top: 20px;
}
.sig i{
    font-size: 50px;
    color: #fff;
}
.sig i:hover{
    font-size: 60px;
    font-weight: 700;
    color: white;
}
.cabecera{
    width: 100%;
    height: 130px;
    display: flex;
    padding: 5px 140px;
    transition: all 0.3s;
}
nav.menu .close-btn {
    display: none;
    position: absolute; 
    top: 10px;          
    right: 10px;       
    background: none;   
    border: none;       
    color: white;      
    font-size: 24px;    
    cursor: pointer;    
    z-index: 10;        
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    background-color: #fff; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}
.sticky .menu a{
    color: #000;
}
.sticky .menu a:hover{
    color: red;
}
.sticky .traducir a{
    color: #000;
}
.sticky .traducir a:hover{
    color: red;
}
nav{
    text-align: center;
    justify-content: center;
    padding-top: 20px;
}
.cabecera  a  img{
    width: 180px;
    height: 120px;
    margin-right: 100px;
}
nav > a{
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    margin-right: 20px;
    text-transform: uppercase;
}
.traducir{
    padding-top: 20px;
    top: 5px;
    right: 280px;

}
.traducir a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}
.traducir a:hover{
    color: red;
}
nav > a:hover{
    color: red;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding-left: 30px;
}

.close-btn{
    display: none;
}
header .textos-header{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1{
    font-size: 50px;
    color: #fff;
    width: 70%;
    padding-top: 100px;
}
.textos-header h2{
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    width: 50%;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}
/* About us */

.contenido-product {
    display: flex;
    gap: 20px;
}

.contenedor-sobre-nosotros{
    justify-content: space-around;
    background-color: rgba(230, 230, 230, 0.658);
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;


}
.contenedor-sobre-nosotros img { 
    width: 320px;
    height: 200px ;
    margin-bottom: 20px;
    object-fit: cover;
}
.sobre-nosotros .contenido-textos{
    width: 100%;
}
.contenido-textos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contenido-textos h3{
    margin-bottom: 15px;
    text-align: center;
}
.contenido-textos p {
    padding: 0 0 30px 15px;
    font-size: 12px;
}
.contenido-textos button {
    padding: 10px 15px;
    color: red;
    border-color: red;
}
.contenido-textos button:hover{
    background-color: red;
    color: #fff;
}

/* Galeria */
.portafolio {
    width: 100%;
    height: 600px;
    display: flex;
    gap: 20px;
}

.portafolio .propeusta {
    flex: 1;
    margin-top: 150px;
}

.portafolio .propeusta h2 {
    font-size: 44px;
    font-weight: bold;
    color: #333;
}
.portafolio .propeusta p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    padding-bottom: 20px;
}
.propeusta .botones{
    display: flex;
    gap: 20px;
}
.portafolio .propeusta .botones button{
    padding: 15px 20px;
    color: yellowgreen;
    border-color: yellowgreen   ;
}
.portafolio .propeusta .botones button:hover{
    background-color: yellowgreen;
    color: #fff;
}
.img {
    flex: 1;
    background: url(../imagenes/eucalipto_p4.jpeg);
    background-size: cover;
    background-attachment: fixed;
    min-height: 600px; 
    background-color: #bc4e9c; 
    transition: background 0.5s ease-in-out; /* efecto suave al cambiar el fondo */
}



/* Que dicen nuestros Clientes */
.container-count {
    width: 100%;
    height: 1800px;
    padding: 50px 20px;
}
.container-count .titulo{
    width: 1000px;
    margin: 0 auto;
}
.container-count .titulo h2{
    font-size: 48px;
    padding-bottom: 20px;
}

.container-count .titulo p {
    font-size: 22px;
    line-height: 1.7;
    font-weight: 400;
    color: #333;
    text-align: center;
    padding-bottom: 50px;
}

button {
    display: block; /* Hacer que el botón se muestre en una nueva línea */
    margin: 40px auto 170px; /* Aumentar el margen superior a 40px, mantener centrado y margen inferior de 20px */
    padding: 20px 30px; /* Espaciado interno */
    font-size: 16px; /* Tamaño del texto */
    color: #28bda4; /* Color del texto */
    background-color: transparent;
    border-color: #28bda4; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
}

button:hover {
    background-color: #28bda4; /* Cambia el color al pasar el cursor */
    color: #fff;
}

.cards{
    display: flex;
    justify-content: space-evenly;
    
}

.cards .contador-container {
    padding: 10px;
    width: 300px;
    height: 130px;
    border: none;
    border-radius: 10px;
    background-color: #28bda4;
}
.contador-container p{
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding-top: 10px;
}

.contador {
    display: flex;
    gap: 7px;
    padding-left: 20px;
}
.contador p{
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    padding-top: 15px;
}
.contador span{
    font-size: 38px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}
.innovacion {
    width: 100%;
    height: 500px;
    background-color: #157061;
    padding-top: 100px;
}
.innovar {
    width: 80%; /* Ancho del div */
    max-width: 800px; /* Ancho máximo para pantallas grandes */
    margin: 10px auto; /* Centrar el div */
    padding: 10px; /* Espacio alrededor del contenido */
    border-radius: 10px; /* Bordes redondeados */
    text-align: center; /* Centrar texto */
}

.in-titulo h2 {
    font-size: 40px; /* Tamaño del título */
    color: #fff; /* Color del texto del título */
    margin-bottom: 10px; /* Espacio debajo del título */
}

.in-titulo p {
    font-size: 18px; /* Tamaño del texto del párrafo */
    color: #fff; /* Color del texto del párrafo */
    margin-bottom: 20px; /* Espacio debajo del párrafo */
    line-height: 1.5;
}

.in-botones {
    display: flex; /* Usar flexbox para alinear los botones */
    justify-content: center; /* Centrar los botones */
    gap: 15px; /* Espacio entre los botones */
}

.in-botones button {
    padding: 20px 30px; /* Espaciado interno para los botones */
    font-size: 16px; /* Tamaño del texto de los botones */
    background-color: transparent; /* Color de fondo del botón */
    color: white; /* Color del texto del botón */
    border: none; /* Sin borde */
    border: 2px solid #fff; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    transition: background-color 0.3s; /* Transición suave para el cambio de color */
}

.in-botones button:hover {
    background-color: red; /* Cambia el color del botón al pasar el cursor */
    color: #fff;
    border: none;
}

.contacto{
    display: flex;
    width: 100%;
    height: 250px;
    padding: 50px 150px;
    padding-top: 100px;
    justify-content: center;
}
.contact-texto{
    width: 100%;
    height: auto;
}
.contact-texto h2{
    font-size: 38px;
    padding-bottom: 10px;
    font-weight: 700;
}
.contact-texto p {
    font-size: 16px;
    font-weight: 300;
    padding-bottom: 5px;
}
.contact-texto button {
    padding: 20px 25px;
    border-color: red;
    color: red;
}
.contact-texto button:hover{
    background-color: red;
    color: #fff;
}
.contact-mapa{
    width: 100%;
    height: 150px;
}
.contact-map iframe{
    width: 100%;
    height: auto;
}
/* Footer - Pie de pagina */

footer{
    width: 100%;
    height: 330px;
    background: #fff;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}
.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}
.content-foo{
    text-align: center;
    color: #000;
}
.content-foo .foo{
    padding-top: 10px;
    padding-bottom: 15px;
}

.content-foo a img{
    width: 140px;
    height: 100px;
}
.content-foo h4{
    color: #000;
    border-bottom: 3px solid #af20d3;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.content-foo a {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 10px;
    text-decoration: none;
}
.content-foo a:hover{
    color: gray;
}
.content-foo a i{
    font-size: 17px;
    color: #fff;
    padding: 8px 8px;
    border-radius: 50%;
    background-color: #ccc;
}
.content-foo a i:hover{
    background-color: gray;
    color: white;
}
.contenedor-footer2{
    text-align: center;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}
.contenedor-footer2 p{
    padding-bottom: 20px;
    padding-top: 20px;
}
.contenedor-footer2 a{
    text-align: center;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    
}
.contenedor-footer2 a:hover{
    color: gray;
}
.btn-whatsapp .whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.3s ease;
}
.whatsapp-button i{
    font-size: 50px;
}
 
.whatsapp-button:hover {
    background-color: #74f5a3;
}

@media screen and (max-width:900px){
    
    body{
        margin: 0;
        padding: 0;
    }
   
    header{
        width: 100%;
        height: auto;
        background-position: center;
        padding: 10px 0px;
        overflow: hidden;
    }
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        background-color: rgba(240, 240, 240, 0.7);
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        width: 100%;
        height: auto;
        text-align: center;
    }

    .menu a {
        display: block;
        padding: 10px 0;
        text-align: center;
        color: #000;
    }

    /* Mostrar el ícono de hamburguesa en pantallas pequeñas */
    
    .sticky span{
        background-color: #000;
    }
    .sticky .hamburger{
        color: #000;
    }
    .sticky .close-btn{
        color: #000;
    }
    .menu a:hover{
        background-color: rgba(105, 233, 201, 0.863);
        color: red;
    }
    .traducir{
        padding-top: 30px;
        cursor: pointer;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 15px;
        right: 60px;
        z-index: 10;
    }
    .hamburger {
        padding-top: 0px;
        display: flex;
        cursor: pointer;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 5px;
        right: 0px;
        z-index: 10;
    }
   
    /* Botón cerrar */
    .close-btn {
        display: none; /* Oculto inicialmente */
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 5px;
        right: 0px;
        z-index: 10;
    }

    /* Cuando el menú está activo */
    .menu.active {
        display: flex; /* Mostrar el menú */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background-color: rgba(240, 240, 240, 0.7);
        border-radius: 8px;
    }

    /* Mostrar botón cerrar y ocultar el botón hamburguesa */
    .menu.active ~ .close-btn {
        display: block; /* Muestra el botón cerrar */
    }

    .menu.active ~ .hamburger {
        display: none; /* Oculta el botón hamburguesa */
    }

    /* Links del menú */
    .menu a {
        text-decoration: none;
        color: #000;
        margin: 5px 0;
        font-size: 12px;
    }



    /* Mostrar el menú cuando esté activo */
    .menu.active {
        display: flex;
    }
    .cabecera{
        width: 100%;
        height: auto;
        padding: 10px 10px;
    }
    .textos-header{
        width: 100%;
        height: auto;
    }
    .textos-header h1{
        font-size: 28px;
        padding-bottom: 10px;
        padding-top: 20px;
    }
    
    .textos-header h2{
        font-size: 16px;
    }
    .sig{
        display: none;
    }
    .contenedor{
        padding: 10px 10px;
    }
    .contenedor-sobre-nosotros img{
        object-fit: cover;
        width: 100%;
    }
    .contenido-product{
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .contenido-textos p{
        font-size: 16px;
        padding-top: 20px;
        line-height: 1.7;
    }
    .sobre-nosotros .contenido-textos{
        width: 100%;
        height: auto;
    }
    .imagen-about-us{
        width: 100%;
        height: auto;
    }
    /*PORTAFOLIO*/

    .portafolio{
        width: 100%;
        height: auto;
        padding: 10px 10px;
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        
    }
    .portafolio .img{
        width: 100%;
        min-height: 400px;
        background: url(../imagenes/eucalipto_p4.jpeg);
        background-size: cover;
        background-attachment: fixed;
        background-color: #bc4e9c; 
        transition: background 0.5s ease-in-out; /* efecto suave al cambiar el fondo */
    }
    .propeusta{
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .propeusta h2{
        font-size: 40px;
        text-align: center;
    }
    .propeusta p{
        font-size: 18px;
    }
    .portafolio .botones{
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .botones button{
        margin-bottom: 2px;
    }
    /*SUSTENTABILIDAD*/
    .container-count{
        width: 100%;
        height: auto;
        margin: 0 auto;
        flex-direction: column;
        gap: 20px;
    }
    .container-count .titulo{
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    
    .container-count .titulo h2 {
        font-size: 40px;
    }
    
    .container-count .titulo p {
        font-size: 18px;
        line-height: 1.4;
    }

    
    .cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .cards .contador-container{
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .cards .contador-container .contador{
        text-align: center;
    }

    .innovacion{
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 0 0;
    }
    .innovar{
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .innovar .in-botones{
        width: 100%;
        height: auto;
        flex-direction: column;
        display: flex;
        gap: 0px;
    }
    .in-botones button{
        padding: 10px 5px;
        margin-bottom: 5px;
    }
    .container-count .innovacion .in-titulo h2{
        font-size: 40px;
        padding-bottom: 20px;
    }
    .container-count .innovacion .in-titulo p{
        font-size: 18px;
        padding-bottom: 10px;
    }
    .container-count .contacto {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        flex-direction: column;
        align-items: center;
    }
    .contacto .contact-texto{
        width: 100%;
        height: auto;
    }
    
    .contact-mapa{
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        margin-bottom: 60px;
    }
    .contact-mapa iframe{
        width: 100%;
        height: 300px;
        border: 0;
    }
    



    footer{
        width: 100%;
        height: auto;
    }

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }
    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }
    
    .content-foo h4{
        border: none;
    }
    .content-foo p{
        color: #000;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

}
