/* ============================================================================
  Mobile responsive key breakpoints.
   ============================================================================ */

   /* Tablet */
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        padding: 12px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none; /* Or make it a dropdown */
    }
}

/**
 * UpThread About Page Styles
 * Extends homepage.css design system
 */

/* ═══════════════════════════════════════════════════════════════════════════
   VARIABLES (matching homepage.css)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --linkedin-blue: #0A66C2;
    --linkedin-blue-dark: #004182;
    --linkedin-blue-light: #378FE9;
    --linkedin-white: #FFFFFF;
    --linkedin-gray-100: #F3F2EF;
    --linkedin-gray-200: #E9E5DF;
    --linkedin-gray-300: #00000099;
    --linkedin-gray-400: #00000066;
    --text-primary: #000000E6;
    --text-secondary: #00000099;
    --border-color: #00000014;
    --success: #057642;
    --error: #ef4444;
    --error-bg: #fff3f3;
    --error-text: #991b1b;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.about-hero {
    background: linear-gradient(135deg, var(--linkedin-blue) 0%, var(--linkedin-blue-dark) 100%);
    padding: 80px 24px;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out;
}

.about-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */

.about-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STORY SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.story-section {
    margin-bottom: 60px;
}

.story-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.story-section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.story-section strong {
    color: var(--linkedin-blue);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROBLEM/SOLUTION BOXES
   ═══════════════════════════════════════════════════════════════════════════ */

.problem-box {
    background: var(--error-bg);
    border-left: 4px solid var(--error);
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.problem-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--error-text);
    margin-bottom: 12px;
}

.problem-box p {
    font-size: 16px;
    color: #7f1d1d;
    margin: 0;
    line-height: 1.6;
}

.solution-box {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.05) 0%, rgba(10, 102, 194, 0.1) 100%);
    border-left: 4px solid var(--linkedin-blue);
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.solution-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--linkedin-blue);
    margin-bottom: 12px;
}

.solution-box p {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MISSION SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.mission-section {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin: 60px 0;
}

.mission-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.mission-section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   VALUES GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.cta-section {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, var(--linkedin-blue) 0%, var(--linkedin-blue-dark) 100%);
    border-radius: 12px;
    color: white;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--linkedin-blue);
    text-decoration: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .about-container {
        padding: 0 32px;
    }

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

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-container {
        margin: 40px auto;
        padding: 0 24px;
    }

    .story-section h2 {
        font-size: 28px;
    }

    .story-section p {
        font-size: 16px;
    }

    .mission-section {
        padding: 32px 24px;
    }

    .mission-section h2 {
        font-size: 28px;
    }

    .mission-section p {
        font-size: 16px;
    }

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

    .cta-section {
        padding: 40px 24px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .problem-box,
    .solution-box {
        padding: 20px;
        margin: 24px 0;
    }
}