
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');
        
        * {
            -webkit-tap-highlight-color: transparent;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            background-color: #ffffff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        body.dark {
            background-color: #0f172a;
        }
        
        .church-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
        }
        
        /* App-like Hero Slider with responsive heights */
        .hero-slider {
            height: 70vh;
            min-height: 500px;
            max-height: 700px;
            position: relative;
            overflow: hidden;
            border-radius: 0 0 24px 24px;
            
        }
        
        /* Mobile content scaling for 680px and below */
        @media (max-width: 680px) {
            .hero-slider {
                height: 55vh !important;
                min-height: 320px !important;
                max-height: 420px !important;
                border-radius: 0 0 16px 16px !important;
            }
            
            .container {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }
            
            h1, .church-title {
                font-size: 1.5rem !important;
            }
            
            h2 {
                font-size: 1.25rem !important;
                margin-bottom: 0.75rem !important;
            }
            
            h3 {
                font-size: 1.125rem !important;
            }
            
            section {
                padding-top: 1rem !important;
                padding-bottom: 1rem !important;
            }
            
            .py-8 {
                padding-top: 1.5rem !important;
                padding-bottom: 1.5rem !important;
            }
            
            .mb-12 {
                margin-bottom: 2rem !important;
            }
            
            .app-card {
                padding: 1rem !important;
                border-radius: 14px !important;
            }
            
            body {
                font-size: 0.9375rem !important;
            }
            
            .grid-cols-3 .app-card {
                padding: 0.75rem !important;
            }
            
            .grid-cols-3 .text-2xl {
                font-size: 1.25rem !important;
            }
            
            .ministry-image {
                height: 140px !important;
            }
            
            .event-image {
                height: 100px !important;
            }
            
            .btn-primary, .btn-outline {
                padding: 0.5rem 1rem !important;
                font-size: 0.875rem !important;
            }
            
            .container.mx-auto.-mt-8 {
                margin-top: -1rem !important;
            }
            
            .p-6 {
                padding: 1rem !important;
            }
            
            .text-3xl {
                font-size: 1.5rem !important;
            }
            
            .text-4xl, .text-5xl {
                font-size: 1.75rem !important;
            }
            
            .text-lg {
                font-size: 0.9375rem !important;
            }
            
            .w-16.h-16 {
                width: 3rem !important;
                height: 3rem !important;
            }
            
            .pastor-section .grid-cols-1.md\:grid-cols-2 {
                gap: 1.5rem !important;
            }
            
            .pastor-image-container {
                height: 250px !important;
            }
            
            .pastor-content {
                padding: 1rem !important;
            }
            
            /* Media buttons optimization */
            .media-action-buttons {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 0.5rem !important;
            }
            
            .media-action-btn {
                padding: 0.75rem 0.5rem !important;
                font-size: 0.75rem !important;
                flex-direction: column !important;
                gap: 0.25rem !important;
            }
            
            .media-action-btn i {
                font-size: 1rem !important;
                margin-bottom: 0.25rem !important;
            }
            
            .media-action-btn span {
                font-size: 0.6875rem !important;
            }
            
            /* Bottom navigation improvements for small screens */
            .bottom-nav {
                padding: 10px 0 !important;
            }
            
            .bottom-nav-item {
                padding: 6px 8px !important;
                min-width: 60px !important;
            }
            
            .bottom-nav-item i {
                font-size: 1.1rem !important;
            }
            
            .bottom-nav-item span {
                font-size: 0.6rem !important;
                margin-top: 2px !important;
            }
        }
        
        @media (max-width: 480px) {
            .hero-slider {
                height: 50vh !important;
                min-height: 280px !important;
            }
            
            .text-2xl {
                font-size: 1.125rem !important;
            }
            
            .pastor-image-container {
                height: 200px !important;
            }
            
            .media-action-btn {
                padding: 0.5rem 0.25rem !important;
            }
            
            .media-action-btn i {
                font-size: 0.875rem !important;
            }
            
            .bottom-nav-item {
                padding: 5px 6px !important;
                min-width: 55px !important;
            }
            
            .bottom-nav-item i {
                font-size: 1rem !important;
            }
            
            .bottom-nav-item span {
                font-size: 0.55rem !important;
            }
        }
        
        @media (max-width: 360px) {
            .bottom-nav-item {
                padding: 4px 4px !important;
                min-width: 50px !important;
            }
            
            .bottom-nav-item i {
                font-size: 0.9rem !important;
            }
            
            .bottom-nav-item span {
                font-size: 0.5rem !important;
            }
        }
        
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
        }
        
        .slide.active {
            opacity: 1;
        }
        
        .slide-overlay {
            background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
        }
        
        /* App-style Navigation */
        .nav-item {
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .nav-item.active {
            color: #86efac;
            background: rgba(134, 239, 172, 0.1);
            border-radius: 12px;
            padding: 8px 16px;
        }
        
        .card-hover {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }
        
        .card-hover:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
        }
        
        /* Mobile Menu with app-style design */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 85%;
            max-width: 320px;
            height: 100vh;
            background-color: white;
            z-index: 999;
            transform: translateX(-100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
           
            border-radius: 0 24px 24px 0;
            overflow-y: auto;
        }
        
        .mobile-menu.open {
            transform: translateX(0);
        }
        
        .dark .mobile-menu {
            background-color: #1e293b;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
        }
        
        .mobile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(5px);
        }
        
        .mobile-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        
        /* App-style cards */
        .app-card {
            border-radius: 20px;
            background: white;
           
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .dark .app-card {
            background: #1e293b;
            border-color: rgba(255, 255, 255, 0.05);
           
        }
        
        .app-card:hover {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        }
        
        /* Floating Action Button */
        .fab {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 56px;
            height: 56px;
            background: #86efac;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #166534;
            
            z-index: 90;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
        }
        
        .fab:hover {
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(134, 239, 172, 0.4);
        }
        
        /* Enhanced Bottom Navigation Bar - No Linear Gradients */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            display: flex;
            justify-content: space-around;
            padding: 12px 0;
            z-index: 100;
            box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
        }
        
        .dark .bottom-nav {
            background: rgba(15, 23, 42, 0.98);
            border-color: rgba(255, 255, 255, 0.1);
                    }
        
        .bottom-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 8px 12px;
            border-radius: 14px;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            min-width: 64px;
        }
        
        .bottom-nav-item i {
            font-size: 1.25rem;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 2;
        }
        
        .bottom-nav-item span {
            font-size: 0.7rem;
            font-weight: 500;
            margin-top: 4px;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 2;
        }
        
        .bottom-nav-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #86efac;
            border-radius: 14px;
            opacity: 0;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
        }
        
        .bottom-nav-item.active::before {
            opacity: 0.15;
        }
        
        .bottom-nav-item.active {
            color: #166534;
        }
        
        .dark .bottom-nav-item.active {
            color: #86efac;
        }
        
        .bottom-nav-item.active::after {
            content: '';
            position: absolute;
            top: -5px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #86efac;
            z-index: 3;
        }
        
        .bottom-nav-item:hover {
            transform: translateY(-2px);
        }
        
        .bottom-nav-item:hover::before {
            opacity: 0.1;
        }
        
        .dark .bottom-nav-item:hover::before {
            opacity: 0.2;
        }
        
        /* Relationship Icon Overlay */
        .relationship-overlay {
            position: absolute;
            top: 0;
            right: 0;
            width: 14px;
            height: 14px;
            background: #fef08a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
            z-index: 4;
        }
        
        .dark .relationship-overlay {
            border-color: #1e293b;
        }
        
        .relationship-overlay i {
            font-size: 0.5rem;
            color: #854d0e;
        }
        
        /* App-style buttons - No Linear Gradients */
        .btn-primary {
            background: #86efac;
            color: #166534;
            padding: 12px 24px;
            border-radius: 16px;
            font-weight: 600;
            border: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(134, 239, 172, 0.3);
            background: #7de9a2;
        }
        
        .btn-secondary {
            background: #fef08a;
            color: #854d0e;
            padding: 12px 24px;
            border-radius: 16px;
            font-weight: 600;
            border: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
           
        }
        
     
        
        .btn-outline {
            background: transparent;
            color: #86efac;
            padding: 12px 24px;
            border-radius: 16px;
            font-weight: 600;
            border: 2px solid #86efac;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
      
        /* Prayer Request Modal */
        .prayer-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .prayer-modal.open {
            opacity: 1;
            visibility: visible;
        }
        
        .prayer-modal-content {
            background: white;
            border-radius: 24px;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .prayer-modal.open .prayer-modal-content {
            transform: translateY(0);
        }
        
        .dark .prayer-modal-content {
            background: #1e293b;
        }
        
        /* Loading skeleton */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }
        
        .dark .skeleton {
            background: linear-gradient(90deg, #2d3748 25%, #4a5568 50%, #2d3748 75%);
            background-size: 200% 100%;
        }
        
        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #86efac;
            border-radius: 4px;
        }
        
        .dark ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
        }
        
        .dark ::-webkit-scrollbar-thumb {
            background: #4ade80;
        }
        
        /* PWA app-like touch feedback */
        .touch-feedback {
            transition: transform 0.1s;
        }
        
        .touch-feedback:active {
            transform: scale(0.98);
        }
        
        /* Ministry and Event images */
        .ministry-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 16px 16px 0 0;
        }
        
        .event-image {
            width: 100%;
            height: 140px;
            object-fit: cover;
            border-radius: 16px 16px 0 0;
        }
        
        /* Download button */
        .download-btn {
            background: #86efac;
            color: #166534;
            padding: 10px 20px;
            border-radius: 12px;
            font-weight: 500;
            border: none;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
            
        }
        
        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(134, 239, 172, 0.3);
            background: #7de9a2;
        }
        
        /* CAC Style - No Gradients */
        .cac-badge {
            background: #fef08a;
            color: #854d0e;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
            box-shadow: 0 2px 6px rgba(254, 240, 138, 0.2);
        }
        
        .cac-gradient {
            background: #86efac;
        }
        
        .cac-red-bg {
            background: #dc2626;
            color: white;
        }
        
        .cac-red-bg:hover {
            background: #b91c1c;
        }
        
        /* Pastor Section */
        .pastor-section {
            background: #f0fdf4;
        }
        
        .dark .pastor-section {
            background: #1e293b;
        }
        
        .pastor-image-container {
            height: 350px;
            border-radius: 20px;
            overflow: hidden;
            
        }
        
        .pastor-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .pastor-image:hover {
            transform: scale(1.05);
        }
        
        .pastor-content {
            padding: 2rem;
        }
        
        .pastor-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: #166534;
        }
        
        .dark .pastor-title {
            color: #86efac;
        }
        
        .pastor-quote {
            border-left: 4px solid #fef08a;
            padding-left: 1rem;
            font-style: italic;
            color: #4b5563;
        }
        
        .dark .pastor-quote {
            color: #d1d5db;
            border-left-color: #fef08a;
        }
        
        /* Pastor stats */
        .pastor-stat {
            text-align: center;
            padding: 1rem;
            border-radius: 12px;
            
        }
        
        .dark .pastor-stat {
            background: rgba(30, 41, 59, 0.8);
        }
        
        /* Media Action Buttons - No Linear Gradients */
        .media-action-buttons {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .media-action-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1rem 0.5rem;
            border-radius: 12px;
            font-weight: 600;
            border: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            text-align: center;
            
        }
        
        .media-action-btn i {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }
        
        .media-action-btn.watch {
            background: #86efac;
            color: #166534;
        }
        
        .media-action-btn.listen {
            background: #fef08a;
            color: #854d0e;
        }
        
        .media-action-btn.download {
            background: #a78bfa;
            color: white;
        }
        
        .media-action-btn:hover {
            transform: translateY(-4px);
            
        }
        
        /* Media section specific improvements */
        .media-slider {
            height: 300px;
            background: #86efac;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .media-slider-content {
            text-align: center;
            padding: 2rem;
        }
        
        .media-play-icon {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
        }
        
        /* Compact sermon items */
        .compact-sermon-item {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            border-radius: 10px;
            transition: all 0.2s ease;
        }
        
        .compact-sermon-item:hover {
            background: rgba(134, 239, 172, 0.05);
        }
        
        .dark .compact-sermon-item:hover {
            background: rgba(134, 239, 172, 0.1);
        }
        
        .compact-sermon-icon {
            width: 32px;
            height: 32px;
            min-width: 32px;
            border-radius: 8px;
            background: rgba(134, 239, 172, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }
        
        .compact-sermon-content {
            flex: 1;
            min-width: 0;
        }
        
        .compact-sermon-title {
            font-size: 0.875rem;
            font-weight: 500;
            color: #1f2937;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .dark .compact-sermon-title {
            color: #f9fafb;
        }
        
        .compact-sermon-date {
            font-size: 0.75rem;
            color: #6b7280;
        }
        
        .dark .compact-sermon-date {
            color: #9ca3af;
        }
        
        /* Mini gallery */
        .mini-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            margin-bottom: 12px;
        }
        
        .mini-gallery-item {
            aspect-ratio: 1;
            border-radius: 6px;
            overflow: hidden;
            background: #e5e7eb;
        }
        
        .dark .mini-gallery-item {
            background: #374151;
        }
