-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
795 lines (696 loc) · 32 KB
/
Copy pathcontact.html
File metadata and controls
795 lines (696 loc) · 32 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Contact Victor Collins Oppon - Get in touch for Data Science and AI consulting services">
<title>Contact | Victor Collins Oppon</title>
<!-- Favicon -->
<link rel="icon" type="image/png" href="assets/images/favicon.png">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<!-- Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/devicon.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/animations.css">
<!-- AOS Animation -->
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar" id="navbar">
<div class="nav-container">
<div class="nav-logo">
<a href="index.html">
<span class="logo-text">VC<span class="accent">.</span>OPPON</span>
</a>
</div>
<div class="nav-menu" id="nav-menu">
<ul class="nav-list">
<li class="nav-item"><a href="index.html" class="nav-link">Home</a></li>
<li class="nav-item"><a href="about.html" class="nav-link">About</a></li>
<li class="nav-item"><a href="projects.html" class="nav-link">Projects</a></li>
<li class="nav-item"><a href="services.html" class="nav-link">Services</a></li>
<li class="nav-item"><a href="blog.html" class="nav-link">Blog</a></li>
<li class="nav-item"><a href="contact.html" class="nav-link active">Contact</a></li>
</ul>
</div>
<div class="nav-actions">
<button class="theme-toggle" id="theme-toggle">
<i class="fas fa-moon"></i>
</button>
<button class="nav-toggle" id="nav-toggle">
<span></span>
<span></span>
<span></span>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="page-hero">
<div class="container">
<div class="page-hero-content" data-aos="fade-up">
<h1 class="page-title">Let's <span class="gradient-text">Connect</span></h1>
<p class="page-subtitle">Ready to transform your business with AI? Let's discuss your next breakthrough.</p>
</div>
</div>
</section>
<!-- Contact Info Section -->
<section class="contact-info">
<div class="container">
<div class="contact-grid">
<!-- Contact Details -->
<div class="contact-details" data-aos="fade-right">
<h2 class="section-title">Get in <span class="gradient-text">Touch</span></h2>
<p class="contact-intro">
Whether you're looking to implement AI strategy, develop machine learning solutions,
or simply explore how data science can transform your business, I'm here to help.
</p>
<div class="contact-methods">
<div class="contact-method">
<div class="method-icon">
<i class="fas fa-envelope"></i>
</div>
<div class="method-details">
<h3>Email</h3>
<p>victoropp@gmail.com</p>
<span class="method-note">Best for detailed project discussions</span>
</div>
</div>
<div class="contact-method">
<div class="method-icon">
<i class="fab fa-linkedin"></i>
</div>
<div class="method-details">
<h3>LinkedIn</h3>
<p>Connect with me professionally</p>
<a href="https://www.linkedin.com/in/victor-collins-oppon-fcca-mba-bsc-01541019/" target="_blank" class="method-link">
View Profile <i class="fas fa-external-link-alt"></i>
</a>
</div>
</div>
<div class="contact-method">
<div class="method-icon">
<i class="fab fa-github"></i>
</div>
<div class="method-details">
<h3>GitHub</h3>
<p>Explore my code and projects</p>
<a href="https://github.com/victoropp" target="_blank" class="method-link">
View Repositories <i class="fas fa-external-link-alt"></i>
</a>
</div>
</div>
<div class="contact-method">
<div class="method-icon">
<i class="fab fa-kaggle"></i>
</div>
<div class="method-details">
<h3>Kaggle</h3>
<p>Data science competitions & datasets</p>
<a href="https://www.kaggle.com/victoropp" target="_blank" class="method-link">
View Profile <i class="fas fa-external-link-alt"></i>
</a>
</div>
</div>
</div>
<div class="availability-status">
<div class="status-indicator active"></div>
<span class="status-text">Currently accepting new projects</span>
</div>
</div>
<!-- Contact Form -->
<div class="contact-form-wrapper" data-aos="fade-left">
<div class="contact-form-container glass">
<h3 class="form-title">Send a Message</h3>
<p class="form-subtitle">Tell me about your project and let's explore possibilities together</p>
<form class="contact-form" id="contact-form">
<div class="form-row">
<div class="form-group">
<label for="firstName">First Name</label>
<input type="text" id="firstName" name="firstName" required>
<i class="form-icon fas fa-user"></i>
</div>
<div class="form-group">
<label for="lastName">Last Name</label>
<input type="text" id="lastName" name="lastName" required>
<i class="form-icon fas fa-user"></i>
</div>
</div>
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" name="email" required>
<i class="form-icon fas fa-envelope"></i>
</div>
<div class="form-group">
<label for="company">Company / Organization</label>
<input type="text" id="company" name="company">
<i class="form-icon fas fa-building"></i>
</div>
<div class="form-group">
<label for="projectType">Project Type</label>
<select id="projectType" name="projectType" required>
<option value="">Select a project type</option>
<option value="ai-strategy">AI Strategy & Consulting</option>
<option value="ml-development">Machine Learning Development</option>
<option value="data-analytics">Data Analytics & BI</option>
<option value="training">Training & Workshops</option>
<option value="other">Other / Not Sure</option>
</select>
<i class="form-icon fas fa-cog"></i>
</div>
<div class="form-group">
<label for="budget">Budget Range (Optional)</label>
<select id="budget" name="budget">
<option value="">Select budget range</option>
<option value="under-10k">Under $10,000</option>
<option value="10k-50k">$10,000 - $50,000</option>
<option value="50k-100k">$50,000 - $100,000</option>
<option value="100k-plus">$100,000+</option>
<option value="discuss">Let's Discuss</option>
</select>
<i class="form-icon fas fa-dollar-sign"></i>
</div>
<div class="form-group">
<label for="timeline">Project Timeline</label>
<select id="timeline" name="timeline" required>
<option value="">Select timeline</option>
<option value="asap">ASAP</option>
<option value="1-3-months">1-3 months</option>
<option value="3-6-months">3-6 months</option>
<option value="6-months-plus">6+ months</option>
<option value="flexible">Flexible</option>
</select>
<i class="form-icon fas fa-calendar"></i>
</div>
<div class="form-group">
<label for="message">Project Description</label>
<textarea id="message" name="message" rows="5" placeholder="Tell me about your project goals, challenges, and how I can help..." required></textarea>
<i class="form-icon fas fa-comment"></i>
</div>
<div class="form-group checkbox-group">
<label class="checkbox-label">
<input type="checkbox" id="newsletter" name="newsletter">
<span class="checkmark"></span>
Subscribe to newsletter for data science insights
</label>
</div>
<button type="submit" class="submit-btn">
<span class="btn-text">Send Message</span>
<i class="btn-icon fas fa-paper-plane"></i>
</button>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="faq-section">
<div class="container">
<h2 class="section-title" data-aos="fade-up">Frequently <span class="gradient-text">Asked Questions</span></h2>
<div class="faq-container">
<div class="faq-item" data-aos="fade-up" data-aos-delay="100">
<div class="faq-question">
<h3>What types of projects do you typically work on?</h3>
<i class="fas fa-plus"></i>
</div>
<div class="faq-answer">
<p>I specialize in AI strategy consulting, custom machine learning development, financial analytics,
and business intelligence solutions. My projects range from predictive analytics for finance to
computer vision applications, natural language processing systems, and enterprise AI strategy.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="200">
<div class="faq-question">
<h3>How do you approach new projects?</h3>
<i class="fas fa-plus"></i>
</div>
<div class="faq-answer">
<p>I start with a comprehensive discovery phase to understand your business objectives, data landscape,
and success metrics. Then I develop a tailored strategy, create proof-of-concept solutions, iterate
based on feedback, and ensure seamless deployment with ongoing optimization.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="300">
<div class="faq-question">
<h3>What makes your approach unique?</h3>
<i class="fas fa-plus"></i>
</div>
<div class="faq-answer">
<p>My unique combination of FCCA qualification and MSc in Data Science allows me to bridge the gap
between technical solutions and business value. I understand both the language of C-suite executives
and the complexities of production ML systems, ensuring solutions that deliver measurable ROI.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="400">
<div class="faq-question">
<h3>Do you work with small businesses or just enterprises?</h3>
<i class="fas fa-plus"></i>
</div>
<div class="faq-answer">
<p>I work with organizations of all sizes. From SMEs looking to implement their first AI solution
to Fortune 500 companies scaling existing data science capabilities. My approach is tailored to
your organization's size, budget, and technical maturity.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="500">
<div class="faq-question">
<h3>What's the typical project timeline?</h3>
<i class="fas fa-plus"></i>
</div>
<div class="faq-answer">
<p>Project timelines vary based on complexity and scope. Strategy consulting can take 2-4 weeks,
proof-of-concepts typically require 4-8 weeks, while full-scale ML development projects may span
3-6 months. I always provide realistic timelines during our initial consultation.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="600">
<div class="faq-question">
<h3>Do you provide training and knowledge transfer?</h3>
<i class="fas fa-plus"></i>
</div>
<div class="faq-answer">
<p>Absolutely! I believe in empowering teams with knowledge. All projects include comprehensive
documentation, and I offer customized training programs for executives, analysts, and technical teams
to ensure you can maintain and evolve the solutions independently.</p>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<div class="container">
<div class="cta-content glass" data-aos="fade-up">
<h2>Ready to Start Your AI Journey?</h2>
<p>Let's schedule a consultation to explore how AI can transform your business</p>
<div class="cta-buttons">
<a href="#contact-form" class="btn btn-primary">
<i class="fas fa-calendar-check"></i>
Schedule Consultation
</a>
<a href="assets/files/Victor_Collins_Oppon_CV.pdf" download class="btn btn-secondary">
<i class="fas fa-download"></i>
Download CV
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-brand">
<h3 class="footer-logo">VC<span class="accent">.</span>OPPON</h3>
<p class="footer-tagline">Architecting Tomorrow's Intelligence</p>
<div class="footer-social">
<a href="https://github.com/victoropp" target="_blank" title="GitHub">
<i class="fab fa-github"></i>
</a>
<a href="https://www.linkedin.com/in/victor-collins-oppon-fcca-mba-bsc-01541019/" target="_blank" title="LinkedIn">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://www.kaggle.com/victoropp" target="_blank" title="Kaggle">
<i class="fab fa-kaggle"></i>
</a>
<a href="mailto:victoropp@gmail.com" title="Email">
<i class="fas fa-envelope"></i>
</a>
</div>
</div>
<div class="footer-links">
<div class="footer-column">
<h4>Quick Links</h4>
<ul>
<li><a href="about.html">About</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="blog.html">Blog</a></li>
</ul>
</div>
<div class="footer-column">
<h4>Services</h4>
<ul>
<li><a href="services.html#ai-strategy">AI Strategy</a></li>
<li><a href="services.html#ml-development">ML Development</a></li>
<li><a href="services.html#data-analytics">Data Analytics</a></li>
<li><a href="services.html#training">Training</a></li>
</ul>
</div>
<div class="footer-column">
<h4>Connect</h4>
<ul>
<li><a href="contact.html">Contact</a></li>
<li><a href="assets/files/Victor_Collins_Oppon_CV.pdf" download>Download CV</a></li>
<li><a href="index.html#newsletter">Newsletter</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-bottom">
<p>© 2024 Victor Collins Oppon. All rights reserved.</p>
<p>Built with <span class="heart">❤️</span> and AI</p>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="back-to-top" class="back-to-top">
<i class="fas fa-arrow-up"></i>
</button>
<!-- Scripts -->
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="assets/js/main.js"></script>
<style>
/* Page Specific Styles */
.contact-info {
padding: 80px 0;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: start;
}
.contact-intro {
font-size: 1.1rem;
line-height: 1.8;
color: var(--text-secondary);
margin-bottom: 3rem;
}
.contact-methods {
margin-bottom: 3rem;
}
.contact-method {
display: flex;
align-items: start;
gap: 1.5rem;
padding: 1.5rem 0;
border-bottom: 1px solid var(--glass-border);
}
.contact-method:last-child {
border-bottom: none;
}
.method-icon {
width: 60px;
height: 60px;
background: var(--gradient-primary);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
color: white;
flex-shrink: 0;
}
.method-details h3 {
margin-bottom: 0.5rem;
color: var(--text-primary);
}
.method-details p {
color: var(--text-secondary);
margin-bottom: 0.5rem;
}
.method-note {
font-size: 0.875rem;
color: var(--text-tertiary);
font-style: italic;
}
.method-link {
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s;
}
.method-link:hover {
color: var(--accent-color);
transform: translateX(3px);
}
.availability-status {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 1.5rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 50px;
}
.status-indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: #22c55e;
animation: pulse 2s infinite;
}
.status-text {
font-weight: 500;
color: var(--text-primary);
}
.contact-form-container {
padding: 2.5rem;
}
.form-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.form-subtitle {
color: var(--text-secondary);
margin-bottom: 2rem;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.form-group {
position: relative;
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: var(--text-primary);
font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 1rem 1rem 1rem 3rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 10px;
color: var(--text-primary);
font-size: 1rem;
transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.form-icon {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
color: var(--text-tertiary);
pointer-events: none;
}
.form-group:has(textarea) .form-icon {
top: 3rem;
transform: none;
}
.checkbox-group {
margin: 2rem 0;
}
.checkbox-label {
display: flex;
align-items: center;
gap: 1rem;
cursor: pointer;
font-size: 0.95rem;
color: var(--text-secondary);
}
.checkbox-label input[type="checkbox"] {
display: none;
}
.checkmark {
width: 20px;
height: 20px;
border: 2px solid var(--glass-border);
border-radius: 4px;
position: relative;
transition: all 0.3s;
}
.checkbox-label input:checked + .checkmark {
background: var(--gradient-primary);
border-color: var(--primary-color);
}
.checkbox-label input:checked + .checkmark::after {
content: '✓';
position: absolute;
color: white;
font-size: 14px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.submit-btn {
width: 100%;
padding: 1rem 2rem;
background: var(--gradient-primary);
color: white;
border: none;
border-radius: 10px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
transition: all 0.3s;
}
.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}
.submit-btn:active {
transform: translateY(0);
}
.faq-section {
padding: 80px 0;
background: var(--bg-secondary);
}
.faq-container {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
background: var(--glass-bg);
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
border-radius: 15px;
margin-bottom: 1rem;
overflow: hidden;
}
.faq-question {
padding: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
transition: background 0.3s;
}
.faq-question:hover {
background: rgba(99, 102, 241, 0.05);
}
.faq-question h3 {
margin: 0;
font-size: 1.1rem;
}
.faq-question i {
color: var(--primary-color);
font-size: 1.25rem;
transition: transform 0.3s;
}
.faq-item.active .faq-question i {
transform: rotate(45deg);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s, padding 0.3s;
}
.faq-item.active .faq-answer {
max-height: 200px;
padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
color: var(--text-secondary);
line-height: 1.8;
margin: 0;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@media (max-width: 768px) {
.contact-grid {
grid-template-columns: 1fr;
gap: 3rem;
}
.form-row {
grid-template-columns: 1fr;
}
.contact-method {
flex-direction: column;
text-align: center;
gap: 1rem;
}
.method-icon {
align-self: center;
}
}
</style>
<script>
// Contact form handling
document.addEventListener('DOMContentLoaded', function() {
const form = document.getElementById('contact-form');
const submitBtn = form.querySelector('.submit-btn');
form.addEventListener('submit', async function(e) {
e.preventDefault();
// Change button state
submitBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Sending...';
submitBtn.disabled = true;
// Simulate form submission
setTimeout(() => {
submitBtn.innerHTML = '<i class="fas fa-check"></i> Message Sent!';
// Show success message
const successMessage = document.createElement('div');
successMessage.innerHTML = `
<div style="background: #22c55e; color: white; padding: 1rem; border-radius: 10px; margin: 1rem 0; text-align: center;">
<i class="fas fa-check-circle"></i> Thank you! I'll get back to you within 24 hours.
</div>
`;
form.parentNode.insertBefore(successMessage, form.nextSibling);
// Reset form
setTimeout(() => {
form.reset();
submitBtn.innerHTML = '<span class="btn-text">Send Message</span><i class="btn-icon fas fa-paper-plane"></i>';
submitBtn.disabled = false;
successMessage.remove();
}, 3000);
}, 2000);
});
// FAQ accordion
const faqItems = document.querySelectorAll('.faq-item');
faqItems.forEach(item => {
const question = item.querySelector('.faq-question');
question.addEventListener('click', () => {
// Close other items
faqItems.forEach(otherItem => {
if (otherItem !== item) {
otherItem.classList.remove('active');
}
});
// Toggle current item
item.classList.toggle('active');
});
});
});
</script>
</body>
</html>