/* About Page Specific Styles */

/* About Hero */
.about-hero {
    padding: 10rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about-bg.jpg') center/cover;
    color: white;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero .subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Mission & Vision */
.mission-vision {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.mission-vision .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mission, .vision {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.mission:before, .vision:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.mission:before {
    background-color: var(--primary-color);
}

.vision:before {
    background-color: var(--secondary-color);
}

.mission h2, .vision h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.mission h2:after, .vision h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
}

.mission h2:after {
    background-color: var(--primary-color);
}

.vision h2:after {
    background-color: var(--secondary-color);
}

.mission p, .vision p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* History Timeline */
.history {
    padding: 5rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 2rem 0;
}



.timeline-item {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item .date {
    min-width: 100px;
    max-width: 100px;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) .date {
    margin-right: 0;
    margin-left: 3rem;
    order: 2;
}

.timeline-item .date:after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .date:after {
    left: -30px;
    right: auto;
}

.timeline-item .content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 450px;
}

.timeline-item .content h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Founder */
.founder {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.founder-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.founder-image {
    overflow: hidden;
    height: 100%;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-info {
    padding: 2.5rem 2rem;
}

.founder-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.founder-info .title {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.founder-info .bio {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.founder-social {
    display: flex;
    gap: 1rem;
}

.founder-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-background);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.founder-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Why Join */
.why-join {
    padding: 5rem 0;
}

.reason-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
}

.reason-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.reason-card .icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.reason-card h3 {
    margin-bottom: 1rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .mission-vision .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-card {
        grid-template-columns: 1fr;
    }

    .founder-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .timeline:before {
        left: 30px;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
    }

    .timeline-item .date, .timeline-item:nth-child(even) .date {
        margin-right: 1rem;
        margin-left: 0;
        order: 1;
        /* position: absolute; */
        left: 0;
        top: 0;
    }

    .timeline-item .date:after, .timeline-item:nth-child(even) .date:after {
        right: 0px;
    }

    .timeline-item .content {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .mission p, .vision p {
        font-size: 1rem;
    }
}
