/* ================================ */
/* == ÍNDICE DE CONTENIDOS CSS ==  */
/* ================================ */
/* 
0. Estilos globales
Página principal
1. SECCIÓN 1
2. SECCIÓN 2
3. SECCIÓN 3
4. SECCIÓN 4
5. SECCIÓN 5
6. SECCIÓN 6
7. SECCIÓN 7
Página inglés
8. SECCIÓN 8
9. SECCIÓN 9
*/

/* ================================= */
/* ====== 0. Estilos globales ====== */
/* ================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.header {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden; 
}

/* ------ Navbar ----- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.7); 
    color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100; 
    font-family: 'Montserrat', sans-serif; 
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    width: 150px;
    margin-right: 1rem;
}

.navbar-logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Menú de escritorio */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffa726;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffa726;
}

.nav-links a:hover::before {
    width: 100%;
}

/* Menú de hamburguesa */
.hamburger {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menú para móviles */
.nav-links-mobile {
    display: none; 
    flex-direction: column;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 250px;
    background: white;
    padding: 2rem 1rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: right 0.3s ease;
    font-family: 'Montserrat', sans-serif; 
}

.nav-links-mobile.active {
    right: 0; 
}

.nav-links-mobile a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
    transition: color 0.3s ease;
}

.nav-links-mobile a:hover {
    color: #ffa726;
}

/* Icono de cerrar */
.close-icon {
    font-size: 1.5rem;
    color: black;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
}

/* Texto SkillBridge */
.mobile-footer {
    margin-top: auto;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; 
    }

    .hamburger {
        display: flex; 
    }

    .nav-links-mobile {
        display: flex; 
    }
}

/* ================================= */
/* ====== SECCIÓN 1: BIENVENIDA ====== */
/* ================================= */

/* ============================
        SECCIÓN HERO DE PÁGINA PRINCIPAL
============================ */

.hero {
    position: relative;
    height: 100vh; /* Ocupar toda la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    animation: fadeIn 1.5s ease-in-out;
}

/* Imagen de fondo */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Capa de oscurecimiento */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Oscurecimiento para resaltar el texto */
    z-index: 1;
}

/* Contenido */
.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 1rem;
}

/* Estilos del título */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Estilos del párrafo */
.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* Botón principal */
.hero .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #007BFF, #0056b3);
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

/* Hover del botón */
.hero .cta:hover {
    background: linear-gradient(90deg, #0056b3, #003b73);
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4);
    transform: scale(1.05);
}

/* Icono del botón */
.hero .cta i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

/* Efecto hover en el icono */
.hero .cta:hover i {
    transform: translateX(5px);
}

/* ============================
      ANIMACIONES SUAVES
============================ */

/* Animación de fade-in con desplazamiento */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de fade-in general */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================
        RESPONSIVE DESIGN
============================ */

/* Para tablets */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.3rem;
    }
    .hero .cta {
        font-size: 1.2rem;
        padding: 0.9rem 1.8rem;
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero .cta {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}


/* ============================
        SECCIÓN HERO DE PÁGINA INGLÉS
============================ */

.hero1 {
    position: relative;
    height: 100vh; /* Ocupar toda la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    animation: fadeIn 1.5s ease-in-out;
    padding-top: 6rem; /* Mayor margen arriba */
    padding-bottom: 2rem;
}

/* Imagen de fondo */
.hero1-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Capa de oscurecimiento */
.hero1-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Oscurecimiento para resaltar el texto */
    z-index: 1;
}

/* Contenido */
.hero1-content {
    z-index: 2;
    max-width: 900px; /* Espacio más amplio para el texto */
    padding: 2rem;
}

/* Estilos del título */
.hero1 h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Estilos del párrafo */
.hero1 p {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* ============================
      ANIMACIONES SUAVES
============================ */

/* Animación de fade-in con desplazamiento */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de fade-in general */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================
        RESPONSIVE DESIGN
============================ */

/* Para tablets */
@media (max-width: 1024px) {
    .hero1 h1 {
        font-size: 2.5rem;
    }
    .hero1 p {
        font-size: 1.4rem;
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .hero1 {
        padding-top: 8rem; /* Más margen superior para centrar contenido */
        padding-bottom: 3rem;
    }
    .hero1 h1 {
        font-size: 2rem;
    }
    .hero1 p {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
}



/* ================================= */
/* ====== SECCIÓN 2: CURSOS ====== */
/* ================================= */

.courses {
    background-color: #f8f9fc;
    padding: 5rem 0;
    width: 100%;
    padding-bottom: 0;
}

.courses h2 {
    font-size: 3rem;
    text-align: center;
    color: #0d3b66;
    font-weight: bold;
    margin-bottom: 3rem;
    position: relative;
}

.category-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin: 4rem auto 1rem;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #0d3b66;
    position: relative;
}

/* Línea decorativa */
.category-title::after {
    content: "";
    width: 45%;
    height: 4px;
    background: #007bff;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

/* Descripción debajo del título */
.category-description {
    text-align: center;
    font-size: 1.4rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 500;
}

.course-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.course-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 450px; /* Ajuste mínimo para no verse tan comprimido */
    max-height: auto; /* Ajuste dinámico */
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.course-row:hover {
    transform: scale(1.02);
}

.toefl { background-color: #e0ecff; }
.ingles { background-color: #dff6df; }
.plc { background-color: #ffebd2; }
.solidworks { background-color: #d8efff; }
.catia { background-color: #fff6c5; }

.toefl .course-info h3, .toefl .course-details i, .toefl .upcoming { color: #004aad; }
.ingles .course-info h3, .ingles .course-details i, .ingles .upcoming { color: #18792e; }
.plc .course-info h3, .plc .course-details i, .plc .upcoming { color: #bf3f00; }
.solidworks .course-info h3, .solidworks .course-details i, .solidworks .upcoming { color: #004d6e; }
.catia .course-info h3, .catia .course-details i, .catia .upcoming { color: #b36b00; }

.course-image {
    flex: 0 0 50%;
    height: auto;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 6%;
}

.course-info h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.course-info p {
    font-size: 1.3rem;
    /* margin-bottom: 1rem; */
    /* font-weight: bold; */
}


.course-details {
    margin-top: 1.5rem;
}

.course-details p {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.course-details i {
    font-size: 1.6rem;
}

.course-details h4 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.course-info .btn {
    display: inline-block;
    margin-top: 1.8rem;
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.toefl .btn { background-color: #1e88e5; }
.ingles .btn { background-color: #43a047; }
.plc .btn { background-color: #e64a19; }
.solidworks .btn { background-color: #0277bd; }
.catia .btn { background-color: #f57c00; }

.toefl .btn:hover { background-color: #004aad; }
.ingles .btn:hover { background-color: #18792e; }
.plc .btn:hover { background-color: #bf3f00; }
.solidworks .btn:hover { background-color: #004d6e; }
.catia .btn:hover { background-color: #b36b00; }

/* ============================
   ANIMACIÓN SUAVE AL APARECER
============================ */
.course-row {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.course-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
        RESPONSIVE DESIGN
============================ */
@media (max-width: 1024px) {
    .category-title {
        width: 65%;
    }

    .course-row {
        flex-direction: column;
        height: auto;
    }

    .course-image {
        flex: 0 0 auto;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .category-title {
        width: 80%;
    }

    .course-info {
        padding: 2rem 4%;
    }

    .course-info h3 {
        font-size: 2rem;
    }

    .course-details p {
        font-size: 1rem;
    }

    .course-info .btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}





/* ============================================ */
/* ====== SECCIÓN 3: ¿POR QUÉ ELEGIRNOS? ====== */
/* ============================================ */

.why-us {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(120deg, #f3f9ff, #eaf3ff);
    position: relative;
    overflow: hidden;
}

.why-us h2 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    color: #1e497a;
    position: relative;
}

/* Línea decorativa debajo del título */
.why-us h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #007BFF;
    margin: 0.5rem auto;
    border-radius: 5px;
}

.why-us-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Cada elemento */
.why-us-item {
    flex: 1 1 calc(33.33% - 2rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    transform: translateY(-40px);
}

/* Animación cuando entra en pantalla */
.why-us-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contenedor del ícono */
.icon-container {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

/* Íconos (ajustando tamaños para coherencia) */
.why-us-icon {
    display: block;
    object-fit: contain;
    width: 70px;
    height: auto;
}

/* Títulos de los elementos */
.why-us-item h3 {
    font-size: 1.6rem;
    margin: 0.5rem 0;
    font-weight: bold;
}

/* Colores personalizados para cada título */
.title-progreso {
    color: #00A896 !important;
}

.title-amigable {
    color: #007AFF !important;
}

.title-metodologia {
    color: #E76F51 !important;
}

/* Texto descriptivo */
.why-us-item p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 280px;
}

/* Responsivo */
@media (max-width: 1024px) {
    .why-us-container {
        flex-wrap: wrap;
    }
    .why-us-item {
        flex: 1 1 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .why-us-container {
        flex-direction: column;
        align-items: center;
    }
    .why-us-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Personalización del tamaño de cada GIF */
.gif-progreso {
    width: 70%;
    height: auto;
}

.gif-ambiente {
    width: 120%;
    height: auto;
}

.gif-metodologia {
    width: 100%;
    height: auto;
}

/* ============================================ */
/* ====== SECCIÓN 4: MÉTODO DE ENSEÑANZA ====== */
/* ============================================ */

.method {
    padding: 4rem 2rem;
    background: linear-gradient(120deg, #f3f9ff, #eaf3ff); 
    position: relative;
    overflow: hidden;
}

.method::before,
.method::after {
    content: '';
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: rgba(100, 150, 255, 0.2);
}

.method::before {
    width: 250px;
    height: 250px;
    top: -50px;
    left: -100px;
}

.method::after {
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: -120px;
}

.method-header {
    text-align: center;
    position: relative;
    z-index: 1;
}

.method-header h2 {
    font-size: 2.5rem;
    color: #1e497a;
    margin-bottom: 1rem;
}

.method-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.method-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Tarjetas de cada beneficio */
.method-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 calc(33% - 2rem);
    max-width: 280px;
    position: relative;
    opacity: 0;
    transform: translateY(-50px);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* Animación de caída cuando la sección entra en pantalla */
.method-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nuevos colores profesionales para los iconos */
.method-feature .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Nuevos colores de fondo */
.method-feature:nth-child(1) .icon { background-color: #2D9CDB; } /* Azul profesional */
.method-feature:nth-child(2) .icon { background-color: #56CCF2; } /* Azul claro */
.method-feature:nth-child(3) .icon { background-color: #F2994A; } /* Naranja elegante */
.method-feature:nth-child(4) .icon { background-color: #9B51E0; } /* Morado vibrante */
.method-feature:nth-child(5) .icon { background-color: #EB5757; } /* Rojo sobrio */
.method-feature:nth-child(6) .icon { background-color: #27AE60; } /* Verde moderno */
.method-feature:nth-child(7) .icon { background-color: #F2C94C; } /* Amarillo elegante */

.method-feature .text h3 {
    font-size: 1.5rem;
    color: #1e497a;
    margin-bottom: 0.5rem;
}

.method-feature .text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 1024px) {
    .method-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    .method-feature {
        flex: 1 1 calc(50% - 2rem);
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .method-content {
        flex-direction: column;
        align-items: center;
    }
    .method-feature {
        flex: 1 1 100%;
        max-width: 100%;
    }
}



/* =================================== */
/* ====== SECCIÓN 5: Testimonios====== */
/* =================================== */

.testimonials {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #E3F2FD, #E1E9F7);
    text-align: center;
    position: relative;
}

.testimonials h2 {
    text-align: center; 
    font-size: 2rem; 
    font-weight: bold; 
    color: #003b73; 
    margin-bottom: 1rem; 
    position: relative;
}

.testimonials h2::after {
    content: "";
    display: block;
    width: 80px; 
    height: 3px; 
    background: #007BFF; 
    margin: 0.5rem auto; 
    border-radius: 5px;
}

.testimonials h2 {
    font-size: 3rem;
    color: #003b73;
    margin-bottom: 2.5rem;
    font-weight: bold;
    text-transform: capitalize;
    position: relative;
}

.testimonial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    min-height: 250px;
}

.testimonial-slide {
    width: 100%;
    max-width: 750px;
    min-height: 250px;
    margin: auto;
    display: none;
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-slide:first-child {
    display: block;
    opacity: 1;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-icon {
    font-size: 3rem;
    color: #1e497a;
    margin-bottom: 1rem;
}

.testimonial-content .quote {
    font-style: italic;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.author {
    font-size: 1.2rem;
    color: #003b73;
    font-weight: bold;
}

.arrow {
    background: #003b73;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.arrow:hover {
    background: #0056b3;
}

.arrow-left {
    left: 15px;
}

.arrow-right {
    right: 15px;
}

.indicators {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #003b73;
}


@keyframes fadeOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-50px); }
}

@keyframes fadeOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ================================= */
/* ====== SECCIÓN 6: CONTACTO ====== */
/* ================================= */
.contact {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003B73;
    margin-bottom: 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* Mayor separación */
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-details {
    text-align: left;
    padding-right: 2rem;
}

.contact-details h3 {
    font-size: 1.8rem;
    color: #003B73;
    margin-bottom: 1.2rem;
}

.contact-details p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem; /* Más espacio */
}

.contact-item i {
    font-size: 1.7rem;
    color: #0056A6; /* Azul más elegante */
    margin-right: 0.7rem;
}

.contact-item span {
    font-size: 1.1rem;
    color: #333;
}

.contact-item a {
    color: #0056A6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s;
}

.contact-item a:hover {
    color: #004080; /* Azul más oscuro en hover */
    transform: translateX(3px); /* Pequeño desplazamiento */
}

/* Redes Sociales */
.social-media {
    margin-top: 2rem;
}

.social-media h4 {
    font-size: 1.3rem;
    color: #003B73;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* Ajuste en la estructura: Facebook abajo de Instagram */
.social-media a {
    font-size: 1.1rem;
    color: #000000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.3s ease, transform 0.2s;
    margin-bottom: 1rem;
}

/* Instagram */
.social-media a.instagram i {
    font-size: 1.7rem;
    color: #E1306C;
}

.social-media a.instagram:hover {
    color: #d62e5c;
    transform: scale(1.05);
}

/* Facebook */
.social-media a.facebook i {
    font-size: 1.7rem;
    color: #1877F2; /* Azul más característico de Facebook */
}

.social-media a.facebook:hover {
    color: #165dc0;
    transform: scale(1.05);
}

/* Mapa */
.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}


/* ================================= */
/* ====== SECCIÓN 7: FOOTER ====== */
/* ================================= */

footer {
    background: linear-gradient(145deg, #0b0f2e, #1a1e3f); 
    color: #fff;
    padding: 3rem 1rem;
}

/* Contenedor principal del footer */
.footer-container {
    display: flex;
    flex-wrap: nowrap; /* Para evitar que los elementos se apilen en pantallas grandes */
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem; /* Más espacio entre las secciones */
}

/* Sección del Logo */
.footer-logo {
    flex: 1 1 300px;
    text-align: left;
}

.footer-logo img {
    width: 50%;
    height: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 1rem;
    line-height: 1.6;
    color: #d6e1f0;
}

/* Información de Contacto: Se le da más ancho para aprovechar espacio */
.footer-info {
    flex: 2; /* Se agranda esta sección para ocupar más espacio */
    text-align: left;
    padding-right: 2rem; /* Agregamos un poco de margen a la derecha */
}

.footer-info h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-info ul {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.footer-info ul li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.footer-info ul li i {
    color: #8ab6f9;
    font-size: 1.3rem;
}

.footer-info ul li a {
    color: #d6e1f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info ul li a:hover {
    color: #fff;
}

/* Redes Sociales */
.footer-social {
    flex: 1.2; /* Se aumenta un poco para darle más espacio */
    text-align: left;
    margin-left: 3rem; /* Desplazarlo más a la derecha */
}

.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-social a {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #d6e1f0;
    text-decoration: none;
    gap: 0.7rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

/* Instagram */
.footer-social a.instagram i {
    font-size: 1.6rem;
    color: #E1306C;
}

.footer-social a.instagram:hover {
    color: #c13584;
}

/* Facebook */
.footer-social a.facebook i {
    font-size: 1.6rem;
    color: #1877F2;
}

.footer-social a.facebook:hover {
    color: #166fe5;
}

/* Pie de Página */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
    color: #d6e1f0;
}

/* ================================= */
/* ====== SECCIÓN 8: Promoción curso toefl ====== */
/* ================================= */

.cursos-toefl {
    /* background: #E3F2FD;  */
    padding: 4rem 1rem;
    text-align: center;
    border-radius: 15px;
    margin: 3rem 0;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.toefl-banner {
    background: linear-gradient(90deg, #002D62, #0056b3); /* Azul oscuro */
    color: white;
    padding: 2rem 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.toefl-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.toefl-banner p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.cursos-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #90CAF9; /* Azul claro */
}

/* Contenedor principal */
.cursos-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cursos-text1 {
    flex: 1;
    text-align: left;
}

.cursos-text1 h2 {
    color: #002D62; /* Azul oscuro */
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cursos-text1 p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1rem;
}

.cursos-text1 ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.cursos-text1 ul li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cursos-text1 ul li i {
    color: #007BFF; /* Azul primario */
    margin-right: 0.5rem;
}

.cursos-image {
    flex: 1;
}

.cursos-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
}

.cta-button-blue {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #007BFF;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button-blue:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.cta-button-blue i {
    font-size: 1.5rem;
}


@media (max-width: 768px) {
    .cursos-content {
        flex-direction: column;
        text-align: center;
    }

    .cursos-text {
        text-align: center;
    }

    .cursos-image {
        max-width: 100%;
        margin-top: 1rem;
    }
}


/* =============================================== */
/* ====== SECCIÓN 9: Promoción de descuento ====== */
/* =============================================== */

.promotion-discount {
    background: linear-gradient(90deg, #002D62, #007BFF);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin: 3rem auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease-out forwards;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.promo-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.promo-icon {
    display: inline-block;
    font-size: 2.5rem;
    animation: bounce 1.5s infinite ease-in-out;
}

/* Animación de rebote para el icono */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


.promo-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}


.price-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.price-old {
    font-size: 2rem;
    text-decoration: line-through;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

/* Efecto de atención en el precio viejo */
.price-old:hover {
    transform: scale(1.1);
}

.price-new {
    font-size: 2.8rem;
    font-weight: bold;
    color: #FFD700;
    animation: pulse 1.5s infinite;
}

/* Animación de resplandor en el precio nuevo */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(255, 215, 0, 1);
    }
}

/* ============================
      BOTÓN DE LA PROMOCIÓN
============================ */

.cta-button-promo {
    display: inline-block;
    background: #FFD700;
    color: #003B73;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 10px rgba(255, 215, 0, 0.4);
}

/* Animación del botón al pasar el mouse */
.cta-button-promo:hover {
    background: #FFC107;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* ============================
      RESPONSIVE DESIGN
============================ */

@media (max-width: 768px) {
    .promotion-discount {
        padding: 3rem 1.5rem;
    }

    .promo-title {
        font-size: 2.2rem;
    }

    .promo-icon {
        font-size: 2rem;
    }

    .promo-subtitle {
        font-size: 1.1rem;
    }

    .price-comparison {
        flex-direction: column;
        gap: 1rem;
    }

    .price-old {
        font-size: 1.8rem;
    }

    .price-new {
        font-size: 2.2rem;
    }

    .cta-button-promo {
        font-size: 1.2rem;
        padding: 0.8rem 1.8rem;
    }
}



/* ================================================== */
/* ===== SECCIÓN 10: Cursos de inglés publicidad ===== */
/* ================================================== */

.cursos-ingles {
    /* background: #E8F5E9;  */
    padding: 4rem 1rem;
    text-align: center;
    border-radius: 15px;
    margin: 3rem 0;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.cursos-banner {
    background: linear-gradient(90deg, #1E5631, #2E7D32);
    color: white;
    padding: 2rem 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.cursos-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.cursos-banner p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.cursos-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #C8E6C9;
}

.cursos-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cursos-text {
    flex: 1;
    text-align: left;
}

.cursos-text h2 {
    color: #1E5631;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cursos-text p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1rem;
}

.cursos-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.cursos-text ul li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cursos-text ul li i {
    color: #2E7D32;
    margin-right: 0.5rem;
}

.cursos-image {
    flex: 1;
}

.cursos-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
}

.cta-button-green {
    display: inline-block;
    background: #2E7D32;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-green:hover {
    background: #1E5631;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cursos-content {
        flex-direction: column;
        text-align: center;
    }

    .cursos-text {
        text-align: center;
    }

    .cursos-image {
        max-width: 100%;
        margin-top: 1rem;
    }
}

.cta-button-green {
    display: inline-flex;  
    align-items: center;  
    gap: 10px;  
    background: #4CAF50;  
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button-green i {
    font-size: 1.5rem;
}


/* ==================================== */
/* ====== SECCIÓN 11: CLUB DE CONVERSACIÓN ====== */
/* ==================================== */

/* ============================
    CLUBS DE CONVERSACIÓN (NUEVA ESTRUCTURA)
============================ */

.clubs-conversacion {
    background: #f3f7ff; /* Azul muy claro */
    padding: 5rem 2rem;
    text-align: center;
}

.clubs-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.clubs-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003B73;
}

.clubs-header p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 0.5rem;
}

/* ============================
    CONTENEDOR PRINCIPAL
============================ */

.clubs-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    gap: 2rem;
    text-align: left;
}

/* ============================
    SECCIÓN IZQUIERDA (INFO)
============================ */

.clubs-info {
    flex: 1;
}

.clubs-info h2 {
    font-size: 2rem;
    color: #003B73;
    margin-bottom: 1rem;
}

.clubs-info p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.clubs-list {
    list-style: none;
    padding: 0;
}

.clubs-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #003B73;
}

.clubs-list li i {
    font-size: 1.5rem;
    color: #007BFF;
    margin-right: 0.8rem;
}

/* ============================
    SECCIÓN DERECHA (DETALLES)
============================ */

.clubs-details {
    flex: 1;
    background: #E3F2FD;
    padding: 2rem;
    border-radius: 10px;
}

.clubs-details h2 {
    font-size: 1.8rem;
    color: #003B73;
    margin-bottom: 1rem;
    text-align: center;
}

.clubs-details p {
    font-size: 1.1rem;
    color: #444;
    text-align: center;
    margin-bottom: 1.5rem;
}

.schedule p {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: #003B73;
    margin-bottom: 0.8rem;
}

.schedule i {
    font-size: 1.5rem;
    color: #007BFF;
    margin-right: 0.8rem;
}

/* ============================
    BOTÓN DE ACCIÓN
============================ */

.clubs-action {
    text-align: center;
    margin-top: 1.5rem;
}

.cta-button-clubs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #007BFF;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cta-button-clubs:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.cta-button-clubs i {
    font-size: 1.5rem;
}

/* ============================
    RESPONSIVE DESIGN
============================ */

@media (max-width: 1024px) {
    .clubs-container {
        flex-direction: column;
        padding: 2rem;
    }

    .clubs-details {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .clubs-header h1 {
        font-size: 2rem;
    }

    .clubs-header p {
        font-size: 1rem;
    }

    .clubs-container {
        padding: 1.5rem;
    }

    .clubs-info h2,
    .clubs-details h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .clubs-list li,
    .schedule p {
        font-size: 1rem;
    }

    .cta-button-clubs {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}



/* ==================================== */
/* ====== ESTILOS RESPONSIVOS ====== */
/* ==================================== */

/* Dispositivos pequeños (teléfonos en vertical, 576px y menores) */
@media (max-width: 576px) {
    
    /* Ajuste del navbar */
    .navbar {
        padding: 1rem;
    }

    .navbar-logo img {
        width: 120px; 
    }

    .nav-links {
        display: none; 
    }

    .hamburger {
        display: flex; 
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .course-section {
        flex-direction: column;
    }

    .course-row {
        flex-direction: column;
        height: auto;
    }

    .course-image {
        flex: 0 0 100%;
        height: auto;
    }

    .course-image img {
        height: auto;
    }

    .course-info {
        padding: 1.5rem;
        text-align: center;
    }

    .course-info h3 {
        font-size: 1.6rem;
    }

    .course-info .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Footer responsive */
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .footer-logo img {
        width: 50%;
        max-width: 150px;
        margin-bottom: 1rem;
    }

    .footer-logo p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-info h3, .footer-social h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .footer-info ul {
        padding: 0;
        font-size: 1rem;
    }

    .footer-info ul li {
        margin-bottom: 0.8rem;
    }

    .footer-info ul li a {
        font-size: 1rem;
    }

    .footer-social a {
        display: block;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-bottom {
        text-align: center;
        font-size: 0.9rem;
        padding: 1rem 0;
    }
}

/* Dispositivos medianos (tabletas, 768px y menores) */
@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .nav-links-mobile {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.4rem;
    }

    .course-section {
        flex-direction: column;
    }

    .course-row {
        flex-direction: column;
        height: auto;
    }

    .course-image {
        flex: 0 0 100%;
        height: auto;
    }

    .course-image img {
        height: auto;
    }

    .course-info {
        padding: 2rem;
        text-align: center;
    }

    .course-info h3 {
        font-size: 1.8rem;
    }

    .course-info .btn {
        display: block;
        width: 100%;
    }

    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonial-container {
        flex-direction: column;
    }

    .testimonial-slide {
        padding: 1.5rem;
    }

    /* Footer responsive */
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1rem;
    }

    .footer-logo img {
        width: 45%;
        max-width: 170px;
        margin-bottom: 1rem;
    }

    .footer-info h3, .footer-social h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .footer-info ul {
        font-size: 1.1rem;
    }

    .footer-social a {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-bottom {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {

    .navbar {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .course-row {
        height: auto;
    }

    .course-info {
        padding: 2rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .footer-logo img {
        width: 40%;
        max-width: 180px;
    }

    .footer-info ul {
        font-size: 1.2rem;
    }

    .footer-social a {
        font-size: 1.3rem;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}
