/* Estilos específicos para la página de Nosotros, tomand estilos de Primaria */

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

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

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

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

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

/* Estilos para la sección de Oferta Educativa */
.oferta-grid {
    font-size: 1.1rem; /* Tamaño base aumentado */
    line-height: 1.6;
}

.oferta-column p {
    font-size: 1.1rem; /* Tamaño específico para párrafos */
    margin-bottom: 1rem;
    color: #333;
}

.oferta-title {
    font-size: 1.8rem; /* Tamaño para el título "Nuestra oferta" */
    color: #1f4fa2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .oferta-grid {
        font-size: 1rem;
    }
    
    .oferta-column p {
        font-size: 1rem;
    }
    
    .oferta-title {
        font-size: 1.5rem;
    }
}


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

/* 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 */
.experiencia-side-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

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

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

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

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

/* Estilos para "Paz y Bien" con líneas horizontales */
.paz-bien-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el contenido horizontalmente */
    margin: 1rem 0; /* Espacio superior e inferior */
    width: 100%;
    /* Aseguramos que el contenido esté centrado si el contenedor es más grande */
}

.paz-bien-line {
    flex-grow: 1; /* La línea crece para ocupar el espacio disponible */
    height: 2px; /* Grosor de la línea */
    background-color: #d6a63e; /* Color de línea dorado por defecto */
    margin: 0 1rem; /* Espacio entre la línea y el texto */
}

.paz-bien-text {
    color: #d6a63e; /* Color del texto dorado por defecto */
    font-size: 1.6rem; /* Tamaño de fuente, ajusta si es necesario */
    font-weight: 700;
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
}


/* Media query para hacer el texto un poco más pequeño en móviles */
@media (max-width: 480px) {
    .paz-bien-text {
        font-size: 1.3rem;
    }
    .contacto-block .paz-bien-text {
        font-size: 1rem;
    }
}

/* Sección Oferta */
.oferta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.oferta-column {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.oferta-btn {
    border: none;
    padding: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    border-radius: 6px 6px 0 0;
    margin: 0;
}

.primaria-btn {
    background-color: #1f4fa2;
}

.primaria-btn:hover {
    background-color: #15397e;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(31, 79, 162, 0.3);
}

.preescolar-btn {
    background-color: #e74c3c;
}

.preescolar-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(231, 76, 60, 0.3);
}




/* Bloque de horarios (ajustado) */
.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;
    /* Altura ajustada para alinearse con la imagen */
    height: calc(100% - 100%);
}

.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;
}

.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;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.cta-buttons {
    display: flex; /* Para que los botones estén en línea */
    gap: 1.5rem; /* Espacio entre los botones */
    margin-top: 2rem; /* Espacio superior si es necesario */
}

.cta-buttons .button {
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: flex; /* Para alinear el icono y el texto */
    align-items: center; /* Centrar verticalmente el icono y el texto */
}

.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: #fff; /* Fondo blanco */
    color: #ffd700; /* Letra dorada */
    border: 2px solid #ffd700; /* Borde dorado para un mejor contraste si el fondo es blanco */
}

.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) {
    .experiencia-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experiencia-main-col {
        padding-right: 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-text-col {
        padding-right: 0;
        text-align: center;
    }
    
    /* Estilos para los botones de CTA en Primaria */
    .cta-buttons {
        justify-content: center;
    }
    
    .horarios-block {
        margin-top: 1rem;
        height: auto;
    }
}

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

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

.experiencia-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; }

/* Sección Beneficios con franja azul - Versión simplificada */
.beneficios-section {
    padding: 4rem 0;
    background-color: #12448d;  /* Fondo azul completo */
    position: relative;
}

.beneficios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.beneficio-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.beneficio-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.beneficio-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .beneficio-card {
        padding: 1.5rem;
    }
}

.icon-circle {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #ff093c;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
}

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

.beneficio-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(31, 79, 162, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.beneficio-title {
    color: #1f4fa2;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.beneficio-text {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* Sección Valores con Carrusel */
.valores-section {
    padding: 4rem 0;
    background-color: #1f4fa2;
    color: white;
}

.valores-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.valores-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.valores-track {
    width: 100%;
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 1rem 0;
}

.valor-item {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.valor-title {
    color: #d7a959;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.valor-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Controles del carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 1200px) {
    .valor-item {
        flex: 0 0 calc(33.333% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .valor-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .valor-item {
        flex: 0 0 100%;
    }
    
    .valores-carousel {
        padding: 0 1.5rem;
    }
}
