forked from ayush-that/FinVeda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
1275 lines (1113 loc) · 44.1 KB
/
faq.html
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
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FAQ - FinVeda</title>
<link rel="shortcut icon" href="./assets/images/favicon2.webp" type="image/png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./assets/css/animate.css" />
<link rel="stylesheet" href="./assets/css/magnific-popup.css" />
<link rel="stylesheet" href="./assets/css/slick.css" />
<link rel="stylesheet" href="./assets/css/LineIcons.css" />
<link rel="stylesheet" href="./assets/css/font-awesome.min.css" />
<link rel="stylesheet" href="./assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="./assets/css/default.css" />
<link rel="stylesheet" href="./assets/css/style.css" />
<link rel="stylesheet" href="./assets/css/quiz.css" />
<link rel="stylesheet" href="./assets/css/popup.css" />
<link rel="stylesheet" href="./assets/css/about.css"/>
<link rel="stylesheet" href="./assets/css/preloader.css"/>
<link rel="stylesheet" href="./assets/css/index.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" />
<link rel="stylesheet" href="./assets/css/about(inlines).css" />
<link rel="stylesheet" href="navbar.css">
<style>
/* General Body Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #6e7a76;
}
/* FAQ Section Styles */
.faq-section {
max-width: 1000px;
margin: 50px auto;
padding: 50px;
background-color: #f8f9fa;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* FAQ Title */
.faq-title {
width: 100%;
text-align: center;
font-size: 34px;
font-weight: bold;
color: #333;
margin-bottom: 30px;
transition: color 0.3s ease, transform 0.3s ease;
}
.faq-title:hover {
text-decoration: underline;
color: #007bff;
transform: scale(1.05);
}
/* FAQ Intro Paragraph */
.faq-intro p {
margin-top: 50px;
text-align: center;
font-size: 1.2rem;
color: #134878;
margin-bottom: 30px;
}
/* Search Bar */
.faq-search {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.faq-search-input {
margin-top: 30px;
padding: 10px;
font-size: 1rem;
width: 40%;
border: 1px solid #007bff;
border-radius: 5px;
transition: border-color 0.3s ease;
}
.faq-search-btn {
margin-top: 30px;
padding: 10px 20px;
font-size: 1rem;
margin-left: 10px;
border: none;
border-radius: 5px;
background-color: #007bff;
color: #fff;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.faq-search-btn:hover {
background-color: #0056b3;
transform: scale(1.05);
}
/* FAQ Progress Styles */
.faq-container {
max-width: 1000px;
margin: 50px auto; /* Increased margin for better visibility */
margin-top: 8%;
padding: 5%;
background-color: #2a2f35;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.progress {
height: 25px;
background-color: #e0e0e0;
margin-bottom: 20px;
}
.progress-bar {
background-color: #007bff;
height: 100%;
width: 0;
border-radius: 5px;
text-align: center;
line-height: 25px;
color: rgb(148, 92, 92);
transition: width 0.3s ease;
}
/* Default (light mode) styles */
.faq-item {
margin: 20px 0;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
cursor: pointer;
transition: border-color 0.3s;
}
.faq-item:hover {
border-color: #0000ff;
}
.faq-item.read {
background-color: #595c5f;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
.faq-item {
border-color: #0000ff; /* Darker border for dark mode */
background-color: #eee7e7; /* Darker background for dark mode */
color: #080808; /* Light text color for dark mode */
}
.faq-item:hover {
border-color: lightblue; /* Light blue on hover for dark mode */
}
.faq-item.read {
background-color: #919191; /* Slightly lighter background for read items in dark mode */
}
}
.accordion-button {
background-color: #fff;
font-size: 18px;
font-weight: bold;
color: #333;
border: 1px solid #ddd;
border-radius: 12px;
padding: 20px;
transition: all 0.3s ease;
display: flex;
justify-content: space-between;
align-items: center;
}
.accordion-button:focus {
box-shadow: none;
}
.accordion-button:not(.collapsed) {
color: #1565C0;
background-color: #f7f7ff;
}
.accordion-button:not(.collapsed)::after {
/* content: '-'; */
font-size: 24px;
color: #1565C0;
}
.accordion-button.collapsed::after {
/* content: '+'; */
font-size: 24px;
color: #333;
}
.accordion-item {
border: none;
margin-bottom: 10px;
}
.accordion-header {
border-radius: 12px;
}
.accordion-body {
background-color: #f9f9f9;
font-size: 16px;
color: #666;
border-radius: 12px;
padding: 20px;
}
/* Hover effects for better interaction */
.accordion-button:hover {
background-color: #eef2fa;
border-color: #1565C0;
color: #1565C0;
}
.accordion-body {
border-top: 1px solid #ddd;
}
/* Feedback Section */
.feedback-btn {
padding: 10px 20px;
margin: 5px;
font-size: 1rem;
border: none;
border-radius: 5px;
cursor: pointer;
background-color: #007bff;
color: #fff;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.feedback-btn:hover {
background-color: #00b374;
transform: scale(1.05);
}
/* Feedback Form Section */
.faq-feedback {
max-width: 1000px;
margin: 50px auto;
padding: 5%;
background-color: #f8f9fa;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Form Group */
.form-group {
margin-bottom: 20px;
text-align: left;
}
.form-group label {
font-size: 1rem;
color: white;
display: block;
margin-bottom: 8px;
}
.form-input {
width: 100%;
padding: 10px;
font-size: 1rem;
border: 1px solid #ced4da;
border-radius: 5px;
box-sizing: border-box;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
/* color: white; */
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
outline: none;
}
.form-input:hover {
border-color: #0056b3;
}
/* Submit Button */
.button-container {
display: flex;
justify-content: center;
margin-top: 30px;
}
.submit-btn {
padding: 10px 20px;
text-align: center;
font-size: 1.2rem;
border: none;
border-radius: 5px;
background-color: #007bff;
color: #fff;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.submit-btn:hover {
background-color: #0056b3;
transform: scale(1.05);
}
.submit-btn:focus {
outline: none;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* Mobile Responsive */
@media (max-width: 768px) {
.form-input {
width: 100%;
}
}
/* Toggle Button Styles */
.toggle-button {
padding: 0.5em 1em;
cursor: pointer;
border: none;
background-color: #0c0a0a;
color: #fff;
border-radius: 5px;
transition: background-color 0.3s;
}
.toggle-button:hover {
background-color: #555;
}
.toggle-button.dark {
background-color: #f1f1f1;
color: #333;
}
.toggle-button.dark:hover {
background-color: #ddd;
}
.content {
padding: 2em;
text-align: center;
}
body.dark-mode {
background-color: #222;
color: #f1f1f1;
}
</style>
</head>
<body>
<div class="circle-container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<header class="header-area">
<div style="display: flex; justify-content: center;" class="navbar-area">
<div style="display: flex; justify-content: center;" class="container">
<div class="row">
<div style="display: flex; justify-content: center;" class="">
<nav class="navbar navbar-expand-lg " style="display: flex;">
<div class="collapse navbar-collapse sub-menu-bar" id="navbarSupportedContent" style="margin: auto; margin-left: -5px;">
<div class="icon1" >
<a href="./index.html">
<img src="assets/images/FinvedaLogo.png" alt="icon.png" style="width: 11rem;">
</a>
</div>
<ul id="nav" class="navbar-nav ml-auto" style="margin: auto;">
<li class="nav-item">
<a class="page-scroll" href="./index.html" style="color: rgb(237, 242, 244);">Home 🏡</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./about.html" style="color: rgb(237, 242, 244);">About Us 📖</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./finance.html" style="color: rgb(237, 242, 244);">Courses 📚</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./contact.html" style="color: rgb(237, 242, 244);">Contact📞</a>
</li>
<li class="nav-item">
<a class="page-scroll active-link" href="./faq.html" style="color: rgb(237, 242, 244);">Help 🙋♂️</a>
</li>
<!-- Dropdown for Explore -->
<li class="nav-item dropdown" onmouseover="toggleDropdown(true)" onmouseout="toggleDropdown(false)">
<a class="page-scroll dropdown-toggle" href="#" style="color: rgb(237, 242, 244);">
<span class="explore-text">Explore 📚</span>
</a>
<ul class="dropdown-menu">
<li><a href="./trends.html">Trends 📈</a></li>
<li><a href="./tools/sip.html">Tools 🔧</a></li>
<li><a href="./blog.html">Blogs 📰</a></li>
<li><a href="./quiz.html">Quiz 🤔</a></li>
</ul>
</li>
<li class="nav-item no-underline">
<a class="main-btn navbar-btn" style="padding: 2px 20px; color: rgb(237, 242, 244);animation-duration: 0.4s;animation-name: ease;" data-scroll-nav="0" href="./loginPage.html" >Login/Register 💻</a>
</li>
<li class="nav-item no-underline">
<button id="theme-toggle" class="theme-toggle" style="margin-right: 2px;">
🌙
</button>
</li>
</ul>
</div>
<script>
const toggleButton = document.getElementById('theme-toggle');
const body = document.body;
const currentTheme = localStorage.getItem('theme');
if (currentTheme === 'dark') {
body.classList.add('dark-mode');
toggleButton.classList.add('dark');
toggleButton.textContent = '☀️';
}
toggleButton.addEventListener('click', function () {
body.classList.toggle('dark-mode');
toggleButton.classList.toggle('dark');
// Update button icon based on mode
if (body.classList.contains('dark-mode')) {
toggleButton.textContent = '☀️'; // Light mode icon
localStorage.setItem('theme', 'dark');
} else {
toggleButton.textContent = '🌙'; // Dark mode icon
localStorage.setItem('theme', 'light');
}
});
</script>
<style>
h3{
color: #007bff;
/* text-align: center; */
margin-bottom: 18px;
margin-left: 20px;
}
.toggle-button {
padding: 0.5em 1em;
cursor: pointer;
border: none;
background-color: #0c0a0a;
color: #fff;
border-radius: 5px;
transition: background-color 0.3s;
}
.toggle-button:hover {
background-color: #555;
}
.content {
padding: 2em;
text-align: center;
}
h1 {
font-size: 2.5rem;
color: whitesmoke;
margin-top:130px;
}
p {
font-size: 1.2rem;
}
body.dark-mode {
background-color: #222;
color: #f1f1f1; /* Change text color to light for dark mode */
}
.toggle-button.dark {
background-color: #f1f1f1; /* Button background in dark mode */
color: #333; /* Button text color in dark mode */
}
.toggle-button.dark:hover {
background-color: #ddd; /* Button hover color in dark mode */
}
</style>
</nav>
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
<nav class="mobile-menu ">
<a class="page-scroll active-link" href="./index.html">Home 🏡</a>
<a class="page-scroll" href="./about.html">About Us 📖</a>
<a class="page-scroll" href="./trends.html">Trends 📈</a>
<a class="page-scroll" href="./tools/sip.html">Tools 🔧</a>
<a class="page-scroll" href="./blog.html">Blogs 📰</a>
<a class="page-scroll" href="./quiz.html">Quiz 🤔</a>
<a class="page-scroll" href="./contact.html">Contact🤔</a>
<li class="nav-item no-underline">
<a class="main-btn navbar-btn" style="padding: 2px 20px; transform: none; border: none;" href="#"
onclick="openModal()" onmouseout="this.style.color='white'">Login/Register 💻</a>
</li>
<div class="mobile-menu__trigger"><span></span></div>
</nav>
</div>
</div>
</div>
</div>
<link href="./navbar.css" rel="stylesheet">
<script type="text/javascript" src="./navbar.js"></script>
</div>
<div id="particles-1" class="particles"></div>
</div>
</header>
<!-- FAQ Section -->
<div class="faq-container">
<h3 class = "faq-title">FAQ Progress</h3>
<!-- Progress Bar -->
<div style="margin: 5px 0;">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
<span style="padding-left: 0.75rem;">0%</span>
</div>
</div>
</div>
<!-- FAQ Items -->
<div class="faq-item" style="color: #0000a3;">What is FinVeda?</div>
<div class="faq-item" style="color: #0000a3;" >How does FinVeda work?</div>
<div class="faq-item" style="color: #0000a3;">What are the features of FinVeda?</div>
<div class="faq-item" style="color: #0000a3;">How do I contact support?</div>
</div>
<script>
const faqs = document.querySelectorAll('.faq-item');
const progressBar = document.querySelector('.progress-bar');
function updateProgress() {
let completed = 0;
faqs.forEach(faq => {
if (faq.classList.contains('read')) {
completed++;
}
});
let progress = (completed / faqs.length) * 100;
progressBar.style.width = progress + '%';
progressBar.textContent = Math.round(progress) + '%';
}
faqs.forEach(faq => {
faq.addEventListener('click', function() {
faq.classList.toggle('read');
updateProgress();
});
});
</script>
<!-- FAQ Section -->
<img style="position:absolute;width:250px; top: 200px; right: 1270px;mix-blend-mode: multiply;" src="assets/images/HELP-IMG.webp" alt="image">
<div class="faq-section">
<div class="faq-intro">
<h3 class="faq-title">Frequently Asked Questions</h3>
<p>Welcome to Finveda’s FAQ! Here you’ll find answers to common questions about our services, tools, and how we can help you on your financial journey. Still have questions? Contact us or use our AI chatbot for more assistance.</p>
</div>
<div class="faq-search">
<input
type="text"
class="faq-search-input"
placeholder="Type your question..."
aria-label="Search FAQ"
oninput="filterFAQs()"
/>
<button class="faq-search-btn" onclick="filterFAQs()">Search</button>
</div>
<div class="accordion" id="faqAccordion">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
What is Finveda?
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne" data-bs-parent="#faqAccordion">
<div class="accordion-body">
Finveda is a dynamic financial literacy app with Arthsathi AI chatbot, finance blogs, market trends, SIP calculator, and a quiz for effortless finance learning.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
What problem does Finveda solve?
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#faqAccordion">
<div class="accordion-body">
Finveda aims to solve the lack of financial literacy in India, providing tools and resources to improve financial knowledge for individuals.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
What services does Finveda offer?
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#faqAccordion">
<div class="accordion-body">
Finveda offers expert-written blogs, market trends, SIP and PPF calculators, and more for personalized finance education.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingFour">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
How can I start using Finveda?
</button>
</h2>
<div id="collapseFour" class="accordion-collapse collapse" aria-labelledby="headingFour" data-bs-parent="#faqAccordion">
<div class="accordion-body">
Simply sign up and access all our features, including personalized financial education and tools.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingFive">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFive" aria-expanded="false" aria-controls="collapseFive">
Is Finveda free to use?
</button>
</h2>
<div id="collapseFive" class="accordion-collapse collapse" aria-labelledby="headingFive" data-bs-parent="#faqAccordion">
<div class="accordion-body">
Yes, Finveda is completely free to use for all users.
</div>
</div>
</div>
</div>
</div>
<!-- Feedback Section -->
<div class="faq-feedback">
<h3 class="faq-title">Submit Your Feedback or Ask a New Question</h3>
<form class="feedback-form" id="feedbackForm">
<div class="form-group">
<label for="userName">Your Name</label>
<input type="text" id="userName" class="form-input" placeholder="Enter your name" required>
</div>
<div class="form-group">
<label for="userEmail">Your Email</label>
<input type="email" id="userEmail" class="form-input" placeholder="Enter your email" required>
</div>
<div class="form-group">
<label for="userFeedback">Your Feedback / Question</label>
<textarea id="userFeedback" class="form-input" rows="5" placeholder="Enter your feedback or ask a question" required></textarea>
</div>
<div class="button-container">
<button type="submit" class="submit-btn">Submit Feedback</button>
</div>
</form>
</div>
<style>
/* Global body styles for dark theme */
body {
background-color: white; /* Dark background */
color: #ffffff; /* Light text color */
font-family: Arial, sans-serif; /* Clean font */
margin: 0;
padding: 20px;
}
/* FAQ Container styling */
.faq-section {
background-color: white; /* Darker container background */
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}
/* FAQ Item styles */
.accordion-button {
background-color: #2c2c2c; /* Darker background for buttons */
color: #ffffff; /* White text */
border: 1px solid #4caf50; /* Green border */
transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.accordion-button:hover {
background-color: #3c3c3c; /* Slightly lighter on hover */
color: #fffbeb; /* Light color on hover */
box-shadow: 0 0 20px rgba(76, 175, 80, 1); /* Neon glow */
}
.accordion-item {
margin: 10px 0; /* Spacing between items */
}
.accordion-body {
background-color: #2c2c2c; /* Dark background for accordion body */
color: #e0e0e0; /* Light gray text for body */
border-radius: 5px;
padding: 15px;
}
/* Feedback section styles */
.faq-feedback {
border: 2px solid #4caf50; /* Green border */
background: white; /* Dark gradient */
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
color: #ffffff;
max-width: 800px;
margin: 20px auto;
transition: transform 0.3s ease;
}
/* Title styling */
.faq-title {
margin-top: 15px;
margin-bottom: 35px;
font-size: 2.0em;
font-weight: bold;
text-align: center;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* Neon glow */
margin-left: 0px;
}
/* Form input styles */
.form-input {
padding: 10px;
font-size: 1em;
border: 2px solid #ffffff80;
border-radius: 5px;
outline: none;
background-color: #333;
color: #ffffff;
transition: background-color 0.3s ease, border-color 0.3s ease;
}
/* New CSS to change label text color to white */
.form-group label {
color: #ffffff; /* White color for labels */
}
.form-input:focus {
border-color: #4caf50; /* Green border on focus */
background-color: #444; /* Slightly lighter background on focus */
}
/* Button styles */
.submit-btn {
background-color: #4caf50; /* Green background */
color: white; /* White text */
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1.1em;
transition: background-color 0.3s ease;
}
.submit-btn:hover {
background-color: #5cb85c; /* Lighter green on hover */
}
/* Search styles */
.faq-search {
display: flex;
justify-content: center;
margin: 20px 0;
}
.faq-search-input {
width: 70%; /* Adjusted width */
padding: 10px;
border: 2px solid #ffffff80;
border-radius: 5px;
outline: none;
background-color: #333; /* Dark input field */
color: #ffffff; /* Light text color */
transition: background-color 0.3s ease, border-color 0.3s ease;
}
.faq-search-btn {
background-color: #4caf50; /* Green background */
color: white; /* White text */
border: none;
border-radius: 5px;
padding: 10px 15px;
margin-left: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.faq-search-btn:hover {
background-color: #5cb85c; /* Lighter green on hover */
}
/* Responsive styles */
@media (max-width: 768px) {
.faq-search {
flex-direction: column; /* Stack elements on smaller screens */
}
.faq-search-input {
width: 100%; /* Full width on small screens */
margin-bottom: 10px;
}
}
</style>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js"></script>
<script>
function filterFAQs() {
const searchInput = document.getElementById('faq-search-input').value.toLowerCase();
const faqs = document.querySelectorAll('.accordion-item');
faqs.forEach(faq => {
const question = faq.querySelector('.accordion-button').textContent.toLowerCase();
faq.style.display = question.includes(searchInput) ? 'block' : 'none';
});
}
</script>
</body>
<!-- Bootstrap JS and jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<style>
/* Progress bar styles */
/* .progress-container {
width: 100%;
background-color: #f3f3f3;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
} */
/*
.progress-bar {
height: 5px;
width: 0%;
background-color: #4caf50;
transition: width 0.3s;
} */
/* Footer styles */
.footer {
background-color: #007bff;
color: white;
padding: 40px 0;
text-align: center;
position: relative;
width: 100%;
}
.footer-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.footer-container p {
margin: 5px 0;
}
.footer-links {
display: flex;
gap: 15px;
margin-top: 10px;
}
.footer-links a {
color: #4caf50;
text-decoration: none;
font-size: 14px;
}
.footer-links a:hover {
text-decoration: underline;
}
@media (min-width: 768px) {
.footer-container {
flex-direction: row;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.footer-links {
margin-top: 0;
}
}
/* FAQ section styles */
.faq-section {
margin: 50px auto;
max-width: 900px;
padding: 20px;
}
.faq-section h2 {
margin-top: 30px;
}
</style>
</head>
</html>
<body>
<!-- Timed popup that will appear after succesful submission of feebback form! -->
<button class="notification" id="successnotification" style="display:none;">
<span class="message" id="successmsg">Submitted successfully!</span>
<span class="closenotif" id="closeSuccessNotification">✖</span>
<div class="timerline" id="timerline"></div>
</button>