/* Estilos específicos para la página de Preescolar */

/* Sección Educación Preescolar */
.educacion-section {
    padding: 1rem 0;
    background-color: #f8f9fa;
}

.educacion-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.educacion-main-col {
    padding-right: 2rem;
}

.educacion-title {
    color: #ff093c;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.educacion-content p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Lista de características */
.caracteristicas-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

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

.check-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #1f4fa2;
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
}

.check-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.caracteristica-text {
    flex: 1;
}

/* Columna lateral */
.educacion-side-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.educacion-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.educacion-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bloque de horarios */
.horarios-block {
    background-color: #1f4fa2;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.horarios-block h3 {
    color: #d6a63e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.horarios-block p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* Bloque de contacto */
.contacto-block {
    background-color: #1f4fa2;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contacto-block h3 {
    color: #d6a63e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contacto-block p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.lider-image {
    width: 100%;
    margin-bottom: 1rem;
}

.lider-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sección CTA */
.cta-section {
    padding: 4rem 0;
    background-color: #ff093c;
    color: white;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-text-col {
    padding-right: 2rem;
}

.cta-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-solid {
    background-color: white;
    color: #ff093c;
    border: 2px solid white;
}

.btn-solid:hover {
    background-color: #f8f9fa;
}

.cta-image-col {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-image-col img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ajustes para el banner */
.section-subtitle {
    color: white;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Media queries para responsividad */
@media (max-width: 992px) {
    .educacion-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .educacion-main-col {
        padding-right: 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-text-col {
        padding-right: 0;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .horarios-block {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .educacion-title,
    .cta-title {
        font-size: 1.8rem;
    }
    
    .caracteristicas-list li {
        font-size: 1rem;
    }
    
    .horarios-block,
    .contacto-block {
        padding: 1.5rem;
    }
    
    .horarios-block h3,
    .contacto-block h3 {
        font-size: 1.2rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.educacion-title,
.cta-title {
    animation: fadeInUp 0.8s ease-out forwards;
}

.caracteristicas-list li {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.caracteristicas-list li:nth-child(1) { animation-delay: 0.1s; }
.caracteristicas-list li:nth-child(2) { animation-delay: 0.2s; }
.caracteristicas-list li:nth-child(3) { animation-delay: 0.3s; }
.caracteristicas-list li:nth-child(4) { animation-delay: 0.4s; }
.caracteristicas-list li:nth-child(5) { animation-delay: 0.5s; }
.caracteristicas-list li:nth-child(6) { animation-delay: 0.6s; }
.caracteristicas-list li:nth-child(7) { animation-delay: 0.7s; }
