    /* ==================================================
           CHURCH IMAGES SECTION
        ================================================== */

        .church-images-section {
            --cis-primary: #f4c75b;
            --cis-secondary: #fff2bc;
            --cis-dark: #3a455a;
            --cis-overlay: rgba(8, 13, 24, 0.82);

            position: relative;
            padding: 30px 0;
            overflow: hidden;
            isolation: isolate;
            background-image: url('../images/bg2.jpg');
             background: #fff; 
            font-family: "Nunito", sans-serif;
        }

        /* Pattern graphics */
        .church-images-section::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -3;
            opacity: 0.45;
             

      
        }

        /* Decorative glow */
        .church-images-section::after {
            content: "";
            position: absolute;
            width: 650px;
            height: 650px;
            top: -320px;
            left: 50%;
            z-index: -2;
            border-radius: 50%;
            transform: translateX(-50%);
    
            animation: cisGlowPulse 6s ease-in-out infinite alternate;
        }

        .church-images-section .cis-decoration {
            position: absolute;
            z-index: -1;
            border: 1px solid rgba(244, 199, 91, 0.2);
            border-radius: 50%;
            pointer-events: none;
        }

        .church-images-section .cis-decoration-one {
            width: 210px;
            height: 210px;
            top: 55px;
            left: -85px;
            animation: cisFloat 7s ease-in-out infinite;
        }

        .church-images-section .cis-decoration-two {
            width: 290px;
            height: 290px;
            right: -130px;
            bottom: 60px;
            animation: cisFloat 9s ease-in-out infinite reverse;
        }

        /* Section heading */
        .church-images-section .cis-heading {
            max-width: 790px;
            margin: 0 auto 48px;
            text-align: center;
        }

        .church-images-section .cis-small-title {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 13px;
            color: var(--cis-primary);
            font-size: 0.8rem;
            font-weight: 800;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .church-images-section .cis-small-title::before,
        .church-images-section .cis-small-title::after {
            content: "";
            width: 35px;
            height: 1px;
            background: linear-gradient(
                90deg,
                transparent,
                var(--cis-primary)
            );
        }

        .church-images-section .cis-small-title::after {
            background: linear-gradient(
                90deg,
                var(--cis-primary),
                transparent
            );
        }

        .church-images-section .cis-main-title {
            margin-bottom: 16px;
            color: #ffffff;
            font-family: "Archivo Black", sans-serif;
            font-size: clamp(2rem, 4vw, 3.3rem);
            line-height: 1.15;
            text-transform: capitalize;
            text-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
        }

        .church-images-section .cis-main-title span {
            color: var(--cis-primary);
        }

        .church-images-section .cis-description {
            max-width: 680px;
            margin: 0 auto;
            color: rgba(255, 255, 255, 0.77);
            font-size: 1rem;
            line-height: 1.8;
        }

        /* Gallery card */
        .church-images-section .cis-gallery-card {
            position: relative;
            height: 100%;
            min-height: 430px;
            padding: 10px;
            overflow: hidden;
            border: 0px solid #979797;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.06);
            transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
            background: #ffffff;
            box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;

        }

        /* Second border */
        .church-images-section .cis-gallery-card::before {
            content: "";
            position: absolute;
            inset: 4px;
            z-index: 6;
            border: 0px solid rgba(255, 255, 255, 0.45);
            border-radius: 7px;
            pointer-events: none;
            transition: border-color 0.4s ease;
        }

        /* Glossy shine */
        .church-images-section .cis-gallery-card::after {
            content: "";
            position: absolute;
            top: -40%;
            left: -110%;
            z-index: 5;
            width: 62%;
            height: 180%;
            pointer-events: none;
            transform: rotate(18deg);
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.25),
                transparent
            );
            transition: left 0.85s ease;
        }

        .church-images-section .cis-gallery-card:hover {
            transform: translateY(-9px);
            border-color: var(--cis-secondary);
            box-shadow:
                0 28px 55px rgba(5, 10, 20, 0.44),
                0 0 24px rgba(244, 199, 91, 0.22);

        }

        .church-images-section .cis-gallery-card:hover::before {
            border-color: rgba(244, 199, 91, 0.76);
        }

        .church-images-section .cis-gallery-card:hover::after {
            left: 160%;
        }

        .church-images-section .cis-image-wrap {
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 414px;
            overflow: hidden;
            border-radius: 0px;
        }

        .church-images-section .cis-image-wrap img {
            width: 100%;
            height: 100%;
            min-height: 414px;
            object-fit: cover;
            transform: scale(1.01);
            transition:
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.6s ease;
        }

        .church-images-section .cis-gallery-card:hover img {
            transform: scale(1.1);
            filter: brightness(0.87) saturate(1.08);
        }

        /* Full image gradient */
        .church-images-section .cis-image-wrap::after {
            content: "";
            position: absolute;
            inset: 0;
            transition: background 0.5s ease;
        }

        .church-images-section .cis-gallery-card:hover .cis-image-wrap::after {
            background:
                linear-gradient(
                    180deg,
                    rgba(8, 13, 24, 0.09) 10%,
                    rgba(8, 13, 24, 0.46) 48%,
                    rgba(8, 13, 24, 0.94) 100%
                );
        }

        /* Corner borders */
        .church-images-section .cis-corner {
            position: absolute;
            z-index: 8;
            width: 28px;
            height: 28px;
            pointer-events: none;
            transition:
                width 0.4s ease,
                height 0.4s ease;
        }

        .church-images-section .cis-corner-top-left {
            top: 15px;
            left: 15px;
            border-top: 3px solid var(--cis-primary);
            border-left: 3px solid var(--cis-primary);
            border-radius: 3px 0 0;
        }

        .church-images-section .cis-corner-top-right {
            top: 15px;
            right: 15px;
            border-top: 3px solid var(--cis-primary);
            border-right: 3px solid var(--cis-primary);
            border-radius: 0 3px 0 0;
        }

        .church-images-section .cis-corner-bottom-left {
            bottom: 15px;
            left: 15px;
            border-bottom: 3px solid var(--cis-primary);
            border-left: 3px solid var(--cis-primary);
            border-radius: 0 0 0 3px;
        }

        .church-images-section .cis-corner-bottom-right {
            right: 15px;
            bottom: 15px;
            border-right: 3px solid var(--cis-primary);
            border-bottom: 3px solid var(--cis-primary);
            border-radius: 0 0 3px;
        }

        .church-images-section .cis-gallery-card:hover .cis-corner {
            width: 43px;
            height: 43px;
        }

        /* Category badge */
        .church-images-section .cis-photo-number {
            position: absolute;
            top: 24px;
            right: 24px;
            z-index: 7;
            display: grid;
            width: 42px;
            height: 42px;
            place-items: center;
            border: 1px solid rgba(244, 199, 91, 0.72);
            border-radius: 50%;
            color: #ffffff;
            background: rgba(8, 13, 24, 0.65);
            backdrop-filter: blur(8px);
            font-size: 0.75rem;
            font-weight: 800;
        }

        /* Equal vertical overlay */
        .church-images-section .cis-card-overlay {
            position: absolute;
            right: 16px;
            bottom: 16px;
            left: 16px;
            z-index: 7;
            display: flex;
 
            padding: 22px 20px;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 10px;
            background: linear-gradient(135deg, rgb(19 37 73 / 88%), rgba(25, 32, 47, 0.7));
            transition:
                bottom 0.45s ease,
                background 0.45s ease;
        }

        .church-images-section .cis-gallery-card:hover .cis-card-overlay {
            bottom: 21px;
            background:
                linear-gradient(
                    135deg,
                    rgba(8, 13, 24, 0.94),
                    rgba(25, 32, 47, 0.84)
                );
        }

        .church-images-section .cis-overlay-heading {
            width: 100%;
        }

        .church-images-section .cis-card-title {
            position: relative;
            margin: 0 0 12px;
            padding-bottom: 11px;
            color: #ffffff;
            font-size: 1.45rem;
            line-height: 1.35;
            font-weight: 700;
            text-transform: uppercase;
        }

        .church-images-section .cis-card-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 42px;
            height: 2px;
            border-radius: 5px;
            background: linear-gradient(
                90deg,
                var(--cis-primary),
                transparent
            );
            transition: width 0.4s ease;
        }

        .church-images-section .cis-gallery-card:hover .cis-card-title::after {
            width: 78px;
        }

        .church-images-section .cis-card-text {
            display: -webkit-box;
            min-height: 48px;
            margin: 0;
            overflow: hidden;
            color: #fff;
            font-size: 1.1rem;
            line-height: 1.65;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            font-weight: 700;
        }

        .church-images-section .cis-read-more {
            display: inline-flex;
            min-width: 126px;
            min-height: 42px;
            margin-top: 18px;
            padding: 10px 17px;
            align-items: center;
            justify-content: center;
            gap: 9px;
            overflow: hidden;
            border: 1px solid var(--cis-primary);
            border-radius: 7px;
            color: #1b2130;
            background: linear-gradient(
                135deg,
                #ffe59a,
                var(--cis-primary)
            );
            box-shadow: 0 8px 20px rgba(244, 199, 91, 0.19);
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.4px;
            text-decoration: none;
            text-transform: uppercase;
            transition:
                transform 0.35s ease,
                box-shadow 0.35s ease,
                background 0.35s ease;
        }

        .church-images-section .cis-read-more i {
            font-size: 0.72rem;
            transition: transform 0.35s ease;
        }

        .church-images-section .cis-read-more:hover {
            color: #ffffff;
            transform: translateY(-3px);
            background: rgba(244, 199, 91, 0.13);
            box-shadow: 0 10px 25px rgba(244, 199, 91, 0.27);
        }

        .church-images-section .cis-read-more:hover i {
            transform: translateX(4px);
        }

        /* View all button */
        .church-images-section .cis-all-photos-wrap {
            margin-top: 48px;
            text-align: center;
        }

        .church-images-section .cis-all-photos-btn {
            position: relative;
            display: inline-flex;
            min-height: 52px;
            padding: 12px 27px;
            overflow: hidden;
            align-items: center;
            justify-content: center;
            gap: 11px;
            border: 1px solid rgba(244, 199, 91, 0.9);
            border-radius: 10px;
            color: #ffffff;
            background: rgba(255, 255, 255, 0.07);
            box-shadow:
                0 12px 28px rgba(5, 10, 20, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(8px);
            font-size: 0.88rem;
            font-weight: 800;
            letter-spacing: 0.8px;
            text-decoration: none;
            text-transform: uppercase;
            transition:
                color 0.4s ease,
                transform 0.4s ease,
                box-shadow 0.4s ease;
        }

        .church-images-section .cis-all-photos-btn::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            transform: translateX(-102%);
            background: linear-gradient(
                135deg,
                #ffe59a,
                var(--cis-primary)
            );
            transition: transform 0.45s ease;
        }

        .church-images-section .cis-all-photos-btn:hover {
            color: #202638;
            transform: translateY(-4px);
            box-shadow: 0 16px 34px rgba(244, 199, 91, 0.22);
        }

        .church-images-section .cis-all-photos-btn:hover::before {
            transform: translateX(0);
        }

        /* Entry animation */
        .church-images-section .cis-gallery-column {
            opacity: 0;
            transform: translateY(35px);
            animation: cisCardReveal 0.8s ease forwards;
        }

        .church-images-section .cis-gallery-column:nth-child(1) {
            animation-delay: 0.05s;
        }

        .church-images-section .cis-gallery-column:nth-child(2) {
            animation-delay: 0.12s;
        }

        .church-images-section .cis-gallery-column:nth-child(3) {
            animation-delay: 0.19s;
        }

        .church-images-section .cis-gallery-column:nth-child(4) {
            animation-delay: 0.26s;
        }

        .church-images-section .cis-gallery-column:nth-child(5) {
            animation-delay: 0.33s;
        }

        .church-images-section .cis-gallery-column:nth-child(6) {
            animation-delay: 0.4s;
        }

        .church-images-section .cis-gallery-column:nth-child(7) {
            animation-delay: 0.47s;
        }

        .church-images-section .cis-gallery-column:nth-child(8) {
            animation-delay: 0.54s;
        }

        @keyframes cisCardReveal {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes cisGlowPulse {
            from {
                opacity: 0.65;
                transform: translateX(-50%) scale(0.94);
            }

            to {
                opacity: 1;
                transform: translateX(-50%) scale(1.08);
            }
        }

        @keyframes cisFloat {
            0%,
            100% {
                transform: translateY(0) rotate(0);
            }

            50% {
                transform: translateY(-20px) rotate(10deg);
            }
        }

        /* Responsive */
        @media (max-width: 1199.98px) {
            .church-images-section .cis-gallery-card {
                min-height: 410px;
            }

            .church-images-section .cis-image-wrap,
            .church-images-section .cis-image-wrap img {
                min-height: 394px;
            }

            .church-images-section .cis-card-overlay {
                min-height: 205px;
            }
        }

        @media (max-width: 991.98px) {
            .church-images-section {
                padding: 75px 0;
            }

            .church-images-section .cis-heading {
                margin-bottom: 38px;
            }

            .church-images-section .cis-gallery-card {
                min-height: 440px;
            }

            .church-images-section .cis-image-wrap,
            .church-images-section .cis-image-wrap img {
                min-height: 424px;
            }

            .church-images-section .cis-card-overlay {
                min-height: 195px;
            }
        }

        @media (max-width: 575.98px) {
            .church-images-section {
              padding: 15px 0;
            }

            .church-images-section .cis-main-title {
                font-size: 2rem;
            }

            .church-images-section .cis-description {
                font-size: 0.92rem;
                line-height: 1.7;
            }

            .church-images-section .cis-gallery-card {
                min-height: 420px;
            }

            .church-images-section .cis-image-wrap,
            .church-images-section .cis-image-wrap img {
                min-height: 404px;
            }

            .church-images-section .cis-card-overlay {
                right: 13px;
                bottom: 13px;
                left: 13px;
                min-height: 198px;
                padding: 20px 18px;
            }

            .church-images-section .cis-card-title {
                font-size: 1.5rem;
            }

            .church-images-section .cis-card-text {
                font-size: 1.2rem;
                line-height: 23px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .church-images-section *,
            .church-images-section *::before,
            .church-images-section *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

 