
        :root {
            --primary: #22043c;
            --accent: #ba9241;
            --light: #ffffff;
            --text: #f5f5f5;
            --dark-text: #1a1a1a;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
        }

        body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: #0f0818;
            color: var(--text);
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* Loader – center on all screens */
        #page-loader {
            position: fixed;
            width: 100vw;
            height: 100dvh;
            top: 0;
            left: 0;
            background: radial-gradient(circle at top, #3b1b63 0%, #0b020f 55%, #000 100%);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: all; /* keep pointer events so loader catches scroll/interaction */
            transition: opacity 0.35s ease;
        }


        .loader-logo-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            width: 100%;
            pointer-events: none;
        }



        .loader-logo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            background: rgba(0,0,0,0.35);
        }

        .loader-logo::before {
            content: "";
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: var(--accent);
            border-right-color: rgba(186,146,65,0.5);
            animation: spin 1s linear infinite;
        }

        .loader-logo img {
            position: relative;
            width: 54px;
            height: auto;
        }

        .loader-text {
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.75);
            text-align: center;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }


        /* Scripture clouds video section */
        .clouds-video-section {
            position: relative;
            background: #05010a;
            padding: 1.8rem 0 0;
            overflow: hidden;
        }

        .clouds-video-wrapper {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 18px 40px rgba(0,0,0,0.7);
        }


        /* --- Video --- */
        .clouds-video-wrapper video {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }


        /* --- GLOBAL gradient over entire video (soft) --- */
        .clouds-video-wrapper::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(
                180deg,
                rgba(0,0,0,0.10) 0%,
                rgba(0,0,0,0.20) 45%,
                rgba(0,0,0,0.35) 100%
            );
            pointer-events: none;
            z-index: 1;
        }


        /* --- DARK TEXT AREA (bottom 40% only) — the magic fix --- */
        .clouds-video-wrapper::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 40%; /* covers only lower part */
            background: linear-gradient(
                to bottom,
                rgba(0,0,0,0) 0%,
                rgba(0,0,0,0.45) 40%,
                rgba(0,0,0,0.75) 100%
            );
            pointer-events: none;
            z-index: 2;
        }


        /* --- TEXT OVERLAY --- */
        .clouds-verse-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding: 2rem 1.6rem;
            text-align: center;
            pointer-events: none;
            z-index: 3; /* above both overlays */
        }

        .clouds-verse-inner {
            max-width: 720px;
        }


        /* --- FOREGROUND TEXT --- */
        .clouds-verse-ref {
            font-size: 0.85rem;
            letter-spacing: 0.20em;
            text-transform: uppercase;
            font-weight: 600;
            color: #ffffff !important;
            margin-bottom: 0.5rem;
            text-shadow: 0 3px 6px rgba(0,0,0,0.9);
        }

        .clouds-verse-text {
            font-size: 1rem;
            line-height: 1.8;
            font-weight: 500;
            color: #ffffff !important;
            text-shadow: 0 3px 6px rgba(0,0,0,0.95);
        }


        /* --- MOBILE FIXES --- */
        @media (max-width: 767.98px) {

            .clouds-video-section {
                padding-top: 1.4rem;
            }

            .clouds-video-wrapper {
                border-radius: 0;
                box-shadow: none;
            }

            /* Make bottom mask a bit darker on bright phone screens */
            .clouds-video-wrapper::before {
                height: 45%;
                background: linear-gradient(
                    to bottom,
                    rgba(0,0,0,0.10) 0%,
                    rgba(0,0,0,0.55) 40%,
                    rgba(0,0,0,0.85) 100%
                );
            }

            .clouds-verse-overlay {
                align-items: center;
                padding: 1.4rem 1.2rem;
            }

            .clouds-verse-text {
                font-size: 0.95rem;
            }
        }



        /* Layout */
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 3, 22, 0.96);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0.75rem 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .brand-logo-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(0,0,0,0.35);
            border: 1px solid rgba(255,255,255,0.18);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .brand-logo-img img {
            width: 32px;
            height: auto;
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }

        .brand-text span:first-child {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: rgba(255,255,255,0.7);
        }

        .brand-text span:last-child {
            font-size: 0.9rem;
            font-weight: 600;
        }

        .nav-links {
            display: none;
            align-items: center;
            gap: 1.8rem;
            font-size: 0.9rem;
        }

        .nav-links a {
            position: relative;
            padding-bottom: 0.25rem;
            color: rgba(255,255,255,0.82);
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent), #f7e4b7);
            transition: width 0.25s ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .cta-give {
            padding: 0.55rem 1rem;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--accent), #e2c27a);
            color: #22043c;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.13em;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            box-shadow: 0 8px 20px rgba(186,146,65,0.38);
        }

        .cta-give i {
            font-size: 0.85rem;
        }

        .nav-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(15,8,30,0.9);
            color: #ffffff;
            cursor: pointer;
        }

        /* Mobile nav */
        .nav-drawer {
            display: none;
            background: #12061f;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

        .nav-drawer-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0.5rem 1rem 0.9rem;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .nav-drawer a {
            padding: 0.4rem 0;
            font-size: 0.95rem;
            color: rgba(255,255,255,0.88);
        }


        .drawer-cta {
            margin-top: 0.8rem;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.65rem 1rem;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--accent), #f7e4b7);
            color: #22043c !important;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            box-shadow: 0 6px 18px rgba(186,146,65,0.45);
        }


        /* Promo video – full page width */
        .promo-video-section {
            background: #0b020f;
            padding: 1.2rem 0 2.5rem;  /* FIX: adds gap below video */
        }

        .promo-video-wrapper {
            width: 100%;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 18px 40px rgba(0,0,0,0.7);
        }

        .promo-video-wrapper video {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 18px;
            background-color: #000;
            object-fit: contain;
        }

        @media (min-width: 992px) {
            .promo-video-section {
                padding-top: 1.6rem;
            }
            .promo-video-wrapper {
                max-width: 1200px;
                margin: 0 auto;
            }
        }

        @media (max-width: 991.98px) {
            .promo-video-wrapper {
                border-radius: 0;
                box-shadow: none;
            }
            .promo-video-wrapper video {
                border-radius: 0;
            }
        }

        /* Hero */
        .hero {
            position: relative;
            overflow: hidden;
            background: radial-gradient(circle at top, #3d1b68 0%, #22043c 35%, #050109 95%);
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 20% 0%, rgba(186,146,65,0.18) 0, transparent 55%),
                radial-gradient(circle at 80% 100%, rgba(255,255,255,0.06) 0, transparent 50%);
            mix-blend-mode: screen;
            opacity: 0.9;
        }

        .hero-inner {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 3.5rem 1.2rem 3.5rem;
            display: grid;
            gap: 2.5rem;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.25rem 0.8rem;
            border-radius: 999px;
            background: rgba(0,0,0,0.32);
            border: 1px solid rgba(255,255,255,0.15);
            font-size: 0.72rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.7);
        }

        .hero-badge span {
            width: 18px;
            height: 18px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at 20% 0, #f7e4b7 0, #ba9241 50%, #5e3a9b 100%);
            color: #22043c;
        }

        .hero-title {
            margin-top: 1.1rem;
            font-size: clamp(1.9rem, 5vw, 2.6rem);
            line-height: 1.1;
        }

        .hero-title span {
            background: linear-gradient(120deg, #f7e4b7, #e7c983, #ba9241);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-subtitle {
            margin-top: 0.9rem;
            font-size: 0.97rem;
            max-width: 30rem;
            color: rgba(255,255,255,0.78);
        }

        .hero-actions {
            margin-top: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.9rem;
            flex-wrap: wrap;
        }

        .btn-primary {
            padding: 0.7rem 1.3rem;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            background: linear-gradient(135deg, var(--accent), #f7e4b7);
            color: #22043c;
            font-size: 0.9rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            box-shadow: 0 12px 26px rgba(186,146,65,0.42);
        }

        .btn-ghost {
            padding: 0.7rem 1.2rem;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.35);
            background: transparent;
            color: rgba(255,255,255,0.9);
            font-size: 0.9rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
        }

        .hero-meta {
            margin-top: 1.5rem;
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.6);
        }

        .hero-meta-item {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .hero-meta-item i {
            color: var(--accent);
        }

        .hero-right {
            position: relative;
            min-height: 230px;
        }

        .hero-card {
            position: absolute;
            inset: 0;
            margin: auto;
            max-width: 440px;
            padding: 1.1rem 1rem;
            border-radius: 1.4rem;
            background: radial-gradient(circle at top, rgba(247,228,183,0.16) 0, rgba(16,5,34,0.98) 50%, rgba(6,2,12,1) 100%);
            border: 1px solid rgba(255,255,255,0.06);
            box-shadow: 0 18px 60px rgba(0,0,0,0.75);
        }

        .hero-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.7rem;
        }

        .hero-card-header span {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.75);
            text-transform: uppercase;
            letter-spacing: 0.16em;
        }

        .hero-card-badge {
            padding: 0.15rem 0.6rem;
            border-radius: 999px;
            background: rgba(186,146,65,0.15);
            color: #f7e4b7;
            font-size: 0.7rem;
        }

        .hero-card-body h3 {
            font-size: 1.05rem;
            margin-bottom: 0.2rem;
        }

        .hero-card-body p {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.72);
        }

        .hero-card-footer {
            margin-top: 0.8rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.78rem;
        }

        .hero-card-footer span strong {
            color: #f7e4b7;
        }

        /* Sections generic */
        section {
            padding: 3rem 1.2rem;
        }

        .section-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-heading {
            text-align: center;
            margin-bottom: 2rem;
        }

        .section-kicker {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: rgba(255,255,255,0.6);
        }

        .section-title {
            font-size: 1.4rem;
            margin-top: 0.4rem;
        }

        .section-title span {
            color: var(--accent);
        }

        .section-subtitle {
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: rgba(255,255,255,0.75);
            max-width: 32rem;
            margin-left: auto;
            margin-right: auto;
        }

        /* About preview */
        .about-grid {
            display: grid;
            gap: 1.8rem;
            margin-top: 1.2rem;
        }

        .about-card {
            padding: 1.3rem 1.2rem;
            border-radius: 1.2rem;
            background: linear-gradient(145deg, rgba(19,6,35,0.95), #07020c);
            border: 1px solid rgba(255,255,255,0.06);
        }

        .about-card h3 {
            font-size: 1rem;
            margin-bottom: 0.4rem;
        }

        .about-card p {
            font-size: 0.86rem;
            color: rgba(255,255,255,0.8);
        }

        .about-meta {
            display: flex;
            gap: 1.5rem;
            margin-top: 1rem;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.7);
        }

        .about-meta span strong {
            display: block;
            font-size: 0.95rem;
            color: #f7e4b7;
        }

        /* Gallery preview */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.8rem;
            margin-top: 1.2rem;
        }

        .gallery-tile {
            position: relative;
            border-radius: 0.9rem;
            overflow: hidden;
            background: linear-gradient(135deg, #281042, #160627);
            aspect-ratio: 4 / 3;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.9);
            font-size: 0.8rem;
        }

        .gallery-tile::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top, rgba(186,146,65,0.28), transparent 60%);
            mix-blend-mode: screen;
        }

        .gallery-tile span {
            position: relative;
        }

        /* Contact preview */
        .contact-grid {
            display: grid;
            gap: 1.5rem;
            margin-top: 1.4rem;
        }

        .contact-info {
            display: grid;
            gap: 0.7rem;
            font-size: 0.86rem;
        }

        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
        }

        .contact-info-item i {
            margin-top: 0.15rem;
            color: var(--accent);
        }

        .contact-mini-form {
            display: grid;
            gap: 0.7rem;
        }

        .field {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .field label {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.8);
        }

        .field input,
        .field textarea {
            background: rgba(6,2,12,0.95);
            border-radius: 0.7rem;
            border: 1px solid rgba(255,255,255,0.1);
            padding: 0.6rem 0.7rem;
            font-size: 0.86rem;
            color: var(--text);
            outline: none;
        }

        .field input:focus,
        .field textarea:focus {
            border-color: rgba(186,146,65,0.9);
            box-shadow: 0 0 0 1px rgba(186,146,65,0.45);
        }

        .field textarea {
            min-height: 80px;
            resize: vertical;
        }

        .btn-small {
            padding: 0.55rem 1rem;
            border-radius: 999px;
            border: none;
            background: linear-gradient(135deg, var(--accent), #f7e4b7);
            color: #22043c;
            font-size: 0.82rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            cursor: pointer;
            justify-self: flex-start;
        }



        .contact-map-wrapper {
  margin-top: 1.2rem;
}

/* Desktop/tablet */
.contact-map {
  position: relative;
  max-width: 520px;      /* was ~420px – increase width */
  width: 100%;
  padding-bottom: 60%;   /* keeps similar height ratio */
  height: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile: keep full width, same visual height */
@media (max-width: 768px) {
  .contact-map {
    max-width: 100%;
    padding-bottom: 65%;
  }
}


        /* Footer */
        footer {
            background: #07020c;
            border-top: 1px solid rgba(255,255,255,0.06);
        }

        .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
            padding: 2.5rem 1.2rem 1.2rem;
        }

        .footer-grid {
            display: grid;
            gap: 1.8rem;
        }

        .footer-logo-block .footer-logo-img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(0,0,0,0.35);
            border: 1px solid rgba(255,255,255,0.16);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin-bottom: 0.6rem;
        }

        .footer-logo-block .footer-logo-img img {
            width: 34px;
            height: auto;
        }

        .footer-logo-block h4 {
            font-size: 0.95rem;
            margin-bottom: 0.35rem;
        }

        .footer-logo-block p {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.7);
        }

        .footer-title {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .footer-links {
            display: grid;
            gap: 0.25rem;
            font-size: 0.84rem;
        }

        .footer-links a {
            color: rgba(255,255,255,0.78);
        }

        .footer-social {
            display: flex;
            gap: 0.5rem;
        }

        .footer-social a {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.16);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.9);
            font-size: 0.9rem;
        }

        .newsletter-text {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.7);
            margin-bottom: 0.4rem;
        }

        .newsletter-form {
            display: flex;
            gap: 0.4rem;
            margin-top: 0.2rem;
        }

        .newsletter-form input {
            flex: 1;
            padding: 0.55rem 0.7rem;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.16);
            background: rgba(6,2,12,0.9);
            color: #ffffff;
            font-size: 0.82rem;
            outline: none;
        }

        .newsletter-form button {
            padding: 0.55rem 0.9rem;
            border-radius: 999px;
            border: none;
            background: linear-gradient(135deg, var(--accent), #f7e4b7);
            color: #22043c;
            font-size: 0.8rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .footer-bottom {
            margin-top: 1.8rem;
            padding-top: 0.9rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.78rem;
            color: rgba(255,255,255,0.6);
            text-align: center;
        }

        .footer-bottom a {
            color: var(--accent);
            font-weight: 500;
        }

        /* Responsive */
        @media (min-width: 768px) {
            .nav-links {
                display: flex;
            }

            .nav-toggle,
            .nav-drawer {
                display: none;
            }

            .hero-inner {
                grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
                align-items: center;
                padding-top: 4.2rem;
                padding-bottom: 4.2rem;
            }

            .about-grid {
                grid-template-columns: 1.4fr 1fr;
                align-items: center;
            }

            .gallery-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }

            .contact-grid {
                grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
            }

            .footer-grid {
                grid-template-columns: 1.2fr 0.9fr 0.9fr 1.1fr;
            }
        }
        .footer-social a {
            transition: all 0.25s ease;
        }

        .footer-social a:hover {
            background: linear-gradient(135deg, var(--accent), #f7e4b7);
            color: var(--primary); /* dark purple icon */
            border-color: var(--accent);
            box-shadow: 0 4px 10px rgba(186,146,65,0.45);
            transform: translateY(-2px);
        }


        .daily-verse-section {
            background: var(--primary);
            padding: 1.8rem 1.2rem;
            text-align: center;
            margin: 0 0 1.5rem 0; /* bottom gap only */
            color: #ffffff;
        }

        .daily-verse-time {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.4rem;
        }

        .daily-verse-title {
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
        }

        .daily-verse-content marquee {
            font-size: 1rem;
            color: #ffffff;
            margin: 0.3rem 0;
        }

        .verse-tel {
            font-size: 1.1rem !important;
        }


        @media (max-width: 768px) {
        .daily-verse-section {
            padding-top: 2.5rem; /* boosts top gap for mobile only */
        }
        /* If still too tight, add this below */
        header + main > .daily-verse-section {
            margin-top: 1.5rem; /* pushes section down below header */
        }
        }


        .promise-year-section {
        background: #ffffff;
        color: #22043c;
        padding: 1.8rem 1.2rem;
        text-align: center;
        }

        .promise-title {
        font-size: 1.4rem;
        font-weight: 700;
        margin: 0 0 0.4rem;
        }

        .promise-highlight {
        color: #ba9241; /* same gold accent */
        }

        .promise-text {
        font-size: 0.95rem;
        margin: 0;
        color: #333333;
        }

        .promise-ref {
        font-weight: 700;
        color: #4b0082; /* purple link-style color */
        }


        .sermons-grid {
        display: grid;
        gap: 1.8rem;
        margin-top: 1.4rem;
        }

        .sermon-feature {
        text-align: center;
        }

        .sermon-feature-title {
        margin-top: 0.75rem;
        font-size: 1rem;
        font-weight: 600;
        color: #ffffff;
        }

        .sermon-list {
        display: grid;
        gap: 1rem;
        }

        .sermon-video iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 0.9rem;
        border: none;
        }

      /* Desktop layout */
@media (min-width: 992px) {
  .sermons-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
    align-items: stretch;              /* stretch both columns to full row height */
  }

  .sermon-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  /* Make the feature video fill the full height of the grid row */
  .sermon-feature,
  .sermon-feature .sermon-video {
    height: 100%;
  }

  .sermon-feature .sermon-video iframe {
    width: 100%;
    height: 100%;                      /* override aspect-ratio on desktop */
    border-radius: 0.9rem;
  }
}

/* Keep aspect ratio behavior on mobile/tablet */
.sermon-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  border: none;
}



        .about-section {
  padding: 3rem 1.2rem;
  background: #0b020f;
}

/* Our Story – wide and relaxed */
.about-story {
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  text-align: left;
  color: rgba(255,255,255,0.9);
}

.about-heading {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
}

.about-heading span {
  color: var(--accent);
}

.about-story p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

/* Team section */
.about-team {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-team-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.about-team-title span {
  color: var(--accent);
}

.about-team-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.6rem;
}

/* Cards */
.team-grid {
  display: grid;
  gap: 1.5rem;
}

.team-card {
  background: linear-gradient(145deg, rgba(19,6,35,0.96), #07020c);
  border-radius: 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.team-photo img {
  width: 100%;
  height: auto;
  display: block;
}


.team-info {
  padding: 0.9rem 1rem 1.1rem;
}

.team-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.6rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-social a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  transition: all 0.2s ease;
}

.team-social a:hover {
  background: linear-gradient(135deg, var(--accent), #f7e4b7);
  color: #22043c;
  border-color: var(--accent);
}

/* Desktop: 3 members side by side */
@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}


/*Prayer Request CSS*/
.prayer-form-wide {
  display: grid;
  gap: 0.8rem 1rem;
  margin-top: 1.4rem;
}

/* two columns for normal fields, full width for message/button */
.prayer-form-wide .field {
  width: 100%;
}

.prayer-form-wide .field-full {
  grid-column: 1 / -1;
}

.prayer-form-wide .field-button {
  align-self: end;
}

/* desktop layout */
@media (min-width: 768px) {
  .prayer-form-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prayer-form-wide .field-button {
    justify-self: flex-start;
  }
}




/*Prayer Details CSS*/
.prayer-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.prayer-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.1rem;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(19, 6, 35, 0.96), #07020c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65);
}

.prayer-card-main {
  flex: 1.4;
}

.prayer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.prayer-meta {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.35rem;
}

.prayer-join {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.75);
}

.prayer-join-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.prayer-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #ff4b4b;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 75, 75, 0.5);
  transition: all 0.2s ease;
}

.prayer-youtube-link i {
  font-size: 0.95rem;
}

.prayer-youtube-link:hover {
  background: #ff4b4b;
  color: #22043c;
  box-shadow: 0 10px 24px rgba(255, 75, 75, 0.55);
}

/* Pastor area */

.prayer-card-person {
  flex: 0.9;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.prayer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(247, 228, 183, 0.9);
  flex-shrink: 0;
}

.prayer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prayer-person-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prayer-person-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #f7e4b7;
}

.prayer-person-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile adjustments */

@media (max-width: 768px) {
  .prayer-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.95rem;
  }

  .prayer-card-person {
    justify-content: flex-start;
  }

  .prayer-list {
    gap: 0.9rem;
  }
}


.hero-meta-youtube a {
  color: #ff4b4b;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-meta-youtube a:hover {
  text-decoration: underline;
}



/*Donate CSS*/
.donate-cta {
  text-align: center;
  margin-top: 1.2rem;
}

.donate-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.9rem;
}


/* Contact Form Messages */
.field-error {
  color: #ff6b6b;
  font-size: 0.78rem;
  margin-top: 0.15rem;
  display: block;
}

.field-error.hidden {
  display: none;
}

.form-message {
  margin: 0 auto 1rem auto;
  max-width: 600px;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.86rem;
  text-align: center;
}

.form-message.hidden {
  display: none;
}

.form-success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #e9fff3;
}

.form-error {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.5);
  color: #ffcccc;
}


/* === Gallery layout (list of events) === */
.gallery-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.gallery-filter-panel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 260px;
}

.gallery-filter-panel label {
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-filter-select {
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(6,2,12,0.95);
  color: #fff;
  font-size: 0.86rem;
}

.gallery-card-grid {
  display: grid;
  gap: 1rem;
}

.gallery-card {
  background: linear-gradient(145deg, rgba(19,6,35,0.96), #07020c);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.gallery-card-title {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.gallery-card-footer {
  margin-top: 0.7rem;
}

/* Two-column layout on desktop */
@media (min-width: 768px) {
  .gallery-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
    align-items: flex-start;
  }

  .gallery-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* === Event media grid (view_gallery.php) === */
.media-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));  /* mobile: 1 per row */
}

.media-card {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  background: linear-gradient(135deg, #281042, #160627);
}

.media-thumb {
  width: 100%;
  height: 210px;        /* thumbnail height only */
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Video badge overlay */
.media-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f7e4b7;
  font-size: 0.7rem;
}

/* Desktop: 4 per row */
@media (min-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .media-thumb {
    height: 190px;
  }
}

/* === Modal full-screen viewer === */
.media-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.media-modal.open {
  display: flex;
}

.media-modal-inner {
  position: relative;
  max-width: 96vw;
  max-height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-modal-img,
.media-modal-video {
  max-width: 96vw;
  max-height: 96vh;
  width: auto;
  height: auto;
  display: none;
  object-fit: contain;      /* show full image/video without cropping */
  background: #000;
  border-radius: 0.5rem;
}

.media-modal-close {
  position: absolute;
  top: -32px;
  right: 0;
  font-size: 1.8rem;
  color: #ffffff;
  cursor: pointer;
}



/* ================================
   FIX: datetime-local picker icon
   ================================ */

/* Tell browser we are using dark UI */
input[type="datetime-local"] {
  color-scheme: dark;
  padding-right: 2.4rem; /* space for icon */
}

/* Chrome / Edge / Safari */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.85;
  cursor: pointer;
}

/* Optional: hover effect */
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Firefox fallback */
@supports (-moz-appearance: none) {
  input[type="datetime-local"] {
    color-scheme: dark;
  }
}


/* Ensure datetime-local is fully clickable */
input[type="datetime-local"] {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* Make all inputs full width inside the prayer form */
#prayerRequestForm .field input,
#prayerRequestForm .field textarea {
  width: 100%;
  box-sizing: border-box;
}

/* iOS / mobile Safari width fix for date/time fields */
@supports (-webkit-touch-callout: none) {
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"] {
    -webkit-appearance: none;   /* let width:100% work properly */
    width: 100%;
    box-sizing: border-box;
  }
}

/* === datetime-local calendar icon – brand color (#ba9241) === */
#pr_datetime {
  color-scheme: dark;
  padding-right: 2.6rem;
}

/* WebKit browsers */
#pr_datetime::-webkit-calendar-picker-indicator {
  filter: 
    invert(63%) 
    sepia(28%) 
    saturate(520%) 
    hue-rotate(355deg) 
    brightness(95%) 
    contrast(95%);
  opacity: 1;
  cursor: pointer;
}

/* Hover */
#pr_datetime::-webkit-calendar-picker-indicator:hover {
  filter: 
    invert(63%) 
    sepia(40%) 
    saturate(700%) 
    hue-rotate(355deg) 
    brightness(100%) 
    contrast(100%);
}



/*Privacy Policy CSS*/
.policy-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.policy-point {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-standard);
}

.policy-point:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.policy-point h4 {
  margin: 0 0 1rem 0;
  color: var(--color-primary);
  font-size: var(--font-size-lg);
}

.policy-point p {
  margin: 0.75rem 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
}

.policy-point p:last-child {
  margin-bottom: 0;
}

.policy-point a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.policy-point a:hover {
  text-decoration: underline;
}
