/* __________________________________________Fondos_Secciones_____________________________*/


.MisionVision {
    background: #ffffff;
}

#inicio {
    background: #0bf73e;
    margin: 150px 0px 50px 0px;
}

.Innovación {
    background: #fff;
    margin-bottom: 200px;
}

.principios {
    position: relative;
    margin-bottom: 100px;
    padding-top: 40px 10px;
    z-index: 0;
}

.principios::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Img/Grupo.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: -1;
}

#productos {
    background: #ffffff;
    margin-bottom: 200px;
}

.galery {
    background: #00551e;
}

.galery h1 {
    color: #fff;
}

/* ____________________________________________Reset_______________________________*/
* {
    margin: 0;
    padding: 0;
    font-family: 'Sansation', sans-serif;
    box-sizing: border-box;
}


body {
    background-color: #f4f4f4;
    color: #333333b0;
overflow-x: hidden;
}
  
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  

*,
*::before,
*::after {
    box-sizing: border-box;
}



/*____________________________________________Titulos_____________________________________*/

.title {
    color: #0b6e4f;
    font-weight: bold;
    text-align: center;
    margin: 80px 0px 60px 0px;
}

/* __________________________________________Header_______________________________________*/

#video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: black;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px 0 0;
    /* Reducimos padding inferior */
    border-radius: 10px;
    display: none;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.color-bar {
    height: 10px;
    width: 100%;
    display: flex;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    margin-top: 0px;
    /* sin separación con el contenido */
}

.color-bar::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, #cdbe00, #cdbe00, #00551e, #00551e);
}

/* Texto del overlay */
.overlay h1 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 800;
    color: #dcdcdc;
}

.overlay p {
    font-size: 1.2em;
}

/* Botón del overlay */
#video-container .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #ffffff;
    color: #0b6e4f;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
    margin-bottom: 1rem;
}

#video-container .btn:hover {
    background: #0b6e4f;
    color: #fff;
}

/* Estilos del header y navbar */
#menu {
    position: fixed;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
    font-size: 18px;
    z-index: 1000;
}

#menu.transparent {
    background-color: transparent !important;
}

#menu.scrolled {
    background-color: white !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar y enlaces */
#menu .navbar {
    margin-inline: auto;
    padding-left: 10%;
}

#menu .collapse {
    margin-inline: auto;
    padding-left: 50%;
}

#menu .navbar-brand,
#menu .nav-link {
    color: white;
    position: relative;
    margin: 0 20px;
    transition: color 0.3s ease-in-out;
}

/* Hover con subrayado animado */
#menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #cdbe00;
    transition: width 0.3s ease-in-out;
}

#menu .nav-link:hover::after {
    width: 100%;
}

#menu .nav-link:hover {
    color: #cdbe00 !important;
}

/* Enlaces al hacer scroll (fondo blanco) */
#menu.scrolled .navbar-brand,
#menu.scrolled .nav-link {
    color: black !important;
}

#menu.scrolled .nav-link:hover {
    color: #00551e !important;
}

#menu.scrolled .nav-link::after {
    background-color: #00551e;
}

/* Ajustes generales del contenido */
.content {
    padding: 100px 10px;
    text-align: center;
}

.content h1,
.content h2 {
    color: #00551e;
}

.content p {
    font-size: 18px;
}

/* Logo */
a img {
    width: 95px;
}

/* ____________________________________________Sobre nosotros_______________________________*/

.sobre-nosotros {
    background: linear-gradient(to right, white 50%);
    margin: 150px 0px 200px 0px;
}

.sobre-nosotros img {
    max-width: 100%;
}

.sobre-nosotros .texto {
    padding: 20px;
    text-align: justify;
    font-size: 20px;
}

.sobre-nosotros .logos img {
    max-height: 50px;
    margin: 10px;
}

.sobre-nosotros span {
    font-weight: bold;
    color: #00551e;
}

.sobre-nosotros #origen {
    font-size: 1.2rem;
}

/*___________________________________________Carousel________________________________________*/

.carousel-container {
    width: 70%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-left: 200px;
}

.carousel-slide {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

/* ____________________________________________Mision y vision_______________________________*/
.MisionVision {
    margin: 150px 0px 100px 0px;
    background: url('..//Img/Prueba1.png') center/cover no-repeat;
    color: #fff;

}

.MisionVision .container-custom {

    position: relative;

}

.container-custom img {
    border-radius: 10px;
    width: 80%;
}

.content {
    padding-left: 30px;
    text-align: justify;
}

.title {
    color: #ffffff;
    font-weight: bold;
}

.icon {
    color: #ffffff;
    font-size: 24px;
    margin-right: 10px;
}

.MV {
    padding: 2px 15px 30px 15px;
}

.MV p {
    font-size: 1.2rem;
}


.MV h2 {
    color: #fff;
}

.MV strong {
    color: #cdbe00;
    font-weight: bold;
}

.palma1 {
    position: absolute;
    left: 700px;
}

/* ____________________________________________Footer_______________________________*/
.footer {
    background: #cdbe29;
    background: url('../Img/2.JPG') center/cover no-repeat;
    color: white;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.footer-overlay {
    background-color: rgba(100, 111, 3, 0.7);
    /* Un verde más sólido y elegante */
    padding: 50px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 30px;
}

.footer-logo {
    max-width: 130px;
    height: auto;
}

.footer-info {
    flex: 1;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-divider {
    width: 50px;
    border: 2px solid #f8c146;
    margin: 10px 0 20px;
}

.footer a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer a:hover {
    color: #f8c146;
}

.footer-bottom {
    background-color: #003814;
    padding: 15px 0;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer .social-icon {
    color: #ffffff;
    font-size: 22px;
    transition: color 0.3s, transform 0.3s;
}

.footer .social-icon:hover {
    color: #f8c146;
    transform: scale(1.2);
}



/* ____________________________________________valores_______________________________*/
.principios {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Pseudo-elemento para la imagen de fondo con opacidad */
.principios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Img/Inicio/Grupo2.jpg') center/cover no-repeat;
    opacity: 0.3;
    /* Ajusta la opacidad de la imagen */
    z-index: -1;
    /* Coloca el pseudo-elemento detrás del contenido */
}

.principios img {
    display: block;
    margin: 30px auto;
    max-width: 40%;
    height: auto;
}

h2.title {
    text-align: center;
    font-size: 2.8rem;
    color: #104533;
    margin-bottom: 2rem;
}



/* ___________________________________Valor______________________________________________*/
.valor {
    background-color: #00551e;
    position: relative;
    background: url('../Img/Inicio/JLF_3773.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 40px;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.valor::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Aquí ajustas la opacidad */
    z-index: -1;
}

.valor .title {
    font-size: 2.4rem;
    margin-bottom: 80px;
    color: white;
}

.valor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 150px 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    margin-top: 150px;
    margin-bottom: 150px;
}

.valor-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.valor-icon {
    width: 70px;
    height: auto;
    flex-shrink: 0;
    margin-top: 6px;
}

.valor-item h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 20px;

}

.valor-item p {
    margin: 5px 0 0;
    font-size: 1.2rem;
    color: #ffffff;
}

/* ___________________________________Ventajas______________________________________________*/

.ventajas {
    text-align: center;
    /* para centrar el título */
    padding: 50px 20px;
    background-color: #f5f5f5;
    /* opcional, para destacar la sección */
}

.ventajas img {
    display: block;
    margin: 30px auto;
    max-width: 80%;
    height: auto;
}

/*____________________________________Video 2_________________________________*/

.video-section {
    position: relative;
    width: 90%;
    height: auto;
    overflow: hidden;
    margin: 20px auto;
}

.background-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/*____________________________________pdf_________________________________*/

.pdf-section {

    border-radius: 10px;
    padding: 40px 20px;
    margin-top: 40px;
  }
  
  /* Estilo para el título */
  .pdf-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  /* Tarjetas con animación al pasar el mouse */
  .pdf-card .card {
    border: none;
    border-radius: 10px;
    transition: transform 0.2s ease;
  }
  
  .pdf-card .card:hover {
    transform: scale(1.02);
  }
  
  /* Estilo personalizado para el botón */
  .custom-button {
    display: inline-block;
    background-color: #00551e;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
  }
  
  .custom-button:hover {
    background-color: #ffffff;
    transform: scale(1.05);
    color: #00551e;
    border: 1px solid #00551e;
  }
  
  /* Responsive */
  @media (max-width: 576px) {
    .pdf-section {
      padding: 20px 10px;
    }
  
    .pdf-section h2 {
      font-size: 1.6rem;
    }
  
    .custom-button {
      width: 100%;
    }
  }
  
  

/*____________________________________Responsive_________________________________*/


/* Teléfonos (pantallas hasta 576px) */
@media (max-width: 576px) {

    .carousel-container {
        width: 90%;
        margin: 0 auto;
    }

    #menu .collapse {
        padding-left: 0;
    }

    .sobre-nosotros,
    .MisionVision {
        margin: 80px 0;
    }

    .sobre-nosotros .title {
        font-size: 2rem;
        margin: 50px 10px;
    }

    .sobre-nosotros #origen {
        font-size: 1.2rem;
    }

    .palma1 {
        display: none;
    }

    .container-custom img {
        width: 100%;

    }

    .content {
        padding: 20px;
        text-align: justify;
    }

    .overlay h1 {
        font-size: 1.5em;
    }

    .overlay p {
        font-size: 1em;
    }


    .valor-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .principios img {
        max-width: 100%;
    }

    h2.title {
        font-size: 1.5rem;
    }

    .background-video {
        width: 100%;
        margin-bottom: 10%;
    }

    .ventajas img {
        max-width: 120%;

    }

    .MisionVision {
        background: none;
        color: #000000;

    }

    .MV strong {
        color: #00551e;
    }

    .MV h2 {
        color: #00551e;
    }

    .icon {
        color: #00551e;

    }
}

/* Tablets (pantallas entre 577px y 991px) */
@media (min-width: 300px) and (max-width: 1200px) {

    .carousel-container {
        width: 90%;
        margin: 0 auto;
    }

    #menu .collapse {
        padding-left: 0;
    }

    .sobre-nosotros,
    .MisionVision {
        margin: 100px 0;
    }


    .palma1 {
        left: 400px;
        top: 50px;
    }


    .content {
        padding: 20px;
        text-align: justify;
    }

    .valor-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 80px;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .MisionVision {
        background: none;
        color: #000000;

    }

    .MV strong {
        color: #00551e;
    }

    .MV h2 {
        color: #00551e;
    }

    .icon {
        color: #00551e;

    }


    /* Laptops medianas (pantallas entre 992px y 1200px) */
    @media (min-width: 992px) and (max-width: 1200px) {

        .carousel-container {
            width: 85%;
            margin-left: auto;
            margin-right: auto;
        }

        .palma1 {
            left: 600px;
        }

        .valor-grid {
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 100px;
        }
    }

    /* Desktop grande (pantallas mayores a 1200px) */
    @media (min-width: 1201px) {

        .carousel-container {
            width: 120%;
            margin-left: 100px;
        }

        .palma1 {
            left: 700px;
        }

        .valor-grid {
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 150px 80px;
        }

        .sobre-nosotros #origen {
            font-size: 8rem;
        }

        .MV p {
            font-size: 1.8rem;
        }

        .MV h2 {
            font-size: 2.4rem;
        }

    }


}