File size: 15,234 Bytes
ead63a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Econovation</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">
    <link rel="stylesheet" href="main.css">
    <link rel="stylesheet" href="creative.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Wide+Latin&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
        
        :root {
            --primary-bg: rgb(151, 204, 231);
            --text-color: #ffffff;
        }
        
        body {
            background-color: var(--primary-bg);
            color: var(--text-color);
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }
        
        .title-font {
            font-family: 'Wide Latin', serif;
            font-weight: 900;
            letter-spacing: 2px;
        }
        
        .term-font {
            font-family: 'Inter', sans-serif;
            font-weight: 500;
        }
        
        .euro-e {
            font-family: Arial, sans-serif;
            display: inline-block;
            transform: scaleX(0.9);
        }
        
        /* Legacy styles kept for compatibility */
        .nav-container {
            backdrop-filter: blur(10px);
            background-color: rgba(151, 204, 231, 0.85);
        }
        
        /* Enhanced header with glass morphism */
        header {
            background: rgba(255, 255, 255, 0.1) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
        }
        
        /* Animated gradient background for hero section */
        .hero-section {
            background: linear-gradient(-45deg, #3b82f6, #4f46e5, #8b5cf6, #2563eb);
            background-size: 400% 400%;
            animation: gradient 15s ease infinite;
        }
        
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        .nav-link {
            position: relative;
            color: var(--text-color);
        }
        
        .nav-link:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--text-color);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover:after {
            width: 100%;
        }
        
        .join-btn {
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            background-color: var(--text-color);
            color: rgb(0, 0, 0);
        }
        
        .join-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        .hero-section {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* Animation styles */
        .animation-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            background-color: white;
        }
        
        .shape {
            position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--text-color);
            background-color: var(--primary-bg);
            opacity: 0;
            transition: all 0.3s ease;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .circle {
            border-radius: 50%;
            width: 400px;
            height: 400px;
            font-size: 5rem;
        }
        
        .rounded-square {
            border-radius: 25px;
            width: 500px;
            height: 400px;
            font-size: 5rem;
        }
        
        .full-screen {
            width: 100%;
            height: 100%;
            border-radius: 0;
            opacity: 1;
            background-color: var(--primary-bg);
        }
        
        .title-container {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease 0.5s;
        }
        
        .title-visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .shape-text {
            transition: opacity 0.1s ease;
        }
        
        .logo-img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 50%;
        }
        
        .split-title {
            display: flex;
            flex-direction: column;
            line-height: 1;
        }
        
        .title-top {
            margin-bottom: 0;
            font-size: 8rem;
        }
        
        .title-bottom {
            margin-top: -1rem;
            font-size: 8rem;
        }
        
        @media (min-width: 768px) {
            .title-top {
                font-size: 12rem;
            }
            
            .title-bottom {
                font-size: 12rem;
            }
        }
        
        @media (min-width: 1024px) {
            .title-top {
                font-size: 15rem;
            }
            
            .title-bottom {
                font-size: 15rem;
            }
        }
    </style>
</head>
<body class="min-h-screen flex flex-col animated-gradient-bg">
    <!-- Animation Container -->
    <div class="animation-container" id="animationContainer">
        <div class="shape circle" id="mainShape">
            <div class="shape-text term-font" id="shapeText"></div>
        </div>
    </div>

    <div class="hero-section">
        <!-- Navigation bar removed -->
        
        <!-- Main content starts here -->
        <header class="navbar fixed w-full z-30 transition-all duration-300 crystal-nav">
            <div class="container mx-auto px-4 py-3 flex justify-between items-center">
                <a href="index.html" class="flex items-center space-x-2 logo-container">
                    <span class="font-bold text-xl">ECONOV<span class="text-primary">Δ</span>TION</span>
                </a>
                
                <nav class="hidden md:flex space-x-6 items-center">
                    <a href="index.html" class="nav-link active animated-border">Home</a>
                    <a href="about-us.html" class="nav-link animated-border">About Us</a>
                    <a href="events.html" class="nav-link animated-border">Events</a>
                    <a href="programs.html" class="nav-link animated-border">Programs</a>
                    <a href="#" class="nav-link animated-border">Videos</a>
                    <a href="partnerships.html" class="nav-link animated-border">Partnerships</a>
                    <a href="contact-us.html" class="nav-link animated-border">Contact Us</a>
                </nav>
                
                <button id="mobileMenuButton" class="md:hidden focus:outline-none">
                    <i class="fas fa-bars text-xl"></i>
                </button>
            </div>
        </header>
        
        <!-- Mobile Menu -->
        <div id="mobileMenu" class="fixed inset-0 bg-white z-40 transform translate-x-full transition-transform duration-300 md:hidden">
            <div class="flex flex-col h-full">
                <div class="flex justify-between items-center p-4 border-b">
                    <a href="index.html" class="flex items-center space-x-2">
                        <span class="font-bold text-xl">ECONOV<span class="text-primary">Δ</span>TION</span>
                    </a>
                    <button id="closeMenuButton" class="focus:outline-none">
                        <i class="fas fa-times text-2xl"></i>
                    </button>
                </div>
                <nav class="flex flex-col py-8 px-4 space-y-4">
                    <a href="index.html" class="mobile-nav-link active">Home</a>
                    <a href="about-us.html" class="mobile-nav-link">About Us</a>
                    <a href="events.html" class="mobile-nav-link">Events</a>
                    <a href="programs.html" class="mobile-nav-link">Programs</a>
                    <a href="#" class="mobile-nav-link">Videos</a>
                    <a href="partnerships.html" class="mobile-nav-link">Partnerships</a>
                    <a href="contact-us.html" class="mobile-nav-link">Contact Us</a>
                </nav>
            </div>
        </div>

        <div class="flex-grow flex items-center justify-center px-4">
            <div class="text-center title-container" id="titleContainer">
                <h1 class="title-font">
                    <div class="split-title">
                        <span class="title-top">ECONO</span>
                        <span class="title-bottom">VΔTION</span>
                    </div>
                </h1>
            </div>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const animationContainer = document.getElementById('animationContainer');
            const mainShape = document.getElementById('mainShape');
            const shapeText = document.getElementById('shapeText');
            const titleContainer = document.getElementById('titleContainer');
            
            // Full list of terms including abbreviations
            const allTerms = [
                'price', 'cost', 'goods', 'needs', 'wants', 'wealth', 'poor', 'rich', 'scarce', 'trade',
                'plan', 'spend', 'save', 'grow', 'fall', 'boom', 'bust', 'squeeze', 'curb', 'cap',
                'firm', 'shop', 'buy', 'sell', 'rent', 'wage', 'pay', 'fee', 'bid', 'ask',
                'deal', 'swap', 'cart', 'mark', 'brand', 'risk', 'loss', 'gain', 'rate', 'tax',
                'debt', 'cash', 'fund', 'drop', 'peak', 'slump', 'shock', 'curve', 'base', 'flow',
                'gap', 'drag', 'lag', 'bank', 'trend', 'zone', 'bond', 'stock', 'share', 'loan',
                'yield', 'vault', 'coin', 'note', 'bucks', 'gold', 'hedge', 'chip', 'swipe', 'port',
                'ship', 'tariff', 'dump', 'pact', 'grant', 'aid', 'ban', 'quota', 'block', 'link',
                'bulk', 'fair', 'lead',
                // Abbreviations
                'GDP', 'GNP', 'CPI', 'RPI', 'PED', 'YED', 'XED', 'SR', 'LR', 'AD',
                'AS', 'PPC', 'MPC', 'MPS', 'MPM', 'MPW', 'MR', 'MC', 'AR', 'AC',
                'TR', 'TC', 'FC', 'VC', 'VAT', 'FT', 'FDI', 'OMO',  'PPP'
            ];
            
            // Function to get 5 random unique terms
            function getRandomTerms() {
                const shuffled = [...allTerms].sort(() => 0.5 - Math.random());
                return shuffled.slice(0, 5);
            }
            
            const terms = getRandomTerms();
            let currentTermIndex = 0;
            
            // Start animation sequence
            setTimeout(() => {
                mainShape.style.opacity = '1';
                
                const cycleTerms = () => {
                    if (currentTermIndex < terms.length - 1) {
                        // Fade out current text (faster)
                        shapeText.style.opacity = '0';
                        
                        setTimeout(() => {
                            // Change text and fade in (faster)
                            shapeText.textContent = terms[currentTermIndex];
                            shapeText.style.opacity = '1';
                            currentTermIndex++;
                            
                            // Continue cycling until last term with shorter delay
                            if (currentTermIndex < terms.length) {
                                setTimeout(cycleTerms, 300);
                            }
                        }, 50); // Faster transition
                    } else {
                        // For the last term, transform to rounded square
                        setTimeout(() => {
                            shapeText.style.opacity = '0';
                            
                            setTimeout(() => {
                                shapeText.textContent = terms[currentTermIndex];
                                shapeText.style.opacity = '1';
                                mainShape.classList.remove('circle');
                                mainShape.classList.add('rounded-square');
                                
                                // Then expand to full screen (faster)
                                setTimeout(() => {
                                    animationContainer.style.backgroundColor = 'var(--primary-bg)';
                                    mainShape.classList.add('full-screen');
                                    titleContainer.classList.add('title-visible');
                                    
                                    // Faster disappearance of animation container
                                    setTimeout(() => {
                                        animationContainer.style.opacity = '0';
                                        setTimeout(() => {
                                            animationContainer.style.display = 'none';
                                        }, 100);
                                    }, 300); // Shorter delay before disappearing
                                }, 300); // Shorter delay before expanding
                            }, 50); 
                        }, 300); 
                    }
                };
                
                // Start cycling through terms with shorter initial delay
                setTimeout(cycleTerms, 300);
            }, 200); // Shorter initial delay
            
            // Mobile menu functionality
            const mobileMenuButton = document.getElementById('mobileMenuButton');
            const closeButton = document.getElementById('closeMenuButton');
            const mobileMenu = document.getElementById('mobileMenu');
            
            mobileMenuButton.addEventListener('click', function() {
                mobileMenu.classList.remove('translate-x-full');
            });
            
            closeButton.addEventListener('click', function() {
                mobileMenu.classList.add('translate-x-full');
            });
        });
    </script>
    <script src="creative.js"></script>
</body>
</html>