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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
/* Color Palette Variables for easy reference */
:root {
    --floral-white: #fffcf2;
    --timberwolf: #ccc5b9;
    --black-olive: #403d39;
    --eerie-black: #252422;
    --flame: #eb5e28;
}

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, var(--eerie-black) 0%, #2e2d2aff 100%);
    margin: 0;
    padding: 0;
    color: var(--floral-white);
    min-height: 100vh; /* This is already set correctly on body */
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background: var(--black-olive);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-brand {
    font-size: 1.5rem;
    color: var(--flame);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: var(--floral-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--flame);
}

/* Hero Section */
.hero {
    flex: 1; /* This is crucial for distributing available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(37, 36, 34, 0.9), rgba(64, 61, 57, 0.8));
    min-height: calc(100vh - 80px); /* Adjust this line */
    /*
     * Explanation for min-height:
     * - 100vh makes it full viewport height.
     * - The `calc()` is used to subtract the fixed height of your navbar.
     * Assuming navbar height is around 50px + 15px top/bottom padding = 80px.
     * Adjust '80px' if your navbar's actual height changes.
     * - If you want the hero to be *exactly* 100vh and let the navbar overlap or push content,
     * you could just use min-height: 100vh; and adjust body flex accordingly.
     * However, keeping the navbar visible is usually desired.
     */
}


.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--floral-white);
    margin: 0 0 20px 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--timberwolf);
    margin-bottom: 30px;
}

.cta-btn {
    padding: 12px 24px;
    background: var(--flame);
    color: var(--eerie-black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: #cc4d1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Main Container (Assuming this wraps the tool page content) */
.container {
    flex: 1;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

header h1, .result-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--floral-white);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1rem;
    color: var(--timberwolf);
    margin-bottom: 30px;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Custom File Upload */
.custom-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 150px;
    padding: 20px;
    border: 2px solid var(--black-olive);
    background: var(--eerie-black);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-file-upload:hover {
    border-color: var(--flame);
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.custom-file-upload .icon {
    margin-bottom: 15px;
}

.custom-file-upload .icon svg {
    width: 60px;
    height: 60px;
    fill: var(--flame);
}

.custom-file-upload .text span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--floral-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-file-upload input {
    display: none;
}

/* Bouncing Particles Loader */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    margin: 20px auto;
}

@keyframes bounce {
    0%, 100% { transform: translateY(36px); }
    50% { transform: translateY(46px); }
}

@keyframes bounce2 {
    0%, 100% { transform: translateY(46px); }
    50% { transform: translateY(56px); }
}

/* Adjust loader colors to match new palette */
@keyframes umbral {
    0% { stop-color: #eb5e2833; }
    50% { stop-color: #eb5e2888; }
    100% { stop-color: #eb5e2833; }
}

@keyframes particles {
    0%, 100% { transform: translateY(16px); }
    50% { transform: translateY(6px); }
}

#particles {
    animation: particles 4s ease-in-out infinite;
}

#animatedStop {
    animation: umbral 4s infinite;
}

#bounce {
    animation: bounce 4s ease-in-out infinite;
    transform: translateY(36px);
}

#bounce2 {
    animation: bounce2 4s ease-in-out infinite;
    transform: translateY(46px);
    animation-delay: 0.5s;
}

/* Results Section */
.results-section {
    padding: 20px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.result-card {
    background: var(--eerie-black);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.result-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 10px auto;
    display: block;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.result-card h3 {
    font-size: 1.5rem;
    color: var(--flame);
    margin: 0 0 10px 0;
}

.result-card p {
    font-size: 1rem;
    color: var(--floral-white);
    margin: 0;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--black-olive);
    color: var(--floral-white);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    background: var(--flame);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Error Message */
.error {
    color: #ff9187;
    font-size: 1rem;
    margin-top: 20px;
    background-color: rgba(235, 94, 40, 0.2);
    padding: 10px;
    border-radius: 8px;
}

/* About Section */
.about-section {
    text-align: center;
    text-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    padding: 20px;
    background: var(--eerie-black);
    border-radius: 8px;
    color: var(--floral-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.about-section h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--flame);
    margin-bottom: 15px;
}

.about-section p {
    color: var(--timberwolf);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 20px 0;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.team-card {
    background: var(--eerie-black);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.team-card h3 {
    font-size: 1.1rem;
    color: var(--floral-white);
    margin: 0;
}

.team-card .role {
    font-size: 0.9rem;
    color: var(--flame);
    margin: 5px 0;
}

.team-card p {
    font-size: 0.8rem;
    color: var(--timberwolf);
    margin: 5px 0;
}

.edit-btn {
    padding: 8px 16px;
    background: var(--black-olive);
    color: var(--floral-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.edit-btn:hover {
    background: var(--flame);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.edit-input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    background: var(--eerie-black);
    border: 1px solid var(--black-olive);
    border-radius: 5px;
    color: var(--floral-white);
    font-family: 'Roboto Mono', monospace;
}

/* Footer */
.footer {
    background: var(--black-olive);
    padding: 15px;
    text-align: center;
    color: var(--timberwolf);
    font-size: 0.9rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .custom-file-upload {
        width: 100%;
        max-width: 300px;
        height: 120px;
    }
    .custom-file-upload .icon svg {
        width: 50px;
        height: 50px;
    }
    .custom-file-upload .text span {
        font-size: 1rem;
    }
    .loader svg {
        width: 120px;
        height: 120px;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .result-card img {
        max-width: 80%;
    }
    .team-list {
        grid-template-columns: 1fr;
    }
}