/* === СТИЛИ ДЛЯ СТРАНИЦЫ 'О НАС' === */

/* Фон для главного экрана страницы "О нас" */
.hero-about {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('image/banner2.jpeg') no-repeat center center/cover;
}

/* Подзаголовок для секций */
.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 40px;
    font-size: 1.1rem;
    color: #555;
}

/* Секция "Команда" */
.team-section {
    background: #fff; /* Выделяем секцию цветом */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--background-color);
    margin-bottom: 1rem;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.team-member span {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 0.75rem;
}

/* Секция "Таймлайн" */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }


.timeline-item:nth-child(odd)::after { right: -10px; }
.timeline-item:nth-child(even)::after { left: -10px; }

.timeline-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.timeline-content h3 { color: var(--secondary-color); }

/* Секция "Что освещаем" */
.coverage-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.coverage-item {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
}
.bg1 {
    background-image: url('image/dev1.jpg')
}
.bg2 {
    background-image: url('image/dev2.jpg')
}
.bg3 {
    background-image: url('image/dev3.jpg')
}
.bg4 {
    background-image: url('image/dev4.jpg')
}

/* Секция "Сообщество" */
.community-section {
    background-color: var(--secondary-color);
    color: #fff;
}
.community-section h2, .community-section p { color: #fff; }
.social-icon-link {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 1rem;
    transition: transform 0.3s;
}
.social-icon-link:hover {
    transform: scale(1.2);
}

/* Адаптация для Таймлайна */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    .timeline-item::after {
        left: 10px;
    }
    .content-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}
}