/* Basic reset/base styles */
        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: "Inter", sans-serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal;
            color: #48557A;
            background-color: #FFFFFF;
        }

        a {
            text-decoration: none;
            color: #48557A;
        }

        input[type="search"]::-webkit-search-cancel-button {
            appearance: none;
            -webkit-appearance: none;
        }

        input {
            border: none;
        }

        input:focus,
        button:focus {
            outline: none;
        }

        button {
            border: none;
            background-color: transparent;
            padding: 0;
        }

        ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        p,
        span {
            padding: 0;
            margin: 0;
        }

        /* Content wrapper */
        .content {
            width: 1110px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0 auto; /* Центрування контенту */
            padding: 0 16px; /* Додано padding для країв */
        }

        /* Header specific styles */
        .header {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100vw;
            height: 75px;
            background-color: #FFFFFF;
            padding: 16px 0;
            position: fixed;
            top: 0;
            z-index: 1000;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .header-left {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 577px;
            height: 35px;
        }

        .header-title {
            font-family: Inter;
            font-weight: 700;
            font-size: 16px;
            color: #157DB1;
        }

        .nav-list {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 456px;
            height: 35px;
        }

        .nav-link {
            color: #48557A;
            transition: color 0.3s ease-in-out;
        }

        .nav-item:hover .nav-link {
            color: #157DB1;
        }

        .nl-contacts {
            padding: 8px 12px;
            border-radius: 12px;
            background-color: #E8F2F8;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease;
        }

        .nl-contacts:hover {
            background-color: #dbe7ef;
        }

        .header-right {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 379px;
            height: 43px;
        }

        /* Language Switcher (Desktop) */
        .language-container {
            position: relative;
            display: inline-block;
            z-index: 100;
        }

        .button-language {
            cursor: pointer;
            color: #48557A;
            background-color: #E8F2F8;
            width: 96px;
            height: 43px;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;
            font-weight: 500;
            border: none;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease;
        }

        .button-language:hover {
            background-color: #dbe7ef;
        }

        .language-menu {
            position: absolute;
            top: calc(100% + 6px); /* Розташування знизу кнопки */
            left: 0;
            width: 96px;
            height: 170px;
            background-color: #ffffff;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            list-style: none;
            margin: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px); /* Анімація для появи знизу */
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
            box-sizing: border-box;
        }

        .language-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .language-menu-item {
            display: flex;
            align-items: center;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            font-size: 16px;
            color: #48557A;
            font-weight: 400;
            padding: 6px;
            box-sizing: border-box;
        }

        .language-menu-item:hover {
            background-color: #e8f2f8;
        }

        /* Flag images within menu items and on the button */
        .language-menu-item img,
        .language-item-image { /* General style for flag images */
            width: 24px;
            height: 16px;
            margin-right: 8px;
            border-radius: 2px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            flex-shrink: 0;
        }

        .language-button-text-margin {
            margin-left: 8px; /* For the arrow image, if it's separate text */
        }

        /* Divider for menu items */
        .language-menu-item:not(:last-child) {
            position: relative;
            padding-bottom: 6px; /* Adjust padding to make space for the border */
        }

        .language-menu-item:not(:last-child)::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 72px;
            height: 1px;
            background-color: #DCE6EB;
        }


        /* Consultation button */
        .button-cons {
            color: #FFFFFF;
            width: 259px;
            height: 43px;
            background-color: #157DB1;
            border-radius: 12px;
            padding: 10px 16px;
            transition: background-color 0.3s;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-family: Inter;
            font-weight: 500;
            font-size: 16px;
        }

        .button-cons:hover {
            background-color: #1269B3;
        }

        /* Burger menu icon (hidden by default on desktop) */
        /* Burger menu icon styles */
.burger-menu-icon {
    display: none; /* Hidden by default on desktop */
    cursor: pointer;
    width: 30px; /* Size of the burger icon area */
    height: 24px; /* Size of the burger icon area */
    position: relative; /* Container for absolute lines */
    z-index: 1001; /* Ensure it's above the header and overlay */
    background: none;
    border: none;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.burger-line {
    display: block;
    width: 100%; /* Line takes full width of the button */
    height: 3px; /* Thickness of the lines */
    background-color: #48557A; /* Color of the lines */
    border-radius: 2px;
    position: absolute; /* Positioning relative to .burger-menu-icon */
    left: 0;
    transition: all 0.3s ease-in-out; /* Smooth transition for animation */
}

.burger-line:nth-child(1) { /* Top line */
    top: 0;
}

.burger-line:nth-child(2) { /* Middle line */
    top: 50%;
    transform: translateY(-50%);
}

.burger-line:nth-child(3) { /* Bottom line */
    bottom: 0;
}

/* Animation for cross transformation */
.burger-menu-icon.open .burger-line:nth-child(1) { /* Top line to cross */
    transform: translateY(10.5px) rotate(45deg); /* Adjust 10.5px based on height and line thickness */
    background-color: #157DB1;
}

.burger-menu-icon.open .burger-line:nth-child(2) { /* Middle line fades */
    opacity: 0;
}

.burger-menu-icon.open .burger-line:nth-child(3) { /* Bottom line to cross */
    transform: translateY(-10.5px) rotate(-45deg); /* Adjust 10.5px */
    background-color: #157DB1;
}

        /* Mobile menu overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 75px; /* Змінено: Меню починає з-під хедера (його кінцева позиція) */
            left: 0;
            width: 100vw;
            height: 395px; /* Зробить меню на весь екран по висоті від `top: 75px` */
            background-color: #fff;
            opacity: 0; /* Приховує елемент повністю */
            visibility: hidden; /* Робить його невидимим для взаємодії */
            pointer-events: none; /* Запобігає взаємодії, коли меню закрите */
            transform: translateY(-100%); /* Переміщує меню повністю вгору, приховуючи його за хедером */
            transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s ease-out; /* Анімуємо всі 3 властивості */
            z-index: 999; /* Below the header */
            display: flex; /* Зберігаємо display:flex для внутрішнього макету */
            flex-direction: column;
            justify-content: space-between; /* To push language switcher to bottom */
            padding: 16px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .mobile-menu-overlay.open {
            transform: translateY(0); /* Повертає меню на його початкову позицію (`top: 75px`) */
            opacity: 1; /* Робить елемент видимим */
            visibility: visible; /* Робить його видимим для взаємодії */
            pointer-events: auto; /* Дозволяє взаємодію, коли меню відкрите */
        }

        .mobile-nav {
            padding: 0 16px;
        }

        .mobile-nav-list {
            display: flex;
            flex-direction: column;
            width: 100%;
            padding: 0 16px; /* Horizontal padding */
            margin-top: 16px; /* Top padding */
        }

        .mobile-nav-item {
            width: 100%;
            height: 51px; /* Height of each menu item */
            display: flex;
            align-items: center;
            padding: 0 16px; /* Inner padding for items */
            border-radius: 12px;
            margin-bottom: 6px; /* Gap between items */
            background-color: #F4F9FC; /* Background for menu items */
            transition: background-color 0.2s ease;
        }

        .mobile-nav-item:hover {
            background-color: #dbe7ef;
        }

        .mobile-nav-item:last-child {
            background-color: #E8F2F8;
        }

        .mobile-nav-link {
            display: block; /* Make the whole area clickable */
            width: 100%;
            height: 100%;
            line-height: 51px; /* Vertically center text */
            color: #48557A;
            font-size: 16px;
            font-weight: 400;
            text-align: center;
        }
        
        .mobile-nav-item:nth-last-child(1) .mobile-nav-link {
            color: #157DB1;
        }

        .mobile-language-and-social {
            display: flex;
            align-items: center;
            padding: 0 16px; /* Padding from edges */
            margin-top: auto; /* Push to bottom */
            flex-direction: row; /* На одному рядку */
            justify-content: space-between; /* Space between social and language */
            width: 100%; /* Take full width */
        }

        .mobile-social-media {
            display: flex;
            justify-content: flex-start; /* Align to start of their container */
            gap: 16px;
            margin-top: 0; /* No top margin needed when in a row */
            width: auto; /* Let content dictate width */
        }

        .mobile-social-icon-link {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #E8F2F8;
            color: #157DB1;
            font-size: 24px;
            transition: background-color 0.2s ease;
        }

        .mobile-social-icon-link:hover {
            background-color: #dbe7ef;
        }

        /* Language switcher for mobile menu (now opens DOWNWARDS, like desktop) */
        .mobile-language-container {
            margin-top: 0; /* No top margin needed when in a row */
            display: flex;
            justify-content: flex-end; /* Align to end of their container */
            position: relative; /* For the dropdown */
            z-index: 101; /* Ensure it's above other elements in the menu */
            width: auto; /* Let content dictate width */
        }

        .mobile-language-button {
            width: 96px;
            height: 43px;
            border-radius: 12px;
            background-color: #E8F2F8;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;
            font-weight: 500;
            color: #48557A;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .mobile-language-button:hover {
            background-color: #dbe7ef;
        }

        .mobile-language-menu {
            position: absolute;
            top: calc(100% + 6px); /* Розташування знизу кнопки (як на десктопі) */
            left: 50%;
            transform: translateX(-50%) translateY(-10px); /* Початковий стан для анімації вниз */
            width: 96px;
            background-color: #ffffff;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            list-style: none;
            margin: 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
            box-sizing: border-box;
        }

        .mobile-language-menu.show-mobile { /* Use a distinct class for mobile menu show */
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0); /* Кінцевий стан анімації */
        }

        .mobile-language-menu-item {
            display: flex;
            align-items: center;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            font-size: 16px;
            color: #48557A;
            font-weight: 400;
            padding: 6px;
            box-sizing: border-box;
        }

        .mobile-language-menu-item:hover {
            background-color: #e8f2f8;
        }

        .mobile-language-menu-item img {
            width: 24px;
            height: 16px;
            margin-right: 8px;
            border-radius: 2px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            flex-shrink: 0;
        }

        .mobile-language-menu-item:not(:last-child) {
            position: relative;
            padding-bottom: 6px;
        }

        .mobile-language-menu-item:not(:last-child)::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 72px;
            height: 1px;
            background-color: #DCE6EB;
        }


        /* Media Queries */
        @media (max-width: 1200px) {
            .content {
                width: 950px;
            }
            .header-left {
                width: 547px;
            }
            .header-right {
                width: 359px;
            }
            .button-cons {
                width: 249px;
            }
        }

        @media (min-width: 992px) {
            .button-cons {
                display: block;
                font-size: 15px;
                padding: 12px;
            }
            .button-cons-mobile {
                display: none;
            }
        }

        @media (max-width: 992px) {
            .content {
                width: 100%;
                justify-content: space-between;
                padding: 0 16px; /* Padding from edges */
            }
            .button-cons {
                display: none;
            }
            .button-cons-mobile {
                display: block;
            }

            .header-left {
                width: auto; /* Adjust width automatically */
                justify-content: flex-start; /* Align logo and burger */
                gap: 16px; /* Gap between burger and logo */
            }

            .nav-list { /* Hide desktop language switcher */
                display: none;
            }

            .header-right {
                width: auto; /* Adjust width automatically */
                justify-content: flex-end; /* Align button-cons to the right */
                gap: 16px;
            }

            .header-title {
                font-size: 20px; /* Make logo larger for mobile */
            }

            .button-cons {
                width: 150px; /* Adjust button width */
                padding: 12px 12px;
            }

            .burger-menu-icon {
                display: flex; /* Show burger menu icon */
            }

            .mobile-nav-list {
                padding: 0; /* Remove horizontal padding as it's on .mobile-nav-item */
            }

            .mobile-nav-item {
                padding: 0 16px; /* Inner padding for items */
                margin-bottom: 6px; /* Gap between items */
            }

            .mobile-language-and-social {
                flex-direction: row; /* Place elements on one row */
                justify-content: center; /* Space between social and language */
                width: 100%; /* Ensure it spans full width */
                margin-top: auto; /* Push to bottom, already there */
            }

            .mobile-social-media {
                margin-top: 0; /* No top margin needed when in a row */
                width: auto; /* Let it shrink to content size */
                justify-content: flex-start; /* Align social icons to start of their container */
            }

            .mobile-language-container {
                margin-top: 0; /* No top margin needed when in a row */
                width: auto; /* Let it shrink to content size */
                justify-content: flex-end; /* Align language switcher to end of its container */
            }
        }

        @media (max-width: 768px) {
            /* Further adjustments for smaller tablets and large phones */
            .header {
                height: 60px; /* Make header a bit smaller */
                padding: 10px 0;
            }
            .mobile-menu-overlay {
                top: 60px;
            }
        }

        @media (max-width: 576px) {
            .content {
                padding: 0 8px;
            }
            .header-right {
                gap: 8px;
            }
            /* Adjustments for mobile phones */
            .button-cons {
                font-size: 14px;
                width: 100px;
                padding: 12px 10px;
            }
            .header-title {
                font-size: 18px;
            }
            .header-left {
                gap: 12px;
            }
        }



















































.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}




.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0C3A51;
    padding: 100px 0 32px 0;
}

.footer-wrapper {
    width: 1110px;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 200px;
}

/* .footer-container> :first-child {
    width: 284px;
} */

.footer-container-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;

    color: #FFFFFF;
}

.footer-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;

    color: #B2B4B9;
    max-width: 280px;
}

.footer-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;

    color: #FFFFFF;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-list a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;

    color: #B2B4B9;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #FFFFFF;
}

.footer-socials {
    display: flex;
    gap: 12px;
    width: 153px;
    height: 43px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-contact-list li span {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;

    color: #B2B4B9;
    transition: color 0.3s;
}

.footer-contact-list a,
.footer-contact-list span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;

}

.footer-contact-list li {
    display: flex;
}

.footer-contact-list a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-contact-list span {
    color: #FFFFFF;
}

.footer-contact-list img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.contacts-center {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-bottom {
    border-top: 1px solid #B2B4B9;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;

    color: #B2B4B9;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;

    color: #B2B4B9;
}

.footer-bottom-links a:hover {
    color: #FFFFFF;
}



@media (max-width: 1200px) {
    .footer-wrapper {
        width: auto;
    }

    .footer-top {
        gap: 80px;
    }
}

@media (max-width: 992px) {
    .footer-top {
        gap: 40px;
    }
    .footer-container {
        height: auto;
        gap: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-wrap: wrap;
        gap: 24px;
        height: auto;
    }

    .footer-block {
        width: calc(50% - 12px);
    }
    .footer-container {
        justify-content: center;
    }
    .footer-container-links {
        flex-direction: column;
    }
    .footer-bottom {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .footer-block {
        width: 100%;
    }

    .footer-icons {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}