@media (max-width: 575px) {
    .hidden_about {
        display: none;
    }
}




@media only screen and (max-width: 375px) {
  .btn-primary {
    font-size: 9px;
    padding: 3px;

    /* margin-right: -220px; */
  }
}

@media (min-width:1023px) {
  .button_hero_content_tab{
    display: none;
  }
}

@media (max-width:1023px) {
  .btn-primary:not(.main_change_language) {
    padding: 1.4vw 0.8vw !important;
    font-size: 1.4vw !important;
  }
  .button_hero_content_tab{
    margin-right: 0 !important;
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2vw;
    justify-content: space-around;
    text-align: center;
    padding: 20px;
  }
  .button_hero_content{
    display: none !important;
  }
}



@media (max-width: 649px) {
  .btn-primary:not(.main_change_language){
    padding: 14px 17px !important;
    font-size: 2.8vw !important;
  }
  .button_hero_content{
    margin-right: 0 !important;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px;
    column-gap: 6px;
    text-align: center;
    align-items: end;
    height: 46vw;
    max-width: 100%;
  }
  .text_button{
    position: absolute;
    z-index: 3;
    padding: 10vw 0 !important;
  }
  .text_button p{
    font-size: 14px !important;
    font-weight: 600;
    line-height: 7vw;
    color: #3e3e3e;
  }
  .text_button h1{
    font-size: 25px !important;
    line-height: 200%;
    margin-bottom: 2vw;
  }
  .text_jak{
    max-width: none !important;
    justify-self: center !important;
    text-align: center;
    line-height: 6.5vw !important;
    padding: 4vw !important;
  }
  .jak_img_text{
    grid-template-columns: 1fr !important;
    height: 90svh;
  }
  .jak img{
    margin-right: 0 !important;
  }

  .jak{
    justify-self: center;
    animation: showJak ease-in 3s backwards;
    -webkit-animation: showJak ease-in 3s backwards;
    opacity: 0;
  }
  @keyframes showJak {
    from{
      opacity: 1;
    }
    to{
      opacity: 0;
    }
  }
  @media (max-width: 500px) {
    .button_hero_content{
      grid-template-columns: repeat(2,1fr);
    }
    .btn-primary:not(.main_change_language) {
      font-size: 3.2vw !important;
    }
  }

  .text_jak{
    opacity: 0;
    animation: showTexts 2s linear forwards;
    -webkit-animation: showTexts 2s linear forwards;
    animation-delay: 2s;
  }
  @keyframes showTexts {
    to{
      opacity: 1;
    }
  }
  .button_hero_content{
    display: grid !important;
  }
  .button_hero_content_tab{
    display: none !important;
  }
}

@media (max-width:580px) {
  .jak{
    max-width: 78% ;
  }
  .button_hero_content{
      padding: 33px 20px;
    }
}

@media (max-width: 1000px) {
  .slide .caption {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .caption {
    font-size: 20px;
  }
  .slide:not(.active){
    transform: scale(.7);
    -webkit-transform: scale(.7);
    -moz-transform: scale(.7);
    -ms-transform: scale(.7);
    -o-transform: scale(.7);
}
}




.btn-primary:not(.main_change_language) {
  background-color: #0078ff;
  color: #ffffff;
  border: none;
  padding: 0.8vw 2.4vw;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.4rem;
  font-size: 1.3vw;
}

.main_change_language {
  background-color: #0078ff;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.4rem;
}

.jak{
  max-width: 67%;
}

.jak img{
  max-width: 100%;
  margin-right: 3rem;
}

.jak_img_text{
  background-color: #eef5ff;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.text_button{
  padding: 4vw 0;
  line-height: 3.7vw;
}
.text_button h1{
  font-size: 2vw;
  color: #333;
}
.text_button p{
  font-size: 1.2vw;
}

.text_jak{
  max-width: 82%;
  justify-self: flex-end;
}

.button_hero_content{
  margin-right: 8.8vw;
}





@media (max-width:800px) {
    .container_jak_img_text + h1{
        font-size: 40px !important;
        margin-bottom: 0px !important;
    }
    #sheg{
        font-size: 40px !important;
    }
}
@media (max-width:600px) {
    .container_jak_img_text + h1{
        font-size: 30px !important;
    }
    #sheg{
        font-size: 30px !important;
    }
}
@media (max-width:458px) {
    .container_jak_img_text + h1{
        font-size: 25px !important;
    }
    #sheg{
        font-size: 25px !important;
    }
}



@media (max-width:580px) {
  .jak{
    max-width: 66% !important;
  }
}

@media (max-width:550px) {
  .jak{
    max-width: 70% !important;
  }
}
@media (max-width:460px) {
  .jak{
    max-width: 85% !important;
  }
}


/* ------------- */


.flame-slider-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem 1rem;
      background-color: transparent;
      overflow: hidden;
    }

    .flame-slider-container {
      width: 100%;
      max-width: 1200px;
      overflow: hidden;
    }

    .flame-slider-track {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
    }

    .flame-slider-slide {
      text-align: center;
      flex-shrink: 0;
      transition: all 0.3s ease-in-out;
      cursor: pointer;
      overflow: hidden;
    }

    .flame-slider-slide img {
      width: 100%;
      border-radius: 12px;
      display: block;
    }

    .flame-slider-caption {
      margin-top: 8px;
      color: #555;
      font-size: 14px;
      display: none;
    }

    .flame-slider-slide.large .flame-slider-caption {
      display: block;
    }

    /* اندازه در دسکتاپ */
    .flame-slider-slide.small {
      width: 20%;
      opacity: 0.5;
    }

    .flame-slider-slide.large {
      width: 60%;
      opacity: 1;
      z-index: 1;
    }

    /* اندازه در تبلت */
    @media (max-width: 1024px) {
      .flame-slider-slide.small {
        width: 22%;
      }
      .flame-slider-slide.large {
        width: 56%;
      }
    }

    /* اندازه در موبایل */
    @media (max-width: 768px) {
      .flame-slider-track {
        gap: 0.5rem;
      }
      .flame-slider-slide.small {
        width: 25%;
      }
      .flame-slider-slide.large {
        width: 50%;
      }
    }

    @media (max-width: 480px) {
      .flame-slider-slide.small {
        width: 25%;
      }
      .flame-slider-slide.large {
        width: 50%;
      }
    }