

body {
    font-family: Arial, sans-serif;
    background-color:#fff;
;

}

.container2 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}



.container {
    padding: 10px 0;
    max-width: 1200px;
}

.logo-info {
    display: flex;
    justify-content: space-between; 
    max-width: 1200px;
    margin-left: 10px;
}
.logo img {
    max-width: 60px;
}

/* Контейнер для верхней части хедера */
.top-header .container {
    display: flex;
    align-items: center; /* Выровнять все элементы по вертикали */
    justify-content: space-between;
}

/* Логотип */
.logo {
    margin-bottom: 10px; 
}

/* Основные стили для контейнера */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* Левый блок (заголовок) */
.logo-info {
    flex: 1;
    text-align: left;
}

/* Центральный блок (текст) */
.center-text {
    flex: 1;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Правый блок (социальные ссылки) */
.social-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Стиль для текста "Опыт достойный доверия" */
.tagline {
    font-style: italic;
    font-size: 50px;
    color: #012d61;
    font-family: "Georgia", serif;
    margin: 10px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between elements */
}

.button-container {
    margin-right: auto; /* Pushes social icons to the right of the button */
}

.social-icon {
    font-size: 1.5em; /* Adjust icon size as needed */
    text-decoration: none;
}




/* Контакты */
.contact-info {
    text-align: right;
    font-size: 0.7em;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column; /* Элементы располагаются в колонку на маленьких экранах */
        align-items: center; /* Центрирование элементов */
    }

    .language-switcher {
        margin-right: 0;
        margin-bottom: 10px; /* Отступ снизу на мобильных экранах */
    }

    .center-info {
        text-align: center;
        margin-top: 10px;
    }

    .contact-info {
        text-align: center;
        margin-top: 10px;
    }
}

.center-info {
    text-align: left;
    flex-grow: 1; /* Центр расширяется, чтобы оставаться посередине */
}

.center-info h1 {
    font-size: 1em;
    color: #012d61;
    margin-right: 10px;
}

.center-info p {
    color:  #576074;
}

.contact-info {
    text-align: right;
    font-size: 0.8em;
}

.contact-info .contact-item {
    margin-bottom: 5px;
}

.contact-info a {
    color:  #576074;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Основные стили */
body {
    font-family: Arial, sans-serif;
    margin: 10px;
    padding: 10px;
}

/* Контейнер навигации */
.nav-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Гамбургер и кнопка закрытия */
.hamburger, .close-menu {
    font-size: 24px;
    cursor: pointer;
    color: #333;
    display: none; /* Показываем гамбургер только на мобильной версии */
}

/* Основное меню */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0066cc;
}

/* Подменю для ПК: две колонки с подчеркиванием текста */
.nav-menu li ul {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    margin: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    column-count: 2; /* Две колонки */
    column-gap: 20px;
}

.nav-menu li ul li a {
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    text-decoration: underline; /* Подчеркивание текста */
    transition: color 0.3s, background-color 0.3s;
}

.nav-menu li ul li a:hover {
    color: #0066cc;
    background-color: #f0f0f0;
}

/* Показ подменю при наведении на ПК */
@media (min-width: 769px) {
    .nav-menu li:hover > ul {
        display: block;
    }
}

/* Мобильные стили */
@media (max-width: 768px) {
    /* Гамбургер для мобильной версии */
    .hamburger {
        display: block;
    }
    .close-menu {
        display: block;
        align-self: flex-end;
        margin-bottom: 10px;
    }

    /* Контейнер меню для мобильной версии */
    .nav-menu-container {
        display: none; /* Скрыто по умолчанию */
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
        padding-top: 60px;
        z-index: 1000;
    }

    /* Основное меню в виде колонок */
    .nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Подменю для мобильной версии */
    .nav-menu li ul {
        display: none;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding-left: 20px;
    }

    /* Показ подменю на мобильной версии при добавлении класса show */
    .show > ul {
        display: block;
    }

    /* Стиль ссылок подменю на мобильной версии */
    .nav-menu li ul li a {
        padding: 10px 15px;
        font-size: 14px;
        color: #333;
        text-decoration: none; /* Без подчеркивания на мобильной версии */
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* Показываем гамбургер только на мобильных */
    }
    .close-menu {
        display: none; /* По умолчанию скрыта кнопка закрытия */
    }
    .nav-menu-container {
        display: none; /* Скрыто по умолчанию */
        flex-direction: column;
        align-items: flex-start;
    }
}

.dropdown, .dropdown1 {
    display: none; /* Скрыто по умолчанию */
}

.show > .dropdown,
.nested-show > .dropdown1 {
    display: block; /* Показать при добавлении класса */
}

/* For mobile menu display */
.has-dropdown ul.dropdown1 {
    display: none;
}

.has-dropdown.nested-show ul.dropdown1 {
    display: block;
}

/* Основные стили для скрытого подменю */
.has-dropdown ul.dropdown1 {
    display: none;
    flex-direction: column; /* Вертикальное расположение */
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
    max-height: 0; /* Скрыто изначально */
    transition: max-height 0.3s ease; /* Плавное раскрытие */
}

/* Показ подменю при активном классе nested-show */
.has-dropdown.nested-show ul.dropdown1 {
    display: flex;
    max-height: 500px; /* Подгоните под размер контента */
}

/* Стили для каждого элемента подменю */
.has-dropdown ul.dropdown1 li {
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
}

.has-dropdown ul.dropdown1 li a {
    text-decoration: none;
    color: #333;
}

/* Стили для мобильной версии */
@media (max-width: 768px) {
    .has-dropdown ul.dropdown1 {
        display: none; /* Скрыто по умолчанию на мобильных */
    }

    .has-dropdown.nested-show ul.dropdown1 {
        display: flex;
        flex-direction: column;
        max-height: 500px; /* Показ при активном классе */
    }

    /* Настройки для удобства на мобильных устройствах */
    .has-dropdown ul.dropdown1 li {
        padding: 15px;
    }
}


header {
    background:#fff ;
    color: #012d61;

}

header h1 {
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
    font-size: 1em;
}

.logo img {
    vertical-align: middle;
    border-radius: 50%;
}

/* Стили для социальных иконок в шапке */
.social-links {
    display: flex; /* Используем flexbox для выравнивания иконок */
    align-items: center; /* Выравнивание по вертикали */
}

.social-icon {
    margin: 0 10px; /* Отступы между иконками */
    text-decoration: none; /* Убираем подчеркивание */
    font-size: 24px; /* Размер иконок */
}

.social-icon:hover {
    color: #012d61; /* Цвет при наведении */
}

.social-links .social-icon:hover {
    color: yellow; /* Изменение цвета при наведении */
}


.center-info h1 {
    font-size: 1em;
    margin-bottom: 10px; /* Отступ после заголовка */
}

.center-info p {
    font-size: 1em;
}


/* Кнопки */
.btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #012d61;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s;
    justify-content: center;
}

.btn:hover {
    background-color: #12a1c5;  

}

.slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* Стиль кнопки */
.slide-button {
    position: absolute;
    bottom: 20px; /* Отступ от нижнего края */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #61a832; /* Цвет кнопки с прозрачностью */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.slide-button:hover {
    background-color:#213812; /* Цвет кнопки при наведении */
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.slide.active {
    left: 0;
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    background: #555; /* Прозрачный фон для улучшения читаемости текста */
    padding: 10px 20px;
    border-radius: 5px;
    width: 80%; /* Чтобы текст не выходил за края слайда */
}

/* Секции */
section {
    padding: 40px 0;
}

section.about-us, section.news {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.about-us p {
    font-size: 1.1em;
    line-height: 1.8;
}

/* Стили для раздела "Доступный главный врач" */
.available-doctor {
    background-color: #e3f2fd; /* Светло-голубой фон */
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px; /* Отступ сверху */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Тень для эффекта */
}

.available-doctor h2 {
    text-align: center;
    color: #012d61;
    margin-bottom: 15px; /* Отступ снизу */
}

.doctor-info {
    display: flex; /* Горизонтальное расположение фото и текста */
    align-items: center; /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
}

.doctor-photo {
    border-radius: 50%; /* Круглая форма фото */
    width: 200px; /* Ширина фото */
    height: 200px; /* Высота фото */
    margin-right: 20px; /* Отступ справа от фото */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Тень для фото */
}

.doctor-text {
    max-width: 600px; /* Максимальная ширина текста */
    color: #333;
}

.doctor-text p {
    margin-bottom: 10px; /* Отступ между абзацами */
    line-height: 1.5; /* Высота строки */
    color: #555;
}

@media (max-width: 768px) {
    .doctor-info {
        flex-direction: column; /* Stack photo and text vertically */
        align-items: center; /* Center-align on small screens */
    }

    .doctor-photo {
        width: 150px; /* Reduce photo size for mobile */
        height: 150px;
        margin-right: 0; /* Remove margin for centered alignment */
        margin-bottom: 15px; /* Add space below the photo */
    }

    .doctor-text {
        padding: 0 10px; /* Add padding to prevent overflow */
        text-align: center; /* Center text for better readability */
    }
}


/* Мультиязычность */
.language-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-toggle a {
    color: white;
    background: #0e839c;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    text-decoration: none;
    margin-left: 10px;
}

.language-toggle a:hover {
    background: #12a1c5;
}
.hero {
    position: relative; /* Для наложения контента поверх фона */
    border-left: 5px solid #4caf50;
    padding: 25px 20px;
    font-family:Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    background: url('assets/images/korpus.jpg') center/cover no-repeat, 
                linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.9));
    background-blend-mode: overlay; /* Смешивание фона и градиента */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 20px auto;
    color: #333;
}

.hero p:first-child {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.7); /* Светлый фон для текста */
    padding: 10px;
    border-radius: 8px;
}

.hero .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #61a832;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.hero .btn:hover {
    background-color: #4caf50;
    transform: translateY(-3px); /* Легкий подъем при наведении */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.services-overview {
    background-color: #e3f2fd; /* Light blue background */
    padding: 30px; /* Spacing for comfort */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
    color: #333; /* Main text color */
    font-family: Arial, sans-serif; /* Consistent font */
    line-height: 1.6; /* Improved readability */
}

.services-overview h2, .services-overview h3 {
    text-align: center;
    color: #012d61; /* Deep blue color for headings */
    margin-bottom: 15px; /* Space below headings */
    font-weight: bold; /* Emphasis on headings */
}

.services-overview h2 {
    font-size: 2em; /* Slightly larger font for main heading */
}

.services-overview h3 {
    font-size: 1.6em; /* Slightly smaller font for subheadings */
}

.services-overview p {
    font-size: 1.1em; /* Consistent paragraph size */
    color: #555; /* Slightly lighter color for contrast */
    margin: 10px 0; /* Space between paragraphs */
    text-align: center; /* Center-aligned text */
}

.services-overview ul {
    list-style-type: none; /* No bullet points */
    padding: 0;
    margin: 20px 0; /* Space around list */
    display: flex;
    flex-direction: column; /* Align items vertically */
    gap: 10px; /* Space between list items */
}

.services-overview ul li {
    font-size: 1.1em;
    color: #333;
    text-align: center;
    line-height: 1.6; /* Line height for readability */
}

.services-overview ul li::before {
    content: "•"; /* Custom bullet symbol */
    color: #012d61; /* Matches heading color */
    margin-right: 8px; /* Space after bullet */
}

.contact-info {
    font-size: 1.1em; /* Base font size for the contact info section */
    color: #333;
}

.contact-info .phone-number {
    font-size: 1.4em; /* Larger font size for the phone number */
    color: #012d61; /* Color matching other headings for emphasis */
    font-weight: bold;
}

/* Общий стиль */
* {
    margin: 0;
    padding: 0;
}


/* Общие стили для кнопок в меню */
nav ul li .button {
    background-color: #61a832;  
    color: #fff;  /* Белый текст */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Стили при наведении */
nav ul li .button:hover {
    background-color: #213812;  
}

/* Для выделения кнопок от остального меню */
nav ul li .button {
    margin-left: 15px;
}

/* Стили для контейнера с карточками */
.info-cards {
    display: flex;
    justify-content: space-around; /* Равномерное распределение карточек */
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f9fa; /* Фон секции */
    border-radius: 10px;
}

/* Стили для отдельных карточек */
.info-cards .card {
    text-align: center; /* Центрируем текст */
    padding: 20px;
    background-color: #fff; /* Фон карточки */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень для объема */
    border-radius: 30px;
    width: 150px; /* Ширина каждой карточки */
    transition: transform 0.3s ease; /* Анимация при наведении */
}

/* Стили для заголовков (цифры) в карточках */
.info-cards .card h3 {
    font-size: 36px;
    color: #12a1c5; /* Синий цвет цифр */
    margin: 0;
}

/* Стили для описания под цифрами */
.info-cards .card p {
    font-size: 18px;
    color: #333;
    margin: 10px 0 0;
}

/* Эффект увеличения карточки при наведении */
.info-cards .card:hover {
    transform: scale(1.05); /* Небольшое увеличение */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Увеличенная тень */
}
/* Адаптивность */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.4em;
        text-align: center;
        margin: 0;
    }

    .logo {
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .slider {
        height: 250px;
    }

    .section-title {
        font-size: 1.4em;
    }

    .language-toggle {
        top: 10px;
        right: 10px;
    }

    /* Адаптивность для карточек */
    .info-cards {
        flex-direction: column; /* Строки карточек становятся колонками */
        align-items: center; /* Центрируем карточки */
    }
    
    .card {
        flex: 1 1 100%; /* Каждая карточка занимает 100% ширины */
        margin: 10px 0; /* Отступ между карточками по вертикали */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2em;
    }

    .slider {
        height: 200px;
    }

    .about-us, .news {
        padding: 15px;
    }

    .btn {
        padding: 8px 15px;
    }

    nav ul li {
        margin: 10px 0;
    }

    /* Адаптивность для карточек на очень маленьких экранах */
    .info-cards {
        padding: 0 10px; /* Добавляем небольшой отступ */
    }
    
    .card {
        flex: 1 1 100%; /* Каждая карточка занимает 100% ширины */
        margin: 10px 0; /* Отступ между карточками по вертикали */
        padding: 15px; /* Увеличиваем отступ внутри карточек для лучшего восприятия */
    }
}

/* Стили для кнопок */
.button-container {
    display: flex; /* Используем Flexbox для выравнивания */
    justify-content: center; /* Центрирование кнопок по горизонтали */
    margin-top: 20px; /* Отступ сверху, если нужно */
}

.button-container button {
    margin: 0 10px; /* Отступы между кнопками */
}

.sidebar {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0; /* Отступ сверху и снизу */
    max-width: 300px; /* Максимальная ширина бокового блока */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    color: #0077b5;
    margin-bottom: 15px;
    text-align: center;
}

.button-container {
    display: flex;
}

.button {
    background-color: #61a832;
    color: white;
    padding: 10px 15px;
    margin: 5px 0; /* Отступы между кнопками */
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

.button:hover {
    background-color: #005f8d;
}

.sidebar h3 {
    margin-top: 15px;
    margin-bottom: 5px;
}

.sidebar ul {
    list-style-type: none; /* Убираем маркеры списка */
    padding: 0;
}

.sidebar ul li {
    margin: 5px 0; /* Отступы между элементами списка */
}

.sidebar ul li a {
    color: #0077b5;
    text-decoration: none;
}

.sidebar ul li a:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}
.sidebar ul {
    list-style-type: none; /* Убираем маркеры списка */
    padding: 0;
}

.sidebar ul li {
    margin: 5px 0; /* Отступы между элементами списка */
}

.sidebar ul li a {
    color: #0077b5;
    text-decoration: none;
    display: flex; /* Для выравнивания текста и иконок */
    align-items: center; /* Центрирование иконки и текста по вертикали */
}

.sidebar ul li a i {
    margin-right: 8px; /* Отступ между иконкой и текстом */
}

/* Основной стиль раздела новостей */
.section-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    color: #012d61;
    padding: 1rem;
  }
  
  .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Отображаем 4 колонки на ПК */
    gap: 1rem;
    padding: 1rem;
    max-width: 1000px;
    margin: auto;
  }
  
  .news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s;
  }
  
  .news-card:hover {
    transform: scale(1.02);
  }
  
  .news-card-image {
    width: 100%;
    height: 150px; /* Уменьшенная высота изображения */
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }
  
  .news-card-content {
    padding: 0.8rem; /* Уменьшенные отступы */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .news-card-title {
    font-size: 1rem; /* Уменьшенный размер шрифта */
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin-bottom: 0.5rem;
  }
  
  .news-card-title:hover {
    text-decoration: underline;
  }
  
  .news-card-date {
    font-size: 0.85rem; /* Уменьшенный размер шрифта для даты */
    color: #999;
  }
  
  .all-news-link {
    display: block;
    text-align: right;
    font-size: 0.9rem; /* Уменьшенный размер шрифта для ссылки */
    color: #007bff;
    text-decoration: none;
    margin-top: 1rem;
  }
  
  .all-news-link:hover {
    text-decoration: underline;
  }
  
  /* Адаптивность для мобильных устройств */
  @media (max-width: 1024px) {
    .news-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 колонки для планшетов */
    }
  }
  
  @media (max-width: 768px) {
    .news-grid {
      grid-template-columns: repeat(1, 1fr); /* 1 колонка для мобильных устройств */
    }
    
    .news-card-image {
      height: 120px; /* Ещё меньше высота изображения для мобильных */
    }
  }
  
/* Base container style */
.header-extras {
    display: flex;
    justify-content: flex-end;
    font-family: Arial, sans-serif;
}

/* Default style for language links */
.language-switcher a {
    text-decoration: none;
    color: #666; /* Default color for inactive language */
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
    font-weight: normal;
    border-radius: 4px;
}

/* Hover effect for inactive links */
.language-switcher a:not(.active-language):hover {
    color: #007bff;
    background-color: #f0f0f0;
}

/* Active language style */
.language-switcher a.active-language {
    color: #ffffff;
    background-color: #007bff;
    font-weight: bold;
    border-radius: 4px;
    pointer-events: none; /* Чтобы нельзя было кликнуть на активный язык */
}



.button-container {
    margin: 0; /* Убираем любые дополнительные отступы */
}

.button-container .btn {
    padding: 2px 5px;
    text-decoration: none;
    color: white;
    background-color: #012d61;
    border-radius: 4px;
    display: inline-block; /* Обеспечиваем, чтобы кнопка оставалась в пределах строки */
    vertical-align: middle; /* Центрируем кнопку по вертикали */
}

.button-container .btn:hover {
    background-color: #0056b3;
}

footer .container .contact-info {
    color: #fff;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .button {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    width: 150px;
    text-align: center;
    background-color: #2f5fbf;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .blue {
    background-color: #2f5fbf;
  }
  
  .light-blue {
    background-color: #6398d7;
  }
  
  .button i {
    font-size: 30px; /* Icon size */
    margin-bottom: 5px;
  }
  
  .button span {
    font-size: 14px;
    font-weight: bold;
  }
  
  .button:hover {
    opacity: 0.9;
  }
  
  @media (max-width: 768px) { /* Mobile devices */
    .button-container {
      flex-direction: column; /* Stack buttons vertically */
      align-items: center; /* Center align the buttons */
    }
  
    .button {
      width: 100%; /* Make buttons full width */
      max-width: 300px; /* Set a maximum width */
    }
  }