@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');


:root {
    --padding-container: 100px 0;
    --color-title: #edb106;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.sec-01 p, .sec-01 .ab__p, .sec-01 .ab__pbp {
    text-align: justify;
}


/* Cada sección ocupa un 90% de la pag, y tiene un max de 1200px, todo lo que sale se oculta*/
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

/*------------------------------------------------------------------------------------------------------------------------------------------------*/

/* .pdf*/
.pdf-container {
    position: relative;
    /* Control dentro del flujo normal de la página */
    width: 100%;
    /* Ancho total del contenedor */
    height: 100vh;
    /* Altura completa de la pantalla */
    overflow: hidden;
    /* Evita que se desborde */
    display: flex;
    /* Centra el contenido */
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

/* El marco donde se mostrará el PDF */
.pdf-wrapper {
    position: relative;
    /* Asegura el contenido dentro del contenedor */
    width: 90%;
    /* Ajusta el ancho del PDF al 90% del contenedor */
    height: 90%;
    /* Ajusta la altura del PDF al 90% del contenedor */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Opcional: sombra para estética */
    border-radius: 8px;
    /* Opcional: bordes redondeados */
    overflow: hidden;
    /* Mantén el PDF dentro de los límites */
}

/* El iframe que contiene el PDF */
.pdf-frame {
    width: 100%;
    /* Ancho completo del iframe */
    height: 100%;
    /* Altura completa del iframe */
    border: none;
    /* Sin bordes */
}

.pdf-section {
    background-image: radial-gradient(#edb106 0.5px, transparent 0.5px), radial-gradient(#edb106 0.5px, #b5270018 0.5px);
    text-align: center;
    /* Centra el título y el PDF */
}

/* Estilo para el título */
.pdf-title {
    font-size: 2rem;
    /* Tamaño del título */
    font-weight: bold;
    /* Asegura que el título sea más destacable */
    margin-bottom: 20px;
    /* Aumenta el espacio entre el título y el PDF */
    color: #b52700cc;
    /* Color oscuro para el título */
}

/*------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Contenedor general para el video y su título */
.video-section {
    text-align: center;
    /* Centra el título y el video */
    background: #f8ae00;
}

/* Estilo del título */
.video-title {
    /* margin-top:1em; */
    font-size: 2rem;
    /* Tamaño del título */
    font-weight: bold;
    /* Asegura que el título sea destacado */
    margin-bottom: 20px;
    /* Añade espacio entre el título y el video */
    color: #b52700d7;
    /* Color oscuro para el título */
}

/* Contenedor del video */
.video-container {
    margin-top: 30px;
    /* Añade espacio adicional arriba del contenedor del video */
    display: flex;
    justify-content: center;
}

/* Estilo del video */
.video-frame {
    width: 90%;
    /* Ajusta el ancho del video */
    max-width: 1200px;
    height: auto;
    /* Mantén la proporción del video */
    border-radius: 8px;
    /* Bordes redondeados para el video */
    box-shadow: 3px 3px rgba(0, 0, 0, 0.1);
    /* Sombra opcional para el video */
    margin-bottom: 1em;
}

/*------------------------------------------------------------------------------------------------------------------------------------------------*/

/* imagen de fondo, 100% del navegador y 100 de alto de la pantalla con un alto min de 600px max 800px */

.hero {
    width: 100%;
    height: 100vh;
    min-height: 300px;
    max-height: 400px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}


/* moldeado con https://bennettfeely.com/clippy/ */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url('../images/BackgroundImage.jpg');
    background-size: contain;
    background-position: 10% center;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}

/* Background para research sobre PEA */

.heroPEA {
    width: 100%;
    height: 100vh;
    min-height: 200px;
    max-height: 300px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}


/* moldeado con https://bennettfeely.com/clippy/ */
.heroPEA::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url('../images/processImage.jpg');
    background-size: contain;
    background-position: 10% center;
    z-index: -1;
    background-repeat: no-repeat;
}

/* Background para about us */

.heroAbout {
    width: 100%;
    height: 100vh;
    min-height: 200px;
    max-height: 300px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}


/* moldeado con https://bennettfeely.com/clippy/ */
.heroAbout::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #c763298c 0%, #ffd0008c 100%), url('../images/Connected.png');
    background-size: contain;
    background-position: 10% center;
    z-index: -1;
    background-repeat: no-repeat;
}


/*------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Background para research sobre TUB */
.heroTUB {
    width: 100%;
    height: 100vh;
    min-height: 200px;
    max-height: 300px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}

/* moldeado con https://bennettfeely.com/clippy/ */
.heroTUB::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url('../images/Tuberculosis.jpeg');
    background-size: contain;
    background-position: 10% center;
    z-index: -1;
    background-repeat: no-repeat;
}

/*------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Background para research sobre RL */
.heroRL {
    width: 100%;
    height: 100vh;
    min-height: 200px;
    max-height: 300px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}

/* moldeado con https://bennettfeely.com/clippy/ */
.heroRL::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url('../images/Diagrama reinforcement.png');
    background-size: contain;
    background-position: 10% center;
    z-index: -1;
    background-repeat: no-repeat;
}


/*------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Background para HexaRehab */
.heroSP {
    width: 100%;
    height: 100vh;
    min-height: 200px;
    max-height: 300px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}

/* moldeado con https://bennettfeely.com/clippy/ */
.heroSP::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url('../images/SP.png');
    background-size: contain;
    background-position: 10% center;
    z-index: -1;
    background-repeat: no-repeat;
}


/*------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Nav */
.navabroad {
    height: 100%;
    /* position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 10px 20px; */
}

.nav {
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav__h1 {
    --padding-container: 0;
    margin-left: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
}

.nav__logo img {
    padding-top: 5px;
    width: 80px;
    border-radius: 50%;
    font-weight: 300;
}

.nav__link {
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav__items {
    list-style: none;
}

.nav__links {
    color: #1a1717;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    position: relative;

}

.nav__links:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #edb106;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.6s ease-in-out;
}

.nav__links:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.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: 5rem;
}

.heroPEA__title {
    font-size: 3em;
}

.hero__paragraph {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: orange;
    font-weight: bold;
}

.cta {
    background-color: #edb106;
    /* border: 5px solid #edb106; */
    color: rgb(0, 0, 0);
    justify-self: center;
    text-decoration: none;
    padding: 13px 30px;
    font-size: 16px;
    border-radius: 32px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.cta:hover {

    background-color: #ffbb00;
    color: rgb(0, 0, 0);

}

.cta2 {
    background-color: #b52600;
    /* border: 5px solid #edb106; */
    color: rgb(255, 255, 255);
    justify-self: center;
    text-decoration: none;
    padding: 13px 30px;
    font-size: 16px;
    border-radius: 32px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.cta2:hover {

    background-color: #edb106;
    color: white;

}

.cta3 {
    background-color: #edb106;
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 13px 30px;
    font-size: 16px;
    border-radius: 32px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}

.cta3:hover {

    background-color: #8b1e00;
    color: rgb(255, 255, 255);

}

.image-custom {
    width: 600px;
    height: 300px;
    border-radius: 8px;
    /* object-fit: cover; */
}

/* Estilos base para los textos */
.text-xl {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1rem;
}

.flex-col {
    flex: 1;
}

.w-full {
    width: 100%;
}

.md\:w-1\/3 {
    width: 33.3333%;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

/* Nuevo diseño de cards */

.title-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #edb106;
}

.containernew {
    /* width: 100vw;
    height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #fff;
}

.cardnew {
    width: 40rem;
    height: auto;
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;

}

.card-img-holdernew {
    width: 100%;
    height: auto;
    position: relative;
}

.card-img-holdernew img {
    width: 100%;
    height: auto;
    max-height: 15rem;
    object-fit: cover;
    border-radius: 1.5rem;
}

.blog-titlenew {
    color: #05050c;
    padding: 1rem 0;
    font-size: 1.5rem;
}

.descriptionnew {
    padding: 1rem 0;
    color: #17171abd;
    font-size: 1rem;
}

.blog-timenew {
    font-size: .8rem;
    color: #22215B;
}

.optionsnew {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
}

.optionsnew span {
    font-weight: 600;
    color: #22215B;
}

.btnnew {
    font-size: 1rem;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-weight: 400;
    background: #EEF7FE;
    color: #22215B;
    cursor: pointer;
}

/* About */

.about {
    text-align: center;
}

.subtitle {
    color: 000;
    font-size: 2rem;
    margin-bottom: 25px;
}

.about__paragraph {
    line-height: 1.7;
}

.about__main {
    /* contenedor de los iconos con 80px entre el texto adaptable a gusto */
    padding: 80px;
    display: grid;
    width: 90%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}


.about__icons {
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 250px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);

}

.about__icon {
    width: 40px;
}



/* abaout nuevo */
.ab__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

}

.ab__item {
    overflow: hidden;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease-in-out;
}

.ab__item:hover {
    transform: translateY(-2px);
}

.ab__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
    max-width: 550px;
    margin: 0 auto;
}

.ab__text__content {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

.ab__p {
    font-size: 16px !important;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    color: #333;
}

.ab__pbp {
    margin: 0;
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    /* margin-bottom: 15px; */
    font-size: 16px;
    color: #333;
}

.ab__pbph {
    margin: 0;
    margin-top: 4px;
    /* margin-bottom: 10px; */
    padding-left: 25px;
    font-family: 'Montserrat', sans-serif;

    font-size: 18px;
    color: #000000;
}

.about__pbp {
    margin: 0;
    margin-top: 4px;
    margin-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    font-size: 32px;
    color: #333;
}

.about__pbp_link_container {
    margin: 0;
    align-items: center;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #edb106;

}

.about__pbp_link {
    margin: auto;
    margin-left: 5em;
    margin-right: 3em;
    text-align: left;
    font-size: 1.2em;
    color: #333;

}

.about__pbp_link :hover {
    background: #b5270044;

}

.abouttitle_pbp {
    margin: 0;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    font-size: 40px;
    color: #333;
}

.abouttitleCentered_pbp {
    margin: 0;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 40px;
    color: #333;
}


.icon__buttons {
    min-width: 300px;
    display: flex;
    justify-content: space-around;
}

.icon__buttons a {
    text-decoration: none;
    font-size: 28px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #edb106;
    color: #f1f1f1;
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
    transition: all .4s ease-in-out;
}

.icon__buttons a:hover {
    transform: scale(1.2);
    /* Efecto de aumento al pasar el mouse */
}

/* Botones de redes sociales */
/* .icon__buttons {
    min-width: 300px;
    display: flex;
    justify-content: space-around;
}

.icon__buttons a {
    text-decoration: none;
    font-size: 28px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #edb106;
    color: #f1f1f1;
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
    transition: all .4s ease-in-out;
}

.icon__buttons a:hover {
    transform: scale(1.2);
} */

.separator {
    max-width: 50%;
}

/* Nuevo About Us Actualizado */

.team-section {
    width: 100%;
}

.team-section .container-Us {
    width: 80%;
    margin: auto;
}

.team-section .container-Us .row-Us {
    width: 60%;
    margin: auto;
}

.team-section .container-Us .row-Us .title-Us {
    text-align: center;
    margin-top: 50px;
}

.team-section .container-Us .row-Us .title-Us h1 {
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #edb106;

}

.team-section .container-Us .row-Us .title-Us p {
    font-size: 18px;
    /* font-family: sans-serif; */
    margin: 30px 0px;
    color: #17171abd;
}

.team-section .container-Us .team-card {
    width: 100%;
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(3. 1fr);
    grid-gap: 40px;
    margin-top: 50px;

}

.team-section .container-Us .team-card .card-Us {
    width: 100%;
    max-width: 400px;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;

}

.team-section .container-Us .team-card .card-Us .image-section-Us img {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    border: 6px solid#fff;
}

.team-section .container-Us .team-card .card-Us .content-Us {
    width: 100%;
    text-align: center;
}

.team-section .container-Us .team-card .card-Us .content-Us h3 {
    font-size: 27px;
    margin-top: 10px;
    letter-spacing: 1.5px;
    color: #161e8fbd;
}

.team-section .container-Us .team-card .card-Us .content-Us h4 {
    font-size: 17px;
    margin-top: 10px;
    letter-spacing: 1.5px;
    color: #191d57bd;
}

.team-section .container-Us .team-card .card-Us .content-Us p {
    font-size: 15px;
    margin: 16px 0px;
    letter-spacing: 1.5;
    color: #17171abd;
}

.icon__buttonsUs {
    min-width: 300px;
    /* display: flex; */
    justify-content: space-around;
}

.icon__buttonsUs a {
    text-decoration: none;
    font-size: 25px;
    margin-top: 5px;
    margin-left: 4px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #edb106;
    color: #f1f1f1;
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
    transition: all .4s ease-in-out;
}

.icon__buttonsUs a:hover {
    transform: scale(1.2);
}

/* Hexa section */
.container__hexa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 5px solid orange;
    border-radius: 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: 20px auto;
}

.text__hexa {
    flex: 1;
    margin-right: 20px;
}

.title__hexa {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.description__hexa {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.image__sectionhexa {
    flex-shrink: 0;
}

.image__hexa {
    max-width: 300px; /* Tamaño máximo permitido */
    max-height: 200px; /* Tamaño máximo permitido */
    object-fit: contain; /* Asegura que toda la imagen sea visible */
    border-radius: 5px;
}

.knowledge__Hexa {
    background-color: #b5270018;
    opacity: 0.8;
    background-image: radial-gradient(#edb106 0.5px, transparent 0.5px), radial-gradient(#edb106 0.5px, #b5270018 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* min-h-screen */
}

.content__Hexa {
    background-color: rgba(255, 165, 0, 0.3);
    /* bg-orange-600 bg-opacity-30 */
    color: #000;
    /* text-black-900 */
    padding: 24px;
    /* p-6 */
    border-radius: 8px;
    /* rounded-lg */
    max-width: 600px;
    /* max-w-md */
    width: 100%;
    text-align: center;
    /* Centrar texto */
}

.title__Hexa2 {
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: bold;
    /* font-bold */
    margin-top: 8px;
    /* mt-2 */
}

.image_container__Hexa {
    margin-top: 16px;
    /* mt-4 */
}

.image__Hexa {
    border-radius: 8px;
    /* rounded-lg */
    width: 100%;
    /* w-full */
    height: auto;
    /* h-auto */
}

.description__Hexa {
    margin-top: 16px;
    /* mt-4 */
    color: #4a4a4a;
    /* text-black-700 */
    text-align: justify;
}

.button_container__Hexa {
    margin-top: 16px;
    /* mt-4 */
}


@media screen and (max-width: 1040px) {
    .team-section .container-Us .team-card {
        display: grid;
    }
}


/* Knowledge */
/* Estilizado con https://www.magicpattern.design/tools/css-backgrounds elegir tipo y consultar
Todo basado en la gama de colores del logo */
.knowledge {
    background-color: #b5270018;
    opacity: 0.8;
    background-image: radial-gradient(#edb106 0.5px, transparent 0.5px), radial-gradient(#edb106 0.5px, #b5270018 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;

}

.knowledge__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
    padding-bottom: 25px;
    padding-top: 20px;
}

.knowledge__picture {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}

.knowledge__paragraph {
    line-height: 1.7;
    margin-bottom: 15px;
}

.knowledge__img {
    width: 100%;
    display: block;
}

/*Partners--------------------------------------------------------------------------------------------------------------*/

.partners {
    background-color: #b5270018;
    opacity: 0.8;
    background-color: #daa105;
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    margin-top: 2px;
}

.partners__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    align-items: center;
    padding-bottom: 25px;
    padding-top: 20px;
}

.partners__items {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se ajusten a una nueva línea en pantallas pequeñas */
    justify-content: center;
    gap: 1em 0.5em; /* 1em horizontal, 0.5em vertical */
}

.partners__picture {
    display: flex;
    justify-content: center;
    align-items: center;
    /*width: 300px; /* Ajusta según sea necesario */
    /*height: 200px; /* Tamaño uniforme */
    margin-left: auto;
    margin-right: auto;
    margin: 0 auto;
    width: 100%; /* Toma el ancho completo del contenedor */
    max-width: 300px; /* Limita el ancho máximo en pantallas grandes */
    aspect-ratio: 16/9; /* Mantiene la proporción del rectángulo */
    overflow: hidden; /* Esconde contenido que se salga */
    padding: 0; /* Sin padding extra */
}

.partners__paragraph {
    line-height: 1.7;
    margin-bottom: 15px;
}

.partners__img {
    width: 100%;
    max-height: 100%;
    object-fit: contain; /* Mantiene proporción y ajusta imagen */
    display: block;
}


/* Media Queries para móviles */
@media (max-width: 768px) {
    .partners__picture{
        max-width: 100%; /* Usa todo el ancho disponible en pantallas pequeñas */
    }

    .partners__items {
        gap: 1em 0.3em; /* Espacio más reducido en dispositivos móviles */
    }
}

/* References */
.references {
    background-color: #daa105;
    text-align: center;
    opacity: 0.9;
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    padding-top: 0.5em;
}

.references__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.references__link {
    margin-left: 5em;
    margin-right: 3em;
    text-align: left;
    font-size: 1.2em;
    padding-bottom: 1em;
}

.references__link :hover {
    background-color: #8b1e0062;
}

/*price--------------------------------------------------------------------------------------------------------------*/

.price {
    text-align: center;
}

.price__table {
    padding-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: space-evenly;
    align-items: center;
}

.price__element {
    background-color: #e5e5f7;
    text-align: center;
    border-radius: 10px;
    width: 330px;
    padding: 40px;
    --color-plan: #696871;
    --color-price: #1D293F;
    --bg-cta: #fff;
    --color-cta: #edb106;
    --color-items: #696871;
}

.price__element--best {
    /* width: 370px; */
    /* padding: 60px 40px; */
    background-color: #b52600;
    --color-plan: #edb106;
    --color-price: #fff;
    --bg-cta: #edb106;
    --color-cta: #FFF;
    --color-items: #fff;
}


.price__name {
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 300;
}

.price__price {
    font-size: 2.5rem;
    color: var(--color-price);
}

.price__items {
    margin-top: 35px;
    display: grid;
    gap: 1em;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--color-items);
}

.price__cta {
    display: block;
    padding: 20px 0;
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--bg-cta);
    font-weight: 600;
    color: var(--color-cta);
    box-shadow: 0 0 1px rgba(0, 0, 0, .5);
}

/* estilos para el service */
/*----------------------------------------------------------------------------------------------------------------------------*/

.section-scroll {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 100px;
    color: #edb106;
}

.container-scroll {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* .main-title {
    font-size: 4em;
    margin-bottom: 50px;
} */

.content-scroll {
    position: relative;
    width: 1150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-scroll .imagescroll {
    position: relative;
    width: 800px;
    height: 400px;
    overflow: hidden;
}

.content-scroll .imagescroll img {
    /* z-index: 111; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.content-scroll .text-box-scroll {
    /* z-index: 222; */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 40px;
    max-width: 550px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transform: translate(-30px, 50px);
}

.content-scroll .text-box-scroll h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

/*------------------------------------------------------------------------------------------------------------------------------------------------*/

.content-3D {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Centra verticalmente el modelo y el texto */
    justify-content: space-between;
    /* Espacio entre el modelo y el texto */
    gap: 20px;
    /* Añadir espacio entre el modelo y el texto */
    flex-wrap: wrap;
    /* Asegura que en pantallas pequeñas los elementos se apilen */
}

.images3D {
    width: 100%;
    /* El modelo ocupará todo el ancho disponible */
    max-width: 500px;
    /* El modelo tiene un tamaño máximo de 500px */
    height: auto;
    /* Mantiene la proporción del modelo */
    border: 5px solid orange;
    border-radius: 10px;
}

.text-box-3D {
    flex: 1;
    /* El texto ocupará el espacio restante */
    padding-left: 20px;
    /* Espacio entre el modelo y el texto */
    max-width: 500px;
    /* Limita el ancho máximo del texto */
}

/* Aseguramos que el modelo 3D tenga una altura adecuada */
model-viewer {
    max-height: 400px;
    /* Define una altura máxima para el modelo */
    width: 100%;
}


/*------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Media Queries */

/* Tablets (pantallas medianas) */
@media (max-width: 768px) {
    .section-scroll {
        padding: 60px 20px;
        flex-direction: column;
    }

    .content-scroll {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .content-scroll .imagescroll {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .content-scroll .text-box-scroll {
        transform: translate(0, 0);
        padding: 20px;
        max-width: 90%;
        position: relative;
        /* Asegura que el texto se superponga correctamente */
        top: -50px;
        /* Ajuste para superposición */
    }

    .main-title {
        font-size: 3em;
        text-align: center;
    }

    .section-title {
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 40px;
    }

    .info,
    .media-info {
        width: 90%;
        margin: 20px auto;
    }

    .media-icons {
        margin-top: 50px;
    }

    .media-icons a {
        font-size: 1.5em;
        margin: 20px;
    }

    .cta {
        padding: 10px 30px;
    }

    /* .derecha{
        align-items: center;
    } */
    .ab__pbp {
        width: 90%;
        /* padding-left: 2px; */
        text-align: left;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .container__hexa {
        flex-direction: column;
        align-items: flex-start;
    }

    .text__hexa {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .title__hexa {
        font-size: 24px;
    }

    .description__hexa {
        font-size: 14px;
    }

    .nav__h1 {
        font-size: 21px;
    }
}

/* Teléfonos móviles (pantallas pequeñas) */
@media (max-width: 480px) {
    .section-scroll {
        padding: 40px 10px;
        flex-direction: column;
    }

    .content-scroll {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .content-scroll .imagescroll {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .content-scroll .imagescroll img {
        position: relative;
        width: 100%;
        height: auto;
    }

    .content-scroll .text-box-scroll {
        padding: 15px;
        transform: translate(0, 0);
        max-width: 90%;
        position: relative;
        top: -50px;
        /* Ajuste para superposición */
    }

    .main-title {
        font-size: 2em;
        text-align: center;
    }

    .section-title {
        font-size: 1.8em;
        text-align: center;
        margin-bottom: 30px;
    }

    .info-title {
        font-size: 1.4em;
        text-align: center;
    }

    .info,
    .media-info {
        width: 100%;
        margin: 10px auto;
    }

    .media-info li {
        font-size: 1.2em;
    }

    .media-icons {
        margin-top: 20px;
    }

    .media-icons a {
        font-size: 1.2em;
        margin: 10px;
    }

    .ab__pbp {
        width: 90%;
        /* padding-left: 2px; */
        text-align: left;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}


/*------------------------------------------------------------------------------------------------------------------------------------------------*/
/* Media Queries */
/* Pantallas grandes, 4k */

@media (min-width: 2560px) {
    .team-section .container-Us .team-card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .video-frame {
        width: 80%;
        max-width: 1600px;
    }

    .main-title {
        font-size: 4em;
    }

    .about__paragraph {
        font-size: 1.5rem;
    }

    .cta {
        padding: 15px 40px;
    }

    .container {
        max-width: 90%;
    }

    .nav__logo img {
        width: 150px;
        padding-top: 15px;
    }

    nav__h1 {
        font-size: 3rem;
    }

    .nav__links {
        font-size: 1.5rem;
    }

    .nav__logo img {
        width: 150px;
    }

    .nav__link {
        gap: 4em;
    }

    .ab__pbp {
        margin: 0;
        margin-top: 4px;
        font-family: 'Montserrat', sans-serif;
        text-align: justify;
        font-size: 29px;
        color: #333;
    }

    .section-scroll {
        padding: 120px 200px;
    }

    .content-scroll {
        width: 1600px;
    }

    .content-scroll .imagescroll {
        max-width: 1200px;
        height: 600px;
    }

    .content-scroll .text-box-scroll {
        padding: 80px;
        max-width: 900px;
    }

    .content-scroll .text-box-scroll h3 {
        font-size: 3em;
    }

    .images3D {
        max-width: 800px;
    }

    .text-box-3D {
        max-width: 800px;
    }

    .ab__p {
        font-size: 28px !important;
        margin-top: 20px;
    }

    .text-xl {
        font-size: 2rem;
    }

    .p-2 {
        padding: 2rem;
    }

    .text-xl {
        font-size: 1.75rem;
    }

    .text-lg {
        font-size: 1.25rem;
    }

    .references h1 {
        font-size: 3rem;
    }

    .references .w-16 {
        width: 6rem;
        height: 0.5rem;
    }

    .references__link {
        font-size: 1.25rem;
    }

    .references__link strong {
        font-size: 2.2rem;
    }

    .partners__container {
        padding: 40px;
    }

    .partners__items {
        gap: 4em;
    }

    .partners__picture {
        max-width: 200px;
    }

    .subtitle {
        font-size: 3rem;
    }

    .knowledge__paragraph {
        font-size: 1.9rem;
    }

    .cta2 {
        padding: 20px 40px;
        font-size: 25px;
        border-radius: 40px;
    }

    .cta {
        padding: 20px 40px;
        font-size: 20px;
        border-radius: 40px;
    }

    .containernew {
        padding: 40px;
    }

    .cardnew {
        width: 50rem;
        padding: 2rem;
    }

    .blog-titlenew {
        font-size: 2rem;
    }

    .descriptionnew {
        font-size: 1.5rem;
    }

    .blog-timenew {
        font-size: 1rem;
    }

    .optionsnew {
        font-size: 1.25rem;
    }

    .btnnew {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }

    .card-img-holdernew img {
        max-height: 25rem;
        border-radius: 1.5rem;
    }

    .knowledge__picture {
        max-width: 1000px;
    }

    .questions__title {
        font-size: 45rem;
    }

    .questions__title {
        font-size: 2.5rem;
        padding: 40px 0;
    }

    .questions__arrow {
        width: 35px;
        height: 35px;
    }

    .questions__show {
        font-size: 1.25rem;
    }

    .questions__copy {
        width: 80%;
    }

    .questions__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3em;
        padding-top: 80px;
        padding-bottom: 150px;
    }

    .footer {
        padding: 40px;
    }

    .footer__container {
        gap: 3em;
    }

    .footer__newsletter {
        font-size: 2.5rem;
    }

    .footer__inputs {
        width: 80%;
    }

    .footer__input,
    .footer__inputt {
        padding: 20px;
        font-size: 1.5rem;
    }

    .footer__submit {
        padding: 20px 40px;
        font-size: 1.5rem;
    }

    .icon__buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        height: 100%;
    }

    .icon__buttons a {
        font-size: 60px;
        width: 85px;
        height: 85px;

        display: flex;
        justify-content: center;
        align-items: center;

    }

    .container__hexa {
        padding: 40px;
    }

    .title__hexa {
        font-size: 50px;
    }

    .description__hexa {
        font-size: 25px;
    }

    .image__sectionhexa {
        max-width: 80%;
    }

    .content__Hexa {
        max-width: 1000px;
        padding: 32px;
    }

    .title__Hexa2 {
        font-size: 2.5rem;
    }

    .description__Hexa {
        font-size: 1.5rem;
    }


}








/* Testimony */
/* 
.testimony {
    background-color: #e5e5f7;
}

.testimony__container {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    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: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}

.testimony__texts {
    max-width: 700px;
}

.testimony__course {
    background-color: royalblue;
    color: #fff;
    display: inline-block;
    padding: 5px;
}

.testimony__arrow {
    width: 90%;
    cursor: pointer;
} */

/* Questions */

.questions {
    text-align: center;
}

.questions__container {
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions__padding {
    padding: 0;
    transition: padding .3s;
    border: 1px solid #b52600;
    border-radius: 6px;
}

.questions__padding--add {
    padding-bottom: 30px;
}

.questions__answer {
    padding: 0 30px 0;
    overflow: hidden;
}

.questions__title {
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
}

.questions__arrow {
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition: transform .3s;
}

.questions__arrow--rotate {
    transform: rotate(180deg);
}

.questions__show {
    text-align: left;
    height: 0;
    transition: height .3s;
    margin-right: 20px;
}

.questions__img {
    display: block;
}

.questions__copy {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.question__flex {
    display: flex;
    align-items: center;

}

.image__show {
    max-width: 100px;
    height: auto;
}

.questions__content {
    display: flex; /* Utiliza flexbox para alinear el texto y la imagen */
    align-items: center; /* Centra verticalmente los elementos */
}

.questions__small-img {
    max-width: 50px; /* Ajusta el tamaño de la imagen pequeña */
    height: auto; /* Mantiene la proporción de la imagen */
    display: none; /* Oculta la imagen inicialmente */
}


/* .questions__show.active + .questions__small-img {
    display: block;
} */


/* Footer */

.footer {
    background-color: #b52700bb;
}

.footer__title {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;

}

.footer__title,

.supporters {
    text-align: center;
    margin-bottom: 10px;
    color: #ffffff;
}

.supporters__images {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer__img {
    width: 150px;
    /* Tamaño de las imágenes de SUPPORTERS */
    height: auto;
}

.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 {
    width: 90;
    margin-top: 10px;
    display: auto;
    overflow: hidden;
}

.footer__input {
    width: 65%;
    padding: 15px 10px;
    font-size: 15px;
    border: 1px solid #edb106;
    margin-bottom: 20px;
    border-radius: 3px;
    outline: 0px;
    display: flex;
    max-width: 530px;
    min-width: 530px;
}

.footer__inputt {
    border: 1px solid #edb106;
    max-width: 530px;
    min-width: 530px;
    min-height: 140px;
    max-height: 150px;
}



/* enviar mail con https://formspree.io/ */

.footer__submit {
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    background-color: #edb106;
    border: none;
    font-size: 1rem;
    color: #000000;
    border-radius: 32px;
    cursor: pointer;
}

.footer__copy {
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer__copyright {
    font-weight: 300;
}

.footer__icons {
    margin-bottom: 10px;
}

.footer__img {
    width: 30px;
}



.container-form {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    margin-top: 90px;
}


/* About us */


.aboutUsP {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    /* font-family: sans-serif; */
}

.containerAboutUs {
    width: 80%;
    margin: 50px auto;
    padding: 20px;

}

.contentAboutUs {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.imageAboutUs {
    flex: 1;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.imageAboutUs img {
    width: 100%;
    transition: transform 0.1s ease;
}

.imageAboutUs:hover img {
    transform: scale(1.1);
}


.contentAboutUsText {
    flex: 1;
    margin-left: 20px;
}

.izquierda {
    max-width: 1000px;
    margin-right: 200px;
}

.derecha {
    text-align: right;
    max-width: 1000px;
    margin-left: 500px;
}

.pAboutUsT {
    font-size: 21px;
    line-height: 1.6;
    color: #17171abd;
    /* display: inline-block;
    position: relative; */
}

/* .pAboutUsT:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #edb106;
} */
.subU {
    position: relative;
    color: #17171abd;
    /* Color del texto */
}

.subU::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #daa105;
    /* Color del subrayado */
    z-index: -1;
}

.pAboutUs {
    font-size: 17px;
    line-height: 1.6;
    color: #17171abd;
}

@media screen and (max-width: 768px) {
    .contentAboutUs {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .imageAboutUs,
    .contentAboutUsText {
        margin: 0;
        margin-bottom: 20px;
    }
}



/* Media queries */

@media (max-width:800px) {
    .nav__menu {
        display: block;
    }

    .nav__link--menu {
        position: fixed;
        background-color: #ffffff;
        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;
    }


    .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: 90%;
    }

    .price__element--best {
        width: 90%;
        /* padding: 40px; */
    }

    .price__price {
        font-size: 2rem;
    }

    .testimony {
        --padding-container: 60px 0;
    }

    .testimony__container {
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow {
        width: 100%;
    }

    .testimony__course {
        margin-top: 15px;
    }

    .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;


        /* 
        margin:0;
        width: 100%;
        */
    }

    /* Media para pantallas grandes */
    @media screen and (min-width: 1900px) {
        .derecha {
            text-align: right;
            max-width: 1200px;
            margin-left: 600px;
        }

    }

    @media screen and (min-width: 2000px) {
        .derecha {
            text-align: right;
            max-width: 1200px;
            margin-left: 700px;
        }

        .izquierda {
            max-width: 1200px;
        }
    }

    @media screen and (min-width: 2100px) {
        .derecha {
            text-align: right;
            max-width: 1200px;
            margin-left: 800px;
        }

        .izquierda {
            max-width: 1200px;
        }

        .subU {
            font-size: 24px;
        }

        .textU {
            font-size: 25px;
        }
    }

    @media screen and (min-width: 2300px) {
        .derecha {
            text-align: right;
            max-width: 1200px;
            margin-left: 800px;
        }

        .izquierda {
            max-width: 1200px;
        }

        .subU {
            font-size: 25px;
        }


    }

    @media screen and (min-width: 2700px) {
        .derecha {
            text-align: right;
            max-width: 1200px;
            margin-left: 1200px;
        }

        .subU {
            font-size: 30px;
        }

    }

    @media screen and (min-width: 2900px) {
        .derecha {
            text-align: right;
            max-width: 1200px;
            margin-left: 1650px;
        }

        .izquierda {
            max-width: 2000;
        }

        .subU {
            font-size: 45px;
        }


    }

    @media screen and (min-width: 3300px) {
        .derecha {
            text-align: right;
            max-width: 1200px;
            margin-left: 1650px;
        }

    }
}
