/*
Theme Name: The Livingston TV
Theme URI: https://thelivingstonetv.org
Description: A WordPress theme that mimics emmanuel.tv design and functionality for thelivingstonetv.org
Version: 1.0
Author: The Livingston TV Team
Author URI: https://thelivingstonetv.org
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thelivingstonetv
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Tags: church, religious, streaming, video, events, sermons, testimonials, partnership, responsive-layout, custom-colors, custom-menu, featured-images, theme-options, threaded-comments, translation-ready, blog, e-commerce
*/

/* CSS Variables */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-gold: #f59e0b;
    --dark-gold: #d97706;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-light: #e5e7eb;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header-top {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
}

.header-top-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.language-switcher select {
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--white);
    cursor: pointer;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.site-logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
}

.logo-img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.primary-menu .menu-item {
    position: relative;
}

.primary-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}

.primary-menu a:hover {
    color: var(--primary-blue);
    background: var(--bg-light);
}

/* Submenu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.primary-menu .menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu .menu-item {
    margin: 0;
}

.primary-menu .sub-menu a {
    padding: 10px 20px;
    border-radius: 0;
    font-size: 0.9rem;
}

.primary-menu .sub-menu a:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.live-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--accent-gold);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.live-button:hover {
    background: var(--dark-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.partnership-btn {
    padding: 10px 16px;
    background: transparent;
    color: var(--primary-blue) !important;
    text-decoration: none;
    border: 2px solid var(--primary-blue);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.partnership-btn:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover .bar {
    background: var(--secondary-blue);
}

.menu-toggle.toggled .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.toggled .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.toggled .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-background iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-button.primary:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button.outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Event Section */
.event-section {
    margin-bottom: 40px;
}

.section-heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-gold);
    font-weight: bold;
}

.events-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    background: var(--white);
    color: var(--text-dark);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.featured-event {
    border: 3px solid var(--accent-gold);
}

.previous-event {
    opacity: 0.85;
}

.event-label {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.event-name {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-date {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.countdown-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    min-width: 70px;
    transition: transform 0.2s ease;
}

.countdown-item:hover {
    transform: scale(1.05);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 5px;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.events-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-blue);
}

.upcoming-events-grid h3,
.previous-events-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.upcoming-events-grid,
.previous-events-section {
    margin-bottom: 60px;
}

/* Call to Action Buttons */
.cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cta-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transition: height 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.cta-card:hover::before {
    height: 8px;
}

.cta-card.featured::before {
    background: var(--accent-gold);
    height: 6px;
}

.cta-card.partnership::before {
    background: var(--dark-gold);
    height: 6px;
}

.cta-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg-light);
    position: relative;
}

.cta-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cta-card.featured .cta-icon {
    background: var(--accent-gold);
}

.cta-card.featured .cta-icon::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z"/></svg>');
}

.cta-card .icon-tv-guide::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%231e3a8a" viewBox="0 0 24 24"><path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v-2H3V5h18v12h-5v2h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM8 17H6v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2z"/></svg>');
}

.cta-card .icon-download::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%231e3a8a" viewBox="0 0 24 24"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>');
}

.cta-card .icon-about::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%231e3a8a" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>');
}

.cta-card .icon-partnership::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
}

.cta-card .icon-contact::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%231e3a8a" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.cta-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.cta-button.large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.cta-button.outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.cta-prayer-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
    padding: 50px;
    border-radius: 20px;
    margin-top: 60px;
}

/* Testimonies Section */
.testimonies-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

/* Category Filters */
.testimonies-category-filters {
    margin-bottom: 40px;
    text-align: center;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tab:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.testimonies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-light), transparent);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: -10px auto 50px;
    line-height: 1.6;
}

.testimonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.testimony-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimony-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.testimony-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.testimony-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimony-card:hover .testimony-thumbnail {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background: rgba(217, 119, 6, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.testimony-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimony-category {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    align-self: flex-start;
}

.testimony-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 1rem;
    flex: 1;
}

.testimony-author {
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimony-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.testimony-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.read-more-link,
.watch-video-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more-link:hover,
.watch-video-link:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.section-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* Sermon Section */
.sermon-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.sermon-header {
    text-align: center;
    margin-bottom: 60px;
}

.sermon-featured {
    max-width: 1000px;
    margin: 0 auto;
}

.featured-sermon-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.sermon-video {
    position: relative;
    min-height: 400px;
    background: #000;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-gold);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.sermon-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.sermon-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.audio-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 58, 138, 0.9);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-icon::before {
    content: '♪';
    font-size: 1.2rem;
}

.sermon-details {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sermon-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.sermon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.sermon-speaker,
.sermon-date,
.sermon-duration {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.sermon-bible-refs {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--accent-gold);
    padding: 15px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.sermon-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
    flex: 1;
}

.sermon-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.no-sermons {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* App Section */
.app-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.app-info h2 {
    color: var(--white);
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--text-dark);
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.app-store-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.app-store-icon.android {
    background: #3DDC84;
}

.app-store-icon.ios {
    background: #000;
}

.app-store-text small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.app-store-text strong {
    display: block;
    font-size: 1rem;
}

.app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #333;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Live Stream Page */
.live-stream-page {
    max-width: 1400px;
    margin: 0 auto;
}

.live-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.live-header .page-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    animation: livePulse 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: liveDot 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes liveDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.live-stream-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.live-video-section {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.video-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.live-stream-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.no-live-stream {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
    background: var(--bg-light);
    min-height: 400px;
}

.no-stream-icon {
    width: 100px;
    height: 100px;
    background: var(--text-light);
    border-radius: 50%;
    margin-bottom: 30px;
    position: relative;
}

.no-stream-icon::before {
    content: '📺';
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.no-live-stream h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.no-live-stream p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Live Chat Section */
.live-chat-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chat-container {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chat-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-online-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: liveDot 2s infinite;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-light);
}

.chat-welcome {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--secondary-blue);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.chat-message {
    margin-bottom: 15px;
    padding: 12px;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
}

.chat-message .message-user {
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.chat-message .message-time {
    font-size: 0.8rem;
    color: var(--text-light);
    float: right;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

#chat-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
}

.chat-send-btn {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.chat-send-btn:hover {
    background: var(--dark-gold);
}

/* Live Info Sidebar */
.live-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.current-program,
.upcoming-programs {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.current-program h4,
.upcoming-programs h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.program-info h5 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.program-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.program-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-weight: 600;
}

.upcoming-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upcoming-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.upcoming-item:last-child {
    border-bottom: none;
}

.upcoming-time {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.upcoming-title {
    color: var(--text-dark);
    font-weight: 600;
}

.no-upcoming {
    color: var(--text-light);
    font-style: italic;
}

.live-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.live-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.live-action-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateX(5px);
}

.live-action-btn i {
    width: 20px;
    text-align: center;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--text-dark), #0f172a);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

/* Widget Responsive Styles */
@media (max-width: 768px) {
    .countdown-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .countdown-unit {
        padding: 10px 5px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .testimony-item {
        text-align: center;
    }
    
    .live-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .live-watch-btn,
    .live-schedule-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .prayer-request-widget,
    .event-countdown-widget,
    .recent-testimonies-widget,
    .live-stream-widget {
        padding: 20px 15px;
    }
    
    .countdown-display {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .countdown-unit {
        padding: 8px;
    }
    
    .countdown-number {
        font-size: 1rem;
    }
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--dark-gold));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    position: relative;
}

.footer-heading {
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-content li {
    margin-bottom: 12px;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-content a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.footer-content a:hover::after {
    width: 100%;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Newsletter in footer */
.footer-column .newsletter-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.footer-column .newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-column .newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-column .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-column .newsletter-btn {
    padding: 10px 20px;
    background: var(--accent-gold);
    color: var(--primary-blue);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.footer-column .newsletter-btn:hover {
    background: var(--secondary-gold);
}

/* Responsive footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }
}

/* About Section */
.about-section {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* Newsletter Section */
.newsletter-description {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.newsletter-form input {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.newsletter-btn-loading {
    display: none;
}

.newsletter-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}

.newsletter-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

/* App Download */
.app-download {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.app-download p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.app-download-buttons {
    display: flex;
    gap: 12px;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.tagline {
    color: var(--accent-gold);
    font-style: italic;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Custom Widgets Styles */
.prayer-request-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.prayer-form input,
.prayer-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.prayer-form input:focus,
.prayer-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.prayer-form textarea {
    min-height: 100px;
    resize: vertical;
}

.prayer-submit-btn {
    width: 100%;
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prayer-submit-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

.prayer-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

.prayer-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.prayer-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

/* Event Countdown Widget */
.event-countdown-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.countdown-event-info {
    text-align: center;
    margin-bottom: 20px;
}

.countdown-event-info h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.event-time {
    color: var(--text-light);
    font-size: 0.95rem;
}

.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.countdown-unit {
    text-align: center;
    padding: 15px 10px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.countdown-unit:hover {
    transform: scale(1.05);
}

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 5px;
}

.countdown-actions {
    text-align: center;
}

.countdown-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.countdown-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.no-upcoming-events {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}

/* Recent Testimonies Widget */
.recent-testimonies-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.testimony-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.testimony-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.testimony-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimony-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
}

.testimony-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimony-content {
    text-align: center;
}

.testimony-content h5 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.testimony-content h5 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.testimony-content h5 a:hover {
    color: var(--secondary-blue);
}

.testimony-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.testimony-meta {
    margin-bottom: 10px;
}

.testimony-location {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-style: italic;
}

.testimony-category-tag {
    display: inline-block;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-blue);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 8px;
    border-left: 3px solid var(--primary-blue);
}

.testimony-widget-actions {
    text-align: center;
}

.testimony-more-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.testimony-more-link:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* Live Stream Widget */
.live-stream-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.live-status {
    text-align: center;
    margin-bottom: 25px;
}

.live-indicator-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-gold), var(--dark-gold));
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-weight: bold;
    animation: livePulse 2s infinite;
}

.live-dot-widget {
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
    animation: liveDot 1.5s infinite;
}

.live-text {
    font-size: 1.1rem;
}

.live-viewers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.viewer-count {
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.offline-indicator {
    background: var(--text-light);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
}

.offline-text {
    font-size: 1.1rem;
}

.live-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.live-watch-btn,
.live-schedule-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.live-watch-btn {
    background: var(--accent-gold);
    color: var(--white);
}

.live-watch-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

.live-schedule-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.live-schedule-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Language Switcher Widget */
.widget-language-switcher {
    text-align: center;
}

.widget-language-switcher ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-language-switcher li {
    margin-bottom: 10px;
}

.widget-language-switcher a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.widget-language-switcher a:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateX(5px);
}

.widget-language-switcher .current-language {
    border-color: var(--accent-gold);
    background: rgba(245, 158, 11, 0.1);
}

.language-flag {
    width: 20px;
    text-align: center;
}

.language-name {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .events-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-sermon-card {
        grid-template-columns: 1fr;
    }
    
    .sermon-video {
        min-height: 300px;
    }
    
    .app-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .app-features {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        z-index: 1000;
    }
    
    .main-navigation.toggled {
        display: block;
    }
    
    .primary-menu {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 10px;
    }
    
    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 10px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 12px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-card {
        padding: 30px 25px;
    }
    
    .testimonies-grid {
        grid-template-columns: 1fr;
    }
    
    .sermon-details {
        padding: 30px;
    }
    
    .sermon-title {
        font-size: 1.5rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .event-card {
        padding: 25px 20px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .cta-card {
        padding: 25px 20px;
    }
    
    .testimony-card {
        border-radius: 10px;
    }
    
    .testimony-content {
        padding: 25px 20px;
    }
    
    .sermon-details {
        padding: 25px 20px;
    }
    
    .sermon-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .app-button {
        min-width: auto;
        flex: 1;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .newsletter-form input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Small adjustments for better mobile experience */
@media (max-width: 375px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .cta-section,
    .testimonies-section,
    .sermon-section {
        padding: 60px 0;
    }
    
    .app-section {
        padding: 60px 0;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-prayer-section {
        padding: 40px 25px;
    }
}

/* ============================================
   CONTRIBUTIONS CONTROLS - FILTER SECTION
   ============================================ */

.contributions-controls {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.controls-left {
    flex: 1;
    min-width: 300px;
}

.controls-right {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Filter Form Styling */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    font-size: 0.95rem;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    cursor: pointer;
    min-width: 140px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
}

.filter-select:hover {
    border-color: #94a3b8;
    background-color: #fafafa;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    background-color: white;
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(30, 58, 138, 0.3);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.btn-outline {
    background: white;
    color: #475569;
    border-color: #cbd5e1;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #334155;
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #059669;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn i,
.btn .fas {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contributions-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
    }
    
    .controls-left {
        min-width: auto;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
        min-width: auto;
    }
    
    .controls-right {
        justify-content: stretch;
    }
    
    .controls-right .btn {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .contributions-controls {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .filter-group label {
        font-size: 0.8rem;
    }
    
    .filter-select {
        padding: 0.5rem 2.25rem 0.5rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .controls-right {
        flex-direction: column;
    }
    
    .controls-right .btn {
        width: 100%;
    }
}