/* About Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.9)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--accent-red);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-year {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 45%;
    border-top: 4px solid var(--primary-blue);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 5%;
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Beliefs Section */
.beliefs {
    background-color: var(--light-gray);
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.belief-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-red);
}

.belief-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.belief-card ul {
    list-style: none;
    padding-left: 0;
}

.belief-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 25px;
}

.belief-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

/* RCEA Today Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-blue);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--primary-blue);
    font-weight: 500;
}

.today-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.today-text h3 {
    color: var(--primary-blue);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.today-text h3:first-child {
    margin-top: 0;
}

.today-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-year {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .today-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .beliefs-grid {
        grid-template-columns: 1fr;
    }
}