/* 🌐 Fuente general */
body {
   font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}
/* 🔵 Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #06177e; /* Azul profundo */
  padding: 12px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header ._logo img {
  height: 55px;
}

.main-header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-header nav ul li a:hover {
  color: #e6b800; /* Amarillo cálido */
}



/* 🎥 Slider */
.slider {
  height: 90vh;
}





/*courses*/

.courses-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.course-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff; /* blanco puro */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease;
  max-width: 360px; /* ajustable */
  margin: 20px auto;
  font-family: "Helvetica Neue", Arial, sans-serif; /* Sans-serif limpia */
}

.course-box:hover {
  transform: translateY(-5px);
}

/* Barra titular */
.course-header {
  background: #06177e; /* azul profundo */
  padding: 14px 16px;
  text-align: center;
}

.course-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Contenido */
.course-content {
  padding: 18px 20px;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.course-content strong {
  color: #06177e;
}

/* Footer con botón */
.course-footer {
  display: flex;
  justify-content: center;
  padding: 16px;
  margin-top: auto;
}




.contact-container {
  background-color: #06177e;

  display: flex;
  justify-content: center;
}

.contact-form {
  background-color: transparent;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  max-width: 600px;
  width: 100%;
}

.contact-form h1 {
  font-size: 1.6em;
  margin-bottom: 14px;
  color:white;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 2px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form label select {
  width: 100%;
}

.contact-form p {
  font-weight: 700;
  font-size: 1.1em;
  margin-top: 12px;
  margin-bottom: 6px;
  color: #e6b800; /* amarillo ECOS */
}

/* Checkboxes alineados a la izquierda */
.contact-form .extras-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.contact-form .extras-group label {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: white;
  gap: 10px;
}

.contact-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #e6b800;
  margin: 0;
}



/* Responsive */
@media (max-width: 768px) {

 .content-left{
    min-width: 95%;

   }

  .contact-form h1 {
    font-size: 1.4em;
  }
}

/* ✨ Sección inmersión */
.immersion-section {
  display: flex;
  align-items: flex-start; /* Mejor alineación para texto */
  justify-content: space-between;
  padding: 60px 200px;
  gap: 40px;
  flex-wrap: wrap; /* Permite que en móviles se acomode */
}

.content-left {
  flex: 0 0 800px; /* Ocupa el 65% del ancho */
   max-width: calc(900px - 10%) ; /* Máximo ancho permitido */
   min-width: 400px;
   margin: 0 5px;
}

.image-right {
  flex: 0 0 350px; /* Ocupa siempre el 30% del ancho */
  padding-top: 50px;
  min-width: 300px;
}

.image-right img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.immersion-section h2 {
  color: #06177e;
  font-size: 2rem;
  margin-bottom: 20px;
}

.immersion-section p {
  font-size: 1.1rem;
  color: #444;
}

/* Listas con icono ✨ */
.immersion-section ul {
  list-style: none; /* Quita bullets predeterminados */
  padding-left: 0;
  margin-top: 20px;
}

.immersion-section ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px; /* Deja espacio para el icono */
  font-size: 1rem;
  color: #444;
}

.immersion-section ul li::before {
  content: "✨"; /* Icono */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  line-height: 1; /* Ajusta altura */
}


/* ==== BOTONES PRINCIPALES ==== */
.cta-button,
.contact-form button[type="submit"] {
  display: inline-block;
  margin-top: 20px;
  background: #fdb307; /* amarillo cálido */
  color: #06177e; /* azul corporativo */
  font-weight: bold !important; /* fuerza negrilla */
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Hover buttons*/
.cta-button:hover,
.contact-form button[type="submit"]:hover {
  background: #06177e;
  color: #fff;
}
@media (max-width: 768px) {
  .immersion-section .cta-button {
    display: block;
    max-width: 200px;
    margin: 20px auto 0 auto; /* arriba, derecha, abajo, izquierda */
    text-align: center;
  }
}



/* Imagen lateral */
.image-right img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
}



/* ⭐ Why Choose Us */
.why-choose_us {
  text-align: center;
  padding: 40px 30px;
  min-width: calc(100% -70px);
  background: #f9f9f9;
}

.why-choose_us h1 {
  color: #06177e;
  margin-bottom: 10px;
}

.why-choose_us .features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 25px;
}

.feature {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-8px);
}

.feature img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.feature span {
  font-weight: bold;
  color: #06177e;
  display: block;
  margin-bottom: 8px;
}

._testimonials-section {
  padding: 60px 20px;
  background-color: #06177e;
  text-align: center;
}

._testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

._testimonial {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

._testimonial:hover {
  transform: scale(1.03);
}

.video-wrapper {
  position: relative;
  padding-top: 177.77%; /* Aspect ratio 9:16 para video vertical */
  overflow: hidden;
  border-radius: 8px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

._testimonial p {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #333;
}

.video-actions {
  margin-top: 10px;
  display: flex;
  justify-content: space-around;
  font-size: 0.85rem;
}

.video-actions a {
  text-decoration: none;
  color: #06177e;
  transition: color 0.3s ease;
}

.video-actions a:hover {
  color: #e6b800;
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-thumbnail img {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 10px 20px;
}

.testimonial-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



/* 📘 Cursos resumen */
.courses-summary {
  padding: 60px 20px;
  text-align: center;
}

.courses-summary h2 {
  color: #06177e;
}



@media (max-width: 1500px) {
  .immersion-section {
    padding: 40px 80px;
  }
  
}
/* ===== Responsive ===== */
@media (max-width: 900px) {
 
  .immersion-section {
    padding: 10px 5px;
    
  }

  .content-left, .image-right {
    flex: 1 1 95%; /* Ambos ocupan todo el ancho */
    margin-bottom: 40px;
  }
 .image-right {
  display: none;
  flex: 0 0 300px; /* Ocupa siempre el 30% del ancho */
  margin-top: 0px;
  padding-top: 20px;
  
  }
   .content-left{
    max-width: 90% ;

   }

  
}


/* Animación al entrar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


