:root {
  --primary-color: #ff0000;
  --secondary-color: #000;
  --text-color: #fff;
  --background-color: #1a1a1a;
  --border-color: #333;
}

.header__main {
  position: fixed;
  top: 0;
  z-index: 100;
}
a:hover {
    color: #a97919;
    text-decoration: none;
}
.bg__main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  bottom: -100px;
}
.bg__img {
  width: 100%;
  height: auto;
  /* Додайте цю властивість */
  -o-object-fit: cover;
  object-fit: cover;
  z-index: -1;
}
.header {
  /* width: 100%; */
  width: calc(100vw - var(--scrollbar-width, 17px));
  padding: 0px;
  -webkit-transition: all .2s linear 0s;
  -o-transition: all .2s linear 0s;
  transition: all .2s linear 0s;
  background-color: #000;
  color: #fff;
}
.home-icons__img{
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero-info{
  display: flex;
    flex-direction: column;
    align-items: center;
}
.menus {
  padding-top: 0;
  text-align: center;
  position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.open-modal {
  background-color: transparent;
  border: 2px solid #fff;
  padding: 10px 10px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 20px;
  font-size: 20px;
}

.open-modal:hover {
  background-color: transparent;
    text-decoration: none;
    transform: scale(1.1);
    transition: transform 0.3s ease;
    color: #fff;
  
}

.div-with-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  /* Товщина підкреслення */
  background-color: #fff;
  /* Колір підкреслення */
  transition: opacity 0.3s, transform 0.8s;
  /* Плавний перехід */
  transform: scaleX(1);
  /* Початкова ширина підкреслення */
}


.div-with-underline.hide-underline::after {
  opacity: 0;
  transform: scaleX(0);
}
#hero {
  padding: 100px 0;
  
  background-size: cover;

background-repeat: no-repeat;
background-position: center right;
}
.body-hero{
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin-top: 100px;
  
}
.hero-img{
  width: 100%;
  height: auto;
  filter: brightness(1.1);
    transition: filter 0.3s ease;
}
.categories-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 20px;
  justify-content: center;
}

.category-button {
  padding: 10px 15px;
  margin: 5px;
  background-color: transparent;
  border: 1px solid #797979;
  cursor: pointer;
  color: #797979;
  font-size: 24px;
  line-height: 24px;
}



.category-button:hover {
  background-color: #e9e9e9;
}

.swiper-container-wrapper {
  width: 100%;
}

.swiper-container {
  overflow: hidden;
}

.swiper-slide {
  text-align: center;
  font-size: 16px;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
}

.swiper-slide a {
  text-decoration: none;
  color: #333;
}



.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: var(--swiper-pagination-bottom, auto);
  top: var(--swiper-pagination-top, auto);
  left: 0;
  width: 100%;
}

.swiper-nav {
  display: flex;
  flex-direction: row;
  position: relative;
}

.swiper-custom-pagination {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 100px;

}

.swiper-prev:active svg path,
.swiper-next:active svg path,
.swiper-prev[data-active="true"] svg path,
.swiper-next[data-active="true"] svg path {
  stroke: #e80810;
}

.swiper-prev,
.swiper-next {
  cursor: pointer;
}

.swiper-custom-pagination .swiper-pagination-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 1.5;
  cursor: pointer;
}

.swiper-custom-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #e80810;
}
.category-icon {
  margin-left: 10px;
  width: 40px;
  height: 40px;
}
.swiper-custom-pagination{
  padding: 70px 0;
}
.services{
  background: #000;
  color: #fff;
}
.services-title{
  color: #fff;
  font-size: 4em;
  padding: 40px 0 ;
  text-align: center;
}
.category-button{
  color: #fff;
}

.content-box__wrapper {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
}
.content-box__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
}

.titli-category {
  padding: 10px 15px;
  margin: 5px;
  background-color: transparent;
  border: 1px solid #Fff;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.2em;
  line-height: 1.4em;
  text-align: center;
  max-width: max-content;
  
}
.swiper-slide img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
  border-radius: 30px;
}

.acf-text {
  flex-grow: 1;
  min-height: 230px;
  font-size: 1em;
  
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}
.btn-category {
  
  max-width: max-content;
  text-align: center;
  display: flex;
  
}
.acf-detail {
  background-color: transparent;
    border: 2px solid #fff;
    padding: 0 10px;
    cursor: pointer;
    border-radius: 30px;
  font-size: 1.8em;
  margin: 10px 0;
  color: #fff;
 
  text-align: center;

}


.acf-title {
  font-size: 1.8em;
  margin: 10px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  max-width: max-content;

}

.swiper-slide{
  border: 2px solid #fff;
  border-radius: 30px;
  background-color: transparent;
  font-size: 16px;
  padding: 10px;
    box-sizing: border-box;
    text-align: center;
}


.acf-link {
  color: #fff;
  text-decoration: none;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  background-color: #222;
  
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid #e80810;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee p {
  display: inline;
  color: #fff;
  padding: 15px 0;
  margin: 0;
  font-size: 1.8em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}




.category-button {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-button:hover, .acf-detail:hover {
  background-color: #fff;
  color: #000;
}

.acf-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  margin: auto;
  height: 4px;
  width: 50%;
  background-color: #E9041E;
}

.navbar-nav .nav-link:hover {
  color: #e80810;
  text-decoration: none;
  
  
}
.menus {
  padding-top: 0;
  text-align: center;
  position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.navbar-nav .nav-link:hover {
  color: #e80810;
  text-decoration: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 30%;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #6C757D;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  padding-inline-start: 0;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #000;
  text-align: inherit;
  white-space: nowrap;
  background-color: #fff;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 20px;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #000;
  width: 95%;
  margin-left: 2px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  font-size: 20px;
}
.dropdown-item:hover,
.dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: transparent;
}

.navbar-nav .nav-link {
  padding-right: 20px;
  padding-left: 0;
  font-size: 1.6rem;
}

.dropdown-toggle {
  cursor: pointer;
  margin-left: 5px;
  font-size: 0.8rem;
  display: inline-block;
  position: absolute;
  left: 83%;
  top: 50%;
  transform: translateY(-50%);
  color: #e80810;
}

.menu-item.has-children {
  position: relative;
}

.modali {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.dropdown-item img{
 margin-right: 10px;
}

.modal-contenti {
  background-color: #fefefe;
  border: 1px solid #888;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
  border-radius: 10px;
  position: relative;
  top: 50px;
}
.close-img {
  width: 24px;
  position: absolute;
  right: 5px;
  top: 5px;
}
/* Стилі для модального вікна */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
    
}

/* Вміст модального вікна */
.modal-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  /* Встановлюємо максимальну висоту */
  background-color: #fff;
  border-radius: 8px;
  
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  
  /* -ms-overflow-style: none;

  scrollbar-width: none;
  */
}

/* Приховує скролбар у веб-клієнтах */
.modal-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.modal-btn {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  margin-left: auto;
  margin-right: auto;
}
.wpcf7-form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 50px;
  background: #000;
  color: #fff;
  
  align-items: center;
}

.form-title {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5e6d89;
  width: 100%;
  text-align: center;
}

.form-text {
  text-align: center;
}

.form-label {
  font-size: 20px;
  
  width: 50%;
}
.wpcf7-form-control {
  padding: 15px 20px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  
  width: 100%;
  margin: 10px;
  color: #fff;
}

.wpcf7-submit {
  padding: 20px 40px;
  width: 100%;
  background: #e0e8e9;
  color: #000;
  border-radius: 30px;
  border: none;
  box-shadow: 0 0 20px #bbbccf;
  transition: all 0.2s;
  font-size: 24px;
  margin-top: 40px;
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px rgba(0, 225, 255, 0.5);
}

.wpcf7-not-valid-tip {
  color: #a00707;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #a00707;
}
.optional{
  padding: 30px 0;
}

.menu-icon {
  width: 20px;
  /* Задайте необхідний розмір */
  height: auto;
  margin-right: 8px;
  /* Відступ між іконкою та текстом меню */
  vertical-align: middle;
  /* Вирівнювання іконки по центру тексту */
}

.btn-hero__link {
  background-color: transparent;
  border: 2px solid #fff;
  padding: 10px 10px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 20px;
  font-size: 20px;
}
.btn-hero{
text-align: center;
}
.btn-hero__link:hover {
  color: #e80810;
}
.hero-title{
      font-size: 60px;
      color: #fff;
      max-width: 100%;
      text-align: center;
}
.hero-text{
  color: #fff;
  font-size: 22px;
  text-align: center;
}


.loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 5;
  display: none;
}

.loader__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 38px;
  z-index: 6;
  color: #59462b;
}

.loader__title span {
  color: #323232;
}

.loader__item {
  flex: 1 1 auto;
  z-index: 7;
  background: #59462b;
}

.loader__item-1 {
  border-right: 1px solid #323232;
}

.loader__item-2 {
  border-right: 1px solid #323232;
}

/* about */
.about{
  background-color: #000;
}
.about-info__title {
  font-size: 4rem;
  text-align: center;
  color: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;

}
.about-grid__item{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  padding-bottom: 30px;
}
.about-media{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
}
.about-info{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.item-text__title{
  text-align: center;
  font-size: 2rem;
  color: #fff;
}
.about__info-text{
  font-size: 20px;
}
.about-grid__img{
 max-width: 100%;
 height: auto;
}
.about-grid__item-text{
  display: flex;
  align-items: center;
  color: #fff;
  flex-direction: column;
  justify-content: center;
}
.about-grid__item-media{
  display: flex;
  justify-content: center
}
.about__btn{
     background-color: transparent;
    border: 2px solid #000;
    padding: 10px 10px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 20px;
    font-size: 20px;
    max-width: max-content;

}
.about__btn-link{
    color: #000;
}
.btn__about-link {
  background-color: transparent;
  border: 2px solid #000;
  padding: 10px 10px;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 20px;
  font-size: 20px;
  text-align: center;
}

.counter {
  display: flex;
  justify-content: space-around;
  padding: 50px 0;
  background-color: #f5f5f5;
}
/* about */




/* booking */
.booking-wrapper {
  overflow-x: hidden;
  position: relative;
}
.booking svg {
  position: absolute;
  top: 8em;
  left: 10vw;
  width: 50vw;
}
.booking svg mask {
   width: 0;
}
.booking-container {
  display: flex;
  width: 300vw;
}
  .col {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .booking-section {
    width: 100px;
    padding: 20px 10px;
  }

.booking-container section  {
  height: 120vh;
  width: 75vw;
  padding: 20vw 10vw;
  text-align: center;
}
.booking-container section ul {
  list-style-type: none;
  display: flex;
  gap: 3em;
  width: 100%;
  height: 300px;
  padding: 0;
}
.booking-container section li {
    background: white;
    border-radius: .3em;
    flex-grow: 1;
  }
.booking-item__button {
  background: linear-gradient(135deg, #ff6f61, #ff9478);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  font-weight: bold;
  padding: 15px 30px;
  position: relative;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.booking-item__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.booking-item__button:hover::before {
  transform: scaleX(1);
}

.booking-item__button:hover {
  background: linear-gradient(135deg, #ff8c72, #ffa07a);
}
.booking-title{
  font-size: 3rem;
  padding: 40px 0;
  text-align: center;
}
.booking-item__title{
  font-size: 1.8rem;
}
.booking-item__text{
  font-size: 1.2rem;
}
/* booking */

/* advantages */
.advantages-section {
  padding: 40px 0;
  text-align: center;
  background-color: #000;
}

.advantages {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background-color: #000;
}


.advantages-info {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  display: grid;
  padding: 40px 0;
  color: #fff;
}

.advantages-info__item {
  padding: 20px;
  border: 1px solid #fff;
  border-radius: 20px;
}

.advantages-info__item-text {
  font-size: 1.2rem;
}

.highlight {
  color: #ff0000;
  font-weight: bold;
}
.advantages-title{
  color: #fff;
  font-size: 4rem;
  padding: 40px 0;
}
.counter-num {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}
.counter-item {
  text-align: center;
  margin-bottom: 40px;
  min-width: 200px;
}
.advantages-text {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  display: inline-block;
  transform: rotate(-15deg);
  
}
/* advantages */

/* reviews */
.reviews-section {
  background-color: #000;
  color: #fff;
  padding: 80px 0;
 
}



.reviews-section__title {
  text-align: center;
  color: #fff;
  font-size: 4rem;
  padding: 50px 0;
  z-index: 1;
 
}



.contact-info__title {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  padding: 30px 0;
  
}

.reviews-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  z-index: 1;
  position: relative;
}

.contact-info {
  padding: 20px;
 
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.contact-info  {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-info i {
  margin-right: 10px;
  color: #ccc;
  font-size: 1.2rem;
}
.contact-info__top {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  flex-direction: column;
}
.contact-info__top a {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff; 
}
.fa-envelope:before {
  padding: 10px;
}
.contact-info__bottom-text{
  font-size: 1.2rem;
   text-align: center;
   color: #fff;
   margin-bottom: 20px;
}
.reviews-section__map iframe {
  border-radius: 10px;
 
}
.contact-info__socials {
  display: flex;
}

.contact-info__socials-item {
  margin-right: 20px;
}
/* reviews */


/* booking-page */
.booking {
  background-color: #fff;
  padding: 40px 0;
}

.booking__wrapper {
  padding: 40px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bpa-front-button-container {
  padding: 10px;
}

.bpa-front-button {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #000000;
  border-radius: 20px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  font-size: 2rem;
  background-color: #000;
}
/* booking-page */


/* footer */
.footer__social-a {
   
    font-size: 24px;
   
}
.footer__contacts-li{
        color: #fff;
    list-style-type: none;
    column-gap: 65px;
    line-height: 40px;
    display: flex;
}

.footer {
  border-top: 3px solid #ff0000;
  background-color: #000
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
  padding: 30px;
}

.footer__contact,
.footer__social {
  color: #fff;
}

.footer__contact-ul {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  text-align: center;
}

.footer__social {

  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__contct-title,
.footer__social-title {
  font-size: 32px;
  color: #fff;
  text-align: center;
  margin-left: 20px;
}

.footer__contact li,
.footer__social-link {
  color: #fff;
  list-style-type: none;
  margin: 10px 0;
  line-height: 40px;
  display: flex;
  column-gap: 65px;

}

.footer__contacts-text {
  font-size: 24px;
  padding: 10px;
}

.footer__social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__bottom p {
  margin-bottom: 0;
  padding: 30px;
  text-align: center;
  color: #fff;
}

.footer__logo-title {
  font-size: 6rem;
  color: #e80810;
  text-align: center;
}

.footer__logo {
  display: flex;
  align-items: center;
}
/* footer */
/* сторінка послуги */
.services-page{
  background-color: #000;
  padding: 6rem 0;
}
/* сторінка послуги */
/* сторінка про послуги */
.engine-page {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.engine-page__title {
  padding-top: 1.5rem;
  font-size: 2.25rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 2.5rem;
  border-bottom: 0.2rem solid var(--primary-color);
  display: block;
  padding-bottom: 0.625rem;
  margin-left: auto;
  margin-right: auto;
  width: max-content;
}

.engine-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

.service-item {
  background-color: var(--background-color);
  border: 0.125rem solid var(--border-color);
  padding: 1.25rem;
  border-radius: 0.625rem;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-item:hover {
  border-color: var(--primary-color);
}

.engine-page__image {
  width: 100%;
  border-radius: 0.625rem;
  margin-bottom: 1.25rem;
}

.engine-page__content-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.engine-page__content-title{
  border-bottom: 0.2rem solid var(--primary-color);
  padding-bottom: 0.625rem;
  max-width: max-content;
}
.engine-page__content-title {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.625rem;
  margin-left: auto;
  margin-right: auto;
}

.engine-page__text {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.engine-page__btn-category {
  text-align: center;
}

.engine-page__btn-category a {
  text-decoration: none;
}

.engine-page__detail {
  font-size: 0.875rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  padding: 0.625rem 1.25rem;
  border-radius: 1.25rem;
  border: 0.125rem solid var(--primary-color);
  transition: background-color 0.3s, color 0.3s;
}

.engine-page__detail:hover {
  background-color: var(--primary-color);
  color: var(--text-color);
}


.engine-page__grid>* {
  display: flex;
}

.service-item {
  flex-direction: column;
}



.engine-page__content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.engine-page__btn-category {
  margin-top: auto;
}


/* сторінка про послуги */
/* шапка */
.black-bg{
  padding: 35px 0;
  background-color: #000;
}
/* шапка */





/* модальне вікно */
.modal__btn-contact{
  display: flex;
  justify-content: center;
  padding: 30px 0;
}
.open__model-contact{
  background-color: transparent;
  border: 2px solid #0a0808;
  padding: 10px 10px;
  color: #0d0c0c;
    cursor: pointer;
    
    border-radius: 20px;
    font-size: 20px;
   
}
/* модальне вікно */


/*menu */
.menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 300px;
  background-color: #fff;
  z-index: 1000;
  overflow-y: auto;
  transition: transform 0.3s ease;
  transform: translateX(-100%);
  justify-content: center;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.menu.active {
  transform: translateX(0%);
}

.close-button {
  display: none;
}

.close-button.active {
  display: block;
  cursor: pointer;
  z-index: 1001;
  border: none;
  background-color: transparent;
  position: absolute;
  top: 10px;
  left: 10px;
}

.menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  width: 100%;
  height: max-content;
}

.menu__list li {
  position: relative;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.menu__list a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.menu__list li a:hover {
  color: #0d6da1;
}


.menu-text {
  flex-grow: 1;
  padding-right: 20px;
}


.sub-menu-toggle {
  font-size: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

.sub-menu-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.sub-menu {
  display: none;
  padding-left: 20px;
  background-color: #f9f9f9;
  border-left: 2px solid #eee;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  border: none;
  background-color: transparent;
  position: absolute;
}

.hamburger.active {
  display: none;
}

.header__menu {
  display: flex;
  align-items: center;
  height: 70px;
}


.menu__list li:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.menu__list li:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom: none;
  background-color: #fff;
  
}


.menu__list li a {
  color: #4b3d33;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s;
}


.menu__list li a:hover {
  color: #000;
}
.open-modal {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  background-color: #e80810;
  border: 2px solid #e80810;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  cursor: pointer;
}

.open-modal:hover {
  background-color: #b1060c;
  border-color: #b1060c;
  transform: scale(1.05);
}

.open-modal:active {
  background-color: #8a050a;
  border-color: #8a050a;
  transform: scale(0.95);
}

.open-modal:focus {
  outline: none;
  box-shadow: 0 0 5px #e80810;
}


/*menu */

/* Стилі для сторінки послуги */
.service-page {
  padding: 60px 0;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.service-page__intro {
  text-align: center;
  margin-bottom: 4em;
}

.service-page__title {
  font-size: 4rem;
  color: #e80810;
  margin: 1.5em 0 2em;
}

.service-page__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  justify-content: center;
  align-items: center;
  justify-items: stretch;
}

.service-page__description p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.8;
  border: 1px solid #e51616;
  border-radius: 20px;
  background-color: #000;
  padding: 10px;
}
.service-page__btn{
  text-align: center;
}
.service-page__image-wrapper {
  width: 100%;
  height: auto;
  margin-bottom: 40px;
}

.service-page__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-page__pricing {
  text-align: center;
  margin: 6em 0;
  
}

.service-page__subtitle {
  font-size: 2rem;
  color: #000;
  margin-bottom: 20px;
  text-align: center;
}

.service-page__table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.service-page__table th,
.service-page__table td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: center;
}

.service-page__table th {
  background-color: #000;
  color: #fff;
  font-weight: bold;
}

.service-page__table td {
  background-color: #f9f9f9;
}

/* Стилі для акордеону */
.accordion {
  margin-top: 40px;
}

.accordion__item {
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion__header {
  padding: 15px;
  background-color: #e80810;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #fff;
  transition: background-color 0.3s ease;
  border-radius: 20px;
  text-align: center;
}

.accordion__header:hover {
  background-color: #000;
}

.accordion__icon {
  fill: #fff;
  transition: transform 0.3s ease;
}

.accordion__content {
  padding: 20px;
  display: none;
  border: 2px solid #e74c3c;
  background-color: #fff;
  text-align: center;
  color: #000;
  margin: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}
.accordion__content--active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.accordion__item--open .accordion__icon {
  transform: rotate(180deg);
}

/* Кнопка */
.service-page__btn-service {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 30px;
  font-size: 18px;
  background-color: #e80810;
  color: #fff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 20px;
}

.service-page__btn-service:hover {
  background-color: #000;
  color: #e80810;
}
.service-categories {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.service-category {
  margin-bottom: 8px;
}

.service-category a {
  text-decoration: none;
  font-weight: bold;
  color: #e80810;
  transition: color 0.3s, transform 0.3s;
}

.service-category a:hover {
  color: #c0392b;
  transform: scale(1.05);
}

.service-widget {
  display: none;
  position: fixed;
  top: 10%;
  left: 0;
  width: 100%;
  max-width: 300px;
  height: 80%;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.service-category,
.service-subcategory {
  margin-bottom: 8px;
}

.service-category__title {
  font-size: 18px;
  font-weight: bold;
  color: #e80810;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-category__title:hover {
  color: #c0392b;
}

.service-subcategory__title {
  font-size: 16px;
  font-weight: bold;
  color: #e80810;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
}

.service-subcategory__title:hover {
  color: #c0392b;
}

.service-subcategory__toggle {
  font-size: 14px;
  transition: transform 0.3s;
}

.service-subcategory__pages {
  list-style-type: none;
  padding-left: 20px;
  margin-top: 5px;
  display: none;
}

.service-subcategory__pages li {
  margin-bottom: 5px;
}

.service-subcategory__pages a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

.service-subcategory__pages a:hover {
  color: #ff1d04;
}

.service-widget-toggle {
  display: block;
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #e80810;
  color: #fff;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 1001;
  font-size: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.service-widget-toggle:hover {
  background-color: #c0392b;
  transform: scale(1.1);
}

.service-widget-toggle.open+.service-widget {
  display: block;
}

.service-widget.visible {
  display: block;
}
/* сторінка про нас  */.about-page {
  background: #f8f8f8;
  padding: 20px 0;
}

.about-page__hero {
  margin-top: 30px;
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
}

.about-page__hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.about-page__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
}

.about-page__hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #e80810;
}

.about-page__hero p {
  font-size: 1.5rem;
}

.about-page__about-us {
  padding: 60px 0;
  display: flex;
  align-items: center;
  background: #fff;
}

.about-page__about-us__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.about-page__about-us__text {
  flex: 1;
  
  min-width: 300px;
  padding: 10px 10px 20px 10px;
}

.about-page__about-us__photo {
  flex: 1;
  padding-left: 20px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-page__about-us__text__p{
  text-align: center;
}
.about-page__about-us__photo img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.about-page__about-ua__title{
  padding-bottom: 2em;
  text-align: center;
}
.about-page__text-blocks {
  padding: 60px 0;
  background: #eee;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.about-page__text-block {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin: 0 10px;
  text-align: center;
  max-width: 400px;
  transition: transform 0.3s;
}

.about-page__text-block:hover {
  transform: translateY(-10px);
}

.about-page__team {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}

.about-page__team h2 {
  margin-bottom: 2em;
  font-size: 2.5rem;
}

.about-page__team-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.about-page__team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 100%;
}

.about-page__team-member__photo {
  width: 100%;
  height: auto;
}

.about-page__about-img {
  width: 100%;
  height: auto;
  display: block;
  
}

.about-page__team-member__text {
  padding: 20px;
}

.about-page__team-member__text h3 {
  margin: 10px 0 5px;
  font-size: 1.5em;
  color: #333;
}

.about-page__team-member__text p {
  margin: 0;
  font-size: 1em;
  color: #666;
}
.navbar-nav{
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1200px;
    width: 100%;
    padding: 0 30px;
    
  }
    
}
@media only screen and (min-width: 1400px) {
  .container {
    max-width: 1400px;
    width: 100%;
    padding: 0 30px;
  }
    
}
@media only screen and (min-width: 1600px) {
.container {
  max-width: 1450px;
  padding: 0 5px;
}
}
@media (max-width: 1200px){
.hero-title {
    font-size: 50px;
  }
   
}
@media (max-width: 992px) {
  .service-page__content {
      display: grid;
      grid-template-columns:  1fr;
      grid-gap: 20px;
      justify-content: center;
      align-items: center;
      justify-items: stretch;
    }
  #hero {
      padding: 50px 0;
    }
  .body-hero {
      grid-template-columns: 1fr;
    }
  .footer__wrapper {
    flex-direction: column;
    align-items: center;
  }
  .menu.active {
    display: flex;
    top: 68px;
    background-color: transparent;
    }
    .menu {
      display: none;
    }
    .hamburger {
      display: flex;
    }
    .modal-contenti {
      padding: 12px;
      top: 0;
    }
    .navbar-nav {
      display: none;
    }
    .modal-content {
      margin: auto;
      width: 80%;
    }
    .engine-page__grid {
      grid-template-columns: 1fr 1fr;
    }
  }

@media (max-width: 798px) {
  .service-widget-toggle {
      font-size: 1rem;
    }
  
  .engine-page__grid {
      grid-template-columns:  1fr;
    }
  .reviews-section__map{
    width: 80%;
    height: auto;
  }
    .acf-text {
        flex-grow: 1;
        min-height: 100%;
      }
    
      .categories-navigation {
        justify-content: center;
      }
            .swiper-custom-pagination {
              margin-right: 0;
      
            }
      
            .swiper-prev,
            .swiper-next {
              display: none;
            }
      
            .acf-title,
            .titli-category,
            .acf-text {
              margin-left: 20px;
            }
    
  
  .about {
      padding: 70px 0;
  }
  
   
.body-hero {
    flex-direction: column;
    margin-top: 200px;
    text-align: center;
    align-items: center;
  }

  .hero-text {
    margin-top: 20px;
  }

  .btn-hero {
    text-align: center;
  }
     .form-title {
       font-size: 24px;
     }
         .advantages-info {
           grid-template-columns: 1fr  1fr;
         }
        .reviews-section__grid {
          grid-template-columns: 1fr;
        }
        .contact-info__socials-item {
          margin-right: 3px;
        }
                .contact-info {
                  padding: 10px;
                }
    .booking-item__text{
      font-size: 1rem;
    }
}


@media (max-width: 576px) {
  .footer__logo-title {
      font-size: 3rem;
    }
  .service-page__title {
      font-size: 3rem;
      
    }
  .booking-container section {
      padding: 30vw 10vw;
    }
  .booking-item__button {  
      font-size: 1.4rem;
    }
  .booking svg {
      top: 6em;
    }
   .hero-text {
    font-size: 16px;
    
    }
     
  .wpcf7-list-item-label {
      font-size: 10px;
    }
        .hero-title {
          font-size: 36px;
        }
        .body-hero {
          margin-top: 100px;
        }
        .home-icons__img {
          width: 80%;
        }
}

@media (max-width: 450px) {
    .wpcf7-form-control {
    width: 90%;
}
     .form-title {
    font-size: 18px;
  }
  .wpcf7-form {
      padding: 20px;
    }
    .open-modal {
      padding: 8px 10px;
      font-size: 8px;
    }
        .home-icons__img {
          width: 60%;
        }
        .advantages-info {
          grid-template-columns:  1fr;
        }
}
@media (max-width: 320px) {
.wpcf7-form {
    padding: 20px;
  }
  .form-label {
    font-size: 16px;
  }
  .wpcf7-submit {
    padding: 15px 20px;
  }
}
   