* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000000;
    background: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding-top: 70px;
    font-family: "Roboto", "Arial", sans-serif;
    line-height: 1.6;
}


.team-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-details {
    display: none;
    margin-top: 15px;
    text-align: left;
}

.team-item.active .team-details {
    display: block;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #0077ff;
}




.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4CAF50;
}

/* Мобильное меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Главный контент */
.main-content {
    min-height: calc(100vh - 120px);
}

.hero-section {
    padding: 40px 0;
    text-align: center;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

.textCenter {
    text-align: center;
}

.main-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

/* Секция о нас */
.about-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.about-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.team-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;

    /* добавь это */
    align-items: start;
}

.team-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-item h3 {
    color: #333;
    font-size: 1.1rem;
}

.about-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-info h2 {
    margin-bottom: 15px;
}

.about-info p {
    font-size: 1.1rem;
    color: #666;
}

/* Футер */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* Адаптивность для мобильных устройств */
@media screen and (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px;
        display: block;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .centered-container {
        min-height: 30vh;
    }
    
    .main-logo {
        width: 280px;
        height: 52px;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .team-item {
        padding: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .main-logo {
        width: 200px;
        height: 37px;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .team-description {
        font-size: 1.1rem;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 20px 0;
    }
}