* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    height:max-content;
}
body {
    font-family:"Source Code Pro", monospace;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #050a30;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content:space-between;
    z-index: 9999; 
}

.menu a {
    font-family: "Source Code Pro", monospace;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fffefe;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    transition: transform 0.3s ease-in-out; 
}

.menu_opciones{
    float: left;
}

.menu a:hover {
   transform: scale(1.1);
}
.container{
    height: 100vh;
    overflow-y:scroll;
    scroll-snap-type:  y proximity;
    display: block;
}
.page {
    height: inherit;
    padding-top: 50px;
    display: flex;
    font-size: 24px;
    color: white;
    scroll-snap-align: start;  
    background-color: #F4F6FC;
}



.menu-toggle{
    display: none;
}

.botones-conteiner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto; /* Push container to the right */
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    width: 35px; /* Adjust size as needed */
    height: 35px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-right: 2px;
}

.search-icon:hover{
    transform: scale(1.1);
}

.search-input {
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
    padding: 5px;
    font-size: 16px;
    background-color: #ffab06;
    margin-right: 2px;
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.search-container.active .search-input {
    width: 150px; /* Adjust width as needed */
    opacity: 1;
    border-bottom: 1px solid black;
}
  
.circle-btn {
    width: 40px; 
    height: 40px;
    border: solid #1d1d1d 1px;
    border-radius: 50%; 
    background-size: cover; 
    background-position: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.circle-btn:hover {
    transform: scale(1.1); 
}

#aleman-btn{ background-image: url('src/german-flag.jpeg');}
#ingles-btn{ background-image: url('src/british-falg.png');}

/*--------------------------------------PAGINAS--------------------------------------------------------*/
/*Titulos----------------------------------------------------------------------------------------------*/


.titulo-t1{
    padding-top: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.titulo-t2{
    padding-top: 10px;
    padding-left: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: start;
    width: 100%;
}

.titulo-t3{
    display: block;
justify-content: center;
align-items: center;
    padding-top: 10px;
    padding-left: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
    color: black;
}

/*Inicio pagina---------------------------------------------------------------------------------------*/

.cont-pg1{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #1d1d1d;
    text-align: start;
    background-color: #F4F6FC;
}

.row-up{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: baseline;
    align-items: center;
    gap: 10%;
    flex-wrap: wrap;
    flex-grow: 1;
    background-color: #F4F6FC;
   
}

.row-up>a{
   
    width: 20%;
    font-size: 0.9rem;
    color: #1d1d1d;
    
}

#cont-btF>button{
    background-color: #04D59E;
    border: none;
    border-radius: 15px;
   
    height: 65px;
    width: 150px;
    font-family: "Source Code Pro", monospace;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s ease-in-out;
    font-size: large;

}

#cont-btF>button:hover{
    transform: scale(1.1);
}

.img{
    align-items: center;
    display: flex;
    justify-content: center;
    
    max-height: 200px;
    height: 100%;
}

#img-log{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.row-down{
    margin-top: 1.3%;
    height: 83%;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: end;
   
}

.col-left{
    width: 30%;
    min-width: 30%;
    max-width: 30%;
    height:100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    
}

#text-com-pg1>b{
    font-size: clamp(1.5rem, 5vw, 1.5rem);
}

#text-com-pg1{
    font-size: clamp(0.5rem, 3vw, 1.1rem);
}

#prom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
   
    width: 100%;
    
    
    padding-top: 30px;
    padding-left: 0.5em;
    text-align: left;
    font-weight: 600;
    font-size:clamp(0.5rem, 3vw, 1.1rem);
    

}

#prom > div{
    width:100%;
}

#mono{
    height: 100px;
    width: auto;
}

#img-prom > button{
    background-color: #3a8aff;
    border: none;
    border-radius: 15px;
    height: 65px;
    width: 100px;
    font-family: "Source Code Pro", monospace;
    font-weight: bold;
    transition: transform 0.2s ease-in-out;
    font-size: medium;
    padding-left: 5px;
    padding-right: 5px;
}


.circcle-down-pg1{
    padding: 2em;
    height: 38vh;
    margin-top: -500px;
    background-color:#FFAA00;
    border-top-right-radius: 70%;
    border-top-left-radius: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10%;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.3rem;
    color: #fff;

}

#img-prom{
    width: 100%;
    height: 40%;
    display: flex;
    padding-left: .5em;
    padding-bottom: 5px;
    align-items: center;
    justify-content: space-evenly;
    font-size: medium;
    padding-top: 10px;
}



#img-p{
    width: 100px;
    height: 100px;
    object-fit: cover;
    background-color: #33c1ff;
}

.col-right{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-end;
    flex: 1;
}


.responsive-img {
   height: inherit;
   max-height: 80vh;
    display: block;
    object-fit: cover;
    object-position: top;
}

#wb{
    width: 60px;
      height: 60px;
}
.whatsapp-icon-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      background-color: #25D366;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      text-decoration: none;
      transition: transform 0.3s ease, background-color 0.3s;
      z-index: 999;
}

.whatsapp-icon-button:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}

.whatsapp-icon-button img {
    width: 30px;
    height: 30px;
}

#nosotros{
    padding: 10;
    background-color: #04D59E;
    display: flex;
    color: #ffffff;
    align-items: center;
}

/*Nosotros pagina--------------------------------------------------------------------------------------*/
#grupal, #indivudual-online, #certificaciones{
    padding: 0;
    background-color: #050a30;
    display: flex;
    color: #ffffff;
    align-items: center;
}
.cont-plc{
    padding-top: 50px;
    padding-right: 30px;
    padding-left: 20px;
}

.titulo-pg2{
    font-weight: bold;
}

#cont-izq-plc{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    width: 65%;
    text-align: justify;
}

#nosotros-a{
    padding-top: 8%;
    padding-left: 10%;
    width: 80%;
    font-size: x-large;
}

#cont-der-plc{
    padding-top: 50px;
    width: 35%;
    height: 100%;
    background-color: #fff;
    border-bottom-left-radius: 50%;
    border-top-left-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.img2-pg2{
    width: 80%;
    padding-left: 10%;
   
}

.imgS-pg2{
    width: 80%;
    padding-left: 10%;
}

#pg2-img2{
    width: 100%;
    height: auto;

}
.img1-pg2{
    padding-top: 15%;
    margin-left: 40px;
}

#pg1-img2{
    width: 100%;
    height: auto;

}


/*Idiomasss pagina--------------------------------------------------------------------------------------*/
#idiomas { 
    background:#ffde59; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: baseline ;
    color: #1d1d1d;
}


.cont-pg3, .cont-pg4{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    align-items: center;
    justify-content: space-evenly;
    
}

.cont-pg_primavera{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    align-items: center;
    justify-content: space-evenly;
    
}

.cont-pg5{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    align-items: center;
    justify-content: space-evenly;
    
}

.idioma-pg3{
    width: 30%;
    height: 100%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
    text-align: center;
    padding: 10px;
   

}

.image-pg3 {
    width: 100px;
    height: 100px;
    background-size: cover; 
    background-position: center;
    border-radius: 50%;
}
.img-mar{
    margin-bottom: 10vh;
}

#aleman-pg3{
    background-image: url("src/german-flag.jpeg");
}


#ingles-pg3{
    background-image: url("src/british-falg.png");
}

#espanol-pg3{
    background-image: url("src/mexico-flag.jpeg");
}

.text-pg3 {
    font-size: large;
    line-height: 1.5;
    text-decoration: none;
    color: #333;
}


/*Modalidaes pagina-------------------------------------------------------------------------------------*/
#modalidades {
    background:#fff; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: baseline ;
    color: #1d1d1d;
}
.cont-pg4{
    width: 100%;
}

.modalidad-pg4 {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.btn-pg4{
    width: 200px;
    height: 10vh;
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
    font-family: "Source Code Pro", monospace ;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px;
    align-items: center;
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 5px;
}

.btn-pg4:hover{
    transform: scale(1.1);
}

#btn-grp-pg4{ background-color: #3a8aff; }

#btn-onl-pg4{ background-color: #ffaa00; }

#btn-pre-pg4{ background-color:#04d59e }

.image-pg4{
    width: 300px;
    height: auto;
    background-size: cover; 
    background-position: center;
    margin-bottom: 10vh;
}

#inonl-pg4, #inpre-pg4, #grup-pg4{
    width: 100%;
    height: auto;
}

/*Grupo------------------*/


#txt-pg{
   
    width: 80%;
    padding-bottom: 30px;
}

#li-pg{
   
    width: 80%;
    padding-left: 5%;
}

#li-pg > li {
    margin-bottom: 10px;
}

.cont-agen{
    padding-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btn-agendar{
    background-color: #ffaa00;
}

/*Individual Online ---------------------------------------*/
#indivudual-online{
    background-color:  #ffb92e;
}

#btn-disp-online{
    background-color: #3a8aff;
    height: 15vh;
}

/*PLANES DISPONIBLES ONLINE INDIVIDUAL------------------------------------------------------------------*/
#panles-online, #panles-presencial{
    color: #1d1d1d;
    display: flex;
    flex-direction: column;
}

.cont-pgp{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10vh;
}

.cont-pgp_primavera {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column; /* 👈 clave */
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Título */
.cont-pgp_primavera h2 {
    width: 100%;
}

/* Contenido en 2 columnas */
.contenido {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.curso {
    display: flex;
    flex-direction: column; /* vertical */
    align-items: center;    /* centrado */
    text-align: center;
    gap: 10px;
}



.plan{

   
    width: 230px;
    height: 230px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10vh;
    margin-right: 10vh;
}

.cont-plan{
    background-color: #ffab06;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    font-size: 0.9rem;
    padding: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.cont-plan:hover{
    transform: scale(1.2);
}

.cont-plan > b{
    font-size: 1.5rem;
}



/*Individual presencial pagina---------------------------------------------------------------------------*/

#individual_presen{
    padding: 0;
    background-color: #19d59e;
    display: flex;
    flex-wrap: wrap;
}

#left_ip{
    width: 70%;
    height: 100%;
}

#title_ip{
    padding-top: 60px;
    background-color: #fff;
    color: #1d1d1d;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8rem;
    width: 60%;
    height: 20vh;
    border-bottom-right-radius: 80%;
    border-bottom-left-radius: 30%;
    padding-left: 20px;
}

#content_ip{
    margin-top: 20px;
    color: #1d1d1d;
    padding-left: 5%;
}

#li-pg_ip{
    width: 90%;
    padding-left: 5%;
}


#li-pg_ip > li {
    margin-bottom: 10px;
}

#btn-agendar-pre{
    background-color: #3a8aff;
    height: auto;
}

#right_ip{
    width: 30%;
    height: 100%;
    overflow: hidden;
}



.video-container {
    width: 100%;
    overflow: hidden;
}
  
  .video-container video {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2); 
  }


/*Historias pagina---------------------------------------------------------------------------------------*/
#historias{
    background-color: #f4f6fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: baseline ;
    color: #1d1d1d;
}

.cont-pg5{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: inherit;
}

.carousel-container {
    position: relative;
    width: 80%;
    height: 60vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    font-size: 2rem;
    color: white;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
    padding: 10vh;
}

/* Colores de cada slide */
.slide1 { background: linear-gradient(135deg, #ff5733, #ff914d); }
.slide2 { background: linear-gradient(135deg, #33c1ff, #4dafff); }
.slide3 { background: linear-gradient(135deg, #5cff33, #4dff91); }

/* Botones de navegación */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/*Formulario*/

#formulario-agendar-p{
    color: #1d1d1d;
    background-color:#eff5f5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#formulario-agendar-p > section{
    height: 650px;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}

#formulario-agendar {
    display: block;
    flex-direction: column;
    justify-content: space-evenly;
    gap:8px;
}



#title-form{
    text-align: center;
    padding-bottom: 10px;
}

.form-item{
    font-size: 1rem;
    color: #333;
    display: flex;
    flex-direction: column;
}

.form-item>input,.form-item>select {
    background-color: #f0f0f0;
    border: solid 2px #e0e0e0;
    padding: 4px;
    padding-left: 9px;
    font-size: medium;
    border-radius: 5px;
    height: 40px;
    color: #1d1d1d;
    transition: all 0.2s ease-in-out;
    
}



.form-item>input:focus {
    outline: none;
    background-color:  #dddddd;
}




input[type="radio"]:checked{
  font-size: 1rem;
    color: #333;
    display: flex;
    flex-direction: column;
}



#formulario-agendar >button {
    margin-top: 15px;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    
}

#formulario-agendar >button:hover {
    background: #0056b3;
}

/*Certificaciones pagina----------------------------------------------------------*/
#certificaciones{
    color: #1d1d1d;
    background-color: #3a8aff;
}

.text-cer-a{
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    margin-top: 20px;
}

#btn-info-cer{
    background-color: #04d59e;
}

/*Telec pagina-------------------------------------------------------------------*/
#telec{
    height: auto;
    color: #1d1d1d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#cont-telc{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20;
}

#cont-telc>a{
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
}


/*table */

table {
    width: 1000%;
    max-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 20px;
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid #003366;
    border-left: 2px solid #003366;
    overflow: hidden; 
}

.B1t>th, .B1t>td{
    border-bottom: 2px solid #ffaa00;
    border-left: 2px solid #ffaa00;;
}

.B2t>th, .B2t>td{
    border-bottom: 2px solid #048865;
    border-left: 2px solid #048865;
}



/* Title row with a different background */
th[colspan="4"] {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #005bb5; /* Darker blue */
    color: white;
    font-size: 20px;
}

th {
    background-color: #0073e6;
    color: white;
    font-size: 18px;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

td {
    font-size: 16px;
}

.clk-tb{
    color: #c50707;
    text-decoration: none;
    transition: all  0.2s ease-in-out;
}
.clk-tb:a{
    text-decoration: none;
    color: #c50707;
    font-weight: bold;
    cursor: pointer;
}
.clk-tb:hover{
    color: #c50707;
    font-weight: bold;
    cursor: pointer;
}




/*Foooter------------------------------------------------------------------------*/
.footer {
    background-color: #201866;
    color: white;
    padding: .5em;
    text-align: center;
    width: 100%;
}

.footer .social-icons {
    /*display: flex;*/
    display: block;
    justify-content: center;
    gap: 15px;
    /*margin-bottom: 10px;*/
}

.footer .social-icons a {
    color: white;
    font-size: 1.2em;
    text-decoration: none;
    transition: 0.3s;
}

.footer .social-icons a:hover {
    color: #f39c12; /* Change color on hover */
}

.footer p {
    font-size: .5em;
}

#regular-curses{
    color: #1d1d1d;
    background-color: #04d59e;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px
}

#regular-curses > h2:nth-child(1){
    padding-top: 50px;
    background-color: #fff;
    width: 100%;
    height: 160px;
    border-radius: 0px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    text-align: center;

}

#regular-curses > h2{
    background-color: #fff;
    width: 100%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    text-align: center;
    height: 100px;
}

#primavera-curses{
    background-color: white;
    color: #1d1d1d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px
}

.cont-cursos-regulares{
    height: inherit;
}

.cont-cursos-regulares> div{
    align-items: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    padding-top: 10px;
}

.text-promo > a{
    text-align: center;
    font-size: 1em;
}
/* Para móviles */
@media (max-width: 768px) {
    .text-promo > a {
        font-size: 1.2em;
    }
}

.descuento-text{
    color: #c50707;
    font-weight: bold;
    width: 100%;
}

#special-courses{
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #04D59E;
}

.special-izq{
    padding-left: 30px;
    padding-top: 50px;
    height: inherit;
    width: 57%;
}

.special-izq > div{
    padding-top: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-der{
    height: inherit;
    background-color: #fff;
    width: 37%;
    border-top-left-radius: 50%;
    border-bottom-left-radius:50%;
    display: flex;
    align-items: center;
    color:#1d1d1d;
    text-align: center;
    justify-content: center;
    padding-left: 15px;
}

.special-cuorses-cont{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10vh;
} 

#telc{
    width: 400px;
    height: auto;
}