/* ===========================
   EDUCACIÓN CRISTIANA
   Estilos específicos de sección
=========================== */

.educacion-cristiana {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  color: #2e2e2e;
  font-size: 1.05rem;
  line-height: 1.7;
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.8s ease-in-out;
}

/* Mejora visual para títulos */
.educacion-cristiana h2,
.educacion-cristiana h3 {
  color: var(--color-principal, #0e3a5d);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Ajustes para párrafos */
.educacion-cristiana p {
  margin-bottom: 1.5rem;
}

/* Imágenes embebidas */
.educacion-cristiana img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 6rem 2rem;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: scale(1.05);
  filter: brightness(0.85) contrast(1.1) saturate(1.1);
  z-index: -2;
  transition: transform 8s ease;
}

.hero-section:hover::before {
  transform: scale(1.1);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
 
 
}

/* Contenido centrado */
.hero-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
  font-size: 1.25rem;
  margin: 1rem auto;
  max-width: 720px;
  color: #f0f4f8;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-content blockquote {
  margin-top: 1.8rem;
  font-style: italic;
  color: #ffd54f;
  font-size: 1.15rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}


/* Principios Fundamentales */
.principios-section {
  margin-top: 4rem;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #f8fcff, #eef4f8);
  border-left: 6px solid var(--color-principal, #1976d2);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.principios-section h2 {
  font-size: clamp(2.2rem, 5vw, 2.75rem);
  color: var(--color-principal, #0e3a5d);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 800;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}

/* Lista en Grid */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Item */
.values-list li {
  background-color: #fff;
  padding: 1.75rem 1.75rem 1.75rem 2.75rem;
  border-left: 5px solid var(--color-principal, #0e3a5d);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  color: #333;
  line-height: 1.7;
}

/* Hover */
.values-list li:hover {
  background-color: #f0f4f8;
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Check o icono */
.values-list li::before {
  content: "✓";
  color: var(--color-acento, #ffd54f);
  font-weight: 900;
  font-size: 1.4rem;
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
}

/* Texto del item */
.values-list li strong {
  color: var(--color-principal, #0e3a5d);
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

/* Fondo decorativo */
.principios-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(14, 58, 93, 0.03);
  border-radius: 50%;
  z-index: 0;
  animation: floatCircle 10s ease-in-out infinite;
}

.principios-section::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: -70px;
  width: 240px;
  height: 240px;
  background: rgba(14, 58, 93, 0.02);
  border-radius: 50%;
  z-index: 0;
  animation: floatCircle 12s ease-in-out infinite reverse;
}

/* Animación flotante */
@keyframes floatCircle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}


/* Metodología */
.metodologia-section {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8fcff, #eef4f8);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Título */
.metodologia-section h2 {
  color: var(--color-principal, #0e3a5d);
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-align: left;
}

/* Contenedor flexible */
.metodologia-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

/* Texto */
.metodologia-section .text-content {
  flex: 1 1 420px;
}

.metodologia-section .text-content p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* Imagen */
.metodologia-section .image-content {
  flex: 1 1 380px;
  text-align: center;
}

.metodologia-section .image-content img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.metodologia-section .image-content img:hover {
  transform: scale(1.03);
}

/* Fondo decorativo */
.metodologia-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(14, 58, 93, 0.03);
  border-radius: 50%;
  z-index: 0;
  animation: floatCircle 10s ease-in-out infinite;
}

.metodologia-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(14, 58, 93, 0.02);
  border-radius: 50%;
  z-index: 0;
  animation: floatCircle 12s ease-in-out infinite reverse;
}

/* Animación decorativa */
@keyframes floatCircle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}


/* ORNAMENTOS DE FONDO CIRCULARES */
.metodologia-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(46, 125, 50, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.metodologia-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: rgba(76, 175, 80, 0.08);
  border-radius: 50%;
  z-index: 1;
}





/* Impacto Espiritual */
.impacto-section {
  margin-top: 4rem;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
  border-left: 6px solid #ef6c00;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  text-align: center;
  position: relative;
  isolation: isolate;
}

.impacto-section h2 {
  font-size: 2.4rem;
  color: #d84315;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.impact-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

/* Tarjetas de estadísticas */
.impact-stats article {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  flex: 1 1 200px;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #ff9800;
}

.impact-stats article:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Cifra destacada */
.impact-stats strong {
  display: block;
  font-size: 2.2rem;
  color: #ef6c00;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

/* Descripción */
.impact-stats p {
  font-size: 1rem;
  color: #444;
  margin: 0;
  line-height: 1.5;
}

/* Frase inspiradora */
.frase-inspiradora {
  margin: 4rem auto;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #e0f2f1 0%, #f1fdfc 100%);
  text-align: center;
  font-style: italic;
  border-left: 6px solid #00796b;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.frase-inspiradora::before {
  content: "❝";
  font-size: 5rem;
  color: rgba(0, 121, 107, 0.1);
  position: absolute;
  top: -10px;
  left: 20px;
  z-index: 0;
}

.frase-inspiradora blockquote {
  font-size: 1.35rem;
  color: #004d40;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Animación fadeIn */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */

@media (max-width: 768px) {
  .educacion-cristiana {
    padding: 2rem 1rem;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
  }

  .values-list li,
  .metodologia-section,
  .impacto-section {
    padding: 1.25rem;
  }

  .impact-stats {
    flex-direction: column;
    align-items: center;
  }

  .impact-stats article {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.4rem;
  }

  .hero-section .lead {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 1.5rem;
  }

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

  .hero-section .lead {
    font-size: 1.05rem;
  }
}

/* Animación fade-in desde abajo */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .principios-section {
    padding: 2rem 1.2rem;
  }

  .principios-section h2 {
    font-size: 1.8rem;
  }

  .values-list {
    grid-template-columns: 1fr;
  }
}

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

  .metodologia-section h2 {
    font-size: 2.2rem;
  }

  .metodologia-section p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .impacto-section h2 {
    font-size: 2rem;
  }

  .impact-stats {
    flex-direction: column;
    align-items: center;
  }

  .impact-stats article {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .frase-inspiradora {
    padding: 2rem 1.5rem;
  }

  .frase-inspiradora blockquote {
    font-size: 1.1rem;
  }
}
