
body{
    /*background: linear-gradient(90deg, #fff 0%, #fff 9.74%, #f5f5f5 19.42%, #f6f6f6 46.26%, #fdfdfd 58.92%, #fcfcfc 73.16%, #fff 100%);*/
    background: white;
    font-family: "Mulish", sans-serif;
}
header{
    padding-top: 16px;
}
footer{
    min-height: 150px;
    width: 100%;
    background-color: #313131;
    padding-top: 20px;
    color: #d9d9d9;
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 16px;
}
footer a{
    color: #F17501;
    text-decoration: none;
}
.footer-logo{
    margin-top: 20px;
}
.top-menu{
    width: 100%;
    height: 72px;
}
.nav-link{
    min-width: 200px;
    font-family: "Mulish", sans-serif;
    font-weight: 500;
    font-size: 18px;
}
.navbar-dark .nav-link{
    color:rgba(255,255,255,1);
}
.navbar-dark .nav-link:hover{
    color:rgba(255,255,255,0.55);
}
.navbar-nav{
    margin-left: 100px;
}

header.index{
    z-index: 4;
    position: fixed;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
}

header.index .top-menu{
    border-bottom: 1px solid #d9d9d9;
    border-top: 1px solid #d9d9d9;
}


.content{
    margin-top:50px;
    margin-bottom: 50px;
}

.text-block{
    max-width: 520px;
    min-height: 114px;
    width: 100%;
    border: none;
    margin: 0 auto;

    font-weight: 400;
    font-size: 16px;
    text-align: justify;
    color: #313131;
    padding: 15px 20px;
    position: relative; 
}

.text-block::before,
.text-block::after,
.text-block2::before,
.text-block2::after {
    position: absolute;
    width: 50%;
    height: 50%;
    content: "";
}

.text-block::before,.text-block2::before {
  left: 0;
  top: 0;
  border-left: 1px solid #f17501;
  border-top: 1px solid #f17501;
 }
.text-block::after,.text-block2::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid #f17501;
  border-bottom: 1px solid #f17501;
 }

.text-block2{
    max-width: 720px;
    width: 100%;
    border: none;
    margin: 0 auto;
    position: relative;
    font-weight: 400;
    font-size: 16px;
    text-align: justify;
    color: #313131;
    padding: 15px 20px;
    margin-bottom: 100px;
}

.button-block{
    border-radius: 40px;
    width: 192px;
    height: 44px;
    text-align: center;
    padding: 10px 0;
    background: #f17500;
    font-weight: 500;
    font-size: 14px;
    color: #d9d9d9;
    margin: 100px auto 0 auto;
    cursor: pointer;
}
.block-wrapper{
    margin-top: 100px;
}
.small-block{
    max-width: 352px;
    margin: 50px auto;    
}
.small-block .text-block{
    text-align: center;
}
.small-block a{
    color: #F17501;
}
h1{
    font-size: 36px;
    text-align: center;
    margin-bottom: 100px;
}
h1.custom{
    font-family: "Mulish";
}
h1.custom b{
    font-family: "Inter";
}
.container-custom{
    background-image: url('img/background2.png');
    padding-top: 50px;
}
.container-custom .content{
      margin: 0 auto;
}

.container-custom .text-block2{
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.images-right{
    max-width: 427px;
    width: 100%;
    float: right;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}
.images-row{
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.slider-description{
    position: absolute;
    bottom: 20px;
    text-align:  center;
    width: 100%;
}
.slider-text{
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #d9d9d9;
    padding-bottom: 20px;
}
.slider-button{
    border-radius: 40px;
    padding-top: 10px;
    width: 192px;
    height: 44px;
    background: #f17500;
    font-family: "Mulish", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #d9d9d9;
    margin: 0 auto;
    cursor: pointer;
}
.modal-header{
    border-bottom: none;
}
.modal-footer{
    border-top: none;
}
.modal-header .btn-close{
    margin: 0;
    opacity: 1;
}
.btn-form{
    border-radius: 40px;
    width: 448px;
    height: 64px;
    background: #f17500;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    color: #d9d9d9;
    text-align: center;
    padding-top: 16px;
    cursor: pointer;
}
.modal-title{
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 36px !important;
    text-align: center;
    color: #f17501;
}
#contactModal input{
    margin-bottom: 32px;
    border: 1px solid #f17501;
    border-radius: 8px;
    height: 48px;
}
#contactModal textarea{
    border: 1px solid #f17501;
    border-radius: 8px;
}

#contactModal .form-control{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.05em;
    
}
#contactModal .form-control::placeholder{
    color: #787878;
}

.pentagon-container {
  position: relative;
  width: 60%;              /* ширина контейнера адаптивна */
  max-width: 600px;        /* обмеження максимального розміру */
  aspect-ratio: 1 / 1;     /* квадратний контейнер */
  margin: 40px auto;
}

/* приховуємо справжні radio */
input[type="radio"] {
  display: none;
}

/* ============================
   SVG П’ЯТИКУТНИК
=============================== */
.pentagon {
  position: absolute;
  inset: 0;
  z-index: 1;

}

.pentagon-svg {
  width: 100%;
  height: 100%;
}

.pentagon-svg polygon {
  fill: #ffffff;
  stroke: #D9D9D9;          /* контур сірий */
  stroke-width: 0.3%; 
    
}

/* ============================
   РАДІОКНОПКИ
=============================== */
.point {
  position: absolute;
  width: 14px; 
  height: 14px;
  background: #D9D9D9; /* неактивні кнопки */
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 5;
}

/* ---- Відносні позиції кнопок по центру вершин ---- */
.p1 { top: 0%; left: 50%; }
.p2 { top: 38%; left: 100%; }
.p3 { top: 100%; left: 82%; }
.p4 { top: 100%; left: 18%; }
.p5 { top: 38%; left: 0%; }

/* ---- Активні кнопки ---- */
input#p1:checked ~ .p1,
input#p2:checked ~ .p2,
input#p3:checked ~ .p3,
input#p4:checked ~ .p4,
input#p5:checked ~ .p5 {
  background: #ff5050;
}

/* ============================
   ІКОНКИ БІЛЯ КНОПОК
=============================== */
.point .icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: -30px; /* регулюємо відступ від кнопки */
  left: 50%;
  transform: translateX(-50%);
}

/* ---- Відносні позиції іконок ---- */
.p1 .icon { top: -70px; left: 50%; transform: translateX(-50%); }
.p2 .icon { top: 50%; left: 20px; transform: translateY(-50%); }
.p3 .icon { top: 120%; left: 85%; transform: translateX(-50%); }
.p4 .icon { top: 120%; left: 15%; transform: translateX(-50%); }
.p5 .icon { top: 50%; left: -70px; transform: translateY(-50%); }



/* ---- Активні іконки ---- */

input#p1:checked ~ .p1 .icon { background-image: url("img/point1a.svg"); }
input#p2:checked ~ .p2 .icon { background-image: url("img/point2a.svg"); }
input#p3:checked ~ .p3 .icon { background-image: url("img/point3a.svg"); }
input#p4:checked ~ .p4 .icon { background-image: url("img/point4a.svg"); }
input#p5:checked ~ .p5 .icon { background-image: url("img/point5a.svg"); }

/* ---- Неактивні іконки ---- */

.p1 .icon { background-image: url("img/point1.svg"); }
.p2 .icon { background-image: url("img/point2.svg"); }
.p3 .icon { background-image: url("img/point3.svg"); }
.p4 .icon { background-image: url("img/point4.svg"); }
.p5 .icon { background-image: url("img/point5.svg"); }


/* ============================
   ЦЕНТРАЛЬНА КАРТИНКА
=============================== */

.pentagon .image {
  position: absolute;
  width: 50%;               /* адаптивний розмір */
  height: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* ключове: показує всю картинку */
  
  border-radius: 2%;
  transition: background-image 0.3s ease;
}

/* Зміна центральної картинки */
input#p1:checked ~ .pentagon .image { background-image: url("img/poligon1.jpg"); }
input#p2:checked ~ .pentagon .image { background-image: url("img/poligon2.jpg"); }
input#p3:checked ~ .pentagon .image { background-image: url("img/poligon3.jpg"); }
input#p4:checked ~ .pentagon .image { background-image: url("img/poligon4.jpg"); }
input#p5:checked ~ .pentagon .image { background-image: url("img/poligon5.png"); }

.slider-button,.button-block{
     animation: bgChange 1s linear infinite;
}


@keyframes bgChange {
  0%   { background: #f17500; }
  25%  { background: linear-gradient(90deg, #f17500 0%, #ffa346 17.41%, #ffa346 38.65%, #f17501 84.13%, #f17500 100%); }
  50%  { background: linear-gradient(90deg, #f17500 0%, #f17501 20.67%, #ffa346 36.23%, #ffa346 56.66%, #f17501 85.1%, #f17500 100%); }
  75%  { background: linear-gradient(90deg, #f17500 0%, #f5841a 25.2%, #ffa346 64.45%, #ffa346 78.43%, #f17500 100%); }
  100% { background: #f17500; } /* повертаємося до початку */
}

.full-section{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.full-section .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
video{
    max-width: 100%;
    height: auto;
    vertical-align: top;
}
#navbarNavAltMarkup.show,#navbarNavAltMarkup.collapsing{
    background-color: white;
}
.index #navbarNavAltMarkup.show,.index #navbarNavAltMarkup.collapsing{
    background-color: rgba(0, 0, 0, 0.2);
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
        max-width: 1560px;
    }

}