.elementor-19 .elementor-element.elementor-element-e94cdb7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-66d6e9f *//* ==========================================================================
   Sección Quiénes Somos - Educa con Amor
   ========================================================================== */

/* 1. Importar fuente Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* 2. Variables Corporativas */
:root {
  --primary-color: #487CC5; /* Azul corporativo */
  --accent-color: #E9BB7A;  /* Dorado/Arena para enlaces y acentos */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9fb;
}

/* 3. Contenedor Principal */
.about-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 4. Enlaces */
.about-section a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.about-section a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* 5. Encabezados (Forzando el azul para evitar herencias del tema) */
.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-section h2, 
.about-section h3 {
  color: var(--primary-color) !important; 
  font-family: 'Poppins', sans-serif;
}

.about-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.about-header .subtitle {
  font-size: 1.2rem;
  color: var(--accent-color);
  font-weight: 600;
}

/* 6. Layout Texto + Imagen */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text {
  flex: 1 1 500px;
  line-height: 1.6;
  font-size: 1.1rem;
  font-weight: 300;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text strong {
  font-weight: 600;
  color: var(--primary-color);
}

.about-image {
  flex: 1 1 500px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(72, 124, 197, 0.15);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: translateY(-5px);
}

/* 7. Tarjetas Informativas (Equipo y Visión) */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: var(--text-light);
  flex: 1 1 300px;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 5px solid var(--accent-color);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(72, 124, 197, 0.15);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 600;
}

.card p {
  line-height: 1.5;
  font-size: 1rem;
  color: #555;
  font-weight: 300;
}

/* 8. Responsive Design (Móviles) */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse;
  }
  
  .about-header h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   8. Responsive Design (Optimización Avanzada para Móviles)
   ========================================================================== */

@media (max-width: 768px) {
  /* Reducir el padding general para no desperdiciar pantalla en celular */
  .about-section {
    padding: 50px 15px;
  }

  /* Ajuste de tipografía en encabezados */
  .about-header {
    margin-bottom: 30px;
  }

  .about-header h2 {
    font-size: 2rem; /* Tamaño más manejable en móviles */
    line-height: 1.2;
  }

  .about-header .subtitle {
    font-size: 1.05rem;
  }

  /* Invertir el orden para que la imagen se vea antes o después del texto según prefieras 
     (column-reverse pone la imagen arriba del texto en el DOM actual) */
  .about-content {
    flex-direction: column-reverse;
    gap: 25px; /* Reducir la separación entre imagen y texto */
    margin-bottom: 40px;
  }

  /* Ajustar los textos para mejor lectura en pantallas pequeñas */
  .about-text {
    font-size: 1rem;
    text-align: center; /* Centrar el texto en móviles suele verse más ordenado */
    flex: 1 1 100%;
  }

  .about-text p {
    margin-bottom: 15px;
  }

  /* Ajuste de la imagen */
  .about-image {
    flex: 1 1 100%;
    width: 100%;
  }

  /* Optimizar las tarjetas (Equipo y Visión) */
  .about-cards {
    gap: 20px; /* Menor espacio entre tarjetas */
  }

  .card {
    flex: 1 1 100%; /* Obliga a las tarjetas a usar el 100% del ancho */
    padding: 30px 20px; /* Reducir el padding interno de las tarjetas */
  }

  .card h3 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}

/* Ajuste adicional para pantallas MUY pequeñas (ej. iPhone SE) */
@media (max-width: 480px) {
  .about-header h2 {
    font-size: 1.75rem;
  }
}/* End custom CSS */