/* ============================================
   Sidewalk Stories LA - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #2C5F8A;
    --color-primary-dark: #1a3a5c;
    --color-accent: #E07B3A;
    --color-accent-light: #f0a06e;
    --color-concrete: #7A7A7A;
    --color-concrete-light: #B8B8B8;
    --color-concrete-bg: #F0EFED;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-mosaic-1: #E07B3A;
    --color-mosaic-2: #4A9B8C;
    --color-mosaic-3: #C9A96E;
    --color-mosaic-4: #8B6F9E;
    --color-mosaic-5: #D4A574;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --mosaic-gap: 4px;
}

/* Mosaic Tile Background Pattern */
.mosaic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image:
        linear-gradient(90deg, var(--color-mosaic-1) var(--mosaic-gap), transparent var(--mosaic-gap)),
        linear-gradient(var(--color-mosaic-2) var(--mosaic-gap), transparent var(--mosaic-gap)),
        linear-gradient(90deg, var(--color-mosaic-3) var(--mosaic-gap), transparent var(--mosaic-gap)),
        linear-gradient(var(--color-mosaic-4) var(--mosaic-gap), transparent var(--mosaic-gap));
    background-size: 40px 40px, 40px 40px, 20px 20px, 20px 20px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative mosaic tile clusters */
.mosaic-cluster {
    position: absolute;
    width: 120px;
    height: 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
    opacity: 0.15;
    pointer-events: none;
}

.mosaic-cluster .tile {
    border-radius: 2px;
    transition: var(--transition);
}

.mosaic-cluster .tile:nth-child(1) { background-color: var(--color-mosaic-1); }
.mosaic-cluster .tile:nth-child(2) { background-color: var(--color-mosaic-2); }
.mosaic-cluster .tile:nth-child(3) { background-color: var(--color-mosaic-3); }
.mosaic-cluster .tile:nth-child(4) { background-color: var(--color-mosaic-4); }
.mosaic-cluster .tile:nth-child(5) { background-color: var(--color-mosaic-5); }
.mosaic-cluster .tile:nth-child(6) { background-color: var(--color-mosaic-1); opacity: 0.7; }
.mosaic-cluster .tile:nth-child(7) { background-color: var(--color-mosaic-3); opacity: 0.8; }
.mosaic-cluster .tile:nth-child(8) { background-color: var(--color-mosaic-2); opacity: 0.6; }
.mosaic-cluster .tile:nth-child(9) { background-color: var(--color-mosaic-4); opacity: 0.9; }

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Visible focus indicators for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.nav-toggle:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.social-icon[aria-disabled="true"],
.footer-links a[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background: linear-gradient(135deg, var(--color-mosaic-1), var(--color-mosaic-2), var(--color-mosaic-3));
    border-radius: 6px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--color-white);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-concrete-bg);
}

.hero-mosaic-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.08;
    background-image:
        linear-gradient(45deg, var(--color-mosaic-1) 25%, transparent 25%),
        linear-gradient(-45deg, var(--color-mosaic-2) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--color-mosaic-3) 75%),
        linear-gradient(-45deg, transparent 75%, var(--color-mosaic-4) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title .accent {
    color: var(--color-accent);
    display: inline-block;
    position: relative;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(224, 123, 58, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-concrete-light), var(--color-concrete));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--color-mosaic-1), var(--color-mosaic-2), var(--color-mosaic-3), var(--color-mosaic-4));
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-concrete);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Bar */
.stats-bar {
    background-color: var(--color-primary);
    padding: 48px 0;
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Utilities */
.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-top: 16px;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

.section-content h2 {
    margin-bottom: 20px;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* Image Placeholders */
.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #ddd, #bbb);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.85rem;
    text-align: center;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background-color: var(--color-concrete-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-card {
    background-color: var(--color-white);
    padding: 40px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-mosaic-1), var(--color-mosaic-2));
}

.process-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-concrete-light);
    line-height: 1;
    margin-bottom: 16px;
}

.process-icon {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.process-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.process-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.benefit-item {
    margin-bottom: 32px;
    padding-left: 24px;
    border-left: 3px solid var(--color-accent);
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.benefit-item p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Pilot Section */
.pilot-section {
    padding: 100px 0;
    background-color: var(--color-concrete-bg);
}

.pilot-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.pilot-card {
    background-color: var(--color-white);
    padding: 48px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pilot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pilot-card.featured {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
}

.pilot-card.featured h3 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pilot-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.pilot-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.pilot-cta {
    text-align: center;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #ddd, #bbb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.8rem;
    text-align: center;
    padding: 16px;
}

.gallery-caption {
    padding: 12px 16px;
    background-color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-note {
    text-align: center;
    margin-top: 32px;
    color: var(--color-concrete);
    font-size: 0.85rem;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section.has-bg {
    background: none;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 0;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,58,92,0.92), rgba(44,95,138,0.85));
}

/* Angled Section Transitions */
.angled-top {
    clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%);
    padding-top: calc(100px + 6vw);
}

.angled-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%);
    padding-bottom: calc(100px + 6vw);
}

.angled-both {
    clip-path: polygon(0 6vw, 100% 0, 100% calc(100% - 6vw), 0 100%);
    padding-top: calc(100px + 6vw);
    padding-bottom: calc(100px + 6vw);
}

/* Parallax Backgrounds */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.92);
    z-index: 0;
}

.parallax-bg.alt::before {
    background: rgba(240,239,237,0.92);
}

.parallax-bg .container {
    position: relative;
    z-index: 1;
}

/* Full-width Visual Band */
.visual-band {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.visual-band::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,58,92,0.82), rgba(44,95,138,0.7));
}

.visual-band .container {
    position: relative;
    z-index: 1;
}

.visual-band h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.visual-band p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 320px;
}

.footer-links h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Page Header (for interior pages) */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--color-concrete-bg), #e8e6e3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header.has-bg {
    background: none;
    color: var(--color-white);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 0;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,58,92,0.88), rgba(44,95,138,0.78));
}

.page-header.has-bg .container {
    position: relative;
    z-index: 1;
}

.page-header.has-bg h1,
.page-header.has-bg .section-label {
    color: var(--color-white);
}

.page-header.has-bg p {
    color: rgba(255,255,255,0.9);
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section.alt {
    background-color: var(--color-concrete-bg);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-concrete-light), var(--color-concrete));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.75rem;
    overflow: hidden;
}

.team-card h3 {
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.team-role {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Budget Table */
.budget-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.budget-table th,
.budget-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.budget-table th {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.budget-table tr:nth-child(even) {
    background-color: var(--color-concrete-bg);
}

.budget-table td {
    font-size: 1rem;
}

.budget-table .total-row {
    font-weight: 700;
    background-color: var(--color-primary) !important;
    color: var(--color-white);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-info h3 {
    margin-bottom: 24px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-concrete-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-method h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-method p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Donate Card */
.donate-card {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-white);
    padding: 60px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 48px;
}

.donate-card h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.donate-card p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.donate-amounts {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.donate-btn {
    padding: 16px 32px;
    background-color: var(--color-white);
    color: var(--color-text);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container,
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pilot-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .angled-top,
    .angled-bottom,
    .angled-both {
        clip-path: none;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .visual-band {
        min-height: 50vh;
    }
}

/* Disable fixed backgrounds on touch devices for performance */
@media (hover: none) and (pointer: coarse) {
    .parallax-bg,
    .cta-bg,
    .visual-band,
    .page-header-bg {
        background-attachment: scroll;
    }
}

/* Before/After Slider */
.before-after-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: col-resize;
}

.before-after-slider .before-image,
.before-after-slider .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.before-after-slider .after-image {
    width: 50%;
    overflow: hidden;
    border-right: 3px solid var(--color-white);
}

.before-after-slider .slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: col-resize;
}

.before-after-slider .slider-handle svg {
    color: var(--color-primary);
}

.before-after-labels {
    position: absolute;
    top: 16px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 5;
    pointer-events: none;
}

.before-after-labels span {
    background-color: rgba(0,0,0,0.6);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Animated Counter */
.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* Accent divider */
.accent-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-mosaic-1), var(--color-mosaic-2), var(--color-mosaic-3));
    border-radius: 2px;
    margin: 20px 0;
}

.section-header .accent-divider {
    margin: 20px auto 0;
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}
