@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
--padding-container: 100px 0;
--color-title: #9c8004d3;
}

body{
    font-family: 'Poppins', sans-serif;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    /*background-color: #fff;*/
    padding: var(--padding-container);
    box-sizing: border-box;
}

.hero{
    width: 100%;
    height: 100%;
    min-height: 600%;
    max-height: 800%;
    position: relative;
    display: grid;
    grid-template-rows: 120px 1fr;
    color: #9c8004d3;
}

.hero_containerimgs{
    max-width: 500px;
    border-radius: 10px;
    align-items: center;
}

.hero_cont{
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}


.hero_title{
    font-size: 3rem;
    color: #9c8004d3;
}

.hero_paragraph{
    margin-bottom: 20px;
    color: #000000;
}

.cta{
    display: inline-block;
    background-color: #9c8004d3;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 32px;

}

.nav{
    --padding-container:0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 35px;
}

.nav_title{
    font-weight: 300;
}

.nav_items{
    list-style: none;
    color: #fff;
}

.nav_link{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
    
}

.nav_links{
    color:#9c8004d3;
    text-decoration: none;
}

.nav_links1{
    color:#000000d3;
    text-decoration: none;
}

.nav_linkss{
    color: #fff;
    text-decoration: none;
    
}

.nav_menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav_img{
    display: block;
    width: 30px;
}

.nav-close{
    display: var(--show, none);
}

.nav container{
    padding: 35px;
}

.nav_close {
    display: none; /* Ocultar por defecto */
    font-size: 24px;
    cursor: pointer;
}

/* Responsive menu*/

@media (max-width: 768px) {
    .nav_menu {
        display: block;
    }

    .nav_link {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%; /* Cambiamos de right a left */
        width: 250px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1); /* Ajustamos la sombra */
        padding-top: 60px;
        transition: left 0.3s ease-in-out; /* Cambiamos de right a left */
        z-index: 1000; /* Asegura que el menú esté por encima del contenido */
    }

    .nav_link.show {
        left: 0; /* Cambiamos de right a left */
    }

    .nav_items {
        text-align: center;
        padding: 10px 15px; /* Reducimos el padding vertical */
        margin: 0; /* Eliminamos el margen */
    }

    .nav_links {
        font-size: 18px;
        display: block;
        padding: 5px 8px; /* Reducimos el padding */
    }

    .nav_close {
        display: block;
        position: absolute;
        top: 5px;
        right: 15px;
        color: #333;
    }

    /* Ocultar los iconos cuando el menú no esté desplegado */
    .nav_link:not(.show) .nav_close,
    .nav_link:not(.show) .nav_menu {
        display: none;
    }

    .hero_cont {
        flex-direction: column;
        text-align: center;
    }

    .hero_containerimgs {
        max-width: 100%;
    }

    .hero_title {
        font-size: 1.8rem;
    }
}

/*About*/

.top-categories{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.container-categories{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card-category{
    height: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    gap: 2rem;
}

.category-exadata{
    background-image: linear-gradient(#00000080, #00000080), url('../img/exadata.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.category-oci{
    background-image: linear-gradient(#00000080, #00000080), url('../img/oci.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-ai{
    background-image: linear-gradient(#00000080, #00000080), url('../img/ai.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-category p{
    font-size: 2.5rem;
    color: #fff;
    text-transform: capitalize;
    position: relative;
}

.card-category p::after{
    content: '';
    width: 2.5rem;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translate(-50%, 50%);

}

.card-category spam{
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
}

.card-category spam:hover{
    color: var(--primary-color);
}

/*Servicios*/

.contenedor{
    max-width: 1200px;
    padding: 10px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    contain: paint;
}

.contenedor .contenedor-items{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 30px;
    grid-row-gap: 30px;
    width: 100%;
    transition: .3s;
}

.contenedor .contenedor-items .item{
    width: 92%;
    margin: 20px;
    box-shadow: 0 0 5px #9c8004d3;
    border-radius: 10px; 
    transition: .3s;
}

.contenedor-items .item:hover{
    box-shadow: 0 0 10px #9c8004d3;
    scale: 1.05;
}

.contenedor-items .item .img-item{
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.contenedor-items .item .titulo-item{
    display: block;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    padding: 5px;
}

.contenedor-items .item .frase-item{
    display: block;
    text-align:justify;
    font-size: 14px;
    padding: 10%;
}


.contenedor .contenedor-items .item1{
    width: 92%;
    margin: 20px;
    box-shadow: 0 0 5px #9c8004d3;
    border-radius: 10px; 
    transition: .3s;
}

.contenedor-items .item1:hover{
    box-shadow: 0 0 10px #9c8004d3;
    scale: 1.05;
}

.contenedor-items .item1 .img-item{
    width: 100%;
    height: 210px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.contenedor-items .item1 .titulo-item{
    display: block;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    padding: 5px;
}

.contenedor-items .item1 .frase-item{
    display: block;
    text-align:justify;
    font-size: 14px;
    padding: 10%;
}



.about{
    text-align: center;
}

.subtitle{
    color: #9c8004d3;
    font-size: 2em;
    margin-bottom: 25px
}

.about_paragraph{
    line-height: 1.7;
    
}

.about_main{
    padding-top: 80px;
    display: grid;
    width: 90%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(280px,auto));
}

.about_icons{
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 260px;
    overflow: hidden;
    margin: 0 auto;
}



.abouts{
    text-align: center;
}

.subtitle{
    color:var(--color-title);
    font-size: 2em;
    margin-bottom: 25px
}

.about_paragraph{
    line-height: 2.7;
    
}

.about_mains{
    padding-top: 80px;
    display: grid;
    width: 90%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(250px,auto));
}

.abouts_icons{
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 250px;
    overflow: hidden;
    margin: 0 auto;
}

.container1{
    background-image: linear-gradient(180deg, #FBC617 0%, #EDD870 150%);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 15px;
}

/* Contenedor principal del formulario */

.formulario {
    max-width: 600px;
    margin: 30px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Grupo de cada campo del formulario */
  .formulario__grupo {
    margin-bottom: 15px;
    position: relative;
  }
  
  /* Contenedor del input e ícono */
  .formulario__grupo-input {
    position: relative;
  }
  
  /* Estilo de los inputs */
  .formulario__input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
  }
  
  .formulario__input:focus {
    outline: none;
    border-color: #9c8004d3;
  }
  
  /* Estilo del ícono de validación */
  .formulario__validacion-estado {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  /* Cuando el campo es correcto */
  .formulario__grupo-correcto .formulario__validacion-estado {
    opacity: 1;
    color: green;
  }
  
  /* Cuando el campo es incorrecto */
  .formulario__grupo-incorrecto .formulario__validacion-estado {
    opacity: 1;
    color: red;
  }
  
  /* Mensajes de error de cada input */
  .formulario__input-error {
    color: rgb(163, 103, 103);
    font-size: 9px;
    margin-top: 5px;
    display: none;
  }
  
  .formulario__input-error-activo {
    display: block;
  }
  
  /* Grupo de términos y condiciones */
  .formulario__grupo-terminos {
    display: flex;
    align-items: center;
    margin-top: 20px;
  }
  
  .formulario__checkbox {
    margin-right: 10px;
  }
  
  /* Mensaje general de error (campos no completados) */
  .formulario__mensaje {
    margin-top: 10px;
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    color: #721c24;
    display: none;
    font-size: 14px;
  }
  
  .formulario__mensaje-activo {
    display: block;
  }
  
  /* Grupo y estilos del botón de enviar */
  .formulario__grupo-btn-enviar {
    text-align: center;
    margin-top: 20px;
  }
  
  .formulario__btn {
    background-color: #9c8004d3;
    border: none;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .formulario__btn:hover {
    background-color: #7a680f;
  }
  
  /* Mensaje de éxito */
  .formulario__mensaje-exito {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none;
    margin-top: 20px;
  }
  
  .formulario__mensaje-exito-activo {
    display: block;
  }
  
  .Error {
    color: red;
    font-weight: bold;
    font-size: 0.9rem;
    /* O cualquier otro estilo que desees */
  }
  
  .Invalid {
    border: solid 1px red;
    box-shadow: 0 0 10px red;
  
  }

/*Eventos*/

html,
.bodies{
    position: relative;
    height: 100%;
}

.bodies{
    background-color: #fff;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.bodies .swiper{
    width: 100%;
    padding: 150px 0 50px 0;
}

.bodies .swiper-slide{
    width: 350px;
    height: 500px;
    background-color: #f1eeee;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    padding: 40px;
    text-align: center;
}

.bodies .icons{
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.bodies .icons i{
    font-size: 20px;
    color: #bead57;
}

.bodies .icons img{
    width: 50px;
}

.bodies .event-content{
    display: flex;
    justify-content: space-between;
}

.bodies .event-txt{
    flex-basis: 50%;
    text-align: left;
}

.bodies .event-txt span{
    font-size: 25px;
    color: #bead57;
    font-weight: bold;
}

.bodies .event-txt h3{
    font-size: 20px;
    color: #272727;
    text-transform: uppercase;
}

.bodies .event-txt p{
    font-size: 14px;
    color: #272727;
}

.bodies .event-img{
    flex-basis: 50%;
    text-align: right;
    
}

.bodies .event-img img{
    width: 220px;
    border-radius: 10px;
}

/* Media Queries para Responsive */
@media (max-width: 768px) {
    .bodies .swiper {
        padding: 50px 0 30px 0; /* Reducimos el padding en móviles */
    }

    .bodies .swiper-slide {
        width: 90%; /* Ocupa el 90% del ancho en móviles */
        padding: 15px; /* Reducimos el padding */
    }

    .bodies .event-content {
        flex-direction: column; /* Mantenemos la columna en móviles */
    }

    .bodies .event-txt span {
        font-size: 20px; /* Ajustamos el tamaño de la fuente */
    }

    .bodies .event-txt h3 {
        font-size: 16px; /* Ajustamos el tamaño de la fuente */
    }

    .bodies .event-txt p {
        font-size: 13px; /* Ajustamos el tamaño de la fuente */
    }

    .bodies .event-img img {
        max-width: 180px; /* Reducimos el tamaño de la imagen */
    }
}


/*boton Cita*/

.container .wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100hv;
    box-sizing: border-box;
}

.container .wrapper a{
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    letter-spacing: 4px;
    color: #9c8004d3;
    font-size: 1.2rem;
    font-weight: bold;
    transition: .5s;
    overflow: hidden;
}

.container .wrapper a:hover{
    background-color: #9c8004d3;
    color: #fff;
    box-shadow: 0 0 5px #9c8004d3,
                0 0 25px #9c8004d3,
                0 0 50px #9c8004d3,
                0 0 200px #9c8004d3;
    -webkit-box-reflect: below 1px linear-gradiente(transparent, #0005);
}

.container .wrapper a span{
    position: absolute;
    display: block;
}

.container .wrapper a span:nth-child(1){
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9c8004d3);
    animation: animate1 1s infinite;
}

@keyframes animate1{
    0%{
        left: -100%;
    }
    100%{
        left: 100%;
    }
}

.container .wrapper a span:nth-child(2){
    top: -100%;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #9c8004d3);
    animation: animate2 1s infinite;
    animation-delay: .25s;
}

@keyframes animate2{
    0%{
        top: -100%;
    }
    100%{
        top: 100%;
    }
}

.container .wrapper a span:nth-child(3){
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(270deg, transparent, #9c8004d3);
    animation: animate3 1s infinite;
    animation-delay: .5s;
}

@keyframes animate3{
    0%{
        right: -100%;
    }
    100%{
        right: 100%;
    }
}

.container .wrapper a span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #9c8004d3);
    animation: animate4 1s infinite;
    animation-delay: .75s;
}

@keyframes animate4{
    0%{
        bottom: -100%;
    }
    100%{
        bottom: 100%;
    }
}


/*testimony*/

.testimony{
background-color: #ffffff;
}
.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: #ffffff;
    color: rgb(27, 27, 20);
    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 .2s;
    border: 1px solid #5454d4;
    border-radius: 6px;
}

.questions_padding--add{
    padding-bottom: 30px;
}

.questions_answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.question_title{
    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;
}

.questions_img{
    display: block;
}

.question_copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

/*footer*/

.footer2 ul{
    list-style: none;
}

.footer2{
    color: #fff;
    background: #343435;
}

.footer2 p{
    color: #ccc;
    max-width: 25em;
    font-size: 0.9em;
    line-height: 23px;
    align-items: center;

}

.footer2 a{
    color: #fff;
    text-decoration: none;
}

.footer2 .containerF{
    display: flex;
    justify-content: space-between;
    gap: 2em;
}

.brand{
    display: block;
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 1em;
}

.media-icons li,
.service-icons li{
    display: inline-block;
    margin: 0.5em 0.5em 0.5em 0;
}

.media-icons a{
    font-size: 1.1em;
    width: 2em;
    height: 2em;
    border: 1px #fff solid;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.media-icons a:hover{
    background: #fff;
    color: #111;
}

.service-icons a{
    font-size: 1.6em;
}

.service-icons a:hover{
    color: #dbdbdb;
}

.footer-bottom{
    border-top: 1px #dbdbdb solid;
}

.footer2 .menu1{
    margin-bottom: 3em;
}

.footer2 .menu1 li{
    display: inline-block;
    margin: 0 0.7em 0.7em 0;
    text-align: center;
}

.footer2 .menu1 a{
    transition: 0.3s;
    font-weight: 600;
}

.footer2 .menu1 a:hover{
    color: #ffd000c4;
}

.input-wrap{
    margin: 1em 0;
    display: flex;
}

.input-wrap input{
    padding: 0.5em;
    border: none;
    background: #20232a;
    color: #ccc;
}

.input-wrap input:focus{
    outline:none;

}

.input-wrap button{
    padding: 0.8em;
    background: #ffd000c4;
    border: none;
    color: #fff;
}

.input-wrap button:hover{
    background: #fff;
    color: #111;
}

@media screen and (max-width: 900px){
    .footer2 .containerF{
        flex-direction: column;
    }
}

.footer_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
}

@media (max-width:800px){
    .nav_menu{
        display: block;
        color: #000;
    }

    .nav_link--menu{
        position: fixed;
        background-color: #111;
        top: 0;
        left: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: 0.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;
    }

    .abaut_main{
        gap: 2em;
    }

    @media (max-width: 768px) {
        .nav_menu {
            display: block;
        }
    
        .nav_link {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: -100%;
            width: 250px;
            height: 100vh;
            background: #333;
            box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
            padding-top: 60px;
            transition: left 0.3s ease-in-out;
        }
    
        .nav_link.show {
            left: 0;
        }
    
        .nav_items {
            text-align: center;
            padding: 15px;
        }
    
        /* Cambiar color del menú en modo responsive */
        .nav_links {
            font-size: 18px;
            display: block;
            padding: 10px;
            color: #fff;
        }
    
        .nav_links:hover {
            background: #ffd000c4;
            color: #fff;
        }
    
        /* Botón de cierre */
        .nav_close {
            display: block;
            position: absolute;
            top: 10px;
            right: 15px;
            color: #fff;
        }
    }
}

