        /* ===================================
           CSS VARIABLES - COLOR PALETTE
        =================================== */
        :root {
            --primary-gold: #D4AF37;
            --deep-burgundy: #5C1A1A;
            --warm-cream: #FFF8E7;
            --soft-beige: #E8DCC4;
            --dark-brown: #3A2A1A;
            --light-gold: #F4E4B8;
            --accent-rust: #B85C3E;
        }

        /* ===================================
           RESET & BASE STYLES
        =================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Raleway', sans-serif;
            background: var(--warm-cream);
            color: var(--dark-brown);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* ===================================
           BACKGROUND DECORATIVE ELEMENTS
        =================================== */
        .bg-pattern {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.04;
            pointer-events: none;
            background-image: 
                repeating-linear-gradient(45deg, transparent, transparent 35px, var(--primary-gold) 35px, var(--primary-gold) 36px),
                repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--primary-gold) 35px, var(--primary-gold) 36px);
            z-index: -1;
            animation: patternShift 20s ease-in-out infinite;
        }

        @keyframes patternShift {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(10px, 10px); }
        }

        /* Floating particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--primary-gold);
            border-radius: 50%;
            opacity: 0.3;
            animation: float 15s infinite ease-in-out;
        }

        .particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
        .particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
        .particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
        .particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
        .particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 15s; }
        .particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
        .particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 11s; }
        .particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 14s; }
        .particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 16s; }
        .particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 12s; }

        @keyframes float {
            0% { transform: translateY(100vh) scale(0); opacity: 0; }
            10% { opacity: 0.3; }
            90% { opacity: 0.3; }
            100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
        }

        /* ===================================
           NAVIGATION BAR
        =================================== */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(92, 26, 26, 0.85);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            padding: 1.2rem 5%;
            z-index: 1000;
            box-shadow: 0 8px 32px rgba(92, 26, 26, 0.2);
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            animation: slideDown 0.8s ease-out;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        nav.scrolled {
            padding: 0.8rem 5%;
            background: rgba(92, 26, 26, 0.95);
            box-shadow: 0 10px 40px rgba(92, 26, 26, 0.3);
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        nav .container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        nav .logo {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-gold);
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: transform 0.3s ease;
        }

        nav .logo:hover {
            transform: scale(1.05);
        }

        nav .logo::before {
            content: '✟';
            font-size: 1.5rem;
            color: var(--light-gold);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        nav ul li a {
            color: var(--light-gold);
            text-decoration: none;
            font-weight: 400;
            font-size: 1rem;
            letter-spacing: 0.5px;
            position: relative;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary-gold);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        nav ul li a:hover {
            color: var(--primary-gold);
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        /* Mobile menu toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--primary-gold);
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        /* ===================================
           HERO SECTION
        =================================== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(135deg, rgba(92, 26, 26, 0.75) 0%, rgba(58, 42, 26, 0.7) 100%),
            url('images/worship.jpeg');

            background-size: cover;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            padding: 2rem;
            transition: transform 0.1s ease-out;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
            animation: glow 8s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .hero-content {
            position: relative;
            z-index: 10;
            max-width: 900px;
            animation: fadeInUp 1.2s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h1 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 4.5rem;
            font-weight: 700;
            color: var(--primary-gold);
            margin-bottom: 1rem;
            line-height: 1.2;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            letter-spacing: 2px;
        }

        .hero .subtitle {
            font-size: 1.5rem;
            color: var(--light-gold);
            margin-bottom: 1rem;
            font-weight: 300;
            letter-spacing: 1px;
        }

        .hero .mission {
            font-size: 1.2rem;
            color: var(--soft-beige);
            margin-bottom: 3rem;
            line-height: 1.8;
            font-style: italic;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 3rem;
            background: var(--primary-gold);
            color: var(--deep-burgundy);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            border-radius: 50px;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
            position: relative;
            overflow: hidden;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.5s ease, height 0.5s ease;
        }

        .cta-button:hover::before {
            width: 300px;
            height: 300px;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
        }

        /* ===================================
           SECTION GENERAL STYLES
        =================================== */
        section {
            padding: 5rem 5%;
            position: relative;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 3rem;
            color: var(--deep-burgundy);
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
        }

        /* Fade-in animation for sections */
        .fade-in-section {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-section.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===================================
           ABOUT SECTION
        =================================== */
        .about {
            background: linear-gradient(135deg, var(--soft-beige) 0%, var(--warm-cream) 100%);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            color: var(--deep-burgundy);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: var(--dark-brown);
        }

        .about-values {
            background: white;
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(92, 26, 26, 0.1);
            border: 1px solid rgba(212, 175, 55, 0.2);
        }

        .value-item {
            margin-bottom: 2rem;
        }

        .value-item:last-child {
            margin-bottom: 0;
        }

        .value-item h4 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            color: var(--accent-rust);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .value-item h4::before {
            content: '✟';
            color: var(--primary-gold);
        }

        .value-item p {
            color: var(--dark-brown);
            line-height: 1.6;
        }

        /* ===================================
           SERVICE TIMES SECTION
        =================================== */
        .services {
            background: var(--warm-cream);
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
        }

        .service-card {
            background: white;
            padding: 2.5rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(92, 26, 26, 0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 50px rgba(212, 175, 55, 0.2);
            border-color: var(--primary-gold);
        }

            .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--primary-gold);
        }

        .service-icon svg {
            width: 80px;
            height: 60px;
            stroke: var(--primary-gold);
        }

        .service-card h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.8rem;
            color: var(--deep-burgundy);
            margin-bottom: 1rem;
        }

        .service-card .time {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-gold);
            margin-bottom: 1rem;
        }

        .service-card p {
            color: var(--dark-brown);
            line-height: 1.6;
        }

        /* ===================================
           MINISTRIES SECTION
        =================================== */
        .ministries {
            background: linear-gradient(135deg, var(--soft-beige) 0%, var(--light-gold) 100%);
        }

        .ministry-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .ministry-item {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            border-left: 4px solid var(--primary-gold);
            box-shadow: 0 5px 20px rgba(92, 26, 26, 0.08);
            transition: all 0.3s ease;
        }

        .ministry-item:hover {
            transform: translateX(10px);
            box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
            border-left-width: 8px;
        }

        .ministry-item h4 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            color: var(--deep-burgundy);
            margin-bottom: 0.8rem;
        }

        .ministry-item p {
            color: var(--dark-brown);
            line-height: 1.6;
        }

        /* ===================================
            Leadership & Family Cards 
          ===================================
        */
        .leadership-container {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
            margin-bottom: 60px;
        }

        .family-card {
            background: white;
            padding: 15px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            max-width: 450px;
            transition: transform 0.3s ease;
        }

        .family-card:hover {
            transform: translateY(-10px);
        }

        .family-img {
            width: 100%;
            height: 550px; /* Portrait photo nisa height eka wediyen damma */
            overflow: hidden;
            border-radius: 15px;
        }

        .family-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .family-info {
            padding: 20px 10px;
            text-align: center;
        }

        .family-info h3 {
            color: var(--deep-burgundy);
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        /* Credentials Grid */
        .credentials-section {
            padding: 40px 0;
            border-top: 1px solid var(--soft-beige);
        }

        .sub-heading {
            text-align: center;
            font-family: 'Raleway', sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 30px;
            color: var(--dark-brown);
        }

        .cert-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 30px;
        }

        .cert-item {
            text-align: center;
            cursor: pointer;
        }

        .cert-frame {
            background: white;
            padding: 8px;
            border: 1px solid var(--soft-beige);
            border-bottom: 4px solid var(--primary-gold);
            box-shadow: 0 8px 15px rgba(0,0,0,0.05);
            margin-bottom: 10px;
        }

        .cert-frame img {
            width: 100%;
            height: 250px;
            object-fit: contain;
        }

        /* Modal / Lightbox CSS */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            padding: 40px;
        }

        .modal-content {
            max-width: 90%;
            max-height: 90%;
            margin: auto;
            display: block;
            border: 5px solid white;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 35px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }

                /* ===================================
            21-DAY PRAYER SECTION - SIMPLE STYLE
            =================================== */
            .prayer-section {
                background: var(--soft-beige);
            }

            .prayer-wrapper {
                display: grid;
                grid-template-columns: 1fr 1.5fr;
                gap: 3rem;
                align-items: center;
                max-width: 1000px;
                margin: 0 auto;
            }

            .prayer-image {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .prayer-image svg {
                color: var(--deep-burgundy);
                opacity: 0.8;
            }

            .prayer-info h3 {
                font-family: 'Cormorant Garamond', serif;
                font-size: 2.2rem;
                color: var(--deep-burgundy);
                margin-bottom: 1rem;
            }

            .prayer-info p {
                color: var(--dark-brown);
                font-size: 1.1rem;
                line-height: 1.7;
                margin-bottom: 2rem;
            }

            .prayer-features {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
                margin-bottom: 2rem;
            }

            .feature {
                background: white;
                padding: 1rem;
                border-radius: 10px;
                display: flex;
                align-items: center;
                gap: 0.75rem;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
                transition: transform 0.3s ease;
            }

            .feature:hover {
                transform: translateY(-3px);
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            }

            .feature .icon {
                font-size: 1.5rem;
            }

            .feature span:last-child {
                color: var(--dark-brown);
                font-weight: 500;
            }

            .join-button {
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                background: #25D366;
                color: white;
                padding: 1rem 2rem;
                border-radius: 8px;
                text-decoration: none;
                font-weight: 600;
                font-size: 1.1rem;
                transition: all 0.3s ease;
                box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
            }

            .join-button:hover {
                background: #1EBE57;
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
            }

            .small-text {
                margin-top: 1rem;
                font-size: 0.9rem;
                color: var(--dark-brown);
                opacity: 0.7;
            }

            /* Responsive */
            @media (max-width: 768px) {
                .prayer-wrapper {
                    grid-template-columns: 1fr;
                    text-align: center;
                }
                
                .prayer-features {
                    grid-template-columns: 1fr;
                }
                
                .prayer-image svg {
                    width: 150px;
                    height: 150px;
                }
            }

        /* Alternative: Bible Verse Display */
        .verse-display {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            padding: 3rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }

        .verse-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            line-height: 1.8;
            color: var(--light-gold);
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .verse-reference {
            font-size: 1.2rem;
            color: var(--primary-gold);
            font-weight: 600;
        }

        /* ===================================
           CONTACT SECTION
        =================================== */
        .contact {
            background: var(--soft-beige);
        }

        .contact-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        .contact-grid {
            display: grid;
            gap: 2rem;
        }

        .contact-info {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(92, 26, 26, 0.08);
            border-left: 4px solid var(--primary-gold);
            display: flex;
            flex-direction: column;
        }

        .contact-info h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.8rem;
            color: var(--deep-burgundy);
            margin-bottom: 1rem;
        }

        .contact-info p {
            color: var(--dark-brown);
            line-height: 1.8;
            margin-bottom: 0.5rem;
        }

        .contact-info a {
            color: var(--accent-rust);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-info a:hover {
            color:rgb(255, 255, 255);
        }

        /* Social Links Styling */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 140px;  
    width: auto;
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link.facebook {
    background: #1877F2;
    color: white;
}

.social-link.facebook:hover {
    background: #145DBF;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3);
}

.social-link.whatsapp {
    background: #25D366;
    color: white;
}

.social-link.whatsapp:hover {
    background: #1EBE57;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link span {
    font-size: 0.95rem;
}
/* Responsive for mobile*/
@media (max-width: 640px) {
    .contact-wrapper {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }

    .contact-info {
        padding: 1.5rem; 
        margin-bottom: 1rem;
    }

    .social-links {
        display: flex;
        flex-direction: row; /* පැත්තට තියාගන්න */
        flex-wrap: wrap; 
        justify-content: center; /* මැදට ගන්න */
        gap: 10px;
        margin-top: 1.5rem;
        margin-bottom: 10px; /* යට බෝඩර් එකේ ගෑවෙන එක නවත්තන්න */
    }

    .social-link {
        flex: 1; 
        min-width: 120px; 
        padding: 0.6rem 1rem;
        font-size: 0.85rem; 
        justify-content: center;
    }
}

        .map-container {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(92, 26, 26, 0.08);
            height: 100%;
            min-height: 400px;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
            min-height: 400px;
        }

        .map-placeholder {
            width: 100%;
            height: 100%;
            min-height: 400px;
            background: linear-gradient(135deg, var(--soft-beige) 0%, var(--light-gold) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 1rem;
            padding: 2rem;
            text-align: center;
        }

        .map-placeholder::before {
            content: '📍';
            font-size: 4rem;
        }

        .map-placeholder p {
            color: var(--dark-brown);
            font-size: 1.1rem;
        }

        /* ===================================
           FOOTER
        =================================== */
        footer {
            background: var(--deep-burgundy);
            color: var(--light-gold);
            text-align: center;
            padding: 2rem 5%;
            border-top: 3px solid var(--primary-gold);
        }

        footer p {
            margin: 0.5rem 0;
            font-size: 0.95rem;
        }

        /* ===================================
           RESPONSIVE DESIGN
        =================================== */
        @media (max-width: 968px) {
            .hero h1 {
                font-size: 3rem;
            }

            .hero .subtitle {
                font-size: 1.2rem;
            }

            .hero .mission {
                font-size: 1rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .pastor-card {
                grid-template-columns: 1fr;
            }

            .pastor-image {
                padding: 2rem;
            }

            .contact-wrapper {
                grid-template-columns: 1fr;
            }

            nav ul {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: rgba(92, 26, 26, 0.98);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 2rem;
                transition: left 0.3s ease;
            }

            nav ul.active {
                left: 0;
            }

            .menu-toggle {
                display: flex;
            }

            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(8px, 8px);
            }

            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(6px, -6px);
            }
        }

        @media (max-width: 640px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            section {
                padding: 3rem 5%;
            }

            .service-grid,
            .ministry-grid,
            .testimony-grid {
                grid-template-columns: 1fr;
            }

            .verse-text {
                font-size: 1.5rem;
            }
        }

      /* ===================================
   MOBILE RESPONSIVE FIXES (iPhone SE)
   =================================== */

@media (max-width: 768px) {
    .contact-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
    }

    .contact-info, .map-container {
        width: 100% !important;
    }

    
    .map-placeholder {
        display: none !important;
    }

    .map-container iframe {
        height: 300px !important;
        border-radius: 15px;
    }
}


@media (max-width: 480px) {
    .section-title {
        font-size: 2rem !important; 
    }
    
    .contact-info {
        padding: 0 10px;
    }
}

    @media (max-width: 768px) {
        .hero {
            
            background-attachment: scroll !important; 
            background-position: center center !important; 
            background-size: cover !important;
            height: 60vh !important; 
        }
    }
      /* ===================================
          Certificates Shadow Up 
        =================================== */
            .cert-frame {
        background: #fff;
        padding: 10px;
        border: 1px solid #eee;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* ලස්සනට සෙවනැල්ල වැටෙන්න */
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .cert-frame:hover {
        transform: scale(1.03); /* Mouse එක ගෙනිච්චම පොඩ්ඩක් ලොකු වෙන්න */
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);

    }

