body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0; /* Закрепляем хэдер в верхней части экрана */
    z-index: 100; /* Устанавливаем z-index, чтобы хэдер был поверх других элементов */
}

.header-left img {
    height: 40px;
    margin-right: 10px;
}

.header-left h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    margin-right: 20px;
}

.header-right {
    display: flex;
    align-items: center;
}

.whatsapp-button {
    background-color: #25D366;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.whatsapp-button i {
    margin-right: 5px;
}


nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 300; /* или lighter */
    margin-right: 20px;
}

#hero-b24 {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/bitrix24-background.png'); /* Прозрачное черное затемнение поверх фонового изображения */
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 200px 20px;
}



#hero {
    background-image: url('/background.png'); /* Замените на ваш фоновый рисунок */
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

section {
    padding: 50px 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.services-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services-list li {
    width: 40%; /* Чтобы уместить 4 колонки с отступами */
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
}

.services-list li i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.services-list li h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.services-list li p {
    font-size: 16px;
    color: #555;
}

/* Добавляем стили для больших экранов (ширина больше 768px) */
@media (min-width: 768px) {
    .services-list {
        justify-content: space-between;
    }

    .services-list li {
        width: 40%; /* Чтобы уместить 2 колонки с отступами */
    }
}

/* Добавляем стили для маленьких экранов (ширина меньше 768px) */
@media (max-width: 767px) {
    .services-list li {
        width: 100%; /* Один столбец на узких экранах */
    }
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

form:focus-within {
    outline: none;
}

input:focus,
textarea:focus,
button:focus {
    outline: none;
    border-color: #ccc; /* Цвет рамки при фокусе (если нужен) */
}

       .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            overflow: hidden;
            max-width: 100%;
            background: #000;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }