/* Стили для страницы "О компании" */
.about-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content {
    line-height: 1.7;
}

.about-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    border-radius: 2px;
}

/* Стили для временной шкалы */
.timeline-section {
    margin: 3rem 0;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #4CAF50, #2E7D32);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: #4CAF50;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #4CAF50;
}

.timeline-year {
    font-weight: bold;
    color: #4CAF50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
}

/* Стили для статистики */
.stats-section {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .stats-section {
        padding: 2rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
