forked from gopinav/Angular-Forms-Tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
875 lines (762 loc) · 28.7 KB
/
Copy pathabout.html
File metadata and controls
875 lines (762 loc) · 28.7 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
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us | Your Digital Journey Starts Here</title>
<meta name="description" content="Learn about our mission, values, and the passionate team behind our innovative digital solutions. Discover what makes us different.">
<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=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
--accent-color: #06b6d4;
--text-primary: #1f2937;
--text-secondary: #6b7280;
--background-light: #ffffff;
--background-dark: #f8fafc;
--border-color: #e5e7eb;
--shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
--shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-primary);
background-color: var(--background-light);
}
/* Header Navigation */
.header {
position: fixed;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
z-index: 1000;
transition: all 0.3s ease;
}
.nav {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
}
.logo {
font-size: 1.5rem;
font-weight: 700;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-decoration: none;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
text-decoration: none;
color: var(--text-secondary);
font-weight: 500;
transition: color 0.3s ease;
position: relative;
}
.nav-links a:hover,
.nav-links a.active {
color: var(--primary-color);
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--primary-color);
transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
width: 100%;
}
.nav-toggle {
display: none;
background: none;
border: none;
font-size: 1.5rem;
color: var(--text-primary);
cursor: pointer;
}
/* Hero Section */
.hero {
min-height: 60vh;
display: flex;
align-items: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
position: relative;
overflow: hidden;
margin-top: 80px;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="60" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="30" cy="70" r="1.5" fill="white" opacity="0.1"/><circle cx="90" cy="10" r="1" fill="white" opacity="0.1"/></svg>');
}
.hero-content {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
text-align: center;
position: relative;
z-index: 2;
}
.hero h1 {
font-size: clamp(2.5rem, 5vw, 3.5rem);
font-weight: 700;
color: white;
margin-bottom: 1.5rem;
line-height: 1.2;
animation: fadeInUp 1s ease-out;
}
.hero p {
font-size: 1.25rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 2.5rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
animation: fadeInUp 1s ease-out 0.2s both;
}
/* Main Content Sections */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
.section {
padding: 6rem 0;
}
.section-title {
text-align: center;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
color: var(--text-primary);
}
.section-subtitle {
text-align: center;
font-size: 1.25rem;
color: var(--text-secondary);
margin-bottom: 4rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
/* Mission Section */
.mission {
background: var(--background-dark);
}
.mission-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 4rem;
align-items: center;
}
.mission-text h3 {
font-size: 1.75rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: var(--text-primary);
}
.mission-text p {
font-size: 1.1rem;
line-height: 1.8;
color: var(--text-secondary);
margin-bottom: 1.5rem;
}
.mission-image {
display: flex;
justify-content: center;
align-items: center;
}
.mission-placeholder {
width: 100%;
max-width: 400px;
height: 300px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 1rem;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 4rem;
box-shadow: var(--shadow-large);
}
/* Values Section */
.values {
background: var(--background-light);
}
.values-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.value-card {
background: var(--background-light);
padding: 2.5rem;
border-radius: 1rem;
box-shadow: var(--shadow-light);
transition: all 0.3s ease;
text-align: center;
border: 1px solid var(--border-color);
}
.value-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-large);
border-color: var(--primary-color);
}
.value-icon {
width: 4rem;
height: 4rem;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 1rem;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
font-size: 1.5rem;
color: white;
}
.value-card h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-primary);
}
.value-card p {
color: var(--text-secondary);
line-height: 1.7;
}
/* Team Section */
.team {
background: var(--background-dark);
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
.team-card {
background: var(--background-light);
border-radius: 1rem;
overflow: hidden;
box-shadow: var(--shadow-light);
transition: all 0.3s ease;
}
.team-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-large);
}
.team-image {
height: 250px;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 3rem;
}
.team-info {
padding: 2rem;
text-align: center;
}
.team-info h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-primary);
}
.team-role {
color: var(--primary-color);
font-weight: 500;
margin-bottom: 1rem;
}
.team-info p {
color: var(--text-secondary);
line-height: 1.6;
}
/* Story Section */
.story {
background: var(--background-light);
}
.story-content {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.story-content p {
font-size: 1.1rem;
line-height: 1.8;
color: var(--text-secondary);
margin-bottom: 2rem;
}
.story-highlight {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 3rem;
border-radius: 1rem;
margin: 3rem 0;
box-shadow: var(--shadow-large);
}
.story-highlight h3 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 1rem;
}
.story-highlight p {
font-size: 1.25rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 0;
}
/* CTA Section */
.cta-section {
padding: 6rem 0;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
text-align: center;
color: white;
}
.cta-section h2 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.cta-section p {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.9;
}
.btn {
display: inline-block;
padding: 1rem 2rem;
border-radius: 50px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
font-size: 1.1rem;
cursor: pointer;
border: none;
}
.btn-primary {
background: white;
color: var(--primary-color);
box-shadow: var(--shadow-medium);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-large);
}
/* Footer */
.footer {
background: var(--text-primary);
color: white;
padding: 3rem 0 2rem;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--accent-color);
}
.footer-section p,
.footer-section a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
margin-bottom: 0.5rem;
display: block;
}
.footer-section a:hover {
color: var(--accent-color);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.6);
max-width: 1200px;
margin: 0 auto;
padding-left: 2rem;
padding-right: 2rem;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.nav-links {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(10px);
flex-direction: column;
padding: 1rem 2rem;
box-shadow: var(--shadow-medium);
}
.nav-links.active {
display: flex;
}
.nav-toggle {
display: block;
}
.hero h1 {
font-size: 2.5rem;
}
.mission-content {
grid-template-columns: 1fr;
gap: 2rem;
}
.values-grid {
grid-template-columns: 1fr;
}
.team-grid {
grid-template-columns: 1fr;
}
.section {
padding: 4rem 0;
}
.container {
padding: 0 1rem;
}
}
@media (max-width: 480px) {
.nav {
padding: 1rem;
}
.hero-content {
padding: 1rem;
}
.value-card,
.team-info {
padding: 2rem;
}
.story-highlight {
padding: 2rem;
margin: 2rem 0;
}
.section-title {
font-size: 2rem;
}
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
*,
::before,
::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
/* Focus styles for keyboard navigation */
.btn:focus,
.nav-links a:focus {
outline: 2px solid var(--accent-color);
outline-offset: 2px;
}
</style>
</head>
<body>
<!-- Header Navigation -->
<header class="header" id="header">
<nav class="nav">
<a href="index.html" class="logo">YourBrand</a>
<ul class="nav-links" id="navLinks">
<li><a href="index.html">Home</a></li>
<li><a href="index.html#features">Features</a></li>
<li><a href="about.html" class="active">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<button class="nav-toggle" id="navToggle" aria-label="Toggle navigation">☰</button>
</nav>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h1>About Our Story</h1>
<p>Discover the passion, innovation, and dedication that drives us to create exceptional digital experiences for our users worldwide.</p>
</div>
</section>
<!-- Mission Section -->
<section class="section mission">
<div class="container">
<h2 class="section-title">Our Mission</h2>
<p class="section-subtitle">Empowering businesses and individuals through innovative digital solutions</p>
<div class="mission-content">
<div class="mission-text">
<h3>Building Tomorrow's Digital Experience</h3>
<p>
We believe in the transformative power of technology. Our mission is to create digital solutions that don't just meet today's needs, but anticipate tomorrow's opportunities. We're committed to bridging the gap between complex technology and intuitive user experiences.
</p>
<p>
Every line of code we write, every design we craft, and every solution we deliver is guided by our commitment to excellence, innovation, and user satisfaction. We don't just build products; we create experiences that matter.
</p>
<p>
Our approach combines cutting-edge technology with human-centered design, ensuring that our solutions are not only powerful and efficient but also accessible and enjoyable to use.
</p>
</div>
<div class="mission-image">
<div class="mission-placeholder">🚀</div>
</div>
</div>
</div>
</section>
<!-- Values Section -->
<section class="section values">
<div class="container">
<h2 class="section-title">Our Values</h2>
<p class="section-subtitle">The principles that guide everything we do</p>
<div class="values-grid">
<div class="value-card">
<div class="value-icon">💡</div>
<h3>Innovation</h3>
<p>We embrace new ideas and cutting-edge technologies to deliver solutions that push boundaries and exceed expectations.</p>
</div>
<div class="value-card">
<div class="value-icon">🤝</div>
<h3>Collaboration</h3>
<p>We believe in the power of teamwork, both within our organization and with our clients, to achieve extraordinary results.</p>
</div>
<div class="value-card">
<div class="value-icon">🎯</div>
<h3>Excellence</h3>
<p>We're committed to delivering the highest quality in everything we do, from code to customer service.</p>
</div>
<div class="value-card">
<div class="value-icon">🌍</div>
<h3>Impact</h3>
<p>We strive to create solutions that make a positive difference in the lives of our users and the broader community.</p>
</div>
<div class="value-card">
<div class="value-icon">🔍</div>
<h3>Transparency</h3>
<p>We believe in open communication, honest feedback, and clear processes in all our interactions.</p>
</div>
<div class="value-card">
<div class="value-icon">⚡</div>
<h3>Agility</h3>
<p>We adapt quickly to change, embrace new challenges, and continuously evolve to meet our users' needs.</p>
</div>
</div>
</div>
</section>
<!-- Team Section -->
<section class="section team">
<div class="container">
<h2 class="section-title">Meet Our Team</h2>
<p class="section-subtitle">The passionate individuals behind our success</p>
<div class="team-grid">
<div class="team-card">
<div class="team-image">👨💻</div>
<div class="team-info">
<h3>Alex Johnson</h3>
<div class="team-role">CEO & Co-Founder</div>
<p>Visionary leader with 15+ years in tech, passionate about creating products that make a difference.</p>
</div>
</div>
<div class="team-card">
<div class="team-image">👩💻</div>
<div class="team-info">
<h3>Sarah Chen</h3>
<div class="team-role">CTO & Co-Founder</div>
<p>Technical innovator dedicated to building scalable, secure, and beautiful digital solutions.</p>
</div>
</div>
<div class="team-card">
<div class="team-image">👨🎨</div>
<div class="team-info">
<h3>Marcus Rodriguez</h3>
<div class="team-role">Head of Design</div>
<p>Creative director focused on crafting intuitive user experiences that delight and inspire.</p>
</div>
</div>
<div class="team-card">
<div class="team-image">👩💼</div>
<div class="team-info">
<h3>Emily Davis</h3>
<div class="team-role">VP of Operations</div>
<p>Operations expert ensuring smooth processes and exceptional customer experiences.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Story Section -->
<section class="section story">
<div class="container">
<h2 class="section-title">Our Story</h2>
<p class="section-subtitle">From a simple idea to a trusted digital partner</p>
<div class="story-content">
<p>
It all started in 2018 when our founders, Alex and Sarah, recognized a gap in the market for truly user-centered digital solutions. Working from a small office with just a handful of team members, they set out to create technology that would not only solve problems but also inspire and empower users.
</p>
<p>
What began as late-night coding sessions and endless cups of coffee has evolved into a thriving company that serves thousands of users across 150+ countries. Our journey hasn't always been smooth, but every challenge has taught us valuable lessons and made us stronger.
</p>
<div class="story-highlight">
<h3>Today, We're Proud to Serve</h3>
<p>50,000+ happy users worldwide, with 99.9% uptime and 24/7 support, making digital dreams a reality every day.</p>
</div>
<p>
As we look to the future, we remain committed to our core mission: creating digital experiences that matter. We're constantly innovating, expanding our team with passionate individuals, and building solutions that will shape the future of digital interaction.
</p>
<p>
Our story is still being written, and we're excited to have you be a part of it. Whether you're a user, a partner, or someone considering joining our team, you're contributing to something bigger than just software – you're helping us build the future.
</p>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<div class="container">
<h2>Ready to Be Part of Our Story?</h2>
<p>Join thousands of users who trust us to deliver exceptional digital experiences.</p>
<a href="contact.html" class="btn btn-primary">Get Started Today</a>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="footer-content">
<div class="footer-section">
<h3>YourBrand</h3>
<p>Building the future of digital experiences, one innovation at a time.</p>
<p>© 2024 YourBrand. All rights reserved.</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<a href="index.html">Home</a>
<a href="index.html#features">Features</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</div>
<div class="footer-section">
<h3>Contact Info</h3>
<p>Email: hello@yourbrand.com</p>
<p>Phone: +1 (555) 123-4567</p>
<p>Address: 123 Innovation St, Tech City</p>
</div>
<div class="footer-section">
<h3>Follow Us</h3>
<a href="#">Twitter</a>
<a href="#">LinkedIn</a>
<a href="#">Facebook</a>
<a href="#">Instagram</a>
</div>
</div>
<div class="footer-bottom">
<p>Made with ❤️ for an amazing user experience</p>
</div>
</footer>
<script>
// Mobile Navigation Toggle
document.addEventListener('DOMContentLoaded', function() {
const navToggle = document.getElementById('navToggle');
const navLinks = document.getElementById('navLinks');
const header = document.getElementById('header');
navToggle.addEventListener('click', function() {
navLinks.classList.toggle('active');
navToggle.setAttribute('aria-expanded', navLinks.classList.contains('active'));
});
// Close mobile menu when clicking on links
navLinks.addEventListener('click', function(e) {
if (e.target.tagName === 'A') {
navLinks.classList.remove('active');
navToggle.setAttribute('aria-expanded', 'false');
}
});
// Header background on scroll
window.addEventListener('scroll', function() {
if (window.scrollY > 100) {
header.style.background = 'rgba(255, 255, 255, 0.98)';
header.style.boxShadow = '0 2px 20px rgba(0, 0, 0, 0.1)';
} else {
header.style.background = 'rgba(255, 255, 255, 0.95)';
header.style.boxShadow = 'none';
}
});
// Intersection Observer for animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver(function(entries) {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, observerOptions);
// Observe cards for animation
document.querySelectorAll('.value-card, .team-card, .mission-content > *').forEach(el => {
el.style.opacity = '0';
el.style.transform = 'translateY(20px)';
el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
observer.observe(el);
});
// Smooth scroll for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
const headerHeight = document.querySelector('.header').offsetHeight;
const targetPosition = target.offsetTop - headerHeight;
window.scrollTo({
top: targetPosition,
behavior: 'smooth'
});
}
});
});
});
</script>
</body>
</html>