* {
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
    font-family: "Open Sans", sans-serif;

}

:root {
    --main-color: #474798;
    /* логотип, фон */
    --git-color: #f54f4f;
    /* логотип */
    --add-color: #2471a3;
    --catchy-color: #f57d95;
    --sheet-h1-color: #2471a3;
    /* заголовки */

    /* background */
    --background-color: #eaeaf4;
    /* фон, дропдаун */
    --background-color-f: #fff;

    --footer-color: #e7e7fb;
    /* футер */
}

body {
    /* background: #f6f6f6; */
}

/** Nav-menu */
header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    box-shadow: 0 0px 3px 1.5px #00000089;
}

.header-home {
    /* background-color: #000000; */
    /* margin-bottom: 18px; */
}

header .logo {
    padding: 5px 0 7px 0;
}

header .company-name {
    display: none;
    font-family: "Kaushan Script", sans-serif;
    font-size: 30px;
    color: #000;
}

.nav-menu {
    font-family: "Open Sans";
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    /* gap: 30px; */
}

.nav-menu li {
    position: relative;
    margin-right: 20px;
}

.nav-menu .menu-item {
    padding: 15px 15px;
    font-size: 16px;
    display: block;

}

.nav-menu a {
    color: black;
    transition: color 0.3s ease;
}

.menu-item:hover {
    color: var(--catchy-color);
    /* f57d95 */
    /* Колір при наведенні */
}

/** Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #eaeaf4;
    /* Колір фону */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    width: 555px;
    flex-wrap: wrap;
    gap: 10px;

}

.dropdown-2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #eaeaf4;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    width: 350px;
    flex-wrap: wrap;
    gap: 10px;

}

.dropdown-3 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #eaeaf4;
    /* Колір фону */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    width: 350px;
    flex-wrap: wrap;
    gap: 10px;

}

.dropdown-4 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #eaeaf4;
    /* Колір фону */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    width: 250px;
    flex-wrap: wrap;
    gap: 10px;

}

/* Секції випадаючого меню */
.dropdown-section {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    /* Мінімальна ширина секції */
    max-width: 500px;
    /* 560 */
    /* Збільшена максимальна ширина секції */
    margin-right: 40px;
    margin-bottom: 5px;
    word-wrap: break-word;
    /* Перенос довгих слів */
    overflow-wrap: break-word;
    /* Додатковий перенос тексту */
    white-space: normal;
    /* Дозволити переноси тексту */
}

/* Заголовки секцій у списках */
.dropdown-section h4 {
    margin-bottom: 10px;
    /* Менший відступ після заголовка */
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

/* Загальний відступ між списками і заголовками */
.dropdown-section ul {
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* margin-top: 0; */
    /* Списки без верхнього відступу */
    /* margin-bottom: 15px; */
    /* Зменшений відступ під списком */
    /* max-width: 560px; */
    display: flex;
    flex-wrap: wrap;
    /* Дозволяє перенос елементів */
    gap: 5px;
    /* Рівномірний розподіл між елементами */
    align-items: stretch;
    /* Вирівнює по лівому краю */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Відступ для останньої секції */
.dropdown-section:last-child ul {
    margin-bottom: 0;
    /* Забирає зайвий відступ у кінці */
}

/* Елементи списку */
.dropdown-section ul li {

    /* Елементи займають доступний простір рівномірно */
    box-sizing: border-box;
    /* Враховуємо padding та border */

    /* Вирівнювання по лівому краю */
    margin-bottom: 15px;
    font-size: 13px;
    word-wrap: break-word;
    /* Перенос слів */
    overflow-wrap: break-word;
    min-width: 20%;
    /* Задайте бажану мінімальну ширину */
    text-align: left;



}

/* Останній елемент списку без зайвого відступу */
.dropdown-section ul li:last-child {
    margin-bottom: 0;
}

/* Відображення меню при ховері */
.menu-item-1:hover .dropdown-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;


}

.menu-item-2:hover .dropdown-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.menu-item-3:hover .dropdown-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.menu-item-4:hover .dropdown-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}




/* Адаптивність */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        /* Випадаюче меню займатиме всю ширину */
        max-height: 80vh;
        /* Обмеження висоти для мобільних пристроїв */
    }

    .dropdown-section {
        width: 100%;
        /* Секції займають всю ширину */
        max-width: none;
    }
}

/** footer */
/* CSS футера без анімації за замовчуванням */
.footer {
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    width: 100%;
    background: linear-gradient(270deg, #e7e7fb, #fff4f6, #e7e7fb);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    border-top: 5px solid rgb(245, 125, 149);
    border-bottom: 4px solid rgb(245, 125, 149);
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.2);
    padding: 4vh 1%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.footer .container {
    /* margin: 0 auto; */
}

#scrollToTopBtn {
    display: none;
    /* схована поки що */
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background-color: rgb(245, 125, 149);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(245, 125, 149, 0.5);
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: rgb(220, 90, 110);
    transform: scale(1.1);
}

/* Анімація появи */
.footer>div {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer.visible>div {
    opacity: 1;
    transform: translateY(0);
}

.footer.visible>div:nth-child(1) {
    transition-delay: 0s;
}

.footer.visible>div:nth-child(2) {
    transition-delay: 0.2s;
}

.footer.visible>div:nth-child(3) {
    transition-delay: 0.4s;
}

.footer.visible>div:nth-child(4) {
    transition-delay: 0.6s;
}

/* Блоки */
.footer__logo {
    position: relative;
    /* left: -50px; */
    /* Зсуваємо логотип лівіше */
}

.footer__address {
    position: relative;
    /* left: -50px; */
    /* Зсуваємо логотип лівіше */
}

.footer__logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
    transition: transform 1s ease;
}

.footer__logo img:hover {
    transform: scale(1.2);
}

.footer-icon {
    margin-right: 10px;
    color: #f54f4f;
}



.footer__product,
.footer__address,
.footer__contact-us {
    flex: 50px;
    max-width: 250px;
    display: flex;
    justify-content: center;
}

.footer h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.footer h4 {
    margin-top: 15px;
    margin-bottom: 15px;

}

.footer p {
    line-height: 1.9;
    color: #333;
    font-size: 1em;
    display: inline-block;
}

.footer a {
    color: #000;
    position: relative;
    text-decoration: none;
    transition: color 0.4s ease, text-shadow 0.3s ease;
}

footer a:hover {
    color: rgb(245, 125, 149);
    text-shadow: 0 0 5px rgb(245, 125, 149);
}

.footer a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: rgb(245, 125, 149);
    transition: width 0.4s ease;
}

.footer a:hover::after {
    width: 100%;
}

/* Копірайт */
.after-footer {
    background-color: #f5f5f5;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    color: #666;
}

/* Анімація фону */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Адаптивність */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__product,
    .footer__address,
    .footer__contact-us {
        margin-bottom: 20px;
    }
}


/** Це нарешті пішла сторінка, а саме аркуш */

/* Висота сторінки мінус футер */

/* Запобігає залипанню тексту внизу */

/** Тіло сторінки */
.background {
    background-image: url(../images/fon2.png);
    background-size: 100%;
    background-repeat: repeat-y;
    margin: 0;
}

.background .container {
    padding-top: 1.5%;
    padding-bottom: 3%;
}

/** Home page */
.main * {
    font-family: "Roboto", sans-serif;
}

.welcome {
    display: flex;
    box-shadow: 0 1.75px 3.5px 2px #00000089;
    position: relative;
    z-index: 2;
    height: calc(100vh - 93.33px);
    /* Гарантуємо однакову висоту обом блокам */
}

.slider-home {
    width: 60%;
    height: 100%;
}

.home-slider__image {
    width: 100%;
    height: 100%;
}

.home-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.right-block {
    width: 40%;
    height: 100%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}


.right-block__title {
    font-size: 43px;
    margin-bottom: 5%;
}

.right-block__desc {
    font-size: 20px;
    opacity: 0.8;
}

.right-block__button {
    margin-top: 8%;
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 13px 20px;
    cursor: pointer;
    font-size: 15px;
    transition: all .15s ease-in-out;
}

.right-block__button:hover {
    background-color: #000;
    color: #fff;
}

/* .line-after-welcome {
    width: 100%;
    height: 2px;
    background-color: #000;
    box-shadow: 0 2px 3px 1.5px #00000089;
} */

.about-gitplus {
    background: #f6f6f6;
}

.about-gitplus .container {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 2030px) {
    .about-gitplus .container {
        max-width: 1260px;
    }
}

.about-gitplus__subbrand {
    opacity: 0.75;
    font-weight: 500;
    font-size: 1.15rem;
}

.about-gitplus__brand {
    font-family: "Kaushan Script", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.about-gitplus__line,
.product__line {
    width: 40px;
    height: 0.15em;
    background-color: #000;
    margin-bottom: 20px;
}

.about-gitplus__desc {
    line-height: 1.5;
}

.section-divider-wave {
    width: 100%;
    height: 100px;
    /* або більше */
    background-color: #f6f6f6;
    /* або інший колір, що відповідає фону наступної секції */
    position: relative;
    /* Можна додати псевдоелементи для створення форми хвилі за допомогою border-radius або clip-path */
    overflow: hidden;
    /* Важливо для clip-path */
}

.section-divider-wave::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #eaeaf4;
    /* Колір наступної секції */
    /* Приклад створення хвилі за допомогою clip-path */
    clip-path: ellipse(50% 100% at 50% 100%);
    /* Або інший складніший clip-path для цікавих форм */
}

.product {
    width: 100%;
    /* height: 100vh; */
    /* background-image: url(../images/fon2.png); */
    /* background-size: 100%; */
    /* background-repeat: repeat-y; */
    margin: 0;
    padding: 70px 30px 50px;
    /* background-color: #f6f6f6; */
    background: #eaeaf4;
}

.product .container {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.product__title {
    margin-bottom: 30px;
}

.product__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1600px;
}

.product__cards+.inner-wrapper {
    margin-top: 50px;
}

.product__card {
    width: 400px;
    height: 190px;
    position: relative;

    /* border: 5px solid var(--add-color); */
    border-radius: 20px;
    /* background-color: #fff; */

    box-shadow: 0 0 5px 1px #0000007c;
    /* box-shadow: 0 0 7px 5px var(--add-color); */
    overflow: hidden;
}

.product__card-gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    /* border-radius: 20px; */
    /* background: linear-gradient(to top, #e0e0e084, #ffffff00); */
    background: linear-gradient(to top, #e0e0e0cc, #ffffff00);
    /* background: linear-gradient(to top, #2470a3c2, #ffffff00); */
    transition: opacity 0.5s;
    z-index: 1;
}

.product__card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: #000;
    text-decoration: none;
    overflow: hidden;
}

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

    transition: transform 1s;
}

.product__card:hover .product__card-img {
    transform: scale(1.1);
}

.product__card-name {
    /* display: inline-block; */
    position: absolute;
    right: 50px;
    bottom: 25px;
    font-size: 18px;
    font-weight: bold;
    z-index: 2;
    color: #000;
    transition: opacity 0.5s;

    /* background-color: #fff; */
    /* border-radius: 15px; */
    /* padding: 5px 10px; */
    /* z-index: 1000; */
}

.product__card:hover .product__card-gradient,
.product__card:hover .product__card-name {
    opacity: 0;
}

.product .inner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin: 0 auto; */
    text-align: center;

    max-width: 950px;
    margin-bottom: 40px;
}

/* ===================================== */
.achievement {
    padding: 0px 50px;
    /* background: #eaeaf4; */
}

.achievement__title {
    text-align: center;

}

.achievement .container {
    display: flex;
}

/* .achievement__left {
    flex: 0 0 50%;
} */

.achievement__right,
.achievement__left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.achievement__block {
    display: flex;
    min-height: 150px;
    align-items: center;
}

.achievement__right .achievement__success {
    padding-right: 180px;
    /* min-width: 120px; */
    /* flex: 0 0; */
    width: 140px;
}

.achievement__left .achievement__success {
    padding-right: 100px;
    /* min-width: 120px; */
    /* flex: 0 0; */
    width: 140px;
}

.achievement__number {
    font-size: 36px;
    font-weight: 700;
}

.achievement__name {
    text-transform: uppercase;
    opacity: 0.8;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 20px;
}

.achievement__vertical-line {
    height: 100%;
    width: 1px;
    background-color: #000;
    opacity: 0.25;
}

.achievement__text {
    padding: 0px 25px;
    flex: 1 0;

}

/* ===================================== */
.block-carousel {
    /* background-color: #f6f6f6; */
    /* background: linear-gradient(to top, #fff 0%, #e7e7fb 100%); */
    background: #eaeaf4;
    /* background: #474798; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0 100px;
    box-sizing: border-box;
}

.block-carousel__title {
    font-family: "Open Sans", sans-serif;
    margin-bottom: 75px;
    /* color: #fff; */
    font-size: 36px;
}

.carousel {
    position: relative;
    width: 100%;
    /* width: 1300px; */
    margin: 0 auto;
    overflow: hidden;
    height: 238px;
    /* margin: 50px 0; */
}

@media (min-width: 2115px) {
    .carousel {
        width: calc(5 * 424px);
    }
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: calc(5 * 424px);
}

.carousel-slide {
    flex: 0 0 424px;
    /* ширина одного слайда */
    height: 100%;
    /* padding: 0 5px; */
    position: relative;
    border-right: 1px solid #8282827d;
}

.carousel-slide__img {
    /* width: 424px; */
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    /* border-radius: 8px; */
}

.carousel-slide__img-hover {
    opacity: 0;
    transition: opacity .3s ease-in;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* .carousel-slide__img:hover .carousel-slide__img-hover {
    opacity: 1;
    z-index: 100;
} */

.carousel-slide__img-hover:hover {
    opacity: 1;
    /* z-index: 100; */
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 50%;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}



.farewell {
    /* background-color: #f6f6f6; */
    /* background-color: #eaeaf4; */
    padding-bottom: 100px;
}

.farewell .container {
    background-color: #e7e7fb;
    display: flex;
    justify-content: center;
    gap: 15%;
    padding: 15px 0;
    /* box-shadow: 0 0 10px 1px #f57d95; */

}


.farewell__text {
    display: inline-block;
    font-size: 30px;

}

.farewell__button {
    font-size: 20px;
    padding: 10px 15px;
    border: 2px solid #000;
    border-radius: 10px;
    color: #000;

}

/** About us page */
.about-company {
    background-color: #fff;
    border-radius: 20px;
    /* box-shadow: 0 0 5px 3px #333; */
    box-shadow: 0 0 10px 1px #f57d95;
    margin: 0 auto;
    width: 80vw;
    padding: 50px;
    margin-bottom: 5%;
}

.about-company p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.about-company__accent {

    padding: 20px;
    margin-top: 30px;

    border-radius: 10px;
    font-weight: bold;
    text-align: center;
}


.about-company h1 {
    color: var(--main-color);
    /* #2471a3 */
    text-align: center;
    margin-bottom: 3%;
}

.partners-block {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px 1px #f57d95;
    margin: 0 auto 5% auto;
    width: 80vw;
    padding: 50px 50px 35px 50px;
}

.partners-block h1 {
    margin-bottom: 4%;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
}

.partners-block h2 {
    margin-bottom: 3%;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
}


.partners-block__partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partners-block__partners img {
    width: 10vw;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.3s ease;
}

.partners-block__partners img:nth-child(2),
.partners-block__partners img:nth-child(4) {
    width: 15vw;
}

.partners-block__partners.animate img {
    opacity: 1;
    transform: translateY(0);
}

.partners-block__partners.animate img:nth-child(1) {
    transition-delay: 0.2s;
}

.partners-block__partners.animate img:nth-child(2) {
    transition-delay: 0.4s;
}

.partners-block__partners.animate img:nth-child(3) {
    transition-delay: 0.6s;
}

.partners-block__partners.animate img:nth-child(4) {
    transition-delay: 0.8s;
}

.partners-block__partners.animate img:nth-child(5) {
    transition-delay: 1s;
}

@media (max-width: 768px) {
    .partners-block__partners {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .partners-block__partners img {
        width: 25vw !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.contacts-block {
    width: 60vw;
    /* Залишаємо ширину відносною */
    margin: 0 auto 5%;
    background-color: #fff;
    border-radius: 2vw;
    /* Масштабуємо радіус */
    box-shadow: 0 0 1vw 0.1vw #f57d95;
    /* Масштабуємо тінь */
    padding: 5vw;
    /* Масштабуємо відступи */

    display: grid;
    grid-template-columns: minmax(0, 40vw) minmax(0, 40vw);
    /* Масштабуємо ширину стовпців */
    justify-content: center;
    gap: 4vw;
    /* Масштабуємо відстань між стовпцями */
    align-items: start;
}

@media (max-width: 900px) {
    .contacts-block {
        grid-template-columns: 1fr;
    }
}

.contacts-block__left,
.contacts-block__right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 співвідношення */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.map-responsive iframe {
    position: absolute;
    margin-top: 8%;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    border: 0;
}



.vertical-line {
    width: 2px;
    height: 85%;
    background-color: midnightblue;
}

.contacts-info {
    /* width: 40%; */
    /* max-height: 410px; */
    /* height: 90%; */
    /* border: 1px solid #000000; */
    margin-bottom: 30px;
}

.contacts-info a {
    line-height: 1.75;
    color: #000;
}


.feedback-form {
    /* background: white; */
    /* padding: 20px; */
    /*border-radius: 20px; /* 8px */
    /* box-shadow: 0 0 10px rgb(245, 125, 149); */
    /* box-shadow: 0 0 10px 1px #f57d95; */
    width: 100%;
    max-width: 600px;

}

.feedback-form h3 {
    font-size: 24px;
    color: #333;
}

.feedback-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form input[type="tel"],
.feedback-form textarea {
    padding: 8px 3px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #ccc;
    /* border-radius: 4px; */
    outline: none;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
}

.feedback-form input[type="text"],
.feedback-form textarea {
    width: 100%;
}

.feedback-form input[type="email"] {
    width: 95%;
}

.feedback-form input[type="tel"] {
    width: 95%;
    justify-self: end;
}

.feedback-form .form-group:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.feedback-form textarea {
    /* height: 150px; */
    resize: vertical;
}

.feedback-form button {
    width: 100%;
    background-color: #fff;
    color: #000;
    /* background-color: #28a745; */
    /* color: white; */
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 7px;
    cursor: pointer;
    font-size: 16px;
    transition: all .13s ease-in-out;
}

.feedback-form button:hover {
    /* background-color: #218838; */
    background-color: #000;
    color: #fff;
}

.feedback-form p {
    margin: 0;
}

.feedback-form .form-group {
    margin-bottom: 15px;
}

.body-feedback-form {
    font-family: Arial, sans-serif;
    /* background-color: #f4f4f4; */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/*Таблиця*/
.clients-block {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px 1px #f57d95;
    margin: 0 auto;
    width: 60%;
    padding: 50px;
    margin-bottom: 5%;
}

.clients-block h1 {
    margin-bottom: 3%;
    text-align: center;
}

table#clientsTable {
    width: 70%;
    border-collapse: collapse;
    font-family: sans-serif;
    margin: 0 auto;
    table-layout: fixed;
    /* фіксована ширина таблиці */
}

#clientsTable colgroup col:nth-child(1) {
    width: 30%;
    /* ширина 1-ї колонки */
}

#clientsTable colgroup col:nth-child(2) {
    width: 40%;
    /* ширина 2-ї колонки */
}

#clientsTable colgroup col:nth-child(3) {
    width: 30%;
    /* ширина 3-ї колонки (якщо є) */
}

#clientsTable th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    background-color: #f2f2f2;
    font-weight: bold;
}

#clientsTable td {
    border: 1px solid #ddd;
    padding: 15px 20px;
    /* збільшений паддінг для більшого простору */
    text-align: left;
}

.company {
    text-align: center !important;
}

#clientsTable tr:nth-child(even) {
    background-color: #f9f9f9;
}

#clientsTable tr:hover {
    background-color: #e0e0e0;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.4s ease forwards;
}


@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 10px;
    margin-top: 10%;
    width: 700px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-button {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    color: #000;
    cursor: pointer;
}

.gallery-swiper {
    width: 100%;
    height: 400px;
}

.gallery-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}


/** Banner */
.banner {
    width: 350px;
    position: fixed;
    /* top: 115px; */
    top: 0;
    right: 2%;
    /* background-color: #fff; */
    /* border-radius: 5%; */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.banner.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    /* Щоб не заважав клікам */
}




/* .stop {
    position: absolute !important;
    top: auto !important;
} */

/** Slider  */

.slider {
    position: relative;
    display: block;
    width: 350px;
    height: 200px;
    z-index: 999;
}

.image-slider__image {
    text-align: center;
    /* width: 300px; */
    /* height: 630px; */
    overflow: hidden;

}

.image-slider__image img {

    /* height: 300px; */
    width: 350px;
}

.image-slider {
    /* max-width: 100%; */
    overflow: hidden;
    user-select: none;
    position: absolute;
    width: 350px;
    height: 200px;
    /* border-radius: 20px; */
    border-radius: 8px;
    box-shadow: 0px 0px 5px 1px rgb(51, 51, 51);
}


.banner-feedback-form {
    background: white;
    padding: 15px;
    /* 20px */
    /* border-radius: 8px; */
    box-shadow: 0 0 10px #f57d95;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1000;
    /* border-radius: 50px; */
    border-radius: 8px;
    transition: all 0.1s ease-in-out;
}

.banner-feedback-form-hover:hover {
    cursor: pointer;
    box-shadow: 0 0 20px #f57d95;
    transform: scale(1.01)
}

.banner-feedback-form h1 {
    margin-top: 0;
    font-size: 20px;
    /* 24px */
    color: #333;
    /* margin-bottom: 15px; */
    text-align: center;
    user-select: none;
}

.banner-feedback-form label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;

    padding: 0 5px;
    font-size: 14px;
    color: #aaa;
    pointer-events: none;
    /* display: block;
    margin-bottom: 5px;  /* 8px 
    font-weight: bold;
    color: #555; */
}

.banner-feedback-form input[type="text"],
.banner-feedback-form input[type="email"],
.banner-feedback-form input[type="tel"],
.banner-feedback-form textarea {
    width: 100%;
    padding: 10px;
    /* 10px */
    /*margin-bottom: 15px;   /* 20px */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /*font-size: 13px;  /* 16px */
    color: #333;

    /* padding: 12px 10px; */
    font-size: 16px;
    outline: none;
}

.banner-feedback-form textarea {
    height: 100px;
    resize: vertical;
}

/* Ефект при фокусі або коли є текст */
.banner-feedback-form .form-group input:focus~label,
.banner-feedback-form .form-group input:not(:placeholder-shown)~label,
.banner-feedback-form .form-group textarea:focus~label,
.banner-feedback-form .form-group textarea:not(:placeholder-shown)~label {
    top: 0;
    left: 10px;
    font-size: 12px;
    color: var(--catchy-color);
    /* f57d95 */
    background: white;
}

.banner-feedback-form button {
    background-color: #f57d95;
    color: white;
    padding: 9px 15px;
    /* 10px 20px */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    /* 16px */
    display: block;
    text-align: center;
}

.banner-feedback-form button:hover {
    background-color: #dd6e84;
}

.banner-feedback-form p {
    margin: 0;
}

.banner-feedback-form .form-group {
    position: relative;
    /*margin-bottom: 12px;  /* 15px */
    margin-bottom: 20px;
}

.banner-feedback-form #contactForm {
    display: none;

}

.contactForm-modified {
    display: block !important;
    transition: all 2s ease-in-out;
}

.feedback-mode {
    /* transform: translateY(-100%); */
    position: absolute;
    /* bottom: 50px; */
    transition: all 2s ease-in-out;
}

.image-slider-modified {
    box-shadow: none;
}

.banner-feedback-form__h1-modified {
    margin-bottom: 15px;
}



#banner__show-hide {
    /* background: #f54f4f; */
    width: 100%;
    height: 100%;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    /* opacity: 0.25; */

}

.banner__show-hide-mode {
    position: relative !important;
    height: 30px !important;
    bottom: 0 !important;
    /* background: #474798 !important; */
    margin-top: 20px;
    /* background: #eee; */
    border: 1px solid #ccc;
}

.banner__show-hide-mode::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    /* Змінено з right на left та встановлено 50% */
    transform: translate(-50%, -50%);
    /* Додано горизонтальне центрування */
    width: 30px;
    /* Ширина вашого зображення */
    height: 30px;
    /* Висота вашого зображення */
    background-image: url("/images/Arrow-Up.512.png");
    /* Шлях до вашого зображення */
    background-size: contain;
    /* opacity: 0.8; */
}



/** Сторінки */
.sheet {
    background: #fff;
    width: 1050px;
    min-height: 500px;
    margin: 0 auto;
    /* margin-top: 30px; */
    border-radius: 8px;
    box-shadow: 0px 0px 5px 3px;
    padding: 40px;
    padding-bottom: 50px;
    min-height: 100vh;
    height: auto;
    position: relative;
    right: 7%;
}

.sheet h1 {
    text-align: center;
    margin-bottom: 40px;
    margin: 40px;
    color: var(--sheet-h1-color);
    /* #2471a3 */
}

.sheet h2 {
    text-align: center;
    margin-bottom: 40px;
    margin: 40px;
}

.sheet h3 {
    text-align: center;
    margin-bottom: 40px;
    margin: 40px;
}

.sheet h4 {
    text-align: left;

    margin: 40px;
}

.sheet p {
    text-align: left;
    margin: 10px;
    padding: 5px;
}

.sheet p {
    text-align: left;
    margin: 10px;
    padding: 5px;
}

.sheet b {
    margin: 40px;
}




.sheet img {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.sheet video {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width:1530px) {
    .sheet {
        width: 60%;
        right: 12%;
    }
}

#Red {
    color: red;
}

#Blue {
    color: #2471a3;
    /*  */
}

.underline-hover {
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: orangered;
    /* 🔸 початковий колір тексту */
    transition: color 0.3s ease;
}

.underline-hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: orange;
    /* 🔸 колір риски */
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.underline-hover:hover {
    color: black;
    /* 🔸 колір тексту при наведенні */
}

.underline-hover:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.description {
    background-image: url("/images/Fix10.jpg");

    /* Конкретний розмір */
    background-repeat: no-repeat;
    background-position: center;
    min-height: 150px;

    /* Мінімальна висота блоку */
    padding-top: 200px;
    /* Відступ для тексту */
}

.description1 {
    background-image: url("/images/AquafinIC.jpg");

    /* Конкретний розмір */
    background-repeat: no-repeat;
    background-position: center;
    min-height: 150px;

    /* Мінімальна висота блоку */
    padding-top: 250px;
    /* Відступ для тексту */
}

#AquafinIC {
    background-repeat: no-repeat;
    background-position: center;
    min-height: 150px;
    margin-bottom: -20px;
    margin-top: -20px;
}

#Fix10 {
    background-repeat: no-repeat;
    background-position: center;
    min-height: 150px;
    margin-bottom: -50px;
    margin-top: -10px;
}

#Azokret {
    background-repeat: no-repeat;
    background-position: center;
    min-height: 150px;
    margin-bottom: -35px;
    margin-top: -10px;
}

#Size {
    display: block;
    text-align: center;
    font-size: smaller;
    margin-top: -30px;
    color: #3498db;
}

#Size:hover {
    color: rgb(245, 125, 149);
    text-decoration: none;
}

/*для сторінки гідроізоляції фундаменту*/
.about {
    display: flex;
    justify-content: center;
}

.about_item {
    width: 50%;
    margin: 20px;
}

.about_item:hover .about_img {}

.about_item:hover .about_img img {
    opacity: .1;
}

.about_img {
    transition: transform .1s linear;
    margin-top: -50px;

}




.slider-gidroizolation {
    position: relative;
    /* display: block; */
    width: 570px;
    height: 350px;
    margin: 0 auto;
    margin-bottom: 60px;
    margin-top: 50px;
}



.gidro-slider__image img {
    max-width: 100%;
    /* height: 350px; */
    margin: 0;
}

.gidro-slider {
    /* max-width: 100%; */
    overflow: hidden;
    user-select: none;
    position: absolute;
    width: 570px;
    height: 350px;

    /* border-radius: 20px; */
    border-radius: 8px;
    box-shadow: 0px 0px 5px 1px rgb(51, 51, 51);
}

#aboutitemSize {
    display: block;
    text-align: center;
    margin-top: -40px;
}

#ItemChange {
    display: flex;
    justify-content: end !important;
    margin: -30px;
}

/*Таблиця для FarbaDlyaMetaly */
.search-box {
    max-width: 400px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #388e3c;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

/* Центруємо таблицю на сторінці */
.table-container {
    overflow-x: auto;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

/* Вирівнювання таблиці по центру */
table#paintTable {
    width: 100%;
    max-width: 1200px;
    table-layout: auto;
    border-collapse: collapse;
    margin: 0 auto;
}

/* Стилі для заголовків */
#paintTable thead {
    background-color: #2471a3;
    color: white;
}

/* Задаємо ширини для колонок */
#paintTable th:nth-child(1),
#paintTable td:nth-child(1) {
    width: 15%;
    text-align: left;
}

#paintTable th:nth-child(2),
#paintTable td:nth-child(2) {
    width: 85%;
    text-align: left;
}

/* Вирівнювання вмісту усіх комірок по центру за замовчуванням - можна залишити або змінити */
#paintTable th,
#paintTable td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

/* Якщо потрібно залишити текст центрування, можна виключити text-align тут */


/* Стиль при наведенні на рядок */
#paintTable tbody tr:hover {
    background-color: #f1f8e9;
}

/* Поле пошуку */
.search-box {
    max-width: 400px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #f54f4f;
    /* f54f4f */
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}


table#dobavkuvbetonTable {
    width: 100%;
    /* Таблиця буде займати всю ширину доступної області */
    max-width: 1200px;
    /* Обмеження максимального розміру */
    table-layout: auto;
    border-collapse: collapse;
    margin: 0 auto;
    /* Центрує таблицю горизонтально */
}

/* Стилі для заголовків */
#dobavkuvbetonTable thead {
    background-color: #2471a3;
    color: white;
}

/* Вирівнювання вмісту усіх комірок по центру */
#dobavkuvbetonTable th,
#dobavkuvbetonTable td {
    padding: 12px 15px;
    text-align: center;
    /* Центруємо текст */
    vertical-align: middle;
    /* Центруємо по вертикалі */
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

/* Центруємо зображення в комірці */
#dobavkuvbetonTable td.tableimage img {
    max-height: 150px;
    width: auto;
    /* max-width: 100%; */
    border-radius: 8px;
    display: block;
    /* Робимо зображення блочним елементом */
    margin: 0 auto;
    /* Центруємо зображення по горизонталі */
}

/* Текстовий вміст в описі залишаємо зліва */
#dobavkuvbetonTable td.tabledescription {
    max-width: 300px;
    text-align: left;
    /* Текст опису вирівнюємо зліва */
    margin-bottom: 20px;
}

/* Стиль при наведенні на рядок */
#dobavkuvbetonTable tbody tr:hover {
    background-color: #f1f8e9;
}

.beautiful-line {
    border: none;
    height: 2px;
    width: 80%;
    background: linear-gradient(to right, #474798, #2471a3);
    /* Градієнт */
    position: relative;
    margin: 50px auto 0;
    /* Центрування по горизонталі + відступ зверху */
}

.aboutemal {
    display: flex;
    justify-content: center;
}

.about_itememal {
    width: 50%;
    margin: 20px;
}

.about_itememal:hover .about_imgemal {
    transform: translate3d(-5px, -5px, 0);
    background-color: #f8f9fc;
}

.about_itememal:hover .about_imgemal img {
    opacity: .1;
}

.about_imgemal {
    transition: transform .1s linear;

}

.about_imgemal img {
    display: block;
    transition: opacity .1s linear;
    height: 300px;
    margin-top: 25px;
}

h3 a:hover {
    color: rgb(245, 125, 149);
    text-decoration: none;
}

h3 a {
    color: #2471a3;
}

@media (max-width: 1440px) {}

@media (max-width: 1240px) {
    header {
        padding: 0 5%;
    }

    .nav-menu .menu-item {
        padding: 15px 5px;
    }

    .block-carousel__title {
        font-size: 30px;
    }

    .carousel {
        height: 187px;
    }

    .carousel-track {
        width: calc(5 * 333px);
    }

    .carousel-slide {
        flex: 0 0 333px;
    }


}

@media (max-width: 1110px) {
    .nav-menu .menu-item {
        font-size: 14px;
    }

    header .logo {
        display: none;
    }

    header .company-name {
        display: inline-block;
    }

    .right-block__desc {
        font-size: 16px;
    }

    .right-block__title {
        font-size: 40px;
    }

    .home-slider-button-prev,
    .home-slider-button-next {
        height: 35px;
        width: 35px;
    }

    .slider-home,
    .right-block {
        height: calc(100vh - 50px);
    }
}

@media (max-width: 1060px) {
    .footer {
        justify-content: space-around;
    }

    .footer__logo img {
        width: 150px;
    }

    .footer__logo img:hover {
        transform: scale(1.05);
    }

    .footer h2 {
        font-size: 1.3em;
        /* font-size: 20.8px; */
    }

    .footer h4 {
        font-size: 0.9em;
        /* font-size: 14.4px; */
    }

    .footer p {
        font-size: 0.9em;
        /* font-size: 14.4px; */

    }

    .footer__product,
    .footer__address,
    .footer__contact-us {
        flex: 0 0 auto;
        justify-content: start;
    }

    .footer__product {
        max-width: 25%;
    }
}

@media (max-width: 1350px) {
    .banner {
        display: none;
    }
}

/* Збільшення розмірів для великих екранів */
@media (min-width: 1351px) {
    .sheet {
        right: 15%;
    }

    .banner {
        width: 360px;
        margin-top: 120px
    }

    .slider {
        width: 360px;
        height: 240px;
    }

    .image-slider {
        width: 360px;
        height: 240px;
    }

    .image-slider__image img {
        width: 360px;
    }

    .banner-feedback-form h1 {
        font-size: 24px;
    }

    .banner-feedback-form input[type="text"],
    .banner-feedback-form input[type="email"],
    .banner-feedback-form input[type="tel"],
    .banner-feedback-form textarea {
        font-size: 18px;
        padding: 12px;
    }

    .banner-feedback-form button {
        font-size: 16px;
        padding: 12px 20px;
    }
}

@media (min-width: 1600px) {
    .sheet {
        right: 12%;
    }

    .banner {
        width: 420px;
        margin-top: 120px;
    }

    .slider {
        width: 420px;
        height: 280px;
    }

    .image-slider {
        width: 420px;
        height: 280px;
    }

    .image-slider__image img {
        width: 420px;
    }

    .banner-feedback-form h1 {
        font-size: 28px;
    }

    .banner-feedback-form input[type="text"],
    .banner-feedback-form input[type="email"],
    .banner-feedback-form input[type="tel"],
    .banner-feedback-form textarea {
        font-size: 20px;
        padding: 14px;
    }

    .banner-feedback-form button {
        font-size: 18px;
        padding: 14px 24px;
    }
}