/* Основные стили остаются */

@font-face {
    font-family: 'Archivo Black';
    src: url('../Шрифт/ArchivoBlack-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Archivo';
    src: url('/Шрифт/Archivo-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color1: #008000;
    --text: rgb(255, 255, 255);
}

body {
    font-family: 'Archivo Black', sans-serif;
}

.custom-font {
    font-family: 'Archivo', sans-serif;
}

header {
    height: 100px;
    background: var(--color1);
    color: white;
    font-size: 20px;
    
    
}

.header-container, .header-container3 {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.header-image {
    width: 100%;
    height: auto;
}

.text-overlay {
    position: absolute;
    top: 25%;
    left: 19%;
    color: white;
    text-align: left;
}

.line1 {
    font-size: 64px;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 1.2;
}

.line2 {
    font-size: 36px;
    font-weight: 100;
    margin-bottom: 20px;
}

.cta-button {
    padding: 25px 30px;
    font-size: 16px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: white;
    color: rgb(0, 0, 0);
}

.unique-image {
    display: block;
    margin: auto;
    width: 1200px;
    height: 347px;
    margin-top: 50px;
}

.line3 {
    font-size: 60px;
    font-weight: normal;
    margin-bottom: 10px;
}

/* Адаптация для мобильных устройств с шириной экрана 844px и меньше */
@media screen and (max-width: 844px) {
    .line1 {
        font-size: 40px; /* Уменьшаем размер шрифта */
        margin-bottom: 10px;
    }

    .line2 {
        font-size: 24px; /* Уменьшаем подзаголовок */
        margin-bottom: 15px;
    }

    .line3 {
        font-size: 32px; /* Уменьшаем третий заголовок */
        margin-bottom: 8px;
    }

    .cta-button {
        padding: 15px 20px; /* Уменьшаем размеры кнопки */
        font-size: 14px; /* Меньший текст */
    }

    .text-overlay {
        top: 15%; /* Уменьшаем отступ сверху */
        left: 10%; /* Отступ слева */
        text-align: center; /* Центрируем текст */
    }

    .header-container, .header-container3 {
        max-width: 100%; /* Полная ширина для мобильных */
    }

    .unique-image {
        width: 100%; /* Изображение на всю ширину */
        height: auto; /* Поддерживаем пропорции изображения */
        margin-top: 20px; /* Меньший отступ сверху */
    }

    header {
        height: 80px; /* Меньшая высота header */
        font-size: 16px; /* Меньший размер шрифта */
    }
}


.cards-container {
    
        display: flex;
        flex-direction: column; /* Размещение элементов по вертикали */
        align-items: center; /* Горизонтальное выравнивание по центру */
        justify-content: center; /* Вертикальное выравнивание */
        text-align: center; /* Центрируем текст внутри .line3 */
}
.cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две карточки в строку */
    gap: 20px; /* Отступы между карточками */
    justify-items: center; /* Центрирование карточек внутри ячеек */
    justify-content: center; /* Центрирование карточек в контейнере */
    max-width: 1920px; /* Ограничиваем ширину контейнера */
    margin: 0 auto; /* Центрирование контейнера */
   

}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 587px;
    height: 246px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
}

.card-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 60%;
}

.card-text h2 {
    font-size: 32px;
    font-weight: normal; /* Убираем жирность */
    
    margin: 0;
}

.card-text p {
    font-size: 24px;
    font-weight: normal;/* Убираем жирность */
    color: rgb(0, 0, 0);
}



.card-btn {
    padding: 10px 20px;
    border: 2px solid green;
    background-color: white;
    color: green;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    height: 61px; /* Укажите нужную высоту */
    width: 188px; /* Укажите нужную ширину */
    margin-top: 0px; /* Добавляем отступ сверху */
}

 .card-btn:hover {
    background-color: green;
    color: white;
}

.card-image {
    width: 50%; /* Ширина изображения на половину карточки */
    height: 100%; /* Высота изображения на всю карточку */
    object-fit: cover; /* Картинка обрезается, сохраняя пропорции, чтобы заполнить пространство */
    border-radius: 0; /* Убираем закругления */
}

.button-container2 {
    margin-top: 40px; /* Добавляем отступ сверху */
    margin-bottom: 40px; /* Отступ снизу */
}



.header-container3 {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 50px; /* Отступ сверху для разделения блоков */
}

.header-container3 .header-image {
    width: 100%;
    height: auto;
}

.header-container3 .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

@media (max-width: 844px) {

    /* Адаптируем контейнер с карточками */
    .cards {
        grid-template-columns: 1fr; /* Одну карточку в строку */
        gap: 15px; /* Уменьшаем отступы между карточками */
        padding: 10px; /* Добавляем отступы для небольших экранов */
    }

    /* Адаптируем саму карточку */
    .card {
        flex-direction: column; /* Размещаем текст и изображение вертикально */
        max-width: 100%; /* Убираем ограничение ширины, чтобы карточка занимала всю ширину */
        height: auto; /* Высота автоматически подстраивается под контент */
    }

    /* Адаптируем текст в карточке */
    .card-text {
        max-width: 100%; /* Текст теперь занимает всю ширину карточки */
        padding: 15px; /* Уменьшаем внутренние отступы */
        text-align: center; /* Центрируем текст */
    }

    .card-text h2 {
        font-size: 24px; /* Уменьшаем размер заголовка */
    }

    .card-text p {
        font-size: 18px; /* Уменьшаем размер параграфа */
    }

    /* Адаптируем изображение карточки */
    .card-image {
        width: 100%; /* Изображение занимает всю ширину карточки */
        height: auto; /* Высота изображения автоматически подстраивается */
        object-fit: cover; /* Изображение обрезается, сохраняя пропорции */
    }

    /* Адаптируем кнопку в карточке */
    .card-btn {
        width: 150px; /* Уменьшаем ширину кнопки */
        height: 50px; /* Уменьшаем высоту кнопки */
        font-size: 16px; /* Уменьшаем размер текста на кнопке */
    }

    /* Адаптируем отступы для контейнера с кнопками */
    .button-container2 {
        margin-top: 20px; /* Уменьшаем отступ сверху */
        margin-bottom: 20px; /* Уменьшаем отступ снизу */
    }

    /* Адаптируем заголовок и изображение */
    .header-container3 {
        margin-top: 30px; /* Уменьшаем отступ сверху */
    }

    .header-container3 .header-image {
        width: 100%; /* Изображение занимает всю ширину */
        height: auto; /* Высота автоматически подстраивается */
    }

    .header-container3 .text-overlay {
        font-size: 18px; /* Уменьшаем размер текста в оверлее */
    }
}













.feedback-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.feedback-image {
    width: 100%;
    min-height: 300px; /* Минимальная высота */
    display: block;
}

.feedback-text-overlay {
    position: absolute;
    top: 8%;
    left: 21%;
    color: white;
    text-align: left;
    line-height: 1.2;
}

.feedback-text-overlay h2 {
    font-size: 48px;
    font-weight: 100;
    margin: 10px 0;
}

.feedback-text-overlay p {
    font-size: 24px;
    font-weight: 100;
    margin: 10px 0;
}

.feedback-input-container {
    position: absolute; /* Абсолютное позиционирование */
    top: 120%; /* Отступ сверху, чтобы переместить контейнер ниже */
    left: 0%; /* Позиционирование по горизонтали */
    transform: translateY(-50%); /* Центрирует контейнер по вертикали относительно родителя */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px; /* Расстояние между элементами */
    width: 100%;
    max-width: 800px; /* Ширина контейнера */
}

.feedback-input {
    background-color: #d9d9d9 !important;  /* Белый фон для поля ввода */
    color: #333333 !important; /* Цвет текста */
    font-size: 18px; /* Увеличение размера текста */
    border: 2px solid #d9d9d9; /* Светло-серая рамка */
    border-radius: 20px;
    padding: 10px;
    box-sizing: border-box;
    outline: none; /* Убираем стандартное выделение */
    transition: border-color 0.3s; /* Плавное изменение цвета рамки */
}

/* Цвет плейсхолдера */
.feedback-input::placeholder {
    color: #000000; /* Цвет плейсхолдера */
    opacity: 0.7;
}

/* Эффект при фокусе (при нажатии на поле ввода) */
.feedback-input:focus {
    border-color: #00796b; /* Зеленая рамка при фокусе */
    background-color: #ffffff; /* Белый фон при фокусе */
}



.feedback-button {
    width: 225px;
    height: 61px;
    background-color: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    line-height: 61px;
    text-align: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.feedback-button:hover {
    background-color: #218838; /* Более темный зеленый при наведении */
}










/* Основной контейнер */
.visa-steps-container {
    width: 100%; /* Занимает всю ширину экрана */
    max-width: 1920px; /* Максимальная ширина */
    height: auto; /* Высота автоматически подстраивается */
    background-color: #e6f4e4; /* Бледно-зеленый фон */
    padding: 40px; /* Отступы внутри контейнера */
    box-sizing: border-box;
    margin: 0 auto; /* Центрирование */
    font-family: 'Archivo', sans-serif; /* Применение шрифта Archivo */
    position: relative; /* Для работы с позиционированием элементов */
    overflow-x: auto; /* Добавляем горизонтальную прокрутку */
}

/* Контейнер для контента */
.visa-steps-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    color: #333;
}

/* Заголовок h2 */
h2 {
    font-size: 48px; /* Фиксированный размер для больших экранов */
    font-weight: 100;
    margin-bottom: 60px;
}

/* Стиль для каждого шага */
.step {
    width: 100%; /* Сделаем шаги адаптивными */
    max-width: 1141px; /* Максимальная ширина */
    min-height: 167px;
    box-sizing: border-box;
    margin: 0 auto 40px;
    position: relative;
    padding-left: 60px;
    text-align: left;
}

/* Заголовок h3 в шаге */
.step h3 {
    font-size: 24px; /* Фиксированный размер для больших экранов */
    font-weight: bold;
    color: #008000;
    margin-bottom: -5px;
    position: relative;
}

/* Круг перед заголовком */
.step h3::before {
    content: "";
    position: absolute;
    left: -45.5px;
    top: 50%;
    transform: translateY(220%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #008000;
}

/* Описание каждого шага */
.step p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* Горизонтальная линия между шагами */
hr {
    border: none;
    height: 2px;
    background-color: #008000;
    margin: 20px 0;
}

/* Вертикальная линия рядом с каждым шагом */
.step::before {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 2px;
    height: 300px;
    background-color: #008000;
}




.contacts-container {
    font-family: 'Archivo', sans-serif;
    width: 100%; /* Ширина контейнера растягивается на всю ширину родителя */
    max-width: 1200px; /* Ограничиваем максимальную ширину контейнера */
    background-color: #ffffff;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание элементов по верху */
    display: flex; /* Горизонтальное размещение контактов и карты */
    justify-content: space-between; /* Равномерное распределение между колонками */
    border-radius: 10px;
}

.contacts-container h2 {
    font-size: 48px;
    color: #000000;
    margin-top: 0;
    margin-bottom: 35px;
    text-align: center;
    width: 100%;
}

.contacts-content {
    display: flex; /* Горизонтальное размещение контактов и карты */
    justify-content: space-between;
    width: 100%;
}

.contacts-info {
    width: 50%; /* Левая колонка */
    margin-top: 50px; /* Добавляем отступ сверху */
}

.contacts-info p {
    font-size: 24px;
    color: #000000;
}

.contacts-map {
    width: 45%; /* Правая колонка для карты */
}

.yandex-map {
    width: 100%; /* Карта занимает всю ширину правой колонки */
    height: 400px; /* Высота карты */
}
.contact-details1 {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    color: #000000;
}

.contact-details1 i {
    margin-right: 30px; /* Отступ между иконкой и текстом */
    font-size: 32px; /* Размер иконки */
    color: #000000; /* Цвет иконки */
}



.footer-container {
    background-color: #008000;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-family: 'Archivo', sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Верхняя часть с логотипом, телефоном и соц. иконками */
.footer-top {
    display: flex;
    justify-content: space-between; /* Равномерное распределение элементов */
    align-items: center;
    width: 100%; /* Полная ширина контейнера */
    margin-bottom: 20px;
}

.footer-logo img {
    width: 200px; /* Размер логотипа */
}

.footer-contacts {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Равномерное распределение телефона и иконок */
    gap: 40px; /* Отступ между телефоном и иконками */
}

.phone {
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 15px; /* Расстояние между иконками */
}

.social-icons a {
    font-size: 24px;
    color: white;
    text-decoration: none;
}

/* Нижняя часть с ссылками и кнопкой */
.footer-bottom {
    display: flex;
    justify-content: space-between; /* Равномерное распределение */
    align-items: center;
    width: 100%; /* Полная ширина контейнера */
    margin-top: 20px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    width: 80%; /* Задает ширину для контейнера с ссылками */
    margin-left: -100px; /* Сдвигаем контейнер с ссылками левее */
}

.footer-links a {
    flex-grow: 1; /* Каждая ссылка займет одинаковую ширину */
    text-align: center; /* Центрирование текста внутри ссылок */
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.cta-button {
    padding: 20px 20px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cta-button:hover {
    background-color: white;
    color: #008000;
}




.button-container {
    font-family: 'Archivo', sans-serif; 
    display: flex;
    justify-content: center; /* Центрируем кнопки */
    gap: 300px; /* Устанавливаем расстояние между картинками */
    margin: 30px;
}

.button-item {
    text-align: center;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

button img {
    width: 140px; /* Размер изображения */
    height: auto;
}

button p {
    
    font-size: 20px;
    
    margin-bottom: 20px;
}

/* Адаптация для мобильных устройств с шириной экрана 844px и меньше */
@media screen and (max-width: 844px) {
    .button-container {
        flex-direction: column; /* Перестраиваем кнопки по вертикали */
        gap: 30px; /* Уменьшаем расстояние между кнопками */
        margin: 20px; /* Сокращаем отступ */
    }

    .button-item {
        text-align: center; /* Сохраняем центрирование */
    }

    button img {
        width: 100px; /* Уменьшаем размер изображения для мобильных устройств */
        height: auto;
    }

    button p {
        font-size: 16px; /* Уменьшаем размер текста */
        margin-bottom: 10px; /* Уменьшаем отступ под текстом */
    }
}


/* Адаптация под мобильные устройства с шириной экрана 480px и меньше */
@media screen and (max-width: 480px) {
    .line1 {
        font-size: 32px; /* Ещё меньше для совсем маленьких экранов */
    }

    .line2 {
        font-size: 20px;
    }

    .line3 {
        font-size: 28px;
    }

    .cta-button {
        padding: 10px 15px; /* Меньше кнопка */
        font-size: 12px; /* Ещё меньший текст */
    }

    .text-overlay {
        top: 10%; /* Ещё меньше отступ сверху */
        left: 5%; /* Меньше отступ слева */
        text-align: center;
    }

    header {
        height: 60px; /* Меньшая высота header */
        font-size: 14px; /* Меньший размер шрифта */
    }

    .header-container3 {
        margin-top: 20px;
    }

    .cards {
        gap: 10px; /* Уменьшаем отступы между карточками */
    }

    .card-btn {
        width: 120px; /* Ещё меньшая ширина кнопки */
        height: 40px; /* Ещё меньшая высота кнопки */
        font-size: 14px; /* Ещё меньше размер текста */
    }

    .feedback-text-overlay h2 {
        font-size: 32px;
    }

    .feedback-text-overlay p {
        font-size: 18px;
    }

    .feedback-input {
        font-size: 16px;
        padding: 8px;
    }

    .visa-steps-container {
        padding: 20px; /* Уменьшаем отступы */
    }

    .step h3 {
        font-size: 18px;
    }

    .step p {
        font-size: 14px;
    }

    .contacts-info p {
        font-size: 18px;
    }

    .contacts-container h2 {
        font-size: 32px;
    }

    .footer-container {
        padding: 20px 0;
    }
}




.footer-soc {
    display: flex
;
    align-items: center;
}

.footer-menu {
    display: flex
;
    align-items: center;
    grid-gap: 20px;
    color: var(--text2);
}

@media (max-width: 860px) {
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        grid-gap: 20px;
        margin-bottom: 50px;
    }
}

footer .container {
    position: relative;
    display: flex
;
    justify-content: space-between;
    align-items: center;
    grid-gap: 60px;
}


.container {
    position: relative;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
}