/* Основные стили */
*{    margin: 0;    padding: 0;}
html{color: #000; background: url(/shedevr/images/pattern.jpg); font-size: 16px; font-family: Calibri, 'Trebuchet MS'; overflow-x: hidden;}
body{margin: 0; padding: 0; overflow-x: hidden;}

/* Вспомогательные стили */
.line-top{background: url(/shedevr/images/line-top.png); background-repeat: repeat-x; height: 5px; width: 100%; position: absolute; top: 0px; z-index: 1;}
.line-bottom{background: url(/shedevr/images/line-bottom.png); height: 5px;}
.block{max-width: 1200px; margin: auto; padding: 0px 30px;}
.subblock{max-width: 1200px; margin: auto; padding: 0px 30px;}
.test{border: 1px solid red !important;}
.transition{-moz-transition: all 0.4s ease-in; -webkit-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; transition: all 0.4s ease-in;}
body.menu-open {  overflow: hidden;  position: fixed;  width: 100%;}

/*Я люблю Таджикистан*/
.love-tajikistan{text-align: center; margin-left: auto; margin-top: 33px;}
.love-tajikistan div.tajikistan{background: url(/shedevr/images/tajikistan.png) 0px -28px; width: 136px; height: 28px;}
.love-tajikistan div.tajikistan:hover{background-position: 0px 0px;}

/* Навигация */
nav{
    height: 6rem;
    width: 100vw;
    width: 100%;
    display: flex;
    z-index: 10;
    margin-top: 60px;
}
.logo{margin-top: 10px;}
.nav-links{
    display: flex;
    list-style: none; 
    width: 100%;
    justify-content: center;
    align-items: center;
}
.nav-links li a{
border-radius: 15px;
    background: #fff;
    padding: 4px 14px;
    border: 2px solid #fff;
    font-size: 16px;
	color: #551a8b;
    text-decoration: none;
    margin: 0 0.25vw;
}
.nav-links li a:hover, .nav-links li.active a{
    background: #fff;
    border: 2px solid #c8d8df;
		color: #b465a6;
    text-decoration: none;
}
.nav-links li.language {
    display: flex;
    align-items: center;
    padding-top: 4px;
}
.nav-links li.language img{
    height: 17px; border-radius: 10px;
}
.nav-links li.language img:hover{
    opacity: 0.6;
}
.nav-links li.language a {
    padding: 5px 0px;
    color: #551a8b;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 15px;
}
.hamburger div{
    width: 30px;
    height: 3px;
    background: #44abd9;
    margin: 5px;
    transition: all 0.5s ease;
}
.hamburger{
    display: none;
}
.nav-links .mobile-contacts {
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 40px 0px 0px 0px;
    opacity: 0;
    transition: all 0.5s ease 1.2s;
    width: 0px;
}


.nav-links .mobile-contacts a{
  display: inline-flex;
  align-items: center;      /* вертикальное выравнивание */
  gap: 8px;                 /* расстояние между иконкой и текстом */
  color: #f5f5f5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.nav-links .mobile-contacts a svg{
  margin-left: -7px;
}



.logo img {    width: 12rem;}
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    transition: all 0.3s ease;
    width:0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}

/* Контент */
.content{margin-top: 90px; position: relative;}

.pattern-left{background: url(/shedevr/images/pattern-left.png); width: 397px; height: 556px; position: absolute; left: -325px; top: -20px; z-index: 3; pointer-events: none;}
.pattern-right{background: url(/shedevr/images/pattern-right.png); width: 498px; height: 508px; position: absolute; right: -305px; top: 0px; z-index: 3; pointer-events: none;}

.content h1{font-size: 40px;
    font-weight: normal;
    font-family: Calibri, 'Trebuchet MS';
    color: #1e1e1e;
    margin-bottom: 10px;
    z-index: 5;
}
.content h1 span{color: #44abd9; font-weight: bold;}


.content p.subtitle{
font-style: italic;
    color: #8b8b8b; font-weight: normal;
    font-size: 20px;
    font-family: Calibri, 'Trebuchet MS';
z-index: 5;}

.content h2{
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #65778c;
    margin-bottom: 10px;
    font-family: Arial;

}
.content p{
    color: #65778c;
    line-height: 25px;
    font-family: Arial;
    font-size: 16px;
    line-height: 26px;
}


.content div.subtext{
    font-size: 16px;
    font-weight: normal;
    color: #65778c;
    margin-bottom: 20px;
    font-family: Arial;}


.content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.content ul li{
  position: relative;
  margin-bottom: 5px;
  padding-left: 20px;
}

.content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 1px;
  background-color: #65778c;
  transform: translateY(-50%);
}

.content ul li a{
    color: #44abd9;
    text-decoration: underline;
    font-family: Arial;
    font-size: 16px;
}
.content ul li a:hover{
    color: #44abd9;
    text-decoration: none;
}

.content .separator{height: 1px; border-bottom: 2px dotted #c8d8df; margin-top: 50px;}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
  padding: 0px 75px;
   z-index: 5;
}

.left-side {
  flex: 0 0 100%; /* по умолчанию на мобилке — 100% */
}

.right-side {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .left-side {
    flex: 0 0 290px; /* фиксированная ширина */
  }

  .right-side {
    flex: 1; /* занимает всё оставшееся */
  }
}















/* Настройки до 1200 пикселей */
@media screen and (max-width: 1200px){

    .block{padding: 0px;}

    nav{
    margin-top: 0px;

    }

    .logo{
        padding-top: 30px;
        padding-left: 30px;
    }
    .logo img {
        width: 10rem;
    }


    .love-tajikistan {
        display: none;
    }


    .nav-links .mobile-contacts {
        display: none;
    }

    .nav-links{
        justify-content: right; /* заменено */
        margin: 30px 30px 0px 0px;
    }

}

/* Настройки до 890 пикселей */
@media screen and (max-width: 890px){


    .wrapper {padding: 0px 0px;}
    .wrapper .subtext {display: none;}
    .wrapper .left-side ul {display: none;}


.content h1{font-size: 40px; font-weight: bold; color: #55677d;}
.content p.subtitle{font-size: 20px; border-bottom: 1px solid #c8d8df; padding-bottom: 45px; color: #65778c;}
.content p.subtitle{display: none;}


.content h2{
    font-size: 18px;
    margin-bottom: 5px;
}
.content p{
    font-size: 16px;
    line-height: 26px;
}

.pattern-left{display: none;}
.pattern-right{display: none;}



    .subblock{padding: 0px 20px; margin-top: 30px;}
    .logo{
        padding-left: 20px;
        padding-top: 15px;
    }
    .logo img {
        width: 9rem;
    }
    .love-tajikistan {
        display: none;
    }
    nav{
        position: relative;
        z-index: 3;
    }
    .hamburger{
        display: block;
        position: absolute;
        cursor: pointer;
        right: 20px;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }
    .nav-links{
        background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
        background-size: 400% 400%;
        animation: gradient 15s ease infinite;
        justify-content: center;
        position: fixed;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(150px at 90% 5%);
        -webkit-clip-path: circle(0px at 90% 5%);
        transition: all 0.9s ease-out;
        pointer-events: none;
        margin: 0px;
    }

    @keyframes gradient {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }
    .nav-links li a, .nav-links li a:hover{
    border-radius: none;
    background: none;
    padding: none;
    border: none;
    color: #fff;
    text-decoration: none;
    margin: 0px 1.7vw;
    }
    .nav-links li.active a{
        background: none;
        border: none;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }
    .nav-links li{
    margin: 10px 0;
    }
    .nav-links.open{
    clip-path: circle(1000px at 90% 5%);
    -webkit-clip-path: circle(2000px at 90% 5%);
         pointer-events: all;
    }
    .nav-links .mobile-contacts {
        width: auto;
        display: inline;
    }
    .nav-links.open .mobile-contacts {
        opacity: 1;
    }
    .nav-links li{opacity: 0;}
    .nav-links li:nth-child(1){transition: all 0.5s ease 0.1s;}
    .nav-links li:nth-child(2){transition: all 0.5s ease 0.2s;}
    .nav-links li:nth-child(3){transition: all 0.5s ease 0.3s;}
    .nav-links li:nth-child(4){transition: all 0.5s ease 0.4s;}
    .nav-links li:nth-child(5){transition: all 0.5s ease 0.5s;}
    .nav-links li:nth-child(6){transition: all 0.5s ease 0.6s;}
    .nav-links li:nth-child(7){transition: all 0.5s ease 0.9s; margin: 0;}
    li.fade{opacity: 1;}
}















/* Общий стиль для кнопки */
.call-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: #44abd9; /* Основной голубой цвет */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 2;
  animation: pulse-blue 2s infinite; /* Обновленная анимация */
}

/* Стили для иконки */
.call-button a {
  color: #FFFFFF; /* Белая иконка */
  font-size: 24px;
  text-decoration: none;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-button:hover {
  background: #3390ba; /* Более тёмный голубой при наведении */
}

/* Анимация "пульсации" для голубой кнопки */
@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(68, 171, 217, 0.5);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(68, 171, 217, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(68, 171, 217, 0);
  }
}
