    

<?php $__env->startSection('title', 'Dashboard'); ?>

<?php $__env->startSection('content'); ?>
<div class="page-content">
    <div class="container-fluid">
        <!-- Page Title -->
        <div class="row">
            <div class="col-12">
                <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                    <h4 class="mb-sm-0">Dashboard</h4>
                    <div class="page-title-right">
                        <ol class="breadcrumb m-0">
                            <li class="breadcrumb-item active">Home</li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>

        <!-- Welcome Section -->
        <div class="row">
            <div class="col-12">
                <div class="card border-0 shadow-sm" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
                    <div class="card-body text-white p-4">
                        <div class="row align-items-center">
                            <div class="col-md-8">
                                <h3 class="mb-2">Welcome to Quran Management System</h3>
                                <p class="mb-0 opacity-75">Manage and explore the Holy Quran with ease. Access all surahs, ayats, juzs, and sajdahs from one place.</p>
                            </div>
                            <div class="col-md-4 text-end">
                                <i class="ri-book-open-line" style="font-size: 80px; opacity: 0.3;"></i>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Quick Stats -->
        <div class="row mt-4">
            <div class="col-xl-3 col-md-6">
                <div class="card border-0 shadow-sm card-animate" style="border-top: 4px solid #667eea !important;">
                    <div class="card-body">
                        <div class="d-flex align-items-center">
                            <div class="flex-grow-1">
                                <p class="text-uppercase fw-medium text-muted mb-2">Total Surahs</p>
                                <h3 class="mb-0">114</h3>
                            </div>
                            <div class="flex-shrink-0">
                                <div class="avatar-sm rounded-circle bg-soft-primary d-flex align-items-center justify-content-center">
                                    <i class="ri-book-open-line text-primary fs-3"></i>
                                </div>
                            </div>
                        </div>
                        <div class="mt-3">
                            <a href="<?php echo e(route('quran.surahs')); ?>" class="text-decoration-none">
                                <span class="badge bg-soft-primary text-primary">View All <i class="ri-arrow-right-line"></i></span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-xl-3 col-md-6">
                <div class="card border-0 shadow-sm card-animate" style="border-top: 4px solid #10b981 !important;">
                    <div class="card-body">
                        <div class="d-flex align-items-center">
                            <div class="flex-grow-1">
                                <p class="text-uppercase fw-medium text-muted mb-2">Total Ayats</p>
                                <h3 class="mb-0">6,236</h3>
                            </div>
                            <div class="flex-shrink-0">
                                <div class="avatar-sm rounded-circle bg-soft-success d-flex align-items-center justify-content-center">
                                    <i class="ri-file-text-line text-success fs-3"></i>
                                </div>
                            </div>
                        </div>
                        <div class="mt-3">
                            <a href="<?php echo e(route('quran.ayats')); ?>" class="text-decoration-none">
                                <span class="badge bg-soft-success text-success">View All <i class="ri-arrow-right-line"></i></span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-xl-3 col-md-6">
                <div class="card border-0 shadow-sm card-animate" style="border-top: 4px solid #3b82f6 !important;">
                    <div class="card-body">
                        <div class="d-flex align-items-center">
                            <div class="flex-grow-1">
                                <p class="text-uppercase fw-medium text-muted mb-2">Total Juzs</p>
                                <h3 class="mb-0">30</h3>
                            </div>
                            <div class="flex-shrink-0">
                                <div class="avatar-sm rounded-circle bg-soft-info d-flex align-items-center justify-content-center">
                                    <i class="ri-bookmark-line text-info fs-3"></i>
                                </div>
                            </div>
                        </div>
                        <div class="mt-3">
                            <a href="<?php echo e(route('quran.juzs')); ?>" class="text-decoration-none">
                                <span class="badge bg-soft-info text-info">View All <i class="ri-arrow-right-line"></i></span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-xl-3 col-md-6">
                <div class="card border-0 shadow-sm card-animate" style="border-top: 4px solid #f59e0b !important;">
                    <div class="card-body">
                        <div class="d-flex align-items-center">
                            <div class="flex-grow-1">
                                <p class="text-uppercase fw-medium text-muted mb-2">Total Sajdahs</p>
                                <h3 class="mb-0">15</h3>
                            </div>
                            <div class="flex-shrink-0">
                                <div class="avatar-sm rounded-circle bg-soft-warning d-flex align-items-center justify-content-center">
                                    <i class="ri-hand-heart-line text-warning fs-3"></i>
                                </div>
                            </div>
                        </div>
                        <div class="mt-3">
                            <a href="<?php echo e(route('quran.sajdahs')); ?>" class="text-decoration-none">
                                <span class="badge bg-soft-warning text-warning">View All <i class="ri-arrow-right-line"></i></span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-xl-3 col-md-6">
                <div class="card border-0 shadow-sm card-animate" style="border-top: 4px solid #f093fb !important;">
                    <div class="card-body">
                        <div class="d-flex align-items-center">
                            <div class="flex-grow-1">
                                <p class="text-uppercase fw-medium text-muted mb-2">Total Feedbacks</p>
                                <h3 class="mb-0"><?php echo e($totalFeedbacks ?? 0); ?></h3>
                            </div>
                            <div class="flex-shrink-0">
                                <div class="avatar-sm rounded-circle bg-soft-pink d-flex align-items-center justify-content-center">
                                    <i class="ri-feedback-line text-pink fs-3"></i>
                                </div>
                            </div>
                        </div>
                        <div class="mt-3">
                            <a href="<?php echo e(route('feedback.index')); ?>" class="text-decoration-none">
                                <span class="badge bg-soft-pink text-pink">View All <i class="ri-arrow-right-line"></i></span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Quick Actions -->
        <div class="row mt-4">
            <div class="col-lg-12">
                <div class="card border-0 shadow-sm">
                    <div class="card-header bg-transparent border-bottom">
                        <h5 class="card-title mb-0">
                            <i class="ri-flashlight-line text-warning me-2"></i> Quick Actions
                        </h5>
                    </div>
                    <div class="card-body">
                        <div class="row g-3">
                            <div class="col-xl-3 col-md-6">
                                <a href="<?php echo e(route('quran.index')); ?>" class="quick-action-card">
                                    <div class="card border-0 shadow-sm h-100 hover-lift">
                                        <div class="card-body text-center p-4">
                                            <div class="avatar-md mx-auto mb-3">
                                                <div class="avatar-title bg-soft-primary text-primary rounded-circle">
                                                    <i class="ri-book-open-line fs-2"></i>
                                                </div>
                                            </div>
                                            <h6 class="mb-2 text-dark">Quran Dashboard</h6>
                                            <p class="text-muted mb-0 small">Explore Quran data</p>
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-xl-3 col-md-6">
                                <a href="<?php echo e(route('quran.surahs')); ?>" class="quick-action-card">
                                    <div class="card border-0 shadow-sm h-100 hover-lift">
                                        <div class="card-body text-center p-4">
                                            <div class="avatar-md mx-auto mb-3">
                                                <div class="avatar-title bg-soft-success text-success rounded-circle">
                                                    <i class="ri-file-list-3-line fs-2"></i>
                                                </div>
                                            </div>
                                            <h6 class="mb-2 text-dark">Browse Surahs</h6>
                                            <p class="text-muted mb-0 small">View all 114 chapters</p>
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-xl-3 col-md-6">
                                <a href="<?php echo e(route('books.index')); ?>" class="quick-action-card">
                                    <div class="card border-0 shadow-sm h-100 hover-lift">
                                        <div class="card-body text-center p-4">
                                            <div class="avatar-md mx-auto mb-3">
                                                <div class="avatar-title bg-soft-info text-info rounded-circle">
                                                    <i class="ri-book-line fs-2"></i>
                                                </div>
                                            </div>
                                            <h6 class="mb-2 text-dark">Books</h6>
                                            <p class="text-muted mb-0 small">Manage books</p>
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-xl-3 col-md-6">
                                <a href="<?php echo e(route('duas.index')); ?>" class="quick-action-card">
                                    <div class="card border-0 shadow-sm h-100 hover-lift">
                                        <div class="card-body text-center p-4">
                                            <div class="avatar-md mx-auto mb-3">
                                                <div class="avatar-title bg-soft-warning text-warning rounded-circle">
                                                    <i class="ri-bookmark-line fs-2"></i>
                                                </div>
                                            </div>
                                            <h6 class="mb-2 text-dark">Duas</h6>
                                            <p class="text-muted mb-0 small">Manage duas</p>
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-xl-3 col-md-6">
                                <a href="<?php echo e(route('feedback.index')); ?>" class="quick-action-card">
                                    <div class="card border-0 shadow-sm h-100 hover-lift">
                                        <div class="card-body text-center p-4">
                                            <div class="avatar-md mx-auto mb-3">
                                                <div class="avatar-title bg-soft-pink text-pink rounded-circle">
                                                    <i class="ri-feedback-line fs-2"></i>
                                                </div>
                                            </div>
                                            <h6 class="mb-2 text-dark">Feedback</h6>
                                            <p class="text-muted mb-0 small">View user feedback</p>
                                        </div>
                                    </div>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php $__env->startPush('styles'); ?>
<style>
    .quick-action-card {
        text-decoration: none;
        display: block;
        color: inherit;
    }
    
    .quick-action-card:hover {
        text-decoration: none;
        color: inherit;
    }
    
    .hover-lift {
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    }
    .card-animate {
        transition: all 0.3s ease;
    }
    .card-animate:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
    }
    .avatar-sm {
        width: 3rem;
        height: 3rem;
    }
    .avatar-md {
        width: 4rem;
        height: 4rem;
    }
    .bg-soft-primary {
        background-color: rgba(102, 126, 234, 0.1);
    }
    .bg-soft-success {
        background-color: rgba(16, 185, 129, 0.1);
    }
    .bg-soft-info {
        background-color: rgba(59, 130, 246, 0.1);
    }
    .bg-soft-warning {
        background-color: rgba(245, 158, 11, 0.1);
    }
    .bg-soft-pink {
        background-color: rgba(240, 147, 251, 0.1);
    }
    .text-pink {
        color: #f093fb !important;
    }
</style>
<?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>
   
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/macbookpro/Downloads/mulikat/resources/views/dashboard/home.blade.php ENDPATH**/ ?>