/* About Page Specific Styles */

/* Hero Section - Teal Gradient */
.hero-section {
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
    border-radius: 14px;
    margin-left: 20px;
    margin-right: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Lists inside story text */
.story-text ul, .story-text ol { padding-left: 1.25rem; margin-left: 0; list-style-position: outside; }
.story-text li { margin: .25rem 0; }

/* Main Content */
.main-content {
    background: white;
    padding: 4rem 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 2rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Timeline Cards */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.timeline-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #14b8a6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.timeline-year {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-card h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-card p {
    color: #4b5563;
    line-height: 1.7;
}

/* Why I Do This Work Section - Blue to Purple Gradient */
.why-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.why-container {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 14px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 4rem 2rem;
    color: white;
}

.why-section h2 {
    color: white;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.why-intro {
    text-align: center;
    font-size: 1.2rem;
    color: white;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    opacity: 0.95;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: white;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 1rem;
}

/* Mission Section */
.mission-section {
    background: white;
    padding: 4rem 0;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mission-text {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-highlight {
    font-size: 1.3rem;
    color: #14b8a6;
    font-weight: 600;
    margin: 2rem 0;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Mobile Container */
    .container { padding: 0 16px; }
    .content-section, .mission-content { padding-left: 12px; padding-right: 12px; }
    .story-text { padding-left: 12px; padding-right: 12px; }
    .story-text ul, .story-text ol { padding-left: 1.5rem !important; margin-left: 0 !important; list-style-position: outside; }

    /* Mobile Hero - BULLETPROOF TEXT HANDLING */
    .hero-section {
        padding: 3rem 0 2.5rem;
        margin-top: 80px;
        border-radius: 12px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 10px;
    }

    /* Mobile Content */
    .main-content,
    .why-section,
    .mission-section,
    .final-cta {
        padding: 3rem 0;
    }

    .content-section h2 {
        font-size: 2rem;
        padding: 0 10px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .story-text {
        font-size: 1rem;
        padding: 0 10px;
    }

    .mission-content h2 {
        font-size: 2rem;
        padding: 0 10px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .final-cta h2 {
        font-size: 2rem;
        padding: 0 10px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .why-section h2 {
        font-size: 2.2rem;
        padding: 0 10px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Mobile Timeline */
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline-card {
        padding: 1.5rem;
    }

    /* Mobile Why Section */
    .why-container {
        border-radius: 12px;
        margin-left: 15px;
        margin-right: 15px;
        padding: 3rem 1.5rem;
    }

    /* Mobile Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    /* Mobile Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-section {
        padding: 2.5rem 0 2rem;
        border-radius: 10px;
        margin-left: 12px;
        margin-right: 12px;
    }

    .hero-section h1 {
        font-size: 1.9rem;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: anywhere;
        padding: 0 8px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 8px;
    }

    .content-section h2,
    .mission-content h2,
    .final-cta h2 {
        font-size: 1.7rem;
        padding: 0 8px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .why-section h2 {
        font-size: 1.9rem;
        padding: 0 8px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .why-container {
        border-radius: 10px;
        margin-left: 12px;
        margin-right: 12px;
        padding: 2.5rem 1rem;
    }

    .story-text {
        padding: 0 8px;
        font-size: 0.95rem;
    }

    .timeline-card {
        padding: 1.25rem;
    }
}

/* Very Small Screens */
@media (max-width: 320px) {
    .hero-section h1 {
        font-size: 1.7rem;
        line-height: 1.5;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .content-section h2,
    .mission-content h2,
    .final-cta h2 {
        font-size: 1.5rem;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .why-section h2 {
        font-size: 1.7rem;
        word-break: break-all;
        overflow-wrap: anywhere;
    }
}
