/********** Template CSS **********/
:root {
  --primary: #ffb947;
  --secondary: #2d2b2b;
  --light: #F2F2F2;
  --dark: #7a571d;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-lg-top.vh-100 {
    height: 100% !important;
  }
}

.fw-semi-bold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.btn-square {
  width: 40px;
  height: 40px;
}

.btn-sm-square {
  width: 30px;
  height: 30px;
}

.btn-lg-square {
  width: 50px;
  height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.typed-cursor {
  font-size: 25px;
  color: var(--light);
}

.back-to-top {
  position: fixed;
  display: none;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 1;
  font-size: 30px;
  right: 30px;
  bottom: 30px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  color: var(--primary);
}

.back-to-top i:hover {
  color: var(--dark);
}

.back-to-top {
  -webkit-animation: action 1s infinite alternate;
  animation: action 1s infinite alternate;
}

@-webkit-keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

@keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

.title {
  position: relative;
}

.title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  bottom: -4px;
  left: 0;
  border: 2px solid var(--light);
  border-radius: 10px;
}

.title::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 15px;
  border-radius: 2px;
  background: var(--light);
}

.progress {
  height: 5px;
}

.progress .progress-bar {
  width: 0px;
  transition: 2s;
}

.service-item {
  padding: 30px;
  text-align: center;
  background: var(--secondary);
}

.service-item i {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  transition: .5s;
}

.service-item:hover i {
  background: var(--primary);
  color: var(--light);
}

.portfolio-item .portfolio-btn {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  font-size: 90px;
  background: rgba(64, 64, 59, .9);
  opacity: 0;
  transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  top: 30px;
  left: 30px;
}

.portfolio-item i {
  opacity: 0;
  transition: .3s;
  transition-delay: .3s;
}

.portfolio-item:hover i {
  opacity: 1;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--light);
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
}

.mb-4 {
  margin-top: 1rem;
}

/* Стили для сервиса */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*background-color: #fff;*/
    /*border-radius: 12px;*/
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 250px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Чтобы не выходило за границы */
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* Эффект при наведении */
.service-item:hover {
    transform: translateY(-3px) scale(1.01); /* Подпрыгивание и увеличение */
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2); /* Усиление тени */
}

/* Анимация светового пятна */
.service-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    transform: translate(-50%, -50%) scale(0); /* Начальное состояние - скрыто */
    transition: transform 0.3s ease-out;
    pointer-events: none; /* Не блокирует клики */
    z-index: 0;
}

/* Появление светового пятна при наведении */
.service-item:hover::before {
    transform: translate(-50%, -50%) scale(1); /* Увеличение светового пятна */
}

/* Внутренние элементы */
.service-item i,
.service-item h5,
.service-item p {
    position: relative;
    z-index: 1; /* Слой выше светового пятна */
}

/* Иконка */
.service-item i {
    /*color: #007bff;*/
    margin-bottom: 20px;
    transition: transform 0.4s ease-in-out;
}

/* Эффект движения иконки при наведении */
.service-item:hover i {
    transform: translateY(-2px);
}

/* Заголовок */
.service-item h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

/* Текст */
.service-item p {
    font-size: 1rem;
    color: #6c757d;
    transition: color 0.3s ease-in-out;
}

/* Изменение цвета текста и заголовка при наведении */
/*.service-item:hover h5,*/
.service-item:hover p {
    color: #fff;
}

li {
margin-bottom: 0.25rem;}

.UPW {
  color: lightgreen;
}

.PW {
  color: #a229ff;
}

.MDE {
  color: lightblue;
}

button { 
  border: 0;
  background-color: inherit;
  color: inherit;
  padding-right: 10px;
}

