body {
   font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #000846;
}
ul {
  margin-top: 0;
  margin-bottom: 0rem;
}

/* === HEADER === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1052e6;
    color: white;
}

/* === LOGO === */
.logo img {
    height: 50px;
}

/* === MENÚ DE NAVEGACIÓN === */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    display: inline-block;
}

.nav-menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    transition: background 0.3s ease;
}

.nav-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* === BOTÓN INICIAR SESIÓN === */
.login-button {
    background-color: white!important;
    color: #1052e6!important;
    padding: 8px 15px!important;
    border-radius: 20px!important;
    text-decoration: none!important;
    font-weight: bold!important;
    transition: 0.3s ease-in-out!important;
    border: 2px solid white!important;
}

.login-button:hover {
    background-color: #1052e6!important;
    color: white!important;
    border: 2px solid white!important;
}

/* === MENÚ HAMBURGUESA === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
}


/* === HERO SECTION === */
.hero {
    background: linear-gradient(to right, #1052e6, #000846);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
}

.cta-button {
    background-color: white;
    color: #1052e6;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 36px;
}

/* === HERO BANNER === */
.hero {
    background: linear-gradient(to left, #0044cc, #001b61);
    color: white;
    padding: 90px 10% 30px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
   
}

/* === CONTENEDOR DE LA IMAGEN EN MOVIMIENTO === */
.hero-aside {
    flex: 1;
    position: absolute;
    right: 5%;
    bottom: 0;
    max-width: 45%;
    height: 100%;
    overflow: hidden;
     mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* === ANIMACIÓN DE MOVIMIENTO INFINITO === */
@keyframes verticalScroll {
    from {
        transform: translateY(0%);
    }
    to {
        transform: translateY(-100%);
    }
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    animation: verticalScroll 60s infinite linear;
}
/* === CONTENIDO DEL HERO A LA IZQUIERDA === */
.hero-content {
    text-align: left;
    
}

.hero-content h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: #ff00a6;
}

/* Botón CTA */
.cta-button {
    background-color: #0053ff;
    color: white;
    padding: 14px 30px;
    font-size: 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #003cb3;
}

/* === SECCIÓN DERECHA (IMAGEN Y TARJETAS) === */
.hero-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    border-radius: 12px;
}

/* Tarjetas informativas */
.info-card {
    width: 100%;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.pink {
    background-color: #ff00a6;
}

.blue {
    background-color: #0053ff;
}

/* === LISTA DE IDIOMAS === */
.language-list {
    /*background: rgba(255, 255, 255, 0.1);*/
    padding: 15px;
    border-radius: 20px;
    margin-top: 90px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}

.language {
    color: #001b61;
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 16px;
    backdrop-filter: blur(10px);
    background: linear-gradient(0deg,#fafafa0d,#fafafa26 50%,#fafafa0d),linear-gradient(92deg,#fafafa80 -.41%,#fafafad4 39.43%);
}

.language img {
    width: 42px;
    height: 42px;
}

.language span {
    font-size: 14px;
    color: #555;
}

.language.new span {
    color: red;
    font-weight: bold;
}
.welcome-text {
    font-size: 18px;
    margin-bottom: 15px;
}

/* === LISTA DE VENTAJAS CON ÍCONOS === */
.benefits-list {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: white; 
    font-weight: bolder;
}

/* Icono de verificación 
.benefits-list i {
    color: #26ea26;
    font-size: 22px;
    background-color: white;
    border-radius: 50%;
    padding: 2px;
}
*/

/* === SECCIÓN SOBRE NOSOTROS === */
.about-section {
    background: #f5f5f5;
}

/* === TITULO Y SUBTITULO === */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #001b61;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* === TARJETAS INTERACTIVAS === */
.about-card {
    background: white;
    padding: 45px;
    border-radius: 30px;
    box-shadow: rgba(0, 82, 180, 0.1) 0px 0px 3.75rem 0px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 250px;
   
}

/* === ICONOS CIRCULARES === */
.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
    font-size: 24px;
    color: white;
}

.about-img {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.about-section {
 padding-top: 5rem !important;
 padding-bottom: 6rem !important;
}

/* === COLORES DE LOS ICONOS (ANTES DEL HOVER) === */
.icon-blue {
    background: #1052e7;
    box-shadow: -5px 15px 30px #1052e770;
}
.icon-pink {
    background: #ff005d;
    box-shadow: -5px 15px 30px rgba(253,52,110,.3);
}
.icon-blue-1 {
    background: #000846;
    box-shadow: -5px 15px 30px #020b5363;
}

/* === EFECTO HOVER: Cambio de color del fondo y el icono === */

/* Tarjeta Azul */
.card-blue:hover {
    background: #1052e7;
    color: white;
    box-shadow: -20px 40px 70px rgba(7, 69, 255, 0.36);
}
.card-blue:hover .icon-blue {
    background: white;
    color: #1052e7 !important;
}

/* Tarjeta Rosa */
.card-pink:hover {
    background: #ff005d;
    color: white;
    box-shadow: -20px 40px 70px rgba(253,52,110,.36);
}
.card-pink:hover .icon-pink {
    background: white;
    color: #ff005d !important;
}

/* Tarjeta Amarilla */
.card-blue-1:hover {
    background: #000846;
    color: white;
    box-shadow: -20px 40px 70px rgba(0, 27, 106, 0.36);
}
.card-blue-1:hover .icon-blue-1 {
    background: white;
    color: #000846 !important;
}

.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 2rem !important;
}


/* === SECCIÓN DIFERENCIAS === */
.diferencias-section {
    background: #fff;
    padding: 60px 0 30px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #001b61;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* === CARRUSEL PRINCIPAL === */
.slider-full-width {
    width: 95vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 20px 0px 40px 0px;
}

/* Efecto difuminado laterales */
.slider-full-width::before,
.slider-full-width::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.slider-full-width::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.slider-full-width::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

/* Contenedor interno */
.carousel-inner {
    overflow: visible;
    padding: 10px 0 15px;
}

/* Track del carrusel */
.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* === TARJETAS === */
.diferencia-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    box-shadow: rgba(0, 82, 180, 0.17) 0px 0px 2.05rem;
    flex: 0 0 calc(33.333% - 13.333px);
    min-width: calc(33.333% - 13.333px);
    display: flex;
    align-items: flex-end;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 18, 70, 0.1);
}

.card-content {
    position: relative;
    background: #ffffffeb;
    padding: 20px;
    border-radius: 30px;
    margin: 15px;
    width: calc(100% - 30px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
    font-size: 24px;
    color: white;
}

.date {
    color: #1052e6;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #001b61;
}

.card-text {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === CONTROLES ABAJO === */
.carousel-controls-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.carousel-arrows {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0; /* Importante para que no se sobreponga */
}

.carousel-control-prev,
.carousel-control-next {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: rgba(0, 82, 180, 0.16) 0px 0px 1.65rem 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 7px;
    color: #1052e6;
    opacity: inherit;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #1052e6;
    transform: scale(1.1);
}

.carousel-control-prev i,
.carousel-control-next i {
    color: #1052e6;
    font-size: 18px;
}

.carousel-control-prev:hover i,
.carousel-control-next:hover i {
    color: #fff;
}

.card-content {
  text-align: center;
}

.carousel-control-next:focus, .carousel-control-prev:focus {
  display: none;
}


/* ======== CERTIFICACION ======== */
.certification-section {
    padding: 60px 0;
    background-color: #f4f7ff;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #001b61;
    margin-bottom: 10px;
}

.section-title span {
  color: #1052e6;
}

.section-subtitle {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

/* ======== LISTA DE CERTIFICACIONES ======== */
.certification-list {
    list-style: none;
    padding: 0;
}

.certification-list li {
    font-size: 16px;
    color: #333;
    padding: 8px 0;
    display: flex;
    align-items: center;
}


.certification-list svg {
    color: #1052e6!important;
    font-size: 18px!important;
    margin-right: 10px!important;
}


/* ======== CONTACTO DEL ASESOR ======== */
.certification-contact {
    display: flex;
    align-items: center;
    margin-top: 20px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.certification-contact img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.contact-box p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.contact-box strong {
    font-size: 18px;
    color: #001b61;
}

/* Contenedor de Imágenes con Superposición */
.certification-images {
    position: relative;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

/* Imagen Principal */
.certification-images .main-image {
    width: 100%;
    border-radius: 15px;
}

/* Imagen Superpuesta */
.certification-images .overlay-image {
  position: absolute;
  width: 45%;
  bottom: 130px;
  left: -30px;
  border-radius: 15px;
  border: 8px solid #f4f7ff;
}

.btn-primary {
  padding: 14px 30px;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: rgba(0, 82, 180, 0.31) 0px 0px 1.65rem 0px;
  font-weight: bold;
}

/* ======== NIVELES DE APRENDIZAJE ======== */
.learning-levels {
    padding: 60px 0 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100vw; /* Ancho completo */
}

.container-01 {
    width: 98%;
    box-sizing: border-box;
}

.learning-image {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
/* ======== CONTENEDOR DEL TÍTULO Y LA IMAGEN ======== */
.levels-title-container {
    text-align: center;
    margin-bottom: 20px;
}

/* Contenedor de la imagen */
.levels-image {
    position: relative;
    text-align: center;
    width: 100%;
}

.levels-image img {
    width: 100%;
    max-width: 500px; /* Ajuste de tamaño */
    display: block;
    margin: 0 auto;
}

/* ======== CARRUSEL GENERAL ======== */
.levels-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* Contenedor del carrusel */
.levels-carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 25px;
    position: relative;
}

/* Track del carrusel */
.levels-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

/* ======== TARJETAS DEL CARRUSEL ======== */
.level-card {
    flex: 0 0 calc(100% / 2 - 25px); /* Ahora muestra 2 tarjetas a la vez */
    border-radius: 30px;
    overflow: hidden;
    text-align: center;
    background: white;
    box-shadow: -4px 4px 10px 5px rgba(7, 69, 255, 0.09);
    /*min-width: 280px;*/
}

/* ======== CABECERA DE LAS TARJETAS ======== */
.level-card-header {
    background: #0044cc; /* Azul fuerte */
    color: white;
    padding: 15px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.level-card-subtitle {
    background: #002db3;
    color: white;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* ======== LISTA DE CONTENIDO DE TARJETAS ======== */
.level-card ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.level-card ul li {
    font-size: 16px;
    text-align: left;
    padding: 5px 0;
    color: #333;
    display: flex;
    align-items: center;
}

.level-card ul li::before {
    content: "✔";
    color: #0d6efd;
    font-weight: bold;
    margin-right: 10px;
}

/* ======== BOTONES DE CONTROL DEL CARRUSEL ======== */
.levels-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.levels-carousel-prev, .levels-carousel-next {
    position: static;
    transform: none;
    width: 55px;
    height: 55px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1052e6;
    border: none;
    box-shadow: rgba(0, 82, 180, 0.16) 0px 0px 1.65rem 0px;
    margin-bottom: 20px;
    opacity: inherit;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 20px;
    cursor: pointer;
    margin: 0px 5px 12px 5px;
}

.levels-carousel-prev:hover, .levels-carousel-next:hover {
    background-color: #1052e6;
    transform: scale(1.1);
    color: #fff;
}

/* ======== DEGRADADO EN EL LATERAL DERECHO PARA EL EFECTO DE SALIDA ======== */
.levels-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px; /* Ajuste del tamaño del degradado */
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}


/* ======== PREGUNTAS FRECUENTES ======== */
.faq-section {
    background: #1052e6;
    padding: 60px 0;
    text-align: center;
}

.faq-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

/* ======== ESTILO DEL ACORDEÓN ======== */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;
}

/* Estilo de cada tarjeta del acordeón */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: -5px 5px 10px 5px rgba(0, 0, 0, 0.11);
}

/* Estilo del botón del acordeón */
.accordion-button {
    background: white;
    color: #1052e6;
    font-weight: bold;
    font-size: 18px;
    border: none;
    padding: 30px;
    border-radius: 10px;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    position: relative;
}

/* Cambia el color cuando se expande */
.accordion-button:not(.collapsed) {
    background: #000846;
    color: white;
    border-radius: 10px 10px 0 0;
    box-shadow: none;
}
.accordion-button .accordion-icon {
    display: none;
}
/* === ICONO DE BOOSTRAP EN CÍRCULO (NO SE OCULTA) === */
.accordion-button::after {
    content: "\f107"; /* Ícono de flecha abajo */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #1052e6;
    font-size: 20px;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 82, 180, 0.22) 0px 0px 1.55rem 0px;
    padding-top: 5px;
}

/* Rotación y cambio de color cuando se expande */
.accordion-button:not(.collapsed)::after {
    content: "\f106"; /* Ícono de flecha arriba */
    color: white;
    transform: rotate(360deg);
    background: #000846;
}

/* Contenido del acordeón */
.accordion-body {
    color: #333;
    background: #fff;
    padding: 20px;
    font-size: 16px;
    text-align: left;
    border-radius: 0 0 10px 10px;
}


/* Sección de Testimonios */
.testimonial-section {
    background: #eef2ff;
    padding: 60px 0;
    text-align: center;
}

.testimonial-title {
    font-size: 32px;
    font-weight: bold;
    color: #001b61;
}

.testimonial-subtitle {
    font-size: 18px;
    color: #333;
}

/* Estilos para el carrusel personalizado */
.testimonial-carousel {
    position: relative;
    max-width: 90%;
    margin: 10px auto;
    overflow: hidden; /* Oculta el contenido que se sale del contenedor */
}

.testimonial-carousel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, #ebf0ff, rgba(235, 240, 255, 0));
    z-index: 1;
    pointer-events: none;
}

.testimonial-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to left, #ebf0ff, rgba(235, 240, 255, 0));
    z-index: 1;
    pointer-events: none;
}


.testimonial-carousel-inner {
    display: flex;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
}

.testimonial-carousel-item {
    flex: 0 0 100%; /* Cada testimonio ocupa el 100% del ancho */
    transition: opacity 0.5s ease-in-out;
    display: none; /* Oculta todos los testimonios por defecto */
}

.testimonial-carousel-item.active {
    display: block; /* Muestra solo el testimonio activo */
}

.carousel-testimonial {
    padding: 30px 90px 40px 90px;
}

/* Estilos para las tarjetas de testimonios */
.testimonial-card {
    background: white;
    border-radius: 30px;
    padding: 40px 50px 40px 50px;
    box-shadow: rgba(0, 82, 180, 0.13) 0px 5px 35px;
    text-align: left;
    height: 245px; /* Altura fija */
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 3px;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.testimonial-info p {
    margin: 3px 0;
    color: #1052e6;
    font-size: 14px;
}

.testimonial-stars {
    font-size: 20px;
    color: #ffc107;
    margin-top: -7px;
}

.testimonial-text {
    font-size: 16px;
    color: #333;
    margin-top: 15px;
    flex-grow: 1; /* Hace que el texto ocupe el espacio restante */
}

/* Controles del carrusel personalizado */
.testimonial-carousel-control-prev,
.testimonial-carousel-control-next {
    background: #1052e6;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: transform 0.3s ease; /* Transición suave */
    transform-origin: center; /* Escala desde el centro */
}

.testimonial-carousel-control-prev {
    left: 30px;
}

.testimonial-carousel-control-next {
    right: 30px;
}

.testimonial-carousel-control-prev:hover,
.testimonial-carousel-control-next:hover {
    background: #001b61;
    transform: translateY(-50%) scale(1.3); /* Escala sin mover el botón */
    transition: transform 0.3s ease-in-out;
}


/* ======== SECCION DE CONTACTO ======== */
.contact-section {
    background: #f8f9ff;
    padding: 60px 0;
    text-align: center;
}

.contact-title {
    font-size: 32px;
    font-weight: bold;
    color: #001b61;
    margin-bottom: 30px;
}

.contact-title span {
    color: #1052e6;
}

.contact-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* 🔹 Hace que ambas columnas tengan la misma altura */
    justify-content: space-between;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1; /* 🔹 Ambas columnas ocuparán el mismo espacio */
    min-width: 45%; /* 🔹 Evita que se rompa el diseño en pantallas medianas */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 100%; /* 🔹 Hace que ambas columnas tengan la misma altura */
}

/* 🔹 Asegurar que el contenido dentro de cada columna se distribuya correctamente */
.contact-info > div, .contact-form form {
    flex-grow: 1;
}


/* ======== COLUMNA DE INFORMACIÓN ======== */
.contact-info {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: rgba(0, 82, 180, 0.13) 0px 5px 45px;
}

/* Estilo para los iconos dentro de un círculo */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ecf4fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #1052e6;
}

.icon-circle i {
    color: white;
    font-size: 20px;
}

/* Información de contacto */
.info-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #001b61;
    text-align: left;
}

.info-box p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

/* ======== MAPA ======== */
.contact-map {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

/* ======== COLUMNA DEL FORMULARIO ======== */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: rgba(0, 82, 180, 0.13) 0px 5px 45px;
}

.form-group {
    display: flex;
    gap: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 30px;
}

textarea {
    resize: none;
}

/* ======== BOTÓN DEL FORMULARIO ======== */
.contact-btn {
    background: #1052e6;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s ease-in-out;
}

.contact-btn:hover {
    background: #003cb3;
}

.error-message {
  font-size: 12px;
  color: red;
  display: block; /* Asegura que los mensajes ocupen su propio espacio */
  margin-top: -25px; /* Ajuste adecuado para todos los inputs */
  text-align: left;
  padding-left: 10px;
  margin-bottom: 20px;
}


/* Botón Scroll to Top */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #0d83fd;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px;
    z-index: 1000;
}

/* Mostrar botón cuando se haga scroll */
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Efecto hover */
#scrollToTopBtn:hover {
    background-color: #1052e6;
    transform:  scale(1.1); /* Escala sin mover el botón */
    transition: transform 0.3s ease-in-out;
}


/* === FOOTER === */
footer {
    background-color: #000846;
    color: white;
    text-align: center;
    padding: 40px;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer a {
    color: white;
    text-decoration: none;
}

/* ESTILOS PARA MODAL */
.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden; /* Evita que sea clickeable mientras está oculto */
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    
}

/* Cuando el modal está activo */
.modal.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Contenedor del contenido del modal */
.modal-content {
    background: white;
    padding: 60px;
    border-radius: 20px;
    width: 100%;
    max-width: 950px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.4s ease;
    margin-top: 1px; /* Asegura que no se pierda la parte superior */
    max-height: 95vh; /* Evita que el contenido sobrepase la pantalla */
    overflow-y: auto; /* Permite desplazamiento si es necesario */
}

/* Aplicar efecto de entrada cuando el modal se muestra */
.modal.show .modal-content {
    transform: translateY(0);
}

/* Botón de cerrar */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

.modal-content h2 {
    font-size: 25px;
}

.modal-content h3 {
    font-size: 22px;
}

/* Asegura que los mensajes aparezcan debajo de cada input */
.input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ====== MODAL DE CONFIRMACIÓN ====== */
.success-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.success-popup-content {
    background: white; 
    padding: 50px; 
    border-radius: 12px; 
    text-align: center;
    width: 90%; 
    max-width: 800px; 
    animation: fadeIn 0.3s ease-in-out; 
    box-shadow: 0 0 34px -3px rgba(0, 0, 0, 0.23);
    position: relative;
}

/* Icono de Check */
.success-check-icon {
    font-size: 50px;
    color: #1052e6;
    margin-bottom: 15px;
}

/* Botón de Cerrar */
.success-popup-btn {
    background: #1052e6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    width: 100%;
    max-width: 180px;
}

.success-popup-btn:hover {
    background: #003c99;
}

/* Efecto de animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-popup-body h2 {
    font-size: 30px;
}

/* ====== BOTÓN CARGANDO ====== */
.contact-btn i {
    margin-right: 5px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1440px) {
 .hero {
  padding: 90px 5% 30px;
 }
 .language-list {
  margin-top: 50px;
}
.hero-content h1 {
  font-size: 40px;
}
}
@media (max-width: 1400px) {
.learning-image {
  width: 95%;
}  
} 
@media (max-width: 1280px) {
.learning-image {
  width: 95%;
}
.slider-full-width::before,
.slider-full-width::after {
width: 60px;
}
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 2rem !important;
}
.level-card ul li {
  font-size: 15px;
}
}
    
@media (max-width: 1200px) {
.learning-image {
  width: 100%;
}
.certification-images .overlay-image {
  bottom: 90px;
}
.hero {
  padding: 10px 5% 10px;
}
.diferencia-card {
  flex: 0 0 calc(50% - 10px);
  min-width: calc(50% - 10px);
}
.level-card ul li {
  font-size: 14px;
  padding: 4px 0;
}
}

@media (max-width: 1024px) {
.hero-aside {
  flex-direction: column;
  align-items: center;
}
.language-list {
  flex-wrap: wrap;
  justify-content: center;
}
.hero {
  flex-direction: column;
  text-align: center;
  min-height: auto;
}
.hero-img {
  width: 100%;
}
.about-cards {
  flex-direction: column;
  align-items: center;
}
.hero {
  padding: 70px 5% 50px;
}
.hero-content h1 {
  font-size: 32px;
}  
.language-list {
  margin-top: 30px;
}    
.cta-button {
  font-size: 18px;
}
.testimonial-carousel {
  max-width: 100%;
}
.about-section {
  padding-top: 3rem !important;
  padding-bottom: 4rem !important;
}
}

@media (max-width: 992px) {
 /* Animación para abrir el menú */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación para cerrar el menú */
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Aplicar animaciones al menú */
.nav-menu {
  display: flex;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: #fff;
  text-align: center;
  flex-direction: column;
  padding: 30px 0 40px;
  z-index: 3;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
.nav-menu ul li a {
  color: #001b61;
  padding: 8px 15px;
}
.nav-menu.active {
  animation: slideDown 0.3s ease forwards;
}
.nav-menu:not(.active) {
  animation: slideUp 0.3s ease forwards;
  display: none; /* Oculta el menú completamente al cargar la página */
}  
.nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.nav-menu ul li {
  display: block;
}
/* Mostrar botón hamburguesa */
.menu-toggle {
  display: block;
}
/* Ajustar botón de inicio de sesión */
.login-button {
  background-color: #1052e6!important;
  color: white!important;
  border: 2px solid white!important;
}
.section-title {
  font-size: 28px;
}
.hero-content h1 {
  font-size: 28px;
}
.faq-section h2 {
  font-size: 28px;
}
.testimonial-title {
  font-size: 28px;
}
.contact-title {
  font-size: 28px;
}
.testimonial-card {
  height: 285px;
}
.testimonial-section {
  background: #eef2ff;
  padding: 60px 0 30px;
  text-align: center;
}
.certification-list li {
  padding: 4px 0;
}
.certification-images .overlay-image {
  bottom: 70px;
}
.welcome-text {
  font-size: 16px;
}
.benefits-list {
  font-size: 16px;
}
.contact-info, .contact-form {
  margin: 10px;
}
.level-card {
  flex: 0 0 calc(100% / 1 - 15px); /* Ahora muestra 2 tarjetas a la vez */
}
}
@media (max-width: 767px) {
.hero {
  flex-direction: column;
  text-align: center;
  min-height: auto;
}
.hero-aside {
  position: relative;
  max-width: 100%;
  right: auto;
  bottom: auto;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  height: 60vh;
}
.hero-aside {
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}
.certification-images {
  margin-top: 50px;
}   
.certification-images .overlay-image {
  bottom: 110px;
}   
.learning-image {
  display: none;
}   
.learning-levels {
  padding: 60px 0 40px;
} 
.testimonial-card {
  height: 420px;
  padding: 40px 40px 40px 40px;
}  
.hero-content h1 {
  text-align: center;
}
.cta-button {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 150px;
}
.section-title {
  font-size: 25px;
  text-align: center;
} 
.hero-content h1 {
  font-size: 27px;
}  
.faq-section h2 {
  font-size: 25px;
}  
.testimonial-title {
  font-size: 25px;
}   
.contact-title {
  font-size: 25px;
}
.card-text {
  font-size: 15px;
}
.card-content h5 {
  font-size: 18px;
}
.icon {
  width: 50px;
  height: 50px;
  font-size: 22px;
}  
.certification-images .overlay-image {
  left: -10px;
}
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 1rem !important;
}
.learning-levels {
  padding: 30px 0 30px;
}
.faq-section {
  padding: 30px 0;
}
.testimonial-section {
  padding: 30px 0 1px;
}
.contact-section {
  padding: 30px 0;
}
.certification-section {
  padding: 40px 0;
}
.slider-full-width::before,
.slider-full-width::after {
  width: 0px;
}
.diferencia-card {
  flex: 0 0 calc(100% - 10px);
  min-width: calc(100% - 10px);
  height: 380px;
}
}

@media (max-width: 520px) {
.testimonial-card {
  height: 450px;
}
.testimonial-text {
  font-size: 15px;
  color: #333;
  margin-top: 15px;
  flex-grow: 1;
}
.diferencia-card {
  box-shadow: rgba(0, 82, 180, 0) 0px 0px 2.05rem;
}
}

@media (max-width: 480px) {
.section-title {
  font-size: 22px;
}
.hero-content h1 {
  font-size: 22px;
}  
.faq-section h2 {
  font-size: 22px;
}   
.testimonial-title {
  font-size: 22px;
}   
.contact-title {
  font-size: 22px;
}   
.hero {
  padding: 40px 5% 30px;
}  
.btn-primary {
  width: 80%;
  font-size: 15px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 1rem !important;
}
.learning-levels {
  padding: 25px 0 25px;
}
.faq-section {
  padding: 25px 0;
}
.testimonial-section {
  padding: 25px 0 1px;
}
.contact-section {
  padding: 30px 0;
}
.certification-section {
  padding: 30px 0;
}  
.welcome-text {
  font-size: 15px;
}
.benefits-list {
  font-size: 15px;
}   
.cta-button {
  font-size: 16px;
  text-align: center;
}
.section-subtitle {
  font-size: 15px;
  margin-bottom: 1px;
}    
.card-text {
  font-size: 14px;
}
.certification-list li {
  font-size: 15px;
}
.level-card ul li {
  font-size: 14px;
} 
.accordion-button {
  font-size: 15px;
}
.accordion-body {
  font-size: 15px;
}
.testimonial-subtitle {
  font-size: 15px;
}
.carousel-testimonial {
  padding: 30px 20px 40px 20px!important;
}
.testimonial-carousel-control-prev {
  left: 0px;
}
.testimonial-carousel-control-next {
  right: 0px;
}
.testimonial-info h4 {
  font-size: 16px;
}
.testimonial-card {
  height: 420px;
}
.testimonial-info p {
  font-size: 13px;
}
.info-box h4 {
  font-size: 17px;
}
footer a {
  font-size: 14px;
}
footer {
  padding: 40px 5px;
}
.hero-aside {
  height: 60vh;
}
.about-section {
  padding-top: 2rem !important;
  padding-bottom: 3rem !important;
}
.certification-images .overlay-image {
  bottom: 70px;
}
.testimonial-carousel-control-prev:hover, .testimonial-carousel-control-next:hover {
  transform: translateY(-50%) scale(1.0);
}
.contact-info {
  padding: 30px;
}
.contact-form {
  padding: 40px;
  margin-top: -20px
}
.hero-img {
  animation: verticalScroll 40s infinite linear;
}
.info-box p {
  text-align: left;
}
.modal-content {
  padding: 30px;
  margin-left: 5px;
  margin-right: 5px;
}
.modal-content h3 {
  font-size: 18px;
}  
.success-popup-body h2 {
  font-size: 23px;
}
.success-popup-body p {
  font-size: 15px;
}
.success-popup-content {
  padding: 35px;
}
.carousel-track {
  gap: 11px;
}
.diferencia-card {
  flex: 0 0 calc(100% - 9px);
  min-width: calc(100% - 10px);
  height: 350px;
}
.slider-full-width {
  padding: 0px 0px 40px 0px;
}
.carousel-inner {
  padding: 15px 0 15px;
}
}