1317 lines
20 KiB
CSS
1317 lines
20 KiB
CSS
:root {
|
|
--primary: #0066CC;
|
|
--primary-dark: #004C99;
|
|
--primary-light: #E6F2FF;
|
|
--accent: #00C896;
|
|
--accent-dark: #00966F;
|
|
--ink: #0F1218;
|
|
--ink-light: #2D3748;
|
|
--gray-100: #F7FAFC;
|
|
--gray-200: #EDF2F7;
|
|
--gray-300: #CBD5E0;
|
|
--gray-500: #718096;
|
|
--gray-700: #4A5568;
|
|
--white: #FFFFFF;
|
|
--error: #E53E3E;
|
|
--success: #38A169;
|
|
--warning: #DD6B20;
|
|
--charity: #D53F8C;
|
|
--state: #3182CE;
|
|
--font-heading: 'Unbounded', sans-serif;
|
|
--font-body: 'Manrope', sans-serif;
|
|
--transition: all 0.3s ease;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-body);
|
|
font-size: 17px;
|
|
line-height: 1.6;
|
|
color: var(--ink);
|
|
background: var(--white);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body.text-large {
|
|
font-size: 20px;
|
|
}
|
|
|
|
body.text-xlarge {
|
|
font-size: 22px;
|
|
}
|
|
|
|
body.contrast-high {
|
|
--ink: #000000;
|
|
--white: #FFFFFF;
|
|
--gray-100: #FFFFFF;
|
|
--gray-200: #E0E0E0;
|
|
}
|
|
|
|
.skip-link {
|
|
position: absolute;
|
|
top: -40px;
|
|
left: 0;
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
padding: 8px 16px;
|
|
z-index: 1000;
|
|
transition: top 0.3s;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
top: 0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1140px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
header {
|
|
background: var(--white);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 24px;
|
|
gap: 24px;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.nav-list {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 32px;
|
|
}
|
|
|
|
.nav-list a {
|
|
text-decoration: none;
|
|
color: var(--ink-light);
|
|
font-weight: 600;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-list a:hover,
|
|
.nav-list a:focus {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.nav-list a:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 14px 28px;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
text-decoration: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
text-align: center;
|
|
}
|
|
|
|
.btn:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-primary:focus {
|
|
background: var(--primary-dark);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--white);
|
|
color: var(--primary);
|
|
border: 2px solid var(--primary);
|
|
}
|
|
|
|
.btn-secondary:hover,
|
|
.btn-secondary:focus {
|
|
background: var(--primary-light);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--primary);
|
|
border: 2px solid var(--primary);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--primary-light);
|
|
}
|
|
|
|
.btn-block {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.btn-center {
|
|
display: block;
|
|
margin: 40px auto 0;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.btn-large {
|
|
padding: 18px 36px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.hero {
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
|
|
color: var(--white);
|
|
padding: 80px 0;
|
|
}
|
|
|
|
.hero-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 60px;
|
|
align-items: center;
|
|
}
|
|
|
|
.hero-text h1 {
|
|
font-family: var(--font-heading);
|
|
font-size: clamp(36px, 5vw, 56px);
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 20px;
|
|
line-height: 1.6;
|
|
color: rgba(255,255,255,0.9);
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero-image img {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 16px;
|
|
box-shadow: 0 20px 40px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.section {
|
|
padding: 80px 0;
|
|
}
|
|
|
|
.section-light {
|
|
background: var(--white);
|
|
}
|
|
|
|
.section-dark {
|
|
background: var(--gray-100);
|
|
}
|
|
|
|
.section-cta {
|
|
background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
|
|
color: var(--white);
|
|
text-align: center;
|
|
}
|
|
|
|
.section h2 {
|
|
font-family: var(--font-heading);
|
|
font-size: clamp(28px, 4vw, 36px);
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.section-dark h2 {
|
|
color: var(--ink);
|
|
}
|
|
|
|
.section-cta h2 {
|
|
color: var(--white);
|
|
}
|
|
|
|
.section-intro {
|
|
font-size: 18px;
|
|
color: var(--gray-500);
|
|
margin-bottom: 48px;
|
|
max-width: 700px;
|
|
}
|
|
|
|
.steps-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 32px;
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.step-card {
|
|
background: var(--gray-100);
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
text-align: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.step-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 24px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.step-number {
|
|
width: 60px;
|
|
height: 60px;
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
margin: 0 auto 24px;
|
|
}
|
|
|
|
.step-card h3 {
|
|
font-size: 22px;
|
|
margin-bottom: 12px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.step-card p {
|
|
color: var(--gray-500);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.quick-links h3 {
|
|
font-size: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.quick-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.quick-card {
|
|
background: var(--white);
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
color: var(--ink);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.quick-card:hover,
|
|
.quick-card:focus {
|
|
border-color: var(--primary);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 16px rgba(0, 102, 204, 0.15);
|
|
}
|
|
|
|
.quick-card:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.quick-icon {
|
|
font-size: 48px;
|
|
display: block;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.quick-title {
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.benefactors-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 60px;
|
|
align-items: center;
|
|
}
|
|
|
|
.benefactor-ways {
|
|
display: grid;
|
|
gap: 24px;
|
|
margin: 32px 0;
|
|
}
|
|
|
|
.way-card {
|
|
background: var(--white);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.way-card:hover {
|
|
transform: translateX(8px);
|
|
box-shadow: 0 8px 16px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.way-icon {
|
|
font-size: 40px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.way-card h3 {
|
|
font-size: 18px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.way-card p {
|
|
font-size: 15px;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.benefactors-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--white);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
color: var(--primary);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 14px;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.types-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.type-card {
|
|
background: var(--white);
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: 16px;
|
|
padding: 28px;
|
|
position: relative;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.type-card:hover {
|
|
border-color: var(--primary);
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 24px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.type-badge {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 16px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.type-badge.state {
|
|
background: var(--primary-light);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.type-badge.charity {
|
|
background: #FCE7F3;
|
|
color: var(--charity);
|
|
}
|
|
|
|
.type-icon {
|
|
font-size: 48px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.type-card h3 {
|
|
font-size: 20px;
|
|
margin-bottom: 16px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.type-list {
|
|
list-style: none;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.type-list li {
|
|
padding: 8px 0;
|
|
padding-left: 24px;
|
|
position: relative;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.type-list li::before {
|
|
content: "✓";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--success);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.link-arrow {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.link-arrow:hover {
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 32px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.project-card {
|
|
background: var(--white);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: 0 16px 32px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.project-image {
|
|
position: relative;
|
|
height: 200px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.project-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.project-card:hover .project-image img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.project-badge {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--white);
|
|
}
|
|
|
|
.project-badge.charity {
|
|
background: var(--charity);
|
|
}
|
|
|
|
.project-badge.state {
|
|
background: var(--state);
|
|
}
|
|
|
|
.project-content {
|
|
padding: 24px;
|
|
}
|
|
|
|
.project-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
color: var(--gray-500);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.project-category {
|
|
background: var(--gray-100);
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.project-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.project-desc {
|
|
font-size: 15px;
|
|
color: var(--gray-500);
|
|
margin-bottom: 20px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.project-progress {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 8px;
|
|
background: var(--gray-200);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
|
|
border-radius: 4px;
|
|
transition: width 0.5s ease;
|
|
}
|
|
|
|
.progress-text {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.raised {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.target {
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.project-author {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
font-size: 14px;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.author-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.faq-list {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.faq-item {
|
|
background: var(--white);
|
|
border-radius: 12px;
|
|
margin-bottom: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
|
|
}
|
|
|
|
.faq-question {
|
|
width: 100%;
|
|
padding: 24px;
|
|
background: none;
|
|
border: none;
|
|
text-align: left;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.faq-question:hover {
|
|
background: var(--gray-100);
|
|
}
|
|
|
|
.faq-question:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: -3px;
|
|
}
|
|
|
|
.faq-icon {
|
|
font-size: 24px;
|
|
color: var(--primary);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.faq-item.active .faq-icon {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.faq-answer {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease;
|
|
}
|
|
|
|
.faq-item.active .faq-answer {
|
|
max-height: 300px;
|
|
}
|
|
|
|
.faq-answer p {
|
|
padding: 0 24px 24px;
|
|
color: var(--gray-700);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.cta-content {
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.cta-content h2 {
|
|
font-size: clamp(28px, 4vw, 40px);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.cta-content p {
|
|
font-size: 18px;
|
|
margin-bottom: 32px;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.cta-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
footer {
|
|
background: var(--ink);
|
|
color: var(--white);
|
|
padding: 60px 0 30px;
|
|
}
|
|
|
|
.footer-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 40px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.footer-col h4 {
|
|
font-size: 18px;
|
|
margin-bottom: 20px;
|
|
color: var(--white);
|
|
}
|
|
|
|
.footer-col p {
|
|
color: rgba(255,255,255,0.7);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.footer-col ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.footer-col ul li {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.footer-col a {
|
|
color: rgba(255,255,255,0.7);
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.footer-col a:hover {
|
|
color: var(--white);
|
|
}
|
|
|
|
.footer-contacts {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.contact-item {
|
|
color: rgba(255,255,255,0.7);
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.footer-bottom {
|
|
border-top: 1px solid rgba(255,255,255,0.1);
|
|
padding-top: 30px;
|
|
text-align: center;
|
|
color: rgba(255,255,255,0.5);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer-note {
|
|
margin-top: 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.accessibility-panel {
|
|
background: var(--white);
|
|
border-bottom: 2px solid var(--gray-200);
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.accessibility-panel.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.panel-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.panel-label {
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.size-btn,
|
|
.contrast-btn {
|
|
padding: 8px 16px;
|
|
border: 2px solid var(--gray-300);
|
|
background: var(--white);
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.size-btn:hover,
|
|
.contrast-btn:hover {
|
|
border-color: var(--primary);
|
|
background: var(--primary-light);
|
|
}
|
|
|
|
.size-btn.active,
|
|
.contrast-btn.active {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.modal[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.modal-backdrop {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0,0,0,0.6);
|
|
}
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
background: var(--white);
|
|
border-radius: 16px;
|
|
max-width: 500px;
|
|
width: 100%;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
padding: 32px;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
|
|
animation: modalSlideIn 0.3s ease;
|
|
}
|
|
|
|
.modal-large {
|
|
max-width: 700px;
|
|
}
|
|
|
|
@keyframes modalSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 16px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 32px;
|
|
cursor: pointer;
|
|
color: var(--gray-500);
|
|
transition: var(--transition);
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: var(--ink);
|
|
}
|
|
|
|
.modal-close:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.modal h2 {
|
|
font-family: var(--font-heading);
|
|
font-size: 24px;
|
|
margin-bottom: 20px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.modal-body {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.test-form .form-step {
|
|
display: none;
|
|
}
|
|
|
|
.test-form .form-step.active {
|
|
display: block;
|
|
}
|
|
|
|
.step-progress {
|
|
font-size: 14px;
|
|
color: var(--gray-500);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.form-step h3 {
|
|
font-size: 20px;
|
|
margin-bottom: 24px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.radio-group,
|
|
.checkbox-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.radio-option,
|
|
.checkbox-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.radio-option:hover,
|
|
.checkbox-option:hover {
|
|
border-color: var(--primary);
|
|
background: var(--primary-light);
|
|
}
|
|
|
|
.radio-option input,
|
|
.checkbox-option input {
|
|
width: 20px;
|
|
height: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.step-buttons {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.results-list {
|
|
background: var(--gray-100);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.result-item {
|
|
padding: 16px;
|
|
background: var(--white);
|
|
border-radius: 8px;
|
|
margin-bottom: 12px;
|
|
border-left: 4px solid var(--primary);
|
|
}
|
|
|
|
.result-item h4 {
|
|
font-size: 16px;
|
|
color: var(--ink);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.result-item p {
|
|
font-size: 14px;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.result-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.donate-intro {
|
|
font-size: 16px;
|
|
color: var(--gray-500);
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.donate-amounts {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.amount-btn {
|
|
padding: 16px;
|
|
border: 2px solid var(--gray-200);
|
|
background: var(--white);
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.amount-btn:hover {
|
|
border-color: var(--primary);
|
|
background: var(--primary-light);
|
|
}
|
|
|
|
.amount-btn.active {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.donate-custom {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.donate-custom label {
|
|
display: block;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.donate-custom input {
|
|
width: 100%;
|
|
padding: 14px;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.donate-custom input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.donate-payment h4 {
|
|
font-size: 16px;
|
|
margin-bottom: 16px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.payment-methods {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.payment-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.payment-option:hover {
|
|
border-color: var(--primary);
|
|
background: var(--primary-light);
|
|
}
|
|
|
|
.payment-option input {
|
|
width: 20px;
|
|
height: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.donate-note {
|
|
font-size: 13px;
|
|
color: var(--gray-500);
|
|
text-align: center;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.info-section {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.info-section h3 {
|
|
font-size: 18px;
|
|
margin-bottom: 16px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.info-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.info-list li {
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.steps-list {
|
|
counter-reset: step;
|
|
list-style: none;
|
|
}
|
|
|
|
.steps-list li {
|
|
padding: 16px 0 16px 40px;
|
|
position: relative;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.steps-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.steps-list li::before {
|
|
counter-increment: step;
|
|
content: counter(step);
|
|
position: absolute;
|
|
left: 0;
|
|
top: 16px;
|
|
width: 28px;
|
|
height: 28px;
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.reveal {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
transition: opacity 0.6s ease, transform 0.6s ease;
|
|
}
|
|
|
|
.reveal.in {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header-content {
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
}
|
|
|
|
.nav-list {
|
|
order: 3;
|
|
width: 100%;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.hero-content {
|
|
grid-template-columns: 1fr;
|
|
gap: 40px;
|
|
}
|
|
|
|
.hero-buttons {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.benefactors-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.benefactors-stats {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.types-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.section {
|
|
padding: 48px 0;
|
|
}
|
|
|
|
.container {
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.footer-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 30px;
|
|
}
|
|
|
|
.modal-content {
|
|
padding: 24px;
|
|
}
|
|
|
|
.donate-amounts {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.nav-list {
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 16px;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.way-card {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.way-icon {
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
header,
|
|
.accessibility-panel,
|
|
.btn,
|
|
footer {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
font-size: 14px;
|
|
color: #000;
|
|
}
|
|
|
|
.section {
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|