/* =========================================
   About Page Custom Styles
   Theme: Dark Glassmorphism & Premium Tech
   ================================********* */

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

/* Base Overrides */
body {
    background: #0f172a;
    /* Fallback */
    background: var(--gradient-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   Header Override (Match Services Page)
   ================================********* */
.modern-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
}

.main-nav a {
    color: var(--text-primary) !important;
}

.main-nav a:hover {
    color: var(--accent-blue) !important;
}

.mobile-menu-btn {
    color: #fff !important;
}

/* =========================================
   1. Hero Section
   ================================********* */
.about-hero {
    position: relative;
    padding: 180px 20px 100px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 60%);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* =========================================
   2. Mission Section
   ================================********* */
.mission-section {
    padding: 100px 20px;
    background: relative;
}

.mission-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.mission-highlight {
    color: var(--accent-purple);
    position: relative;
    display: inline-block;
}

.mission-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 246, 0.3);
    z-index: -1;
    transform: rotate(-1deg);
}

/* =========================================
   3. Problem & Solution Grid
   ================================********* */
.problem-solution-section {
    padding: 80px 20px;
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.ps-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ps-card.problem:hover {
    border-color: rgba(239, 68, 68, 0.3);
    /* Red accent for problem */
    transform: translateY(-5px);
}

.ps-card.solution:hover {
    border-color: rgba(16, 185, 129, 0.3);
    /* Green accent for solution */
    transform: translateY(-5px);
}

.ps-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.ps-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.problem .ps-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.solution .ps-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.ps-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.ps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1.1rem;
}

.ps-list li i {
    margin-top: 4px;
}

.problem li i {
    color: #ef4444;
}

.solution li i {
    color: #10b981;
}

/* =========================================
   4. Our Story (Timeline)
   ================================********* */
.story-section {
    padding: 100px 20px;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    /* Mobile alignment */
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    margin-left: 50px;
    /* Mobile spacing */
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
    }

    .timeline-item:nth-child(odd) {
        margin-left: auto;
        padding-left: 40px;
    }

    .timeline-item:nth-child(even) {
        margin-right: auto;
        padding-right: 40px;
        text-align: right;
    }

    .timeline-content {
        margin-left: 0;
    }
}

.timeline-dot {
    position: absolute;
    left: 11px;
    /* Mobile align */
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-blue);
    z-index: 2;
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-dot {
        left: -10px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        right: -10px;
        left: auto;
    }
}

.timeline-year {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: block;
}

/* =========================================
   5. Metrics Grid
   ================================********* */
.metrics-section {
    padding: 80px 20px;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   6. Partners
   ================================********* */
.partners-section {
    padding: 100px 20px;
    text-align: center;
}

.partner-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
    align-items: center;
}

.partner-logo {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    font-size: 2.5rem;
    color: white;
    /* For icon placeholders */
}

.partner-logo:hover {
    opacity: 1;
}

/* =========================================
   7. Final CTA
   ================================********* */
.cta-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-primary);
    color: var(--accent-blue);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .mission-text {
        font-size: 1.8rem;
    }

    .ps-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        text-align: left !important;
    }
}