@font-face {
    font-family: 'Saira-Medium';
    src: url("Saira-Medium.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Основные стили */
body {
    margin: 0;
    font-family: 'Saira-Medium', sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    user-select: none;  /* Для всех браузеров, поддерживающих эту директиву */
    -webkit-user-select: none;  /* Для Safari */
    -moz-user-select: none;  /* Для Firefox */
    -ms-user-select: none;  /* Для старых версий Internet Explorer */
}



.empty-space {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
	background-size: cover; /* Покрытие всей области секции */
    background-position: center; /* Центрирование изображения */
	scroll-behavior: smooth;
}

.empty-space img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.empty-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-1 .empty-space::before {
    background-color: rgba(0, 0, 0, 0.0);

}


.page-1 .empty-space {
    background-image: url("/static/1.jpg");
}

.page-2 .empty-space {
    background-image: url("/static/2.jpg");
}

.page-3 .empty-space {
    background-image: url("/static/3.jpg");
}

.page.page-1 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.page.page-2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.page.page-3 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.center-text1 {
    display: none;
}

/* Позиционирование и стили для top-bar */
.top-bar {
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Элементы будут выровнены вправо */
    position: absolute; /* Закрепляем в верхней части экрана */
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    box-sizing: border-box; /* Учитываем padding в расчет размеров */
}

/* Стили для содержимого top-bar */
.top-bar .right {
    display: flex;
    align-items: center;
    gap: 20px; /* Отступы между элементами */
}

.top-bar .right i, .top-bar nav a {
    font-size: 18px;
}

/* Позиционирование и стили для logo-bar */
.logo-bar {
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    color: #fff;
    padding: 0px;
    display: flex;
    justify-content: space-between; /* Располагаем элементы с отступами */
    align-items: center;
    position: absolute; /* Закрепляем в верхней части экрана */
    top: 45px; /* Располагаем чуть ниже top-bar */
    left: 0;
    right: 0;
    z-index: 11; /* Лежит под top-bar */
    box-sizing: border-box;
	height: 70px;
}

.logo-bar nav a {
    color: #fff;
    text-decoration: none;
}

.logo-bar nav a:hover {
    text-decoration: underline;
}

/* Навигация в logo-bar */
.logo-bar nav {
    display: flex;
    gap: 30px; /* Расстояние между ссылками */
    margin-right: 5%;
}

/* Логотип в logo-bar */
.logo-bar .logo img {
    height: 120px;
    margin-right: 20px;
    flex-shrink: 0;
    margin-bottom: 30px;
    transition: opacity 0.7s ease; /* Плавное изменение видимости */
}

.center-text1 {
	position: absolute;
    top: 40%;
    left: 35%;
    transform: translate(-50%, -50%);
    text-align: left;
    font-size: 3.5rem;
    line-height: 1.2;
    color: white;
    z-index: 2;
}

.center-text {
    position: absolute;
    top: 50%;
    left: 32%;
    transform: translate(-50%, -50%);
    text-align: left;
    font-size: 2.5rem;
    line-height: 1.2;
    color: white;
    z-index: 2;
}

.center-text .highlight {
    color: #1e9d85;
}

.center-text div[data-section] {
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.center-text div[data-section]:hover {
    color: #009e86;
    font-size: 1.2em;
    font-weight: bold;
    transform: scale(0.9);
}


.vertical-label {
    position: absolute;
    left: 60px; /* Отступ от левого края */
    top: 50%; /* Центрирование по вертикали */
    transform: translate(-50%, -50%) rotate(-90deg); /* Центрируем по X и Y, затем поворачиваем */
    transform-origin: center; /* Точка поворота — центр */
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    z-index: 2;
    text-align: center; /* Центрирование текста */
    white-space: nowrap; /* Запрещаем перенос текста */
}



/* Навигация с точками */
.dot-navigation {
    position: fixed;
    top: 50%;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.dot {
	position: relative;
    width: 15px;
    height: 15px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Анимация значков */
.home-icon {
	position: absolute;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
    text-align: center;
    margin-bottom: 10px;
	margin-left: -2px;
	margin-top: -170px;

}

.home-icon:hover, .home-icon.active {
    color: #1e9d85;
}

.dot.active {
    background-color: #1e9d85;
}

/* Социальные ссылки */
.social-link {
    color: #1e9d85;
	transition: color 0.3s;
}

.social-link:hover, .social-link.active {
    color: #FFFFFF;
}

/* Описание */
.main-description {
    font-size: 1.3em;
}

.highlight-text {
    font-size: 1.4em;
    font-weight: bold;
    color: #1e9d85;
}

.sub-description {
    font-size: 1.1em;
    margin-top: 100px;
    line-height: 3em;
	margin-left: 20px;
}

#our-services {
    font-size: 42px;
}

/* Логотипы партнеров */
.partners-container {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    z-index: 2;
    opacity: 0; /* Логотипы изначально невидимы */
    transition: opacity 1.5s ease-in-out; /* Плавное появление */
}

.partner-logo {
    display: inline-block; /* Чтобы рамка обернула содержимое */
    border: 4px solid #1e9d85; /* Цвет и ширина рамки */
    border-radius: 20px; /* Скругленные углы */
    padding: 10px; /* Внутренние отступы */
    margin: 10px; /* Расстояние между элементами */
    text-align: center; /* Центрирование содержимого */
}

.partner-logo img {
    width: 300px;
    transition: transform 0.3s ease;
    display: block; /* Убирает лишние отступы у изображения */
    margin: 0 auto; /* Центрирует картинку внутри рамки */
}

.partner-logo img:hover {
    transform: scale(1.1);
}

/* Плавное появление при добавлении класса */
.partners-container.visible {
    opacity: 1;
}



.row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 100px;
}

/* Панель информации */
.info-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    display: none;
    opacity: 0;
    z-index: 100;
    transition: opacity 0.5s ease, transform 0.5s ease; /* Добавлен переход для transform */
}

.info-panel.visible {
    display: block;
    opacity: 1;
    transform: translateX(0); /* Панель будет двигаться вправо, если её скрыть и потом показать */
}

/* Контент панели */
.info-panel .content-transition {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.info-panel .content-transition.visible {
    opacity: 1;
}

/* Footer */
footer {
    width: 100%;
    color: white;
    text-align: center;
    padding: 20px;
    position: absolute;
    bottom: 10px;
    box-sizing: border-box;
    z-index: 10;
}

.footer-sections {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: left;
}

.footer-sections div {
    flex: 1;
    padding-right: 20px;
}

.footer-sections div p {
    margin: 10px 40px;
}

.footer-sections div a {
    color: white;
    text-decoration: none;
}

.footer-sections div a:hover {
    text-decoration: none;
}

.address {
    margin-left: 0px; /* Подберите значение для выравнивания */
    text-indent: 0px; /* Должно совпадать с margin-left */
}

.entrance {
    margin-left: 65px !important; /* Подберите значение для выравнивания */
}

.footer-title {
    color: #1e9d85;
	font-weight: bold;
}

.phone-numbers p.additional-phone {
    margin-left: 60px;
}

#language-switcher {
	position: absolute;
    display: flex;
    flex-direction: column; /* Изменение на вертикальное расположение */
    align-items: center;
    gap: 0px; /* Расстояние между языками */
    margin-bottom: 15px; /* Расстояние между языками и точками */
    margin-left: -4px;
	margin-top: -125px;
	
}

#language-switcher span {
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
    padding: 4px;
}

#language-switcher span:hover {
    color: #1e9d85;
	transition: 0.3s;
}

/* Стили для активного языка */
#language-switcher span.active {
    font-weight: bold; /* Сделать текст жирным */
    color: #1e9d85; /* Цвет текста для активного языка */
    border-bottom: 2px solid #1e9d85; /* Добавить нижнюю границу для выделения */
}

.phone-numbers p, .whatsapp-number {
	margin-left: 2px;
	}
	
.address-icon {
    width: 20px; /* Установите желаемую ширину */
    height: 20px; /* Установите желаемую высоту */
    vertical-align: middle; /* Центровка по вертикали с текстом */
}

/* Контейнер для изображений и текста */
.image-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px; /* Отступ между текстом и изображениями */
}

/* Блоки с изображениями и текстами */
.image-container .image-1,
.image-container .image-2,
.image-container .image-1-1 {
    display: flex;
    flex-direction: column;  /* Размещение изображения и текста по вертикали */
    align-items: center;     /* Выравнивание по центру */
    width: 300px;            /* Ширина блока */
    opacity: 0;              /* Начальное состояние - невидимо */
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Индивидуальные стили для каждого блока */
.image-container .image-2 {
    margin-top: 150px;
    margin-left: -50px; /* Сдвиг блока .image-2 влево */
    animation-delay: 0.4s; /* Задержка для плавного появления */
}

.image-container .image-1-1 {
    margin-top: 0px;
    margin-left: 0px; /* Сдвиг блока .image-1-1 влево */
    animation-delay: 0.8s; /* Задержка для плавного появления */
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Изображения */
.image-container img {
    width: 100%;             /* Изображения будут заполнять контейнер по ширине */
    height: auto;            /* Сохранение пропорций */
    border-radius: 10px;     /* Скругление углов изображений */
    border: 2px solid #ccc; /* Рамка вокруг изображений */
}

/* Тексты под изображениями */
.image-text-1 {
    font-size: 14px;         /* Размер шрифта */
    word-wrap: break-word;   /* Перенос длинных слов на новую строку */
    word-break: break-word;  /* Дополнительно для жесткого разрыва слов */
    width: 300px;            /* Ширина контейнера */
    max-width: 100%;         /* Максимальная ширина - не больше 100% родительского контейнера */
    overflow-wrap: break-word; /* Обеспечивает перенос слов, если они слишком длинные */
    background-color: rgba(0, 0, 0, 0.2);  /* Темный фон */
    color: #1e9d85;            /* Белый текст */
    padding: 10px;           /* Отступы внутри блока */
    border-radius: 10px;     /* Скругленные углы текста */
    text-align: center;      /* Выравнивание текста по центру */
}


.image-text-2 {
    font-size: 14px;         /* Размер шрифта */
    word-wrap: break-word;   /* Перенос длинных слов на новую строку */
    word-break: break-word;  /* Дополнительно для жесткого разрыва слов */
    width: 300px;            /* Ширина контейнера */
    max-width: 100%;         /* Максимальная ширина - не больше 100% родительского контейнера */
    overflow-wrap: break-word; /* Обеспечивает перенос слов, если они слишком длинные */
    background-color: rgba(0, 0, 0, 0.2);  /* Темный фон */
    color: #1e9d85;            /* Белый текст */
    padding: 10px;           /* Отступы внутри блока */
    border-radius: 10px;     /* Скругленные углы текста */
    text-align: center;      /* Выравнивание текста по центру */
	position: relative;
	left: -50px; 
}

/* Увеличенный размер шрифта для русской версии */
[lang="ru"] .image-text-1, 
[lang="ru"] .image-text-2 {
    font-size: 16px; /* Увеличенный размер шрифта */
}


/* Исходное состояние для скрытого контента */
.section-content {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    display: none;
}

/* Состояние для видимого контента */
.section-content.visible {
    opacity: 1;
    display: block;
}

.text-container {
    background-color: rgba(0, 0, 0, 0.3);  /* Черный фон с прозрачностью */
    color: white;  /* Белый цвет текста */
    padding: 15px;  /* Отступы вокруг текста */
    border-radius: 15px;  /* Закругленные углы */
    width: fit-content;  /* Размер по содержимому */
    max-width: 100%;  /* Не выходит за пределы экрана */
    word-wrap: break-word;  /* Перенос слов при необходимости */
}

[data-heading], [data-text] {
    background-color: transparent !important;
}

.phone-container1,
.phone-container,
.email-text {
	cursor: pointer; /* Меняет курсор на указатель, показывая, что элемент кликабельный */
    color: white; /* Подчеркиваем текст для визуального эффекта */
    user-select: text;  /* Разрешает выделение текста */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.smartech-logo img {
    pointer-events: none;
}


#fullscreen-info-panel {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

#fullscreen-info-panel.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
	z-index
}

#fullscreen-info-content {
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
    overflow-y: hidden;
	overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    white-space: pre-line;
}

#fullscreen-info-content.visible {
    opacity: 1;
}


/* Стиль для текстовых контейнеров */
.new-text-container-1 {
	margin-bottom: 20px;
	line-height: 1; /* Убирает отступы между строками */
	margin-top: 100px;  /* Добавляет отступ сверху */
    margin-left: 150px; /* Добавляет отступ слева */
}
.new-text-container-2 {
    margin-bottom: 20px;
    line-height: 1; /* Убирает отступы между строками */
    margin-top: 0px;  /* Добавляет отступ сверху */
    margin-left: 1100px; /* Добавляет отступ слева */
}

.new-text-container-3 {
	position: absolute;
    margin-bottom: 20px;
	line-height: 1; /* Убирает отступы между строками */
	margin-top: -50px;  /* Добавляет отступ сверху */
    margin-left: 550px; /* Добавляет отступ слева */
	z-index: 10;
}

.new-text-container-4 {
	position: absolute;
    margin-bottom: 20px;
	line-height: 1; /* Убирает отступы между строками */
	margin-top: -700px;  /* Добавляет отступ сверху */
    margin-left: 1500px; /* Добавляет отступ слева */
}

.images-container {
    position: relative; /* Обеспечивает базовую позицию для дочерних элементов */
}

.images-container img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease; /* Добавляет плавность при изменении положения */
	border: 3px solid #fff; /* Рамка вокруг изображения */
    border-radius: 10px; /* Скругленные углы рамки */
}

.images-container img:hover {
    transform: scale(2); /* Увеличение изображения */
	z-index: 10;
}

/* Позиции для каждого изображения */
.image-item-1,
.image-item-2,
.image-item-3,
.image-item-4,
.image-item-5,
.image-item-6 {
    position: absolute;
    opacity: 0; /* Начальное состояние - невидимо */
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Индивидуальные позиции */
.image-item-1 { top: -400px; left: 150px; max-width: 15%; animation-delay: 0.2s; }
.image-item-2 { top: -400px; left: 450px; max-width: 15%; animation-delay: 0.4s; }
.image-item-3 { top: -630px; left: 1100px; max-width: 10%; animation-delay: 0.6s; }
.image-item-4 { top: -630px; left: 1320px; max-width: 16%; animation-delay: 0.8s; }
.image-item-5 { top: -150px; left: 150px; max-width: 30%; transform: none !important; animation-delay: 1s; }
.image-item-6 { top: -800px; left: 1100px; max-width: 30%; transform: none !important; animation-delay: 1.2s; }

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



html[lang="ru"] #fullscreen-info-panel {
    font-family: 'Arial', sans-serif;
}

html[lang="ru"] .info-panel {
    font-family: 'Arial', sans-serif;
}

/* Прелоадер */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Темный полупрозрачный фон */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.progress-bar {
  width: 0;
  height: 5px;
  background-color: #1e9d85; /* Цвет прогресс-бара */
  transition: width 0.5s ease; /* Плавное изменение ширины */
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.logo-bar, .top-bar {
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Плавное изменение прозрачности */
}

.show-bar {
  opacity: 1;
}

