/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #F7F3E9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #F7F3E9;
    --accent-color: #DC2626;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.95) 0%, rgba(79, 70, 229, 0.8) 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 243, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.brand-name a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.brand-name a:hover {
    opacity: 0.9;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 4rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.about-hero-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Content Sections */
.content-section {
    background: white;
    margin-bottom: 2rem;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.content-section p {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* About page specific styles */
.content-with-illustration,
.content-with-photo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text {
    /* Text content styling */
}

.content-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-photo {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mission-illustration,
.team-illustration,
.data-illustration,
.community-illustration {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Empty Content Placeholder */
.empty-content {
    text-align: center;
    padding: 3rem;
    background: var(--secondary-color);
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.empty-content p {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
    
    .content-with-illustration,
    .content-with-photo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-photo {
        height: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .page-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .content-with-illustration,
    .content-with-photo {
        gap: 1.5rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
}