<style>

html {
  scroll-behavior: smooth; /* Включає плавний скрол */
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;

    background-color: #ccc;
    background-image: none; /* вимикаємо бекграунд тут */
    position: relative;
}

/* окремий шар з фоновим зображенням і напівпрозорим фоном */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: 
        linear-gradient(rgba(79, 169, 196, 0.3), rgba(79, 169, 196, 0.3)), 
        url('image/foni.png') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
}

		
hr {
    border: none;
    border-bottom: 1px solid #f9f9f9;
}

/* Общий стиль для шапки */
.header {
    background-image: url('image/texture_x.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

/* Верхнее меню всегда остается на месте */
.header-top {
	z-index: 100;
    display: flex;
    justify-content: center; /* Центруем контент */
    align-items: center;
    padding: 0; /* Убираем внутренние отступы */
    background: rgba(0, 0, 0, 0.9); /* Полупрозрачный фон */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: 50px; /* Фиксированная высота полоски */
}

/* Контейнер для центрирования контента */
.header-top .container {
	 
    max-width: 1200px;
    margin: 0 auto; /* Центруем контейнер */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent; /* Фон прозорий */
	box-shadow: none; /* Видаляємо тінь */
    border-radius: 0; /* Убираем заокругления */
    padding: 0 15px; /* Добавляем боковые отступы */
}

/* Логотип */
.logo img {
    height: 100%; /* Высота логотипа на всю полоску */
    max-height: 45px; /* Ограничение высоты логотипа */
    width: auto;
    display: block;
	 margin-top: 8px; /* Відступ зверху */
}

/* Верхнее меню */
.top-menu a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.top-menu a:hover {
    color: #feed01; /* Новый цвет при наведении кнопки меню */
}

/* МЕНЮ ВИДИ ПІНОПЛАСТУ */
.menu-items{
    display:flex;
    gap:35px;
    align-items:center;
}

.menu-items a{
    text-decoration:none;
    color:#fff;   /* було #222 */
    font-weight:500;
    transition:0.3s;
}

.menu-items a:hover{
    color:#feed01;  /* щоб hover був як у верхнього меню */
}



/* контейнер підменю */
.submenu{
    position:relative;
}

/* саме меню */
.submenu-items{
    position:absolute;
    top:100%;
    left:0;

    background:#111;
    border-radius:10px;

    min-width:240px;
    padding:8px 0;

    opacity:0;
    transform:translateY(10px);
    pointer-events:none;

    transition:0.25s;

    box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

/* пункти меню */
.submenu-items a{
    display:block;
    padding:12px 18px;
    color:#fff;
    font-size:14px;
}

/* hover ефект */
.submenu-items a:hover{
    background:#1f1f1f;
}

/* відкриття */
.submenu:hover .submenu-items{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}


/* Нижняя часть шапки */
.header-bottom {
    height: 800px; /* Збільшена висота */
    display: flex;
    align-items: flex-start; /* Початкове вирівнювання по вертикалі */
    justify-content: center;
    padding-top: 10%; /* Відступ зверху 30% */
    color: white;
    position: relative;
    background: transparent; /* Фон прозорий */
}

.header-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Вирівнювання елементів ближче до верху */
    width: 100%;
    padding: 0 20px;
	background: transparent; /* Фон прозорий */
	box-shadow: none; /* Видаляємо тінь */
}

/* Левая половина */
.header-bottom .left h1 {
    font-size: 48px; /* Збільшений шрифт */
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    color:  #feed01; /* Оранжевий колір заголовка */
    font-family: 'Arial', sans-serif; /* Чіткий і жирний шрифт */
	background: transparent; /* Фон прозорий */
}

/* Правая половина */
.header-bottom .right {
    text-align: right;
	 color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
	background: transparent; /* Фон прозорий */
	border-radius: 10px;
}

.contact-info {
    font-size: 24px;
    font-weight: bold;
    background: transparent; /* Фон прозорий */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info a {
	color:  #000; /* Оранжевий колір при наведенні */
    
    
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #feed01;
}

/* Кнопка замовлення */
.main-menu a {
    color:  #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 10; /* Без заокруглень */
    background: #feed01; /* Оранжевий фон */
    transition: all 0.3s ease;
}

.main-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #feed01;
    color:  #000;
}
/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header-bottom {
        height: 500; /* Автоматична висота */
        display: flex;
        flex-direction: column; /* Вертикальне розташування */
        align-items: center; /* Центруємо елементи */
        justify-content: center;
        padding: 20px 10px; /* Відступи */
        text-align: center; /* Текст по центру */
        overflow: hidden; /* Відсікаємо зайве */
        box-shadow: none; /* Видаляємо тінь */
        margin: 0; /* Прибираємо зайві відступи */
    }

    .header-bottom .container {
        flex-direction: column; /* Вертикальне розташування */
        align-items: center; /* Центруємо вміст */
        max-width: 100%; /* Контейнер займає весь екран */
        padding: 0; /* Забираємо зайві внутрішні відступи */
        margin: 0 auto; /* Центруємо контейнер */
        box-shadow: none; /* Видаляємо тінь */
    }

    .header-bottom .left h1 {
        font-size: 32px; /* Менший шрифт */
        line-height: 1.3;
        margin-bottom: 20px; /* Відступ знизу */
        text-align: center; /* Текст по центру */
    }

    .header-bottom .right {
        text-align: center; /* Центруємо текст */
        align-items: center; /* Центруємо елементи */
        gap: 15px; /* Відстань між елементами */
        margin-top: 20px; /* Відступ зверху */
    }

    .contact-info {
        font-size: 28px; /* Розмір тексту для контактів */
    }

    .main-menu a {
        font-size: 22px; /* Розмір тексту кнопки */
        padding: 8px 15px; /* Відступи кнопки */
        border-radius: 0; /* Прибираємо закруглення */
    }
}


/* Стили для меню на мобильных устройствах */
.menu-toggle {
    display: none; /* Скрываем кнопку по умолчанию */
}

/* Показываем кнопку на мобильных устройствах */
@media (max-width: 768px) {

.menu-toggle{
    display:block;
}

/* саме меню */
.menu-items{
    display:none;
}

.menu-items.active{
    display:flex;
    flex-direction:column;
    position:absolute;

    top:50px;
    left:0;
    width:100%;

    background:rgba(0,0,0,0.95);

    padding:20px 0;

    box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

/* кнопки меню */
.menu-items a{
    display:block;
    text-align:center;
    padding:14px 20px;

    font-size:18px;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

/* підменю */
.submenu-items{
    position:static;
    opacity:1;
    transform:none;
    pointer-events:auto;

    background:#000;
    box-shadow:none;
    border-radius:0;
}

/* пункти підменю */
.submenu-items a{
    font-size:16px;
    padding:12px 30px;
}
}

/* КОНЕЦ ШАПКИ!!!!!! */






	
	/* Контент */

.content {
    position: relative;
    z-index: 1;
    background: white;
    padding: 20px;
    margin-top: 400px; /* Учитывает высоту шапки */
}




        /* Контейнер */
        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 25px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        h1, h2 {
            text-align: center;
            color: #212529;
            margin-bottom: 20px;
        }

        form {
            margin-bottom: 30px;
            text-align: center;
        }

        input[type="text"] {
            width: 70%;
            padding: 15px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        input[type="submit"] {
            padding: 12px 30px;
            border: none;
            background-color: #dc3545;
            color: white;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        input[type="submit"]:hover {
            background-color: #b02a37;
            transform: scale(1.05);
        }
	
	
	
	
	/* КНОПКА ДЗВОНИТИ */
	.call-button {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background:  #222b8a;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none; /* Приховано за замовчуванням */
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: bounce 2s infinite;
}

.call-button:hover {
  background: #4fa9c4;
  transform: scale(1.1);
}

.call-icon {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Показати тільки на мобільних */
@media (max-width: 768px) {
  .call-button {
    display: flex;
  }
}

/* Bounce анімація */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

	
	
	
	
/* Секція Про пінопласт */
.extruded-polystyrene {
    display: flex;
    justify-content: center;
    background: url('image/sale2.jpg') no-repeat left center / cover;
	 background-color:  #feed01; /* Фон на випадок, якщо зображення не завантажиться */
    padding: 60px 0;
}

.extruded-polystyrene .container {
    display: flex;
    width: 1150px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.left-side {
    flex: 1;
    background: url('image/sale.jpg') no-repeat center / cover;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.right-side {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .extruded-polystyrene .container {
        display: block; /* Чтобы не портить меню */
        width: calc(100% - 80px); /* Добавляет отступы */
        margin: 0 auto; /* Центрирует блок */
    }
    .left-side {
        width: 94%;
        border-radius: 20px; /* Чтобы не выглядело обрезанным */
        padding: 10px;
    }
    .right-side {
        padding: 20px;
    }
}

	
	



/* Загальний стиль для секції ПРО ФІРМУ З ЦИФРАМИ*/
/* Секція про виробництво */
.production-section {
    display: flex;
    justify-content: center;
    background: url('image/sale2.jpg') no-repeat right center / cover;
    padding: 60px 0;
}

.production-section .container {
    display: flex;
    width: 1150px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.production-section .left-side {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 40px;
    background: none; /* Видалено фонове зображення */
}

.production-section .right-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Вирівнюємо по лівому краю */
    padding: 40px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background: url('image/sale.jpg') no-repeat center / cover;
}

.section-title {
    text-align: center;
}

.stat-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.stat-icon {
    flex: 1;
    display: flex;
    justify-content: flex-start; /* Вирівнюємо іконки по лівому краю */
}

.stat-icon img {
    width: 50px;
    height: 50px;
}

.stat-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.stat-label {
    font-size: 18px;
    font-weight: bold;
}

.stat-number {
    font-size: 27px;
    color:  #222b8a;
    font-weight: bold;
}

@media (max-width: 768px) {
    .production-section .container {
        display: block;
        width: calc(100% - 80px);
        margin: 0 auto;
    }
    .production-section .left-side, .production-section .right-side {
        width: 96%;
        border-radius: 20px; /* Чтобы не выглядело обрезанным */
        padding: 10px;
    }
    .production-section .right-side {
        border-radius: 20px;
    }
} 
	
	
	

	

/* Основний стиль для галереї */
.gallery-section {
    text-align: center;
    padding: 40px;

}
.section-title {
    font-size: 24px;
    margin-bottom: 15px;
}
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 10px;
    max-width: 1200px;
    margin: auto;
}
.gallery-item {
     overflow: hidden;
    border-radius: 10px; /* Виправлене заокруглення */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Додана тінь */
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
	border-radius: 10px; /* Виправлене заокруглення */
}
.gallery-item:hover img {
    transform: scale(1.3);
}
@media (max-width: 768px) {
    .gallery-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 10px;
    }
    .gallery-item {
        flex: 0 0 auto;
        width: 90%;
        scroll-snap-align: center;
    }
}
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.zoomed {
    width: auto;
    height: auto;
    max-width: 90vw; /* 90% ширини екрану */
    max-height: 90vh; /* 90% висоти екрану */
    border-radius: 10px;
}








/* Контейнер акції */
.promo-container {
	background-image: url('image/texture.jpg');
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  text-align: center;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  overflow: hidden;
  padding: 40px 20px;
  background: transparent; /* Прозорий фон */
}

/* Заголовок */
.promo-title {
  font-size: 32px;
  font-weight: bold;
  color: red;
  margin-bottom: 10px;
  text-shadow: none; /* Прибрано тінь */
}

/* Підзаголовок */
.promo-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #333; /* Темний текст для контрасту */
}

/* Контейнер таймера */
.timer-container {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333; /* Темний текст для контрасту */
}

/* Таймер */
.timer {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.timer span {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 70px;
  font-weight: bold;
  color: white;
  background-color: red;
  padding: 10px 15px;
  border-radius: 10px;
}

.timer span::after {
  content: attr(data-label);
  font-size: 14px;
  color: #333; /* Темний текст для читабельності */
  margin-top: 5px;
}

/* Кнопка */
.open-form-button {
  display: inline-block;
  padding: 15px 30px;
  background: #f28a00;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.open-form-button:hover {
  background: #e64a19;
  transform: scale(1.05);
}

/* Адаптивність */
@media (max-width: 768px) {
  .promo-title {
    font-size: 24px;
  }

  .promo-subtitle {
    font-size: 16px;
  }

  .timer span {
    font-size: 28px;
  }

  .open-form-button {
    font-size: 16px;
    padding: 10px 20px;
  }
}






/* Загальний стиль секції ЧОМУ ОБИРАЮТЬ НАС */
.why-choose-us {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}
.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: bold;
}
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.feature {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 300px;
    flex: 1 1 300px;
    transition: transform 0.3s;
}
.feature:hover {
    transform: scale(1.05);
}
.feature img {
    width: 128px;
    height: 128px;
    margin-bottom: 15px;
}
.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.feature p {
    font-size: 16px;
    color: #555;
}
.open-form-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background: #feed01;
    color: #222b8a;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}
.open-form-button:hover {
    background: #f2c600;
}





/* Загальний стиль секції ВІТРИНА */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 товари в ряд */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Оформлення карточки товару */
.product {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Заголовок товару */
.product h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* Зображення товару */
.product img {
  width: 100%;
  max-width: 280px;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.product:hover img {
  transform: scale(1.1);
}

/* Опис товару */
.product p {
  font-size: 14px;
  color: #555;
  margin: 5px 0;
}

/* Кнопка замовлення */
.order-btn {
  display: block;
  width: 100%;
  background-color: #feed01;
  color: #222b8a;
  font-size: 16px;
  font-weight: bold;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.order-btn:hover {
  background-color: #f2c600;
  transform: scale(1.05);
}

/* Адаптивність */
@media (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(2, 1fr); /* 2 товари в ряд на планшеті */
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(1, 1fr); /* 1 товар в ряд на мобільному */
    padding: 15px;
  }
}

.rating {
        font-size: 20px;
        color: #FFD700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .stars {
        display: flex;
        cursor: pointer;
        position: relative;
    }
    .stars span {
        font-size: 24px;
        font-family: Arial, sans-serif;
        position: relative;
        display: inline-block;
        transition: color 0.2s;
    }
    .half-star {
        position: relative;
    }
    .half-star::before {
        content: "★";
        position: absolute;
        width: 50%;
        overflow: hidden;
        display: inline-block;
        color: #FFD700;
    }
    .votes {
        font-size: 14px;
        color: #666;
        margin-left: 5px;
        white-space: nowrap;
    }
    .rating-value {
        font-weight: bold;
        font-size: 16px;
        margin-right: 5px;
    }
    .stars span.hovered {
        color: #222b8a;
    }



/* Стилі модального вікна */
/* Затемнення */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Модальне вікно */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 350px;
    max-width: 90%;
}

/* Поля вводу */
.modal input {
    width: 93%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
}

/* Кнопка */
.order-submit, .callback-submit {
    width: 100%;
    background: #feed01;
    color: #222b8a;
    font-weight: bold;
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    border: none;
    margin-top: 10px;
}

.order-submit:hover, .callback-submit:hover {
    background: #f2c600;
}

/* Чекбокс і підпис */
.checkbox-container {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.checkbox-container input {
    margin-right: 10px;
}

.checkbox-container label {
    color: red;
    font-size: 14px;
}

/* Адаптивність */
@media (max-width: 768px) {
    .modal {
        max-width: 90%;
        padding: 15px;
    }
}





/* Стиль секції ВІДГУКИ */
.reviews {
    background: #f9f9f9;
	background-image: url('image/texture.jpg');
    padding: 40px 0;
    text-align: center;
	 position: relative;
    z-index: 1;
}
.section-title {
    font-size: 24px;
    margin-bottom: 20px;
}
.reviews-container {
	
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1800px;
	height: 500px;
    margin: auto;
    position: relative;
    overflow: hidden;
}
.review-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.review {
    min-width: 300px;
    max-width: 80%;
    background: white;
    padding: 15px;
    margin: 0 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.review:hover {
    transform: scale(1.05);
}
img {
    width: 150px;
    height: 150px;
    border-radius: 10%;
    margin-bottom: 10px;
}
.prev-btn, .next-btn {
    background: #feed01;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
    position: absolute;
    z-index: 5;
}
.prev-btn:hover, .next-btn:hover {
    background:  #feed01;
}
.prev-btn::before, .next-btn::before {
    color: #222b8a;
}
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.prev-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .review {
        max-width: 90%;
    }
    .prev-btn, .next-btn {
        top: 50%;
        transform: translateY(-50%);
    }
}




/* Стиль секції КАЛЬКУЛЯТОР */
.calculator-section {
  text-align: center;
  padding: 40px 20px;
  background: transparent;
  font-family: 'Roboto', Arial, sans-serif;
  width: 90%;
  margin: 0 auto;
  box-shadow: none;
  border-radius: 10px;
}

/* Заголовок */
.calculator-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 30px;
}

/* Форма */
.calculator-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.form-group {
  text-align: left;
  margin-bottom: 15px;
}

.form-group label {
  font-size: 16px;
  font-weight: bold;
  color: #555;
  display: block;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
}

.material-table,
.options-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
}

.material-table td,
.options-table td {
  padding: 8px;
  text-align: center;
}

.options-table input,
.material-table input {
  transform: scale(0.9);
}

.calculate-button {
  width: 335px;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #feed01;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
}


.calculate-button:hover {
  background: #f2c600;
}

.calculate-button {
  color: #222b8a;
}

.hidden {
  display: none;
}

.hidden.visible {
  display: block;
}

/* Адаптивність */
@media (max-width: 768px) {
  .calculator-form {
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input,
  .form-group select {
    font-size: 14px;
  }

  .calculate-button {
    font-size: 16px;
  }

  /* Вибір матеріалів в рядок, як на ПК */
  .material-table {
    display: table;
    width: 100%;
  }

  .material-table tr {
    display: table-row;
  }

  .material-table td {
    display: table-cell;
    text-align: center;
    padding: 5px;
  }

  .material-table input {
    margin-right: 5px;
  }
}












/* Загальний стиль футера */
footer {
  font-family: 'Roboto', Arial, sans-serif;
 color: #000; /* Зробили чорний колір тексту у верхньому футері */
  background: none; /* Забрали чорну заливку під PNG-картинкою */
}

/* Верхній футер */
.footer-top {
  background: url('image/footer_pino_2.png') no-repeat center center;
  background-size: cover; /* Фонове зображення на всю ширину */
  padding: 20px 0;
  height: 330px;
  display: flex;
  align-items: flex-end; /* Текст тепер вирівняний донизу футера */
}

/* Верхній футер */
.footer-top2 {
  background: #fff; /* былий */
  padding: 20px 0;
  height: 200px;
  display: flex;
  align-items: flex-end; /* Текст тепер вирівняний донизу футера */
}

/* Контейнер верхнього футера */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Вирівнювання тексту вниз */
  max-width: 1050px;
  width: 100%;  /* Додаємо, щоб контейнер не стискався */
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;
}

/* Ліва частина */
.footer-left {
  flex: 1; /* Щоб займати більше місця */
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-left p {
  margin: 5px 0;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

/* Права частина */
.footer-right {
  flex: 1; /* Щоб займати більше місця */
  text-align: right;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-right p {
  margin: 5px 0;
}

.footer-right a {
  color: #000; /* Білий колір для посилання */
  text-decoration: none;
  font-size: 18px; /* Текст трохи більший */
}

.footer-right a:hover {
  color: #feed01; /* Оранжевий колір при наведенні */
}

/* Адаптивність */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .footer-top {
    background: #fff !important;
  }
}


/* Нижній футер */
.footer-bottom {
  background: #000; /* Темний чорний */
  padding: 10px 15px;
  font-size: 14px;
  border-top: 1px solid #333;
  color: #fff;
}

.footer-container1 {
  max-width: 1200px; /* Ширина контейнера */
  margin: 0 auto; /* Центрування контейнера */
  text-align: center; /* Текст по центру контейнера */
}

.footer-container1 p {
  margin: 0;
  text-align: center; /* Вирівнювання тексту в центрі */
}

.footer-container1 a {
  color: #fff; /* Білий колір для посилання */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-container1 a:hover {
  color:  #feed01; /* Стандартний оранжевий колір при наведенні */
}




/* Стиль секції "ЗВОРОТНІЙ ЗВ'ЯЗОК" */





/* Розділ "Наші партнери" */
.partners-section {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
	position: relative;
    z-index: 1;
}

.partners-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.partners-subtitle {
    font-size: 20px;
    color: white;
    background-color: red;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: inline-block;
}

.partners-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    width: 1020px; /* Збільшено відступ першого логотипу від лівого краю */
    position: relative;
	height: 160px; /* Збільшена висота для коректного відображення тіні */
}

.carousel-track {
    display: flex;
    gap: 20px; /* Відступи між логотипами */
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 188px; /* Фіксована ширина */
    height: 150px; 
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тінь як у відгуках */
}

.carousel-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.carousel-prev,
.carousel-next {
    background: #feed01;
    border: none;
    padding: 10px 15px; /* розмір кнопки */
    font-size: 20px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.carousel-prev:hover, .carousel-next:hover {
    background:  #feed01;
}

.carousel-prev::before, .carousel-next::before {
    color: #222b8a;
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    background-color: #feed01;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots .active {
    background-color: #222b8a;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .carousel-track-container {
        width: 325px; /* Під мобільні 2 логотипи */
    }
    
    .carousel-item {
        flex: 0 0 150px; /* Розмір логотипів зменшений */
    }

    .carousel-prev, .carousel-next {
        font-size: 24px; /* Зменшуємо кнопки */
    }
	 .partners-subtitle {
        padding: 0 15px; /* Відступи зліва і справа */
    }
}










    </style>