/* src/main/resources/static/css/pages/about.css */

/* ===== ABOUT PAGE - SAME THEME AS LANDING ===== */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: float 20s infinite ease-in-out;
}

.about-hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #764ba215, #667eea15);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, 30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    font-size: 18px;
    color: #5b6778;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    padding: 60px 24px;
    background: white;
    text-align: center;
}

.mission-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.mission-section p {
    font-size: 16px;
    color: #5b6778;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.1);
    border-color: #2563eb;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #5b6778;
    font-weight: 500;
}

/* Team Section */
.team-section {
    padding: 60px 24px;
    background: #f8fafc;
    text-align: center;
}

.team-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.team-section > p {
    font-size: 16px;
    color: #5b6778;
    max-width: 600px;
    margin: 0 auto 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37,99,235,0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 12px;
    color: #5b6778;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 60px 24px;
    background: white;
    text-align: center;
}

.values-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.values-section > p {
    font-size: 16px;
    color: #5b6778;
    max-width: 600px;
    margin: 0 auto 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37,99,235,0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13px;
    color: #5b6778;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    padding: 60px 24px;
    background: #f8fafc;
    text-align: center;
}

.timeline-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 50px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 120px;
    padding: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
    font-size: 18px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.timeline-content {
    width: calc(50% - 80px);
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    text-align: left;
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 13px;
    color: #5b6778;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 32px;
    }
    
    .about-hero p {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-year {
        margin-bottom: 10px;
    }
    
    .timeline-content {
        width: 100%;
    }
}