body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

header {
    background-color: #343a40;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}



nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.nav-link {
    color: #fff !important;
    font-size: 18px;
}

main {
    padding-top: 60px
}

section {
    padding: 5rem 0;
    margin-bottom: 2rem; 
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

section.active {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
}

section:nth-of-type(odd) {
    background-color: #f8f9fa; 
}

section:nth-of-type(even) {
    background-color: #ffffff;
}


.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    list-style: disc;
    padding-left: 20px;
}

footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}


.list-group-item {
    background-color: transparent;
    border: none;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.list-group-item i {
    color: #007bff;
}

/* О нас */
#about .about-img {
    height: 300px; 
    object-fit: contain;
    width: 100%;
    border-radius: 5px; 
}

#about .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

#about .lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

#about p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Стек */
#tech-stack i {
    color: #007bff;
    margin-bottom: 10px;
}

#tech-stack p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Аутсорсинг */
#outsourcing .fa-3x {
    color: #007bff;
    margin-bottom: 10px;
}

#outsourcing h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#outsourcing p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

/* Партнеры */
#partners .partner-logo {
    max-width: 100%;
    height: 150px; 
    object-fit: contain;
}

#partners .partner-logo {
    max-width: 100%;
    height: 150px; 
    object-fit: contain;
}

#partners img {
    margin-bottom: 10px;
} 

#partners p,
#partners a {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: #000;
    text-decoration: none;
}

#partners a:hover {
    text-decoration: underline;
}

#partners .col-md-3,
#partners .col-sm-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Лагерта */
#lagerta .lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
}

#lagerta ul {
    list-style: none;
    padding-left: 0;
    line-height: 1.6;
}

#lagerta .list-group-item {
    background-color: transparent;
    border: none;
    padding: 0.5rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

#lagerta .tech-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

#lagerta .text-highlight {
    color: #ff5722;
    font-size: 1.2rem;
    margin-right: 5px;
    font-weight: bold;
}

/* Команда */
#team .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

#team .lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.team-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-item h5 {
    margin: 0 0 5px;
    font-size: 1.25rem;
    font-weight: 600;
}

.team-item p {
    margin: 0;
    font-size: 1rem;
}

.team-icon {
    color: #007bff;
    margin-right: 15px;
}

.team-icon.fa-code {
    color: #28a745;
}

.team-icon.fa-project-diagram {
    color: #17a2b8;
}

.team-icon.fa-vial {
    color: #ffc107;
}

.team-icon.fa-paint-brush {
    color: #e83e8c;
}

.team-icon.fa-user-tie {
    color: #6f42c1;
}

.team-icon.fa-video {
    color: #fd7e14;
}

.team-icon.fa-music {
    color: #dc3545;
}

.team-icon.fa-server {
    color: #343a40;
}

.team-icon.fa-cogs {
    color: #6c757d;
}

/* Вакансии */
#vacancies .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

#vacancies h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

#vacancies .lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

#vacancies .list-group {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
}

#vacancies .list-group-item {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

#vacancies .list-group-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#vacancies .list-group-item h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

#vacancies .vacancy-icon {
    color: #007bff;
    margin-right: 15px;
    flex-shrink: 0;
}

#vacancies .vacancy-icon.fa-brain {
    color: #28a745;
}

#vacancies .vacancy-icon.fa-paint-brush {
    color: #17a2b8;
}

#vacancies .vacancy-icon.fa-robot {
    color: #ffc107;
}

#vacancies .vacancy-icon.fa-palette {
    color: #e83e8c;
}

#vacancies .vacancy-icon.fa-clock {
    color: #6f42c1;
}

#vacancies .contact-section {
    text-align: center;
}

#vacancies .contact-section a {
    color: #007bff;
    text-decoration: none;
}

#vacancies .contact-section a:hover {
    text-decoration: underline;
}

/* Реквизиты */
#details .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.detail-icon {
    color: #007bff;
    margin-right: 15px;
    flex-shrink: 0;
}

.detail-item p {
    margin: 0;
    font-size: 1rem;
}

.detail-item p strong {
    display: block;
    margin-bottom: 5px;
}

/* Контакты */
#contacts .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

#contacts .lead {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

#contacts .lead strong {
    font-size: 1.4rem;
    font-weight: 700;
}

#contacts a {
    color: #007bff;
    text-decoration: none;
}

#contacts a:hover {
    text-decoration: underline;
}

/* наверх */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 123, 255, 0.9);
    color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top i {
    font-size: 1.5rem;
}


@media (max-width: 768px) {
    .nav-item {
        margin-bottom: 10px;
    }
    .nav-link {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .nav-item {
        margin: 0 15px;
    }
}
