/* Call to Action Feature Section - Church Animation - FIXED FOR MOBILE */
        .cta-feature-section {
            background-color: #14100c;
            height: 100vh;
            width: 100%;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 0;
        }

        .cta-container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Left side - Animation */
        .animation-side {
            flex: 0 0 50%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .church-animation-container {
            width: 100%;
            max-width: 500px;
            position: relative;
            padding: 2rem;
        }

        .church-svg {
            width: 100%;
            height: auto;
            filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
            position: relative;
            z-index: 10;
        }

        /* Line drawing animation */
        .church-line {
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            animation: draw-line 1.5s ease forwards;
        }

        /* Different delays for each element to create sequential drawing */
        .cross-vertical { animation-delay: 0.1s; }
        .cross-horizontal { animation-delay: 0.3s; }
        .roof-left { animation-delay: 0.5s; }
        .roof-base { animation-delay: 0.7s; }
        .wall-left { animation-delay: 0.9s; }
        .wall-right { animation-delay: 1.1s; }
        .wall-bottom { animation-delay: 1.3s; }
        .door { animation-delay: 1.5s; }
        .door-handle { animation-delay: 1.7s; }
        .window-left { animation-delay: 1.9s; }
        .window-right { animation-delay: 2.1s; }
        .window-cross-left-vert { animation-delay: 2.3s; }
        .window-cross-left-horiz { animation-delay: 2.4s; }
        .window-cross-right-vert { animation-delay: 2.5s; }
        .window-cross-right-horiz { animation-delay: 2.6s; }
        .steeple-left { animation-delay: 2.7s; }
        .steeple-right { animation-delay: 2.8s; }
        .steeple-top { animation-delay: 2.9s; }
        .ground { animation-delay: 3.0s; }

        @keyframes draw-line {
            to {
                stroke-dashoffset: 0;
            }
        }

        /* Light rays animation */
        .light-rays line {
            animation: pulse-light 2s ease-in-out infinite;
            transform-origin: 200px 50px;
        }

        .light-rays line:nth-child(1) { animation-delay: 0s; }
        .light-rays line:nth-child(2) { animation-delay: 0.3s; }
        .light-rays line:nth-child(3) { animation-delay: 0.6s; }

        @keyframes pulse-light {
            0%, 100% {
                opacity: 0.1;
                stroke-width: 1;
            }
            50% {
                opacity: 0.5;
                stroke-width: 2;
            }
        }

        /* Church particles - floating around the building */
        .church-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 5;
        }

        .church-particles .particle {
            position: absolute;
            background: rgba(212, 175, 55, 0.2);
            border-radius: 50%;
            animation: float-particle 8s linear infinite;
        }

        .church-particles .particle:nth-child(1) {
            width: 6px;
            height: 6px;
            top: 20%;
            left: 30%;
            animation-duration: 7s;
            animation-delay: 0s;
        }

        .church-particles .particle:nth-child(2) {
            width: 10px;
            height: 10px;
            top: 40%;
            right: 30%;
            animation-duration: 9s;
            animation-delay: 1s;
        }

        .church-particles .particle:nth-child(3) {
            width: 8px;
            height: 8px;
            bottom: 30%;
            left: 40%;
            animation-duration: 8s;
            animation-delay: 2s;
        }

        .church-particles .particle:nth-child(4) {
            width: 12px;
            height: 12px;
            top: 60%;
            right: 40%;
            animation-duration: 10s;
            animation-delay: 0.5s;
        }

        .church-particles .particle:nth-child(5) {
            width: 5px;
            height: 5px;
            bottom: 40%;
            left: 20%;
            animation-duration: 6s;
            animation-delay: 1.5s;
        }

        .church-particles .particle:nth-child(6) {
            width: 7px;
            height: 7px;
            top: 70%;
            right: 20%;
            animation-duration: 8.5s;
            animation-delay: 2.5s;
        }

        @keyframes float-particle {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.5;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100px) translateX(50px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Right side - Content */
        .content-side {
            flex: 0 0 50%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .cta-content {
            max-width: 600px;
            text-align: left;
            animation: fadeInRight 1.5s ease;
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .cta-heading {
            font-size: 3.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
            animation: glow 3s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% {
                text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
            }
            50% {
                text-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
            }
        }

        .cta-subheading {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2.5rem;
            letter-spacing: 0.5px;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .cta-buttons .btn-gold {
            background-color: var(--imbila-gold);
            border-color: var(--imbila-gold);
            color: #14100c;
            font-weight: 600;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .cta-buttons .btn-gold:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
            background-color: #e6c04c;
        }

        .cta-buttons .btn-outline-gold {
            border-color: var(--imbila-gold);
            color: white;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            background: transparent;
        }

        .cta-buttons .btn-outline-gold:hover {
            background-color: var(--imbila-gold);
            color: #14100c;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
        }

        /* Animation replay on scroll (optional) */
        .cta-feature-section.in-view .church-line {
            animation: draw-line 1.5s ease forwards;
        }

        /* Add a subtle pulsing glow to the completed church */
        .church-svg.completed {
            filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
            animation: church-glow 3s ease-in-out infinite;
        }

        @keyframes church-glow {
            0%, 100% {
                filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
            }
            50% {
                filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
            }
        }

        /* Glow effect when church is complete */
        .church-svg.completed {
            filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
            animation: church-pulse 2s ease-in-out;
        }

        @keyframes church-pulse {
            0%, 100% {
                filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
            }
            50% {
                filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.7));
            }
        }

        /* Tablet Fix */
        @media (max-width: 992px) {
            .cta-feature-section {
                height: auto;
                min-height: 100vh;
            }
            
            .cta-container {
                flex-direction: column;
                padding: 3rem 1rem;
            }
            
            .animation-side, 
            .content-side {
                flex: 0 0 100%;
                width: 100%;
                height: auto;
                min-height: 50vh;
            }
            
            .animation-side {
                min-height: 400px;
            }
            
            .church-animation-container {
                max-width: 400px;
                padding: 1rem;
            }
            
            .cta-heading {
                font-size: 2.8rem;
                text-align: center;
            }
            
            .cta-content {
                text-align: center;
                padding: 2rem 1rem;
            }
            
            .cta-buttons {
                justify-content: center;
            }
        }

        /* Mobile Fix - Critical changes here */
        @media (max-width: 768px) {
            .cta-feature-section {
                height: auto;
                min-height: auto;
                overflow: visible;
            }
            
            .cta-container {
                flex-direction: column;
                height: auto;
                padding: 2rem 1rem;
                overflow: visible;
            }
            
            .animation-side {
                flex: 0 0 100%;
                width: 100%;
                height: auto;
                min-height: 300px;
                overflow: visible;
                padding: 1rem 0;
            }
            
            .content-side {
                flex: 0 0 100%;
                width: 100%;
                height: auto;
                padding: 1rem 0;
                overflow: visible;
            }
            
            .church-animation-container {
                max-width: 300px;
                margin: 0 auto;
                padding: 0.5rem;
                overflow: visible;
            }
            
            .church-svg {
                width: 100%;
                height: auto;
                max-height: 280px;
                object-fit: contain;
            }
            
            .church-svg svg {
                width: 100%;
                height: 100%;
                overflow: visible;
            }
            
            .cta-heading {
                font-size: 2.2rem;
                line-height: 1.3;
                margin-bottom: 1rem;
            }
            
            .cta-subheading {
                font-size: 1.1rem;
                margin-bottom: 2rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }
            
            .cta-buttons .btn {
                width: 100%;
                max-width: 280px;
                margin: 0 auto;
            }
            
            .church-particles {
                overflow: hidden;
                pointer-events: none;
            }
            
            .church-particles .particle {
                animation: float-particle-mobile 8s linear infinite;
            }
            
            @keyframes float-particle-mobile {
                0% {
                    transform: translateY(0) translateX(0) rotate(0deg);
                    opacity: 0;
                }
                10% {
                    opacity: 0.3;
                }
                90% {
                    opacity: 0.2;
                }
                100% {
                    transform: translateY(-50px) translateX(30px) rotate(360deg);
                    opacity: 0;
                }
            }
        }

        /* Small mobile devices */
        @media (max-width: 480px) {
            .animation-side {
                min-height: 250px;
            }
            
            .church-animation-container {
                max-width: 250px;
            }
            
            .church-svg {
                max-height: 220px;
            }
            
            .cta-heading {
                font-size: 1.8rem;
            }
            
            .cta-subheading {
                font-size: 1rem;
            }
        }