.footer__group-call svg
{
margin-right: 15px!important;
}
#first
{
margin-top:40px;
}
#first2
{
margin-bottom:60px;
}
#first3
{
margin-bottom:120px;
}
#first4
{
margin-top:20px;
}
.special-line-height {
    line-height: 1.5; /* Устанавливаем межстрочный интервал */
}
.footer__group-title.address {
    line-height: 1.5; /* Установите значение, равное межстрочному интервалу для других элементов */
}
.overlay-text .footer__group-social svg {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    opacity: 1;
    transition: opacity 0.3s ease;
}


/* Эффект увеличения при наведении */
.overlay-text .footer__group-call a:hover svg {
    transform: scale(1.2); /* Увеличиваем иконку на 20% при наведении */
}

/* Стили для ссылок с иконками */
.overlay-text .footer__group-call a {
    display: inline-flex;
    align-items: center;
    
    text-decoration: none;
    margin-bottom: 10px;
}

.overlay-text .footer__group-call a:hover {
    text-decoration: underline;
}
.section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.section__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.section__image {
    position: relative;
    width: 50%;
    height: 1053px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 50px;
    background: rgba(0, 0, 0, 0.35)!important;
    color: white;
    display: flex;
    flex-direction: column;
   
    
}
.text-block {
    margin-bottom: 40px; /* Отступ между блоками */
}
.overlay-text .team__title {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.overlay-text .footer__group-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 15px;
}

.overlay-text .footer__group-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-text .footer__group-menu > li {
    margin-bottom: 20px;
}
.overlay-text .footer__group-menu > li:first-child {
    margin-bottom: 10px;
}

/* Для мобильной версии тоже убираем */
@media (max-width: 768px) {
    .overlay-text .footer__group-menu > li:first-child {
        margin-bottom: 10px;
    }
}

.overlay-text .footer__group-social {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-text a {
    color: white;
    text-decoration: none;
}

.overlay-text a:hover {
    text-decoration: underline;
}

.section__map {
    position: relative;
    width: 50%;
    height: 1053px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section__map .info {
    position: absolute; /* Меняем на absolute для позиционирования относительно секции */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
    width: 300px;
}

/* Обновляем медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .section__map .info {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
        margin: 0;
    }
}
.111 {
    border-left: 3px solid #0E370D;
    padding-left: 10px;
}

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

    
    .section__map {
        width: 100%;
        height: auto!important;
    }
.section__image {
        width: 100%;
        height: auto;
    }
    .section__image {
        height: 500px;
    }

    .overlay-text {
        padding: 20px;
    }

    .overlay-text .team__title {
        font-size: 36px;
    }

    .overlay-text .footer__group-title {
        font-size: 1.8rem;
    }

    .section__map .info {
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 20px;
    }
}
@media (max-width: 768px) {
    .section__content {
        flex-direction: column;
    }

    .section__image,
    .section__map {
        width: 100%;
        height: 100vh; /* Высота на весь экран */
    }

    .overlay-text {
        padding: 30px 20px;
    }

    .overlay-text .team__title {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .overlay-text .footer__group-title {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .overlay-text .footer__group-menu {
        margin-top: 20px;
    }

    .overlay-text .footer__group-menu > li {
        margin-bottom: 15px;
    }

    /* Стили для иконок WhatsApp и Telegram */
    .overlay-text .footer__group-call svg {
        width: 24px;
        height: 24px;
        margin-left: 8px;
    }

    /* Стили для социальных иконок */
    .overlay-text .footer__group-social {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }

    .overlay-text .footer__group-social svg {
        width: 24px;
        height: 24px;
    }

    /* Улучшаем читаемость текста */
    .overlay-text {
        background: rgba(0, 0, 0, 0.7); /* Делаем фон немного темнее для лучшей читаемости */
    }

    /* Увеличиваем отступы между блоками */
    .overlay-text > * + * {
        margin-top: 15px;
    }

    /* Стили для email и адреса */
    .overlay-text a {
        word-break: break-word; /* Предотвращаем выход длинных строк за пределы экрана */
    }

    /* Стили для карты */
    .section__map iframe {
        height: 50vh; /* Уменьшаем высоту карты на мобильных */
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 375px) {
    .overlay-text .team__title {
        font-size: 28px;
    }

    .overlay-text .footer__group-title {
        font-size: 16px;
    }

    .overlay-text {
        padding: 20px 15px;
    }
}
.team__title {
    white-space: nowrap; /* Запрещаем перенос строки */
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

@media (max-width: 768px) {
    .team__title {
        font-size: 32px;
    }
}
.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    padding-left: 70px; /* Добавляем общий отступ слева */
}

/* Стили для заголовков */
.overlay-text .team__title {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.overlay-text .footer__group-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 15px;
}

/* Стили для списка */
.overlay-text .footer__group-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-text .footer__group-menu > li {
    margin-bottom: 20px;
    line-height: 1.5; /* Единый межстрочный интервал */
}

/* Стили для ссылок */
.overlay-text a {
    color: white;
    text-decoration: none;
}

.overlay-text a:hover {
    text-decoration: underline;
}

/* Стили для социальных сетей */
.overlay-text .footer__group-social {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-text .footer__group-social svg {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .overlay-text .team__title {
        font-size: 42px !important;
        margin-bottom: 20px !important;
    }

    .overlay-text .footer__group-title {
        font-size: 2.4rem !important;
        margin-bottom: 15px !important;
    }

    .overlay-text {
        padding: 40px !important;
    }

    .text-block {
        margin-bottom: 30px !important;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .overlay-text .team__title {
        font-size: 36px !important;
        margin-bottom: 15px !important;
        white-space: normal !important;
    }

    .overlay-text .footer__group-title {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }

    .overlay-text {
        padding: 30px !important;
    }

    .text-block {
        margin-bottom: 25px !important;
    }

    #first {
        margin-top: 30px !important;
    }

    #first2 {
        margin-bottom: 40px !important;
    }

    #first3 {
        margin-bottom: 80px !important;
    }

    #first4 {
        margin-top: 15px !important;
    }

    .footer__group-call svg {
        width: 28px !important;
        height: 28px !important;
        margin-right: 12px !important;
    }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .overlay-text .team__title {
        font-size: 32px !important;
    }

    .overlay-text .footer__group-title {
        font-size: 1.8rem !important;
    }

    .overlay-text {
        padding: 25px !important;
    }

    .text-block {
        margin-bottom: 20px !important;
    }

    .footer__group-call svg {
        width: 26px !important;
        height: 26px !important;
        margin-right: 10px !important;
    }
}

/* Очень маленькие мобильные устройства (до 420px) */
@media (max-width: 420px) {
    .overlay-text .team__title {
        font-size: 28px !important;
    }

    .overlay-text .footer__group-title {
        font-size: 1.6rem !important;
    }

    .overlay-text {
        padding: 20px !important;
    }

    .text-block {
        margin-bottom: 15px !important;
    }

    #first {
        margin-top: 20px !important;
    }

    #first2 {
        margin-bottom: 30px !important;
    }

    #first3 {
        margin-bottom: 40px !important;
    }

    #first4 {
        margin-top: 10px !important;
    }

    .footer__group-call svg {
        width: 24px !important;
        height: 24px !important;
        margin-right: 8px !important;
    }

    .footer__group-social {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .footer__group-social svg {
        width: 22px !important;
        height: 22px !important;
    }

    .footer__group-menu {
        margin-bottom: 10px !important;
    }

    .footer__group-menu > li {
        margin-bottom: 10px !important;
    }
}