/* About Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 2rem;
    position: relative;
}

.mission-text h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.mission-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Vision Section */
.vision-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    text-align: center;
}

.vision-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.vision-content h2::after {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.vision-text {
    max-width: 800px;
    margin: 0 auto;
}

.vision-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Goals Section */
.goals-section {
    padding: 5rem 0;
    background: white;
}

.goals-list {
    max-width: 900px;
    margin: 0 auto;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.goal-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.goal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.goal-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2c5530, #4a7c59);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
}

.goal-content h3 {
    font-size: 1.4rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.goal-content p {
    color: #666;
    line-height: 1.6;
}

/* Programs Section */
.programs-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.program-card p {
    color: #666;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: white;
}

.values-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.values-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.4rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2c5530, #4a7c59);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    width: 120px;
    padding: 1rem;
    background: linear-gradient(45deg, #2c5530, #4a7c59);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    position: relative;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Timeline connector dots */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #ff6b35;
    border: 4px solid white;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 4px #ff6b35;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .mission-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mission-text p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .vision-content h2 {
        font-size: 2rem;
    }
    
    .vision-text p {
        font-size: 1.1rem;
    }
    
    .goal-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .goal-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-item::after {
        left: 30px;
    }
    
    .timeline-date {
        position: absolute;
        left: -60px;
        width: 80px;
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem;
    }
    
    .timeline-content {
        margin: 0;
        margin-left: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .mission-grid {
        gap: 3rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation Classes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-up {
    animation: slideInUp 0.8s ease-out;
}

.animate-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-right {
    animation: slideInRight 0.8s ease-out;
}