/* --- STYLES FOR ABOUT PAGE --- */

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 28px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(odd)::after {
    right: -10px;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content h3 {
    color: var(--heading-color);
}

/* Stats Section */
.stats-section {
    background: var(--surface-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stat-item p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* General Image Styling */
.full-width-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 2rem;
}
video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 10px;
}
.contact-info h3, .contact-form h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.contact-info ul {
    list-style: none;
    margin-top: 2rem;
}
.contact-info ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.contact-info ul i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
}
.contact-social {
    margin-top: 2rem;
}
.contact-social a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}
.contact-social a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.form-group-checkbox input {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
}
.form-group-checkbox label a {
    color: var(--primary-color);
    text-decoration: none;
}
.form-group-checkbox label a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for new sections */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }
    .timeline-item::after {
        left: 10px !important;
    }
}