/* Page-specific styles for about.html */

/* Content sections */
.content-paragraphs {
    max-width: 900px;
    margin: 4rem auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.content-paragraphs h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid #667eea;
    padding-bottom: 1rem;
}

.paragraph-section {
    margin-bottom: 2.5rem;
}

.paragraph-section:last-child {
    margin-bottom: 0;
}

.paragraph-section h3 {
    font-size: 1.4rem;
    color: #667eea;
    margin-bottom: 1rem;
    font-weight: 600;
}

.paragraph-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* colorTXT logo styling */
.colortxt-logo {
    font-weight: bold;
    font-family: inherit;
}
.colortxt-logo .gray { color: #888; }
.colortxt-logo .t1 { color: #ff4757; }
.colortxt-logo .x  { color: #2ed573; }
.colortxt-logo .t2 { color: #3742fa; }

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

.team-member {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.team-member h4 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-member .role {
    color: #888;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.team-member p {
    color: #555;
    line-height: 1.6;
}

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

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: calc(50% + 2rem);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background: #667eea;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
    right: calc(50% - 7px);
}

.timeline-item:nth-child(even)::before {
    left: calc(50% - 7px);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 3rem !important;
        padding-right: 1rem !important;
        text-align: left !important;
    }

    .timeline-item::before {
        left: 13px !important;
    }

    .content-paragraphs {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .paragraph-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}