#rec1040100726 { /* Фиксация header'a*/
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 9997;
}

.svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-link {
    display: inline-block;
}

.logo {
  height: 95px;
}

.logo svg {
  display: block;
  height: 100%;
}

.menu-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 100%;
  background-repeat: repeat-x;
  background-image: linear-gradient(
    to right,
    #000 43%,         /* Линия до */
    transparent 43%,  /* Разрыв от */
    transparent 50%,  /* Разрыв до */
    #000 50%          /* Следующая линия */
  );
  background-size: 200% 100%;       /* В два раза шире блока */
  background-position: 200% 0;      /* Начинаем с правого края */
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* При наведении — появляется бегущая пунктирная линия справа налево */
.menu-link:hover::after {
  opacity: 1;
  animation: underline-dash 2s linear infinite;
}

/* При активной ссылке — сплошная линия, без анимации */
.menu-link.active::after {
  opacity: 1;
  background-image: linear-gradient(to right, #000 100%, #000 100%);
  animation: none;
}

/* Анимация движения фона справа налево */
@keyframes underline-dash {
  from {
    background-position: 107% 0;
  }
  to {
    background-position: 0% 0;
  }
}

/* Свайпер с проектами */
.swiper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.5s ease;
}

.swiper-slide img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.caption {
  margin-top: 12px;
  font-size: 18px;
  text-align: center;
  color: #333;
}
