-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservices.php
More file actions
718 lines (658 loc) · 41.1 KB
/
services.php
File metadata and controls
718 lines (658 loc) · 41.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
<?php
session_start();
require_once 'db/config.php';
// Handle logout
if (isset($_GET['logout'])) {
session_destroy();
header('Location: login_signup.php');
exit();
}
// Function to fetch all services
function fetchAllServices($conn) {
$sql = "SELECT * FROM service ORDER BY sid ASC";
$result = $conn->query($sql);
$services = [];
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
$services[] = [
'id' => $row['sid'],
'title' => $row['title'],
'description' => $row['description'],
'benefits' => $row['benefits'] ? explode(',', $row['benefits']) : [],
'image' => $row['image']
];
}
}
return $services;
}
// Fetch all services
$services = fetchAllServices($conn);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Services - Soullift</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
'inter': ['Inter', 'sans-serif'],
'poppins': ['Poppins', 'sans-serif'],
},
colors: {
primary: {
50: '#f0fdfa',
100: '#ccfbf1',
200: '#99f6e4',
300: '#5eead4',
400: '#2dd4bf',
500: '#14b8a6',
600: '#0d9488',
700: '#0f766e',
800: '#115e59',
900: '#134e4a',
},
secondary: {
50: '#faf5ff',
100: '#f3e8ff',
200: '#e9d5ff',
300: '#d8b4fe',
400: '#c084fc',
500: '#a855f7',
600: '#9333ea',
700: '#7e22ce',
800: '#6b21a8',
900: '#581c87',
},
accent: {
50: '#fff7ed',
100: '#ffedd5',
200: '#fed7aa',
300: '#fdba74',
400: '#fb923c',
500: '#f97316',
600: '#ea580c',
700: '#c2410c',
800: '#9a3412',
900: '#7c2d12',
}
}
}
}
}
</script>
<style>
body {
font-family: 'Inter', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins', sans-serif;
}
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border: 1px solid rgba(20, 184, 166, 0.1);
}
.gradient-text {
background: linear-gradient(135deg, #14b8a6 0%, #a855f7 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.btn-primary {
background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
transition: all 0.3s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
}
.btn-secondary {
background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
transition: all 0.3s ease;
}
.btn-secondary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
@keyframes fade-in {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-up {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-in {
0% { transform: scale(0.8); opacity: 0; }
50% { transform: scale(1.05); }
100% { transform: scale(1); opacity: 1; }
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
.animate-fade-in {
animation: fade-in 0.6s ease-out forwards;
}
.animate-slide-up {
animation: slide-up 0.8s ease-out forwards;
}
.animate-bounce-in {
animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
</style>
</head>
<body class="min-h-screen bg-gradient-to-br from-primary-50 via-white to-secondary-50">
<!-- Header -->
<header class="glass-effect sticky top-0 z-50 border-b border-white/20">
<div class="container mx-auto px-6">
<nav class="flex justify-between items-center py-4">
<!-- Logo -->
<a href="Homepage.php" class="flex items-center space-x-3 group">
<div class="relative">
<img src="resources/soullift-logo.svg" alt="SoulLift Logo" class="h-10 w-auto group-hover:scale-105 transition-transform duration-300">
</div>
</a>
<!-- Desktop Navigation -->
<ul class="hidden lg:flex items-center space-x-8">
<li><a href="Homepage.php?page=home" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Home</a></li>
<li><a href="user_profile.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">My Profile</a></li>
<li><a href="blog.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Blog</a></li>
<?php
// choose appointments page based on role
$appointmentsPage = (isset($_SESSION['role']) && $_SESSION['role'] === 'expert') ? 'expert_appointments.php' : 'user_appointments.php';
?>
<?php if (isset($_SESSION['role']) && $_SESSION['role'] === 'user'): ?>
<li><a href="experts.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Experts</a></li>
<li><a href="courses.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Courses</a></li>
<li><a href="services.php" class="text-primary-600 font-semibold px-4 py-2 rounded-xl bg-primary-50/50 backdrop-blur-sm">Services</a></li>
<li><a href="<?php echo $appointmentsPage; ?>" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Appointments</a></li>
<?php elseif (isset($_SESSION['role']) && $_SESSION['role'] === 'expert'): ?>
<li><a href="courses.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Courses</a></li>
<li><a href="schedule.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Schedule</a></li>
<li><a href="<?php echo $appointmentsPage; ?>" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Appointments</a></li>
<?php else: ?>
<li><a href="courses.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">Courses</a></li>
<?php endif; ?>
<li><a href="about.php" class="text-gray-700 hover:text-primary-600 transition-colors font-medium px-4 py-2 rounded-xl hover:bg-white/50">About Us</a></li>
</ul>
<!-- Right side buttons -->
<div class="flex items-center space-x-4">
<!-- Notification Button -->
<a href="notifications.php" class="relative glass-effect text-primary-600 px-4 py-2 rounded-xl hover:bg-white/50 transition-all duration-300 group">
<i class="fas fa-bell mr-2 group-hover:animate-pulse"></i>
<span class="hidden sm:inline">Notifications</span>
</a>
<?php if (isset($_SESSION['role'])): ?>
<a href="Homepage.php?logout=1" class="btn-secondary text-white px-6 py-2 rounded-xl font-semibold shadow-lg hover:shadow-xl transition-all duration-300">
<i class="fas fa-sign-out-alt mr-2"></i>
Log Out
</a>
<?php else: ?>
<a href="login_signup.php" class="btn-primary text-white px-6 py-2 rounded-xl font-semibold shadow-lg hover:shadow-xl transition-all duration-300">
<i class="fas fa-rocket mr-2"></i>
Get Started
</a>
<?php endif; ?>
</div>
<!-- Mobile Menu Button -->
<button class="lg:hidden text-gray-700 hover:text-primary-600 transition-colors p-2" onclick="toggleMobileMenu()">
<i class="fas fa-bars text-xl"></i>
</button>
</nav>
<!-- Mobile Navigation -->
<div id="mobile-menu" class="lg:hidden hidden pb-4">
<div class="glass-card rounded-2xl p-4 mt-4">
<ul class="space-y-2">
<li><a href="Homepage.php?page=home" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Home</a></li>
<li><a href="user_profile.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">My Profile</a></li>
<li><a href="blog.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Blog</a></li>
<?php if (isset($_SESSION['role']) && $_SESSION['role'] === 'user'): ?>
<li><a href="experts.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Experts</a></li>
<li><a href="courses.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Courses</a></li>
<li><a href="services.php" class="block text-primary-600 font-semibold px-4 py-3 rounded-xl bg-primary-50/50">Services</a></li>
<li><a href="<?php echo $appointmentsPage; ?>" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Appointments</a></li>
<?php elseif (isset($_SESSION['role']) && $_SESSION['role'] === 'expert'): ?>
<li><a href="courses.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Courses</a></li>
<li><a href="schedule.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Schedule</a></li>
<li><a href="<?php echo $appointmentsPage; ?>" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Appointments</a></li>
<?php else: ?>
<li><a href="courses.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">Courses</a></li>
<?php endif; ?>
<li><a href="about.php" class="block text-gray-700 hover:text-primary-600 transition-colors px-4 py-3 rounded-xl hover:bg-white/50">About Us</a></li>
</ul>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="relative pt-24 pb-16 overflow-hidden">
<!-- Floating Background Elements -->
<div class="absolute top-20 left-10 w-32 h-32 bg-primary-200 rounded-full opacity-20 animate-float"></div>
<div class="absolute top-40 right-20 w-48 h-48 bg-secondary-200 rounded-full opacity-20 animate-float" style="animation-delay: 1s;"></div>
<div class="absolute bottom-20 left-1/3 w-40 h-40 bg-accent-200 rounded-full opacity-20 animate-float" style="animation-delay: 2s;"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10">
<div class="max-w-4xl mx-auto">
<h1 class="text-5xl md:text-7xl font-bold text-gray-900 mb-8 animate-fade-in">
Our <span class="gradient-text">Mental Health Services</span>
</h1>
<p class="text-xl text-gray-600 mb-12 max-w-3xl mx-auto leading-relaxed animate-fade-in stagger-1">
Comprehensive mental health services designed to support your journey towards wellness and personal growth. Expert care tailored to your unique needs.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center animate-fade-in stagger-2">
<a href="#services" class="btn-primary text-white px-8 py-4 rounded-xl font-semibold shadow-lg">
<i class="fas fa-heartbeat mr-2"></i>Explore Services
</a>
<a href="appointment.php" class="glass-card border-2 border-primary-300 text-gray-700 px-8 py-4 rounded-xl font-semibold hover:shadow-lg transition-all">
<i class="fas fa-calendar-check mr-2"></i>Book Appointment
</a>
</div>
</div>
</div>
</section>
<!-- Services Grid -->
<section id="services" class="py-20 bg-white/50 backdrop-blur-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16 animate-slide-up">
<h2 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">
Professional <span class="gradient-text">Therapy Services</span>
</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Evidence-based therapeutic approaches designed to help you achieve lasting positive change.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<?php
$gradients = [
['from' => 'primary-400', 'to' => 'primary-600'],
['from' => 'secondary-400', 'to' => 'secondary-600'],
['from' => 'accent-400', 'to' => 'accent-600'],
['from' => 'green-400', 'to' => 'green-600'],
['from' => 'blue-400', 'to' => 'blue-600'],
['from' => 'pink-400', 'to' => 'pink-600']
];
$icons = [
'fas fa-user-md',
'fas fa-users',
'fas fa-phone-volume',
'fas fa-heart-pulse',
'fas fa-home-heart',
'fas fa-book-medical'
];
foreach ($services as $index => $service):
$gradient = $gradients[$index % count($gradients)];
$icon = $icons[$index % count($icons)];
?>
<div class="flex flex-col justify-between glass-card rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-500 overflow-hidden group animate-bounce-in" style="animation-delay: <?= ($index % 6) * 0.1 ?>s;">
<!-- Service Image/Icon -->
<div class="relative h-56 bg-gradient-to-br from-<?= $gradient['from'] ?> to-<?= $gradient['to'] ?> flex items-center justify-center overflow-hidden">
<?php if (!empty($service['image'])): ?>
<img src="<?= htmlspecialchars($service['image']) ?>" alt="<?= htmlspecialchars($service['title']) ?>" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
<div class="absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"></div>
<?php else: ?>
<i class="<?= $icon ?> text-white text-6xl group-hover:scale-110 transition-transform duration-300"></i>
<?php endif; ?>
<!-- Floating Badge -->
<div class="absolute top-4 right-4">
<span class="glass-effect text-white px-4 py-2 rounded-full text-sm font-semibold backdrop-blur-md border border-white/30">
<i class="fas fa-check-circle mr-1"></i>Available
</span>
</div>
</div>
<!-- Service Content -->
<div class="p-6">
<h3 class="text-2xl font-bold text-gray-900 mb-4 group-hover:text-primary-600 transition-colors">
<?= htmlspecialchars($service['title']) ?>
</h3>
<p class="text-gray-600 mb-6 leading-relaxed"><?= htmlspecialchars($service['description']) ?></p>
<?php if (!empty($service['benefits'])): ?>
<div class="mb-6">
<h4 class="text-sm font-semibold text-gray-700 mb-3 flex items-center">
<i class="fas fa-star text-accent-500 mr-2"></i>Key Benefits
</h4>
<ul class="space-y-2">
<?php foreach ($service['benefits'] as $benefit): ?>
<li class="text-sm text-gray-600 flex items-start">
<i class="fas fa-check text-primary-600 mr-2 mt-1 flex-shrink-0"></i>
<span><?= htmlspecialchars(trim($benefit)) ?></span>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
<!-- CTA Button -->
<?php if (!isset($_SESSION['user_id'])): ?>
<a href="login_signup.php" class="block w-full btn-secondary text-white text-center py-3 rounded-xl font-semibold shadow-lg">
<i class="fas fa-sign-in-alt mr-2"></i>Log in to Book
</a>
<?php else: ?>
<a href="appointment.php" class="block w-full btn-primary text-white text-center py-3 rounded-xl font-semibold shadow-lg">
<i class="fas fa-calendar-plus mr-2"></i>Book Session
</a>
<?php endif; ?>
</div>
<!-- Bottom Gradient Bar -->
<div class="h-1 bg-gradient-to-r from-<?= $gradient['from'] ?> to-<?= $gradient['to'] ?>"></div>
</div>
<?php endforeach; ?>
</div>
</div>
</section>
<!-- Specialized Programs -->
<section class="py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">
Specialized <span class="gradient-text">Programs</span>
</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Targeted treatment programs designed for specific mental health challenges and conditions.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="glass-card p-8 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300 group">
<div class="flex items-center mb-6">
<div class="w-16 h-16 bg-gradient-to-br from-primary-400 to-primary-600 rounded-2xl flex items-center justify-center mr-4 group-hover:scale-110 transition-transform shadow-lg">
<i class="fas fa-brain text-white text-2xl"></i>
</div>
<h3 class="text-2xl font-bold text-gray-900">Anxiety & Depression Program</h3>
</div>
<p class="text-gray-600 mb-6 leading-relaxed">Comprehensive treatment program for anxiety and depression disorders using evidence-based therapies.</p>
<ul class="space-y-3">
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-primary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Cognitive Behavioral Therapy (CBT)</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-primary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Mindfulness-based interventions</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-primary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Medication management support</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-primary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Relapse prevention strategies</span>
</li>
</ul>
</div>
<div class="glass-card p-8 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300 group">
<div class="flex items-center mb-6">
<div class="w-16 h-16 bg-gradient-to-br from-secondary-400 to-secondary-600 rounded-2xl flex items-center justify-center mr-4 group-hover:scale-110 transition-transform shadow-lg">
<i class="fas fa-shield-heart text-white text-2xl"></i>
</div>
<h3 class="text-2xl font-bold text-gray-900">Trauma Recovery Program</h3>
</div>
<p class="text-gray-600 mb-6 leading-relaxed">Specialized treatment for trauma survivors using trauma-informed care approaches.</p>
<ul class="space-y-3">
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-secondary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>EMDR therapy</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-secondary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Trauma-focused CBT</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-secondary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Safety planning</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-secondary-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Support group integration</span>
</li>
</ul>
</div>
<div class="glass-card p-8 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300 group">
<div class="flex items-center mb-6">
<div class="w-16 h-16 bg-gradient-to-br from-accent-400 to-accent-600 rounded-2xl flex items-center justify-center mr-4 group-hover:scale-110 transition-transform shadow-lg">
<i class="fas fa-balance-scale text-white text-2xl"></i>
</div>
<h3 class="text-2xl font-bold text-gray-900">Addiction Recovery Support</h3>
</div>
<p class="text-gray-600 mb-6 leading-relaxed">Comprehensive support for individuals in recovery from substance use disorders.</p>
<ul class="space-y-3">
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-accent-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Individual counseling</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-accent-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Group support meetings</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-accent-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Relapse prevention</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-accent-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Family support services</span>
</li>
</ul>
</div>
<div class="glass-card p-8 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300 group">
<div class="flex items-center mb-6">
<div class="w-16 h-16 bg-gradient-to-br from-green-400 to-green-600 rounded-2xl flex items-center justify-center mr-4 group-hover:scale-110 transition-transform shadow-lg">
<i class="fas fa-spa text-white text-2xl"></i>
</div>
<h3 class="text-2xl font-bold text-gray-900">Mindfulness & Wellness</h3>
</div>
<p class="text-gray-600 mb-6 leading-relaxed">Learn mindfulness techniques and wellness practices to enhance mental health.</p>
<ul class="space-y-3">
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-green-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Meditation training</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-green-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Stress reduction techniques</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-green-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Wellness workshops</span>
</li>
<li class="text-gray-600 flex items-start">
<i class="fas fa-check-circle text-green-600 mr-3 mt-1 flex-shrink-0"></i>
<span>Self-care planning</span>
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- How It Works -->
<section class="py-20 bg-white/50 backdrop-blur-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">
How It <span class="gradient-text">Works</span>
</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Your journey to mental wellness begins with a simple four-step process.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<div class="text-center group">
<div class="relative mb-6">
<div class="w-20 h-20 bg-gradient-to-br from-primary-400 to-primary-600 text-white rounded-2xl flex items-center justify-center mx-auto text-3xl font-bold shadow-lg group-hover:scale-110 transition-transform">1</div>
<div class="absolute top-1/2 left-1/2 w-24 h-24 bg-primary-200 rounded-full -z-10 group-hover:scale-125 transition-transform opacity-20"></div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Initial Assessment</h3>
<p class="text-gray-600 leading-relaxed">Complete a comprehensive assessment to determine your needs and goals.</p>
</div>
<div class="text-center group">
<div class="relative mb-6">
<div class="w-20 h-20 bg-gradient-to-br from-secondary-400 to-secondary-600 text-white rounded-2xl flex items-center justify-center mx-auto text-3xl font-bold shadow-lg group-hover:scale-110 transition-transform">2</div>
<div class="absolute top-1/2 left-1/2 w-24 h-24 bg-secondary-200 rounded-full -z-10 group-hover:scale-125 transition-transform opacity-20"></div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Therapist Matching</h3>
<p class="text-gray-600 leading-relaxed">Get matched with a qualified therapist who specializes in your area of concern.</p>
</div>
<div class="text-center group">
<div class="relative mb-6">
<div class="w-20 h-20 bg-gradient-to-br from-accent-400 to-accent-600 text-white rounded-2xl flex items-center justify-center mx-auto text-3xl font-bold shadow-lg group-hover:scale-110 transition-transform">3</div>
<div class="absolute top-1/2 left-1/2 w-24 h-24 bg-accent-200 rounded-full -z-10 group-hover:scale-125 transition-transform opacity-20"></div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Treatment Plan</h3>
<p class="text-gray-600 leading-relaxed">Develop a personalized treatment plan with your therapist.</p>
</div>
<div class="text-center group">
<div class="relative mb-6">
<div class="w-20 h-20 bg-gradient-to-br from-green-400 to-green-600 text-white rounded-2xl flex items-center justify-center mx-auto text-3xl font-bold shadow-lg group-hover:scale-110 transition-transform">4</div>
<div class="absolute top-1/2 left-1/2 w-24 h-24 bg-green-200 rounded-full -z-10 group-hover:scale-125 transition-transform opacity-20"></div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Ongoing Support</h3>
<p class="text-gray-600 leading-relaxed">Receive ongoing therapy sessions and support throughout your journey.</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 bg-gradient-to-br from-primary-600 via-secondary-600 to-accent-600 relative overflow-hidden">
<!-- Background Pattern -->
<div class="absolute inset-0 opacity-10">
<div class="absolute top-0 left-0 w-full h-full" style="background-image: radial-gradient(circle, white 1px, transparent 1px); background-size: 30px 30px;"></div>
</div>
<div class="max-w-4xl mx-auto text-center px-4 sm:px-6 lg:px-8 relative z-10">
<h2 class="text-4xl md:text-5xl font-bold text-white mb-6">Ready to Begin Your Healing Journey?</h2>
<p class="text-xl text-white/90 mb-10">
Take the first step towards better mental health. Our compassionate team is here to support you every step of the way.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<a href="appointment.php" class="bg-white text-primary-600 px-8 py-4 rounded-xl font-semibold hover:shadow-2xl transition-all duration-300 transform hover:scale-105">
<i class="fas fa-calendar-check mr-2"></i>Book Appointment
</a>
<a href="login_signup.php" class="glass-effect border-2 border-white text-white px-8 py-4 rounded-xl font-semibold hover:bg-white/10 transition-all duration-300">
<i class="fas fa-user-plus mr-2"></i>Create Account
</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white">
<div class="max-w-7xl mx-auto px-4 py-16">
<div class="grid md:grid-cols-4 gap-8">
<div class="space-y-6">
<div class="flex items-center space-x-3">
<img src="resources/soullift-logo.svg" alt="Soullift Logo" class="w-10 h-10">
<span class="text-2xl font-heading font-bold bg-gradient-to-r from-primary-400 to-secondary-400 bg-clip-text text-transparent">
Soullift
</span>
</div>
<p class="text-gray-400 leading-relaxed">
Providing compassionate mental health support and counseling services to help you live a more fulfilling life.
</p>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 bg-primary-600 rounded-full flex items-center justify-center hover:bg-primary-700 transition-colors">
<i class="fab fa-facebook text-white"></i>
</a>
<a href="#" class="w-10 h-10 bg-secondary-600 rounded-full flex items-center justify-center hover:bg-secondary-700 transition-colors">
<i class="fab fa-instagram text-white"></i>
</a>
<a href="#" class="w-10 h-10 bg-primary-600 rounded-full flex items-center justify-center hover:bg-primary-700 transition-colors">
<i class="fab fa-twitter text-white"></i>
</a>
<a href="#" class="w-10 h-10 bg-accent-600 rounded-full flex items-center justify-center hover:bg-accent-700 transition-colors">
<i class="fab fa-linkedin text-white"></i>
</a>
</div>
</div>
<div>
<h3 class="font-heading text-lg font-semibold mb-6 text-white">Quick Links</h3>
<ul class="space-y-3 text-gray-400">
<li><a href="Homepage.php" class="hover:text-primary-400 transition-colors">Home</a></li>
<li><a href="services.php" class="hover:text-primary-400 transition-colors">Services</a></li>
<li><a href="experts.php" class="hover:text-primary-400 transition-colors">Therapists</a></li>
<li><a href="courses.php" class="hover:text-primary-400 transition-colors">Resources</a></li>
<li><a href="blog.php" class="hover:text-primary-400 transition-colors">Blog</a></li>
</ul>
</div>
<div>
<h3 class="font-heading text-lg font-semibold mb-6 text-white">Support</h3>
<ul class="space-y-3 text-gray-400">
<li><a href="mailto:info@soullift.com" class="hover:text-primary-400 transition-colors">Email Support</a></li>
<li><a href="tel:+15551234567" class="hover:text-primary-400 transition-colors">Emergency Hotline</a></li>
<li><span class="text-gray-500">Crisis Support: 24/7</span></li>
<li><a href="#" class="hover:text-primary-400 transition-colors">FAQs</a></li>
</ul>
</div>
<div>
<h3 class="font-heading text-lg font-semibold mb-6 text-white">Newsletter</h3>
<p class="text-gray-400 mb-4">Subscribe for mental health tips and updates.</p>
<div class="space-y-3">
<input type="email" placeholder="Your email address" class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg text-white placeholder-gray-400 focus:ring-2 focus:ring-primary-500 focus:border-transparent">
<button class="w-full bg-gradient-to-r from-primary-600 to-secondary-600 text-white py-3 rounded-lg font-semibold hover:shadow-lg transition-all duration-300 transform hover:scale-105">
Subscribe
</button>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8">
<div class="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
<p class="text-gray-400 text-center md:text-left">
© <?php echo date("Y"); ?> Soullift. All rights reserved. | Mental wellness for everyone
</p>
<div class="flex space-x-6 text-sm text-gray-400">
<a href="#" class="hover:text-primary-400 transition-colors">Privacy Policy</a>
<a href="#" class="hover:text-primary-400 transition-colors">Terms of Service</a>
<a href="#" class="hover:text-primary-400 transition-colors">Cookie Policy</a>
</div>
</div>
</div>
</div>
</footer>
<script>
// Mobile Menu Toggle
function toggleMobileMenu() {
const mobileMenu = document.getElementById('mobile-menu');
const menuBtn = document.getElementById('mobile-menu-btn');
if (mobileMenu.classList.contains('hidden')) {
mobileMenu.classList.remove('hidden');
menuBtn.innerHTML = '<i class="fas fa-times text-primary-600 text-xl"></i>';
} else {
mobileMenu.classList.add('hidden');
menuBtn.innerHTML = '<i class="fas fa-bars text-primary-600 text-xl"></i>';
}
}
document.getElementById('mobile-menu-btn').addEventListener('click', toggleMobileMenu);
// Smooth scroll for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
</script>
</body>
</html>