@import url('https://fonts.googleapis.com/css?family=Inter&display=swap');

body {
    font-family: Inter, serif;
    background: linear-gradient(103deg, #ffffff 0%, #66666b 100%);
}


h1, h2, h3, h4, h5, h6, p, ul, li, .text-form {
    color:rgb(22, 22, 22);
}


table {
    border-collapse: collapse;
   /*убираем пустые промежутки между ячейками*/
   border: 1px solid rgb(247, 247, 247);
}
th, td {
    border: 1px solid  rgb(247, 247, 247);
 }
thead, tfoot {
    font-weight: bold;
    font-size: 1.5em;
    color:rgb(18, 17, 19);
}
tbody {
    font-size: 90%;
    font-style: italic;
    color:rgb(7, 7, 7);
  }

.essentia {
    text-align: justify;
}

 
.nav-link {
    font-size: 1.07em;
    color:rgb(9, 1, 5);
}

.navbar-nav .nav-link {
    white-space: nowrap;  /*  запрещает перенос строки */
}

.navbar-nav .nav-link.active {

    color: rgb(92, 90, 90);
}

.navbar-nav {
    display: flex;
    align-items: center; /* ← выравнивание .nav-link по вертикали */
}

.nav-item.active {
    text-decoration: underline rgb(224, 224, 224);
}

.navbar-brand img{
    width: 200px;
}


/* МОБИЛЬНЫЕ И ПЛАНШЕТЫ — отключаем sticky полностью */
@media (max-width: 1199px) {
    .navbar-brand img{
    width: 150px;
    }
}

.navbar-toggler {
    background-color: #f1f0fe;
}

.navbar-neon-glow {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5); /* Adjust the values for the desired glow effect */
  }

.nav-right-block {
    display: flex;
    flex-direction: column;
}

.top-row, .bottom-row {
    width: 100%;
}

.flags-row a {
    margin-left: 8px;
}

.social-row a {
    margin-left: 0px;
}

.bottom-row {
    margin-top: 0px; /* уменьшает расстояние между этажами */
}

.phone-number {
    min-width: 100px;
    text-align: left;
    margin-right: 0px;
}

  
.sidebar {
    color: rgb(0, 0, 0);
    background: linear-gradient(270deg, #fbfbff69 0%, #cac8c8 100%);
}

.card {
    background: linear-gradient(270deg, rgba(251, 251, 255, 0.41) 0%, #cac8c8 100%);
    color: rgb(0, 0, 0);
}


.card a {
    text-decoration: none;
    color: rgb(27, 0, 150);
}
.slide-text,
.footer-text {
    font-size: 1.2em;
    color: rgb(10, 10, 10);
    margin: auto auto;
}

/* 1200px – 1366px */
@media (max-width: 1366px) and (min-width: 1200px) {
    .footer-text {
        font-size: 1em;
    }
}

/* < 1200px */
@media (max-width: 1199px) {
    .footer-text {
        font-size: 0.8em;
    }
}

footer,
.btn-outline-primary {
    background: linear-gradient(91deg,  #ffffff 0%, #66666b 100%);

}

.footer-icons-block {
    margin-top: 20px;
}


/* Блок соцсетей — всегда в один ряд */
.social-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px; /* ← опускаем блок N пикселей вниз */
}

/* Иконки — фиксированный нормальный размер */
.social-icon {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    border-radius: 10px;
}

/* автор — маленький и справа */
.footer-author-small {
    text-align: right;
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.7;
}

/* На мобильнике всё по центру */
@media (max-width: 1199px) {
    .footer-author-small {
        text-align: center;
        margin-top: 15px;
    }
}

.media-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shine {  
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
   
    border:1px solid transparent;
    border-radius:5px;
  }
   
  .shine:hover {
    box-shadow: 0 0 15px #edf3f7;
    border: 3px solid #edf3f7;
  }

.shining-text {
            position: relative;
            animation: shine 1.5s infinite alternate;
        }

        @keyframes shine {
            0% {
                color: white;
            }
            100% {
                color: #000; /* Change to the original text color */
            }
        }

/* ДЕСКТОП — хедер фиксированный и JS работает */
#mainHeader {
  top: 0;
  z-index: 9999;
  transition: transform 0.3s ease;
  will-change: transform;
}

@media (min-width: 1200px) {
  #mainHeader {
    position: sticky;
  }
  #mainHeader.is-hidden {
    transform: translateY(-100%);
  }
}

/* твой блок остаётся как есть */
@media (max-width: 1199px) {
  #mainHeader {
    position: static !important;
    top: auto !important;
    transform: none !important; /* важно: на мобилке гарантируем показ */
  }
}



.brand-logo-small {
    width: 200px;            /* одинаковая ширина */
    height: auto;            /* сохраняем пропорции */
    object-fit: contain;     /* аккуратное масштабирование */
    display: block;
}

.imagestyle {
    display: block;
    margin-left: auto;   /* прижимает к правому краю */
    margin-right: 0;
    width: 80%;
    border: 3px solid white; /* Color and thickness of the white neon frame */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Adding a soft glow effect to the neon frame */
    box-sizing: border-box;
}

.imagestyle1 {
    display: block;
    margin-left: auto;
    margin-right: 0;
    margin-top: 12mm;   /* отступ сверху */
    width: 80%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
}

@media (max-width: 1199px) {
        .imagestyle {
        display: block;
        margin: auto;   /* прижимает к правому краю */
        width: 80%;
        border: 3px solid white; /* Color and thickness of the white neon frame */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Adding a soft glow effect to the neon frame */
        box-sizing: border-box;
    }
    .imagestyle1 {
        display: block;
        margin: auto;   /* прижимает к правому краю */
        width: 80%;
        border: 3px solid white; /* Color and thickness of the white neon frame */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Adding a soft glow effect to the neon frame */
        box-sizing: border-box;
    }
}

.imagestyles {
    display: block;
    margin: 0 auto;
    width: 45%;
    border: 1px solid white; /* Color and thickness of the white neon frame */
}

.image-sr-4 {
    display: block;
    margin: 0 auto;
    width: 45%;
}


.search-form {
    min-width: 180px;
    margin-top: 2px;
    margin-left: 5px;
    text-align: right;
}

.qr-image {
    display: block;
    margin: 0 auto;
    width: 70%; /* Adjust the width as needed */
}


.nav-social-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px; /* расстояние между рядами */
}

.nav-row {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.flag {
    width: 42px;
    border-radius: 6px;
}

.social {
    width: 32px;
    border-radius: 6px;
}

/* Адаптация под телефон */
@media (max-width: 600px) {
    .nav-social-block {
        gap: 10px;
    }
    .nav-row {
        gap: 18px;
    }
}


.call-anim {
    animation: myAnim 2s ease 0s infinite alternate forwards;
}
@keyframes myAnim {
	0%,
	100% {
		transform: translateX(0%);
		transform-origin: 50% 50%;
	}

	15% {
		transform: translateX(-30px) rotate(-6deg);
	}

	30% {
		transform: translateX(15px) rotate(6deg);
	}

	45% {
		transform: translateX(-15px) rotate(-3.6deg);
	}

	60% {
		transform: translateX(9px) rotate(2.4deg);
	}

	75% {
		transform: translateX(-6px) rotate(-1.2deg);
	}
}

@media (max-width: 755px) {
    .carousel-indicators {
        display: none;
    }
}

