/* About Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-card,
.vision-card,
.values-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.mission-card h3,
.vision-card h3,
.values-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-card p,
.vision-card p,
.values-card p {
    color: #666;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff6b35;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-end;
    width: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 30px;
}

.timeline-item:nth-child(odd) {
    padding-right: 30px;
}

.timeline-item.current .timeline-year {
    background: #ff6b35;
    color: white;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.timeline-year {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.timeline-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.timeline-marker {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #ff6b35;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-position {
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Awards Section */
.awards-section {
    padding: 80px 0;
    background: white;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.award-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.award-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.award-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.award-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        justify-content: flex-start !important;
        padding-left: 80px !important;
        padding-right: 0 !important;
    }

    .timeline-marker {
        left: 20px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
        margin-top: 80px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .mission-vision-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .timeline-item {
        padding-left: 60px !important;
    }

    .timeline-marker {
        left: 15px !important;
    }
}

@media (max-width: 480px) {
    .story-section,
    .mission-vision-section,
    .timeline-section,
    .team-section,
    .stats-section,
    .awards-section {
        padding: 60px 0;
    }

    .story-text h2 {
        font-size: 1.8rem;
    }

    .mission-card,
    .vision-card,
    .values-card {
        padding: 30px 20px;
    }

    .timeline-content {
        padding: 20px;
    }

    .member-image {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    animation: countUp 0.8s ease-out forwards;
    opacity: 0;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.stat-item:nth-child(4) { animation-delay: 0.8s; }

/* Timeline Animation */
.timeline-item {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1.0s; }

/* Team Animation */
.team-member {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
