Spaces:
Sleeping
Sleeping
| /* Impact Stats Section */ | |
| .impact { | |
| background: var(--color-neutral-50); | |
| position: relative; | |
| } | |
| .impact__grid { | |
| display: grid; | |
| /* Changed from 4 to 3 to accommodate the temporary removal of 'Projects' stat */ | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 1.5rem; | |
| } | |
| .impact__card { | |
| text-align: center; | |
| padding: 2.5rem 1.5rem; | |
| background: white; | |
| border-radius: var(--radius-xl); | |
| box-shadow: var(--shadow-card); | |
| transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .impact__card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 4px; | |
| background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-500)); | |
| opacity: 0; | |
| transition: opacity 0.3s ease; | |
| } | |
| .impact__card:hover { | |
| transform: translateY(-8px); | |
| box-shadow: var(--shadow-card-hover); | |
| } | |
| .impact__card:hover::before { | |
| opacity: 1; | |
| } | |
| .impact__icon { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 60px; | |
| height: 60px; | |
| border-radius: var(--radius-lg); | |
| font-size: 1.5rem; | |
| margin-bottom: 1.25rem; | |
| } | |
| .impact__value { | |
| font-family: var(--font-stats); | |
| font-size: 2.75rem; | |
| font-weight: 800; | |
| margin-bottom: 0.25rem; | |
| line-height: 1; | |
| } | |
| .impact__label { | |
| font-size: 1rem; | |
| font-weight: 600; | |
| color: var(--color-neutral-800); | |
| margin-bottom: 0.5rem; | |
| } | |
| .impact__desc { | |
| font-size: 0.85rem; | |
| color: var(--color-neutral-500); | |
| line-height: 1.5; | |
| } | |
| @media (max-width: 1024px) { | |
| .impact__grid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .impact__grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .impact__value { | |
| font-size: 2.25rem; | |
| } | |
| } | |