

PROMPT:
Act as a senior software developer. Using the attached documentation as your primary reference, design and develop a modern.
 I want to build a fully functional Advance Church Management System website with admin panel using laravel 12 and mysql database 
 strictly for the use by church administrators. Make frontend design classic, royal and unique. The admin panel should be fully functional and from admin panel we should be able to fully control the frontend. The admin panel should have a dark and light theme with royal design. 
 Adhere to best coding practices, including clean architecture, modular structures, and reusable components.
  When the project is complete double check if there in any error and fix it.


Menu Structure
 1.   Dashboard
 2.   Members
 3.   Visitors
 4.   Attendance
 5.   Finance
 6.   Bulk Sms
 7.   Equipment
 8.   Report
 9.   Settings
 10. Cluster follow-up

1.1 Member Profile System
   -  Personal Information Management
   -  Contact Details (Phone, Email, Address)
   -  Emergency Contacts
   -  Profile Photo Management	
   -  Custom Fields Configuration
   -  Document Attachment (Baptism Certificate)

1.2 Family Relationship System
   -  Family Unit Management
   -  Family Tree Visualization
   -  Household Grouping
   -  Family Role Definition
   -  Multiple family relationships
   -  Family Communication Preferences

 1.3 Attendance System
   -  Digit Check-IN
   -  QR Code Based Attendance
   -  Mobile Check-In Options
   -  Multiple Service Tracking
   -  Attendance History
   -  Automated Absence Notifications

1.4 Membership Lifecycle 
   -  Status Tracking
   -  New Member Onboarding
   -  Members Class Tracking
   -  Status Changes History
   -  Membership Renewal
   -  Transfer Management	

1.5 Notification System
   -  Automated Notifications	
   -  Birthday Reminders
   -  Anniversary  Celebrations
   -  Membership Milestones
   -  Custom Event Reminders
   -  Follow-Up Notifications 

2.0 Enhanced Financial Management
2.1 Donation Management
   -  Online Giving
   -  Multiple Payment Methods
   -  Recurring Donations
   -  Campaign-Specific Giving
   -  Donor Statements
   -  Gift Aid Processing
 2.2 Pledge System
   -  Pledge Tracking
   -  Pledge Campaigns
   -  Progress Monitoring
   -  Reminders System
   -  Pledge Fulfillment Reports
   -  Historical Pledge Data

2.3 Expense Managements
   -   Budget Control
   -  Expense Categories
   -  Approval Workflows
   -  Receipt Management
   -  Budge vrs. Actual Tracking
   -  Department Allocations

 2.4 Financial Reporting
  -  Comprehensive Reports
   -  Monthly Statements
   -  Annual Reports
   -  Custom Period Reports
   -  Department-wise Analysis
   -  Trend Analysis 

 3.0 Enhanced Communication System
 3.1 SMS Management
   -  Bulk Messaging
   -  Group Messaging
   -  Template Management
   -  Scheduled Messages
   -  Delivery Reports
   -  Opt-Out Management

3.2 Prayer Request System
   -  Request Management
   -  Submit Requests
   -  Prayer Chain
   -  Status Tracking
   -  Privacy Control
   -  Response Tracking

3.3 Internal Messaging
   -  Secure Communication
   -  Direct Messaging
   -  Group Chat
   -  File Sharing
   -  Message History
   -  Read Receipts

4.0 Technical Implementation 
4.1 Frontend Architecture 
   -  HTML5/Tailwind CSS/Javascript
   -  Responsive Design/ Royal theme Design with Dark and Light Theme
   -  Component-based structure
   -  Progressive Web App
   -  Cross-Browser Compatibility 
   -  Accessibility Compliance

 4.2 Backend Architecture
   -  PHP Laravel 12 Framework
   -  MVC Architecture
   -  RESTful API Design
   -  Service Layer
   -  Repository Pattern
   -  Event-Driven Architecture 
 
 4.3 Database Design (MySQL)
   -  Optimized Schema
   -  Normalized Tables
   -  Indexed Queries
   -  Store Procedures
   -  Transaction Management
   -  Data Partitioning

 5.0 Security Implementation 
 5.1 Authentication System
   -  Multi-Layer Security
   -  Role-Based Access Control
   -  Two-Factor Authentication 
   -  Password Policies
   -  Session Management
   -  Login Attem Monitoring

 5.2 Data Protection
   -  Security Measures
   -  Data Encryption at rest
   -  SSL/TLS Encryption 
   -  Regular Backups
   -  Data Retention Policies
   -  GDPR Compliance

 5.3 Application Security
   -  Security Features
   -  Input Validation
   -  XSS Protection
   -  CSRF Protection
   -  SQL Injection Prevention
   -  API Security

 5.4 Audit System
   -  Activity Tracking
   -  User Action Logs
   -  System Changes
   -  Access Logs
   -  Error Logging
   -  Security Incident Tracking

6.0 Reporting and Analytics
6.1 Dashboard System
   -  Interactive Dashboards
   -  Customization Widgets
   -  Real-Time Updates
   -  Data Visualization
   -  Export Capabilities
   -  Drill-Down Analysis

6.2 Analytics Engine
   -  Data Analysis
   -  Attendance Patterns
   -  Financial Trends
   -  Growth Metrics
   -  Ministry Effectiveness
   -  Member Engagement

7. System Integration
 7.1 External Services
 - Third-party Integration
 - Payment gateways
 - SMS services
 - Email services
 - Cloud storage
 - Streaming platforms

 7.2 API Management
 - API Architecture
 - RESTful endpoints
 - Authentication
 - Rate limiting
