@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container:100px 0;
    --color-title: #001a49;
}
 
 html {
    scroll-behavior: smooth;
 }   
 body{
    font-family: 'Poppins', sans-serif;
    
 }

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero{
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color:azure;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #00000021 100%), url('../images/fotoc1.jpeg');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}

/*nav*/
.nav{
    --padding-container: :600px;
    height: 100px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    }

.nav__title{
    font-weight: 900;
    filter: drop-shadow(3px 3px 1px #000);
    position: fixed;
}

.nav__link{
    font-size: large;
    font-weight: 600;
    margin-left: auto;
    padding: 10px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
    position: fixed;
    right: 30px;
    z-index: 1;
    filter: drop-shadow(3px 3px 1px #000);
}

.nav__items{
    list-style: none;
}

.nav__links{
    color: aliceblue;
    text-decoration: none;

}

.nav__menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
    position: fixed;
    right: 10px;
    filter: drop-shadow(3px 3px 1px #000);
    z-index: 1;
}

.nav__img{
    display: block;
    width: 30px;
}

.nav__close{
    display: var(--show, none);
}

/* Hero container */

.hero__container{
    max-width: 800px;
    --padding-container:0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}
.hero__title{
    font-size: 3rem
}

.hero__paragraph{
    margin-bottom: 20px;
}

   /* Botones CTA optimizados y cool */
/* Estilos base del botón */
.cta {
    display: inline-flex; /* Usa flexbox para alinear contenido */
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: center; /* Centra el contenido horizontalmente */
    background: linear-gradient(135deg, var(--color-title), darken(var(--color-title), 10%)); /* Gradiente sutil */
    color: var(--color-text-light); /* Color del texto */
    padding: 1.2rem 3rem; /* Padding más grande para mejor apariencia */
    border-radius: var(--border-radius-lg); /* Bordes redondeados */
    text-decoration: none; /* Sin subrayado */
    transition: all var(--transition-base); /* Transición suave */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra mejorada */
    border: 2px solid transparent; /* Borde transparente */
    min-width: 220px; /* Ancho mínimo */
    max-width: 500px; /* Ancho máximo */
    position: relative; /* Para efectos adicionales */
    overflow: hidden; /* Para efectos adicionales */
    margin: 0 auto; /* Centra el botón horizontalmente */
    display: block; /* Cambia a bloque para centrar con margen */
    text-align: center; /* Centra el texto dentro del botón */
}

/* Efecto hover */
.cta:hover {
    transform: translateY(-3px); /* Eleva el botón ligeramente */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Aumenta la sombra */
    background: linear-gradient(135deg, darken(var(--color-title), 10%), var(--color-title)); /* Invierte el gradiente */
}

/* Efecto activo (clic) */
.cta:active {
    transform: translateY(0); /* Vuelve a la posición original */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Restaura la sombra */
}

/* Efecto de brillo al hover */
.cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

.cta:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Asegura que el texto esté por encima del efecto de brillo */
.cta span {
    position: relative;
    z-index: 2;
}
/* Estilos base del ctaboton */
.ctaboton {
    display: inline-flex; /* Usa flexbox para alinear contenido */
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: center; /* Centra el contenido horizontalmente */
    background: linear-gradient(135deg, var(--color-title), darken(var(--color-title), 10%)); /* Gradiente sutil */
    color: var(--colo); /* Color del texto */
    padding: 1.2rem 3rem; /* Padding más grande para mejor apariencia */
    border-radius: var(--border-radius-lg); /* Bordes redondeados */
    text-decoration: none; /* Sin subrayado */
    transition: all var(--transition-base); /* Transición suave */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra mejorada */
    border: 2px solid transparent; /* Borde transparente */
    min-width: 220px; /* Ancho mínimo */
    max-width: 500px; /* Ancho máximo */
    position: relative; /* Para efectos adicionales */
    overflow: hidden; /* Para efectos adicionales */
    margin: 0 auto; /* Centra el botón horizontalmente */
    display: block; /* Cambia a bloque para centrar con margen */
    text-align: center; /* Centra el texto dentro del botón */
}

/* Efecto hover */
.ctaboton:hover {
    transform: translateY(-3px); /* Eleva el botón ligeramente */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Aumenta la sombra */
    background: linear-gradient(135deg, darken(var(--color-title), 10%), var(--color-title)); /* Invierte el gradiente */
}

/* Efecto activo (clic) */
.ctaboton:active {
    transform: translateY(0); /* Vuelve a la posición original */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Restaura la sombra */
}

/* Efecto de brillo al hover */
.ctaboton::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

.ctaboton:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Asegura que el texto esté por encima del efecto de brillo */
.ctaboton span {
    position: relative;
    z-index: 2;
}
 
/* Estilos base del botón */
.wave-btn {
    position: relative; /* Permite posicionar elementos hijos de manera absoluta */
    padding: 15px 30px; /* Espaciado interno */
    font-size: 1.2rem; /* Tamaño de la fuente */
    font-weight: bold; /* Grosor de la fuente */
    color: #fff; /* Color del texto */
    background: linear-gradient(45deg, #00bcd4, #0097a7); /* Fondo degradado (azul claro a azul oscuro) */
    border: none; /* Sin borde */
    border-radius: 10px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor a una mano al pasar sobre el botón */
    overflow: hidden; /* Oculta el desbordamiento de la ola */
    outline: none; /* Elimina el contorno predeterminado al hacer clic */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
    transition: all 0.3s ease; /* Transición suave para efectos hover y active */
}

/* Texto del botón */
.wave-btn__text {
    position: relative; /* Permite superponer el texto sobre la ola */
    z-index: 2; /* Asegura que el texto esté por encima de la ola */
    transition: transform 0.3s ease; /* Transición suave para el efecto hover */
}

/* Efecto de ola */
.wave-btn__wave {
    position: absolute; /* Posiciona la ola dentro del botón */
    top: 100%; /* Inicia la ola debajo del botón */
    left: 0; /* Alinea la ola en la parte izquierda */
    width: 100%; /* Ancho completo del botón */
    height: 100%; /* Alto completo del botón */
    background: rgba(255, 255, 255, 0.5); /* Color de la ola (blanco semitransparente) */
    border-radius: 50%; /* Forma circular para la ola */
    transform: translateY(0) scale(0); /* Inicia la ola en tamaño 0 y fuera de vista */
    transition: transform 0.5s ease; /* Transición suave para la animación de la ola */
    z-index: 1; /* Coloca la ola detrás del texto */
}

/* Efecto hover (al pasar el cursor) */
.wave-btn:hover {
    transform: translateY(-3px); /* Eleva el botón ligeramente */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Aumenta la sombra para dar profundidad */
}

.wave-btn:hover .wave-btn__text {
    transform: translateY(-2px); /* Eleva el texto ligeramente */
}

.wave-btn:hover .wave-btn__wave {
    transform: translateY(-100%) scale(2); /* Mueve la ola hacia arriba y la escala */
}

/* Efecto activo (al hacer clic) */
.wave-btn:active {
    transform: scale(0.95); /* Reduce ligeramente el tamaño del botón */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduce la sombra para dar retroalimentación */
}

/*About*/
/* Estilos generales */
.about-us {
    padding: 50px 20px; /* Más padding para un look más espacioso */
    text-align: center;
    background-color: #f8fcfb; /* Fondo claro para contraste */
}

.subtitle__p {
    font-size: 2.5rem; /* Título más grande */
    font-weight: 700;
    margin-bottom: 40px;
    color: #2c3e50; /* Tono más oscuro y elegante */
    letter-spacing: 1px;
}

/* Contenedor principal */
.about__main {
    display: grid; /* Cambié a grid para mejor control */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Más responsivo */
    gap: 30px; /* Más espacio entre tarjetas */
    max-width: 1200px; /* Limita el ancho máximo */
    margin: 0 auto; /* Centrado */
}

/* Estilo de cada tarjeta */
.about__icons {
    position: relative;
    width: 100%; /* Ajustado para grid */
    height: 400px; /* Altura fija */
    overflow: hidden;
    border-radius: 15px; /* Bordes más redondeados */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* Transiciones más suaves */
    background-color: #014219; /* Fondo blanco para consistencia */
}

.about__icons:hover {
    transform: translateY(-10px); /* Elevación al hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Imagen */
.about__icon {
    width: 80%; /* Imagen más pequeña (80% del ancho) */
    height: 80%; /* Imagen más pequeña (80% de la altura) */
    object-fit: cover; /* Mantiene proporciones */
    border-radius: 50%; /* Imagen redondeada */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrada en la tarjeta */
    transition: transform 0.4s ease;
}

.about__icons:hover .about__icon {
    transform: translate(-50%, -50%) scale(1.05); /* Zoom sutil al hover */
}

/* Título (nombre y rol) sobre la imagen */
.about__title {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%); /* Centrado horizontalmente */
    color: white;
    font-size: 22px; /* Ligeramente más grande */
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* Sombra más definida */
    margin: 0;
    transition: opacity 0.3s ease;
    z-index: 1; /* Asegura que esté sobre la imagen */
}

/* Párrafo oculto inicialmente */
.about__paragraph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9)); /* Degradado */
    color: white;
    padding: 25px;
    box-sizing: border-box;
    margin: 0;
    font-size: 16px;
    line-height: 1.6; /* Mejor legibilidad */
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: center; /* Centra el texto verticalmente */
    text-align: center;
}

/* Efecto hover */
.about__icons:hover .about__paragraph {
    opacity: 1;
    transform: translateY(0);
}

.about__icons:hover .about__title {
    opacity: 0; /* Oculta el título al mostrar el párrafo */
}

/* Botón */
.ctaboton {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 25px;
    background-color: #014219;
    color: white;
    text-decoration: none;
    border-radius: 25px; /* Más redondeado */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ctaboton:hover {
    background-color: #4ad9a5;
    transform: scale(1.05); /* Efecto sutil al hover */
}

/* Media query para pantallas pequeñas */
@media (max-width: 600px) {
    .subtitle__p {
        font-size: 1.8rem;
    }

    .about__icons {
        height: 350px; /* Altura reducida en móviles */
    }

    .about__title {
        font-size: 18px;
        bottom: 20px;
    }

    .about__paragraph {
        font-size: 14px;
        padding: 20px;
    }

    .ctaboton {
        padding: 10px 20px;
    }
}
/*Knowledge*/
.knowledge{
    padding: 10px;
    margin: 10px;
    background-image: linear-gradient(180deg, #00000027 0%, #000000e8 100%), url('../images/fotoa2.jpeg');
    background-size: cover;
    overflow: hidden;
    text-align: center;
    border-radius: 20px; 

}
.subtitle1{
    text-align: center;
    color: rgb(255, 255, 255);
    padding: 12px;
    margin-top: 10px;
    margin-bottom: 20px;

}


.knowledge__container{
    padding: 10px;
    margin: auto;
    display: inline;
    width: 90%;
    gap: 1em;
    overflow: hidden;  
}

.knowledge__picture{
    max-width: 40px;
    display: inline;
    flex-wrap: wrap;
    
}

.knowledge__paragraph{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    line-height: 1.7;
    font-size: larger;
    margin: 10px;
    color: aliceblue;
}
/*Adventures*/
/* Estilos para la sección */
.price.container {
    padding: 50px 15px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #cee9e9 100%);
}

/* Título de la sección */
.subtitle {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #1a3c5a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Contenedor de las tarjetas */
.price__table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Estilo de cada tarjeta */
.price__element {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    background: #fff;
}

.price__element:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Imagen */
.price__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.price__element:hover .price__image {
    transform: scale(1.06);
    filter: brightness(1);
}

/* Contenedor del overlay */
.price__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1));
    color: #fff; /* Cambié a color explícito para evitar conflictos */
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

/* Título integrado en la imagen */
.price__title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
    box-sizing: border-box;
}

/* Descripción dentro del overlay */
.price__description {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 300;
    max-width: 90%;
    opacity: 0.9;
    transition: opacity 0.4s ease, transform 0.4s ease; /* Simplificado */
    transform: translateY(10px);
}

/* Botón dentro del overlay */
.price__cta {
    display: inline-block;
    padding: 10px 20px;
    background: #1a3c5a;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.price__cta:hover {
    background: #2f6d8c;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Efecto hover */
.price__element:hover .price__overlay {
    opacity: 1;
    transform: translateY(0);
}

.price__element:hover .price__title {
    opacity: 0;
    transform: translateY(15px);
}

.price__element:hover .price__description {
    opacity: 1;
    transform: translateY(0);
}

/* Media query para pantallas pequeñas */
@media (max-width: 600px) {
    .subtitle {
        font-size: 1.8rem;
    }

    .price__element {
        height: 250px;
    }

    .price__title {
        font-size: 18px;
        padding: 8px 15px;
    }

    .price__description {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .price__cta {
        padding: 8px 18px;
    }

    .price__table {
        gap: 15px;
    }
}
/* Testimony */

.testimony{
    background-color: #4ad9a5;
    box-shadow: rgb(50, 50, 93, 0.25) 0px 6px 12px -12px, rgb(0, 0, 0.3) 0px 3px 7px -3px;
    border-radius:40px;
    max-width: 900px;
    max-height: 900px;
    text-align: center;
    margin: auto;
    

}
.testimony__logo{
    width: 250px;
    height: 40px;
    margin-top:20px;
}
.Trip{
    color: #f4f8ff;
}
.testimony__container{
    padding-top: 1px;
    padding-bottom: 30px;
    display: grid;
    grid-template-columns: 35px 1fr 35px;
    gap: 5em;
    align-items: center;
    

    
}

.testimony__body{
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
    
}


.testimony__body--show{
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.testimony__img{
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}
.subtitle__t{
    font-size: x-large;
}
.testimony__texts{
    max-width: 700px;
    font: 1em sans-serif;
}
.testimony__course{
    border-radius: 9px;
}

.testimony__review{
    font-style:oblique;
    font-weight: 600;
    color: #101314;
}
.testimony__trip{
    font-size: 17px;
    font-weight:bolder;
}
.testimony__date{
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #4d5054;
}

.testimony__course{
    background-color: rgb(2, 2, 3);
    color: #fff;
    display: inline-block;
    padding: 5px;
}

.testimony__arrow{
    margin: 2px;
    width: 90%;
    cursor: pointer;
   
    border-radius: 160px;
    
}
.testimony__arrow:hover{
    size: 1cap;
    box-shadow: rgba(0, 0, 0, 0.935) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
 transition: .4s;
    
}
/* Questions */
.questions__container {
    max-width: 1000px;
    margin: 0 auto; /* Centrado horizontal del contenedor */
    padding: 2rem 1rem;
    background: #f8f9fa; /* Fondo claro y neutro */
    border-radius: 12px;
    display: flex; /* Usamos flex para centrar verticalmente */
    flex-direction: column;
    align-items: center; /* Centra elementos hijos horizontalmente */
}

.questions__padding {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
    max-width: 800px; /* Limita el ancho para mejor legibilidad */
    text-align: center; /* Centra el texto dentro */
}

.questions__padding--add {
    padding-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.questions__title {
    display: flex;
    justify-content: space-between; /* Mantiene el texto y la flecha separados */
    align-items: center;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif; /* Consistente con el resto del sitio */
    color: #212529; /* Negro suave para alto contraste */
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto; /* Centra el título dentro del contenedor */
    width: 100%; /* Ocupa todo el ancho del padre */
    text-align: left; /* Alinea el texto a la izquierda, pero el contenedor está centrado */
}

.questions__title:hover {
    background: #e9ecef;
    color: #4ad9a5;
    transform: translateY(-2px);
}

.questions__arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Evita que la flecha se deforme */
}

.questions__arrow--rotate {
    transform: rotate(180deg);
}

.questions__answer {
    height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    font-family: 'Poppins', sans-serif; /* Consistente con el resto del sitio */
    color: #343a40; /* Gris oscuro legible */
    background: #ffffff;
    transition: height 0.3s ease;
    text-align: left; /* Alinea el texto a la izquierda para legibilidad */
    width: 100%; /* Ocupa todo el ancho disponible */
}

.questions__padding--add .questions__answer {
    padding: 1.5rem; /* Espacio interno al abrir */
    height: auto; /* Asegura que todo el contenido sea visible */
}

.questions__answer ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto; /* Centra la lista horizontalmente */
    width: 100%; /* Asegura que ocupe el ancho disponible */
}

.questions__answer li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    line-height: 1.5;
    text-align: left; /* Alineación izquierda para consistencia */
}

.questions__answer li:before {
    content: '✔'; /* Viñeta de check */
    position: absolute;
    left: 0;
    color: #4ad9a5; /* Verde visible */
}

/* Resaltar texto en negrita */
.questions__answer strong {
    color: #043001; /* Verde oscuro para destacar */
    font-weight: 700;
}

/* Efecto al abrir */
.questions__padding--add .questions__title {
    background: #4ad9a5;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
    align-content: center;
    border-color: #4ad9a5;
}

/* Ajuste para la flecha */
.questions__img {
    transition: filter 0.3s ease;
}

.questions__padding--add .questions__title .questions__img {
    filter: brightness(0) invert(1); /* Flecha blanca al abrir */
}

/* Responsividad */
@media (max-width: 768px) {
    .questions__container {
        padding: 1.5rem 0.5rem; /* Reduce padding en pantallas pequeñas */
    }

    .questions__padding {
        max-width: 100%; /* Ocupa todo el ancho en móviles */
    }

    .questions__title {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .questions__answer {
        font-size: 0.95rem;
    }

    .questions__padding--add .questions__answer {
        padding: 1rem;
    }

}
/* Questions Container */
.questions__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.questions__padding {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.questions__padding--add {
    padding-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.questions__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    color: #212529;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.questions__title:hover {
    background: #e9ecef;
    color: #4ad9a5;
    transform: translateY(-2px);
}

.questions__arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.questions__arrow--rotate {
    transform: rotate(180deg);
}

.questions__answer {
    height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    font-family: 'Poppins', sans-serif;
    color: #343a40;
    background: #ffffff;
    transition: height 0.3s ease, padding 0.3s ease;
    text-align: left;
    width: 100%;
}

.questions__padding--add .questions__answer {
    padding: 1.5rem;
    height: auto;
}

.questions__answer ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
    width: 100%;
}

.questions__answer li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    line-height: 1.5;
    text-align: left;
}

.questions__answer li:before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #4ad9a5;
}

.questions__answer strong {
    color: #043001;
    font-weight: 700;
}

.questions__padding--add .questions__title {
    background: #4ad9a5;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
    border-color: #4ad9a5;
}

.questions__img {
    transition: filter 0.3s ease;
}

.questions__padding--add .questions__title .questions__img {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .questions__container {
        padding: 1.5rem 0.5rem;
    }

    .questions__padding {
        max-width: 100%;
    }

    .questions__title {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .questions__answer {
        font-size: 0.95rem;
    }

    .questions__padding--add .questions__answer {
        padding: 1rem;
    }
}

/* Questions Offer */
.questions__offer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.questions__offer .subtitle {
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a3c5a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.questions__offer .questions__copy {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #343a40;
    margin-bottom: 1.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.questions__offer .ctaboton {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #4ad9a5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.questions__offer .ctaboton:hover {
    background: #3ab88a;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .questions__offer {
        padding: 1.5rem 0.5rem;
    }

    .questions__offer .subtitle {
        font-size: 1.5rem;
    }

    .questions__offer .questions__copy {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .questions__offer .ctaboton {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Footer */

.footer{
    background-color: var(--color-title);
}

.footer__title{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer__title, .footer__newsletter{
    color: #fff;
}


.footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
}

.nav--footer{
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav__link--footer{
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.footer__inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

.footer__input{
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;
}

.footer__submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px ;
    background-color: #4ad9a5;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
}

.footer__copyright{
    font-weight: 300;
    font-style: italic;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 100;
    color: #4d5054;
}

.footer__icons{
    margin-bottom: 10px;
}

.footer__img{
    width: 30px;
}
/* Media queries */

@media (max-width:900px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: var(--color-title);
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;

    }

    .nav__link--show{
        --show: block;
        opacity: 1;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }
    .hero__title{
        font-size: 2.5rem;
    }


    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }


    .knowledge__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge__picture{
        grid-row: 1/2;
        justify-self: center;
    }
    .testimony{
        margin: 90px;
    }
    .testimony__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items:center ;
    }


    .testimony__img{
        width: 200px;
        height: 200px;
        
    }

    .questions__copy{
        width: 100%;
    }

    .footer__container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input{
        flex: 1;
    }

}

@media (max-width:600px){
    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

    .price__element{
        width: 99%;
    }

    .price__element--best{
        width: 90%;
        /* padding: 40px; */
    }
    .price__imagee{
        border-radius: 50px;
        width: 320px;
        padding: 20px;
        margin-bottom: 10px;   
         
        
    }
    .testimony{
        font-size: small;
        max-width: 350px;
        max-height: 450px;
        align-items: center;
        margin: auto;
        
    }
    .testimony__logo{
        align-self: center;
        width: 190px;
        height: 30px;
        margin-top: 10px;
        padding: 0%;
    }
    .testimony__container{
        grid-template-columns: 18px 1fr  18px;
        gap: .7em;
        align-items: center;
    }
    .testimony__review{
        font-size: smaller;
        align-self: center;
    }

    .testimony__arrow{
        width: 100%;
    }

    .testimony__course{
        margin-top: 15px;
    }
    .testimony__img{
        width: 70px;
        height: 70px;
    }
    .questions__title{
        font-size: 1rem;
    }

    .footer__title{
        justify-self: start;
        margin-bottom: 15px;
    }

    .nav--footer{
        padding-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }

    .footer__input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }
    }
    .footer__submit{
        margin-right: auto;
        margin-left: 0;
        
    }
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

    :root {
        --padding-container: 100px 0;
        --color-title: #001a49;
        --color-text-light: #ffffff;
        --transition-base: 0.3s ease-in-out;
        --shadow-light: 0 2px 5px -1px rgba(4, 4, 136, 0.25);
        --shadow-dark: 0 1px 3px -1px rgba(0, 0, 0, 0.3);
        --border-radius-lg: 40px;
        --border-radius-md: 25px;
    }
    
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 100px;
    }
    
    body {
        font-family: 'Poppins', sans-serif;
        line-height: 1.6;
    }
    
    /* Optimización de contenedores */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: var(--padding-container);
    }
    
    /* Sección Hero mejorada */
    .hero {
        position: relative;
        height: 100vh;
        min-height: 600px;
        max-height: 800px;
        display: grid;
        grid-template-rows: 100px 1fr;
        color: var(--color-text-light);
        overflow: hidden;
    }
    
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(180deg, #0000008c 0%, #00000021 100%), 
                        url('../images/fotoc1.jpeg');
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
        z-index: -1;
    }
    
    /* Navegación responsive mejorada */
    .nav {
        height: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 2rem;
        position: relative;
    }
    
    .nav__title {
        font-weight: 900;
        filter: drop-shadow(3px 3px 1px #000);
        z-index: 100;
    }
    
    .nav__link {
        display: flex;
        gap: 2em;
        font-weight: 600;
    }
    
    .nav__links {
        color: var(--color-text-light);
        text-decoration: none;
        transition: color var(--transition-base);
    }
    
    .nav__links:hover {
        color: #4ad9a5;
    }
    
 

/* Efecto de brillo/reflejo */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(0);
    transition: all var(--transition-base);
}

.cta:hover::before {
    transform: translateX(100%);
}

/* Opcional: Icono (ejemplo usando un emoji) */
.cta::after {
    content: '→'; /* O usa un icono SVG o fuente de iconos */
    margin-left: 1rem;
    transition: margin-left var(--transition-base);
}

.cta:hover::after {
    margin-left: 1.5rem;
}
    
    /* Sección de precios mejorada */
    .price__element {
        border-radius: var(--border-radius-md);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform var(--transition-base);
        overflow: hidden;
    }
    
    .price__element:hover {
        transform: translateY(-5px);
    }
    
    .price__imagee {
        width: 60%;
        height: 250px;
        object-fit: cover;
        transition: transform var(--transition-base);
    }
    
    .price__imagee:hover {
        transform: scale(1.05);
        width: 70%;
        height: 450px;
    }
    
    /* Testimonios accesibles */
    .testimony {
        background-color: #4ad9a5;
        border-radius: var(--border-radius-md);
        position: relative;
        overflow: hidden;
    }
    
    .testimony__body--show {
        animation: fadeIn 1s ease-in-out;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateX(20px); }
        to { opacity: 1; transform: translateX(0); }
    }
    
    /* Formulario optimizado */
    .footer__form {
        display: grid;
        gap: 1rem;
        max-width: 500px;
    }
    
    .footer__input, .footer__submit {
        width: 100%;
        padding: 0.8rem;
        border-radius: var(--border-radius-md);
        transition: all var(--transition-base);
    }
    
    .footer__input:focus {
        outline: 2px solid var(--color-title);
        box-shadow: 0 0 10px rgba(0, 26, 73, 0.2);
    }
    
    /* Media Queries reorganizadas */
    @media (max-width: 1024px) {
        :root {
            --padding-container: 50px 0;
        }
        
        .hero::before {
            clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 95%, 0 90%);
        }
        
        .nav__link {
            position: fixed;
            flex-direction: column;
            background: var(--color-title);
            width: 100%;
            height: 100vh;
            top: 0;
            left: -100%;
            transition: left 0.5s ease;
            padding-top: 100px;
        }
        
        .nav__link--show {
            left: 0;
        }
    }
    
    @media (max-width: 768px) {
        .hero__title {
            font-size: 2rem;
        }
        
        .price__element {
            width: 100%;
            margin-bottom: 2rem;
        }
        
        .testimony__container {
            padding: 1rem;
        }
    }
    
    /* Animaciones de carga perezosa */
    @media (prefers-reduced-motion: no-preference) {
        [data-lazy] {
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        [data-lazy="loaded"] {
            opacity: 1;
        }
        .footer__form {
            max-width: 400px;
            margin: 0 auto;
        }
        
        .footer__newsletter {
            font-size: 1.5rem;
            color: #00d1b2;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .footer__inputs {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .footer__field {
            display: flex;
            flex-direction: column;
        }
        
        .footer__label {
            font-size: 0.9rem;
            color: #fff;
            margin-bottom: 5px;
            opacity: 0.9;
        }
        
        .footer__input {
            padding: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            background-color: #2c3e50;
            color: #fff;
            font-size: 1rem;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            width: 100%;
            box-sizing: border-box;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }
        
        .footer__input:focus {
            border-color: #00d1b2;
            box-shadow: 0 0 5px rgba(0, 209, 178, 0.5);
            outline: none;
        }
        
        select.footer__input {
            background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 16px;
            cursor: pointer;
        }
        
        select.footer__input option {
            background-color: #2c3e50;
            color: #fff;
        }
        
        textarea.footer__input {
            resize: vertical;
            min-height: 120px;
            line-height: 1.5;
        }
        
        .footer__submit {
            background-color: #00d1b2;
            color: #fff;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            align-self: flex-start;
        }
        
        .footer__submit:hover {
            background-color: #00b89c;
            transform: translateY(-2px);
        }
        
        .footer__submit:active {
            transform: translateY(0);
        }
        
        @media (max-width: 768px) {
            .footer__form {
                max-width: 100%;
                padding: 0 20px;
            }
        
            .footer__submit {
                align-self: center;
            }
            
        }
        
        
    }
