Zeetek321 commited on
Commit
9711321
·
verified ·
1 Parent(s): 45e0c3c

Softcodes.com.ng

Browse files
Files changed (2) hide show
  1. README.md +7 -4
  2. index.html +411 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
  title: Softcodes Solutions
3
- emoji: 🏃
4
- colorFrom: green
5
- colorTo: blue
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: Softcodes Solutions
3
+ colorFrom: purple
4
+ colorTo: green
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).
index.html CHANGED
@@ -1,19 +1,412 @@
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>Softcodes - Software Solutions</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
13
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
14
+ <style>
15
+ body {
16
+ font-family: 'Poppins', sans-serif;
17
+ overflow-x: hidden;
18
+ }
19
+ .hero-bg {
20
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
21
+ }
22
+ .service-card:hover {
23
+ transform: translateY(-10px);
24
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
25
+ }
26
+ .feature-card {
27
+ transition: all 0.3s ease;
28
+ }
29
+ .feature-card:hover {
30
+ background-color: #f0f9ff;
31
+ }
32
+ .animate-on-scroll {
33
+ opacity: 0;
34
+ transform: translateY(30px);
35
+ transition: opacity 0.6s ease-out, transform 0.6s ease-out;
36
+ }
37
+ .animate-on-scroll.visible {
38
+ opacity: 1;
39
+ transform: translateY(0);
40
+ }
41
+ </style>
42
+ </head>
43
+ <body class="bg-gray-50">
44
+ <!-- Navigation -->
45
+ <nav class="fixed w-full bg-white shadow-md z-50">
46
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
47
+ <div class="flex justify-between h-16">
48
+ <div class="flex items-center">
49
+ <div class="flex-shrink-0 flex items-center">
50
+ <i data-feather="code" class="h-8 w-8 text-indigo-600"></i>
51
+ <span class="ml-2 text-xl font-bold text-gray-900">Softcodes</span>
52
+ </div>
53
+ </div>
54
+ <div class="hidden md:flex items-center space-x-8">
55
+ <a href="#" class="text-gray-700 hover:text-indigo-600 font-medium">Home</a>
56
+ <a href="#services" class="text-gray-700 hover:text-indigo-600 font-medium">Services</a>
57
+ <a href="#about" class="text-gray-700 hover:text-indigo-600 font-medium">About</a>
58
+ <a href="#contact" class="text-gray-700 hover:text-indigo-600 font-medium">Contact</a>
59
+ <button class="bg-indigo-600 text-white px-4 py-2 rounded-md font-medium hover:bg-indigo-700 transition duration-300">
60
+ Get Started
61
+ </button>
62
+ </div>
63
+ <div class="md:hidden flex items-center">
64
+ <button id="mobile-menu-button" class="text-gray-700">
65
+ <i data-feather="menu" class="h-6 w-6"></i>
66
+ </button>
67
+ </div>
68
+ </div>
69
+ </div>
70
+ </nav>
71
+
72
+ <!-- Mobile Menu -->
73
+ <div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg absolute w-full z-40">
74
+ <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
75
+ <a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-indigo-600 hover:bg-gray-50">Home</a>
76
+ <a href="#services" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-indigo-600 hover:bg-gray-50">Services</a>
77
+ <a href="#about" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-indigo-600 hover:bg-gray-50">About</a>
78
+ <a href="#contact" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-indigo-600 hover:bg-gray-50">Contact</a>
79
+ <button class="w-full mt-2 bg-indigo-600 text-white px-4 py-2 rounded-md font-medium hover:bg-indigo-700 transition duration-300">
80
+ Get Started
81
+ </button>
82
+ </div>
83
+ </div>
84
+
85
+ <!-- Hero Section -->
86
+ <div id="hero" class="hero-bg pt-16 pb-20">
87
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
88
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-12 items-center pt-16">
89
+ <div class="text-white">
90
+ <h1 class="text-4xl md:text-5xl font-bold leading-tight animate-on-scroll">
91
+ Transform Your Business with <span class="text-yellow-300">Smart Solutions</span>
92
+ </h1>
93
+ <p class="mt-6 text-xl text-gray-100 animate-on-scroll">
94
+ We build cutting-edge software solutions that drive growth, efficiency, and innovation for businesses of all sizes.
95
+ </p>
96
+ <div class="mt-8 flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4 animate-on-scroll">
97
+ <button class="bg-white text-indigo-600 px-8 py-3 rounded-lg font-semibold text-lg hover:bg-gray-100 transition duration-300 shadow-lg">
98
+ Explore Services
99
+ </button>
100
+ <button class="border-2 border-white text-white px-8 py-3 rounded-lg font-semibold text-lg hover:bg-white hover:text-indigo-600 transition duration-300">
101
+ Contact Us
102
+ </button>
103
+ </div>
104
+ </div>
105
+ <div class="flex justify-center animate-on-scroll">
106
+ <div id="globe-animation" class="w-80 h-80 rounded-full"></div>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </div>
111
+
112
+ <!-- Services Section -->
113
+ <section id="services" class="py-20 bg-white">
114
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
115
+ <div class="text-center mb-16 animate-on-scroll">
116
+ <h2 class="text-3xl md:text-4xl font-bold text-gray-900">Our <span class="text-indigo-600">Services</span></h2>
117
+ <p class="mt-4 text-xl text-gray-600 max-w-3xl mx-auto">
118
+ We offer a comprehensive range of software development services to help your business thrive in the digital world.
119
+ </p>
120
+ </div>
121
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
122
+ <div class="service-card bg-gray-50 p-8 rounded-xl transition duration-300 animate-on-scroll">
123
+ <div class="w-16 h-16 bg-indigo-100 rounded-lg flex items-center justify-center mb-6">
124
+ <i data-feather="smartphone" class="h-8 w-8 text-indigo-600"></i>
125
+ </div>
126
+ <h3 class="text-xl font-bold text-gray-900 mb-3">Mobile App Development</h3>
127
+ <p class="text-gray-600">
128
+ Build engaging mobile applications for iOS and Android platforms that deliver exceptional user experiences.
129
+ </p>
130
+ </div>
131
+ <div class="service-card bg-gray-50 p-8 rounded-xl transition duration-300 animate-on-scroll">
132
+ <div class="w-16 h-16 bg-green-100 rounded-lg flex items-center justify-center mb-6">
133
+ <i data-feather="monitor" class="h-8 w-8 text-green-600"></i>
134
+ </div>
135
+ <h3 class="text-xl font-bold text-gray-900 mb-3">Web Development</h3>
136
+ <p class="text-gray-600">
137
+ Create responsive, high-performance websites and web applications using modern technologies.
138
+ </p>
139
+ </div>
140
+ <div class="service-card bg-gray-50 p-8 rounded-xl transition duration-300 animate-on-scroll">
141
+ <div class="w-16 h-16 bg-blue-100 rounded-lg flex items-center justify-center mb-6">
142
+ <i data-feather="cloud" class="h-8 w-8 text-blue-600"></i>
143
+ </div>
144
+ <h3 class="text-xl font-bold text-gray-900 mb-3">Cloud Solutions</h3>
145
+ <p class="text-gray-600">
146
+ Leverage cloud technologies to scale your infrastructure and improve operational efficiency.
147
+ </p>
148
+ </div>
149
+ <div class="service-card bg-gray-50 p-8 rounded-xl transition duration-300 animate-on-scroll">
150
+ <div class="w-16 h-16 bg-purple-100 rounded-lg flex items-center justify-center mb-6">
151
+ <i data-feather="lock" class="h-8 w-8 text-purple-600"></i>
152
+ </div>
153
+ <h3 class="text-xl font-bold text-gray-900 mb-3">Cybersecurity</h3>
154
+ <p class="text-gray-600">
155
+ Protect your business with advanced security solutions and compliance frameworks.
156
+ </p>
157
+ </div>
158
+ <div class="service-card bg-gray-50 p-8 rounded-xl transition duration-300 animate-on-scroll">
159
+ <div class="w-16 h-16 bg-yellow-100 rounded-lg flex items-center justify-center mb-6">
160
+ <i data-feather="bar-chart-2" class="h-8 w-8 text-yellow-600"></i>
161
+ </div>
162
+ <h3 class="text-xl font-bold text-gray-900 mb-3">Data Analytics</h3>
163
+ <p class="text-gray-600">
164
+ Transform raw data into actionable insights for informed business decisions.
165
+ </p>
166
+ </div>
167
+ <div class="service-card bg-gray-50 p-8 rounded-xl transition duration-300 animate-on-scroll">
168
+ <div class="w-16 h-16 bg-red-100 rounded-lg flex items-center justify-center mb-6">
169
+ <i data-feather="cpu" class="h-8 w-8 text-red-600"></i>
170
+ </div>
171
+ <h3 class="text-xl font-bold text-gray-900 mb-3">AI & Machine Learning</h3>
172
+ <p class="text-gray-600">
173
+ Implement intelligent solutions that learn and adapt to drive business innovation.
174
+ </p>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </section>
179
+
180
+ <!-- About Section -->
181
+ <section id="about" class="py-20 bg-gray-50">
182
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
183
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-16 items-center">
184
+ <div class="animate-on-scroll">
185
+ <img src="http://static.photos/technology/640x360/42" alt="Team working" class="rounded-xl shadow-xl">
186
+ </div>
187
+ <div class="animate-on-scroll">
188
+ <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-6">About <span class="text-indigo-600">Softcodes</span></h2>
189
+ <p class="text-lg text-gray-600 mb-6">
190
+ Softcodes is a leading software development company based in Nigeria, dedicated to delivering innovative technology solutions that transform businesses. With over a decade of experience, we've helped hundreds of clients across various industries achieve their digital transformation goals.
191
+ </p>
192
+ <p class="text-lg text-gray-600 mb-8">
193
+ Our team of expert developers, designers, and strategists work collaboratively to create solutions that are not only technically sound but also aligned with your business objectives.
194
+ </p>
195
+ <div class="grid grid-cols-2 gap-6">
196
+ <div class="feature-card p-4 rounded-lg border border-gray-200">
197
+ <div class="flex items-center">
198
+ <i data-feather="check-circle" class="h-5 w-5 text-green-500 mr-2"></i>
199
+ <span class="font-semibold text-gray-900">10+ Years Experience</span>
200
+ </div>
201
+ </div>
202
+ <div class="feature-card p-4 rounded-lg border border-gray-200">
203
+ <div class="flex items-center">
204
+ <i data-feather="users" class="h-5 w-5 text-indigo-500 mr-2"></i>
205
+ <span class="font-semibold text-gray-900">200+ Clients</span>
206
+ </div>
207
+ </div>
208
+ <div class="feature-card p-4 rounded-lg border border-gray-200">
209
+ <div class="flex items-center">
210
+ <i data-feather="award" class="h-5 w-5 text-yellow-500 mr-2"></i>
211
+ <span class="font-semibold text-gray-900">50+ Projects</span>
212
+ </div>
213
+ </div>
214
+ <div class="feature-card p-4 rounded-lg border border-gray-200">
215
+ <div class="flex items-center">
216
+ <i data-feather="globe" class="h-5 w-5 text-blue-500 mr-2"></i>
217
+ <span class="font-semibold text-gray-900">Global Reach</span>
218
+ </div>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ </div>
224
+ </section>
225
+
226
+ <!-- Contact Section -->
227
+ <section id="contact" class="py-20 bg-white">
228
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
229
+ <div class="text-center mb-16 animate-on-scroll">
230
+ <h2 class="text-3xl md:text-4xl font-bold text-gray-900">Get In <span class="text-indigo-600">Touch</span></h2>
231
+ <p class="mt-4 text-xl text-gray-600 max-w-3xl mx-auto">
232
+ Ready to transform your business? Contact us today for a free consultation.
233
+ </p>
234
+ </div>
235
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-16">
236
+ <div class="animate-on-scroll">
237
+ <div class="bg-gray-50 p-8 rounded-xl">
238
+ <h3 class="text-2xl font-bold text-gray-900 mb-6">Contact Information</h3>
239
+ <div class="space-y-6">
240
+ <div class="flex items-start">
241
+ <div class="flex-shrink-0 bg-indigo-100 p-3 rounded-lg">
242
+ <i data-feather="map-pin" class="h-6 w-6 text-indigo-600"></i>
243
+ </div>
244
+ <div class="ml-4">
245
+ <h4 class="text-lg font-semibold text-gray-900">Our Location</h4>
246
+ <p class="mt-1 text-gray-600">Lagos, Nigeria</p>
247
+ </div>
248
+ </div>
249
+ <div class="flex items-start">
250
+ <div class="flex-shrink-0 bg-green-100 p-3 rounded-lg">
251
+ <i data-feather="phone" class="h-6 w-6 text-green-600"></i>
252
+ </div>
253
+ <div class="ml-4">
254
+ <h4 class="text-lg font-semibold text-gray-900">Phone Number</h4>
255
+ <p class="mt-1 text-gray-600">+234 800 123 4567</p>
256
+ </div>
257
+ </div>
258
+ <div class="flex items-start">
259
+ <div class="flex-shrink-0 bg-blue-100 p-3 rounded-lg">
260
+ <i data-feather="mail" class="h-6 w-6 text-blue-600"></i>
261
+ </div>
262
+ <div class="ml-4">
263
+ <h4 class="text-lg font-semibold text-gray-900">Email Address</h4>
264
+ <p class="mt-1 text-gray-600">info@softcodes.com.ng</p>
265
+ </div>
266
+ </div>
267
+ </div>
268
+ </div>
269
+ </div>
270
+ <div class="animate-on-scroll">
271
+ <form class="bg-gray-50 p-8 rounded-xl">
272
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-6 mb-6">
273
+ <div>
274
+ <label for="name" class="block text-sm font-medium text-gray-700 mb-1">Full Name</label>
275
+ <input type="text" id="name" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
276
+ </div>
277
+ <div>
278
+ <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label>
279
+ <input type="email" id="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
280
+ </div>
281
+ </div>
282
+ <div class="mb-6">
283
+ <label for="subject" class="block text-sm font-medium text-gray-700 mb-1">Subject</label>
284
+ <input type="text" id="subject" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
285
+ </div>
286
+ <div class="mb-6">
287
+ <label for="message" class="block text-sm font-medium text-gray-700 mb-1">Message</label>
288
+ <textarea id="message" rows="5" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"></textarea>
289
+ </div>
290
+ <button type="submit" class="w-full bg-indigo-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-indigo-700 transition duration-300">
291
+ Send Message
292
+ </button>
293
+ </form>
294
+ </div>
295
+ </div>
296
+ </div>
297
+ </section>
298
+
299
+ <!-- Footer -->
300
+ <footer class="bg-gray-900 text-white py-12">
301
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
302
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
303
+ <div class="col-span-1 md:col-span-2">
304
+ <div class="flex items-center mb-4">
305
+ <i data-feather="code" class="h-8 w-8 text-indigo-400"></i>
306
+ <span class="ml-2 text-xl font-bold">Softcodes</span>
307
+ </div>
308
+ <p class="text-gray-400 mb-6 max-w-md">
309
+ Delivering innovative software solutions that drive business growth and digital transformation across Africa and beyond.
310
+ </p>
311
+ <div class="flex space-x-4">
312
+ <a href="#" class="text-gray-400 hover:text-white">
313
+ <i data-feather="facebook" class="h-6 w-6"></i>
314
+ </a>
315
+ <a href="#" class="text-gray-400 hover:text-white">
316
+ <i data-feather="twitter" class="h-6 w-6"></i>
317
+ </a>
318
+ <a href="#" class="text-gray-400 hover:text-white">
319
+ <i data-feather="linkedin" class="h-6 w-6"></i>
320
+ </a>
321
+ <a href="#" class="text-gray-400 hover:text-white">
322
+ <i data-feather="instagram" class="h-6 w-6"></i>
323
+ </a>
324
+ </div>
325
+ </div>
326
+ <div>
327
+ <h3 class="text-lg font-semibold mb-4">Services</h3>
328
+ <ul class="space-y-2">
329
+ <li><a href="#" class="text-gray-400 hover:text-white">Mobile Apps</a></li>
330
+ <li><a href="#" class="text-gray-400 hover:text-white">Web Development</a></li>
331
+ <li><a href="#" class="text-gray-400 hover:text-white">Cloud Solutions</a></li>
332
+ <li><a href="#" class="text-gray-400 hover:text-white">AI & ML</a></li>
333
+ </ul>
334
+ </div>
335
+ <div>
336
+ <h3 class="text-lg font-semibold mb-4">Company</h3>
337
+ <ul class="space-y-2">
338
+ <li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
339
+ <li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
340
+ <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
341
+ <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
342
+ </ul>
343
+ </div>
344
+ </div>
345
+ <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
346
+ <p>&copy; 2023 Softcodes. All rights reserved.</p>
347
+ </div>
348
+ </div>
349
+ </footer>
350
+
351
+ <script>
352
+ // Initialize Feather Icons
353
+ feather.replace();
354
+
355
+ // Initialize Vanta.js Globe
356
+ VANTA.GLOBE({
357
+ el: "#globe-animation",
358
+ mouseControls: true,
359
+ touchControls: true,
360
+ gyroControls: false,
361
+ minHeight: 200.00,
362
+ minWidth: 200.00,
363
+ scale: 1.00,
364
+ scaleMobile: 1.00,
365
+ color: 0x3b82f6,
366
+ color2: 0x8b5cf6,
367
+ backgroundColor: 0x0
368
+ });
369
+
370
+ // Mobile menu toggle
371
+ const mobileMenuButton = document.getElementById('mobile-menu-button');
372
+ const mobileMenu = document.getElementById('mobile-menu');
373
+
374
+ mobileMenuButton.addEventListener('click', () => {
375
+ mobileMenu.classList.toggle('hidden');
376
+ });
377
+
378
+ // Animation on scroll
379
+ const animateOnScroll = () => {
380
+ const elements = document.querySelectorAll('.animate-on-scroll');
381
+ elements.forEach(element => {
382
+ const elementPosition = element.getBoundingClientRect().top;
383
+ const screenPosition = window.innerHeight / 1.3;
384
+
385
+ if (elementPosition < screenPosition) {
386
+ element.classList.add('visible');
387
+ }
388
+ });
389
+ };
390
+
391
+ // Initial check
392
+ window.addEventListener('load', animateOnScroll);
393
+ window.addEventListener('scroll', animateOnScroll);
394
+
395
+ // Smooth scrolling for anchor links
396
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
397
+ anchor.addEventListener('click', function (e) {
398
+ e.preventDefault();
399
+ const target = document.querySelector(this.getAttribute('href'));
400
+ if (target) {
401
+ window.scrollTo({
402
+ top: target.offsetTop - 80,
403
+ behavior: 'smooth'
404
+ });
405
+ // Close mobile menu if open
406
+ mobileMenu.classList.add('hidden');
407
+ }
408
+ });
409
+ });
410
+ </script>
411
+ </body>
412
  </html>