.about-hero {
    padding: 80px 0;
}

.about-hero .section-title {
    margin-bottom: 40px;
    font-size: 40px;
    color: #1e3c72;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mission-card,
.vision-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission-card {
    background: #1e3c72;
    color: white;
}

.vision-card {
    background: white;
    border: 2px solid #1e3c72;
    color: #333;
}

.mission-card h3,
.vision-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.mission-card h3 {
    color: #ff6b35; 
}



.history-timeline {
    background: white;
}
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 110px; 
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #ddd;
    z-index: 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    padding-left: 140px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 104px; 
    top: 10px;
    width: 15px;
    height: 15px;
    background-color: #ff6b35; 
    border-radius: 50%;
    z-index: 1;
    border: 3px solid white; 
}
.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 26px;
    font-weight: bold;
    color: #1e3c72;
    min-width: 80px;
    text-align: right;
}
.timeline-content {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.timeline-content h4 {
    color: #1e3c72;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}
.team-intro {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.team-member {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}
.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 4px solid #ff6b35; 
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
}
.member-photo.ivan{
    background-image: url("../assets/images/ivan.png");
}
.member-photo.elena{
    background-image: url("../assets/images/elena.png");
}
.member-photo.dmitriy{
    background-image: url("../assets/images/dmitriy.png");
}
.team-member h4 {
    color: #1e3c72;
    margin-bottom: 5px;
    font-size: 20px;
}

.team-member p {
    font-size: 15px;
    color: #777;
}


@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .about-hero .section-title {
        font-size: 32px;
    }


    .timeline::before {
        left: 20px; 
    }
    .timeline-item {
        padding-left: 40px; 
        gap: 15px;
    }
    .timeline-item::before {
        left: 14px; 
    }
    .timeline-year {
        display: block; 
        position: static;
        text-align: left;
        font-size: 20px;
        margin-bottom: 5px;
    }
    .timeline-content {
        padding: 15px;
    }
}