<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $__env->yieldContent('title'); ?> | CAC Gambia</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
    <style>
        :root {
            --primary-color: #ff6b35;
            --secondary-color: #004e64;
            --accent-color: #00b4d8;
            --dark-color: #1a1a2e;
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --text-muted: #6c757d;
        }
        
        * {
            font-family: 'Roboto', sans-serif;
        }
        
        h1, h2, h3, h4, h5, h6, .navbar-brand, .btn, .display-1, .display-2, .display-3, .display-4 {
            font-family: 'Poppins', sans-serif;
        }
        
        body {
            color: var(--dark-color);
            overflow-x: hidden;
        }
        
        .top-bar {
            background-color: var(--secondary-color);
            color: white;
            padding: 12px 0;
            font-size: 0.9rem;
        }
        
        .top-bar a {
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            margin-left: 25px;
            transition: all 0.3s;
        }
        
        .top-bar a:hover {
            color: var(--primary-color);
        }
        
        .navbar {
            background-color: var(--white);
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            padding: 15px 0;
            transition: all 0.3s;
        }
        
        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .navbar-brand {
            font-weight: 800;
            color: var(--secondary-color) !important;
            font-size: 1.6rem;
            display: flex;
            align-items: center;
        }
        
        .navbar-brand i {
            color: var(--primary-color);
            margin-right: 10px;
            font-size: 2rem;
        }
        
        .nav-link {
            color: var(--dark-color) !important;
            font-weight: 500;
            font-size: 0.95rem;
            text-transform: capitalize;
            transition: all 0.3s;
            padding: 10px 18px !important;
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%);
            transition: width 0.3s;
        }
        
        .nav-link:hover::after {
            width: 30px;
        }
        
        .nav-link:hover {
            color: var(--primary-color) !important;
        }
        
        .dropdown-menu {
            border: none;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            border-radius: 10px;
            padding: 20px 0;
            margin-top: 10px;
        }
        
        .dropdown-item {
            padding: 12px 30px;
            font-weight: 500;
            color: var(--dark-color);
            transition: all 0.3s;
        }
        
        .dropdown-item:hover {
            background-color: var(--primary-color);
            color: white;
            padding-left: 40px;
        }
        
        .btn-primary-custom {
            background-color: var(--primary-color);
            color: white;
            font-weight: 600;
            padding: 14px 35px;
            border-radius: 50px;
            text-transform: capitalize;
            border: none;
            transition: all 0.3s;
        }
        
        .btn-primary-custom:hover {
            background-color: #e55a2b;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
        }
        
        .btn-secondary-custom {
            background-color: var(--secondary-color);
            color: white;
            font-weight: 600;
            padding: 14px 35px;
            border-radius: 50px;
            text-transform: capitalize;
            border: none;
            transition: all 0.3s;
        }
        
        .btn-secondary-custom:hover {
            background-color: #003847;
            color: white;
            transform: translateY(-3px);
        }
        
        .btn-outline-custom {
            background-color: transparent;
            color: white;
            font-weight: 600;
            padding: 12px 32px;
            border-radius: 50px;
            text-transform: capitalize;
            border: 2px solid white;
            transition: all 0.3s;
        }
        
        .btn-outline-custom:hover {
            background-color: white;
            color: var(--primary-color);
        }
        
        .hero-section {
            background: linear-gradient(135deg, rgba(0, 78, 100, 0.85), rgba(0, 180, 216, 0.75)), url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            padding: 180px 0 120px;
            margin-top: 70px;
        }
        
        .hero-section h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 25px;
            line-height: 1.2;
        }
        
        .hero-section .lead {
            font-size: 1.25rem;
            opacity: 0.95;
            margin-bottom: 30px;
        }
        
        .section-padding {
            padding: 100px 0;
        }
        
        .section-title {
            color: var(--secondary-color);
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: capitalize;
        }
        
        .section-subtitle {
            color: var(--primary-color);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.85rem;
            margin-bottom: 10px;
            display: block;
        }
        
        .feature-card {
            background: white;
            border-radius: 15px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            transition: all 0.4s;
            border: 1px solid #eee;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            border-color: var(--primary-color);
        }
        
        .feature-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--primary-color), #ff8f5e);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            transition: all 0.3s;
        }
        
        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }
        
        .feature-icon i {
            font-size: 2.2rem;
            color: white;
        }
        
        .service-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.4s;
            border: none;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .service-card .card-body {
            padding: 30px;
        }
        
        .service-icon-lg {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .about-section {
            background: var(--light-bg);
        }
        
        .about-img {
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        }
        
        .stats-section {
            background: linear-gradient(135deg, var(--secondary-color), #0077b6);
            color: white;
            padding: 80px 0;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            font-family: 'Poppins', sans-serif;
        }
        
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .footer {
            background-color: var(--dark-color);
            color: white;
            padding: 80px 0 25px;
        }
        
        .footer h5 {
            font-weight: 700;
            text-transform: capitalize;
            margin-bottom: 25px;
            color: white;
        }
        
        .footer a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s;
            display: block;
            padding: 8px 0;
        }
        
        .footer a:hover {
            color: var(--primary-color);
            padding-left: 8px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 50px;
            padding-top: 25px;
        }
        
        .footer-social a {
            display: inline-flex;
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            transition: all 0.3s;
        }
        
        .footer-social a:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
        }
        
        .page-header {
            background: linear-gradient(135deg, var(--secondary-color), #0077b6);
            color: white;
            padding: 120px 0 80px;
            margin-top: 70px;
        }
        
        .breadcrumb {
            background: transparent;
            padding: 0;
            margin-bottom: 15px;
        }
        
        .breadcrumb-item, .breadcrumb-item a {
            color: rgba(255,255,255,0.8);
        }
        
        .breadcrumb-item.active {
            color: white;
        }
        
        .breadcrumb-item + .breadcrumb-item::before {
            color: rgba(255,255,255,0.5);
        }
        
        .cause-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s;
        }
        
        .cause-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .cause-progress {
            height: 8px;
            background: #eee;
            border-radius: 4px;
            overflow: hidden;
            margin: 15px 0;
        }
        
        .cause-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            border-radius: 4px;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fade {
            animation: fadeInUp 0.8s ease forwards;
        }
        
        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
    </style>
    <?php echo $__env->yieldContent('styles'); ?>
</head>
<body>
    <div class="top-bar">
        <div class="container d-flex justify-content-between align-items-center">
            <div class="d-flex align-items-center">
                <span class="me-4"><i class="fas fa-map-marker-alt me-2"></i>Gambia</span>
                <span><i class="fas fa-clock me-2"></i>Sun: 10AM - 12PM | Wed: 5PM | Fri: 5PM</span>
            </div>
            <div class="d-flex">
                <a href="#"><i class="fas fa-phone me-1"></i> +220 7900881</a>
                <a href="#"><i class="fas fa-envelope me-1"></i> cacthegambia@gmail.com</a>
            </div>
        </div>
    </div>

    <nav class="navbar navbar-expand-lg navbar-light sticky-top" id="mainNav">
        <div class="container">
            <a class="navbar-brand" href="<?php echo e(route('home')); ?>">
                <i class="fas fa-church"></i>CAC Gambia
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto align-items-center">
                    <?php if(isset($menuItems) && $menuItems->count() > 0): ?>
                        <?php $__currentLoopData = $menuItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menuItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($menuItem->children->count() > 0): ?>
                                <li class="nav-item dropdown">
                                    <a class="nav-link dropdown-toggle" href="#" id="<?php echo e($menuItem->slug); ?>Dropdown" role="button" data-bs-toggle="dropdown">
                                        <?php echo e($menuItem->name); ?>

                                    </a>
                                    <ul class="dropdown-menu">
                                        <?php $__currentLoopData = $menuItem->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <li><a class="dropdown-item" href="<?php echo e(url($child->url)); ?>"><?php echo e($child->name); ?></a></li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </ul>
                                </li>
                            <?php else: ?>
                                <li class="nav-item">
                                    <a class="nav-link" href="<?php echo e(url($menuItem->url)); ?>"><?php echo e($menuItem->name); ?></a>
                                </li>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php else: ?>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('home')); ?>">Home</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('about')); ?>">About</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('leadership')); ?>">Leadership</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('departments')); ?>">Ministries</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('services')); ?>">Services</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('branches')); ?>">Branches</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('contact')); ?>">Contact</a>
                        </li>
                    <?php endif; ?>
                    <li class="nav-item ms-2">
                        <a href="<?php echo e(route('donation')); ?>" class="btn btn-primary-custom">Donate Now</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <?php echo $__env->yieldContent('content'); ?>

    <footer class="footer">
        <div class="container">
            <div class="row">
                <div class="col-lg-4 col-md-6 mb-4 mb-lg-0">
                    <h5>Christ Apostolic Church Gambia</h5>
                    <p class="mb-3" style="color: rgba(255,255,255,0.7);">The Whole Bible, Whole Counsel, Whole Truth. An arm of CAC Nigeria, established 1918.</p>
                    <div class="footer-social mt-4">
                        <a href="#"><i class="fab fa-facebook-f"></i></a>
                        <a href="#"><i class="fab fa-twitter"></i></a>
                        <a href="#"><i class="fab fa-instagram"></i></a>
                        <a href="#"><i class="fab fa-youtube"></i></a>
                    </div>
                </div>
                <div class="col-lg-2 col-md-6 mb-4 mb-lg-0">
                    <h5>Explore</h5>
                    <a href="<?php echo e(route('about')); ?>">About Us</a>
                    <a href="<?php echo e(route('leadership')); ?>">Leadership</a>
                    <a href="<?php echo e(route('branches')); ?>">Branches</a>
                    <a href="<?php echo e(route('services')); ?>">Services</a>
                </div>
                <div class="col-lg-2 col-md-6 mb-4 mb-lg-0">
                    <h5>Ministries</h5>
                    <a href="<?php echo e(route('departments')); ?>">All Ministries</a>
                    <a href="<?php echo e(route('department.show', 'children-ministry')); ?>">Children</a>
                    <a href="<?php echo e(route('department.show', 'youth-ministry')); ?>">Youth</a>
                    <a href="<?php echo e(route('department.show', 'women-ministry')); ?>">Women</a>
                </div>
                <div class="col-lg-2 col-md-6 mb-4 mb-lg-0">
                    <h5>Connect</h5>
                    <a href="<?php echo e(route('contact')); ?>">Contact Us</a>
                    <a href="#">Request Prayer</a>
                    <a href="#">Visitors</a>
                    <a href="#">FAQs</a>
                </div>
                <div class="col-lg-2 col-md-6">
                    <h5>Give</h5>
                    <a href="<?php echo e(route('donation')); ?>">Donate</a>
                    <a href="#">Tithes & Offerings</a>
                    <a href="#">Building Fund</a>
                </div>
            </div>
            <div class="footer-bottom text-center">
                <p class="mb-0">&copy; <?php echo e(date('Y')); ?> Christ Apostolic Church Gambia. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        window.addEventListener('scroll', function() {
            const nav = document.getElementById('mainNav');
            if (window.scrollY > 50) {
                nav.classList.add('scrolled');
            } else {
                nav.classList.remove('scrolled');
            }
        });
    </script>
    <?php echo $__env->yieldContent('scripts'); ?>
</body>
</html>
<?php /**PATH C:\xampp\htdocs\cacthegambia\cacthegambia\resources\views/layouts/master.blade.php ENDPATH**/ ?>