@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Slab:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

h1 { font-family: "Bebas Neue", serif; }
h4 { font-family: "Bebas Neue", serif; }

/* Header */
.header {
    background-image: url(../img/Desktop.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    justify-content: flex-start; /* Alinea el contenido a la izquierda */
    align-items: center;
    padding: 20px; /* Espaciado interno */
    color: white;
    text-align: left;
    flex-direction: column; /* Cambiar a columna para móviles */
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.logo {
    color: #FFFDFC;
    font-size: 25px;
}

.logo img {
    position: relative;
    float: left;
}

.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #FFFDFC;
    display: block;
    font-weight: bold;
}

.menu .navbar ul li a:hover {
    color: #2b8536;
}

.seleccionado {
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2); /* Sombra */
    border-bottom: 2px solid #FFFDFC;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
    align-items: center;
}

.menu label {
    cursor: pointer;
    display: none;
}
/* Header */

/* Header Content */
.header-content {
    padding: 100px 0;
    display: flex;
    align-items: flex-start;
    width: 100%; /* Asegura que ocupe el ancho completo */
}

.header-txt {
    width: 70%;
    padding-right: 70px;
}

.header-content h1 {
    font-size: 52px;
    line-height: 70px;
    color: white;
    margin-bottom: 35px;
}

p {
    font-size: 20px;
    color: white;
    margin-bottom: 25px;
}

.btn-1 {
    display: inline-block;
    padding: 11px 35px;
    background: #2b8536;
    color: #FFFDFC;
    border-radius: 25px;
    font-size: 18px;
}

.btn-1:hover {
    background-color: #105d19;
}
/* Header Content */

/* Video */
.video {
    position: relative;
    padding: 20px;
}

.video-img {
    width: 150px;
    height: 150px;
    margin: 36px 0 105px;
    position: absolute;
    top: 0;
    right: 0;
}

.video-img-izq {
    width: 150px;
    height: 150px;
    margin-bottom: 50px;
    position: absolute; /* Cambiar a posición absoluta */
    bottom: 0; /* Alinear al fondo */
    left: 0; /* Alinear a la izquierda */
}

.video-title {
    text-align: center;
    font-size: 40px;
    font-family: 'Roboto-Slab';
    margin-top: 35px;
    margin-bottom: 35px;
    align-items: center;
}

.separator {
    margin: 0 170px; /* Margen horizontal */
    font-family: RobotoSlab;
    font-size: 20px;
    font-weight: 300;
    line-height: 2;
    text-align: center;
    color: #18181b;
}

.video-container {
    display: flex; /* Activar flexbox */
    justify-content: center; /* Centrar el video horizontalmente */
    margin: 20px 0; /* Espaciado superior e inferior */
}

iframe {
    width: 100%;
    max-width: 600px; /* Limitar el ancho máximo del video */
    height: 315px; /* Altura del video */
}
/* Video */

/* Cards */
.cards-container {
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se ajusten a múltiples líneas */
    justify-content: center; /* Centra las tarjetas */
    max-width: 1200px;
    margin: 0 auto; /* Centra el contenedor en la página */
    text-align: center;
}

.cards-title {
    text-align: center;
    font-size: 40px;
    font-family: 'Roboto-Slab';
    margin-bottom: 55px;
}

.card {
    flex: 1 1 250px; /* Las tarjetas serán flexibles y tendrán un ancho mínimo de 250px */
    height: 396px;
    background: white;
    transition: transform 0.2s;
    text-align: left;
    border-radius: 16px;
    margin: 10px; /* Espaciado uniforme alrededor de las tarjetas */
    padding: 25px;
    box-shadow: 0px 0px 20px rgba(135, 141, 214, 0.3);
}

.card img {
    width: 67px;
    height: 64px;
}

.card h4 {
    text-align: left;
    font-size: 20px;
    font-family: 'Roboto-Slab';
    font-weight: bold;
    color: #323337;
    margin: 10px 0;
}

.card p {
    margin: 10px 0;
    color: #323337;
    text-align: left;
    font-size: 16px;
    font-family: 'Roboto-Slab';
}

.card:hover {
    transform: scale(1.10);
}
/* Cards */

/* Steps */
.steps {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Degradado superior */
        url(../img/backgroup-1374.png); /* Imagen de fondo */
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
}

.steps-title {
    text-align: center;
    font-size: 40px;
    font-family: 'Roboto-Slab';
    margin-top: 55PX;
    margin-bottom: 55px;
    align-items: center;
    text-align: center;
}

.cuadrado {
    width: 200px;
    height: 200px;
    background: #aaa;
    margin-bottom: 20px;
}

.cuadradoIzq {
    width: 60%;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    margin-left: 50px;
}

.step-num {
    width: 73px;
    height: 146px;
}

.step-num2 {
    width: 73px;
    height: 146px;
    margin-right: 15px;
}

.cuadradoIzq p {
    font-size: 20px;
    color: #0E0E0E;
    font-family: 'Roboto-Slab';
}

.step-img {
    width: 223px;
    height: 160px;
}

.cuadradoDer {
    padding-left: 40%;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    margin-right: 50px;
}

.cuadradoDer p {
    font-size: 20px;
    color: #0E0E0E;
    font-family: 'Roboto-Slab';
}
/* Steps */

/* Seccion Gallery */
.gallery-title {
    text-align: center;
    font-size: 40px;
    font-family: 'Roboto-Slab';
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.gallery-container {
    max-width: 1200px;
    width: 95%;
    margin-left: 55px;
    margin-right: 55px;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    height: 50px;
    width: 50px;
    color: #FFF;
    border: none;
    outline: none;
    background: #000;
    font-size: 2.2rem;
    cursor: pointer;
    border-radius: 50%;
    transform: translateY(-50%);
}

.slider-wrapper .slide-button:hover {
    background: #444;
}

.slider-wrapper .slide-button#prev-slide {
    left: -20px;
    display: none;
}

.slider-wrapper .slide-button#next-slide {
    right: -20px;
}

.slider-wrapper .image-list {
    display: grid;
    gap: 18px;
    font-size: 0;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    grid-template-columns: repeat(10, 1fr);
}

.slider-wrapper .image-list ::-webkit-scrollbar {
    display: none;
}

.slider-wrapper .image-list .image-item {
    width: 325px;
    height: 400px;
    object-fit: cover;
}

.gallery-container .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-scrollbar .scrollbar-track {
    height: 2px;
    width: 100%;
    background: #CCC;
    position: relative;
    border-radius: 4px;
}

.slider-scrollbar:hover .scrollbar-track {
    height: 4px;
}

.slider-scrollbar .scrollbar-thumb {
    position: absolute;
    height: 100%;
    width: 50%;
    background: #000;
    border-radius: inherit;
    cursor: grab;
}

.slider-scrollbar .scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
}

.slider-scrollbar .scrollbar-thumb ::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}
/* Seccion Gallery */

/* Seccion GreenTorch */
.greentorch-img {
    width: 1000px;
    height: 137px;
    margin-left: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}
/* Seccion GreenTorch */

/* Seccion Cards2 */
.gallery-title {
    text-align: center;
    margin: 20px 0;
}

.cards2-container {
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap; /* Permite que las cards se envuelvan en varias filas */
    justify-content: center; /* Centra las cards */
    max-width: 1200px;
    margin: 0 auto; /* Centra el contenedor */
}

.card2 {
    width: 100%; /* Cambiar el ancho a 100% para que se ajuste en dispositivos pequeños */
    max-width: 478px; /* Ancho máximo para pantallas más grandes */
    height: 224px;
    background: white;
    transition: transform 0.2s;
    text-align: left; 
    border-radius: 16px;
    margin: 10px; /* Espaciado entre cards */
    padding: 25px; 
    box-shadow: 0px 0px 20px rgba(135, 141, 214, 0.3); 
    display: flex;
    flex-direction: row;
    align-items: center; /* Alinear verticalmente */
}

.card2 img {
    width: 67px;
    height: 64px;
    margin-right: 15px;
    position: relative;
    top: 0;
}

.card2 p {
    margin: 10px 0;
    color: #323337;
    text-align: left;
    font-size: 16px;
    font-family: 'Roboto-Slab';
}
/* Seccion Cards2 */

/* Seccion Mapa */
.maps {
    margin: 15px; /* Reducir margen en dispositivos móviles */
}

.maps-title {
    text-align: center;
    font-size: 30px; /* Tamaño de fuente más pequeño */
    font-family: 'Roboto-Slab';
    margin-bottom: 20px; /* Reducir margen en dispositivos móviles */
}

.left-column, .right-column {
    padding: 10px;
}

.left-column iframe {
    width: 100%;
    height: 300px; /* Ajusta la altura según sea necesario */
}

.upper-right {
    display: flex;
    align-items: center; /* Alinea verticalmente el contenido */
    margin-bottom: 20px; /* Agrega un margen inferior */
}

.image-container {
    width: 30%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    margin-right: 20px; /* Cambia a margen derecho para separación */
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 70%;
}

.text-container h4 {
    color: #323337;
    font-family: 'Roboto-Slab';
    font-weight: bold;
}

.text-container p {
    margin: 10px 0;
    color: #323337;
    font-size: 18px; /* Ajusta el tamaño de fuente para móviles */
    font-family: 'Roboto-Slab';
}

.btn-2 {
    display: inline-block;
    padding: 11px 35px;
    background: #2b8536;
    color: #FFFDFC;
    border-radius: 25px;
    font-size: 16px; /* Ajusta el tamaño de fuente para móviles */
    margin-top: 15px; /* Reducir margen en dispositivos móviles */
}
/* Seccion Mapa */

/* Footer */
.footer {
    background-color: #2b8536;
    padding: 80px 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-p {
    font-size: 16px;
}

.footer-links {
    width: 25%;
    padding: 0 10px;
}

.footer-links h4 {
    font-size: 18px;
    color: #E8E8E8;
    margin-bottom: 25px;
    font-weight: 500;
    border-bottom: 2px solid #E8E8E8;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links ul li a {
    font-size: 14px;
    text-decoration: none;
    color: #E8E8E8;
    display: block;
    margin-bottom: 15px;
    transition: all .3s ease;
}

.footer-links ul li a:hover {
    color: #FFFFFF;
    padding-left: 6px;
}

.social-links a {
    display: inline-block;
    min-height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    border-radius: 50%;
    color: #FFFFFF;
    transition: all .5s ease;
}

.social-links a i { 
    margin-top: 10px;
}

.social-links a:hover {
    background-color: #123c17;
}

.footer-copy {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #E8E8E8;
}

.footer-copy p {
    color: #E8E8E8;
    font-size: 14px;
    margin: 0;
    text-align: left;
}
/* Footer */

/* Media Queries Responsive*/
@media (max-width: 768px) {

    /* Header */
    .menu .navbar ul {
        display: none; /* Esconde el menú en pantallas pequeñas */
        flex-direction: column; /* Cambia a columna */
    }

    .menu label {
        display: block; /* Muestra el ícono del menú */
    }

    #menu:checked + label + .navbar ul {
        display: flex; /* Muestra el menú cuando está chequeado */
    }

    .header-content {
        padding: 50px 10px; /* Reduce el espaciado en pantallas pequeñas */
        flex-direction: column; /* Cambia a columna */
        align-items: center; /* Centra los elementos */
        text-align: center; /* Centra el texto */
        margin-top: 100px;
    }

    .header-txt {
        width: 100%; /* Ocupar el ancho completo */
        padding-right: 0; /* Elimina el padding derecho */
    }

    .header-content h1 {
        font-size: 36px; /* Reduce el tamaño del título */
        line-height: 50px; /* Reduce el line-height */
        margin-bottom: 20px; /* Reduce el margen inferior */
        margin-top: 100px;
    }

    p {
        font-size: 16px; /* Reduce el tamaño del texto */
    }

    .btn-1 {
        padding: 10px 20px; /* Reduce el padding del botón */
        font-size: 16px; /* Reduce el tamaño del texto del botón */
    }
    /* Header */

    /* Video */
    .separator {
        margin: 0 20px; /* Ajusta el margen horizontal */
        font-size: 16px; /* Reduce el tamaño de fuente */
    }

    .video-img, .video-img-izq {
        width: 100px; /* Reduce el tamaño de las imágenes */
        height: 100px;
    }

    .video-title {
        font-size: 28px; /* Reduce el tamaño del título del video */
    }

    iframe {
        height: 200px; /* Reduce la altura del video en móviles */
    }
    /* Video */

    /* Cards */
    .cards-title h3 {
        font-size: 30px; /* Reduce el tamaño de fuente en pantallas pequeñas */
    }

    .card {
        width: 80%; /* Las tarjetas ocuparán el 80% del ancho en pantallas pequeñas */
        height: 200px;
        max-width: 300px; /* Establece un ancho máximo para las tarjetas */
        margin: 10px auto; /* Centra las tarjetas */
    }
    /* Cards */

    /* Steps */
    .steps {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .steps-title h3 {
        margin-top: 15px;
        font-size: 18px;
        font-weight: bold;
    }

    .step-num {
        width: 50px;
        height: 65px;
    }

    .step-num2 {
        width: 50px;
        height: 65px;
    }

    .step-img {
        display: none;
    }

    .cuadradoIzq p{
        font-size: 15px;
    }

    .cuadradoDer p{
        font-size: 15px;
    }
    /* Steps */

    /* Gallery */
    .gallery-title h3 {
        font-size: 18px;
        font-weight: bold;
    }

    .slider-wrapper .slide-button {
        display: none!important;
    }

    .slider-wrapper .image-list {
        gap: 10px;
        margin-bottom: 15px;
    }

    .slider-wrapper .image-list .image-item {
        width: 280px;
        height: 380;
    }

    .slider-scrollbar .scrollbar-thumb {
        width: 20px;
    }
    /* Gallery */

    /* Greentorch */
    .greentorch-img{
        display: none;
    }
    /* Greentorch */

    /* Cards2 */
    .card2 {
        flex-direction: column; /* Cambiar a columna en pantallas pequeñas */
        align-items: flex-start; /* Alinear los elementos al comienzo */
        height: auto; /* Dejar que la altura se ajuste automáticamente */
        width: 90%;
        margin-left: 25px;
    }

    .card2 img {
        margin-bottom: 10px; /* Espaciado inferior para la imagen */
    }
    /* Cards2 */

    /* Maps */
    .left-column, .right-column {
        width: 100%; /* Columnas ocupan el 100% en pantallas pequeñas */
    }

    .upper-right {
        flex-direction: column; /* Cambia a columna para móviles */
        align-items: flex-start; /* Alinea el contenido a la izquierda */
    }

    .image-container {
        width: 100%; /* Imagen ocupa el 100% */
        margin-bottom: 10px; /* Espacio entre imagen y texto */
    }

    .text-container {
        width: 100%; /* Texto ocupa el 100% */
    }

    .footer-row {
        text-align: center;
    }

    .footer-links {
        width: 100%;
        margin-bottom: 30px;
    }

    .left-column, .right-column {
        width: 100%;
    }

}

@media (max-width: 480px) {
    .cards-title h3 {
        font-size: 24px; /* Reduce aún más el tamaño de fuente para móviles */
    }

    .card h4 {
        font-size: 18px; /* Reduce el tamaño del título de la tarjeta */
    }

    .card p {
        font-size: 14px; /* Reduce el tamaño del texto del párrafo */
    }
}