
        /* Base Styles */
        :root {
            --primary: #2c5aa0;
            --secondary: #e66b19;
            --light: #f8f9fa;
            --dark: #1a1a2e;
            --gray: #6c757d;
            --light-gray: #f1f3f4;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: var(--light);
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: var(--secondary);
            color: #1e3d6f;
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
            color: white;
        }
        
        .btn-secondary:hover {
            background-color: #c79107;
            transform: translateY(-3px);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--primary);
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background-color: var(--secondary);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        /* Header & Navigation */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo i {
            font-size: 2rem;
            color: var(--primary);
        }
        
        .logo-text h1 {
            font-size: 1.8rem;
            color: var(--primary);
        }
        
        .logo-text p {
            font-size: 0.8rem;
            color: var(--gray);
            letter-spacing: 1px;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        
        .nav-links a {
            font-weight: 600;
            position: relative;
            padding: 5px 0;
        }
        
        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background-color: var(--secondary);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        
        .nav-links a:hover:after,
        .nav-links a.active:after {
            width: 100%;
        }
        
        .hamburger {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1503386435952-d7918b99d4c5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 180px 20px 100px;
            margin-top: 80px;
        }
        
        .hero h2 {
            font-size: 3.5rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }
        
        /* Services Section */
        .services {
            padding: 100px 0;
            background-color: var(--light-gray);
        }
        
        .service-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        .service-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        
        .service-content {
            padding: 25px;
        }
        
        .service-content h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .service-content p {
            color: var(--gray);
            margin-bottom: 20px;
        }
        
        /* About Section */
        .about {
            padding: 100px 0;
        }
        
        .about-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
            align-items: center;
        }
        
        .about-text h3 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .about-text p {
            margin-bottom: 20px;
            color: var(--gray);
        }
        
        .about-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        .stat {
            text-align: center;
            padding: 20px;
            background-color: var(--light-gray);
            border-radius: 10px;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            display: block;
        }
        
        .stat-text {
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        /* Events Section */
        .events {
            padding: 100px 0;
            background-color: var(--light-gray);
        }
        
        .event-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .event-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .event-date {
            background-color: var(--primary);
            color: white;
            padding: 15px;
            text-align: center;
        }
        
        .event-date .day {
            font-size: 2rem;
            font-weight: 700;
            display: block;
        }
        
        .event-details {
            padding: 25px;
        }
        
        .event-details h3 {
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .event-details .time {
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 15px;
            display: block;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 70px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 25px;
            color: var(--secondary);
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            background-color: var(--primary);
            bottom: 0;
            left: 0;
        }
        
        .footer-column p {
            margin-bottom: 20px;
            opacity: 0.8;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            opacity: 0.8;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            opacity: 1;
            color: var(--secondary);
            padding-left: 5px;
        }
        
        .contact-info {
            list-style: none;
        }
        
        .contact-info li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .contact-info i {
            margin-right: 15px;
            color: var(--secondary);
            margin-top: 5px;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: var(--transition);
        }
        
        .social-icons a:hover {
            background-color: var(--secondary);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
            font-size: 0.9rem;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .hero h2 {
                font-size: 2.8rem;
            }
            
            .section-title h2 {
                font-size: 2.2rem;
            }
        }
        
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                flex-direction: column;
                background-color: white;
                width: 100%;
                text-align: center;
                padding: 30px 0;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                transition: var(--transition);
                gap: 0;
            }
            
            .nav-links.active {
                left: 0;
            }
            
            .nav-links li {
                margin: 15px 0;
            }
            
            .hero {
                padding: 150px 20px 80px;
            }
            
            .hero h2 {
                font-size: 2.3rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .services, .about, .events {
                padding: 70px 0;
            }
        }
        
        @media (max-width: 576px) {
            .hero h2 {
                font-size: 1.8rem;
            }
            
            .btn {
                padding: 10px 22px;
            }
            
            .about-stats {
                grid-template-columns: 1fr;
            }
        }
        
        /* ===================== */
        /* SCROLL ANIMATIONS     */
        /* ===================== */
        
        /* Initial hidden state for animated elements */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
        }
        
        /* Visible state when element is in view */
        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Staggered delays for multiple elements */
        .animate-delay-1 { transition-delay: 0.1s; }
        .animate-delay-2 { transition-delay: 0.2s; }
        .animate-delay-3 { transition-delay: 0.3s; }
        .animate-delay-4 { transition-delay: 0.4s; }
        .animate-delay-5 { transition-delay: 0.5s; }
        
        /* Special animations for hero section */
        .hero h2, .hero p, .hero .btn {
            opacity: 0;
            transform: translateY(30px);
            transition: all 1s ease-out;
        }
        
        .hero h2.animated {
            transform: translateY(0);
            opacity: 1;
        }
        
        .hero p.animated {
            transform: translateY(0);
            opacity: 1;
            transition-delay: 0.3s;
        }
        
        .hero .btn.animated {
            transform: translateY(0);
            opacity: 1;
            transition-delay: 0.6s;
        }
        
        /* Fade-in from left/right for about section */
        .about-text-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease-out;
        }
        
        .about-text-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease-out;
        }
        
        .about-text-left.animated,
        .about-text-right.animated {
            opacity: 1;
            transform: translateX(0);
        }
        
        /* Scale animation for stats */
        .stat {
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.6s ease-out;
        }
        
        .stat.animated {
            opacity: 1;
            transform: scale(1);
        }
        
        /* ===================== */
        /* BOTTOM-TO-TOP POP-IN  */
        /* ===================== */
        
        .pop-in-banner {
            position: fixed;
            bottom: -150px; /* Start hidden below screen */
            left: 0;
            right: 0;
            background: linear-gradient(135deg, var(--primary), #3a68b5);
            color: white;
            padding: 20px;
            box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
            z-index: 9999;
            transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border-top: 4px solid var(--secondary);
        }
        
        .pop-in-banner.show {
            bottom: 0; /* Slide into view */
        }
        
        .pop-in-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .pop-in-text h3 {
            margin-bottom: 8px;
            font-size: 1.4rem;
            color: white;
        }
        
        .pop-in-text p {
            opacity: 0.95;
            font-size: 1rem;
            margin: 0;
        }
        
        .pop-in-actions {
            display: flex;
            gap: 15px;
            align-items: center;
        }
        
        .pop-in-close {
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .pop-in-close:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: rotate(90deg);
        }
        
        .pop-in-cta {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .pop-in-cta:hover {
            background-color: #d6990a;
            transform: translateY(-3px);
        }
        
        @media (max-width: 768px) {
            .pop-in-content {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .pop-in-actions {
                width: 100%;
                justify-content: center;
            }
        }
        /* Tithing & Offerings Section */
.giving {
    padding: 100px 0;
    background-color: white;
}

.giving-content {
    max-width: 1200px;
    margin: 0 auto;
}

.giving-intro h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.giving-intro p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scripture-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--secondary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.scripture-box i {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

.scripture-box p {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 10px;
    padding-left: 40px;
    text-align: left;
}

.scripture-ref {
    display: block;
    text-align: right;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.giving-methods {
    margin: 60px 0;
}

.giving-methods h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.method-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.method-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #4a7bc9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.method-icon i {
    font-size: 1.8rem;
    color: white;
}

.method-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.method-card p {
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.6;
}

.method-detail {
    color: var(--primary) !important;
    font-size: 0.9rem;
    margin-top: 15px !important;
}

.giving-impact {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-gray);
}

.giving-impact h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.giving-impact > p {
    color: var(--gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.impact-item {
    background: linear-gradient(135deg, var(--light-gray), #e8edf7);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.impact-text {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.giving-note {
    background-color: #f0f7ff;
    border: 1px solid #d1e3ff;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.giving-note h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.giving-note h4 i {
    color: var(--secondary);
}

.giving-note p {
    color: var(--gray);
    line-height: 1.7;
}

/* Responsive adjustments for giving section */
@media (max-width: 768px) {
    .method-cards {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scripture-box {
        padding: 20px 20px 20px 60px;
    }
    
    .scripture-box i {
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 576px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .method-card {
        padding: 20px;
    }
}
.account-details {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #e0e0e0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    text-align: right;
}

.mobile-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-options h5 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mobile-code {
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid var(--secondary);
}

.code-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.code-value {
    display: block;
    color: var(--gray);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.method-detail {
    margin-top: 15px !important;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: var(--primary) !important;
    font-size: 0.9rem !important;
}
        /* Hero Section with Carousel */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 180px 20px 100px;
    margin-top: 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.carousel-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: zoomEffect 25s infinite;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide:nth-child(1) { animation-delay: 0s; }
.carousel-slide:nth-child(2) { animation-delay: 5s; }
.carousel-slide:nth-child(3) { animation-delay: 10s; }
.carousel-slide:nth-child(4) { animation-delay: 15s; }
.carousel-slide:nth-child(5) { animation-delay: 20s; }

@keyframes zoomEffect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Carousel Navigation Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero {
        padding: 150px 20px 80px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero {
        padding: 130px 20px 60px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .carousel-dots {
        margin-top: 30px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}
/* Join Us Page Styles */
.join-hero {
    background: linear-gradient(rgba(44, 90, 160, 0.9), rgba(44, 90, 160, 0.8)), 
                url('images/16.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 20px 100px;
    margin-top: 80px;
}

.join-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.join-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.join-steps {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #4a7bc9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2.5rem;
    color: white;
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Connection Form */
.connection-form-section {
    padding: 100px 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-gray);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-container h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.form-container > p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.connection-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Next Steps */
.next-steps {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.next-steps-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.next-step {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.next-step:hover {
    transform: translateY(-5px);
}

.next-step h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.next-step h3 i {
    color: var(--secondary);
}

.next-step p {
    color: var(--gray);
    line-height: 1.6;
}

/* Responsive Design for Join Page */
@media (max-width: 768px) {
    .join-hero {
        padding: 150px 20px 80px;
    }
    
    .join-hero h1 {
        font-size: 2.5rem;
    }
    
    .join-hero p {
        font-size: 1.1rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .next-steps-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .join-hero h1 {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 25px 20px;
    }
}
/* Fix Join Us button padding in navigation */
.nav-links .btn-primary {
    padding: 10px 24px !important;
    margin-left: 10px;
}

/* On mobile, make it full width in the menu */
@media (max-width: 768px) {
    .nav-links .btn-primary {
        margin: 10px auto;
        width: 80%;
        display: block;
    }
}
/* Or more specifically: */
.nav-links li:last-child a.btn-primary:hover::after,
.nav-links li:last-child a.btn-primary::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/* Success Message Styles */
.success-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 5px solid var(--secondary);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out 0.3s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon i {
    font-size: 3.5rem;
    color: white;
}

.success-container h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.success-message {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    text-align: left;
}

.success-details h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.next-steps-list {
    list-style: none;
    padding: 0;
}

.next-steps-list li {
    padding: 15px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.next-steps-list li:last-child {
    border-bottom: none;
}

.next-steps-list li i {
    color: var(--secondary);
    font-size: 1.3rem;
    width: 30px;
}

.next-steps-list li strong {
    color: var(--primary);
    margin-right: 5px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

.success-note {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Form submission transition */
.connection-form-section {
    transition: all 0.5s ease;
}

/* Responsive design for success section */
@media (max-width: 768px) {
    .success-container {
        padding: 40px 25px;
    }
    
    .success-container h2 {
        font-size: 2rem;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .success-icon i {
        font-size: 2.8rem;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .success-actions .btn,
    .success-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .next-steps-list li {
        font-size: 0.95rem;
        padding: 12px 0;
    }
}
/* Smooth transitions for form submission */
#formContainer {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#successContainer {
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

/* Sermons Page Styles */

/* Sermons Hero */
.sermons-hero {
    background: linear-gradient(rgba(44, 90, 160, 0.9), rgba(44, 90, 160, 0.8)), 
                url('images/12.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 20px 100px;
    margin-top: 80px;
}

.sermons-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sermons-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-search input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.hero-search button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.hero-search button:hover {
    background: #d6990a;
}

/* Featured Sermon */
.featured-sermon {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.featured-video {
    position: relative;
    min-height: 400px;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.video-placeholder i {
    position: absolute;
    font-size: 5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.video-placeholder i:hover {
    transform: scale(1.1);
    color: var(--secondary);
}

.featured-details {
    padding: 40px;
}

.sermon-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.featured-details h3 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sermon-speaker {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.sermon-speaker i {
    margin-right: 8px;
    color: var(--primary);
}

.sermon-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.sermon-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary);
}

.sermon-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sermon-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Sermon Series */
.sermon-series {
    padding: 100px 0;
    background: white;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.series-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.series-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.series-image {
    height: 200px;
    overflow: hidden;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.series-card:hover .series-image img {
    transform: scale(1.05);
}

.series-content {
    padding: 25px;
}

.series-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.series-status.ongoing {
    background: #e8f5e9;
    color: #2e7d32;
}

.series-status.completed {
    background: #f5f5f5;
    color: #616161;
}

.series-status.upcoming {
    background: #e3f2fd;
    color: #1565c0;
}

.series-content h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.series-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.series-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.series-meta i {
    margin-right: 5px;
}

.series-content .btn {
    width: 100%;
    text-align: center;
}

/* Recent Sermons */
.recent-sermons {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.sermons-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sermons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.sermon-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sermon-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sermon-date {
    color: var(--primary);
    font-weight: 600;
}

.sermon-duration {
    color: var(--gray);
    font-size: 0.9rem;
}

.sermon-title {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.sermon-speaker {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.sermon-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.sermon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.scripture {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.sermon-actions-small {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: var(--primary);
    color: white;
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.archive-note {
    color: var(--gray);
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Podcast Section */
.podcast-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), #1e3d6f);
    color: white;
}

.podcast-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.podcast-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.podcast-info h2 i {
    color: var(--secondary);
}

.podcast-info > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.podcast-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.platform-btn {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    text-decoration: none;
}

.platform-btn.apple:hover { background: rgba(0, 0, 0, 0.7); }
.platform-btn.spotify:hover { background: #1DB954; }
.platform-btn.google:hover { background: #4285F4; }
.platform-btn.rss:hover { background: #FFA500; }

.podcast-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.podcast-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.podcast-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design for Sermons Page */
@media (max-width: 992px) {
    .sermons-hero h1 {
        font-size: 2.8rem;
    }
    
    .featured-container {
        grid-template-columns: 1fr;
    }
    
    .podcast-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .podcast-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .sermons-hero {
        padding: 150px 20px 80px;
    }
    
    .sermons-hero h1 {
        font-size: 2.3rem;
    }
    
    .sermons-hero p {
        font-size: 1.1rem;
    }
    
    .hero-search {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .hero-search input,
    .hero-search button {
        width: 100%;
        border-radius: 0;
        padding: 15px;
    }
    
    .series-grid,
    .sermons-grid {
        grid-template-columns: 1fr;
    }
    
    .sermon-actions {
        flex-direction: column;
    }
    
    .sermon-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .podcast-platforms {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .sermons-hero h1 {
        font-size: 2rem;
    }
    
    .sermon-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .podcast-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Ministries Page Styles */

/* Ministries Hero */
.ministries-hero {
    background: linear-gradient(rgba(44, 90, 160, 0.9), rgba(44, 90, 160, 0.8)), 
                url('images/13.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 20px 100px;
    margin-top: 80px;
}

.ministries-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ministries-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.ministries-hero .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
}

.ministries-hero .btn i {
    margin-right: 10px;
}

/* Ministries Overview */
.ministries-overview {
    padding: 80px 0;
    background: white;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #4a7bc9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-content h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-content p {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Ministries List */
.ministries-list {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.ministry-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.ministry-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.ministry-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ministry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ministry-card:hover .ministry-image img {
    transform: scale(1.05);
}

.ministry-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ministry-content {
    padding: 25px;
}

.ministry-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.ministry-leader {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.ministry-leader i {
    margin-right: 8px;
    color: var(--secondary);
}

.ministry-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ministry-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--primary);
    width: 20px;
}

.ministry-actions {
    display: flex;
    gap: 10px;
}

.ministry-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.view-all-container {
    text-align: center;
    margin-top: 50px;
}

.view-all-note {
    color: var(--gray);
    margin-top: 15px;
    font-size: 0.95rem;
}

.view-all-note a {
    color: var(--primary);
    text-decoration: none;
}

.view-all-note a:hover {
    text-decoration: underline;
}

/* Get Involved CTA */
.get-involved {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e, #2c5aa0);
    color: white;
}

.involved-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.involved-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.involved-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
}

.involved-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: white;
}

.step p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.involved-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.involved-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.involved-actions .btn-outline:hover {
    background: white;
    color: var(--dark);
}

.involved-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.involved-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ministry Events */
.ministry-events {
    padding: 100px 0;
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    display: flex;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.event-date {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.event-content {
    padding: 20px;
    flex: 1;
}

.event-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--secondary);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.3;
}

.event-time,
.event-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-content .btn {
    margin-top: 15px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Responsive Design for Ministries Page */
@media (max-width: 992px) {
    .ministries-hero h1 {
        font-size: 2.8rem;
    }
    
    .involved-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .involved-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .involved-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ministries-hero {
        padding: 150px 20px 80px;
    }
    
    .ministries-hero h1 {
        font-size: 2.3rem;
    }
    
    .ministries-hero p {
        font-size: 1.1rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .ministries-grid {
        grid-template-columns: 1fr;
    }
    
    .ministry-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
        text-align: center;
    }
    
    .ministry-actions {
        flex-direction: column;
    }
    
    .involved-steps {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .ministries-hero h1 {
        font-size: 2rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .involved-actions {
        flex-direction: column;
    }
    
    .involved-actions .btn {
        width: 100%;
    }
}
/* Event Details Page Styles */

/* Event Hero */
.event-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('images/event-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 160px 20px 80px;
    margin-top: 80px;
}

.event-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.event-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.event-breadcrumb a:hover {
    color: var(--secondary);
}

.event-breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.6;
}

.event-breadcrumb span {
    color: var(--secondary);
    font-weight: 600;
}

.event-hero-content {
    max-width: 800px;
}

.event-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.event-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.event-tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.event-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.meta-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
}

.meta-item h4 {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-item p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.event-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Event Main Content */
.event-main {
    padding: 80px 0;
}

.event-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* Event Gallery */
.event-gallery {
    margin-bottom: 40px;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 100px;
    height: 75px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 3px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Description */
.event-description {
    margin-bottom: 50px;
}

.event-description h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.event-description h3 {
    color: var(--dark);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.event-description p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.highlight-box {
    background: var(--light-gray);
    border-left: 4px solid var(--secondary);
    padding: 25px;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box h3 i {
    color: var(--secondary);
}

.highlight-list {
    list-style: none;
    padding: 0;
}

.highlight-list li {
    padding: 8px 0;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.highlight-list li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
}

/* Event Schedule */
.event-schedule {
    margin-bottom: 50px;
}

.event-schedule h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 2rem;
}

.schedule-timeline {
    position: relative;
    padding-left: 30px;
}

.schedule-timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-time {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content h4 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Event Registration Form */
.event-registration {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin: 40px 0;
    border: 2px solid var(--light-gray);
}

.event-registration h2 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.event-registration .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.event-registration .form-group {
    margin-bottom: 25px;
}

.event-registration label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.event-registration input,
.event-registration select,
.event-registration textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.event-registration input:focus,
.event-registration select:focus,
.event-registration textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
    padding: 15px;
}

/* Sidebar */
.event-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 i {
    color: var(--secondary);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 3px;
}

.info-item span {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.event-map {
    margin-top: 20px;
}

.event-map img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.event-map .btn {
    width: 100%;
    text-align: center;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.email { background: var(--primary); }
.share-btn.whatsapp { background: #25D366; }

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.related-events {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-event {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.related-event:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.related-date {
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

