BeatleOG commited on
Commit
7d1dda6
·
verified ·
1 Parent(s): 8f1fd2d

Got it! Here's the updated prompt for a **clean, animated landing page** for **Pixel Pair** with **no images** but with **cool animations**, focusing on a **minimalist, modern look** with a **rich, nature-inspired color theme**.

Browse files

---

**Create a sleek, modern landing page for Pixel Pair, a premium digital content agency founded in 2025. The design should focus on clean animations, smooth transitions, and a nature-inspired color theme. The website should have a minimalist yet professional look with emphasis on interactive elements that keep the user engaged without using images.**

---

### **Landing Page Structure:**

---

* **Header:**

* **Text-based logo**: Use the name **"pixelpair.co"** in **bold, clean typography** (e.g., **Futura**, **Montserrat**, or **Avenir**) with **no logo**—just the text.
* **Navigation links**: Minimal links like **Home, Services, Portfolio, About, Contact**.
* **CTA Button**: A clean, sleek **"Get Started"** or **"Request a Quote"** button.

---

* **Hero Section:**

* **Smooth Animations**: No images. The section should have **abstract, nature-inspired animations** that move subtly in the background (like **animated leaf patterns**, **flowing water**, or **gentle waves**).
* Use colors like **forest green**, **earthy brown**, and **deep charcoal** to create a calm, professional atmosphere.
* A **smooth, elegant fade-in text animation** for the headline:
**"Pixel Pair: Elevating Brands with Premium Digital Content, Founded in 2025."**
* **Subtle scrolling animation**: As the user scrolls down, the text should **appear smoothly** and elements should **slide in** with a **natural flow**.

---

* **About Us Section:**

* **Minimalist design with smooth fades** and subtle movement.
* **Text Animation**: A **typewriter effect** or **fade-in** to reveal the following text:
“Pixel Pair is a collective of digital content creators and strategists, committed to delivering high-quality solutions that blend creativity with nature-inspired aesthetics.”
* Use **earthy, muted tones** for background (like **moss green**, **sandstone beige**, and **charcoal**).

---

* **Services Section:**

* **Service blocks** (without images) that **expand** or **fade in** as the user scrolls down:

* **Social Media Content Creation**: “Crafting custom, engaging content for your brand’s social platforms.”
* **YouTube Thumbnails & Video Editing**: “Designing eye-catching thumbnails and creating compelling video edits.”
* **Blog Post Design & Strategy**: “Well-crafted, SEO-optimized blog posts to increase traffic and engagement.”
* **Short-Form Video Production**: “Creating viral short-form videos for TikTok, Reels, and Shorts.”
* Each service will have **hover animations** that highlight text or change color for interactivity.

---

* **Portfolio Section:**

* **Animated Grid**: Show your projects using a **grid layout** with **hover effects** (e.g., **hover to reveal project details**). No images, just text-based descriptions that appear when hovered over.
* The grid should **move smoothly** into view as the user scrolls down, with animations that mimic **natural elements** (like leaves falling or a gentle breeze moving elements).

---

* **Contact Us Section:**

* **Contact form** with **simple fields** (name, email, message), and subtle animations when users interact (e.g., fields highlighting when clicked).
* **Google Login integration**: “Log in with Google” to streamline user access.
* **CTA**: A call-to-action like **"Let’s create something extraordinary. Get in touch with us."**
* **Contact Information**: Include **email ([pixelpairofc@gmail.com](mailto:pixelpairofc@gmail.com))** and **Instagram handle (@pixelpair.co)**, animated to gently appear when users scroll down.

---

* **Footer:**

* **Minimalist, clean footer** with links to **social media** (Instagram, LinkedIn, YouTube).
* **Background**: Use a **deep, earthy tone** like **charcoal** with **light text** for easy readability.
* A subtle **hover effect** on the footer links, with an elegant animation for smooth interaction.

---

### **Design Features:**

* **Nature-Inspired Color Palette**: Use **deep greens**, **earthy browns**, and **warm neutrals** (like **beige**, **sand**, and **charcoal**) to create a calming, professional atmosphere. Avoid bright, synthetic colors to maintain a premium feel.

* **Typography**: Choose **modern, clean fonts** (e.g., **Proxima Nova**, **Lato**, or **Avenir**) for a sleek, professional look.

* **Smooth Animations**:

* Use **subtle fade-ins** for text.
* **Interactive hover effects** on buttons and service blocks.
* Add **scroll animations** to make the page feel dynamic and alive without overwhelming the user.
* Integrate **motion graphics** like gentle leaf patterns, flowing water, or waves in the background to evoke a calming, nature-inspired atmosphere.

* **Whitespace**: Maintain a **minimalist layout** with plenty of whitespace to keep the design clean and organized.

---

This **landing page design** will focus on **interactive animations**, **smooth transitions**, and a **premium, nature-inspired color scheme**, making it modern, sleek, and professional while offering a dynamic and smooth user experience.

Let me know if you’d like to refine any part further!
Make is responsive and add animation

Files changed (2) hide show
  1. README.md +9 -5
  2. index.html +366 -18
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Undefined
3
- emoji: 🏃
4
- colorFrom: purple
5
- colorTo: purple
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: undefined
3
+ colorFrom: pink
4
+ colorTo: red
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,367 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>PixelPair | Premium Digital Content</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
11
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
12
+ <style>
13
+ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');
14
+ body {
15
+ font-family: 'Montserrat', sans-serif;
16
+ overflow-x: hidden;
17
+ }
18
+ .nature-bg {
19
+ background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
20
+ }
21
+ .leaf-animation {
22
+ position: absolute;
23
+ width: 100%;
24
+ height: 100%;
25
+ top: 0;
26
+ left: 0;
27
+ pointer-events: none;
28
+ z-index: -1;
29
+ }
30
+ .leaf {
31
+ position: absolute;
32
+ background-color: #27ae60;
33
+ opacity: 0.2;
34
+ border-radius: 50% 50% 50% 0;
35
+ }
36
+ .wave {
37
+ position: absolute;
38
+ bottom: 0;
39
+ left: 0;
40
+ width: 200%;
41
+ height: 10vw;
42
+ background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%2327ae60" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%2327ae60" opacity=".25"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%2327ae60"/></svg>');
43
+ background-size: 50% 100%;
44
+ animation: wave 10s linear infinite;
45
+ }
46
+ @keyframes wave {
47
+ 0% { transform: translateX(0); }
48
+ 100% { transform: translateX(-50%); }
49
+ }
50
+ .service-card {
51
+ transition: all 0.3s ease;
52
+ }
53
+ .service-card:hover {
54
+ transform: translateY(-10px);
55
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
56
+ }
57
+ .portfolio-item {
58
+ transition: all 0.3s ease;
59
+ }
60
+ .portfolio-item:hover .portfolio-overlay {
61
+ opacity: 1;
62
+ transform: translateY(0);
63
+ }
64
+ .portfolio-overlay {
65
+ opacity: 0;
66
+ transform: translateY(20px);
67
+ transition: all 0.3s ease;
68
+ }
69
+ </style>
70
+ </head>
71
+ <body class="bg-[#f8f9fa] text-gray-800">
72
+ <!-- Leaf Animation Background -->
73
+ <div class="leaf-animation" id="leafAnimation"></div>
74
+
75
+ <!-- Header -->
76
+ <header class="fixed w-full z-50 bg-white bg-opacity-90 backdrop-blur-sm shadow-sm">
77
+ <div class="container mx-auto px-6 py-4">
78
+ <div class="flex justify-between items-center">
79
+ <a href="#" class="text-2xl font-bold text-[#2c3e50]">pixelpair.co</a>
80
+ <nav class="hidden md:flex space-x-8">
81
+ <a href="#" class="text-[#2c3e50] hover:text-[#27ae60] transition">Home</a>
82
+ <a href="#services" class="text-[#2c3e50] hover:text-[#27ae60] transition">Services</a>
83
+ <a href="#portfolio" class="text-[#2c3e50] hover:text-[#27ae60] transition">Portfolio</a>
84
+ <a href="#about" class="text-[#2c3e50] hover:text-[#27ae60] transition">About</a>
85
+ <a href="#contact" class="text-[#2c3e50] hover:text-[#27ae60] transition">Contact</a>
86
+ </nav>
87
+ <a href="#contact" class="hidden md:block px-6 py-2 bg-[#27ae60] text-white rounded-full hover:bg-[#219955] transition">Get Started</a>
88
+ <button class="md:hidden focus:outline-none">
89
+ <i data-feather="menu"></i>
90
+ </button>
91
+ </div>
92
+ </div>
93
+ </header>
94
+
95
+ <!-- Hero Section -->
96
+ <section class="relative h-screen flex items-center justify-center overflow-hidden">
97
+ <div class="wave"></div>
98
+ <div class="container mx-auto px-6 text-center">
99
+ <h1 class="text-5xl md:text-7xl font-bold mb-6 text-[#2c3e50] opacity-0" id="heroTitle">Pixel Pair: Elevating Brands with Premium Digital Content</h1>
100
+ <p class="text-xl md:text-2xl text-gray-600 mb-10 opacity-0" id="heroSubtitle">Founded in 2025</p>
101
+ <a href="#services" class="inline-block px-8 py-3 bg-[#27ae60] text-white rounded-full text-lg font-medium hover:bg-[#219955] transition opacity-0" id="heroButton">Explore Our Services</a>
102
+ </div>
103
+ </section>
104
+
105
+ <!-- About Section -->
106
+ <section id="about" class="py-20 bg-white">
107
+ <div class="container mx-auto px-6">
108
+ <h2 class="text-4xl font-bold text-center mb-16 text-[#2c3e50]">About Us</h2>
109
+ <div class="max-w-3xl mx-auto text-center">
110
+ <p class="text-xl text-gray-600 leading-relaxed" id="aboutText">Pixel Pair is a collective of digital content creators and strategists, committed to delivering high-quality solutions that blend creativity with nature-inspired aesthetics.</p>
111
+ </div>
112
+ </div>
113
+ </section>
114
+
115
+ <!-- Services Section -->
116
+ <section id="services" class="py-20 nature-bg text-white">
117
+ <div class="container mx-auto px-6">
118
+ <h2 class="text-4xl font-bold text-center mb-16">Our Services</h2>
119
+ <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
120
+ <div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
121
+ <div class="text-4xl mb-4">
122
+ <i data-feather="instagram"></i>
123
+ </div>
124
+ <h3 class="text-xl font-bold mb-3">Social Media Content</h3>
125
+ <p class="text-gray-300">Crafting custom, engaging content for your brand's social platforms.</p>
126
+ </div>
127
+ <div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
128
+ <div class="text-4xl mb-4">
129
+ <i data-feather="youtube"></i>
130
+ </div>
131
+ <h3 class="text-xl font-bold mb-3">YouTube Production</h3>
132
+ <p class="text-gray-300">Designing eye-catching thumbnails and creating compelling edits.</p>
133
+ </div>
134
+ <div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
135
+ <div class="text-4xl mb-4">
136
+ <i data-feather="edit"></i>
137
+ </div>
138
+ <h3 class="text-xl font-bold mb-3">Blog Strategy</h3>
139
+ <p class="text-gray-300">Well-crafted, SEO-optimized blog posts to increase engagement.</p>
140
+ </div>
141
+ <div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
142
+ <div class="text-4xl mb-4">
143
+ <i data-feather="film"></i>
144
+ </div>
145
+ <h3 class="text-xl font-bold mb-3">Short-Form Videos</h3>
146
+ <p class="text-gray-300">Creating viral short-form videos for TikTok, Reels, and Shorts.</p>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </section>
151
+
152
+ <!-- Portfolio Section -->
153
+ <section id="portfolio" class="py-20 bg-white">
154
+ <div class="container mx-auto px-6">
155
+ <h2 class="text-4xl font-bold text-center mb-16 text-[#2c3e50]">Our Portfolio</h2>
156
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
157
+ <div class="portfolio-item relative h-64 bg-[#34495e] rounded-xl overflow-hidden">
158
+ <div class="absolute inset-0 portfolio-overlay bg-[#27ae60] bg-opacity-90 flex flex-col justify-center items-center p-6 text-white text-center">
159
+ <h3 class="text-2xl font-bold mb-2">Social Media Campaign</h3>
160
+ <p>Complete branding and content strategy for a wellness brand</p>
161
+ </div>
162
+ </div>
163
+ <div class="portfolio-item relative h-64 bg-[#2c3e50] rounded-xl overflow-hidden">
164
+ <div class="absolute inset-0 portfolio-overlay bg-[#27ae60] bg-opacity-90 flex flex-col justify-center items-center p-6 text-white text-center">
165
+ <h3 class="text-2xl font-bold mb-2">YouTube Series</h3>
166
+ <p>Thumbnail design and editing for a tech channel</p>
167
+ </div>
168
+ </div>
169
+ <div class="portfolio-item relative h-64 bg-[#34495e] rounded-xl overflow-hidden">
170
+ <div class="absolute inset-0 portfolio-overlay bg-[#27ae60] bg-opacity-90 flex flex-col justify-center items-center p-6 text-white text-center">
171
+ <h3 class="text-2xl font-bold mb-2">Blog Redesign</h3>
172
+ <p>Complete overhaul of content strategy and design</p>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
177
+ </section>
178
+
179
+ <!-- Contact Section -->
180
+ <section id="contact" class="py-20 nature-bg text-white">
181
+ <div class="container mx-auto px-6">
182
+ <h2 class="text-4xl font-bold text-center mb-16">Get In Touch</h2>
183
+ <div class="max-w-2xl mx-auto">
184
+ <form class="space-y-6">
185
+ <div>
186
+ <input type="text" placeholder="Your Name" class="w-full px-4 py-3 bg-white bg-opacity-10 backdrop-blur-sm rounded-lg border border-white border-opacity-30 focus:outline-none focus:ring-2 focus:ring-[#27ae60]">
187
+ </div>
188
+ <div>
189
+ <input type="email" placeholder="Your Email" class="w-full px-4 py-3 bg-white bg-opacity-10 backdrop-blur-sm rounded-lg border border-white border-opacity-30 focus:outline-none focus:ring-2 focus:ring-[#27ae60]">
190
+ </div>
191
+ <div>
192
+ <textarea placeholder="Your Message" rows="5" class="w-full px-4 py-3 bg-white bg-opacity-10 backdrop-blur-sm rounded-lg border border-white border-opacity-30 focus:outline-none focus:ring-2 focus:ring-[#27ae60]"></textarea>
193
+ </div>
194
+ <button type="submit" class="w-full px-6 py-3 bg-[#27ae60] text-white rounded-lg font-medium hover:bg-[#219955] transition">Send Message</button>
195
+ </form>
196
+ <div class="mt-12 text-center">
197
+ <p class="text-lg mb-4">Or reach us directly</p>
198
+ <div class="flex justify-center space-x-6">
199
+ <a href="mailto:pixelpairofc@gmail.com" class="flex items-center space-x-2 hover:text-[#27ae60] transition">
200
+ <i data-feather="mail"></i>
201
+ <span>pixelpairofc@gmail.com</span>
202
+ </a>
203
+ <a href="#" class="flex items-center space-x-2 hover:text-[#27ae60] transition">
204
+ <i data-feather="instagram"></i>
205
+ <span>@pixelpair.co</span>
206
+ </a>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </section>
212
+
213
+ <!-- Footer -->
214
+ <footer class="bg-[#1a252f] text-white py-12">
215
+ <div class="container mx-auto px-6">
216
+ <div class="flex flex-col md:flex-row justify-between items-center">
217
+ <div class="mb-6 md:mb-0">
218
+ <h3 class="text-2xl font-bold">pixelpair.co</h3>
219
+ <p class="mt-2 text-gray-400">Premium Digital Content Agency</p>
220
+ </div>
221
+ <div class="flex space-x-6">
222
+ <a href="#" class="text-gray-400 hover:text-white transition">
223
+ <i data-feather="instagram"></i>
224
+ </a>
225
+ <a href="#" class="text-gray-400 hover:text-white transition">
226
+ <i data-feather="twitter"></i>
227
+ </a>
228
+ <a href="#" class="text-gray-400 hover:text-white transition">
229
+ <i data-feather="linkedin"></i>
230
+ </a>
231
+ <a href="#" class="text-gray-400 hover:text-white transition">
232
+ <i data-feather="youtube"></i>
233
+ </a>
234
+ </div>
235
+ </div>
236
+ <div class="mt-8 pt-8 border-t border-gray-800 text-center text-gray-400">
237
+ <p>&copy; 2025 Pixel Pair. All rights reserved.</p>
238
+ </div>
239
+ </div>
240
+ </footer>
241
+
242
+ <script>
243
+ // Initialize GSAP animations
244
+ document.addEventListener('DOMContentLoaded', () => {
245
+ feather.replace();
246
+
247
+ // Leaf animation
248
+ function createLeaves() {
249
+ const container = document.getElementById('leafAnimation');
250
+ for (let i = 0; i < 20; i++) {
251
+ const leaf = document.createElement('div');
252
+ leaf.classList.add('leaf');
253
+
254
+ const size = Math.random() * 20 + 10;
255
+ const posX = Math.random() * 100;
256
+ const posY = Math.random() * 100;
257
+ const rotation = Math.random() * 360;
258
+ const duration = Math.random() * 15 + 10;
259
+ const delay = Math.random() * 5;
260
+
261
+ leaf.style.width = `${size}px`;
262
+ leaf.style.height = `${size}px`;
263
+ leaf.style.left = `${posX}%`;
264
+ leaf.style.top = `${posY}%`;
265
+ leaf.style.transform = `rotate(${rotation}deg)`;
266
+
267
+ gsap.to(leaf, {
268
+ y: '+=100',
269
+ x: '+=50',
270
+ rotation: '+=180',
271
+ duration: duration,
272
+ delay: delay,
273
+ repeat: -1,
274
+ yoyo: true,
275
+ ease: 'sine.inOut'
276
+ });
277
+
278
+ container.appendChild(leaf);
279
+ }
280
+ }
281
+
282
+ createLeaves();
283
+
284
+ // Hero section animations
285
+ gsap.from('#heroTitle', {
286
+ opacity: 0,
287
+ y: 50,
288
+ duration: 1,
289
+ delay: 0.5,
290
+ ease: 'power3.out'
291
+ });
292
+
293
+ gsap.from('#heroSubtitle', {
294
+ opacity: 0,
295
+ y: 50,
296
+ duration: 1,
297
+ delay: 0.8,
298
+ ease: 'power3.out'
299
+ });
300
+
301
+ gsap.from('#heroButton', {
302
+ opacity: 0,
303
+ y: 50,
304
+ duration: 1,
305
+ delay: 1.1,
306
+ ease: 'power3.out'
307
+ });
308
+
309
+ // Scroll animations
310
+ gsap.utils.toArray('section').forEach((section, i) => {
311
+ if (i > 0) { // Skip hero section
312
+ gsap.from(section, {
313
+ scrollTrigger: {
314
+ trigger: section,
315
+ start: 'top 80%',
316
+ toggleActions: 'play none none none'
317
+ },
318
+ opacity: 0,
319
+ y: 50,
320
+ duration: 1
321
+ });
322
+ }
323
+ });
324
+
325
+ // Section specific animations
326
+ gsap.from('#aboutText', {
327
+ scrollTrigger: {
328
+ trigger: '#about',
329
+ start: 'top 70%',
330
+ toggleActions: 'play none none none'
331
+ },
332
+ opacity: 0,
333
+ duration: 1.5,
334
+ ease: 'power2.out'
335
+ });
336
+
337
+ gsap.utils.toArray('.service-card').forEach((card, i) => {
338
+ gsap.from(card, {
339
+ scrollTrigger: {
340
+ trigger: '#services',
341
+ start: 'top 70%',
342
+ toggleActions: 'play none none none'
343
+ },
344
+ opacity: 0,
345
+ y: 50,
346
+ duration: 0.5,
347
+ delay: i * 0.1
348
+ });
349
+ });
350
+
351
+ gsap.utils.toArray('.portfolio-item').forEach((item, i) => {
352
+ gsap.from(item, {
353
+ scrollTrigger: {
354
+ trigger: '#portfolio',
355
+ start: 'top 70%',
356
+ toggleActions: 'play none none none'
357
+ },
358
+ opacity: 0,
359
+ y: 50,
360
+ duration: 0.5,
361
+ delay: i * 0.1
362
+ });
363
+ });
364
+ });
365
+ </script>
366
+ </body>
367
  </html>