-
Notifications
You must be signed in to change notification settings - Fork 207
/
index.html
1217 lines (1071 loc) · 35.3 KB
/
index.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" />
<head>
<link rel="icon" />
<link rel="icon" href="image/ml fusion lab log.jpg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ML Fusion Lab</title>
<!-- Linking Css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="./style/popup.css" />
<link rel="stylesheet" href="./style/style.css" />
<style>
header {
height: 200px;
color: #333;
}
nav {
margin: 1rem 0;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
}
nav ul li {
display: inline-block;
margin: 0 1px;
/* Reduce margin between items */
font-size: 2px;
/* Smaller font size */
}
nav ul li a {
text-decoration: none;
padding: 3px;
/* Reduce padding for a more compact look */
color: #333;
transition: color 0.3s ease;
}
.logo {
margin: 30px 0 0 0;
color: #333;
}
.newsletter .input-group .input {
color: black;
/* height: 50px; */
width: 450px;
}
#scrollTopBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
font-size: 18px;
background-color: #00bfff;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
}
#scrollTopBtn:hover {
background-color: #555;
}
#cookie-consent {
position: fixed;
bottom: 10px;
left: 10px;
background-color: #292b30;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 300px;
height: fit-content;
z-index: 10000;
border-radius: 10px;
margin-bottom: 5px;
margin: 20px;
border-right: 5px solid transparent;
border-bottom: 5px solid transparent;
transition: border-color 0.6s;
border: 3px solid #000000;
}
#cookie-consent:hover {
border-right-color: #336491;
border-bottom-color: #323257;
}
#cookie-consent img {
width: 20px;
/* Adjust this size as needed */
height: auto;
margin-right: 15px;
}
#cookie-consent p {
margin-bottom: 10px;
color: rgb(255, 252, 252);
/* Make the text black for better visibility */
text-align: center;
/* Center align the text */
}
.accept-cookies,
.reject-cookies {
width: 260px;
/* Decrease the button width */
height: 35px;
/* Decrease the button height */
color: white;
background-color: #3e6088;
border: none;
border-radius: 5px;
/* Add rounded corners */
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s,
color 0.3s;
/* Smooth transition for effects */
}
.reject-cookies {
margin-top: 10px;
}
.accept-cookies:hover,
.reject-cookies:hover {
transform: scale(0.95);
box-shadow: 0 0 15px rgb(164, 232, 240);
/* Reduce the shadow size */
}
.accept-cookies:hover {
background-color: rgb(174, 233, 255);
color: #ffffff;
border: 2px solid rgb(0, 0, 0);
}
.reject-cookies:hover {
background-color: rgb(174, 233, 255);
color: #ffffff;
border: 2px solid rgb(0, 0, 0);
}
#learn-more-link,
#show-less-link {
color: #bebebe;
text-decoration: none;
cursor: pointer;
font-size: 20px;
}
#cookie-content {
display: none;
margin-top: 10px;
}
.dark-mode #cookie-consent {
background-color: #000000;
margin-left: 8px;
}
.dark-mode #cookie-consent p {
color: white;
margin-left: 8px;
}
.hero-content h2{
font-size: 4rem;
transition: 0.5s;
}
.hero-content h2:hover{
-webkit-text-stroke: 2px white;
color: transparent;
}
#btn-hover{
background-color:white;
color: #000000;
}
#btn-hover:hover{
background-color: #00bfff;
color: white;
}
</style>
</head>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./style/scroll.css" />
</head>
<body style="margin-right: 12px;">
<!-- html for mouse cursor trail effect -->
<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 class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<header style="width: 100.8%;">
<div id="progress-container">
<div id="progress-bar"></div>
</div>
<div class="logo" style="margin-top: 15px">
<a href="index.html">
<h1>
<img src="./image/ml fusion lab log.jpg" alt="logo" width="100" height="100" />
</h1>
</a>
</div>
<nav>
<div class="hamburger" id="hamburger">☰</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="pages/courses.html">Courses</a></li>
<li><a href="pages/projects.html">Projects</a></li>
<li><a href="pages/about.html">About Us</a></li>
<li><a href="pages/contact.html">Contact</a></li>
<li><a href="pages/community_suport.html">Community Support</a></li>
<li><a href="pages/feedback.html">Feedback</a></li>
<!-- Login/Logout Button -->
<li><a id="login-btn" href="pages/login.html">Login</a></li>
<li style="display: none;" id="logout-btn">
<a href="#" onclick="logout()">Logout</a>
</li>
<li>
<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
flag_size: 16,
};
</script>
<script src="https://cdn.gtranslate.net/widgets/latest/popup.js" defer></script>
</li>
<div id="themeSwitch" class="theme-switch">
<input type="checkbox" class="checkbox" id="checkbox">
<label for="checkbox" class="checkbox-label">
<img src="./Assets/sun.png" class="theme-btn">
<img src="./Assets/moon.png" class="theme-btn">
<span class="ball"></span>
</label>
</div>
<script>
// Function to toggle the theme and update local storage
const toggleTheme = () => {
const checkbox = document.getElementById("checkbox");
if (checkbox.checked) {
document.body.classList.add("dark-mode"); // Update to match your CSS
localStorage.setItem("theme", "dark"); // Save theme to localStorage
} else {
document.body.classList.remove("dark-mode"); // Update to match your CSS
localStorage.setItem("theme", "light"); // Save theme to localStorage
}
};
// Load the theme from local storage on page load
const loadTheme = () => {
const theme = localStorage.getItem("theme");
const checkbox = document.getElementById("checkbox");
// Check the stored theme and apply it
if (theme === "dark") {
checkbox.checked = true; // Set checkbox state
document.body.classList.add("dark-mode"); // Apply dark theme
} else {
checkbox.checked = false; // Set checkbox state
document.body.classList.remove("dark-mode"); // Apply light theme
}
};
// Event listener for the checkbox
document.getElementById("checkbox").addEventListener("change", toggleTheme);
// Call the function to load the theme when the page loads
window.onload = loadTheme;
</script>
</ul>
</nav>
</header>
<style>
@media screen and (max-width: 600px) {
header{
height: 98px;
}
.hamburger{
margin-top: 5px;
}
.hero-content h2{
font-size: 3rem;
}
}
@media screen and (max-width: 834px) {
header{
height: 111px;
}
.hamburger{
margin-top: 5px;
}
}
</style>
<section class="hero" style="width: 100.8%">
<div class="hero-content">
<h2>Learn Machine Learning with Us</h2>
<p>
We provide top-notch resources to help you master machine learning,
from basics to advanced levels.
</p>
<a href="pages/courses.html" id="btn-hover" class="btn px-4 py-2 ">Explore Courses</a>
</div>
</section>
<!-- about section starts -->
<section class="about" id="about">
<div class="row">
<div class="img-container">
<img
src="https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="ML Fusion Lab" />
<h3>ML FUSION LAB</h3>
</div>
<div class="content">
<h3 class="content-heading">About Us</h3>
<!-- Added a heading for bold text -->
<p>
We are a community-driven platform that aims to provide free,
accessible, and high-quality machine learning tutorials, projects,
and resources for all. Whether you are a beginner or an experienced
professional, ML Fusion Labs has something to offer for everyone.
</p>
<a href="#" class="btn">Learn more</a>
</div>
</div>
</section>
<!-- Direct Course Jump-In -->
<div class="direct-course" style="width: 98.7%;">
<h3 class="head-h3">Jump To Courses</h3>
<p class="crcPara">
Our platform is perfect for those eager to dive into Python programming
and explore the fascinating world of AI and ML. With comprehensive
tutorials and hands-on projects, you'll gain the skills needed to excel
in these cutting-edge fields.
</p>
<div class="en-course">
<a class="cr-box" href="https://roadmap.sh/python">Know The Roadmap</a>
<a class="cr-box" href="https://www.learnpython.org/">Learn Basics</a>
<a class="cr-box" href="https://www.w3schools.com/python/python_ml_getting_started.asp">Learn AI & ML</a>
</div>
</div>
<!-- about section ends -->
<section class="features" style="width: 100.8%;">
<div class="container">
<h2>Our Features</h2>
<div class="feature-grid">
<div class="feature-item">
<a href="pages/courses.html" style="text-decoration: none">
<h3>Structured Learning</h3>
<p>
Our courses are designed for clarity and progress, from
fundamentals to expert-level topics.
</p>
</div>
<div class="feature-item">
<a href="pages/projects.html" style="text-decoration: none">
<h3>Practical Projects</h3>
<p>
Work on real-world ML projects to apply the concepts you learn.
</p>
</a>
</div>
<div class="feature-item">
<a href="pages/community_suport.html" style="text-decoration: none">
<h3>Community Support</h3>
<p>
Collaborate with other learners and contribute to open-source ML
projects.
</p>
</a>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="faq" style="width: 100.8%;">
<div class="container">
<h2>Frequently Asked Questions</h2>
<div class="faq-item">
<h3>What is ML Fusion Lab?</h3>
<p>ML Fusion Lab is a community-driven platform that provides free, accessible, and high-quality machine learning tutorials, projects, and resources for all.</p>
</div>
<div class="faq-item">
<h3>Who can benefit from ML Fusion Lab?</h3>
<p>Whether you are a beginner or an experienced professional, ML Fusion Lab has something to offer for everyone.</p>
</div>
<div class="faq-item">
<h3>Are the courses free?</h3>
<p>Yes, all our courses and resources are free to access.</p>
</div>
<div class="faq-item">
<h3>How can I contact support?</h3>
<p>You can reach out to us through the Contact Us page for any inquiries or support.</p>
</div>
</div>
</section>
<!-- CSS for FAQ Section -->
<style>
.faq {
padding: 40px 20px;
background-color: #f9f9f9; /* Light mode background */
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
margin: 20px 0;
transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}
.faq h2 {
text-align: center;
margin-bottom: 30px;
font-size: 2em;
color: #333; /* Light mode text color */
}
.faq-item {
margin: 15px 0;
border-bottom: 1px solid #ddd; /* Light mode border */
padding: 15px 0;
}
.faq-item:last-child {
border-bottom: none; /* Remove border for the last item */
}
.faq-item h3 {
cursor: pointer;
color: #007bff; /* Light mode heading color */
font-size: 1.5em;
transition: color 0.3s;
}
.faq-item h3:hover {
color: #0056b3; /* Darker blue on hover */
}
.faq-item p {
margin: 5px 0 0 0;
color: #555; /* Light mode paragraph color */
font-size: 1em;
line-height: 1.5;
}
/* Dark Mode Styles */
.dark-mode .faq {
background-color: #292b30; /* Dark mode background */
color: #f9f9f9; /* Dark mode text color */
}
.dark-mode .faq h2 {
color: #f9f9f9; /* Dark mode heading color */
}
.dark-mode .faq-item {
border-bottom: 1px solid #444; /* Dark mode border */
}
.dark-mode .faq-item h3 {
color: #66b3ff; /* Dark mode heading color */
}
.dark-mode .faq-item h3:hover {
color: #99ccff; /* Darker blue on hover in dark mode */
}
.dark-mode .faq-item p {
color: #ccc; /* Dark mode paragraph color */
}
</style>
<!-- Newsletters Section -->
<div class="container newsletter d-flex flex-column p-5">
<div class="align-items-center justify-content-between w-100">
<div class="mx-auto col-lg-6">
<h1 class="h4">Sign Up for Newsletters</h1>
<p>Get updates in your email about the latest deals and products</p>
</div>
<div class="mx-auto col-lg-6 d-flex flex-wrap items-center">
<div class="input-group ">
<input type="email" id="email" class="form-control me-md-3 rounded border border-dark px-4 py-2"
placeholder="Enter your email" required />
<button class="btn btn-secondary mb-2 rounded bg-dark p-2 px-4" style="width: max-content;" type="submit"
id="submit-button">
Subscribe
</button>
</div>
<div id="error-message" class="text-danger small mt-2" style="display: none;">
*Please enter a valid email address.
</div>
<div id="confirmation-message" class="text-success small mt-2" style="display: none;">
Thank you for subscribing to our newsletter!
</div>
</div>
</div>
</div>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" />
<style>
.input-group {
display: flex;
align-items: stretch;
}
.input-group .form-control {
border-radius: 4px 0 0 4px;
}
.input-group .btn {
border-radius: 0 4px 4px 0;
flex-shrink: 0;
}
@media (max-width: 768px) {
.input-group {
flex-direction: column;
justify-content: center;
}
.input-group .form-control,
.input-group .btn {
border-radius: 4px;
width: 100%;
}
.input-group .btn {
margin-top: 10px;
}
}
</style>
<style>
.input-group {
display: flex;
flex-wrap: wrap;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
border-radius: 4px;
}
.input {
transition: all 0.3s ease;
border: 2px solid #ccc;
padding: 10px;
outline: none;
}
.input:focus {
border-color: #0056b3;
box-shadow: 0 0 10px rgba(0, 86, 179, 0.2);
}
.input::placeholder {
color: #999;
transition: all 0.3s ease;
}
.input:focus::placeholder {
opacity: 0;
transform: translateX(10px);
}
.submit-button {
transition: all 0.3s ease;
background-color: #0056b3;
color: white;
border: none;
padding: 20px;
border-radius: 0 4px 4px 0;
cursor: pointer;
position: relative;
height: 55px;
top: -10px;
overflow: hidden;
font-size: 16px;
text-align: center;
margin-top: 5px;
}
.submit-button:hover {
background-color: #003d82;
}
.submit-button::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 50%;
transition: width 0.6s ease, height 0.6s ease;
transform: translate(-50%, -50%);
}
.submit-button:hover::before {
width: 350px;
height: 350px;
}
.submit-button:active {
transform: scale(0.95);
}
@keyframes shake {
0%,
100% {
transform: translateX(0);
}
25% {
transform: translateX(5px);
}
75% {
transform: translateX(-5px);
}
}
.input:invalid:not(:placeholder-shown) {
animation: shake 0.3s;
border-color: #ff3860;
}
.confirmation-message {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
background-color: #4caf50;
color: white;
padding: 15px;
border-radius: 5px;
font-size: 16px;
z-index: 1000;
text-align: center;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
@media only screen and (max-width: 600px) {
.confirmation-message {
font-size: 14px;
padding: 10px;
width: 80%;
}
}
/* css for mouse cursor trail effect */
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle,
rgba(102, 120, 134, 0.3),
skyblue,
rgba(0, 0, 50, 0.3),
white);
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
/* removed the non-breaking space ( ) */
}
</style>
<!-- This script for newsletter subscription -->
<script>
document.addEventListener("DOMContentLoaded", function () {
document
.getElementById("submit-button")
.addEventListener("click", function (e) {
e.preventDefault();
const emailInput = document.getElementById("email");
const email = emailInput.value.trim();
const errorMessage = document.getElementById("error-message");
const confirmationMessage = document.getElementById(
"confirmation-message"
);
if (!validateEmail(email)) {
errorMessage.style.display = "block";
confirmationMessage.style.display = "none";
} else {
errorMessage.style.display = "none";
confirmationMessage.style.display = "block";
emailInput.value = "";
}
});
function validateEmail(email) {
const re = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
return re.test(email);
}
});
</script>
<div class="footer" style="width: 100.8%">
<div class="footer-col">
<img src="./image/ml fusion lab log.jpg" alt="">
<p class="footer-p">
We are a community-driven platform that aims to provide free, accessible, and high-quality machine learning
tutorials, projects, and resources for all.
</p>
<div class="footer-social">
<a href="https://facebook.com/"><i class="fa-brands fa-facebook"></i></a>
<a href="https://instagram.com/"><i class="fa-brands fa-instagram"></i></a>
<a href="https://twitter.com/"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://linkedin.com/"><i class="fa-brands fa-linkedin"></i></a>
</div>
</div>
<div class="footer-col-main">
<h4 class="h46">ML Fusion Labs</h4>
<a href="#">Business</a>
<a href="#">Franchise</a>
<a href="#">Network</a>
</div>
<div class="footer-col-main">
<h4 class="h46">About Us</h4>
<a href="./pages/about.html">About Us</a>
<a href="#">Security</a>
<a href="./pages/contributor.html">Contributors</a>
</div>
<div class="footer-col-main">
<h4 class="h46">Contact</h4>
<a href="./pages/contact.html">Contact Us</a>
<a href="./pages/email.html">Email Us</a>
<a href="./pages/privacy.html">Privacy Policy</a>
<a href="./pages/terms.html">Terms & Conditions</a>
</div>
</div>
<div class="footer-bar" style="width: 100.8%;">
© 2024 ML Fusion Labs | All Rights Reserved
<button id="scrollTopBtn" onclick="scrollToTop()">
<i class="fas fa-arrow-up"></i>
</button>
</div>
<script src="script/scroll.js"></script>
<!-- POP-UP HTML CODE GOES HERE -->
<!-- Pop-up for email sign-up -->
<!-- POP-UP HTML CODE -->
<div id="popup" class="popup" style="display: none;">
<div class="popup-content">
<div class="popup-left">
<img src="image/popup.jpg" alt="ML Learning Image" />
</div>
<div class="popup-right">
<h1>Join ML Fusion Lab!</h1>
<h2>Get Free Machine Learning Resources</h2>
<p>
Sign up to avail up to <strong>75% off</strong> on your first
purchase and boost your ML journey.
</p>
<form id="emailForm">
<input type="email" id="email" placeholder="Enter your email" required />
<button type="button" class="signup-btn" onclick="showToastAndRedirect()">Sign Up Now</button>
</form>
<a href="#" class="no-thanks close-btn">No thanks</a>
<p class="terms">
By signing up, you agree to our <a href="#">Terms of Service</a> and
<a href="#">Privacy Policy</a>.
</p>
</div>
</div>
</div>
<!-- Toast notification -->
<div id="toast" class="toast">
<div class="toast-content">
<i class="fas fa-info-circle"></i>
<div class="message">
<span class="text text-1">Redirecting</span>
<span class="text text-2">Taking you to the signup page...</span>
</div>
</div>
<i class="fa-solid fa-xmark close"></i>
<div class="progress"></div>
</div>
<style>
/* Toast Notification Styles */
.toast {
position: fixed;
top: 25px;
right: 30px;
border-radius: 12px;
background: #fff;
padding: 20px 35px 20px 25px;
box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
overflow: hidden;
transform: translateX(calc(100% + 30px));
transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
z-index: 9999;
}
.toast.active {
transform: translateX(0%);
}
.toast .toast-content {
display: flex;
align-items: center;
}
.toast-content .check {
display: flex;
align-items: center;
justify-content: center;
height: 35px;
min-width: 35px;
background-color: #4070f4;
color: #fff;
font-size: 20px;
border-radius: 50%;
}
.toast-content .message {
display: flex;
flex-direction: column;
margin: 0 20px;
}
.message .text {
font-size: 16px;
font-weight: 400;
color: #666666;
}
.message .text.text-1 {
font-weight: 600;
color: #333;
}
.toast .close {
position: absolute;
top: 10px;
right: 15px;
padding: 5px;
cursor: pointer;
opacity: 0.7;
}
.toast .close:hover {
opacity: 1;
}
.toast .progress {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
width: 100%;
}
.toast .progress:before {
content: "";
position: absolute;
bottom: 0;
right: 0;
height: 100%;
width: 100%;
background-color: #4070f4;
}
.progress.active:before {
animation: progress 5s linear forwards;
}
@keyframes progress {
100% {
right: 100%;
}
}
</style>
<div id="cookie-consent">
<p>
<img src="216341.png" alt="cookies">We use cookies to improve your experience. By using our website, you
consent to all cookies in accordance with our Cookie Policy.
<a href="#" id="learn-more-link">Learn More</a>
</p>
<div id="learn-more-content" style="display: none">
<p>
Cookies are small text files that can be used by websites to make a
user's experience more efficient. The law states that we can store
cookies on your device if they are strictly necessary for the
operation of this site. For all other types of cookies we need your
permission.
</p>
<p>
This site uses different types of cookies. Some cookies are placed by
third party services that appear on our pages.
</p>
</div>
<a href="#" id="show-less-link" style="display: none">Show Less</a>
<button class="accept-cookies">Accept</button>
<button class="reject-cookies">Reject</button>
</div>
<script>
document.addEventListener("DOMContentLoaded", function () {
const cookieConsent = document.getElementById("cookie-consent");
const acceptButton = document.querySelector(".accept-cookies");
const rejectButton = document.querySelector(".reject-cookies");
const learnMoreLink = document.getElementById("learn-more-link");