/* About Page Styles with OKFN Color Palette */
:root {
    --color-cyan: #00D1FF;
    --color-mint: #ADFFED;
    --color-lime: #E4FF36;
    --color-purple: #E077FF;
    --color-dark: #1a1a1a;
    --color-gray: #666;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 140px 20px 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--color-cyan);
    top: -100px;
    right: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--color-purple);
    bottom: -50px;
    left: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--color-lime);
    top: 50%;
    right: 15%;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    font-weight: 300;
}

/* Mission Section */
.mission-section {
    padding: 100px 20px;
    background: white;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto;
}

.vision-box {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(0, 209, 255, 0.05), rgba(224, 119, 255, 0.05));
    padding: 50px;
    border-radius: 20px;
    border-left: 5px solid var(--color-cyan);
}

.vision-icon {
    flex-shrink: 0;
}

.vision-icon img {
    width: 120px;
    height: 120px;
}

.vision-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-gray);
}

/* Values Timeline Section */
.values-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.values-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline Line */
.values-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg,
        var(--color-cyan)   0%,
        var(--color-mint)   25%,
        var(--color-lime)   50%,
        var(--color-purple) 75%,
        #a110ce             100%
    );
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

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

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ── Marker Icons ── */
.marker-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

.marker-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.marker-icon img {
    width: 100%;
    height: 100%;
}

/* Per-color border + background */
.timeline-item[data-color="#00D1FF"] .marker-icon {
    border-color: var(--color-cyan);
    background: rgba(0, 209, 255, 0.08);
}
.timeline-item[data-color="#ADFFED"] .marker-icon {
    border-color: var(--color-mint);
    background: rgba(173, 255, 237, 0.2);
}
.timeline-item[data-color="#E4FF36"] .marker-icon {
    border-color: var(--color-lime);
    background: rgba(228, 255, 54, 0.15);
}
.timeline-item[data-color="#E077FF"] .marker-icon {
    border-color: var(--color-purple);
    background: rgba(224, 119, 255, 0.08);
}
.timeline-item[data-color="#a110ce"] .marker-icon {
    border-color: #a110ce;
    background: rgba(161, 16, 206, 0.08);
}

/* Per-color hover glow */
.timeline-item[data-color="#00D1FF"]:hover .marker-icon {
    box-shadow: 0 12px 30px rgba(0, 209, 255, 0.4);
}
.timeline-item[data-color="#ADFFED"]:hover .marker-icon {
    box-shadow: 0 12px 30px rgba(173, 255, 237, 0.5);
}
.timeline-item[data-color="#E4FF36"]:hover .marker-icon {
    box-shadow: 0 12px 30px rgba(228, 255, 54, 0.4);
}
.timeline-item[data-color="#E077FF"]:hover .marker-icon {
    box-shadow: 0 12px 30px rgba(224, 119, 255, 0.4);
}
.timeline-item[data-color="#a110ce"]:hover .marker-icon {
    box-shadow: 0 12px 30px rgba(161, 16, 206, 0.4);
}

/* ── Timeline Content Cards ── */
.timeline-content {
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

/* Per-color top border */
.timeline-item[data-color="#00D1FF"] .timeline-content { border-top-color: var(--color-cyan); }
.timeline-item[data-color="#ADFFED"] .timeline-content { border-top-color: var(--color-mint); }
.timeline-item[data-color="#E4FF36"] .timeline-content { border-top-color: var(--color-lime); }
.timeline-item[data-color="#E077FF"] .timeline-content { border-top-color: var(--color-purple); }
.timeline-item[data-color="#a110ce"] .timeline-content { border-top-color: #a110ce; }

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Per-color heading */
.timeline-item[data-color="#00D1FF"] .timeline-content h3 { color: var(--color-cyan); }
.timeline-item[data-color="#ADFFED"] .timeline-content h3 { color: #00B8A9; }
.timeline-item[data-color="#E4FF36"] .timeline-content h3 { color: #9aab00; }
.timeline-item[data-color="#E077FF"] .timeline-content h3 { color: var(--color-purple); }
.timeline-item[data-color="#a110ce"] .timeline-content h3 { color: #a110ce; }

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-gray);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .values-timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }

    .timeline-marker {
        left: 30px;
        transform: none;
    }

    .marker-icon {
        width: 60px;
        height: 60px;
        padding: 12px;
    }

    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }
}

/* What We Do Section - Horizontal Cards */
.what-we-do {
    padding: 100px 20px;
    background: white;
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.work-card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid;
    position: relative;
    overflow: hidden;
}

.work-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    transition: width 0.3s ease;
}

.work-card-horizontal[data-color="#00D1FF"] {
    border-left-color: var(--color-cyan);
}

.work-card-horizontal[data-color="#00D1FF"]::before {
    background: var(--color-cyan);
}

.work-card-horizontal[data-color="#ADFFED"] {
    border-left-color: var(--color-mint);
}

.work-card-horizontal[data-color="#ADFFED"]::before {
    background: var(--color-mint);
}

.work-card-horizontal[data-color="#E4FF36"] {
    border-left-color: var(--color-lime);
}

.work-card-horizontal[data-color="#E4FF36"]::before {
    background: var(--color-lime);
}

.work-card-horizontal[data-color="#E077FF"] {
    border-left-color: var(--color-purple);
}

.work-card-horizontal[data-color="#E077FF"]::before {
    background: var(--color-purple);
}

.work-card-horizontal:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.work-card-horizontal:hover::before {
    width: 10px;
}

.work-icon-horizontal {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.work-card-horizontal[data-color="#00D1FF"] .work-icon-horizontal {
    background: rgba(0, 209, 255, 0.1);
}

.work-card-horizontal[data-color="#ADFFED"] .work-icon-horizontal {
    background: rgba(173, 255, 237, 0.3);
}

.work-card-horizontal[data-color="#E4FF36"] .work-icon-horizontal {
    background: rgba(228, 255, 54, 0.2);
}

.work-card-horizontal[data-color="#E077FF"] .work-icon-horizontal {
    background: rgba(224, 119, 255, 0.1);
}

.work-card-horizontal:hover .work-icon-horizontal {
    transform: scale(1.1) rotate(-5deg);
}

.work-icon-horizontal img {
    width: 100%;
    height: 100%;
}

.work-content-horizontal {
    flex: 1;
}

.work-content-horizontal h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.work-card-horizontal[data-color="#00D1FF"] .work-content-horizontal h3 {
    color: var(--color-cyan);
}

.work-card-horizontal[data-color="#ADFFED"] .work-content-horizontal h3 {
    color: #00B8A9;
}

.work-card-horizontal[data-color="#E4FF36"] .work-content-horizontal h3 {
    color: #B8B800;
}

.work-card-horizontal[data-color="#E077FF"] .work-content-horizontal h3 {
    color: var(--color-purple);
}

.work-content-horizontal p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .work-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .work-card-horizontal:hover {
        transform: translateY(-5px);
    }

    .work-icon-horizontal {
        margin: 0 auto;
        width: 80px;
        height: 80px;
    }

    .work-content-horizontal h3 {
        font-size: 1.5rem;
    }

    .work-content-horizontal p {
        font-size: 1rem;
        text-align: left;
    }
}

/* Join Section */
.join-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #2d2d2d 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.join-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
}

.join-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.join-section h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
}

.join-text {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    position: relative;
}

.join-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-primary, .btn-secondary {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--color-cyan);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-lime);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 209, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid var(--color-purple);
}

.btn-secondary:hover {
    background: var(--color-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(224, 119, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .vision-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    /* Mobile Timeline */
    .values-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .marker-icon {
        width: 60px;
        height: 60px;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .join-section h2 {
        font-size: 2rem;
    }
}

/* Approach Section */
.approach-section {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(0, 209, 255, 0.05), rgba(224, 119, 255, 0.05));
    border-radius: 20px;
    border-left: 5px solid var(--color-purple);
    position: relative;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L90 90 L10 90 Z' fill='none' stroke='%23E077FF' stroke-width='2' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.approach-content {
    position: relative;
    z-index: 1;
}

.approach-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--color-dark);
    text-align: justify;
}

.mission-intro {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--color-gray);
    max-width: 900px;
    margin: 20px auto 60px;
    text-align: center;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .approach-section {
        padding: 30px 25px;
    }
    
    .approach-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .mission-intro {
        font-size: 1.1rem;
    }
}