body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding: 0;
    box-sizing: border-box;
}
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.slider {
    display: flex;
}

.carousel-inner .slide {
    flex: 1;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    visibility: hidden; 
}

.overlay {
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
}

.overlay h1 {
    font-size: 4em; 
    font-weight: bold; 
    margin: 0 0 10px 0; 
}

.overlay p {
    font-size: 1.5em;
    margin: 0;
}

.hero p {
    font-size: 1.5em;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .overlay {
        width: 100%; /* Ajusta el ancho al 100% */
        text-align: center; /* Centra el texto */
        padding: 10px; /* Reduce el padding */
    }

    .overlay-content {
        align-items: center; /* Centra el contenido */
        width: 100%; /* Ajusta el ancho al 100% */
    }

    .overlay h1 {
        font-size: 2em; /* Reduce el tamaño de la fuente */
    }

    .overlay p {
        font-size: 1em; /* Reduce el tamaño de la fuente */
    }
}
/* Estilos adicionales existentes */
header {
    background-color: #fff;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center; 
}

.logo {
    margin: 0 auto; 
    padding-bottom: 10px; 
}

.logo img {
    max-height: 50px;
}

.divider {
    width: 100%;
    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 10px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s; 
}

nav ul li a.active-nav-menu {
    background-color: #72bc2f; 
    color: #fff; 
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle i {
    font-size: 24px;
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
        border-top: 1px solid #d3d3d3;
    }
    
    .main-nav ul.show {
        display: flex;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .main-nav .menu-toggle {
        display: block;
        margin-top: 10px;
    }
}

.translate-icon {
    cursor: pointer;
    font-size: 24px;
}

@media (max-width: 768px) {
    .translate-icon {
        font-size: 20px;
    }
}

.productos {
    padding: 50px 0;
    text-align: center;
}

.productos h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.categoria {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.categoria-item {
    position: relative;
    width: 300px; /* Ajusta el ancho según tus necesidades */
    overflow: hidden;
    border-radius: 10px;
}

.categoria-item img {
    width: 100%;
    height: auto; /* Mantener la relación de aspecto natural de la imagen */
    aspect-ratio: 9 / 16; /* Relación de aspecto 9:16 */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.categoria-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%; /* Hacer que el hover sea una franja gruesa en la parte superior */
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
}


.categoria-item:hover img {
    transform: scale(1.1);
}

.categoria-item .overlay h3 {
    margin: 0;
    font-size: 1.5em;
}

@media (max-width: 768px) {
    .categoria-item {
        width: 100%;
    }
    .categoria {
        gap: 10px;
    }
}

.productos-info {
    padding: 50px 20px;
    text-align: center;
}

.productos-info h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.productos-info p {
    font-size: 1.2em;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .productos-info h2 {
        font-size: 2em;
    }

    .productos-info p {
        font-size: 1em;
    }
}

.about {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.about blockquote {
    font-size: 1.2em;
    color: #000;
    font-weight: bold;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}



.about blockquote .comilla {
    width: 40px;
    height: auto;
}

.about blockquote span {
    text-align: center;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .about blockquote {
        font-size: 1em;
        gap: 5px;
    }

    .about blockquote .comilla {
        width: 20px;
    }
}


.news {
    padding: 50px 0;
    text-align: center;
}

.news h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.carousel-item {
    display: flex;
    gap: 20px;
}

.row {
    margin: 0; /* Elimina cualquier margen por defecto */
}

.news-item {
    width: 100%; /* Asegura que el item ocupe todo el ancho del contenedor */
    margin: auto; /* Centra el contenido dentro de la columna */
    text-align: left; /* Alinea el texto a la izquierda */
}

.news-item img {
    width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
    height: auto;
    border-radius: 10px;
    aspect-ratio: 16 / 9; /* Relación de aspecto 16:9 */
    object-fit: cover; /* Asegura que la imagen cubra todo el contenedor sin deformarse */
}

.news-item p {
    margin: 10px 0;
}

.news-item a {
    display: inline-block;
    padding: 5px 10px;
    color: white;
    background-color: #72bc2f;
    border-radius: 5px;
    text-decoration: none;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.solutions-hero {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: 5px; 
}

.solutions-hero-image {
    background-size: cover;
    background-position: center;
    height: 500px; /* Ajusta la altura según tus necesidades */
    position: relative;
}

.solutions-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente negro */
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.solutions-hero h2 {
    margin: 0 0 20px 0;
    font-size: 2em;
}

.solutions-hero-button {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #72bc2f;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.solutions-hero-button:hover {
    background-color: black; /* Color negro en el hover */
}

footer {
    margin-top: 20px;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    font-size: 14px; /* Ajuste general del tamaño de la fuente */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 10px;
    color: #72bc2f; /* Color verde para los títulos */
    font-size: 1.1em; /* Ajuste del tamaño de los títulos */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9em; /* Ajuste del tamaño de los enlaces */
}


.footer-newsletter h4 {
    margin-bottom: 10px;
    color: #72bc2f; /* Color verde para los títulos */
    font-size: 1.1em; /* Ajuste del tamaño de los títulos */
}

.footer-newsletter form {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan */
}

.footer-newsletter input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
    margin-bottom: 10px;
}

.footer-newsletter button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #72bc2f;
    color: #fff;
    cursor: pointer;
}

.footer-social {
    text-align: center;
}

.footer-social p {
    margin: 20px 0;
    font-size: 0.9em; /* Ajuste del tamaño del texto */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icons a {
    color: #72bc2f; 
    font-size: 1.5em;
    text-decoration: none;
}

.social-icons a:hover {
    color: #fff; 
}

.productos-section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; 
    flex-wrap: wrap;
    width: 100%;
    margin-top: -39px;
}
.productos-section-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px; 
    height: 150px; 
    background-color: #fff;
    border: 2px solid #e0e0e0;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    z-index: 10; 
}
.productos-section-button:hover {
    background-color: #f9f9f9;
}
.productos-section-button i {
    font-size: 40px; 
    margin-bottom: 10px;
}
.productos-section-active {
    background-color: #74b816;
    color: #fff;
    border: none;
}
.productos-section-active:hover {
    background-color: #66a70c;
}
.btn-green {
    background-color: #72bc2f; /* Color verde */
    color: #fff; /* Color del texto blanco */
    border-radius: 5px; /* Bordes redondeados */
    text-decoration: none; /* Sin subrayado */
    font-weight: bold; /* Negrita */
    transition: background-color 0.3s, color 0.3s; /* Transiciones suaves */
}

.btn-green:hover {
    background-color: #66a70c; /* Color verde más oscuro al pasar el mouse */
    color: #fff; /* Color del texto blanco */
    text-decoration: none; /* Sin subrayado */
}

.translate-icon {
            cursor: pointer;
            font-size: 24px;
        }

        @media (max-width: 768px) {
            .translate-icon {
                font-size: 20px;
            }
        }

        .content {
            width: 80%;
            margin: 20px auto;
        }
        
.map-container {
            position: relative;
            width: 90%; /* 100% - 5% de margen a cada lado */
            margin: 0 auto; /* Centra el contenedor horizontalmente */
            padding-top: 25%; /* 25% de la altura para mantener la relación de aspecto */
        }
        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
        
@media (max-width: 768px) {
    .news-item {
        padding: 20px; /* Añade padding en dispositivos móviles */
    }
    .carousel-item {
        padding: 0 10px; /* Añade padding a los lados del carrusel en dispositivos móviles */
    }
    .map-container {
        padding-top: 70%; /* 25% de la altura para mantener la relación de aspecto */
        }
}