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

body {
    font-family: 'Kumbh Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    /* Añadir espacio superior para compensar el navbar fijo */
    padding-top: 70px; /* Ajusta este valor según la altura final de tu navbar */
}

/* Contenedor Centralizado */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Navbar Styles --- */
.navbar {
    /* position: fixed; Ya viene con Bootstrap fixed-top */
    /* width: 100%; Ya viene con Bootstrap */
    /* top: 0; Ya viene con Bootstrap fixed-top */
    /* left: 0; Ya viene con Bootstrap fixed-top */
    padding: 0.5rem 1rem;
    background-color: #1a237e !important; /* Azul corporativo principal */
    color: #fff;
    z-index: 1030; /* Asegura que esté sobre otros elementos */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: white !important; /* Fuerza el color blanco */
    font-weight: 400; /* Regular weight */
    transition: color 0.3s ease, transform 0.3s ease, font-weight 0.3s ease;
    margin: 0 0.5rem; /* Espacio entre links */
}

.navbar-nav .nav-link:hover {
    color: #ffca28 !important; /* Amarillo Kreadu */
    transform: scale(1.05); /* Ligero agrandamiento */
    font-weight: 700; /* Bold en hover */
}

/* Estilo específico para el botón WhatsApp en el nav */
.navbar-nav .nav-link.btn-whatsapp {
    background-color: #25D366; /* Color WhatsApp */
    color: white !important;
    font-weight: 700 !important; /* Siempre bold */
    border-radius: 20px;
    padding: 0.3rem 1rem !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link.btn-whatsapp:hover {
    background-color: #128C7E; /* Color WhatsApp más oscuro */
    transform: scale(1.1);
}

/* Estilos para el botón Toggler (menú hamburguesa) */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    /* Ícono blanco */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Fondo del menú colapsado */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #1a237e; /* Mismo color del navbar */
        text-align: center;
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    .navbar-nav .nav-link {
         margin: 0.5rem 0;
    }
    .navbar-nav .nav-link.btn-whatsapp {
        display: inline-block; /* Asegura que se centre */
        margin-top: 1rem;
    }
}

/* --- Hero Section --- */
.hero-section {
    background-color: #e8eaf6; /* Un azul muy claro, casi blanco, para contraste */
    padding: 4rem 0 4rem; /* Ajustar padding si es necesario */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Eliminar margen superior si body ya tiene padding-top */
}

.hero-text {
    max-width: 550px;
    color: #1A237E; /* Azul corporativo */
}

.hero-text h1 {
    font-size: 2.8rem; /* Ligeramente más grande */
    font-weight: 400; /* Regular */
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    font-weight: 900; /* Extra Bold o Black */
    color: #1A237E; /* Asegurar color principal */
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #3f51b5; /* Un azul intermedio para el párrafo */
}

.hero-image-container {
   max-width: 500px;
}

.hero-image-container img {
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 100%; /* Asegura que ocupe el contenedor */
    height: auto; /* Mantiene proporción */
}

/* Botón Call to Action Principal */
.btn-cta {
    background-color: #ffc107; /* Amarillo Kreadu */
    color: #1A237E; /* Azul corporativo */
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: #ffca28; /* Amarillo más brillante */
    color: #1A237E;
    transform: scale(1.05) translateY(-2px); /* Efecto hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* --- Secciones Generales --- */
section {
    padding: 4rem 0;
}

section h2 {
    color: #1a237e; /* Azul corporativo */
    font-weight: 700; /* Bold */
    margin-bottom: 1rem;
}

section p.lead, section .section-subtitle {
    color: #3f51b5; /* Azul intermedio */
    max-width: 800px; /* Limitar ancho de subtítulos */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

/* --- Sección Servicio Educativo --- */
#servicio-educativo .feature-icon {
    max-width: 100px; /* Tamaño iconos */
    height: auto;
    margin-bottom: 1rem;
    border-radius: 10px;
}

#servicio-educativo h5 {
    color: #1a237e;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* --- Sección Por Qué Elegirnos (Antes Educación para el Futuro) --- */
#porque-elegirnos .card {
    border: none; /* Quitar borde default */
    border-radius: 15px; /* Más redondeado */
    overflow: hidden; /* Asegura que la imagen respete el borde */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Para alinear alturas */
}

#porque-elegirnos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.15); /* Sombra azulada */
}

#porque-elegirnos .card-img-top {
    height: 200px; /* Altura fija para imágenes */
    object-fit: cover; /* Asegura que la imagen cubra */
}

#porque-elegirnos .card-body {
    background-color: #fff;
}

#porque-elegirnos .card-title {
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#porque-elegirnos .card-text {
    color: #555;
    font-size: 0.95rem;
}

#porque-elegirnos .card-benefit {
    font-weight: bold;
    color: #3f51b5;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    display: block; /* Asegura espacio */
}

/* --- Sección Metodologías --- */
#metodologia {
    background-color: #f8f9fa; /* Fondo ligeramente gris */
}

.metodologia-intro {
    color: #3f51b5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.accordion {
    --bs-accordion-active-bg: #e8eaf6; /* Fondo azul claro al activar */
    --bs-accordion-active-color: #1a237e; /* Texto azul oscuro al activar */
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-border-color: rgba(26, 35, 126, 0.3); /* Borde azul suave */
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a237e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a237e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); /* Mantener el mismo icono por simplicidad o cambiar si se prefiere */
}

.accordion-item {
     border-radius: 8px !important; /* Forzar redondeo */
     border: 1px solid rgba(26, 35, 126, 0.3);
     margin-bottom: 1rem; /* Espacio entre items */
     overflow: hidden; /* Asegura que el botón respete el borde */
}

.accordion-button {
    color: #1a237e;
    font-weight: 700;
    background-color: #fff; /* Fondo blanco por defecto */
}

.accordion-button:not(.collapsed) {
    box-shadow: none; /* Quitar sombra Bootstrap */
    background-color: #e8eaf6; /* Fondo azul claro al activar */
    color: #1a237e;
    border-bottom: 1px solid rgba(26, 35, 126, 0.3); /* Línea divisoria sutil */
}

.accordion-button:focus {
     box-shadow: none; /* Quitar outline de foco */
}

.accordion-body {
    color: #333;
    background-color: #fff; /* Fondo blanco para el cuerpo */
    padding: 1.5rem; /* Más padding */
}

/* --- Sección Testimonios (Nueva) --- */
#testimonios {
    background-color: #e8eaf6; /* Mismo fondo que Hero para alternar */
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem; /* Espacio si se apilan en móvil */
    border-left: 5px solid #ffc107; /* Acento amarillo */
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: #1a237e;
}

.testimonial-author span {
    display: block;
    font-weight: normal;
    font-size: 0.9rem;
    color: #777;
}

/* --- Sección Inscripciones (CTA Final) --- */
.inscripciones {
    background-color: #ffc107; /* Amarillo Kreadu */
    color: #1a237e; /* Azul corporativo */
    padding: 4rem 0;
    text-align: center;
}

.inscripciones h2 {
    font-size: 2.2rem;
    font-weight: 900; /* Extra Bold */
    margin-bottom: 1rem;
    color: #1a237e; /* Asegurar color */
}

.inscripciones p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Footer Styles (Consistente) --- */
.footer {
    background-color: #1a237e; /* Azul corporativo principal */
    color: #e8eaf6; /* Texto azul muy claro, casi blanco */
    padding: 3rem 0 2rem;
    text-align: center;
    font-family: 'Kumbh Sans', sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Mayor espacio */
}

.footer-logo img {
    max-height: 60px; /* Ajustar si es necesario */
    margin-bottom: 1rem;
}

.footer-contact p {
    margin: 0.3rem 0;
    font-size: 1rem;
    font-weight: normal;
}
.footer-contact p strong {
    font-weight: 700; /* Bold para el número */
}

.footer-social {
    display: flex;
    gap: 1.5rem; /* Espacio entre iconos sociales */
    margin-top: 1rem;
}

.social-icon {
    color: #fff; /* Iconos blancos */
    font-size: 1.8rem; /* Tamaño iconos */
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffc107; /* Amarillo Kreadu al pasar el mouse */
    transform: scale(1.2); /* Efecto hover */
}

.footer-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #c5cae9; /* Un azul grisáceo claro */
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Línea divisoria sutil */
    padding-top: 1.5rem;
    width: 80%; /* Limitar ancho */
    max-width: 600px;
}

/* --- Botón Flotante WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    body {
        padding-top: 60px; /* Ajustar si la altura del navbar cambia en móvil */
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0; /* Menos padding en móvil */
    }

    .hero-text {
        margin-bottom: 2rem;
    }
     .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
    .hero-image-container {
       max-width: 80%; /* Ajustar tamaño imagen en móvil */
       margin-top: 2rem;
    }

     section h2 {
        font-size: 1.8rem;
    }
    section p.lead, section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
     #porque-elegirnos .card {
        margin-bottom: 1.5rem;
    }

    .footer-container {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
     .hero-text h1 {
        font-size: 2rem;
    }
     #servicio-educativo .col-md-3 {
         /* Asegurar espacio en móvil */
         margin-bottom: 1.5rem;
     }
     .inscripciones h2 {
        font-size: 1.8rem;
    }
}

/* Add your custom styles here */

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list .feature-item {
    margin-bottom: 1.5rem;
}

.features-list .icon-box {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.features-list h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.features-list p {
    margin: 0;
    font-size: 1rem;
}