/* About Page - Pure CSS without frameworks */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Carousel Styles */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out both;
}


/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: white;
    padding: 80px 0;
    min-height: 450px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 20px;
    transition: background 0.3s;
}

.stat-card:hover {
    background: rgba(0,0,0,0.5);
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
}

.stat-trend {
    font-size: 11px;
    color: #86efac;
    font-weight: 600;
    margin-top: 5px;
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background: #f9fafb;
}

.story-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1f2937;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p {
    margin-bottom: 20px;
    color: #4b5563;
    line-height: 1.8;
    font-size: 16px;
}

/* Values Section */
.values-section {
    padding: 20px 0;
    background: white;
}

.values-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #1f2937;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 20px;
}

.value-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1f2937;
}

.value-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 14px;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: #f9fafb;
}

.timeline-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #1f2937;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 60px);
    background: #e5e7eb;
    top: 30px;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 60px;
    align-items: center;
}

.timeline-item.left {
    justify-content: flex-end;
    padding-right: 50%;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-left: 50%;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

.timeline-item.left .timeline-content {
    margin-right: 40px;
}

.timeline-item.right .timeline-content {
    margin-left: 40px;
}

.timeline-year {
    color: #f97316;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f2937;
}

.timeline-content p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #f97316;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #fed7aa;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1f2937;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.team-member.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: all 0.3s;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #f97316;
    overflow: hidden;
}

.team-member:hover .member-avatar {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.team-member h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1f2937;
}

.member-role {
    color: #f97316;
    font-size: 14px;
    margin-bottom: 10px;
}

.member-bio {
    background: #f3f4f6;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 12px;
    color: #6b7280;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: #f9fafb;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Facility Section */
.facility-section {
    padding: 80px 0;
    background: white;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.facility-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.facility-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1f2937;
}

.facility-content h3 {
    font-size: 20px;
    color: #f97316;
    margin-bottom: 20px;
}

.facility-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 30px;
}

.facility-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: #10b981;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f97316;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: #f9fafb;
}

.partners-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1f2937;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-card {
    background: #e5e7eb;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.partner-card:hover {
    background: #d1d5db;
}

.partner-card p {
    color: #374151;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-white {
    background: white;
    color: #1f2937;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-white:hover {
    background: #fbbf24;
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #1f2937;
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        padding: 0 !important;
    }
    
    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin: 0 !important;
        width: 100%;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .values-grid,
    .team-grid,
    .features-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 200px;
    }
}