/**
 * About Page Styles
 *
 * Modern, visually appealing styles for the public About Us page.
 * Follows the design system and complements the existing hero styles.
 */

/* ============================================================================
   ABOUT PAGE GENERAL
   ============================================================================ */

.about-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-section:nth-child(even) {
    background: var(--about-section-alt-bg, rgba(255, 255, 255, 0.03));
}

/* Section Label */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent, #d4af37);
    margin-bottom: 0.75rem;
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-primary, #0c2340);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent, #d4af37), transparent);
    margin-bottom: 1.5rem;
}

.section-divider.mx-auto {
    background: linear-gradient(90deg, transparent, var(--color-accent, #d4af37), transparent);
}

/* ============================================================================
   HERO SECTION (About-specific)
   ============================================================================ */

/* Ensure About hero is positioning context and fills viewport */
.about-hero {
    position: relative;
    overflow: hidden;
}

/* When hero has NO swiper (single image, default image, or video): slide fills section */
.about-hero > .hero-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Default hero image (static fallback when no CMS image) - ensure proper display */
.about-hero .about-hero-default {
    background-color: var(--color-primary, #0c2340);
}

/* Single image / fallback: hero-content must sit above the slide */
.about-hero > .hero-slide .about-hero-content {
    position: relative;
    z-index: 2;
}

/* Video case: ensure video container fills section (already in hero_content flow) */
.about-hero > .hero-video-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.about-hero > .hero-content {
    position: relative;
    z-index: 10;
}

/* Gradient fallback kept for backwards compatibility (now we use default image instead) */
.about-hero .about-hero-fallback {
    background: linear-gradient(135deg,
        #0c2340 0%,
        #1a3a5a 25%,
        #2d4a6a 50%,
        #1a3a5a 75%,
        #0c2340 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero slide for about page */
.about-hero .hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero content positioning and styling */
.about-hero .about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 2rem 1.5rem;
    padding-top: calc(var(--site-header-height, 56px) + 2rem);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Entry animation for hero content */
.about-hero .about-hero-content {
    animation: aboutHeroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes aboutHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.about-hero .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    max-width: 650px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    line-height: 1.6;
}

/* Hero tagline styling */
.about-hero .hero-tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent, #d4af37);
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Hero logo styling */
.about-hero .hero-logo {
    max-height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Show correct logo based on theme */
.about-hero .hero-logo-light {
    display: none;
}

.about-hero .hero-logo-dark {
    display: block;
}

[data-theme="dark"] .about-hero .hero-logo-light {
    display: block;
}

[data-theme="dark"] .about-hero .hero-logo-dark {
    display: none;
}

/* Hero CTA for about page - horizontal layout */
.about-hero .about-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.about-hero .about-hero-cta .btn-primary {
    min-width: 200px;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
}

.about-hero .about-hero-cta .hero-cta-secondary {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
}

.about-hero .about-hero-cta .hero-cta-secondary .btn {
    flex: 1;
    max-width: 160px;
}

/* Better overlay for about hero */
.about-hero .hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

[data-theme="dark"] .about-hero .hero-slide .overlay {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.75) 100%);
}

/* Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video overlay */
.hero-video-container + .hero-content {
    position: relative;
    z-index: 10;
}

/* Scroll down indicator for about hero */
.about-hero .scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.about-hero .scroll-down a {
    display: flex;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounceDown 2s infinite;
}

.about-hero .scroll-down a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Responsive hero */
@media (max-width: 768px) {
    .about-hero .about-hero-content {
        padding: 1.5rem 1rem;
    }

    .about-hero .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .about-hero .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 1.5rem;
    }

    .about-hero .about-hero-cta {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .about-hero .about-hero-cta .btn-primary {
        width: 100%;
        min-width: auto;
    }

    .about-hero .about-hero-cta .hero-cta-secondary {
        width: 100%;
    }

    .about-hero .about-hero-cta .hero-cta-secondary .btn {
        max-width: none;
        flex: 1;
    }
}

/* ============================================================================
   STORY SECTION
   ============================================================================ */

.about-story-section {
    background: var(--about-section-bg, var(--color-bg, #ffffff));
}

.story-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg, 16px);
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease;
}

.story-image-wrapper:hover .story-image {
    transform: scale(1.03);
}

.story-image-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--color-accent, #d4af37);
    border-radius: var(--radius-lg, 16px);
    z-index: -1;
}

.story-content {
    padding-left: 2rem;
}

.story-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text-secondary, #4b5563);
}

.story-text p {
    margin-bottom: 1.25rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   MISSION & VISION SECTION
   ============================================================================ */

.about-mission-section {
    background: var(--about-section-alt-bg, linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%));
}

.mission-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border, rgba(12, 35, 64, 0.1));
    border-radius: var(--radius-lg, 16px);
    padding: 3rem;
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.mission-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary, #0c2340) 0%, var(--color-primary-light, #1a3a5a) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-card__icon i {
    font-size: 2rem;
    color: var(--color-accent, #d4af37);
}

.mission-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary, #0c2340);
    margin-bottom: 1rem;
}

.mission-card__divider {
    width: 50px;
    height: 3px;
    background: var(--color-accent, #d4af37);
    margin-bottom: 1.5rem;
}

.mission-card__content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary, #4b5563);
}

/* Vision card alternate styling (light: navy; dark: uses --about-vision-bg) */
.mission-card--vision {
    background: var(--about-vision-bg, linear-gradient(135deg, var(--color-primary, #0c2340) 0%, var(--color-primary-dark, #081828) 100%));
}

.mission-card--vision .mission-card__icon {
    background: rgba(255, 255, 255, 0.1);
}

.mission-card--vision .mission-card__title,
.mission-card--vision .mission-card__content {
    color: #ffffff;
}

/* ============================================================================
   VALUES SECTION
   ============================================================================ */

.about-values-section {
    background: var(--about-section-bg, var(--color-bg, #ffffff));
}

.value-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.95));
    border: 1px solid var(--glass-border, rgba(12, 35, 64, 0.1));
    border-radius: var(--radius-lg, 16px);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent, #d4af37);
}

.value-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--glass-bg-light, rgba(12, 35, 64, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--color-accent, #d4af37);
    transition: all 0.3s ease;
}

.value-card:hover .value-card__icon {
    background: var(--color-primary, #0c2340);
    transform: scale(1.1);
}

.value-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary, #0c2340);
    margin-bottom: 0.75rem;
}

.value-card__divider {
    width: 40px;
    height: 2px;
    background: var(--color-accent, #d4af37);
    margin: 0 auto 1rem;
}

.value-card__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-secondary, #6b7280);
}

/* ============================================================================
   STATISTICS SECTION
   ============================================================================ */

.about-statistics-section {
    background: var(--about-stats-bg, linear-gradient(135deg, var(--color-primary, #0c2340) 0%, var(--color-primary-dark, #081828) 100%));
    padding: 5rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-card__value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-accent, #d4af37);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-card__label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================================
   TEAM SECTION
   ============================================================================ */

.about-team-section {
    background: var(--about-section-alt-bg, var(--color-bg, #ffffff));
}

.team-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.95));
    border: 1px solid var(--glass-border, rgba(12, 35, 64, 0.1));
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-card--featured {
    border-color: var(--color-accent, #d4af37);
    border-width: 2px;
    position: relative;
}

.team-card--featured::before {
    content: 'Co-Founder';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--color-accent, #d4af37), #e5c44a);
    color: var(--color-primary, #0c2340);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    z-index: 10;
}

/* Founder cards - larger and more prominent */
.team-card--founder {
    box-shadow: 0 10px 40px rgba(12, 35, 64, 0.15);
}

.team-card--founder .team-card__info {
    padding: 1.75rem;
}

.team-card--founder .team-card__name {
    font-size: 1.375rem;
}

.team-card--founder .team-card__role {
    font-size: 1rem;
}

.team-card__bio--expanded {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.team-card__photo-placeholder--founder {
    background: linear-gradient(135deg, var(--color-primary, #0c2340) 0%, var(--color-primary-light, #1a3a5a) 100%);
    color: rgba(255, 255, 255, 0.6);
}

.team-card__photo-placeholder--founder i {
    font-size: 5rem;
}

/* Section subtitle */
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-secondary, #6b7280);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.team-card__photo {
    position: relative;
    padding-top: 100%;
    background: var(--glass-bg-light, rgba(12, 35, 64, 0.05));
    overflow: hidden;
}

.team-card__photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card__photo img {
    transform: scale(1.05);
}

.team-card__photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-text-secondary, #9ca3af);
}

.team-card__social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.team-card:hover .team-card__social {
    opacity: 1;
    transform: translateY(0);
}

.team-card__social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s ease;
}

.team-card__social a:hover {
    background: var(--color-accent, #d4af37);
    transform: scale(1.1);
}

.team-card__info {
    padding: 1.5rem;
    text-align: center;
}

.team-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary, #0c2340);
    margin-bottom: 0.25rem;
}

.team-card__role {
    font-size: 0.875rem;
    color: var(--color-accent, #d4af37);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-card__bio {
    font-size: 0.875rem;
    color: var(--color-text-secondary, #6b7280);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-card__contact {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-primary, #0c2340);
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-card__contact:hover {
    color: var(--color-accent, #d4af37);
}

/* ============================================================================
   TIMELINE SECTION
   ============================================================================ */

.about-timeline-section {
    background: var(--about-section-bg, rgba(255, 255, 255, 0.03));
}

.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-accent, #d4af37), var(--color-primary, #0c2340));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

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

.timeline-item--left {
    justify-content: flex-start;
    padding-right: calc(50% + 2rem);
}

.timeline-item--right {
    justify-content: flex-end;
    padding-left: calc(50% + 2rem);
}

.timeline-item__marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-item__year {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent, #d4af37);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.timeline-item__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary, #0c2340);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #d4af37);
    font-size: 1.25rem;
    border: 4px solid var(--color-bg, #ffffff);
}

.timeline-item__content {
    background: var(--glass-bg, rgba(255, 255, 255, 0.95));
    border: 1px solid var(--glass-border, rgba(12, 35, 64, 0.1));
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

.timeline-item__content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item__image {
    margin-bottom: 1rem;
}

.timeline-item__image img {
    width: 100%;
    border-radius: var(--radius-md, 8px);
}

.timeline-item__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary, #0c2340);
    margin-bottom: 0.5rem;
}

.timeline-item__description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary, #6b7280);
    line-height: 1.6;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.about-cta-section {
    background: var(--about-cta-bg, linear-gradient(135deg, var(--color-primary, #0c2340) 0%, var(--color-primary-dark, #081828) 100%));
    padding: 5rem 0;
}

.cta-wrapper {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

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

.cta-buttons .btn {
    min-width: 180px;
}

.cta-buttons .btn-primary {
    background: var(--color-accent, #d4af37);
    border-color: var(--color-accent, #d4af37);
    color: var(--color-primary, #0c2340);
}

.cta-buttons .btn-primary:hover {
    background: #e5c44a;
    border-color: #e5c44a;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 992px) {
    .about-section {
        padding: 4rem 0;
    }

    .story-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .story-image-decoration {
        display: none;
    }

    .mission-card {
        padding: 2rem;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 30px;
    }

    .timeline-item--left,
    .timeline-item--right {
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item__marker {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-hero .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-hero .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .value-card {
        padding: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem 0.5rem;
    }

    .stat-card__value {
        font-size: 2.5rem;
    }

    .team-card__info {
        padding: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================================================
   DARK MODE - Full ultra-black background for all About page sections
   Every section uses --dm-bg-primary (#000) for a consistent, seamless look.
   ============================================================================ */

[data-theme="dark"] {
    /* All section backgrounds = same ultra black - no grey alternation */
    --about-section-bg: var(--dm-bg-primary);
    --about-section-alt-bg: var(--dm-bg-primary);
    --about-vision-bg: var(--dm-bg-primary);
    --about-stats-bg: var(--dm-bg-primary);
    --about-cta-bg: var(--dm-bg-primary);
}

[data-theme="dark"] .about-story-section {
    background: var(--dm-bg-primary);
}

[data-theme="dark"] .about-mission-section {
    background: var(--dm-bg-primary);
}

[data-theme="dark"] .about-values-section {
    background: var(--dm-bg-primary);
}

[data-theme="dark"] .about-statistics-section {
    background: var(--dm-bg-primary);
}

[data-theme="dark"] .about-team-section {
    background: var(--dm-bg-primary);
}

[data-theme="dark"] .about-timeline-section {
    background: var(--dm-bg-primary);
}

[data-theme="dark"] .about-cta-section {
    background: var(--dm-bg-primary);
}

/* Force every About section wrapper to ultra black (no grey from nth-child) */
[data-theme="dark"] .about-section {
    background: var(--dm-bg-primary) !important;
}

/* Typography - use dark mode tokens */
[data-theme="dark"] .section-label {
    color: var(--dm-accent-primary);
}

[data-theme="dark"] .section-title {
    color: var(--dm-text-primary);
}

[data-theme="dark"] .section-subtitle {
    color: var(--dm-text-secondary);
}

[data-theme="dark"] .story-text,
[data-theme="dark"] .story-text p {
    color: var(--dm-text-secondary);
}

/* Mission & Vision cards */
[data-theme="dark"] .mission-card {
    background: var(--dm-bg-tertiary);
    border-color: var(--dm-border-primary);
}

[data-theme="dark"] .mission-card__title {
    color: var(--dm-text-primary);
}

[data-theme="dark"] .mission-card__content {
    color: var(--dm-text-secondary);
}

[data-theme="dark"] .mission-card--vision {
    background: var(--dm-bg-quaternary);
    border-color: var(--dm-border-accent);
}

[data-theme="dark"] .mission-card--vision .mission-card__title,
[data-theme="dark"] .mission-card--vision .mission-card__content {
    color: var(--dm-text-primary);
}

/* Value cards */
[data-theme="dark"] .value-card {
    background: var(--dm-bg-tertiary);
    border-color: var(--dm-border-primary);
}

[data-theme="dark"] .value-card:hover {
    border-color: var(--dm-border-accent);
}

[data-theme="dark"] .value-card__title {
    color: var(--dm-text-primary);
}

[data-theme="dark"] .value-card__description {
    color: var(--dm-text-secondary);
}

[data-theme="dark"] .value-card__icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--dm-accent-primary);
}

[data-theme="dark"] .value-card:hover .value-card__icon {
    background: var(--dm-bg-quaternary);
}

/* Statistics - gold accent on ultra-dark */
[data-theme="dark"] .stat-card__value {
    color: var(--dm-accent-primary);
}

[data-theme="dark"] .stat-card__label {
    color: var(--dm-text-secondary);
}

/* Team cards */
[data-theme="dark"] .team-card {
    background: var(--dm-bg-tertiary);
    border-color: var(--dm-border-primary);
}

[data-theme="dark"] .team-card__name {
    color: var(--dm-text-primary);
}

[data-theme="dark"] .team-card__role {
    color: var(--dm-accent-primary);
}

[data-theme="dark"] .team-card__bio {
    color: var(--dm-text-secondary);
}

[data-theme="dark"] .team-card__contact {
    color: var(--dm-text-primary);
}

[data-theme="dark"] .team-card--featured::before {
    background: linear-gradient(135deg, var(--dm-accent-primary), var(--dm-accent-light));
    color: var(--dm-bg-primary);
}

[data-theme="dark"] .team-card__photo-placeholder--founder {
    background: var(--dm-bg-tertiary);
    color: var(--dm-text-muted);
}

/* Timeline */
[data-theme="dark"] .timeline::before {
    background: linear-gradient(to bottom, var(--dm-accent-primary), var(--dm-border-primary));
}

[data-theme="dark"] .timeline-item__year {
    color: var(--dm-accent-primary);
}

[data-theme="dark"] .timeline-item__content {
    background: var(--dm-bg-tertiary);
    border-color: var(--dm-border-primary);
}

[data-theme="dark"] .timeline-item__title {
    color: var(--dm-text-primary);
}

[data-theme="dark"] .timeline-item__description {
    color: var(--dm-text-secondary);
}

[data-theme="dark"] .timeline-item__icon {
    background: var(--dm-bg-tertiary);
    border-color: var(--dm-bg-secondary);
    color: var(--dm-accent-primary);
}

/* CTA section - gold buttons on ultra-dark */
[data-theme="dark"] .cta-title {
    color: var(--dm-text-primary);
}

[data-theme="dark"] .cta-subtitle {
    color: var(--dm-text-secondary);
}

[data-theme="dark"] .cta-buttons .btn-primary {
    background: var(--dm-accent-primary);
    border-color: var(--dm-accent-primary);
    color: var(--dm-bg-primary);
}

[data-theme="dark"] .cta-buttons .btn-primary:hover {
    background: var(--dm-accent-light);
    border-color: var(--dm-accent-light);
}

[data-theme="dark"] .cta-buttons .btn-outline-light {
    border-color: var(--dm-border-primary);
    color: var(--dm-text-primary);
}

[data-theme="dark"] .cta-buttons .btn-outline-light:hover {
    background: var(--dm-bg-quaternary);
    border-color: var(--dm-border-accent);
    color: var(--dm-text-primary);
}

/* Story image decoration - subtle in dark */
[data-theme="dark"] .story-image-decoration {
    border-color: var(--dm-border-accent);
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    .about-hero,
    .about-cta-section {
        display: none;
    }

    .about-section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    .value-card,
    .mission-card,
    .team-card,
    .timeline-item__content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
