/* Importar tipografías de Google Fonts */
        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

        /* Reset y configuración base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Paleta de colores */
            --primary-deep-blue: #0428a6;
            --primary-royal-blue: #2a6bbe;
            --primary-gold: #d4a237;
            --primary-warm-gold: #f8ab34;
            --accent-burgundy: #410f67;
            --accent-cream: #fef7ed;
            
            /* Colores neutros sofisticados */
            --primary-dark: #0f172a;
            --secondary-dark: #1e293b;
            --tertiary-dark: #334155;
            --text-white: #ffffff;
            --text-cream: #fef7ed;
            --text-gray: #e2e8f0;
            --text-medium-gray: #94a3b8;
            --text-dark-gray: #475569;
            --text-dark: #1e293b;
            --overlay-dark: rgba(15, 23, 42, 0.85);
            --overlay-light: rgba(254, 247, 237, 0.95);
            
            /* Colores específicos para grupos */
            --kids-color: #ff6b6b;
            --teens-color: var(--primary-royal-blue);
            --youth-color: var(--primary-deep-blue);
            --family-color: #7ed321;
            
            /* Tipografías elegantes */
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Inter', sans-serif;
            --font-accent: 'Crimson Text', serif;
            
            /* Sombras y efectos */
            --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.08);
            --shadow-medium: 0 8px 30px rgba(15, 23, 42, 0.12);
            --shadow-strong: 0 15px 50px rgba(15, 23, 42, 0.2);
            --border-radius: 12px;
            --border-radius-lg: 20px;
        }

        body {
            font-family: var(--font-body);
            line-height: 1.7;
            color: var(--text-dark);
            background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
            font-weight: 400;
            overflow-x: hidden;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Navegación elegante */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            z-index: 1000;
            padding: 1.2rem 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .navbar.scrolled {
            background: rgba(15, 23, 42, 0.98);
            padding: 0.8rem 0;
            border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .nav-logo .logo-image {
            height: 55px;
            width: auto;
            max-width: 140px;
            object-fit: contain;
            filter: brightness(1.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-logo .logo-image:hover {
            filter: brightness(1.2);
            transform: scale(1.02);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-link {
            color: var(--text-cream);
            text-decoration: none;
            font-weight: 500;
            font-family: var(--font-body);
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: 0.8rem 0;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary-gold);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        /* Banner Hero mejorado - con video de fondo */
        .page-banner {
            position: relative;
            height: 70vh;
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin-top: 90px;
        }

        .banner-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .banner-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    display: block !important;
    z-index: 1 !important;
}

        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.75); /* Overlay más oscuro y limpio */
            z-index: 2;
        }

        .banner-content {
            position: relative;
            z-index: 3;
            text-align: center;
            color: var(--text-white);
            max-width: 900px;
            padding: 0 2rem;
        }

        .banner-title {
            font-family: var(--font-heading);
            font-size: 4.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            letter-spacing: 2px;
            text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
            animation: fadeInUp 1s ease-out;
        }

        .banner-subtitle {
            font-family: var(--font-accent);
            font-size: 1.8rem;
            color: var(--text-cream);
            line-height: 1.6;
            font-style: italic;
            text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
            animation: fadeInUp 1s ease-out 0.3s both;
        }

/* ========================================
   SECCIÓN DE MINISTERIOS - CSS COMPLETO
   ======================================== */

/* Sección de Grupos elegante */
.groups-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fefefe 0%, var(--accent-cream) 100%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: 1.5px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--text-dark-gray);
    font-style: italic;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

/* ========================================
   TARJETAS DE MINISTERIOS
   ======================================== */

.group-card {
    position: relative;
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: var(--text-white);
}

.group-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(212, 175, 55, 0.3);
}

/* ========================================
   SISTEMA DE SLIDESHOW DE IMÁGENES
   ======================================== */

/* Contenedor de imágenes para slideshow */
.group-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.group-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.85) contrast(1.1);
}

.group-background.active {
    opacity: 1;
    z-index: 1;
}

/* Animación de entrada suave para slideshow */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.group-background.active {
    animation: fadeInSlide 1.5s ease-in-out;
}

/* Efecto hover en imágenes */
.group-card:hover .group-background {
    transform: scale(1.05);
    filter: brightness(0.65) contrast(1.2);
}

/* ========================================
   INDICADORES DE SLIDESHOW
   ======================================== */

.slideshow-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5; /* Aumentado para que esté sobre todo */
    pointer-events: all; /* Asegurar que se pueda hacer clic */
}

.slideshow-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: all; /* Asegurar que se pueda hacer clic */
}

.slideshow-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slideshow-indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ========================================
   OVERLAY Y EFECTOS
   ======================================== */

/* Overlay elegante */
.group-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 0%, 
        rgba(15, 23, 42, 0.1) 30%,
        rgba(15, 23, 42, 0.7) 100%
    );
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.group-card:hover .group-overlay {
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(30, 65, 175, 0.8) 50%,
        rgba(212, 175, 55, 0.3) 100%
    );
}

/* ========================================
   TÍTULO VISIBLE POR DEFECTO
   ======================================== */

.group-title-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-card:hover .group-title-wrapper {
    opacity: 0;
    transform: translateY(20px);
}

.group-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 1.5px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.group-age {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-cream);
    font-style: italic;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CONTENIDO AL HACER HOVER
   ======================================== */

.group-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.5rem 2.5rem 5rem 2.5rem; /* Más padding abajo para los indicadores */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-card:hover .group-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.group-content-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.group-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-cream);
    margin-bottom: 1.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 320px;
}

/* ========================================
   BOTÓN DE ACCIÓN
   ======================================== */

.group-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-warm-gold) 100%);
    color: var(--text-white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.group-btn:hover {
    background: linear-gradient(135deg, var(--primary-warm-gold) 0%, var(--primary-gold) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.group-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.group-btn:hover::before {
    left: 100%;
}

/* ========================================
   IMÁGENES ESPECÍFICAS PARA CADA MINISTERIO
   (Para compatibilidad si no se usan múltiples imágenes)
   ======================================== */

.kids-pdc .group-background {
    background-image: url('Img/kids.jpeg');
}

.corazon-leon .group-background {
    background-image: url('Img/jovenes.jpeg');
}

.ministerio-parejas .group-background {
    background-image: url('Img/parejas.jpeg');
}

.mujeres-proposito .group-background {
    background-image: url('Img/mujeres.jpeg');
}

/* ========================================
   ANIMACIONES GENERALES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   RESPONSIVE DESIGN - TABLETS
   ======================================== */

@media (max-width: 1024px) {
    .groups-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .groups-section {
        padding: 6rem 0;
    }
    
    .group-content {
        padding: 2rem;
    }
    
    .group-title {
        font-size: 2rem;
    }
    
    .group-content-title {
        font-size: 1.8rem;
    }
    
    .group-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .slideshow-indicators {
        bottom: 15px;
        gap: 6px;
    }

    .slideshow-indicator {
        width: 6px;
        height: 6px;
    }

    .slideshow-indicator.active {
        width: 20px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MÓVILES
   ======================================== */

@media (max-width: 768px) {
    .groups-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .groups-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .group-card {
        height: 400px;
    }

    .group-title {
        font-size: 1.8rem;
    }

    .group-age {
        font-size: 1rem;
    }

    .group-content-title {
        font-size: 1.6rem;
    }

    .group-description {
        font-size: 0.95rem;
        max-width: 250px;
    }

    .group-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .group-title-wrapper {
        padding: 2rem;
    }

    .group-content {
        padding: 1.5rem 1.5rem 4rem 1.5rem; /* Ajustar padding para móvil */
    }

    .slideshow-indicators {
        bottom: 20px; /* Más espacio desde abajo en móvil */
        gap: 5px;
    }

    .slideshow-indicator {
        width: 5px;
        height: 5px;
    }

    .slideshow-indicator.active {
        width: 16px;
    }
}

@media (max-width: 480px) {
    .groups-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .group-card {
        height: 350px;
    }

    .group-title {
        font-size: 1.5rem;
    }

    .group-content-title {
        font-size: 1.4rem;
    }

    .group-description {
        font-size: 0.9rem;
        max-width: 220px;
    }

    .group-modal-body {
        padding: 1.5rem;
    }

    .group-modal-title {
        font-size: 1.8rem;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

/* ========================================
   MODAL DE INFORMACIÓN DE GRUPO
   ======================================== */

.group-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-modal.show {
    opacity: 1;
    visibility: visible;
}

.group-modal-content {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transform: scale(0.9) translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-modal.show .group-modal-content {
    transform: scale(1) translateY(0);
}

.group-modal-header {
    background: linear-gradient(135deg, var(--primary-deep-blue) 0%, var(--primary-royal-blue) 100%);
    color: var(--text-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    text-align: center;
    position: relative;
}

.group-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.group-modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.group-modal-subtitle {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

.group-modal-body {
    padding: 2rem;
}

.group-info-section {
    margin-bottom: 2rem;
}

.info-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-deep-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.info-section-title i {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-warm-gold));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.group-description-full {
    color: var(--text-dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.group-activities {
    display: grid;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--accent-cream);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-royal-blue);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.activity-description {
    color: var(--text-dark-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.group-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.group-action-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.group-action-btn.secondary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-warm-gold));
    color: var(--text-white);
}

.group-action-btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.group-action-btn.primary {
    background: #25D366;
    color: var(--text-white);
}

.group-action-btn.primary:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

.group-action-btn.primary i {
    font-size: 1.2rem;
}

        /* Footer elegante */
        .footer {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
            color: var(--text-white);
            padding: 5rem 0 2rem;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            gap: 4rem;
            align-items: start;
            margin-bottom: 3rem;
        }

        .footer-logo {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .footer-logo .footer-logo-image {
            height: 70px;
            width: auto;
            max-width: 160px;
            object-fit: contain;
            margin-bottom: 1.5rem;
            filter: brightness(1.1);
        }

        .footer-logo p {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text-cream);
            font-family: var(--font-heading);
            letter-spacing: 1px;
        }

        .footer-links {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
        }

        .footer-column h4 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--primary-gold);
            font-family: var(--font-heading);
            letter-spacing: 1px;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 0.8rem;
        }

        .footer-column ul li a {
            color: var(--text-gray);
            text-decoration: none;
            font-family: var(--font-body);
            font-weight: 400;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .footer-column ul li a:hover {
            color: var(--primary-gold);
            padding-left: 8px;
        }

        .footer-social {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            align-items: center;
        }

        .footer-social a {
            width: 55px;
            height: 55px;
            background: var(--tertiary-dark);
            color: var(--text-white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1.3rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;
        }

        .footer-social a:hover {
            background: linear-gradient(135deg, var(--primary-gold), var(--primary-warm-gold));
            color: var(--text-white);
            transform: translateY(-3px) scale(1.05);
            border-color: rgba(212, 175, 55, 0.3);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--tertiary-dark);
        }

        .footer-bottom p {
            color: var(--text-medium-gray);
            font-size: 0.95rem;
            font-family: var(--font-body);
            font-weight: 400;
        }

        /* Scroll suave */
        html {
            scroll-behavior: smooth;
        }

        /* Efecto de brillo sutil en hover */
        .group-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
        }

        .group-card:hover::before {
            opacity: 1;
        }

        /* Animaciones suaves */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.8s ease-out;
        }

        /* Responsive Design mejorado - CORREGIDO */
        @media (max-width: 1024px) {
            .groups-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }
            
            .container {
                padding: 0 1.5rem;
            }
            
            .groups-section {
                padding: 6rem 0;
            }
            
            .group-content {
                padding: 2rem;
            }
            
            .group-title {
                font-size: 2rem;
            }
            
            .group-content-title {
                font-size: 1.8rem;
            }
            
            .group-description {
                font-size: 1rem;
            }
            
            .banner-title {
                font-size: 3rem;
            }
            
            .banner-subtitle {
                font-size: 1.5rem;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }
            
            .footer-links {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .group-modal-content {
                width: 95%;
                margin: 1rem;
            }

            .group-actions {
                flex-direction: column;
            }
        }

        /* Responsive Design móvil - CORREGIDO */
        @media (max-width: 768px) {

            .page-banner {
                height: 60vh;
                min-height: 400px;
            }

            .banner-title {
                font-size: 3rem;
            }

            .banner-subtitle {
                font-size: 1.5rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .groups-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .group-card {
                height: 350px;
            }
            
            .group-title {
                font-size: 1.8rem;
            }
            
            .group-content-title {
                font-size: 1.6rem;
            }
            
            .group-btn {
                padding: 1rem 2rem;
                font-size: 0.9rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }
            
            .footer-links {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .group-modal-content {
                width: 95%;
                margin: 1rem;
            }

            .group-actions {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .page-banner {
                height: 50vh;
                min-height: 350px;
            }

            .banner-title {
                font-size: 2.5rem;
            }
            
            .banner-subtitle {
                font-size: 1.3rem;
            }
            
            .section-title {
                font-size: 2rem;
            }

            .group-modal-body {
                padding: 1.5rem;
            }

            .group-modal-title {
                font-size: 1.8rem;
            }

            .activity-item {
                flex-direction: column;
                text-align: center;
                gap: 0.8rem;
            }
        }

        /* Mejoras para pantallas grandes */
        @media (min-width: 1400px) {
            .banner-title {
                font-size: 5rem;
            }
            
            .banner-subtitle {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 4rem;
            }
        }

        .page-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    padding: 0 2rem;
}