File size: 25,645 Bytes
87ad947
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Advantage Software | A Partner You Can Count On</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .dropdown:hover .dropdown-menu {
            display: block;
        }
        .dropdown-submenu:hover .dropdown-submenu-content {
            display: block;
        }
        .hero-slide {
            transition: opacity 0.5s ease-in-out;
        }
        .hero-slide.active {
            opacity: 1;
            z-index: 10;
        }
        .hero-slide.inactive {
            opacity: 0;
            z-index: 0;
        }
    </style>
</head>
<body class="font-sans bg-gray-50">
    <!-- Top Bar -->
    <div class="bg-blue-900 text-white text-sm">
        <div class="container mx-auto px-4 py-2 flex justify-between items-center">
            <div class="flex space-x-4">
                <a href="#" class="hover:text-blue-200">Skip to main content</a>
            </div>
            <div class="flex items-center space-x-4">
                <a href="#" class="hover:text-blue-200">Log in</a>
                <a href="#" class="hover:text-blue-200">Create new account</a>
                <a href="#" class="hover:text-blue-200">Request new password</a>
                <div class="flex space-x-2">
                    <a href="#"><img src="https://www.facebook.com/images/fbconnect/login-buttons/connect_light_medium_short.gif" alt="Facebook Login" class="h-6"></a>
                    <a href="#"><i class="fab fa-facebook text-blue-300 hover:text-white"></i></a>
                    <a href="#"><i class="fab fa-twitter text-blue-300 hover:text-white"></i></a>
                    <a href="#"><i class="fab fa-youtube text-blue-300 hover:text-white"></i></a>
                </div>
            </div>
        </div>
    </div>

    <!-- Search Bar -->
    <div class="bg-blue-800 py-2">
        <div class="container mx-auto px-4 flex items-center justify-between">
            <div class="flex items-center">
                <a href="#" class="mr-8">
                    <img src="https://eclipsecat.com/sites/default/files/logo-advantage-software-1.png" alt="Advantage Software" class="h-12">
                </a>
                <div class="relative w-64">
                    <input type="text" placeholder="Site Search" class="w-full px-4 py-2 rounded text-sm">
                    <button class="absolute right-2 top-2 text-gray-500">
                        <i class="fas fa-search"></i>
                    </button>
                </div>
            </div>
            <div class="flex items-center">
                <img src="https://www.gstatic.com/images/branding/googlelogo/1x/googlelogo_color_42x16dp.png" alt="Google Translate" class="h-4 mr-1">
                <span class="text-white text-sm">Translate</span>
            </div>
        </div>
    </div>

    <!-- Main Navigation -->
    <nav class="bg-white shadow-md sticky top-0 z-50">
        <div class="container mx-auto px-4">
            <div class="flex justify-between">
                <div class="flex space-x-1">
                    <!-- Main Nav Items -->
                    <div class="dropdown relative group">
                        <button class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium flex items-center">
                            Software <i class="fas fa-chevron-down ml-1 text-xs"></i>
                        </button>
                        <div class="dropdown-menu absolute left-0 mt-0 w-56 bg-white shadow-lg rounded-md hidden z-50">
                            <!-- Submenu items -->
                            <div class="dropdown-submenu relative">
                                <a href="#" class="px-4 py-2 hover:bg-blue-50 flex justify-between items-center">
                                    AccuCap <i class="fas fa-chevron-right ml-2 text-xs"></i>
                                </a>
                                <div class="dropdown-submenu-content absolute left-full top-0 w-56 bg-white shadow-lg rounded-md hidden">
                                    <a href="#" class="block px-4 py-2 hover:bg-blue-50">Steno</a>
                                    <a href="#" class="block px-4 py-2 hover:bg-blue-50">Voice</a>
                                    <a href="#" class="block px-4 py-2 hover:bg-blue-50">Student</a>
                                </div>
                            </div>
                            <a href="#" class="block px-4 py-2 hover:bg-blue-50">Bridge Mobile</a>
                            <!-- More items would go here -->
                        </div>
                    </div>
                    
                    <div class="dropdown relative group">
                        <button class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium flex items-center">
                            Laptops <i class="fas fa-chevron-down ml-1 text-xs"></i>
                        </button>
                        <div class="dropdown-menu absolute left-0 mt-0 w-56 bg-white shadow-lg rounded-md hidden z-50">
                            <a href="#" class="block px-4 py-2 hover:bg-blue-50">All Laptops</a>
                            <div class="dropdown-submenu relative">
                                <a href="#" class="px-4 py-2 hover:bg-blue-50 flex justify-between items-center">
                                    Non-Touch <i class="fas fa-chevron-right ml-2 text-xs"></i>
                                </a>
                                <div class="dropdown-submenu-content absolute left-full top-0 w-56 bg-white shadow-lg rounded-md hidden">
                                    <a href="#" class="block px-4 py-2 hover:bg-blue-50">ThinkPad P16s</a>
                                    <a href="#" class="block px-4 py-2 hover:bg-blue-50">ThinkPad P16s | 4K OLED</a>
                                    <a href="#" class="block px-4 py-2 hover:bg-blue-50">ThinkPad X1 Carbon | 2.8K OLED</a>
                                </div>
                            </div>
                            <!-- More items would go here -->
                        </div>
                    </div>
                    
                    <!-- More main nav items would go here -->
                    <a href="#" class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium">Specials</a>
                    <a href="#" class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium">Catalog</a>
                    <a href="#" class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium">Webinars & Training</a>
                    <a href="#" class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium">Support</a>
                    <a href="#" class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium">Contact Us</a>
                    <a href="#" class="px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 font-medium">About Us</a>
                </div>
            </div>
        </div>
    </nav>

    <!-- Hero Slider -->
    <div class="relative h-96 overflow-hidden">
        <div class="hero-slide active absolute inset-0 bg-cover bg-center" style="background-image: url('https://eclipsecat.com/sites/default/files/styles/banner_full/public/slideimages/Leading%20CAT%20Software%20Just%20Got%20Even%20Better%20V11.jpg?itok=8a5gQCdq')">
            <div class="absolute inset-0 bg-black bg-opacity-30 flex items-center">
                <div class="container mx-auto px-4 text-white">
                    <h1 class="text-4xl font-bold mb-4">Eclipse 11</h1>
                    <p class="text-xl mb-6">Leading CAT Software Just Got Even Better</p>
                    <a href="#" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded font-medium">Learn More</a>
                </div>
            </div>
        </div>
        <div class="hero-slide inactive absolute inset-0 bg-cover bg-center" style="background-image: url('https://eclipsecat.com/sites/default/files/styles/banner_full/public/slideimages/Laptop%20Banner%202022.jpg?itok=UKTWlISN')">
            <div class="absolute inset-0 bg-black bg-opacity-30 flex items-center">
                <div class="container mx-auto px-4 text-white">
                    <h1 class="text-4xl font-bold mb-4">Business-Class Laptops</h1>
                    <p class="text-xl mb-6">Custom configured for your needs</p>
                    <a href="#" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded font-medium">Shop Now</a>
                </div>
            </div>
        </div>
        <div class="absolute bottom-4 left-0 right-0 flex justify-center space-x-2 z-20">
            <button class="slide-dot w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 focus:outline-none" data-slide="0"></button>
            <button class="slide-dot w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 focus:outline-none" data-slide="1"></button>
        </div>
        <button class="slide-prev absolute left-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-50 hover:bg-opacity-75 text-blue-800 p-2 rounded-full z-20">
            <i class="fas fa-chevron-left"></i>
        </button>
        <button class="slide-next absolute right-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-50 hover:bg-opacity-75 text-blue-800 p-2 rounded-full z-20">
            <i class="fas fa-chevron-right"></i>
        </button>
    </div>

    <!-- Quick Links -->
    <div class="bg-white py-8">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-6">
                <div class="bg-blue-50 rounded-lg p-6 text-center hover:shadow-md transition-shadow">
                    <div class="flex justify-center mb-4">
                        <img src="https://eclipsecat.com/sites/default/files/resize/users/12628/EclIco-75x74.png" alt="Eclipse" class="h-16">
                    </div>
                    <h3 class="text-xl font-semibold text-blue-800 mb-2">Eclipse</h3>
                    <p class="text-gray-600 mb-4">Leading Edge CAT Software</p>
                    <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Learn More</a>
                </div>
                <div class="bg-blue-50 rounded-lg p-6 text-center hover:shadow-md transition-shadow">
                    <div class="flex justify-center mb-4">
                        <img src="https://eclipsecat.com/sites/default/files/resize/AccuCap%20Diamond-75x75.png" alt="AccuCap" class="h-16">
                    </div>
                    <h3 class="text-xl font-semibold text-blue-800 mb-2">AccuCap</h3>
                    <p class="text-gray-600 mb-4">World Class Captioning Software</p>
                    <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Learn More</a>
                </div>
                <div class="bg-blue-50 rounded-lg p-6 text-center hover:shadow-md transition-shadow">
                    <div class="flex justify-center mb-4">
                        <img src="https://eclipsecat.com/sites/default/files/resize/Bridge%20Diamond-75x76.png" alt="Bridge Mobile" class="h-16">
                    </div>
                    <h3 class="text-xl font-semibold text-blue-800 mb-2">Bridge Mobile</h3>
                    <p class="text-gray-600 mb-4">Realtime Without Limits</p>
                    <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Learn More</a>
                </div>
                <div class="bg-blue-50 rounded-lg p-6 text-center hover:shadow-md transition-shadow">
                    <div class="flex justify-center mb-4">
                        <img src="https://eclipsecat.com/sites/default/files/resize/users/12628/v10%20boost%20rocket%20SQUARE%20Transparent-75x75.png" alt="Boost" class="h-16">
                    </div>
                    <h3 class="text-xl font-semibold text-blue-800 mb-2">Boost</h3>
                    <p class="text-gray-600 mb-4">Features & Pricing</p>
                    <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Learn More</a>
                </div>
            </div>
        </div>
    </div>

    <!-- Events Section -->
    <div class="bg-gray-100 py-8">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="bg-white rounded-lg shadow-sm p-6 flex items-center hover:shadow-md transition-shadow">
                    <div class="mr-4">
                        <img src="https://eclipsecat.com/sites/default/files/resize/ThinkBook%20G7%20%2810%29-100x93.jpg" alt="Laptop" class="w-20">
                    </div>
                    <div>
                        <h3 class="text-lg font-semibold text-blue-800 mb-1">CUSTOM CONFIGURED LAPTOPS</h3>
                        <a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium">Shop Now</a>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-sm p-6 flex items-center hover:shadow-md transition-shadow">
                    <div class="mr-4">
                        <img src="https://eclipsecat.com/sites/default/files/resize/users/12628/Email%20List-100x100.png" alt="Email" class="w-20">
                    </div>
                    <div>
                        <h3 class="text-lg font-semibold text-blue-800 mb-1">JOIN OUR MAILING LIST!</h3>
                        <a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium">Sign Up</a>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-sm p-6 flex items-center hover:shadow-md transition-shadow">
                    <div class="mr-4">
                        <img src="https://eclipsecat.com/sites/default/files/resize/users/57105/A%20to%20Z%20logo_2019_no%20tagline_transparent-100x68.png" alt="NCRA A to Z" class="w-20">
                    </div>
                    <div>
                        <h3 class="text-lg font-semibold text-blue-800 mb-1">NCRA A to Z® Graduate?</h3>
                        <a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium">Special Offer</a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Features Section -->
    <div class="bg-blue-800 text-white py-12">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">Exclusive Technology</h2>
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div class="text-center">
                    <div class="flex justify-center mb-4">
                        <img src="https://eclipsecat.com/sites/default/files/users/12628/Practical_Magic.jpg" alt="Magic" class="h-16 rounded-full">
                    </div>
                    <h3 class="text-xl font-semibold mb-2">Believe in Magic</h3>
                    <p class="text-blue-200">Cutting-edge features that transform your workflow</p>
                </div>
                <div class="text-center">
                    <h3 class="text-xl font-semibold mb-2">New in Eclipse 11</h3>
                    <p class="text-blue-200">Discover the latest innovations</p>
                    <a href="#" class="text-blue-300 hover:text-white mt-2 inline-block">Learn More</a>
                </div>
                <div class="text-center">
                    <h3 class="text-xl font-semibold mb-2">Connection Magic</h3>
                    <p class="text-blue-200">Seamless integration with your devices</p>
                    <a href="#" class="text-blue-300 hover:text-white mt-2 inline-block">Learn More</a>
                </div>
                <div class="text-center">
                    <h3 class="text-xl font-semibold mb-2">Translation Magic</h3>
                    <p class="text-blue-200">Break language barriers with ease</p>
                    <a href="#" class="text-blue-300 hover:text-white mt-2 inline-block">Learn More</a>
                </div>
            </div>
        </div>
    </div>

    <!-- Calendar Section -->
    <div class="bg-white py-12">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row items-center justify-between bg-blue-50 rounded-lg p-6">
                <div class="flex items-center mb-4 md:mb-0">
                    <img src="https://eclipsecat.com/sites/default/files/resize/users/12628/ASI%20Calendar-85x53.png" alt="Calendar" class="h-12 mr-4">
                    <h3 class="text-xl font-semibold text-blue-800">Calendar of Events</h3>
                </div>
                <a href="#" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded font-medium">View Calendar</a>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-900 text-white pt-12 pb-6">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
                <div>
                    <h3 class="text-lg font-semibold mb-4">Products</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Software</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Laptops</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Accessories</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Training Materials</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Support</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Downloads</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Tech Support</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Support Plans</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Writer Care</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Company</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Return Policy</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Stay Connected</h3>
                    <div class="flex space-x-4 mb-4">
                        <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f text-xl"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter text-xl"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-youtube text-xl"></i></a>
                    </div>
                    <p class="text-gray-400 mb-2">Subscribe to our newsletter</p>
                    <a href="#" class="text-blue-400 hover:text-blue-300 font-medium">Sign Up Now</a>
                </div>
            </div>
            <div class="border-t border-gray-800 pt-6 flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <p class="text-gray-400 text-sm">All Content ©2006 - 2025 Advantage Software, Inc. All Rights Reserved.</p>
                </div>
                <div class="flex space-x-4">
                    <a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a>
                    <a href="#" class="text-gray-400 hover:text-white text-sm">Return Policy</a>
                    <a href="#" class="text-gray-400 hover:text-white text-sm">User Agreement</a>
                    <a href="#" class="text-gray-400 hover:text-white text-sm">Remote Support</a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Hero Slider Functionality
        const slides = document.querySelectorAll('.hero-slide');
        const dots = document.querySelectorAll('.slide-dot');
        const prevBtn = document.querySelector('.slide-prev');
        const nextBtn = document.querySelector('.slide-next');
        let currentSlide = 0;
        const slideCount = slides.length;

        function showSlide(index) {
            slides.forEach((slide, i) => {
                if (i === index) {
                    slide.classList.remove('inactive');
                    slide.classList.add('active');
                } else {
                    slide.classList.remove('active');
                    slide.classList.add('inactive');
                }
            });
            
            dots.forEach((dot, i) => {
                if (i === index) {
                    dot.classList.remove('bg-opacity-50');
                    dot.classList.add('bg-opacity-100');
                } else {
                    dot.classList.remove('bg-opacity-100');
                    dot.classList.add('bg-opacity-50');
                }
            });
            
            currentSlide = index;
        }

        function nextSlide() {
            currentSlide = (currentSlide + 1) % slideCount;
            showSlide(currentSlide);
        }

        function prevSlide() {
            currentSlide = (currentSlide - 1 + slideCount) % slideCount;
            showSlide(currentSlide);
        }

        // Auto slide
        let slideInterval = setInterval(nextSlide, 5000);

        function resetInterval() {
            clearInterval(slideInterval);
            slideInterval = setInterval(nextSlide, 5000);
        }

        // Event listeners
        nextBtn.addEventListener('click', () => {
            nextSlide();
            resetInterval();
        });

        prevBtn.addEventListener('click', () => {
            prevSlide();
            resetInterval();
        });

        dots.forEach(dot => {
            dot.addEventListener('click', () => {
                const slideIndex = parseInt(dot.getAttribute('data-slide'));
                showSlide(slideIndex);
                resetInterval();
            });
        });

        // Initialize first slide
        showSlide(0);

        // Dropdown menu functionality
        document.addEventListener('DOMContentLoaded', function() {
            const dropdowns = document.querySelectorAll('.dropdown');
            
            dropdowns.forEach(dropdown => {
                const button = dropdown.querySelector('button');
                const menu = dropdown.querySelector('.dropdown-menu');
                
                button.addEventListener('click', () => {
                    const isOpen = menu.classList.contains('hidden');
                    // Close all other dropdowns first
                    document.querySelectorAll('.dropdown-menu').forEach(m => {
                        if (m !== menu) m.classList.add('hidden');
                    });
                    // Toggle current dropdown
                    if (isOpen) {
                        menu.classList.remove('hidden');
                    } else {
                        menu.classList.add('hidden');
                    }
                });
            });
            
            // Close dropdowns when clicking outside
            document.addEventListener('click', function(event) {
                if (!event.target.closest('.dropdown')) {
                    document.querySelectorAll('.dropdown-menu').forEach(menu => {
                        menu.classList.add('hidden');
                    });
                }
            });
            
            // Submenu functionality
            const submenus = document.querySelectorAll('.dropdown-submenu');
            
            submenus.forEach(submenu => {
                const link = submenu.querySelector('a');
                const submenuContent = submenu.querySelector('.dropdown-submenu-content');
                
                link.addEventListener('click', (e) => {
                    e.preventDefault();
                    submenuContent.classList.toggle('hidden');
                });
            });
        });
    </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=techguy1/eclipsecat" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>