.iconos {
  display: flex;
  justify-content: space-around; /* distribuye los íconos de forma horizontal */
  align-items: center;
  
  background-color: rgb(244, 97, 18);
  color: rgb(255, 251, 248);
}

.icono {
  text-align: center;
  font-size: 18px;
  padding: 10px;
  
}

.headerr {
  height: 300px;
  background-image:
    linear-gradient(
      rgba(32, 32, 32, 0.4),
      rgba(32, 32, 32, 0.4)
    ),
    url(header_cursos.png);
  background-size: cover;
  background-position: center;
  color: white;
   display: flex;
  align-items: center;
  justify-content: center;
}


.header-content {
  text-align: center;
  background-color: #0000008a;
  padding: 20px 40px;
  border-radius: 8px;
}

.header h1 {
  color: #f7770e;
  font-size: 2.5rem;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

  margin: 0;
}

.header p {
  color: #ddd;
  font-size: 1.2rem;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin-top: 10px;
}

.titulo_header_curso{
  margin: auto;
  text-align: center;
  color: rgb(202, 72, 20);
}


body{
    text-align: center;
    margin: auto;
    height: auto;
    width: auto;
    
}

section{
  padding: 20PX;
   text-align: center;
    margin: auto;
    height: auto;
    width: auto;
    color:rgb(244, 97, 18);
    
}

.boton_inscripcion{
  background-color: rgb(255, 249, 246);
 
  padding: 10px;
  border-radius: 68px 68px 68px 68px;
-webkit-border-radius: 68px 68px 68px 68px;
-moz-border-radius: 68px 68px 68px 68px;
margin: auto;
text-align: center;
font-size: 20px;

}


#profe_perfil{
  margin: auto;
text-align: center;
}


.div_gris{
 padding: 20px;
 width: 90%;
 border-color: black;
  border-radius: 68px 68px 68px 68px;
-webkit-border-radius: 68px 68px 68px 68px;
-moz-border-radius: 68px 68px 68px 68px;
box-shadow: 0px 0px 6px 0px rgba(0,0,0,1);
-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,1);
-moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,1);
margin: auto;
background-color: white;

}

.foto_certificado{
  width: 80%;
  height: auto;
  margin: auto;
}


.cursos_tarjetas_links1{
 display: grid ;
  grid-template-columns: 
  repeat(
    auto-fit,
    minmax(280px, 1fr)

  );
max-width: 1200px;
  gap: 30px;
 margin: 0 auto;
text-align: center;

padding: 20px;

}

.taller_extra_curricular{
  color: rgb(43 , 43 , 43);
  text-align: left;
  margin: 0% 10%;
}

.taller_extra_curricular_texto{
    color: rgb(43 , 43 , 43);
  text-align: justify;
  margin: 0% 10%;

}
.imagen{
   flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
}




.texto{
  color: #000;
 
}

.parrafo{
  color: #000;
 
}

#tamaño_imagen{
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.rallita_HR{
  color: rgb(255, 255, 255);
   background-color: rgb(235, 235, 235); 
   width: 90%;
    margin: auto;
}

.cursos_porque{
  display: grid;
  grid-template-areas: 
  "tex img";
   gap: 30px;
   padding: 20px;
   max-width: 900px;
}

.sections{
  background-color:#f0f0f0;
}
.section_porque_curso{
  background-color: rgb(43, 43, 43);
    
}

.FONDITO_NARANJA{
  
  color: rgb(255, 255, 255);

 text-align:left;
   margin: 0% 5%;

}
.rectangulitonaranja_en_los_cursos{
  background-color: rgb(235, 75, 31);
  color: rgb(255, 255, 255);
width: 20%;
  border-radius: 10px;
   text-align:center;
   margin: 0% 5%;
}

.p_porque_curso{
  color: #f0f0f0; 
  text-align:justify;
   padding: 0% 10%;
}
.h1{
  color: rgb(235, 75, 31);
}

.div_especificaciones{
  background-color: rgba(105, 105, 105, 0.763);
   width: 80%; 
   margin: auto; 
   height: auto;
    padding: 20px;
     color: rgb(247, 247, 247);
     text-align: center;
     border-radius: 55px 55px 55px 55px;
-webkit-border-radius: 55px 55px 55px 55px;
-moz-border-radius: 55px 55px 55px 55px;
box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);

}

.p{
  color: rgb(27, 27, 27); 
  text-align:justify;
   padding: 0% 10%;
}

.p_CURSOS{
  color: #f0f0f0; 
  text-align:justify;
   
   
}

#p_tarjeta_curso{
  text-align: left;

}

#img_tarjeta_curso{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#boton_targetas_inicio{
  background-color: rgb(235, 75, 31);
  color:  rgb(225, 225, 225);
  font-weight: 500;
  border: 0px;
}

.actividades_strong_texto{
  color: rgb(235, 75, 31);
}

.ACTIVIDAES_calificado_texto{
  padding: 0% 10%; 
  color: rgb(28, 28, 28);
  text-align: left;
}

.profes_link_tarjeta{
   display: grid ;
  grid-template-columns: 
  repeat(
    auto-fit,
    minmax(150px, 1fr)

  );

  gap: 30px;
  padding: 20px;
 width: 90%;
 background-color: #ffffffcc;
  border-radius: 68px 68px 68px 68px;
-webkit-border-radius: 68px 68px 68px 68px;
-moz-border-radius: 68px 68px 68px 68px;
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.363);
-webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.32);
-moz-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.568);
margin: auto;


}

.imagen{
  flex-grow: 1;
  flex-basis: 200;
  width: 100%;
  height: auto;
}

.boton_perfil_profe{
   background-color: rgb(27, 27, 27);
  width: 80%;
  padding: 10px;
  border-radius: 68px 68px 68px 68px;
-webkit-border-radius: 68px 68px 68px 68px;
-moz-border-radius: 68px 68px 68px 68px;
margin: auto;
text-align: center;
font-size: 20px;

}

.imagen_link_profe{
  width: 70%;
  height: auto;
  margin: auto;
}

.card-group{
  gap: 25px;
  padding: 0% 20px;
  width: 90%;
  margin: auto;
}



.btn_btn-primary{
  background-color:  #ff5100;
  color:rgb(9, 8, 8) ;
  width: 50%;
font-weight: 600;
font-size: 20px;
  padding: 10px;
   border-radius: 68px 68px 68px 68px;
-webkit-border-radius: 68px 68px 68px 68px;
-moz-border-radius: 68px 68px 68px 68px;
}

.btnbtn-primary{
   background-color:  #ff5100;
  color:rgb(9, 8, 8) ;
  width: 50%;
font-weight: 600;
font-size: 20px;
  padding: 10px;
   border-radius: 68px 68px 68px 68px;
-webkit-border-radius: 68px 68px 68px 68px;
-moz-border-radius: 68px 68px 68px 68px;
}

.uno{
  background-color: #f1f1f1;

}




.mapa{
width: 80%;
height: 300px;
border: 0%;

}


.site-footer{
  background: rgb(43, 43, 43);         /* gris oscuro */
  color: #e5e7eb;
  padding: 48px 16px 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
 text-align: left;
}

.footer-container{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
}

.footer-title{
  font-size: 1.05rem;
  margin: 0 0 14px;
  color:#f7770e;
  letter-spacing: .2px;
  text-align: left;
}

.footer-item{
  margin: 0 0 12px;
  line-height: 1.5;
  color: #cbd5e1;
  text-align: left;
}

.footer-label{
  color: #f8fafc;
  font-weight: 600;
  text-align: left;
}

.footer-link{
  color: #93c5fd;
  text-decoration: none;
  text-align: left;
}
.footer-link:hover{
  text-decoration: underline;
  text-align: left;
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  color: #cbd5e1;
  text-align: left;
}
.footer-list li{
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
}
.footer-list li span{
  color: #f8fafc;
  font-weight: 600;
  text-align: left;
}

.social-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
  text-align: left;
}

.social-btn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  
}
.social-btn:hover{
  transform: translateY(-2px);
  background: rgba(147,197,253,.18);
  border-color: rgba(147,197,253,.35);
  text-align: left;
}
.social-btn svg{
  width: 22px;
  height: 22px;
  fill: #e5e7eb;
  text-align: left;
}

.footer-note{
  margin: 0;
  color: #94a3b8;
  line-height: 1.5;
  text-align: left;
}

.footer-bottom{
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 14px 16px;
 text-align: center;
  background: rgba(0,0,0,.12);
}
.footer-bottom p{
  margin: 0;
  color: #94a3b8;
  font-size: .95rem;
  
}

/* Responsivo */
@media (max-width: 900px){
  .footer-container{
    grid-template-columns: 1fr;
  }
}




  .navbar .nav-link {
  color:#f7770e;
 
}

.navbar .nav-link:hover {
  color:#f7770e;
  
}

.accordion-button.collapsed {
  background-color:rgb(255, 255, 255);
  color: #f7770e;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

}

.accordion-item {
  background-color: rgb(233, 233, 233);
  color: black;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  width: 95%;
  height: auto;
  justify-content: center;
  margin: auto;

border-left: 5px solid var(--negro);
border-radius: 16px;
border: 1px solid #d3d2d2;
box-shadow: 0 10px 25px rgb(201, 201, 201);
}

/* --- Reseteo básico --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* --- Estilos del Header / Navegación --- */
        .header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 50px;
            z-index: 1000; /* Asegura que el menú quede por encima del carrusel */
            
        }

        .logo a {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
            text-decoration: none;
            letter-spacing: 1px;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 20px;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #ff7b00; /* Color de acento al pasar el mouse */
        }

        /* --- Estilos del Carrusel (Hero Section) --- */
        .carousel-container {
            position: relative;
            width: 100%;
            height: 100%;
          
            object-fit: cover; /* Evita que la imagen se deforme */
             overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
        }

        .carousel-slide {
            display: flex;
            width: 300%; /* 100% por cada una de las 3 imágenes */
            height: 100%;
            animation: cambiarImagen 15s infinite ease-in-out;
        }

        /* Cada contenedor de imagen individual */
        .slide {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .slide img {
            width: 100%;
            height: 100%;
            
            overflow: hidden;
        }

        

        .overlay h1 {
            font-size: 48px;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
        }

        .overlay p {
            font-size: 18px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
        }

        /* --- Animación del Carrusel --- 
           Divide el tiempo para mostrar cada imagen y hacer la transición */
        @keyframes cambiarImagen {
            0%, 28% { transform: translateX(0); }          /* Muestra Imagen 1 */
            33%, 61% { transform: translateX(-33.33%); }   /* Muestra Imagen 2 */
            66%, 94% { transform: translateX(-66.66%); }   /* Muestra Imagen 3 */
            100% { transform: translateX(0); }             /* Vuelve al inicio */
        }

        /* Adaptación para pantallas más pequeñas */
        @media (max-width: 768px) {
            header {
                padding: 30px;
                flex-direction: column;
                gap: 15px;
            }
            .nav-links li {
                margin: 0 10px;
            }
            .overlay h1 {
                font-size: 32px;
            }
        }


   .navbar .nav-link {
  color:#f7770e;
}

.navbar .nav-link:hover {
  color:#f7770e
}

:root {
  --wa: #25D366;
  --wa-dark: #1ebe5d;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: rgba(0, 0, 0, .45);
  --card: #ffffff;
  --border: #e5e7eb;
}

/* --- BOTÓN FLOTANTE --- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 999px;
  cursor: pointer;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  font: 600 15px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  transition: transform .15s ease, background .15s ease;
}
.wa-float:hover { 
  background: var(--wa-dark); 
  transform: translateY(-2px); 
}


.wa-label { 
  display: inline; 
}

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;     
  justify-content: center;
  background: var(--bg);
  padding: 12px;           
  overflow: hidden;
}

.wa-modal.is-open { 
  display: flex; 
}

/* --- TARJETA DEL FORMULARIO --- */
.wa-card {
  width: min(520px, 100%);
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;        
  flex-direction: column;
  max-height: 90vh;      
}

/* --- ENCABEZADO --- */
.wa-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;       
}
.wa-title {
  margin: 0;
  font: 800 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
}
.wa-subtitle {
  margin: 6px 0 0;
  font: 500 13px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--muted);
}
.wa-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  line-height: 0;
  flex-shrink: 0;
}
.wa-close:hover { background: #f3f4f6; }
.wa-close svg { width: 18px; height: 18px; }

/* --- CUERPO DEL FORMULARIO --- */
.wa-body { 
  padding: 10px 16px 16px; 
  overflow-y: auto;   
}

.wa-field {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}
.wa-field label {
  font: 700 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
}


.wa-field input,
.wa-field textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  font: 500 16px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
}
.wa-field textarea { 
  min-height: 90px;    
  resize: vertical; 
}

.wa-field input:focus,
.wa-field textarea:focus {
  border-color: rgba(37, 211, 102, .7);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .18);
}

/* --- BOTONES DE ACCIÓN --- */
.wa-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-shrink: 0;     
}
.btn {
  flex: 1;
  border: 0;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 14px;
  font: 800 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-secondary {
  background: #f3f4f6;
  color: var(--text);
}
.btn-secondary:hover { opacity: .95; }

.btn-primary {
  background: var(--wa);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--wa-dark); }

.hint {
  margin-top: 12px;
  font: 500 12px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--muted);
  text-align: center;
}

/* Accesibilidad */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}


@media (max-width: 400px) {
  .wa-actions {
    flex-direction: column-reverse; 
  }
  .btn {
    padding: 14px;
  }
}
