|
210 | 210 | } |
211 | 211 | } |
212 | 212 |
|
213 | | -.worldMapBtnHeroTopRight { |
214 | | - position: absolute; |
215 | | - top: 2rem; |
216 | | - right: 2rem; |
217 | | - padding: 0.5rem 1.3rem; |
218 | | - background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary-glow))); |
219 | | - color: #fff; |
220 | | - font-weight: 600; |
221 | | - font-size: 1.1rem; |
222 | | - border: none; |
223 | | - border-radius: 0.5rem; |
224 | | - box-shadow: 0 2px 8px rgba(102, 126, 234, 0.10); |
225 | | - text-decoration: none; |
226 | | - transition: background 0.2s, box-shadow 0.2s, transform 0.2s; |
227 | | - display: inline-block; |
228 | | - cursor: pointer; |
229 | | - z-index: 10; |
230 | | -} |
231 | | - |
232 | | -.worldMapBtnHeroTopRight:hover { |
233 | | - background: linear-gradient(90deg, hsl(var(--primary-glow)), hsl(var(--primary))); |
234 | | - box-shadow: 0 4px 16px rgba(102, 126, 234, 0.16); |
235 | | - transform: translateY(-2px) scale(1.04); |
236 | | -} |
237 | | - |
238 | 213 | .learnMoreBtnHero { |
239 | 214 | margin-left: 1.2rem; |
240 | 215 | padding: 0.45rem 1.1rem; |
|
319 | 294 | } |
320 | 295 |
|
321 | 296 | .heroTitle { |
322 | | - font-size: 3rem; |
| 297 | + font-size: 4.5rem; |
323 | 298 | font-weight: 800; |
324 | 299 | color: hsl(var(--primary)); |
325 | 300 | letter-spacing: 0.04em; |
326 | 301 | } |
327 | 302 |
|
328 | 303 | .heroSubtitle { |
329 | 304 | font-size: 1.25rem; |
330 | | - color: var(--color-text-muted); |
| 305 | + color: #fff !important; |
331 | 306 | margin-bottom: 2rem; |
332 | 307 | line-height: 1.6; |
333 | 308 | } |
|
387 | 362 | display: flex; |
388 | 363 | flex-direction: column; |
389 | 364 | justify-content: center; |
390 | | - background: var(--color-background-light); |
391 | 365 | border-radius: 1.5rem; |
392 | 366 | box-shadow: 0 2px 12px rgba(102, 126, 234, 0.06); |
393 | 367 | padding: 2.5rem 1.5rem; |
|
404 | 378 | font-size: 2rem; |
405 | 379 | font-weight: 700; |
406 | 380 | margin-bottom: 0.5rem; |
| 381 | + color: #fff !important; |
407 | 382 | } |
408 | 383 |
|
409 | 384 | .featuresSubtitle { |
410 | 385 | font-size: 1.1rem; |
411 | | - color: var(--color-text-muted); |
| 386 | + color: #fff !important; |
412 | 387 | max-width: 600px; |
413 | 388 | margin: 0 auto; |
414 | 389 | } |
|
420 | 395 | max-width: 1100px; |
421 | 396 | margin: 0 auto; |
422 | 397 | justify-items: center; |
423 | | - align-items: start; |
| 398 | + align-items: stretch; /* Make all items in a row the same height */ |
424 | 399 | } |
425 | 400 |
|
426 | 401 | @media (min-width: 700px) { |
|
431 | 406 |
|
432 | 407 | @media (min-width: 1100px) { |
433 | 408 | .featuresGrid { |
434 | | - grid-template-columns: repeat(3, 1fr); |
| 409 | + grid-template-columns: repeat(4, 1fr); |
435 | 410 | } |
436 | 411 | } |
437 | 412 |
|
438 | 413 | .featureCard { |
439 | | - background: #fff; |
440 | 414 | border-radius: 18px; |
441 | 415 | box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); |
442 | 416 | padding: 2rem 1.5rem 1.5rem 1.5rem; |
443 | 417 | display: flex; |
444 | 418 | flex-direction: column; |
445 | 419 | align-items: center; |
446 | 420 | transition: box-shadow 0.2s, transform 0.2s; |
447 | | - border: 1px solid #f0f0f0; |
| 421 | + border: 2px solid #a259ff; |
| 422 | + color: #fff !important; |
| 423 | + height: auto; /* Let content determine height */ |
| 424 | + justify-content: space-between; |
448 | 425 | } |
449 | 426 |
|
450 | 427 | .featureCard:hover { |
|
471 | 448 | width: 2.5rem; |
472 | 449 | height: 2.5rem; |
473 | 450 | display: block; |
| 451 | + filter: brightness(0) invert(1); /* Make icons white */ |
474 | 452 | } |
475 | 453 |
|
476 | 454 | .featureCardContent { |
477 | 455 | text-align: center; |
478 | 456 | margin-bottom: 1.2rem; |
| 457 | + flex: 1; |
| 458 | + display: flex; |
| 459 | + flex-direction: column; |
| 460 | + justify-content: flex-start; |
| 461 | + min-height: 0; |
479 | 462 | } |
480 | 463 |
|
481 | 464 | .featureCardTitle { |
482 | 465 | font-size: 1.15rem; |
483 | 466 | font-weight: 600; |
484 | 467 | margin-bottom: 0.4rem; |
| 468 | + color: #fff !important; |
485 | 469 | } |
486 | 470 |
|
487 | 471 | .featureCardDescription { |
488 | 472 | font-size: 1rem; |
489 | | - color: var(--color-text-muted); |
| 473 | + color: #fff !important; |
| 474 | + line-height: 1.4; |
| 475 | + flex: 1; |
490 | 476 | } |
491 | 477 |
|
492 | 478 | .featureCardButton { |
493 | 479 | margin-top: auto; |
494 | | - background: hsl(230, 81%, 92%); |
495 | | - /* light blue */ |
496 | | - color: #222; |
| 480 | + background: #4F6AF6; |
| 481 | + color: #fff !important; |
497 | 482 | font-weight: 600; |
498 | 483 | padding: 0.7rem 1.5rem; |
499 | 484 | border-radius: 6px; |
|
503 | 488 | box-shadow: 0 1px 4px rgba(102, 126, 234, 0.08); |
504 | 489 | transition: box-shadow 0.2s, transform 0.2s; |
505 | 490 | display: inline-block; |
| 491 | + align-self: center; |
506 | 492 | } |
507 | 493 |
|
508 | 494 | .featureCardButton:hover { |
509 | | - background: hsl(230, 81%, 86%); |
510 | | - box-shadow: 0 2px 8px rgba(102, 126, 234, 0.16); |
| 495 | + background: #a259ff; |
| 496 | + box-shadow: 0 2px 8px rgba(162, 89, 255, 0.16); |
511 | 497 | transform: translateY(-2px) scale(1.04); |
512 | 498 | } |
513 | 499 |
|
514 | 500 | .statisticsSection { |
515 | | - background: var(--color-background-light); |
516 | 501 | padding: 2.5rem 0 2rem 0; |
517 | 502 | } |
518 | 503 |
|
|
522 | 507 | gap: 2rem; |
523 | 508 | max-width: 1100px; |
524 | 509 | margin: 0 auto; |
525 | | - align-items: stretch; |
| 510 | + align-items: stretch; /* Make all items in a row the same height */ |
526 | 511 | } |
527 | 512 |
|
528 | 513 | @media (min-width: 900px) { |
|
0 commit comments