/* ========================================
   ABOUT PAGE - CREATIVE TIMELINE STYLES
   ======================================== */

/* Timeline Container */
.history-timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem 0;
}

/* Timeline Line */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4ecdc4 0%, #45b7aa 100%);
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-year {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-year:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-year:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-year:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-year:nth-child(4) {
    animation-delay: 0.8s;
}

/* Alternate Layout */
.timeline-year:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-year:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-left: 3rem;
    padding-right: 0;
    text-align: left;
}

/* Timeline Content */
.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Year Badge */
.year-badge {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
    z-index: 10;
    font-family: 'Playfair Display', serif;
}

.timeline-year:nth-child(odd) .year-badge {
    right: -40px;
}

.timeline-year:nth-child(even) .year-badge {
    left: -40px;
}

/* Theme Title */
.theme-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
}

.theme-subtitle {
    font-size: 1.1rem;
    color: #4ecdc4;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Timeline Description */
.timeline-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Highlights List */
.timeline-highlights {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.timeline-highlights h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-highlights ul {
    list-style: none;
    padding: 0;
}

.timeline-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.timeline-highlights li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-size: 0.9rem;
}

/* Icon Decoration */
.timeline-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.timeline-year:nth-child(odd) .timeline-icon {
    margin-left: auto;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: #4ecdc4;
}

/* Stats Box */
.timeline-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.timeline-year:nth-child(odd) .timeline-stats {
    justify-content: flex-end;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4ecdc4;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mission Section Enhancement */
.mission-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mission-icon-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-icon-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mission-icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.mission-icon-item i {
    font-size: 3rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.mission-icon-item h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.mission-icon-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .history-timeline::before {
        left: 30px;
    }

    .timeline-year:nth-child(odd) .timeline-content,
    .timeline-year:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: left;
    }

    .timeline-year:nth-child(odd) .year-badge,
    .timeline-year:nth-child(even) .year-badge {
        left: 0;
        right: auto;
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }

    .timeline-year:nth-child(odd) .timeline-icon {
        margin-left: 0;
    }

    .timeline-year:nth-child(odd) .timeline-stats {
        justify-content: flex-start;
    }

    .timeline-stats {
        flex-wrap: wrap;
    }

    .theme-title {
        font-size: 1.2rem;
    }

    .theme-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .timeline-content {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .mission-icon-box {
        grid-template-columns: 1fr;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}