
        /* Estilo para las capas de fondo */
        body {
            margin: 0;
            padding: 0;
            height: 100vh;
            overflow: hidden;
            font-family: 'Poppins', sans-serif;
        }

        /* Capa de fondo fija */
        .background-layer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: opacity 1.5s ease-in-out; /* Transición suave */
            z-index: -1; /* Para que quede en el fondo */
            opacity: 0; /* Inicialmente invisible */
        }

        .background-layer.active {
            opacity: 0.35; /* Cuando se activa, es visible pero semi-transparente para mejor legibilidad */
        }

        /* Animaciones para entrada de elementos */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Clases de animación */
        .animate-fadeIn {
            opacity: 0;
            animation: fadeIn 0.8s ease forwards;
        }

        .animate-fadeInUp {
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }

        .animate-scaleIn {
            opacity: 0;
            animation: scaleIn 0.8s ease forwards;
        }

        /* Animación para menú hamburguesa */
        .hamburger {
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .hamburger span {
            display: block;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* Animación para navegación móvil */
        .mobile-nav {
            transition: right 0.4s ease;
        }

        .mobile-nav.active {
            right: 0;
        }

        /* Overlay para menú móvil */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 10;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .overlay.active {
            visibility: visible;
            opacity: 1;
        }

        /* Estilos para delay en animaciones */
        .delay-1 {
            animation-delay: 0.2s;
        }

        .delay-2 {
            animation-delay: 0.4s;
        }

        .delay-3 {
            animation-delay: 0.6s;
        }


/* Estilos adicionales para la sección de Mensajes */
.quote-section {
  width: 1000px;
  max-width: 90%;
  height: auto;
  margin: 2rem auto;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,245,245,0.9));
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.quote-header i {
  font-size: 1.2rem;
  color: #48a3f8;
}

.quote-divider {
  border: none;
  border-top: 1px solid #ddd;
  width: 60px;
  margin-bottom: 1rem;
}

.swiper-container {
  width: 100%;
}

.swiper-slide {
  font-size: 1.2rem;
  font-style: italic;
  color: #444;
  line-height: 1.6;
  text-align: center;
  padding: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: #333;
  background: rgba(255, 255, 255, 0);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0);
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0);
}

/* Adaptación móvil */
@media (max-width: 768px) {
  .quote-section {
    height: auto;
    padding: 1.5rem;
  }

  .swiper-slide {
    font-size: 1rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
}

.sermons-section {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center;
}
.sermon-message {
  margin-top: 10px;
  background: #f8f9fa;
  padding: 10px;
  border-left: 4px solid #00bcd4;
  border-radius: 6px;
  color: #333;
  font-size: 14px;
}

.sermons-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.sermons-subtitle {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.sermons-container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sermon-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sermon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.sermon-icon {
  background: linear-gradient(135deg, #48a3f8, #2979ff);
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.sermon-content h3 {
  font-size: 1rem;
  color: #222;
  margin: 0.2rem 0;
}

.sermon-content p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.6rem;
}

.sermon-content audio {
  width: 100%;
  border-radius: 6px;
}
