@charset "UTF-8";

/*Подключаем шрифты*/
/*@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/*Кастомный скролбар*/
::-webkit-scrollbar {
    width: .65em;
}

.color-background{
    background-color: #fff5ee;
}

::-webkit-scrollbar-track {
    background-color: rgba(217, 217, 217, 0.75);
}

::-webkit-scrollbar-thumb {
    background: rgba(170, 170, 170, 0.6);
    border-radius: 5px;
    box-shadow: inset 0.05em 0.05em 0 rgba(0, 0, 0, 0.1), inset 0 -0.05em 0 rgba(0, 0, 0, 0.07);
}

.wow{
    transform: translateY(10%);
    opacity: 0;
    animation: ani 1.5s forwards;
}

@keyframes ani {
  0% {transform: translateY(10%);}
  100% {transform: translateY(0);}
  0% {opacity: 0;}
  100% {opacity: 1;}
}

.delay-1{
    animation-delay: 0.1s;
}

.delay-2{
    animation-delay: 0.3s;
}

.delay-3{
    animation-delay: 0.5s;
}

.delay-4{
    animation-delay: 0.7s;
}

.delay-5{
    animation-delay: 0.9s;
}

.delay-6{
    animation-delay: 1.1s;
}

/*Титульник НОВЫЙ*/
.p-text-title{
    max-width: 870px;
    white-space: normal;
}

.ul-style{
    padding-left: 22px !important;
}

/*Общие стили*/
* {
    box-sizing: border-box;
}

html{
    display: flex;
    justify-content: space-between;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

h1, h2, p, a{
    margin: 0;
    height: fit-content;
    font-weight: 500;
    white-space: nowrap;
}

.title-huge {
    font-size: 56px;
}

/*.title-huge{
    font-size: 64px;
    font-weight: 700;
}*/

.title{
    font-size: 36px;
}

.title-small{
    font-size: 20px;
}

.text-huge{
    font-size: 16px;
}

.text-main {
    font-size: 14px;
}

.text-mini{
    font-size: 12px;
}

.grey_text{
    color: #8C8C8C;
}

.blue_text{
    color: #212039;
}

button:disabled{
    pointer-events: none;
    background-color:rgba(255, 255, 255, 0.7) !important;
    color: #8C8C8C;
}

  
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    color: #fff;
    min-height: 100%;

    font-family: "Montserrat", sans-serif !important;
}

nav {
    width: 100%;
    height: 82px; 

    transition-duration: 0.5s;
    z-index: 2;
    position: fixed;
}

main{
    width: 100%;
}

footer{
    background-color: #212039;
    width: 100%;
}


.container{
    max-width: 1202px;
    padding: 0 16px ;
    margin: auto;
    height: 100%;
}


/*Навигация*/
.nav-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.left-side-nav, .right-side-nav, .telephone {
    display: flex;
    flex-direction: row;
    max-height: 51px;
    align-items: center;
}

.right-side-nav{
    gap: 35px;
}

.telephone {
    gap: 15px;
}



.line {
    height: 51px;
    border-left: 1px solid white;
    margin: 0 30px 0 50px;
}

.text-nav {
    margin-left: 30px;
    margin-right: 30px;
}

.text-manr {
    font-family: "Montserrat", sans-serif;
}

.menu.he{
    padding-right: 0px;
    padding-left: 80px;
}

/*Стили кнопок*/

.button-white {
    display: inline-block;
    padding: 12px 0;
    background: white;
    color: #212039;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    width: 160px;

    border: 0;
}

.nav-text{
    font-size: 18px;
}

nav {
    height: 82px; 
}

.logo, .logo img {
    height: 60px; 
}

.button-white:hover{
    background: #FDDCBC;
    transition: all 0.1s ease 0s;
    cursor: pointer;
}

.button-huge{
    height: 56px;
    width: -webkit-fill-available;
    width: -moz-available;
}


/*Смена языка*/
.dropbtn {
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 74px;
    left: -25px;
}



.dropdown-content a {
    color: black;
    padding: 2px 0 2px 25px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

/*Футер контент*/
.footer-container,.nav-footer, .telephone-button, .scr, .tel-email, .rule, .social{
    display: flex;
    flex-direction: column;
}

.footer-first, .nav-logo, .footer-second, .logo-social{
    display: flex;
    flex-direction: row;
}

.footer-first, .footer-second{
    justify-content: space-between;
}

.footer-second{
    align-items: end;
}

.telephone-button{
    align-items: end;
    gap: 30px;
}

.rule{
    align-items: end;
}

.social, .logo-social{
    gap: 15px;
}

.footer-container{
    padding-top: 36px;
    padding-bottom: 36px;
    justify-content: space-between;

    gap: 70px;
}

.nav-footer {
    padding-top: 11px;
    gap: 35px;
}

.nav-footer h2{
    font-weight: 700;
}

.scr{
    gap: 20px;
}

.nav-logo{
    gap: 15%;
}

.tel-email {
    align-items: end;
}

.rule-polician{
    color: #A59EFE;
    text-decoration: none;
}

.rule-polician:hover{
    text-decoration: underline;
    cursor: pointer;
}

.grey-text{
     color: #8C8C8C;
}

.scr a{
    color: white;
    text-decoration: none;
}

.scr a:hover{
    cursor: pointer;
    color: #4C46A0;
}

.logo-social a{
    height: 38px;
}

/*Для формы выбора языка*/
.language-select {
    display: inline-block; /* Чтобы занимал только необходимую ширину */
    position: relative;  /* Для позиционирования стрелки */
  }
  
  .language-select select {
    padding: 8px 30px 8px 12px; /* Увеличиваем отступ справа для стрелки */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    appearance: none; /* Убирает стандартные стили select в некоторых браузерах */
    background-color: #fff;
    cursor: pointer;
  }
  
  .language-select select:focus {
    outline: none; /* Убирает стандартную обводку при фокусе */
    border-color: #66afe9;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5); /* Добавляет легкую тень при фокусе */
  }
  
  .language-select::after {
    content: ''; /* Создаем псевдоэлемент */
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border-top: 5px solid #777;  /* Создаем стрелку вниз */
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    pointer-events: none; /* Чтобы не мешала кликам */
  }

  .card-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Важно: заставит карточку занимать всю высоту */
}

.img-card {
    height: 300px;
    flex-shrink: 0; /* Фиксированная высота изображения */
}

.card-item-text {
    flex: 1; /* Заставляет текстовую часть занимать оставшееся пространство */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределяет контент по высоте */
}

.all-bubbles {
    flex-shrink: 0; /* Не сжимать верхнюю часть */
}

.text-SVG {
    flex: 1; /* Занимает основное пространство */
    margin: 20px 0 35px;
}


.item{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch; /* Это заставляет карточки растягиваться по высоте */
}