File size: 46,876 Bytes
a6569fa | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3D Charity Donation Platform</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.11.4/dist/gsap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #f8fafc;
color: #1e293b;
overflow-x: hidden;
}
.glass-nav {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.hero-gradient {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
#particles-js {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 0;
}
.hero-content {
position: relative;
z-index: 10;
}
.progress-3d {
transform-style: preserve-3d;
transform: rotateX(20deg);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.toggle-3d {
transform-style: preserve-3d;
perspective: 500px;
}
.toggle-3d-inner {
transform: translateZ(20px);
transition: all 0.3s ease;
}
.toggle-3d:hover .toggle-3d-inner {
transform: translateZ(30px);
}
.btn-3d {
transform-style: preserve-3d;
transition: all 0.3s ease;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.btn-3d:hover {
transform: translateY(-3px) translateZ(10px);
box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}
.btn-3d:active {
transform: translateY(1px) translateZ(5px);
}
.globe-container {
width: 300px;
height: 300px;
position: relative;
}
.impact-card {
transform-style: preserve-3d;
transition: all 0.5s ease;
}
.impact-card:hover {
transform: rotateY(10deg) rotateX(5deg) translateZ(10px);
}
.badge-3d {
transform-style: preserve-3d;
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px) rotateY(0deg); }
50% { transform: translateY(-20px) rotateY(180deg); }
100% { transform: translateY(0px) rotateY(360deg); }
}
.envelope-3d {
transform-style: preserve-3d;
animation: shake 3s ease-in-out infinite;
}
@keyframes shake {
0%, 100% { transform: rotateZ(0deg); }
25% { transform: rotateZ(5deg); }
75% { transform: rotateZ(-5deg); }
}
.tree-growth {
transition: all 0.5s ease;
}
.donation-input {
transform-style: preserve-3d;
transition: all 0.3s ease;
}
.donation-input:focus {
transform: translateZ(10px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.particle {
position: absolute;
border-radius: 50%;
pointer-events: none;
}
</style>
</head>
<body class="min-h-screen">
<!-- Sticky Navbar -->
<nav class="glass-nav fixed w-full z-50 py-4 px-6 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 bg-indigo-500 rounded-full flex items-center justify-center transform transition-transform duration-300 hover:rotate-180">
<i class="fas fa-heart text-white text-xl"></i>
</div>
<span class="text-xl font-bold text-indigo-600">GiveHope</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#" class="text-indigo-600 font-medium hover:text-indigo-800 transition">Dashboard</a>
<a href="#" class="text-slate-600 hover:text-indigo-600 transition">Causes</a>
<a href="#" class="text-slate-600 hover:text-indigo-600 transition">Blog</a>
<a href="#" class="text-slate-600 hover:text-indigo-600 transition">About</a>
</div>
<div class="flex items-center space-x-4">
<button class="px-4 py-2 rounded-full bg-indigo-600 text-white hover:bg-indigo-700 transition btn-3d">
Login
</button>
<button class="md:hidden text-slate-600">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-gradient min-h-screen flex items-center justify-center relative overflow-hidden pt-16">
<div id="particles-js"></div>
<div class="hero-content container mx-auto px-6 py-20 text-center">
<h1 class="text-4xl md:text-6xl font-bold text-white mb-6 leading-tight">
Turn Your <span class="text-yellow-300">Change</span> into <br>Global <span class="text-yellow-300">Change</span>
</h1>
<p class="text-xl text-white opacity-90 mb-10 max-w-2xl mx-auto">
Join our community of changemakers and create real impact with every donation. See your contributions in 3D and track your global influence.
</p>
<div class="flex flex-col md:flex-row justify-center items-center space-y-4 md:space-y-0 md:space-x-6">
<button class="px-8 py-4 rounded-full bg-white text-indigo-600 font-bold text-lg hover:bg-indigo-50 transition btn-3d">
Donate Now
</button>
<button class="px-8 py-4 rounded-full border-2 border-white text-white font-bold text-lg hover:bg-white hover:bg-opacity-10 transition btn-3d">
Learn More
</button>
</div>
<!-- Floating 3D Icons -->
<div class="absolute top-1/4 left-10 w-16 h-16 rounded-full bg-white bg-opacity-20 flex items-center justify-center badge-3d">
<i class="fas fa-utensils text-white text-2xl"></i>
</div>
<div class="absolute top-1/3 right-20 w-20 h-20 rounded-full bg-white bg-opacity-20 flex items-center justify-center badge-3d" style="animation-delay: 1s;">
<i class="fas fa-book text-white text-3xl"></i>
</div>
<div class="absolute bottom-1/4 left-1/4 w-24 h-24 rounded-full bg-white bg-opacity-20 flex items-center justify-center badge-3d" style="animation-delay: 2s;">
<i class="fas fa-medkit text-white text-4xl"></i>
</div>
<div class="absolute bottom-1/3 right-1/4 w-14 h-14 rounded-full bg-white bg-opacity-20 flex items-center justify-center badge-3d" style="animation-delay: 3s;">
<i class="fas fa-tint text-white text-2xl"></i>
</div>
</div>
</section>
<!-- Causes Section -->
<section class="py-20 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl md:text-4xl font-bold text-center text-indigo-600 mb-4">Featured Causes</h2>
<p class="text-center text-slate-600 max-w-2xl mx-auto mb-12">
Explore our current initiatives and see how your donations make a difference in 3D.
</p>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Cause Card 1 -->
<div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover impact-card">
<div class="relative h-48 bg-indigo-100 flex items-center justify-center">
<div class="globe-container" id="globe-1"></div>
<div class="absolute bottom-4 right-4 bg-indigo-600 text-white px-3 py-1 rounded-full text-sm font-medium">
<i class="fas fa-heart mr-1"></i> 1.2K Supporters
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-indigo-600 mb-2">Clean Water Initiative</h3>
<p class="text-slate-600 mb-4">Providing clean drinking water to communities in need across Africa.</p>
<div class="mb-4">
<div class="flex justify-between text-sm text-slate-600 mb-1">
<span>$25,000 raised</span>
<span>$50,000 goal</span>
</div>
<div class="w-full bg-slate-200 rounded-full h-3 progress-3d">
<div class="bg-indigo-600 h-3 rounded-full" style="width: 50%"></div>
</div>
</div>
<button class="w-full py-3 bg-indigo-600 text-white rounded-lg font-medium hover:bg-indigo-700 transition btn-3d">
Donate Now
</button>
</div>
</div>
<!-- Cause Card 2 -->
<div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover impact-card">
<div class="relative h-48 bg-amber-100 flex items-center justify-center">
<div class="w-32 h-32 rounded-full bg-amber-500 bg-opacity-20 flex items-center justify-center">
<i class="fas fa-school text-amber-600 text-5xl"></i>
</div>
<div class="absolute bottom-4 right-4 bg-amber-600 text-white px-3 py-1 rounded-full text-sm font-medium">
<i class="fas fa-heart mr-1"></i> 890 Supporters
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-amber-600 mb-2">Education for All</h3>
<p class="text-slate-600 mb-4">Building schools and providing education materials in rural areas.</p>
<div class="mb-4">
<div class="flex justify-between text-sm text-slate-600 mb-1">
<span>$18,750 raised</span>
<span>$30,000 goal</span>
</div>
<div class="w-full bg-slate-200 rounded-full h-3 progress-3d">
<div class="bg-amber-500 h-3 rounded-full" style="width: 62.5%"></div>
</div>
</div>
<button class="w-full py-3 bg-amber-500 text-white rounded-lg font-medium hover:bg-amber-600 transition btn-3d">
Donate Now
</button>
</div>
</div>
<!-- Cause Card 3 -->
<div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover impact-card">
<div class="relative h-48 bg-emerald-100 flex items-center justify-center">
<div class="w-32 h-32 rounded-full bg-emerald-500 bg-opacity-20 flex items-center justify-center">
<i class="fas fa-leaf text-emerald-600 text-5xl"></i>
</div>
<div class="absolute bottom-4 right-4 bg-emerald-600 text-white px-3 py-1 rounded-full text-sm font-medium">
<i class="fas fa-heart mr-1"></i> 2.4K Supporters
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-emerald-600 mb-2">Reforestation Project</h3>
<p class="text-slate-600 mb-4">Planting trees to combat climate change and restore ecosystems.</p>
<div class="mb-4">
<div class="flex justify-between text-sm text-slate-600 mb-1">
<span>$42,000 raised</span>
<span>$60,000 goal</span>
</div>
<div class="w-full bg-slate-200 rounded-full h-3 progress-3d">
<div class="bg-emerald-500 h-3 rounded-full" style="width: 70%"></div>
</div>
</div>
<button class="w-full py-3 bg-emerald-500 text-white rounded-lg font-medium hover:bg-emerald-600 transition btn-3d">
Donate Now
</button>
</div>
</div>
</div>
<div class="text-center mt-12">
<button class="px-6 py-3 border-2 border-indigo-600 text-indigo-600 rounded-lg font-medium hover:bg-indigo-50 transition btn-3d">
View All Causes
</button>
</div>
</div>
</section>
<!-- Impact Visualization -->
<section class="py-20 bg-slate-50">
<div class="container mx-auto px-6">
<h2 class="text-3xl md:text-4xl font-bold text-center text-indigo-600 mb-4">See Your Impact in 3D</h2>
<p class="text-center text-slate-600 max-w-2xl mx-auto mb-12">
Our interactive visualization shows exactly how your donations are making a difference worldwide.
</p>
<div class="flex flex-col lg:flex-row items-center justify-between">
<div class="w-full lg:w-1/2 mb-10 lg:mb-0 lg:pr-10">
<div class="bg-white rounded-xl shadow-lg p-6 h-full impact-card">
<h3 class="text-xl font-bold text-indigo-600 mb-4">Your Personal Impact Room</h3>
<div class="flex items-center justify-center mb-6">
<div class="relative w-64 h-64">
<!-- 3D Tree Visualization -->
<div class="absolute bottom-0 left-1/2 transform -translate-x-1/2">
<div class="tree-growth bg-emerald-500 w-8 h-24 mx-auto" style="background: linear-gradient(to top, #10b981, #34d399);"></div>
<div class="tree-growth bg-emerald-600 rounded-full w-20 h-16 -mt-4" style="background: radial-gradient(circle at center, #10b981, #059669);"></div>
</div>
<!-- Floating Badges -->
<div class="absolute top-8 left-8 w-12 h-12 rounded-full bg-amber-400 flex items-center justify-center badge-3d">
<i class="fas fa-medal text-white"></i>
</div>
<div class="absolute top-4 right-8 w-10 h-10 rounded-full bg-indigo-400 flex items-center justify-center badge-3d" style="animation-delay: 1s;">
<i class="fas fa-star text-white"></i>
</div>
<div class="absolute bottom-16 left-4 w-8 h-8 rounded-full bg-rose-400 flex items-center justify-center badge-3d" style="animation-delay: 2s;">
<i class="fas fa-heart text-white"></i>
</div>
</div>
</div>
<div class="text-center">
<p class="text-slate-600 mb-2">Your donations have helped:</p>
<div class="grid grid-cols-3 gap-4 text-center">
<div>
<div class="text-2xl font-bold text-indigo-600">120</div>
<div class="text-sm text-slate-500">Children Educated</div>
</div>
<div>
<div class="text-2xl font-bold text-emerald-600">350</div>
<div class="text-sm text-slate-500">Trees Planted</div>
</div>
<div>
<div class="text-2xl font-bold text-amber-600">75</div>
<div class="text-sm text-slate-500">Families Fed</div>
</div>
</div>
</div>
</div>
</div>
<div class="w-full lg:w-1/2">
<div class="bg-white rounded-xl shadow-lg p-6 impact-card">
<h3 class="text-xl font-bold text-indigo-600 mb-4">Global Impact Map</h3>
<div class="globe-container mx-auto" id="main-globe"></div>
<div class="mt-6 grid grid-cols-2 gap-4">
<div class="flex items-center">
<div class="w-4 h-4 rounded-full bg-indigo-500 mr-2"></div>
<span class="text-sm text-slate-600">Your Donations</span>
</div>
<div class="flex items-center">
<div class="w-4 h-4 rounded-full bg-emerald-500 mr-2"></div>
<span class="text-sm text-slate-600">Community Impact</span>
</div>
<div class="flex items-center">
<div class="w-4 h-4 rounded-full bg-amber-500 mr-2"></div>
<span class="text-sm text-slate-600">Recent Projects</span>
</div>
<div class="flex items-center">
<div class="w-4 h-4 rounded-full bg-rose-500 mr-2"></div>
<span class="text-sm text-slate-600">Urgent Needs</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Donation Process -->
<section class="py-20 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl md:text-4xl font-bold text-center text-indigo-600 mb-4">How It Works</h2>
<p class="text-center text-slate-600 max-w-2xl mx-auto mb-12">
Our 3-step process makes donating simple, transparent, and rewarding.
</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-slate-50 rounded-xl p-8 text-center impact-card">
<div class="w-20 h-20 bg-indigo-100 rounded-full flex items-center justify-center mx-auto mb-6">
<div class="w-16 h-16 bg-indigo-200 rounded-full flex items-center justify-center toggle-3d">
<div class="w-12 h-12 bg-indigo-500 rounded-full flex items-center justify-center text-white text-xl font-bold toggle-3d-inner">
1
</div>
</div>
</div>
<h3 class="text-xl font-bold text-indigo-600 mb-3">Choose Your Cause</h3>
<p class="text-slate-600">
Browse our verified causes and select one that resonates with you. See exactly how your donation will be used.
</p>
</div>
<div class="bg-slate-50 rounded-xl p-8 text-center impact-card">
<div class="w-20 h-20 bg-amber-100 rounded-full flex items-center justify-center mx-auto mb-6">
<div class="w-16 h-16 bg-amber-200 rounded-full flex items-center justify-center toggle-3d">
<div class="w-12 h-12 bg-amber-500 rounded-full flex items-center justify-center text-white text-xl font-bold toggle-3d-inner">
2
</div>
</div>
</div>
<h3 class="text-xl font-bold text-amber-600 mb-3">Make Your Donation</h3>
<p class="text-slate-600">
Give any amount securely through our platform. Set up recurring donations with just one click.
</p>
</div>
<div class="bg-slate-50 rounded-xl p-8 text-center impact-card">
<div class="w-20 h-20 bg-emerald-100 rounded-full flex items-center justify-center mx-auto mb-6">
<div class="w-16 h-16 bg-emerald-200 rounded-full flex items-center justify-center toggle-3d">
<div class="w-12 h-12 bg-emerald-500 rounded-full flex items-center justify-center text-white text-xl font-bold toggle-3d-inner">
3
</div>
</div>
</div>
<h3 class="text-xl font-bold text-emerald-600 mb-3">Track Your Impact</h3>
<p class="text-slate-600">
Watch your personal impact grow in your 3D dashboard with real-time updates from the field.
</p>
</div>
</div>
<div class="mt-16 bg-indigo-50 rounded-xl p-8 md:p-12 impact-card">
<div class="flex flex-col lg:flex-row items-center">
<div class="w-full lg:w-1/2 mb-8 lg:mb-0 lg:pr-8">
<h3 class="text-2xl font-bold text-indigo-600 mb-4">Ready to Make a Difference?</h3>
<p class="text-slate-600 mb-6">
Join thousands of donors who are creating real change. Every dollar counts and we show you exactly where it goes.
</p>
<div class="flex flex-col space-y-4">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-indigo-600 mr-4">
<i class="fas fa-check"></i>
</div>
<span class="text-slate-700">100% transparent process</span>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-indigo-600 mr-4">
<i class="fas fa-check"></i>
</div>
<span class="text-slate-700">Tax-deductible donations</span>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-indigo-600 mr-4">
<i class="fas fa-check"></i>
</div>
<span class="text-slate-700">Verified charity partners</span>
</div>
</div>
</div>
<div class="w-full lg:w-1/2">
<div class="bg-white rounded-lg p-6 shadow-md">
<h4 class="text-lg font-bold text-indigo-600 mb-4">Quick Donation</h4>
<div class="mb-4">
<label class="block text-slate-600 mb-2">Select Amount</label>
<div class="grid grid-cols-3 gap-3 mb-3">
<button class="py-2 bg-indigo-100 text-indigo-600 rounded-lg font-medium hover:bg-indigo-200 transition btn-3d">
$10
</button>
<button class="py-2 bg-indigo-100 text-indigo-600 rounded-lg font-medium hover:bg-indigo-200 transition btn-3d">
$25
</button>
<button class="py-2 bg-indigo-100 text-indigo-600 rounded-lg font-medium hover:bg-indigo-200 transition btn-3d">
$50
</button>
<button class="py-2 bg-indigo-100 text-indigo-600 rounded-lg font-medium hover:bg-indigo-200 transition btn-3d">
$100
</button>
<button class="py-2 bg-indigo-100 text-indigo-600 rounded-lg font-medium hover:bg-indigo-200 transition btn-3d">
$250
</button>
<button class="py-2 bg-indigo-600 text-white rounded-lg font-medium btn-3d">
Custom
</button>
</div>
</div>
<div class="mb-4">
<label class="block text-slate-600 mb-2">Select Cause</label>
<select class="w-full px-4 py-3 border border-slate-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent donation-input">
<option>Clean Water Initiative</option>
<option>Education for All</option>
<option>Reforestation Project</option>
<option>Hunger Relief</option>
<option>Medical Aid</option>
</select>
</div>
<div class="flex items-center mb-6">
<input type="checkbox" id="recurring" class="w-5 h-5 text-indigo-600 rounded focus:ring-indigo-500">
<label for="recurring" class="ml-2 text-slate-600">Make this a monthly donation</label>
</div>
<button class="w-full py-3 bg-indigo-600 text-white rounded-lg font-medium hover:bg-indigo-700 transition btn-3d">
Donate Now
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-20 bg-slate-50">
<div class="container mx-auto px-6">
<h2 class="text-3xl md:text-4xl font-bold text-center text-indigo-600 mb-4">Donor Stories</h2>
<p class="text-center text-slate-600 max-w-2xl mx-auto mb-12">
Hear from our community of donors who are making a real impact.
</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white rounded-xl p-8 shadow-lg impact-card">
<div class="flex items-center mb-6">
<div class="w-16 h-16 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 text-2xl font-bold mr-4">
S
</div>
<div>
<h4 class="font-bold text-indigo-600">Sarah J.</h4>
<p class="text-slate-500 text-sm">Monthly Donor since 2020</p>
</div>
</div>
<p class="text-slate-600 mb-4">
"I love being able to see exactly where my donations are going through the 3D impact visualization. It makes giving so much more meaningful."
</p>
<div class="flex">
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
</div>
</div>
<div class="bg-white rounded-xl p-8 shadow-lg impact-card">
<div class="flex items-center mb-6">
<div class="w-16 h-16 rounded-full bg-amber-100 flex items-center justify-center text-amber-600 text-2xl font-bold mr-4">
M
</div>
<div>
<h4 class="font-bold text-amber-600">Michael T.</h4>
<p class="text-slate-500 text-sm">Supports Education</p>
</div>
</div>
<p class="text-slate-600 mb-4">
"The transparency of this platform is unmatched. I can track my donations from my wallet to the classroom in real-time. Highly recommend!"
</p>
<div class="flex">
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
</div>
</div>
<div class="bg-white rounded-xl p-8 shadow-lg impact-card">
<div class="flex items-center mb-6">
<div class="w-16 h-16 rounded-full bg-emerald-100 flex items-center justify-center text-emerald-600 text-2xl font-bold mr-4">
A
</div>
<div>
<h4 class="font-bold text-emerald-600">Aisha K.</h4>
<p class="text-slate-500 text-sm">Environmental Advocate</p>
</div>
</div>
<p class="text-slate-600 mb-4">
"Watching my impact tree grow with each donation is incredibly rewarding. This platform makes philanthropy engaging and fun."
</p>
<div class="flex">
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
<i class="fas fa-star text-amber-400"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-20 bg-indigo-600">
<div class="container mx-auto px-6">
<div class="max-w-4xl mx-auto text-center">
<div class="envelope-3d inline-block mb-6">
<i class="fas fa-envelope-open-text text-white text-5xl"></i>
</div>
<h2 class="text-3xl md:text-4xl font-bold text-white mb-4">Stay Updated</h2>
<p class="text-indigo-100 mb-8">
Subscribe to our newsletter to receive impact reports, new causes, and special giving opportunities.
</p>
<div class="flex flex-col md:flex-row max-w-md md:max-w-2xl mx-auto">
<input type="email" placeholder="Your email address" class="px-6 py-4 rounded-lg md:rounded-r-none focus:outline-none w-full donation-input">
<button class="mt-4 md:mt-0 px-8 py-4 bg-white text-indigo-600 font-bold rounded-lg md:rounded-l-none hover:bg-indigo-50 transition btn-3d">
Subscribe
</button>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-slate-900 text-white py-12">
<div class="container mx-auto px-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
<div>
<div class="flex items-center space-x-2 mb-6">
<div class="w-10 h-10 bg-indigo-500 rounded-full flex items-center justify-center">
<i class="fas fa-heart text-white text-xl"></i>
</div>
<span class="text-xl font-bold">GiveHope</span>
</div>
<p class="text-slate-400 mb-6">
Making charitable giving transparent, engaging, and impactful through innovative 3D technology.
</p>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-indigo-600 transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-indigo-600 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-indigo-600 transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-indigo-600 transition">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-bold mb-6">Quick Links</h3>
<ul class="space-y-3">
<li><a href="#" class="text-slate-400 hover:text-white transition">Home</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">Causes</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-6">Causes</h3>
<ul class="space-y-3">
<li><a href="#" class="text-slate-400 hover:text-white transition">Education</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">Poverty</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">Environment</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">Health</a></li>
<li><a href="#" class="text-slate-400 hover:text-white transition">Human Rights</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-6">Contact</h3>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-map-marker-alt text-indigo-500 mt-1 mr-3"></i>
<span class="text-slate-400">123 Charity Lane, Hope City, HC 12345</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone-alt text-indigo-500 mr-3"></i>
<span class="text-slate-400">(123) 456-7890</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope text-indigo-500 mr-3"></i>
<span class="text-slate-400">info@givehope.org</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-slate-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-slate-500 mb-4 md:mb-0">
© 2023 GiveHope. All rights reserved.
</p>
<div class="flex space-x-6">
<a href="#" class="text-slate-500 hover:text-white transition">Privacy Policy</a>
<a href="#" class="text-slate-500 hover:text-white transition">Terms of Service</a>
<a href="#" class="text-slate-500 hover:text-white transition">Sitemap</a>
</div>
</div>
</div>
</footer>
<!-- 3D Globe Script -->
<script>
// Simple particle effect for hero section
document.addEventListener('DOMContentLoaded', function() {
// Create particles
const heroSection = document.querySelector('.hero-gradient');
const particleCount = 30;
for (let i = 0; i < particleCount; i++) {
const particle = document.createElement('div');
particle.classList.add('particle');
// Random properties
const size = Math.random() * 5 + 2;
const posX = Math.random() * 100;
const posY = Math.random() * 100;
const opacity = Math.random() * 0.5 + 0.1;
const delay = Math.random() * 5;
const duration = Math.random() * 10 + 5;
particle.style.width = `${size}px`;
particle.style.height = `${size}px`;
particle.style.left = `${posX}%`;
particle.style.top = `${posY}%`;
particle.style.backgroundColor = `rgba(255, 255, 255, ${opacity})`;
particle.style.animation = `float ${duration}s ease-in-out ${delay}s infinite`;
heroSection.appendChild(particle);
}
// Simple 3D globe effect
const createGlobe = (containerId) => {
const container = document.getElementById(containerId);
if (!container) return;
const width = container.offsetWidth;
const height = container.offsetHeight;
// Create a simple sphere using Three.js
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, width / height, 0.1, 1000);
const renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
renderer.setSize(width, height);
container.appendChild(renderer.domElement);
// Create sphere
const geometry = new THREE.SphereGeometry(5, 32, 32);
const material = new THREE.MeshBasicMaterial({
color: containerId === 'main-globe' ? 0x4f46e5 : 0x10b981,
wireframe: true,
transparent: true,
opacity: 0.7
});
const sphere = new THREE.Mesh(geometry, material);
scene.add(sphere);
// Add points for impact locations
if (containerId === 'main-globe') {
const points = [
{ color: 0x4f46e5, position: [3, 1, 3] }, // Your donations
{ color: 0x10b981, position: [-2, 2, 4] }, // Community impact
{ color: 0xf59e0b, position: [4, -1, -2] }, // Recent projects
{ color: 0xef4444, position: [-3, -2, -3] } // Urgent needs
];
points.forEach(point => {
const pointGeometry = new THREE.SphereGeometry(0.3, 16, 16);
const pointMaterial = new THREE.MeshBasicMaterial({ color: point.color });
const pointMesh = new THREE.Mesh(pointGeometry, pointMaterial);
pointMesh.position.set(...point.position);
scene.add(pointMesh);
});
}
camera.position.z = 8;
// Animation
const animate = function () {
requestAnimationFrame(animate);
sphere.rotation.x += 0.005;
sphere.rotation.y += 0.01;
renderer.render(scene, camera);
};
animate();
// Handle resize
window.addEventListener('resize', () => {
const newWidth = container.offsetWidth;
const newHeight = container.offsetHeight;
camera.aspect = newWidth / newHeight;
camera.updateProjectionMatrix();
renderer.setSize(newWidth, newHeight);
});
};
// Initialize globes
createGlobe('main-globe');
createGlobe('globe-1');
// 3D card hover effects
const impactCards = document.querySelectorAll('.impact-card');
impactCards.forEach(card => {
card.addEventListener('mousemove', (e) => {
const xAxis = (window.innerWidth / 2 - e.pageX) / 25;
const yAxis = (window.innerHeight / 2 - e.pageY) / 25;
card.style.transform = `rotateY(${xAxis}deg) rotateX(${yAxis}deg) translateZ(10px)`;
});
card.addEventListener('mouseleave', () => {
card.style.transform = 'rotateY(0deg) rotateX(0deg) translateZ(0px)';
});
});
// Button animations
const buttons = document.querySelectorAll('.btn-3d');
buttons.forEach(button => {
button.addEventListener('mousedown', () => {
button.style.transform = 'translateY(1px) translateZ(5px)';
});
button.addEventListener('mouseup', () => {
button.style.transform = 'translateY(-3px) translateZ(10px)';
});
button.addEventListener('mouseleave', () => {
button.style.transform = 'translateY(0px) translateZ(0px)';
});
});
// Toggle animations
const toggles = document.querySelectorAll('.toggle-3d');
toggles.forEach(toggle => {
toggle.addEventListener('mouseenter', () => {
toggle.querySelector('.toggle-3d-inner').style.transform = 'translateZ(30px)';
});
toggle.addEventListener('mouseleave', () => {
toggle.querySelector('.toggle-3d-inner').style.transform = 'translateZ(20px)';
});
});
// Input focus effects
const inputs = document.querySelectorAll('.donation-input');
inputs.forEach(input => {
input.addEventListener('focus', () => {
input.style.transform = 'translateZ(10px)';
input.style.boxShadow = '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)';
});
input.addEventListener('blur', () => {
input.style.transform = 'translateZ(0px)';
input.style.boxShadow = 'none';
});
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=binn4/https-huggingface-co-spaces-binn4-aihero" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |