/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* !!! CRITICAL FIX !!! */
/* Override the 'Center App' layout from base.css */
body.about-layout {
    display: block !important;       /* Forces sections to stack vertically */
    padding: 0 !important;           /* Removes the app-container padding */
    overflow-x: hidden;
    background: var(--bg-body);
    color: var(--brand-dark);
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
}
/* Dark mode support for navbar if theme changes */
@media (prefers-color-scheme: dark) {
    .navbar { background: rgba(28, 28, 30, 0.8); border-bottom: 1px solid rgba(255,255,255,0.1); }
}

.nav-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-size: 1.5rem; font-weight: 800; color: var(--brand-primary); }
.brand-logo a {
  color: inherit;
  text-decoration: none;
}
.nav-actions { display: flex; gap: 1.5rem; align-items: center; }
.nav-link { color: var(--brand-dark); text-decoration: none; font-weight: 500; }
.btn-nav { padding: 8px 16px; background: var(--brand-primary); color: white; border-radius: 20px; text-decoration: none; font-weight: 600; }

/* --- Hero Section --- */
.about-hero {
    text-align: center;
    padding: 8rem 1.5rem 4rem 1.5rem; /* More top padding for breathing room */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.35rem;
    opacity: 0.7;
    max-width: 650px;
    margin: 0 auto 4rem auto;
    line-height: 1.5;
}

.hero-image-container {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Story Section (Editorial) --- */
.story-section {
    padding: 6rem 1.5rem;
    background: var(--bg-card); /* Distinct background color */
    width: 100%; /* Ensure full width */
}

.text-column {
    max-width: 680px;
    margin: 0 auto;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.text-column h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--brand-dark);
}

.text-column p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Drop Cap Effect */
.drop-cap::first-letter {
    font-size: 3.5em;
    float: left;
    margin-top: -0.15em;
    margin-right: 0.15em;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.quote-block {
    margin: 3rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--brand-primary);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    color: var(--brand-dark);
    line-height: 1.4;
}

/* --- Values Section --- */
.values-section {
    padding: 6rem 1.5rem;
    background: var(--bg-body);
    width: 100%;
}

.values-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.value-card:hover { transform: translateY(-5px); }

.icon-large { font-size: 2.5rem; margin-bottom: 1.5rem; }
.value-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--brand-dark); }
.value-card p { opacity: 0.7; line-height: 1.5; color: var(--brand-dark); }

/* --- Impact Stats --- */
.impact-section {
    background: var(--brand-primary);
    color: white;
    padding: 4rem 1.5rem;
    width: 100%;
}

.impact-grid {
    max-width: 900px; margin: 0 auto;
    display: flex; justify-content: space-around;
    text-align: center;
}

.stat-number { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.stat-label { font-size: 1rem; font-weight: 600; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- CTA Section --- */
.cta-section {
    padding: 8rem 1.5rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-body), var(--bg-card));
    width: 100%;
}

.cta-content h2 { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 2.5rem; 
    line-height: 1.1;
    color: var(--brand-dark);
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; }

.btn-primary-large {
    padding: 16px 32px;
    background: var(--brand-primary);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

.btn-secondary-large {
    padding: 16px 32px;
    background: transparent;
    color: var(--brand-dark);
    border: 1px solid rgba(0,0,0,0.1); /* Fallback border */
    border: 1px solid var(--brand-dark); 
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.btn-secondary-large:hover { background: rgba(0,0,0,0.05); }

/* --- Footer --- */
.main-footer { padding: 3rem 1.5rem; border-top: 1px solid rgba(0,0,0,0.05); text-align: center; width: 100%; background: var(--bg-card); }
.footer-brand h4 { font-weight: 800; color: var(--brand-primary); }
.footer-links a { margin: 0 10px; color: var(--brand-dark); opacity: 0.6; text-decoration: none; font-size: 0.9rem; }

/* Mobile */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-image-container { height: 300px; }
    .values-container { grid-template-columns: 1fr; }
    .impact-grid { flex-direction: column; gap: 2rem; }
    .cta-buttons { flex-direction: column; }
}