/* Externalized Footer and Carousel Styles */
.footer {
            position: relative;
            padding: 80px 0 32px;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.5), transparent);
        }

        .footer-grid {
            display: grid;
            gap: 40px;
            margin-bottom: 64px;
        }

        @media (max-width: 767px) {
            .footer-grid {
                display: block;
            }

            .footer-grid>div {
                display: block;
                margin-bottom: 32px;
            }
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr;
            }
        }

        .footer-brand h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .footer-brand p.gradient-text {
            font-size: 1.25rem;
            margin-bottom: 16px;
        }

        .footer-brand p.tagline {
            font-size: 1.125rem;
            font-style: italic;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 24px;
            font-family: 'Raleway', sans-serif;
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-contact a {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: rgba(255, 255, 255, 0.7);
            transition: color 0.3s ease;
        }

        .footer-contact a:hover {
            color: #60a5fa;
        }

        .footer-contact a i {
            flex-shrink: 0;
            margin-top: 2px;
        }

        /* ===== SLIDESHOW ===== */
        .slideshow-container {
            width: 100%;
        }

        .slideshow-wrapper {
            position: relative;
            overflow: hidden;
        }

        .slideshow-track {
            display: flex;
            gap: 16px;
            animation: slideshow-scroll 60s linear infinite;
            width: max-content;
        }

        .slideshow-track:hover {
            animation-play-state: paused;
        }

        .slideshow-item {
            flex-shrink: 0;
            width: 280px;
            height: 200px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .slideshow-item:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
        }

        .slideshow-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .slideshow-item:hover img {
            transform: scale(1.1);
        }

        @keyframes slideshow-scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        @media (max-width: 768px) {
            .slideshow-item {
                width: 220px;
                height: 160px;
            }
        }

        /* Make slideshow images clickable */
        .slideshow-item {
            cursor: pointer;
        }

        /* Lightbox Modal */
        .lightbox-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .lightbox-modal.active {
            display: flex;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 32px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s ease;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .lightbox-caption {
            color: white;
            text-align: center;
            margin-top: 16px;
            font-size: 16px;
            opacity: 0.9;
        }

        .footer-contact a .external {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .footer-contact a:hover .external {
            opacity: 1;
        }

        .footer h4 {
            font-family: 'Raleway', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .footer-pastores {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-pastores p:first-child {
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
        }

        .footer-pastores p:last-child {
            color: white;
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }

        .footer-social a {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .footer-social a:hover {
            transform: scale(1.1);
        }

        .footer-social a.instagram {
            background: linear-gradient(135deg, #a855f7, #ec4899);
        }

        .footer-social a.facebook {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
        }

        .footer-social a.youtube {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }

        @media (max-width: 768px) {
            .footer .scroll-reveal {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }

            .footer-social {
                display: flex !important;
                gap: 16px !important;
                margin-bottom: 24px !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            .footer-social a {
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                width: 52px !important;
                height: 52px !important;
                min-width: 52px !important;
                min-height: 52px !important;
                border-radius: 50% !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            .footer-social a.instagram {
                background: linear-gradient(135deg, #a855f7, #ec4899) !important;
            }

            .footer-social a.facebook {
                background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
            }

            .footer-social a.youtube {
                background: linear-gradient(135deg, #ef4444, #dc2626) !important;
            }

            .footer-social a svg {
                width: 22px !important;
                height: 22px !important;
                display: block !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            .footer-social a svg * {
                stroke: white !important;
            }
        }

        .footer-map {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s ease;
        }

        .footer-map:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .footer-map i {
            color: #fbbf24;
        }

        .footer-divider {
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
            margin-bottom: 32px;
        }

        .footer-bottom {
            text-align: center;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            margin-bottom: 16px;
        }

        .footer-bottom p:last-child {
            color: rgba(255, 255, 255, 0.3);
            font-size: 12px;
            margin-bottom: 0;
        }
/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #fbbf24);
    border-radius: 4px;
}
