/* Media Queries */
@media (max-width: 991.98px) {
    .navbar-collapse {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-link {
        padding: .5rem 1rem;
        width: 100%;
        text-align: center;
    }

    .carousel-caption {
        bottom: 20%;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption h4 {
        font-size: 1rem;
    }

    .btn {
        padding: .5rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand h1 {
        font-size: 1.25rem;
    }

    .carousel-caption {
        bottom: 10%;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption h4 {
        font-size: 0.875rem;
    }

    .btn {
        padding: .25rem .5rem;
    }

    .destination-item img {
        height: 200px;
    }

    .destination-overlay h5 {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand h1 {
        font-size: 1rem;
    }

    .carousel-caption h1 {
        font-size: 1.25rem;
    }

    .carousel-caption h4 {
        font-size: 0.75rem;
    }

    .btn {
        padding: .25rem .5rem;
    }

    .destination-item img {
        height: 150px;
    }

    .destination-overlay h5 {
        font-size: 0.875rem;
    }
}


/* Adaptar videos vertical*/
.video-container {
    position: relative;
    padding-bottom: 177.78%; /* 16:9 aspect ratio for vertical videos */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    
}

.video-container iframe {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%; /* Increase height to crop top and bottom */
    border: 0;
}



.btn-next {
    
    margin-left: 85%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #7AB730; /* Color verde */
    color: white;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Añadir sombra para mejor visibilidad */
    text-decoration: none; /* Eliminar subrayado */
}

.btn-next:active {
    background-color: #000000; /* Verde más oscuro al hacer clic */
    color: white; /* Mantener el color del texto blanco */
}

.btn-next:focus, 
.btn-next:visited, 
.btn-next:hover {
    text-decoration: none; /* Asegurarse de que no haya subrayado en estos estados */
    color: white; /* Asegurarse de que el color del texto se mantenga blanco */
}

.btn-next-container1 {
    display: none; /* Ocultar el botón por defecto */
}

.btn-next1 {
    margin-left: 85%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #7AB730; /* Color verde */
    color: white;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Añadir sombra para mejor visibilidad */
    text-decoration: none; /* Eliminar subrayado */
}

.btn-next1:active {
    background-color: #000000; /* Verde más oscuro al hacer clic */
    color: white; /* Mantener el color del texto blanco */
}

.btn-next1:focus, 
.btn-next1:visited, 
.btn-next1:hover {
    text-decoration: none; /* Asegurarse de que no haya subrayado en estos estados */
    color: white; /* Asegurarse de que el color del texto se mantenga blanco */
}










/*Descripcion con marcadores de tiempo*/
.description-container {
    text-align: left;
    margin-top: 20px;
}

.description-container a.timestamp {
    color: #007bff;
    text-decoration: none;
}

.description-container a.timestamp:hover {
    text-decoration: underline;
}

/* Reducir el espacio entre secciones */
.container-fluid.py-3, .container.pt-3.pb-3 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.text-center.mb-3.pb-3 {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.service-item {
    display: flex;
    align-items: start; /* Alinear los elementos en la parte superior */
    position: relative;
}
.service-item1 {
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenido dentro de .service-item */
    align-items: center;     /* Centra verticalmente el contenido dentro de .service-item */
    text-align: center;      /* Asegura que el texto dentro de .service-item esté centrado */

}
.service-item2 {
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenido dentro de .service-item */
    align-items: center;     /* Centra verticalmente el contenido dentro de .service-item */
    text-align: center;      /* Asegura que el texto dentro de .service-item esté centrado */

}
.fa-route {
   top: 27px;
    right: 0; /* Ajusta la posición horizontal del ícono */
    margin: 22px; /* Añade un margen para que el ícono no esté pegado al borde */
}
.fa-route1 {
    top: 31px;
     right: -150px; /* Ajusta la posición horizontal del ícono */
     margin: 22px; /* Añade un margen para que el ícono no esté pegado al borde */
 }

.service-item i {
    margin-left: 0px; /* Espacio entre el texto y el ícono */
    align-self: start; /* Asegura que el ícono se alinee en la parte superior */
}

.service-item1 i {
    margin-left: 0px; /* Espacio entre el texto y el ícono */
    align-self: start; /* Asegura que el ícono se alinee en la parte superior */
}

.service-item2 i {
    margin-left: 0px; /* Espacio entre el texto y el ícono */
    align-self: start; /* Asegura que el ícono se alinee en la parte superior */
}
.read-more {
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.more-text {
    padding-left: 5px; /* Espacio entre el texto y el borde derecho */
    box-sizing: border-box; /
}

/* Estilo para el contenedor del carrusel */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav .owl-prev {
    left: 0;
}

.owl-carousel .owl-nav .owl-next {
    right: 0;
}

/* Opcional: Personalizar los íconos de las flechas */
.owl-carousel .owl-nav .owl-prev i,
.owl-carousel .owl-nav .owl-next i {
    font-size: 20px;
    color: #333;
}

/* Estilo para ocultar flechas en dispositivos pequeños */
@media (max-width: 768px) {
    .owl-carousel .owl-nav {
        display: none;
    }
}

/* CUADRADO DE PREGUNTA */

.service-item1 {
    background-color: #7AB730; /* Fondo verde */
    cursor: pointer; /* Indica que es clicable */
    border-radius: 0; /* Bordes cuadrados */
    margin-bottom: 0; /* Eliminar cualquier margen inferior */
}

.service-item2 {
    background-color: #000000; /* Fondo verde */
    cursor: pointer; /* Indica que es clicable */
    border-radius: 0; /* Bordes cuadrados */
    margin-bottom: 0; /* Eliminar cualquier margen inferior */
}

.titulo h5 {
    color: white; /* Asegura que las letras del h5 sean blancas */
    text-align: center;
}



.titulo h5 {
    margin: 0; /* Elimina márgenes por defecto del h5 para un centrado más preciso */
}
.additional-text {
    display: none;
    background-color: white; /* Fondo blanco */
    color: black; /* Letras negras */
    padding: 10px;
    border-radius: 0; /* Bordes cuadrados */
    height: 200px; /* Altura específica para el cuadro blanco */
    overflow-y: auto; /* Habilita el scroll vertical */
    margin-top: -1px; /* Eliminar cualquier margen entre el cuadro verde y el blanco */
    position: relative; /* Asegura que el cuadro blanco esté justo debajo del cuadro verde */
    text-align: justify;
}

/* Personalización del combo box */
.select-container {
    margin: 20px 0;
}

.custom-select {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-select:focus {
    border-color:#7AB730;
    outline: 0;
   
}

.custom-select:hover {
    border-color: #7AB730; 
}

/* Custom styling for the video container */
.video-frame-container {
    position: relative;
    padding-bottom: 177.78%; /* 16:9 aspect ratio for vertical videos */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-frame-container iframe {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%; /* Increase height to crop top and bottom */
    border: 0;
}

.more-text p {
    text-align: justify;
    
}
.icon-container {
    display: flex;
    justify-content: center; /* Centra horizontalmente (opcional si también deseas centrar horizontalmente) */
    align-items: center; /* Centra verticalmente */
    height: 100px; /* Ajusta la altura del contenedor según sea necesario */
}
.icon-img {
    width: 70px; /* Ajusta el tamaño del icono */
    height: 70px; /* Ajusta el tamaño del icono */
    object-fit: contain; /* Asegura que la imagen se ajuste sin distorsionarse */
    margin-top: 13px;
    display: block; /* Asegura que la imagen se comporte como un bloque */
}

.m-0{
    text-align: justify;
    padding-left: 10px;
}

.m-2 {
    padding-right: 60px;
 
}

.titulos {
    margin-bottom: -70px;
}


