/* About Page - Modern Design */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}

.section-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.section-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
}

/* Our Story Section */
.our-story {
    padding: 100px 0;
    background: #fff;
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.story-text h3 {
    font-size: 2rem;
    margin: 50px 0 30px;
    color: #1a1a1a;
    font-weight: 700;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Timeline */
.timeline {
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.timeline li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.timeline li.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.tl-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.timeline svg.tl-icon {
    padding: 8px;
    fill: #fff;
}

.year {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline p {
    margin: 10px 0 0 0;
    color: #666;
    line-height: 1.7;
}

/* Story Illustration */
.story-image {
    position: sticky;
    top: 100px;
}

.story-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
    animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Values Section */
.values {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.values h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 800;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.value-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

.value-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.achievements h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 800;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.achievement {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.achievement.animate-in {
    opacity: 1;
    transform: scale(1);
}

.achievement .number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.achievement p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.center-text {
    text-align: center;
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.community-section .container {
    position: relative;
    z-index: 2;
}

.community-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.community-section .section-lead {
    text-align: center;
    margin-bottom: 60px;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature {
    background: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-10px);
}

.feature i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature p {
    line-height: 1.7;
    opacity: 0.9;
}

/* Join Us Section */
.join-us {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.join-us h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 800;
}

.join-us .section-lead {
    margin-bottom: 40px;
    color: #666;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.btn:not(.btn-accent) {
    background: #fff;
    color: #667eea;
    border-color: #667eea;
}

.btn:not(.btn-accent):hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-image {
        position: relative;
        top: 0;
    }
    
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .values h2,
    .achievements h2,
    .community-section h2,
    .join-us h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 60px;
    }
    
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-lead {
        font-size: 1.1rem;
    }
    
    .our-story,
    .values,
    .achievements,
    .community-section,
    .join-us {
        padding: 60px 0;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .story-text h3 {
        font-size: 1.6rem;
    }
    
    .timeline li {
        padding-left: 60px;
    }
    
    .tl-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .values-grid,
    .community-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .achievement .number {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-lead {
        font-size: 1rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline li {
        padding-left: 50px;
    }
    
    .tl-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .our-story,
[data-theme="dark"] .achievements,
[data-theme="dark"] .join-us {
    background: #1a1a1a;
}

[data-theme="dark"] .values {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

[data-theme="dark"] .value-card {
    background: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

[data-theme="dark"] .story-text h2,
[data-theme="dark"] .story-text h3,
[data-theme="dark"] .values h2,
[data-theme="dark"] .achievements h2,
[data-theme="dark"] .join-us h2,
[data-theme="dark"] .value-card h3 {
    color: #fff;
}

[data-theme="dark"] .story-text p,
[data-theme="dark"] .timeline p,
[data-theme="dark"] .value-card p,
[data-theme="dark"] .achievement p,
[data-theme="dark"] .join-us .section-lead {
    color: #ccc;
}

[data-theme="dark"] .story-illustration rect {
    fill: #2a2a2a;
    stroke: #444;
}

[data-theme="dark"] .story-illustration line,
[data-theme="dark"] .story-illustration polyline {
    stroke: #667eea;
}
