.about-us {
    margin: 80px auto 0 auto;
    padding: 40px 20px;
}

.about-us h1 {
    font-size: 2.5em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.intro-text {
    text-align: center;
    font-size: 1.2em;
    color: #34495e;
    margin-bottom: 20px;
    line-height: 1.6;
}

.team-section {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 80px;
    left: -50px;
    right: -50px;
    height: 500px;
    background: 
        linear-gradient(to bottom, #f5f5f5 0%, transparent 15%),
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 40% 80%, rgba(155, 89, 182, 0.04) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.team-section h2 {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 40px 0 20px;
    text-align: center;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 300px;
}

.team-section > .team-member {
    width: 300px;
}

.team-section > .team-member .member-photo {
    height: 420px;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    color: #2c3e50;
    margin: 0 0 10px;
    font-size: 1.3em;
}

.member-info p {
    color: #7f8c8d;
    margin: 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    justify-content: center;
}

.project-description {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
    text-align: justify;
}

.project-description p {
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.project-description p:last-child {
    margin-bottom: 0;
}

/* Планшеты */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
    
    .team-section > .team-member {
        max-width: 350px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .about-us {
        padding: 20px;
    }

    .team-section > .team-member {
        width: 280px;
    }

    .team-section > .team-member .member-photo {
        height: 392px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, 280px);
        gap: 20px;
    }

    .team-member {
        width: 280px;
    }

    .member-photo {
        height: 392px;
    }

    .project-description {
        padding: 20px;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .about-us h1 {
        font-size: 2em;
    }
    
    .intro-text {
        font-size: 1.1em;
    }
    
    .team-section h2 {
        font-size: 1.5em;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, 260px);
        gap: 15px;
    }
    
    .project-description {
        padding: 15px;
    }
    
    .project-description p {
        font-size: 1em;
    }

    .team-section > .team-member {
        width: 260px;
    }

    .team-section > .team-member .member-photo {
        height: 364px;
    }

    .member-photo {
        height: 364px;
    }
}
