@media only screen and (max-width: 1100px) {
  .header-content .main-navigation {

    gap: 0px;

  }
}

/* На мобильных текст переносим внутрь картинки */
@media (max-width: 993px) {
  .about-us-block {
    display: flex;
    flex-direction: column-reverse;
  }

  .about-us-block-two {
    display: flex;
    flex-direction: column-reverse;
  }

  .about-us-block-left {
    order: 2;
    /* текст идёт вторым */
    /* position: absolute; */
    width: 90%;
    /* color: #fff;
        background: #0c4c9149;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        z-index: 2;
        top: 8%; */
    backdrop-filter: blur(2px);
  }

  .about-us-block-right {
    order: 1;
  }

  .about-us-info h2 {
    font-size: 26px;
  }

  .about-us-info p {
    font-size: 17px;
  }

  .about-us-info a {
    padding: 10px 40px;
    font-size: 18px;
  }

  .about-us-info .main-container {
    max-width: 900px !important;
    padding: 0px;
  }

  .about-us-info-div {
    padding: 30px 0px;
  }

  .about-us-block-two .about-us-info h2 {
    text-align: left !important;
  }

  .about-us-block-two .about-us-info p {
    text-align: left !important;
  }

  .about-us-block .about-us-info h2 {
    text-align: left !important;
  }

  .about-us-block .about-us-info p {
    text-align: left !important;
  }

  .about-us-block-right {
    min-height: 300px;
  }

  .about-us-block-two .about-us-block-right {
    min-height: 300px;
  }

}


@media (max-width:885px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 74px;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation>.main-navigation-ul {
    flex-direction: column;
    gap: 20px;
    padding: 50px 0;
  }

  .burger {
    display: flex;
  }

  /* на мобильных скрываем hover-поведение — меню откроется через бургер */
  .dropdown>ul {
  max-width: 100%!important;

    position: static;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.044);
    -moz-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.044);
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.044);
    background: #ffffff;
    padding: 0;
    display: none;
    border: 0.5px solid #8c8c8c83;
  }

  .dropdown.active>ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
  }


  .header-content>.languages-content {
    display: none;
  }

  .footer-center .row>div {
    text-align: center;
  }

  .languages-content img {
    width: 48px;
    height: 28px;
    object-fit: cover;
    border: 1px solid #b3b3b3;
    border-radius: 2px;
  }

  .slide-content {
    top: 14%;
    width: 90%;
    padding: 23px;
  }

  .slide-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .flip-card {
    width: 160px;
    height: 141px;
  }

  .flip-card-front .slide-content-two-img {
    width: 74px;
    height: 74px;
    margin-top: 15px;
  }

  .flip-card-front h6 {
    font-size: 18px;
    margin-top: 15px;
  }

  .slide-content-two {
    gap: 20px;
  }

  .documents_tab {
    margin-top: 100px;
    border-radius: 0px;
    padding: 25px 15px;

  }

  .documents_tab {
    border: 1px solid #ffffff;
    -webkit-box-shadow: 4px 3px 19px 0px rgb(255, 255, 255);
    -moz-box-shadow: 4px 3px 19px 0px rgb(255, 255, 255);
    box-shadow: 4px 3px 19px 0px rgb(255, 255, 255);
}

  .tabs-block {
    grid-template-columns: 1fr;
    /* col-12 / col-12 */
  }

  .tab-bar {
    position: relative;
    /* убираем sticky на мобилке */
    top: auto;
    flex-direction: row;
    overflow-x: auto;
    /* скролл если кнопки не влезают */
    gap: 10px;
    padding-bottom: 10px;
  }

  /* .tab-bar::-webkit-scrollbar {
        display: none; 
      } */

  .tablink {
    flex: 0 0 auto;
    text-align: center;
    border-radius: 5px;
  }

  .wrap-staff .card .card-staff-img {
      width: 80%;
      height: 290px;
      margin: 13px auto;
 
    }

    .wrap-staff .team-grid {

      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

      .wrap-staff {
      padding: 110px 15px 0px 15px;
    }

       #certificates {
      padding: 100px 0px 0px 0px;
    }

      .faq-main-block{
      padding: 70px 15px 10px 15px;
    }

      .form-wrap:before {
      display: none;
    }

    .main-navigation .main-navigation-ul .dropdown.active{
  text-align: center !important;
}

.certification-and-quality-svg{
  display: none;
}

.certification-and-quality-svg-mobaile{
  display: block;
}

.certification-and-quality-text{
  position: relative;
  z-index: 10;
}

.certification-and-quality-svg-mobaile svg {
  position: absolute;
    width: 300px;
    height: auto;
    z-index: -1;
  text-align: center;
  margin-top: 50px;
    
}


/*ANIMATE LOADER*/
.animate_preload {
  width: 180px;
  height: auto;
  position: absolute;
  bottom: 0%;
  left: -50%;
  animation: move-diagonal 3s 0.5s forwards;
}

@keyframes move-diagonal {
  0% {
    bottom: 0%;
    left: -50%;
  }

  100% {
    bottom: 100%;
    left: 150%;
    transform: translate(-100%, -100%);
  }
}


@keyframes moveAndFade {
  0% {
    left: -400px;
  }

  100% {
    left: 400px;
    /* или любое нужное значение */
  }
}

}

/* Адаптивность */
@media (max-width: 767px) {}

@media only screen and (max-width: 490px) {


  .burger div {
    width: 24px;
    height: 3px;
    background-color: #000;
    transition: 0.3s ease;
  }

  .footer-start ul {
    flex-direction: column;
    gap: 25px;
  }

  .footer-start {
    background-color: #3f6bb1;
    padding: 15px 0px;
  }


  .footer-bottom p {
    font-size: 13px;
  }

  .footer-center-socialMedia img {
    width: 50px;
    height: 50px;
  }

  .slide-content {
    top: 6%;
    padding: 20px;
  }

  .slide-content h1 {
    font-size: 20px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .flip-card {
    width: 130px;
    height: 121px;
  }

  .flip-card-front .slide-content-two-img {
    width: 58px;
    height: 58px;
    margin-top: 15px;
  }

  .flip-card-front h6 {
    font-size: 16px;
    margin-top: 15px;
  }

  /* .about-us-block-left {
        width: 90%;
        background: rgba(0, 0, 0, 0.415);
        top: 3%;
        backdrop-filter: blur(2px);
        padding: 10px;
      } */

  .about-us-block-right {
    order: 1;
  }

  .about-us-info h2 {
    font-size: 20px;
  }

  .about-us-info p {
    font-size: 15px;
  }

  .about-us-info a {
    padding: 10px 40px;
    font-size: 18px;
  }

  .about-us-info h2 {
    font-size: 22px;
  }

  .about-us-info p {
    font-size: 14px;
  }

  .services-block .row .gf .services-block-cards-h6 {
    font-size: 17px;
  }

  .services-block .row .gf .services-block-cards-p {
    font-size: 14px;
  }

  .services-block-cards {
    padding: 35px 15px;
    width: 100%;
  }

  .blokBegushB {
    padding: 50px;
  }

  .colorW {
    color: white !important;
  }

  .imgCounter {
    width: 7cap;
    height: 7cap;
  }

  .blokCounter2 {
    margin-top: 20px;
  }

  .form-wrap {
    padding: 50px 20px;
  }

  .services-block-cards .img img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}
  
    .documents_tab-div h2 {
    font-size: 20px;
    }

    .documents_tab-div p {
      font-size: 16px;
    }

    .tab-content h2 {
      font-size: 19px;

    }

    .tab-content p {
      font-size: 16px;
    }

    .tab-content img {
      height: 200px;

    }
    .tab-bar-content{
      padding: 5px 0px;
    }


      .wrap-staff .director {
      display: flex;
      align-items: center;
      flex-direction: column;
      text-align: center;
    }

     .wrap-staff .director img {
      width: 85%;
      height: 290px;
      object-fit: cover;
      background: #ddd;
    }

    .our-contacts {
    padding: 90px 15px;
    margin-top: 50px;
}

 .faq-question {
      width: 98%;
    }

    .faq-question::after {
    margin-top: -20px;
}

 .partners-section h2 {
    font-size: 20px;
    }

      .partners-section {
        padding: 0px 15px ;
      margin-top: 50px;
    }

    .preloader img {
    width: 200px;
    height: auto;
}

.svg-wrapper {
    svg {
        max-width: 170px;
        height: auto;
        margin: 0 auto;
        margin-top: .75em;
    }
}

/* .slide-content-two{
  flex-direction: column;
  justify-content: start;
  align-items: start;
} */

.row55 svg {
    text-align: center;
    max-width: 18rem;
}


/*ANIMATE LOADER*/
.animate_preload {
  width: 180px;
  height: auto;
  position: absolute;
  bottom: 10%;
  left: -60%;
  animation: move-diagonal 3s 0.5s forwards;
}

@keyframes move-diagonal {
  0% {
    bottom: 35%;
    left: -60%;
  }

  100% {
    bottom: 90%;
    left: 160%;
    transform: translate(-100%, -160%);
  }
}


@keyframes moveAndFade {
  0% {
    left: -300px;
  }

  100% {
    left: 300px;
    /* или любое нужное значение */
  }
}
}




@media only screen and (max-width: 400px) {}