@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

@font-face {
    font-family: 'MyFont';
    src: url('../TTNormsPro-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'MyFontBold';
    src: url('../TTNormsPro-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'MyFontBlack';
    src: url('../TTNormsPro-Black.ttf') format('truetype');
}

/* Основные стили */
/* Основные стили */
body {
    font-family: 'MyFont', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333333;
}

/* Шапка */
header {
    display: flex;
    position: fixed;
    left: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    height: 92px;
    box-shadow: 0 4px 4px 0 #d8d3cb;
    z-index: 1000;
    top: 30px;
}

.language-bar {
    display: flex;
    align-items: center;
    position: fixed;
    /* Или absolute, в зависимости от вашего дизайна */
    top: 0;
    /* Расположение .language-bar в верхней части экрана */
    left: 0;
    right: 0;
    /* Обеспечивает распространение .language-bar на всю ширину экрана */
    padding: 5px 20px;
    /* Отступы слева и справа */
    background-color: #efedea;
    /* Фоновый цвет блока */
    z-index: 1001;
    /* Убедитесь, что .language-bar будет над navbar */
    /* Предполагаемая высота, достаточная для размещения всех элементов */
    height: 20px;

}

#language-select {
    border: none;
    /* Граница в стиле дизайна */
    padding: 5px 10px;
    background-color: #efedea;
    /* Белый фон */
    border-radius: 4px;
    /* Скругленные углы */
    font-size: 14px;
    /* Размер шрифта согласно дизайну */
    color: #333;
    /* Цвет текста согласно дизайну */
    cursor: pointer;
    -webkit-appearance: none;
    /* Убрать стандартный стиль в iOS */
    -moz-appearance: none;
    /* Убрать стандартный стиль в Firefox */
    appearance: none;
    /* Убрать стандартный стиль для остальных браузеров */
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    font-family: 'MyFontMedium', sans-serif;
    color: #333333;
}

/* Стили для иконки стрелки, если вы хотите добавить */
.language-switcher::after {
    content: '▼';
    /* Иконка стрелки */
    color: #333;
    /* Цвет иконки согласно дизайну */
    font-size: 12px;
    /* Размер иконки */
    position: absolute;
    right: 8px;
    /* Отступ иконки от правого края */
    top: 50%;
    /* Выравнивание по вертикали */
    transform: translateY(-50%);
    /* Центрирование иконки */
    pointer-events: none;
    /* Сделать иконку неактивной для событий мыши */
}

#language-text {
    margin-right: auto;
    /* Это выравнивает текст к правой стороне */
    padding: 5px 0;
    /* Отступы для текста */
    /* Остальные стили для #language-text */
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    font-family: 'MyFontMedium', sans-serif;
    color: #333333;
}

.globe {
    height: 25px;
    width: 25px;
}

#language-text svg {
    transition: transform 0.5s ease;
    /* Плавный переход в течение 0.5 секунды */
    margin-right: 5px;
    /* Начальный отступ справа */
}


/* Скрыть стрелку по умолчанию внутри select (только для Webkit браузеров) */
#language-select::-ms-expand {
    display: none;
}

.top-content {
    width: 100%;
    /* Остальные стили */
}

.divider {
    width: 94%;
    border: none;
    height: 2px;
    background-color: #E0E0E0;
    margin: 0 43px;
    display: none;
}


.logo-container {
    position: absolute;
    align-items: center;
    /* Добавлено выравнивание для контейнера логотипа */
    margin-left: 50px;
}

a.logo-container {
    display: block;
    /* или 'inline-block', в зависимости от нужного поведения */
    text-decoration: none;
    /* убирает подчеркивание ссылки */
}

.logo-container .logo {
    height: 25px;
    margin-left: 20px;
}

#karma1 {
    position: relative;
    z-index: 1;
    margin-left: -76px;
}

#karma2 {
    z-index: 2;
    position: relative;
}


#logo_in {
    display: none;
    position: relative;
}

@keyframes spinY {
    0% {
        transform: rotateY(0deg);
    }

    25% {
        transform: rotateY(360deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

#karma2 {
    animation: spinY 5s infinite;
    /* Общее время анимации - 4 секунды */
    animation-timing-function: linear, step-end;
    /* Плавное вращение и резкая остановка */
    transform-origin: center;
    /* Вращение вокруг центра по оси Y */
}


.hamburger-icon {
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* Центрирование элементов по вертикали */
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-top: 14px;
}


.line {
    width: 30px;
    height: 3px;
    background-color: black;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}


/* Навигация стили*/
.navbar {
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-links a:not(.contact-us) {
    /* Стили для всех ссылок, кроме 'Contact Us' */
    align-items: center;

}

.nav-links .contact-us {
    right: 0;
    position: absolute;
}

.navbar a {
    margin: 0 30px;
    text-decoration: none;
    font-family: 'MyFont', sans-serif;
    color: #333;
    font-size: 20px;
}

.navbar a:hover {
    margin: 0 30px;
    text-decoration: none;
    font-family: 'MyFont', sans-serif;
    color: #558CCE;

}

.contact-us {
    margin: 0px 0px 0px 10px;
    padding: 7px 20px 4px;
    border: 2px solid black;
    background-color: white;
    color: black;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;

}

.nav-links .contact-us {
    font-family: 'MyFontBold', sans-serif;
    font-size: 12px;
}

.contact-us:hover {
    background-color: #EFEDEA;
    border-color: transparent;
}

/* Приближение верхней и нижней линии к центру и исчезновение */
.hamburger-icon.active .line:nth-child(1) {
    transform: translateY(6px);
    /* Приближаем верхнюю линию к центру */
    opacity: 0;
}

.hamburger-icon.active .line:nth-child(3) {
    transform: translateY(-6px);
    /* Приближаем нижнюю линию к центру */
    opacity: 0;
}

/* Исчезновение средней линии после приближения других линий */
.hamburger-icon.active .line:nth-child(2) {
    transition: opacity 0.3s ease 0.3s;
    /* Задержка перед исчезновением */
    opacity: 0;
}

/* Скрыть верхнюю и нижнюю линии */
.hamburger-icon.active .line:nth-child(1),
.hamburger-icon.active .line:nth-child(3) {
    opacity: 0;
}

/* Дополнительная анимация для превращения в крестик */
.hamburger-icon.active.cross .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    opacity: 1;
}

.hamburger-icon.active.cross .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    opacity: 1;
}

/* Анимация от крестика к одной линии */
.hamburger-icon:not(.active) .line:nth-child(1) {
    transform: rotate(0) translateY(0);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hamburger-icon:not(.active) .line:nth-child(3) {
    transform: rotate(0) translateY(0);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Задержка перед возвращением к гамбургер-состоянию */
.hamburger-icon:not(.active) .line:nth-child(1),
.hamburger-icon:not(.active) .line:nth-child(3) {
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.6s;
    opacity: 1;
}

.hamburger-icon:not(.active) .line:nth-child(2) {
    opacity: 1;
    transition: opacity 0.3s ease 0.3s;
}

/* Медиа-запросы для адаптивности и гамбургер-меню */
@media (max-width: 1280px) {
    .hamburger-icon {
        display: flex;
        margin-left: auto;
        position: relative;
    }

    .nav-links,
    .contact-us {
        display: none;
    }

    /* Стили для показа меню при активации гамбургер-иконки */
    .nav-links.active,
    .contact-us.active {
        display: block;
        /* Дополнительные стили для мобильного меню */
    }

    .hamburger-icon:hover .line {
        background-color: #558CCE;
        /* Замените #цвет на нужный вам цветовой код */
    }
}


/* Стили для выпадающего
 меню */
@media (max-width: 1280px) {
    .top-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    .logo-container {
        display: flex;
        align-items: center;
        margin-right: auto;
    }


    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255);
        /* Белый фон с небольшой прозрачностью */
        / display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Центрирование содержимого по горизонтали */
        padding-top: 50px;
        /* Отступ сверху для логотипа */
        box-sizing: border-box;
        transition: transform 0.4s ease;
        transform: translateY(-100%);
        /* Изначально меню скрыто за пределами экрана */
        z-index: 1000;
        /* Убедитесь, что меню будет над всеми другими элементами */
        font-size: 20px;
    }

    .divider {
        display: block;
        width: 80%;
    }

    .navbar.active {
        transform: translateY(0);
        /* Меню опускается сверху при активации */
    }

    .nav-links .contact-us {
        right: auto;
        /* Отменяем прижатие к правому краю */
        /* Вы можете добавить дополнительные стили здесь, если нужно */
    }

    .navbar .nav-links,
    .navbar .logo-container {
        width: 100%;
        /* Полная ширина */
        padding: 15px;
        /* Отступы для создания пространства вокруг элементов */
        box-sizing: border-box;
        display: block;
        /* Элементы отображаются как блоки, один под другим */
        text-align: left;
        /* Текст выравнивается по левому краю */
    }

    .navbar .nav-links a {
        display: block;
        /* Ссылки отображаются как блоки, одна под другой */
        margin: 20px;
        /* Отступы между ссылками */
        color: black;
        /* Цвет текста ссылок */
        text-decoration: none;
        /* Убираем подчеркивание ссылок */
        margin-left: 30px;
    }

    .navbar .nav-links a:hover {
        color: #558CCE;
    }


    .contact-us {
        display: block;
        padding: 7px 20px 4px;
        background-color: #225A9D;
        color: white;
        font-family: 'MyFont', sans-serif;
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.3s ease, border-color 0.3s ease;
        margin-right: auto;
    }

    .navbar .nav-links .contact-us {
        color: white;
        /* Белый цвет текста */
        border: none;
    }


    .contact-us:hover {
        background-color: #EFEDEA;
        border-color: transparent;
    }

    #logo_in {
        display: block;
        margin-left: 53px;
    }

    .hamburger-icon {
        display: flex;
        /* Убедитесь, что иконка гамбургера видна */
        position: relative;
        /* Относительное позиционирование внутри header-container */
        z-index: 1001;
        margin-left: auto;
        /* Иконка гамбургера будет справа */
        align-self: center;
        margin-right: 10px;
        margin-top: -8px;
    }


    .logo {
        height: auto;
        /* Высота логотипа будет автоматически подстроена */
        max-height: 50px;
        /* Максимальная высота логотипа */
        width: auto;
        /* Ширина логотипа будет подстраиваться */
    }

    .navbar.active .logo-container {
        margin-top: 0;
        /* Убираем верхний отступ при активации меню */
    }
}




/*блок с текстом*/

.container {
    display: flex;
    width: 100vw;
    /* ширина блока равна ширине окна браузера */
    min-height: 30vw;
    /* минимальная высота блока */
    background-color: #f4f4f4;
    margin-top: 130px;
    height: 450px;
}

.image-side {
    flex: 0 0 40vw;
    /* ширина левой части фиксирована и равна 30% от ширины окна браузера */
    background-image: url('../images/woman11.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.text-side {
    flex: 0 0 60vw;
    /* ширина правой части фиксирована и равна 70% от ширины окна браузера */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1F487E;

}

.text-side h1 {
    font-size: 35px;
    /* размер шрифта также масштабируется с шириной окна браузера */
    color: white;
    text-align: center;
    margin: 0;
    padding: 0 2vw;
    text-align: left;
    font-family: 'MyFontBold', sans-serif;
    line-height: 1.2;

}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .text-side {
        height: 70px;
        flex: 0 0 30vw;
        /* ширина левой части фиксирована и равна 30% от ширины окна браузера */
    }

    .text-side p {
        font-size: 4vw;
        /* увеличиваем шрифт для маленьких экранов */
    }

    .text-side h1 {
        font-size: 30px;
        /* увеличиваем шрифт для маленьких экранов */
    }

    .container {
        width: 100vw;
        /* ширина блока равна ширине окна браузера */
        min-height: 30vw;
        /* минимальная высота блока */
    }

    .text-block h2 {
        font-size: 24px;
    }

    .image-side {
        flex: 0 0 80vw;
        /* ширина левой части фиксирована и равна 30% от ширины окна браузера */
    }
}

@media (max-width: 600px) {
    .container {
        flex-direction: column;
    }

    .text-side {
        height: 70px;
    }

    .text-side p {
        font-size: 4vw;
        /* увеличиваем шрифт для маленьких экранов */
    }

    .text-side h1 {
        font-size: 20px;
        /* увеличиваем шрифт для маленьких экранов */
        padding: 40px;
    }

    .text-block h2 {
        font-size: 20px;
    }

    .container {
        width: 100vw;
        /* ширина блока равна ширине окна браузера */
        min-height: 30vw;
        /* минимальная высота блока */
    }

    .image-side {
        flex: 0 0 90vw;
        /* ширина левой части фиксирована и равна 30% от ширины окна браузера */
    }

}

/*ссылки*/
.links-container {
    display: flex;
    justify-content: center;
    /* Центрирует ссылки в контейнере */
    align-items: center;
    height: 100%;
    /* Может быть изменено в зависимости от вашего дизайна */
    text-align: center;
    /* Центрирует текст в ссылках */
    height: 230px;
}

.link {
    display: flex;
    align-items: center;
    /* Выравнивание иконок с текстом */
    margin: 10px 0;
    /* Отступы между ссылками */
    text-decoration: none;
    /* Убирает подчеркивание текста ссылок */
    color: black;
    /* Цвет текста, может быть изменён */
    margin-left: 30px;
    font-size: 20px;
    font-family: 'MyFont', sans-serif;
    font-weight: 300;
}

@media (max-width: 768px) {
    .links-container {
        flex-direction: column;
        margin-left: 0px;
        margin-right: 30px;
        margin-top: 20px;
    }

    .contact-section {
        flex-direction: column;
    }

    .text-section {
        max-width: none !important;
    }

    .form-section {
        width: 95% !important;
        /* Добавьте !important, если есть конфликты */
        padding: 1px !important;
    }

}


@media (max-width: 1200px) {
    .links-container {
        margin-right: 50px;
        margin-bottom: 20px;
    }

    .link {
        font-size: 16px;
    }

    .text-section {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .links-container {
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .form-section {
        width: 100%;
        /* Сделать полной ширины при 768px и меньше */
    }
}

@media (max-width: 400px) {
    .links-container {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .form-section {
        width: 100%;
        /* Сделать полной ширины при 768px и меньше */
    }
}

.bi {
    font-size: 24px;
    margin-right: 15px;
    /* Отступ между иконкой и текстом */
    color: #1F487E;
}

a.link:hover>p,
a.link:hover .bi-whatsapp {
    color: #D9F0FF;
}

a.link:hover>p,
a.link:hover .bi-telephone-fill {
    color: #D9F0FF;
}

a.link:hover>p,
a.link:hover .bi-linkedin {
    color: #D9F0FF;
}

a.link:hover>p,
a.link:hover .bi-telegram {
    color: #D9F0FF;
}

/*форма и текста*/
.container-contactsection {
    width: 100%;
    background-color: #efedea;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    background-color: #efedea;
}

.text-section {
    max-width: 40%;
}

.form-section {
    background: #efedea;
    padding: 20px;
    width: 50%;
}

.btn_2_convert {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.btn_2 {
    padding: 15px 20px;
    background-color: #225A9D;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-right: auto;
    font-size: 14px;
    font-family: 'MyFontMedium', sans-serif;
    line-height: 1.6;
    font-weight: 700;
    margin-bottom: 30px;
}

h1 {
    color: #333;
    font-size: 52px;
    font-family: 'MyFont', sans-serif;
    font-weight: 700;
}

h2 {
    color: #333;
    font-size: 36px;
    font-family: 'MyFont', sans-serif;
    font-weight: 700;
}

p {
    color: #333;
    font-size: 20px;
    font-family: 'MyFont', sans-serif;
    line-height: 1.4;
    letter-spacing: .25px;
}

form {
    display: flex;
    flex-direction: column;
    color: #333;
}

form label {
    margin-top: 10px;
    margin-bottom: 5px;
    color: #333;
    font-family: 'MyFontBold', sans-serif;
    font-size: 14px;
}

form input[type=text],
form input[type=email],
form input[type=tel],
form select {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #000;
    font-size: 16px;
    font-family: 'MyFont', sans-serif;
    color: #333;
}

form textarea {
    font-family: 'MyFont', sans-serif;
    font-size: 16px;
    overflow-y: hidden;
    color: gray;
    border: 1px solid #333;
    color: #333;
    padding: 10px;
}

input::placeholder {
    color: #333;
    font-family: 'MyFont', sans-serif;
}

textarea::placeholder {
    color: #333;
    font-family: 'MyFont', sans-serif;
}

.btn_2:hover {
    background-color: #EFEDEA;
    border-color: transparent;
}


.contact-us {
    margin: 0px 0px 0px 10px;
    padding: 7px 20px 4px;
    border: 2px solid black;
    background-color: white;
    color: black;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contact-us:hover {
    background-color: #EFEDEA;
    border-color: transparent;
}


#btn {
    width: auto;
    /* Обеспечивает автоматический размер в зависимости от содержимого */
    max-width: 200px;
    /* Максимальная ширина кнопки */
    display: block;
    /* Делает элемент блочным, что позволяет применить margin auto */
    margin-left: auto;
    /* Выравнивает кнопку по центру */
    margin-right: auto;
    padding: 12px 28px;
    border: none;
    border-radius: 0px;
    background-color: #1F487E;
    color: white !important;
    font-family: 'MyFontMedium', sans-serif;
    line-height: 1.6;
    font-weight: 700;
    margin-top: 20px;
}

#btn:hover {
    background-color: #E6E7E7;
    /* Пример цвета кнопки */
}

/*модальное окно*/
.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
}

.popup-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    width: 60%;
    max-width: 600px;
}

.popup-content h2 {
    font-family: 'MyFontBold', sans-serif;
    font-weight: 700;
    font-size: 30px;
}

.popup-content p {
    font-family: 'MyFontBold', sans-serif;
    font-weight: 100;
    font-size: 14px;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}


@media(max-width: 768px) {
    .popup-content h2 {
        font-size: 16px;
    }

    .popup-content p {
        font-size: 10px;
    }
}


/* Подвал */
footer {
    background-color: #143458;
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    /* Элементы footer-content располагаются вертикально */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    text-align: left;
    /* Центрирование навигационных ссылок */
    margin-bottom: 10px;
    /* Добавляем отступ снизу */
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-secondary {
    display: flex;
    justify-content: space-between;
    /* Распределение пространства между элементами */
    align-items: center;
    /* Вертикальное выравнивание элементов */
    flex-wrap: wrap;
    /* Перенос элементов на новую строку, если не хватает места */
}

.social-icons {
    display: flex;
    /* Иконки соцсетей располагаются горизонтально */
    margin-right: 10px;
    /* Добавляем отступ справа */
}

.social-icons a {
    color: #fff;
    margin: 0 5px;
}

.social-icons i {
    font-size: 1.2em;
    /* Размер иконок */
}

.social-icons svg {
    height: 20px;
    width: 20px;
    fill: white;
}

.copyright {
    text-align: center;
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        align-items: center;
    }

    .footer-secondary {
        flex-direction: column;
        /* На маленьких экранах элементы располагаются вертикально */
        align-items: center;
        /* Центрирование элементов */
    }

    .social-icons {
        margin: 10px 0;
        /* Добавляем верхний и нижний отступы */
    }
}