forked from anuragverma108/WildGuard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
2402 lines (1894 loc) · 88.7 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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="stylesss.css">
<link rel="stylesheet" href="./assets/css/searchbar.css">
<title>WildGuard - Give Love for Saving World Animals</title>
<!-- Google Translate script -->
<script type="text/javascript"
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<!--
- favicon
-->
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml">
<!--
- fontawesome icon link
-->
<script src="https://kit.fontawesome.com/418b80718b.js" crossorigin="anonymous"></script>
<!--
- google font link
-->
<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@400;500;600&family=Roboto:wght@300;400;500;700&family=Oswald:wght@600&display=swap"
rel="stylesheet" />
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<link rel="stylesheet" href="./Events-Data/modal.css">
<!--
- custom css link
-->
<link rel="stylesheet" href="./assets/css/style.css">
<style>
body {
/* font-family: Arial, sans-serif;*/
margin: 0;
padding: 0;
height: 2000px; /* Increase height to create scrolling content */
}
/* forum section styling */
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Scroll to Top Button CSS */
#scrollToTopBtn {
position: fixed;
left: 30px;
bottom: 30px;
width: 50px;
height: 50px;
border-radius: 50%;
background: #0c7124; /* Green background */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
border: none;
outline: none;
cursor: pointer;
display: none; /* Hidden by default */
align-items: center;
justify-content: center;
transition: opacity 0.3s;
}
#scrollToTopBtn i {
font-size: 20px; /* Size of the arrow icon */
color: white;
}
</style>
</head>
<body>
<!-- Intro Landing Section with Image and Quote -->
<div id="intro-landing" style="
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
background: black;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
">
<img src="https://cdn.pixabay.com/photo/2024/09/04/19/09/blackbird-9022655_1280.jpg" alt="Nature Image" class="intro-image" style="
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
">
<div class="intro-quote" style="
position: absolute;
color: white;
font-size: 2rem;
font-weight: bold;
text-align: center;
z-index: 10;
">
"Save Nature, Save Wildlife"
</div>
</div>
<script>
window.addEventListener('load', function () {
const introLanding = document.getElementById('intro-landing');
const mainContent = document.querySelector('.main-content');
// Start the slide-away animation
introLanding.style.animation = 'slideAway 2s ease-out forwards';
// After the animation, hide the intro and show the main content
setTimeout(() => {
introLanding.style.display = 'none';
mainContent.style.display = 'block'; // Show the main content
document.body.style.overflow = 'auto'; // Restore scrolling
}, 5000); // Match the animation duration (5 seconds)
});
// Inline keyframe animation
const style = document.createElement('style');
style.innerHTML = `
@keyframes slideAway {
0% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(-100%);
opacity: 0;
}
}
`;
document.head.appendChild(style);
</script>
<div class="scroll-to-bottom" style="position: fixed; z-index: 100;">
<button id="scrollBOTTOM">
<i class="material-icons">arrow_downward</i>
</button>
</div>
<script>
const scrollBOTTOM = document.querySelector('#scrollBOTTOM');
scrollBOTTOM.addEventListener('click', function() {
window.scrollTo({
top: document.body.scrollHeight,
left: 0,
behavior:'smooth'
});
});
</script>
<!-- Progress Bar -->
<div class="progress-bar" id="progressBar" style="
position: fixed;
top: 0;
left: 0;
height: 5px;
background-color: green;
width: 0;
z-index: 2000;
"></div>
<script>
window.onscroll = function () {
updateProgressBar();
};
function updateProgressBar() {
const progressBar = document.getElementById('progressBar');
const totalHeight = document.body.scrollHeight - window.innerHeight;
const scrollPosition = window.scrollY;
const progressWidth = (scrollPosition / totalHeight) * 100;
progressBar.style.width = progressWidth + '%';
}
</script>
<!--
- #HEADER
-->
</div>
<header class="header" data-header>
<div class="progress-bar">
<div class="filled"></div>
</div>
<div class="container">
<h1>
<a href="#home" class="logo">WildGuard</a>
</h1>
<div id="google_translate_element"></div> <!-- Google Translate widget -->
<button class="nav-open-btn" aria-label="Open Menu" data-nav-open-btn>
<ion-icon name="menu-outline"></ion-icon>
</button>
<nav class="navbar" data-navbar>
<button class="nav-close-btn" aria-label="Close Menu" data-nav-close-btn>
<ion-icon name="close-outline"></ion-icon>
</button>
<a href="#" class="logo">WildGuard</a>
<ul class="navbar-list">
<li>
<a href="#home" class="navbar-link active" data-nav-link>
<span class="new_size">Home</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<li>
<a href="#about" class="navbar-link" data-nav-link>
<span class="new_size">About</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<li>
<a href="#service" class="navbar-link" data-nav-link>
<span class="new_size">Service</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<li>
<a href="#donate" class="navbar-link" data-nav-link>
<span class="new_size">Donate</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<li>
<a href="#event" class="navbar-link" data-nav-link>
<span class="new_size">Event</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<li>
<a href="#footer" class="navbar-link" data-nav-link>
<span class="new_size">Contact</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<li>
<li>
<a id="loginLink" class="navbar-link login-nav" href="login.html" data-nav-link>
<span class="new_size">Login</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<li>
<a id="registerLink" class="navbar-link login-nav" href="register.html" data-nav-link>
<span class="new_size">Register</span>
<ion-icon name="chevron-forward-outline" aria-hidden="true"></ion-icon>
</a>
</li>
<script>
document.getElementById('registerLink').addEventListener('click', function (e) {
e.preventDefault();
window.location.href = 'register.html';
});
document.getElementById('loginLink').addEventListener('click', function (e) {
e.preventDefault();
window.location.href = 'login.html';
});
</script>
</ul>
</nav>
<div class="search-container">
<form id="search-form">
<div class="search-input-wrapper">
<!-- <i class="fas fa-search search-icon"></i> -->
<input type="text" id="search-input" placeholder="Search..." aria-label="Search">
</div>
<button type="submit" id="search-button">
<i class="fas fa-search"></i>
</button>
</form>
<div id="search-results"></div>
</div>
<div class="header-action">
<!-- <div class="input-group">
<input type="text" style="font-size: medium;" class="form-control" id="search-input" placeholder="Search" aria-label="Search" autocomplete="off" oninput="handleInput()">
<button class="btn btn-primary search-btn" aria-label="Search" onclick="performSearch()">
<ion-icon name="search-outline"></ion-icon>
</button>
<div class="result-box" id="result-box">
Suggestions will be displayed here
</div>
</div> -->
<link rel="stylesheet" href="style.css"> <!-- Link to your CSS file -->
</div>
<!-- <div class="search-bar" id="searchBar" style="display:none;">
<input type="text" id="searchInput" placeholder="Search..." autocomplete="off">
</div> -->
<!-- Search bar and button -->
<!-- <div class="input-group">
<input type="text" class="form-control search-box" placeholder="Search" aria-label="Search">
<button class="btn btn-primary search-btn" aria-label="Search">
<ion-icon name="search-outline"></ion-icon>
</button>
</div> -->
<!-- Search input field -->
<!-- <div class="search-bar" id="searchBar" style="display:none;">
<input type="text" id="searchInput" placeholder="Search..." autocomplete="off"> -->
<!-- Match counter and navigation buttons -->
<!-- <div class="search-nav-buttons">
<span id="matchCounter" style="display: none;">0/0</span> -->
<!-- <button id="prevMatch" style="display:none;">▲</button> Up arrow -->
<!-- </div>
</div> -->
<!-- <button type="button" class="btn btn-primary" onclick="location.href='donate.html';">
<span>Donation</span>
<ion-icon name="heart-outline" aria-hidden="true"></ion-icon>
</button> -->
<button type="button" class="donate-button" onclick="location.href='Donation.html';">
<span>Donation</span>
<ion-icon name="heart-outline" aria-hidden="true"></ion-icon>
</button>
<!-- Login -->
<div id="openPopup" class="user-icon">
<a href="user.html"><i class="fas fa-user"></i></a>
<div class="dropdown-content" id="profileDropdown">
<a href="user.html">Profile</a>
<a href="/">Logout</a>
</div>
</div>
<!-- Popup -->
<div id="popup" class="popup">
<div class="popup-content">
<span class="close-button" id="closePopup">×</span>
<div class="tabs">
<button class="tab-button active" id="loginTab">Login</button>
<button class="tab-button" id="signupTab">Signup</button>
</div>
<div class="form-container">
<form id="loginForm">
<div class="form_wrapper">
<div class="form-fields--login">
<input class="form-input" type="email" placeholder="Email" required />
<input class="form-input" type="password" placeholder="Password" required />
<button type="submit">Login</button>
</div>
<div class="form-img">
<img src="./assets/images/animals.jpg" alt="" srcset="">
</div>
</div>
</form>
<form id="signupForm" style="display: none;">
<div class="form_wrapper">
<div class="form-fields--signup">
<input class="form-input" type="text" placeholder="Username" required />
<input class="form-input" type="email" placeholder="Email" required />
<input class="form-input" type="password" placeholder="Password" required />
<button type="submit">Signup</button>
</div>
<div class="form-img">
<img src="./assets/images/cta-banner.jpg" alt="" srcset="">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</header>
<!-- Scroll To Top Btn -->
<!-- <button type="button" id="btn-back-to-top">
<i class="fa-solid fa-leaf"></i>
</button> -->
<main>
<article>
<!--
- #HERO
-->
<section class="hero" id="home">
<div class="video-background">
<video autoplay muted loop>
<!-- Replace this video source with your live waterfall video or another hosted video -->
<source src="wildlife.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="overlay"></div>
</div>
<div class="container">
<p class="section-subtitle">
<img src="./assets/images/subtitle-img-white.png" width="32" height="7" alt="Wavy line">
<span style="color:white;">Welcome to WildGuard</span>
</p>
<h2 class="h1 hero-title">
Give Love for Saving <strong>World Animals</strong>
</h2>
<p class="hero-text">
<center>Defending Wildlife, One Paw at a Time</center>
</p>
<!-- <div class="button-container">
<button type="button" class="btn btn-primary" onclick="location.href='donate.html';">
<span>Donation</span>
<ion-icon name="heart-outline" aria-hidden="true"></ion-icon>
</button>
</div> -->
<div class="button-container">
<button type="button" class="donate-button" onclick="location.href='Donation.html';">
<span>Donation</span>
<ion-icon name="heart-outline" aria-hidden="true"></ion-icon>
</button>
</div>
</div>
</section>
<!--
- #FEATURES
-->
<section class="section features">
<div class="container">
<ul class="features-list">
<li class="features-item">
<div class="item-icon">
<ion-icon name="shield-checkmark-outline"></ion-icon>
</div>
<a href="SaveNature.html" style="text-decoration: none; color: inherit;">
<div>
<h3 class="h4 item-title">Safe Shelter</h3>
<p class="item-text">
Providing secure habitats ensures the survival of wildlife.
</p>
</div>
</a>
</li>
<li class="features-item">
<a href="SaveNature.html" style="text-decoration: none; color: inherit;">
<div class="item-icon">
<ion-icon name="water-outline"></ion-icon>
</div>
<a href="SaveNature.html" style="text-decoration: none; color: inherit;">
<div>
<h3 class="h4 item-title">Save Water</h3>
<p class="item-text">
Conserving water is key to sustaining life and ecosystems.
</p>
</div>
</a>
</li>
<li class="features-item">
<div class="item-icon">
<ion-icon name="leaf-outline"></ion-icon>
</div>
<a href="SaveNature.html" style="text-decoration: none; color: inherit;">
<div>
<h3 class="h4 item-title">Ecology Save</h3>
<p class="item-text">
Protecting ecological balance preserves biodiversity for future generations.
</p>
</div>
</a>
</li>
<li class="features-item">
<div class="item-icon">
<ion-icon name="snow-outline"></ion-icon>
</div>
<a href="SaveNature.html" style="text-decoration: none; color: inherit;">
<div>
<h3 class="h4 item-title">Environment</h3>
<p class="item-text">
A healthy environment supports both wildlife and human well-being.
</p>
</div>
</a>
</li>
</ul>
</div>
</section>
<!--
- #ABOUT
-->
<section class="section about" id="about">
<div class="container">
<div class="about-banner">
<h2 class="deco-title">About Us</h2>
<img src="./assets/images/deco-img.png" width="58" height="261" alt="Decorative design element for styling"
class="deco-img">
<div class="banner-imgs banner-carousel">
<!-- Previous button -->
<button class="prev-btn">❮</button>
<div class="banner-img-container banner-carousel-frame banner-img-cont-1 zoom-effect" index=1>
<img src="./assets/images/about-banner-1.jpg" width="315" height="380" loading="lazy" alt="Tiger"
class="about-img w-100" />
</div>
<div class="banner-img-container banner-carousel-frame banner-img-cont-2 zoom-effect" index=2>
<img src="./assets/images/about-banner-3.jpg" width="250" height="277" loading="lazy" alt="Elephant"
class="about-img w-100" />
</div>
<div class="banner-img-container banner-carousel-frame banner-img-cont-3 zoom-effect" index=3>
<img src="./assets/images/about-banner-2.jpg" width="386" height="250" loading="lazy" alt="Panda"
class="about-img w-100" />
</div>
<div class="banner-img-container banner-carousel-frame banner-img-cont-4 zoom-effect" index=4>
<img src="./assets/images/about-banner-4.jpg" width="315" height="380" loading="lazy" alt="Deer"
class="about-img w-100" />
</div>
<!-- Next button -->
<button class="next-btn">❯</button>
</div>
<div class="spot-circles">
<span class="circle" index="1"></span>
<span class="circle" index="2"></span>
<span class="circle" index="3"></span>
<span class="circle" index="4"></span>
</div>
</div>
<div class="about-content">
<!-- <p class="section-subtitle">
<img src="./assets/images/subtitle-img-green.png" width="32" height="7" alt="Wavy line">
<span>Why Choose Us</span>
</p> -->
<h2 class="h2 section-title">
Raise Your Hand to Save <strong>World Animals Life</strong>
</h2>
<ul class="tab-nav">
<li>
<button class="tab-btn active" onclick="setActiveTab(this, 'mission')">Our Mission</button>
</li>
<li>
<button class="tab-btn active" onclick="setActiveTab(this, 'vision')">Our Vision</button>
</li>
<li>
<button class="tab-btn active" onclick="setActiveTab(this, 'plan')">Next Plan</button>
</li>
</ul>
<div class="tab-content" id="tab-content">
<!-- <p class="section-text" style="text-align: left;">
But I must explain to you how all this mistaken denouncing pleasure and praising pain was born and I
will give you a
complete account of the system expoundmaster
</p> -->
<p class="section-text">
Our mission is to provide outstanding care and dedicated support for animals in need, safeguarding their health, safety, and overall well-being. We strive to create a nurturing environment where every animal feels valued, protected, and given the opportunity to thrive.
</p>
<ul class="tab-list">
<li class="tab-item">
<div class="item-icon"><ion-icon name="checkmark-circle"></ion-icon></div>
<p class="tab-text">Charity For Foods</p>
</li>
<li class="tab-item">
<div class="item-icon"><ion-icon name="checkmark-circle"></ion-icon></div>
<p class="tab-text">Charity For Education</p>
</li>
<li class="tab-item">
<div class="item-icon"><ion-icon name="checkmark-circle"></ion-icon></div>
<p class="tab-text">Charity For Water</p>
</li>
<li class="tab-item">
<div class="item-icon"><ion-icon name="checkmark-circle"></ion-icon></div>
<p class="tab-text">Charity For Medical</p>
</li>
</ul>
</div>
<button class="btn btn-secondary" id="learn-btn" onclick="location.href='about.html';">
<span style="padding : 20px; font-size : 17px;">Learn More About Us</span>
<ion-icon name="heart-outline" aria-hidden="true"></ion-icon>
</button>
</div>
</div>
</section>
<div class="donation-section">
<div class="boxx"><b>
<h1>Support Us with Your Donation</h1>
</b> </div>
<div class="card-container">
<div class="card">
<b>
<h2>Basic Tier</h2>
</b>
<p class="amount">$10/month</p>
<p class="benefits">Contribute to wildlife care <br> receive digital badges and <br>monthly newsletters.
<p onclick="location.href='Donation.html';" class="donate-button">Donate Now</p>
</div>
<div class="card">
<b>
<h2>Supporter Tier</h2>
</b>
<p class="amount">$25/month</p>
<p class="benefits">Aid wildlife recovery, get <br> exclusive videos and <br>behind-the-scenes insights.</p>
<button onclick="location.href='Donation.html';" class="donate-button">Donate Now</button>
</div>
<div class="card">
<b>
<h2>Champion Tier</h2>
</b>
<p class="amount">$50/month</p>
<p class="benefits">Sponsor critical projects, <br> enjoy special merchandise and <br>priority event access.</p>
<button onclick="location.href='Donation.html';" class="donate-button">Donate Now</button>
</div>
<div class="card">
<b>
<h2>Leader Tier</h2>
</b>
<p class="amount">$100/month</p>
<p class="benefits">Lead wildlife conservation,<br> receive personalized tours and <br>lifetime honorary membership.</p>
<button onclick="location.href='Donation.html';" class="donate-button">Donate Now</button>
</div>
</div>
</div>
<!--
- #CTA
-->
<section class="section cta">
<div class="container">
<div class="cta-wrapper">
<!-- Central Content: Trusted Partners -->
<div class="cta-content">
<h2 id="partnerCount">0+ Trusted Global Partners</h2>
<button id="partnerButton">
<span>Become a Partner</span>
<ion-icon name="heart-outline"></ion-icon>
</button>
</div>
<!--Displaying card on right side -->
<!-- Link to Tailwind CSS and Chart.js -->
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<!-- Card for Animal Rescue Stats -->
<div class="bg-white shadow-lg rounded-lg p-10 w-3/4 max-w-2xl"> <!-- Increased padding and width -->
<h2 class="text-3xl font-bold text-green-700 mb-4">Animals Saved This Year</h2> <!-- Increased text size -->
<p id="total-saved" class="text-7xl font-extrabold text-green-900 mb-8">0</p> <!-- Increased text size -->
<canvas id="monthly-chart" class="mt-4"></canvas>
</div>
<script>
// Example data (you can replace this with dynamic data)
const monthlyData = [5, 10, 8, 15, 20, 12, 18, 9, 7, 11, 16, 22];
// Calculate the total number of animals saved this year
const totalSaved = monthlyData.reduce((sum, value) => sum + value, 0);
// Display the total in the card
document.getElementById('total-saved').textContent = totalSaved;
// Chart.js configuration
const ctx = document.getElementById('monthly-chart').getContext('2d');
new Chart(ctx, {
type: 'bar',
data: {
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
datasets: [{
label: 'Animals Saved',
data: monthlyData,
backgroundColor: 'rgba(34, 197, 94, 0.6)', // Soft green
borderColor: 'rgba(34, 197, 94, 1)', // Darker green
borderWidth: 1,
}]
},
options: {
responsive: true,
plugins: {
legend: { display: false },
},
scales: {
y: { beginAtZero: true }
}
}
});
</script>
</div>
</div>
</section>
<!--
- #SERVICE
-->
<section class="section service" id="service" style="background-image: url('./assets/images/service-map.png')">
<div class="container">
<!-- <p class="section-subtitle">
<img src="./assets/images/subtitle-img-green.png" width="32" height="7" alt="Wavy line">
<span>What We Do</span>
</p> -->
<h2 class="h2 section-title">
We Work Differently to <strong>keep The World Safe</strong>
</h2>
<div class="service-list">
<div>
<div class="service-card" id="service-card1">
<div class="card-inner">
<div class="card-front">
<div class="card-icon">
<ion-icon name="leaf-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Save Nature</h3>
<p class="card-text">
Conserve nature to preserve our diverse and thriving ecosystem.
</p>
</div>
<div class="card-back">
<div class="card-icon">
<ion-icon name="leaf-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Thank You!</h3>
<p class="card-text">
Your support helps us make a difference!
</p>
<a href="SaveNature.html" class="btn-link">
<span>Read More</span>
<ion-icon name="arrow-forward" aria-hidden="true"></ion-icon>
</a>
</div>
</div>
</div>
</div>
<div>
<div class="service-card" id="service-card2">
<div class="card-inner">
<div class="card-front">
<div class="card-icon">
<ion-icon name="earth-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Save Ecology</h3>
<p class="card-text">
Advancing solutions to protect endangered species & maintain the health of ecosystems.
</p>
</div>
<div class="card-back">
<div class="card-icon">
<ion-icon name="earth-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Thank You!</h3>
<p class="card-text">
Your contribution helps protect our planet's ecology!
</p>
<a href="SaveEcology.html" class="btn-link">
<span>Read More</span>
<ion-icon name="arrow-forward" aria-hidden="true"></ion-icon>
</a>
</div>
</div>
</div>
</div>
<div>
<div class="service-card" id="service-card3">
<div class="card-inner">
<div class="card-front">
<div class="card-icon">
<ion-icon name="flower-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Tree Plantation</h3>
<p class="card-text">
Growing green spaces for a healthier environment and sustainable future.
</p>
</div>
<div class="card-back">
<div class="card-icon">
<ion-icon name="flower-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Thank You!</h3>
<p class="card-text">
Together, we can create a greener future!
</p>
<a href="TreePlantation.html" class="btn-link">
<span>Read More</span>
<ion-icon name="arrow-forward" aria-hidden="true"></ion-icon>
</a>
</div>
</div>
</div>
</div>
<div>
<div class="service-card" id="service-card4">
<div class="card-inner">
<div class="card-front">
<div class="card-icon">
<ion-icon name="boat-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Clear Ocean</h3>
<p class="card-text">
Tackling ocean pollution to ensure cleaner seas for future generations.
</p>
</div>
<div class="card-back">
<div class="card-icon">
<ion-icon name="boat-outline"></ion-icon>
</div>
<h3 class="h3 card-title">Thank You!</h3>
<p class="card-text">
Your support is vital for ocean conservation!
</p>
<a href="SaveOcean.html" class="btn-link">
<span>Read More</span>
<ion-icon name="arrow-forward" aria-hidden="true"></ion-icon>
</a>
</div>
</div>
</div>
</div>