@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

:root {
    --red-color: #D32127;
    --dark-white-color: #F4F4F4;
    --font-family: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    font-family: var(--font-family);
}


html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: black;
}


.logo img {
    height: 105px;
    width: 110px;
}

.bandera {
    display: flex;
    align-items: center;
}



.bandera-burger {
    display: flex;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--red-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav {
    display: flex;
    align-items: center;
    padding-right: 15px;
}

nav ul {
    display: flex;
    justify-content: left;
    padding: 0;
    margin: 0;
    width: auto;
    list-style-type: none;
}

nav ul a {
    color: black;
    text-decoration: none;
    font-size: large;
    padding-right: 15px;
    padding-left: 15px;
    border-right: 1px solid var(--red-color);
}

nav ul a:hover {
    text-underline-offset: 10px;
    text-decoration: underline var(--red-color);
    color: var(--red-color);
}

.bandera img {
    height: 40px;
    width: 40px;
}

header {
    display: flex;
    margin: 0px 40px 20px 100px;
    align-items: center;
}

h1 {
    color: var(--red-color);
    font-size: 2.8rem;
    text-align: center;
}

h1.small-title {
    color: black;
    font-size: 2rem;
    font-weight: lighter;
}

.titles .big-red-title {
    margin: 0;
    max-width: none;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    text-align: center;
    font-size: 2rem;
}

.banner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50vh;
    min-height: 500px;
    /* max-height: 500px; */
    margin: 0;
    position: relative;
    background-image: url(/images/paper-Texture.png);
    background-size: cover;
    background-position: center;
}

.izquierda {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0 20px 7%;
}

.izquierda h3 {
    width: 100%;
    font-size: 3vh;
    text-align: left;
    margin-bottom: 10px;
    font-weight: normal;
}

.izquierda h1 {
    width: 100%;
    text-align: left;
    margin-bottom: 0%;
    margin-top: 0;
    color: var(--red-color);
    font-size: 5dvh;
    font-weight: 700 !important;
}

.appl_button {
    border-radius: 20px;
    background-color: black;
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: bolder;
    align-self: flex-start;
}

.appl_button a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
}

.derecha {
    width: 80%;
    background-color: var(--red-color);
    display: flex;
    justify-content: center;
    /* align-items: end; */
    position: relative;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    height: 100%;
}

/*
.derecha img {
    width: 79%;
    height: 90%;
    object-fit: contain;
    object-position: bottom;
}
*/

.caracteristicas {
    display: flex;
    flex-direction: row;
    min-height: 50vh;
    justify-content: center;
    align-items: center;
    margin: 50px;
    padding: 0;
    gap: 20px;
}

.caracteristicas div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    /* width: 50%;*/
    padding: 0;
}

.requisitos {
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: center;
    margin: 0 40px 0 40px;
}

.requisitos h1 {
    color: var(--red-color);
    width: 100%;
    font-size: 3rem;
    text-align: start;
    margin-bottom: 20px;
}

.requisitos ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.requisitos ul li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    background-color: var(--dark-white-color);
    border-radius: 20px;
    padding: 10px 20px;
    margin: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.405);
    width: auto;
    max-width: 90%;
    transition: background-color 0.3s ease;
    font-size: 1.5rem;
}

.requisitos ul li img {
    width: 30px;
    height: 30px;
}

.caracteristicas .card {
    display: flex;
    width: 80%;
    /* max-width: 450px; */
    border-radius: 10px;
    flex-direction: column;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    margin: 40px;
    font-size: 1.2rem;
    line-height: 1.5;
    height: 80%;
    padding: 20px;
}

.caracteristicas p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    width: 90%;
    margin: 20px 0;
}

.caracteristicas .fire {
    width: 30px;
    height: 31px;
}

.caracteristicas .card .card_header {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.card_header h2 {
    font-size: 1.8rem;
}

.card_header .emojis {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.card_header .emojis img {
    width: 30px;
    height: 30px;
}

.caracteristicas button {
    background-color: var(--red-color);
    color: #FFFF;
    font-weight: bolder;
    font-size: 1.5rem;
    width: 90%;
    border: none;
    border-radius: 20px;
    margin: 10px 0;
    padding: 15px 0;
    cursor: pointer;
}

.quotes {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 70vh;*/ 
    /*width: 100%; */
    padding: 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.quotes .quote {
    /* width: 100%;*/
    /* height: 100%;*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.quotes .quote img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: center;
    max-width: 1400px;
    max-height: 430px;
}


.cards {
    /* padding: 40px 0; */
    max-width: 1200px;
    margin: 0 auto;
}

.titles:first-child {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titles h1 {
    max-width: 800px;
    margin: 10px 0;
}

.swiper.mySwiper2.container {
    /* padding: 0 60px; */
    padding: 0;
    overflow: hidden;
}

.swiper-slide.card_s {
    border-radius: 10px;
    height: 400px;
    width: 240px;
    margin: 0 auto;
    transition: transform 0.3s;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--dark-white-color);

    border-radius: 10px;
}

.quote-emoji {
    color: var(--red-color);
    margin-bottom: 10px;
}

.quote-emoji img {
    width: 25px;
    height: auto;
}

.txt {
    flex-grow: 0;
    margin: 15px 0;
    height: auto;
}

.txt p {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}

.author {
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 100px;
}

.author1 {
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 100px;
}

.author1 p {
    font-size: 1.4rem;
    text-align: center;
    margin: 0px;
}

.author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 8px;
    object-fit: cover;
}

.author p:first-of-type {
    font-weight: bold;
    margin-bottom: 2px;
    font-size: 14px;
    color: #6666668b;
    text-align: start;
}

.author p:last-of-type {
    color: #666;
    font-size: 12px;
    margin-top: 0;
    text-align: start;
}

.swiper-button-next,
.swiper-button-prev {
    opacity: 1;
    color: var(--dark-white-color);
    background-color: var(--red-color);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    padding: 5px;
    top: 50%;
    transition: all 0.3s ease;
    /* top: var(--swiper-navigation-top-offset, 30%); */
}

.swiper-button-next {
    margin-left: 80px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
    color: black;
}

.carrera-exito {
    background-color: #fff;
    padding: 50px 20px;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 auto;
}

.path-container {
    max-width: 1000px;
    margin: 0 auto;
}

.path-title {
    margin-bottom: 30px;
}

.path-title h3 {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: normal;
    text-align: left;
}

.path-title h2 {
    color: var(--red-color);
    margin-top: 0;
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: left;
}

.organigrama {
    width: 100%;
    display: flex;
    justify-content: center;
}

.organigrama-img {
    width: 100%;
    max-width: 950px;
    height: auto;
}

.path-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.path-steps:before {
    content: '';
    position: absolute;
    top: 20px;
    height: 80%;
    width: 4px;
    background-color: var(--red-color);
    z-index: 1;
}

.step {
    display: flex;
    align-items: center;
    margin: 10px 0;
    position: relative;
    z-index: 2;
    width: 80%;
}

.step-icon {
    background-color: var(--red-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 20px;
}

.step-text {
    background-color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.preguntas-frecuentes {
    display: flex;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.preguntas-frecuentes h2 {
    color: black;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2.8rem;
    font-weight: 600;
}

.accordion-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #000000;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.4rem;
    text-align: left;
    font-weight: 500;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 15px 0;
    margin: 0;
    text-align: left;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}

footer {
    background-color: black;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-footer img {
    width: 100px;
}

.footer-links ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    padding-right: 15px;
    padding-left: 15px;
    border-right: 1px solid white;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    color: white;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom p {
    max-width: 1200px;
    text-wrap: stable;
    font-size: 0.9rem;
}

.aplica-ya {
    position: relative;
    width: 100%;
    /* height: 60%; */
    margin-top: 60px;
    overflow: hidden;
}

.background-container {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.main-text {
    position: relative;
    color: white;
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    z-index: 2;
}

.bold-text {
    font-weight: 700;
}

.brush-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    margin: 0 0 30px 0;
}

.brush-image {
    width: 80%;
    height: auto;
}

.brush-text {
    position: absolute;
    color: white;
    background-color: #000;
    border: none;
    cursor: pointer;
    font-size: 3.0rem;
    font-weight: 800;
    margin: 0;
    z-index: 3;
}

.brush-text a {
    text-decoration: none;
    color: white;
}

.brush-text a:hover {
    color: var(--red-color);
}

.video-container {
    width: 100%;
    height: 100%;
    /* o la altura que necesites */
    overflow: hidden;
    position: relative;
}

.thumbnail-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-thumbnail {
  width: 98%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  display: block;
}

.youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.youtube-player iframe {
    width: 97%;
    height: 100%;
    border: none;
    border-radius: 20px;

}

/* El iframe es invisible hasta que se hace clic */
.thumbnail-wrapper.hidden {
    display: none;
    z-index: 1;
}

.youtube-player.active {
    z-index: 3;
}


@media (max-width: 767px) {
    .video-container {
        width: 100%;
        /* height: 297px; */
        /* o la altura que necesites */
        overflow: hidden;
        position: relative;
    }

    .youtube-player {
        display: block !important;
        width: 100% !important;
        height: 90% !important;
    }

    .video-thumbnail {
        width: 50%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 15px;
        display: block;
    }

    .thumbnail-wrapper {
        position: absolute;
        top: 0;
        left: 150px;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 2;
    }
}

/* Media queries para responsive */

@media(max-width: 1024px) {
    .quotes .quote img {
        height: 33%;
        width: 100%;
    }

    .derecha {
        /* margin-top: 60px; */
        margin-bottom: 0px;
        clip-path: none;
        min-height: 350px;
        width: 100%;
    }

    .derecha img {
        position: absolute;
        bottom: 0;
        max-height: 400px;
        width: auto;
    }
    
    .quotes {
        background-color: white;
    }

    .banner {
        flex-direction: column;
        height: auto;
        background-image: none;
    }

    .izquierda {
        display: flex;
        align-items: center;
        margin: 0px;
        margin-bottom: 5%;
        width: 100%;
        padding: 0;
    }

    .izquierda h3 {
        width: 80%;
        text-align: center;
        color: var(--red-color);
        margin: 0%;
        padding: 0;
    }

    .izquierda h1 {
        /* width: 50%; */
        margin: 0%;
        text-align: center;
    }

    .appl_button {
        align-self: center;

    }

}

@media (max-width: 860px) {
    header {
        flex-direction: row-reverse;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 20px;
        position: relative;
    }

    .hamburger-menu {
        display: flex;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .bandera {
        order: 2;
        margin-right: 15px;
    }

    .bandera-burger {
        display: flex;
        align-items: center;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    nav ul a {
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid var(--red-color);
        display: block;
        width: 100%;
    }

    .banner {
        flex-direction: column;
        height: auto;
        background-image: none;
        padding-top: 20px;
    }

    .card h2 {
        font-size: 1.2rem;
    }

    .card_header .emojis img {
        width: 20px;
        height: 20px;
    }


    .izquierda,
    .derecha {
        width: 100%;
    }

    .izquierda {
        display: flex;
        align-items: center;
        margin: 0px;
        margin-bottom: 5%;
    }

    .izquierda h3 {
        width: 80%;
        text-align: center;
        color: var(--red-color);
        margin: 0%;
    }

    .izquierda h1 {
        /* width: 50%; */
        margin: 0%;
        text-align: center;
    }

    .appl_button {
        align-self: center;

    }

    .derecha {
        clip-path: none;
        min-height: 260px;
        margin-top: 20px;
    }

    .derecha img {
        position: absolute;
        bottom: 0;
        max-height: 300px;
        width: auto;
    }

    .requisitos h1 {
        font-size: 2rem;
        text-align: center;
    }

    .requisitos ul {
        align-items: center;
    }

    .caracteristicas {
        flex-direction: column;
        margin-bottom: 0;
        margin-top: 30px;
    }

    .caracteristicas div {
        width: 100%;
    }

    .caracteristicas button {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .cards {
        padding-top: 0%;
    }

    .quotes {
        height: 50vh;
        background-color: white;
        margin-bottom: 0;
    }

    .quotes .quote img {
        height: 30%;
    }

    h1.small-title {
        font-size: 1.5rem;
    }

    h1.big-red-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .main-text {
        padding: 0 20px;
    }

    h1 {
        font-size: 1.4rem;
    }

    .footer-content>div {
        display: flex;
        width: 100%;
        margin-bottom: 30px;
        justify-content: center;
    }

    .footer-content .footer-contact {
        margin-bottom: 0%;
    }

    .footer-content .logo-footer {
        margin-bottom: 0%;
    }

    .social-media {
        gap: 35px;
    }

    .footer-bottom {
        margin-top: 0%;
        padding-top: 0%;
    }

    .footer-content .footer-links {
        display: none;
    }

    .organigrama-img {
        content: url(/images/organigrama-movil-empleados.png);
        width: 75%;
    }

    .path-title h3 {
        font-size: 1rem;
    }

    .path-title h2 {
        font-size: 2rem;
    }

    .preguntas-frecuentes {
        flex-direction: column;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    nav {
        width: 80%;
    }

    .logo img {
        height: 80px;
        width: 85px;
    }

    .bandera img {
        height: 40px;
        width: 40px;
    }

    .izquierda h1 {
        font-size: 2rem;
    }

    .izquierda h3 {
        font-size: 1rem;
    }

    .appl_button {
        font-size: 1.2rem;
        padding: 15px 25px;
    }

    .card_s .txt {
        font-size: 1.2rem;
    }

    .main-text {
        font-size: 2rem;
    }

    .quotes {
        height: unset;
        margin: 20px 0;
    }

    .quotes .quote img {
        height: 35%;
    }

    .brush-text {
        font-size: 1.8rem;
    }

    .requisitos {
        margin-bottom: 0px;
    }

    .requisitos ul li {
        font-size: 0.9rem;
        padding: 5px 5px;
    }

    .requisitos ul li img {
        width: 20px;
        height: 20px;
    }

    .caracteristicas {
        margin: 0 20px;
    }
    
    .requisitos {
        margin-top: 10px;
    }

    .caracteristicas .card {
        margin: 10px 10px;
        width: 90%;
    }
    
    .caracteristicas p {
        font-size: 1rem;
    }

    .caracteristicas button {
        font-size: 1.2rem;
    }

    h1.small-title {
        font-size: 1rem;
    }

    h1.big-red-title {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .main-text {
        font-size: 1.5rem;
    }

    .background-container {
        height: auto;
        padding: 20px 0;
    }

    .thumbnail-wrapper {
        position: absolute;
        left: 0px;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 2;
    }

    .aplica-ya {
        margin-top: 20px;
    }

    .video-thumbnail {
        /* width: 100%; */
        /* height: 75%; */
        width: unset;
        height: unset;
        object-fit: unset;
        object-position: center;
        border-radius: 15px;
        display: block;
    }

    .preguntas-frecuentes h2 {
        font-size: 1.6rem;
    }

    .accordion-header h3 {
        font-size: 1rem;
        font-weight: 700;
    }

    .accordion-content p {
        font-size: 0.9rem;
    }
}

@media(max-width: 350px) {
    .quotes .quote img {
        height: 25%;
    }


}