/* About Page Specific Styles */

:root {
    --primary-green: #5dcb85;
    --light-green: #e6f7ee;
    --medium-green: #98e2bd;
    --dark-green: #3ca366;
    --accent-green: #75d79e;
    --fade-green: rgba(93, 203, 133, 0.1);
    --lightest-green: #f3fbf1;
}

/* Section Spacing */
.page-section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--medium-green);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Vision & Mission Section */
#vision-mission {
    padding: 4rem 0;
    background-color: var(--lightest-green);
}

.vision-mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-card, .mission-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.vision-card h3, .mission-card h3 {
    background-color: var(--primary-green);
    color: white !important;
    padding: 1.2rem;
    margin: 0;
    text-align: center;
}

.card-content {
    padding: 1.5rem 2rem;
}

.card-content p {
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.card-content p:last-child {
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .vision-mission-container {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .vision-mission-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .vision-card, .mission-card {
        margin-bottom: 1rem;
    }
}

/* Timeline Section */
.timeline-section {
    background-color: var(--lightest-green);
    padding: 4rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background-color: var(--medium-green);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--dark-green);
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--lightest-green);
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    margin-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--light-green);
    color: var(--dark-green);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

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

/* Media Queries for Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        border-right: 10px solid white;
        border-left: 0;
    }
}

/* Core Values Section */
#values {
    padding: 4rem 0;
}

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

.value-card {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-green);
    height: 60px;
    width: 60px;
    border-radius: 50%;
}

.value-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.value-card p {
    color: #555;
    line-height: 1.5;
}

/* Media Queries for Values */
@media (max-width: 992px) {
    .value-card {
        padding: 1.8rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments for All Sections */
@media (max-width: 576px) {
    .page-section {
        padding: 2.5rem 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .card-content p {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .value-icon {
        height: 50px;
        width: 50px;
        font-size: 1.5rem;
    }
}

/* Impact Created Section */
#impact {
    background-color: var(--lightest-green);
    padding: 4rem 0;
}
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.impact-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.impact-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}
.impact-card h3 {
    margin-bottom: 0.7rem;
    color: var(--dark-green);
    font-size: 1.3rem;
    font-weight: 600;
}
.impact-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .impact-card {
        padding: 1.5rem 1rem;
    }
} 