/* =============================================
   About Page Styles (Redesign)
   ============================================= */

/* Variables Update for About Page */
:root {
    --color-about-bg: #11413c;
    /* Dark Green from hero */
    --color-gold: #f5b041;
    --color-tab-active: #e0f2f1;
    --color-border-subtle: #eee;
    --color-chart-manual: #cfd8dc;
    --color-chart-ai: #26a69a;
}

.about-main {
    padding: 0;
    background-color: #fcfcfc;
}

/* Sub Nav */
.sub-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 60px;
    /* Adjust based on main nav height */
    z-index: 99;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sub-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-nav-brand {
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

.sub-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.sub-nav-menu a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}

.sub-nav-menu a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.about-hero {
    background-color: var(--color-about-bg);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.eyebrow {
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-desc {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #aebdbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Common */
.section-heading {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
    border-left: 5px solid var(--color-gold);
    padding-left: 15px;
    line-height: 1.2;
}

.section-intro {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.6;
}

/* Goals Section */
.section-goals {
    padding: 60px 0;
    background-color: #fff;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.goal-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
}

.goal-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: #fbfbfb;
    border-radius: 50%;
}

.goal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    /* Dark blueish header */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.goal-card:nth-child(2) .goal-title {
    color: #c0392b;
}

/* Cultural - Redish */
.goal-card:nth-child(3) .goal-title {
    color: #2980b9;
}

/* Educational - Blueish */

.goal-list {
    list-style: none;
    padding: 0;
}

.goal-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    font-size: 0.95rem;
    color: #666;
}

.goal-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #ccc;
}

/* Pipeline Section */
.section-pipeline {
    padding: 60px 0;
    background-color: #f8fcfb;
    /* Very light mint */
}

.pipeline-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pipeline-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pipeline-tab {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.pipeline-tab:hover {
    background-color: #f5f5f5;
}

.pipeline-tab.active {
    background-color: #e0f2f1;
    /* Light teal */
    border-color: #b2dfdb;
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.2;
}

.tab-text small {
    font-weight: 400;
    color: #888;
    font-size: 0.75rem;
}

.pipeline-content {
    border-left: 1px solid #eee;
    padding-left: 40px;
}

.step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-icon-large {
    font-size: 2rem;
    background: #e0f2f1;
    padding: 10px;
    border-radius: 50%;
}

.step-title {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin: 0;
}

.step-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
}

.step-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.tool-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tool-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #eee;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

/* Impact Section */
.section-impact {
    padding: 60px 0;
}

.box-white {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    border-left: 4px solid #c0392b;
    /* Example accent */
    padding-left: 10px;
}

.chart-subtitle {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 40px;
    padding-left: 14px;
}


/* Chart Animation Effects */
@keyframes barFlash {
    0% {
        filter: brightness(1);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    50% {
        filter: brightness(1.2);
        box-shadow: 0 0 20px rgba(245, 176, 65, 0.5);
    }

    100% {
        filter: brightness(1);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes radarPulse {
    0% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(38, 166, 154, 0));
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(38, 166, 154, 0.5));
    }

    100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(38, 166, 154, 0));
    }
}

.radar-chart-container {
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 50%;
    /* Optional */
}

.radar-chart-container:hover {
    transform: scale(1.05);
    animation: radarPulse 2s infinite;
}

.simple-bar-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.chart-label-top {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.chart-body {
    display: flex;
    width: 100%;
    max-width: 600px;
    height: 300px;
    /* Fixed height for chart area */
}

.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 15px;
    color: #777;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    height: 100%;
    padding-bottom: 20px;
    /* Offset for x-axis labels space if needed, or align exact */
}

.y-axis span {
    transform: translateY(50%);
    /* Center label on grid line */
}

.y-axis span:first-child {
    transform: translateY(0);
}

/* Top label */
.y-axis span:last-child {
    transform: translateY(100%);
}

/* Bottom label */


.bars-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex: 1;
    height: 100%;
    border-left: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
    padding: 0 40px;
}

.grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #f0f0f0;
    z-index: 0;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 120px;
    height: 100%;
    /* Fill chart height */
    position: relative;
    /* For absolute labels */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bar-group:hover {
    transform: translateY(-5px) scale(1.02);
}

.bar-group:hover .bar {
    animation: barFlash 1.5s infinite;
}

.bar {
    width: 100%;
    background-color: var(--color-chart-manual);
    display: flex;
    justify-content: center;
    /* Center value */
    position: relative;
    border-radius: 4px 4px 0 0;
}

.bar-group.ai .bar {
    background-color: var(--color-chart-ai);
}

.bar-value {
    position: absolute;
    top: -25px;
    font-weight: bold;
    color: #555;
    text-align: center;
    width: 60px;
    /* Prevent wrapping */
}

.bar-name {
    position: absolute;
    bottom: -50px;
    /* Move below axis */
    width: 160px;
    /* Prevent wrap */
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.2;
}

.conclusion-box {
    background-color: #e8f5e9;
    /* Light green */
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}

.conclusion-box.blue-theme {
    background-color: #e3f2fd;
    color: #1565c0;
}

.mt-8 {
    margin-top: 2rem;
}

/* O2O Ecosystem Section */
.section-o2o {
    background-color: #1a514b;
    /* Dark Green */
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.section-heading-o2o {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.section-intro-o2o {
    color: #e0f2f1;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.o2o-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Connector Line */
.connector-line {
    position: absolute;
    top: 90px;
    /* Align with icons (~40px padding + 25px margin + icon half) */
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
    /* transform removed to use fixed top */
}

.o2o-card {
    background: #1a514b;
    /* Solid dark green matches section bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    width: 300px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.o2o-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.o2o-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.o2o-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f5b041;
    /* Gold */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.o2o-desc {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .pipeline-container {
        grid-template-columns: 1fr;
    }

    .pipeline-content {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }

    .pipeline-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .pipeline-tab {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .sub-nav {
        display: none;
        /* Hide sub nav on mobile for simplicity or convert to dropdown */
    }
}