/* فاصله بین سکشن‌ها در کانتینر */
.container .section {
  margin-bottom: 48vw;
}
.container .section:last-child {
  margin-bottom: 0;
}
  .container_jak_img_text {
    margin-bottom: 32px !important;
  }
@media (max-width: 575px) {
    .hidden_about {
        display: none;
    }
}



@media (max-width: 649px){
    .nav-menu {
      display: none !important;
    }
    .navbar0 {
        grid-template-columns: repeat(2, auto) !important;
    }
    .main_change_language {
        display: none;
    }
    #menu_icon {
        display: block;
    }
    .main_change_language {
        display: none;
    }
}
@media (min-width: 649px) {
  #menu_icon {
    display: none !important;
  }
}

a{
  text-decoration: none;
  color: #ffffff;
}

ul{
    list-style: none;
}

.header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: -20px 30px 10px 20px;
  height: 100px;
}

#menu_icon {
  width: 46px;
  height: 46px;
  margin-bottom: 2rem;
  margin-right: 1.3rem;
  display: block;
}

#close_icon {
  width: 46px;
  height: 46px;
  margin-bottom: 2rem;
  margin-right: 16px;
  display: none;
  z-index: 1000;
}

.close_icon_active {
  display: block !important;
}

.menu_icon_active {
  display: none !important;
}

.navbar0 {
    display: grid;
    grid-template-columns: repeat(3,auto);
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
 
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 15px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  margin-right: -10px;
}

.nav-menu a:hover {
  color: #0078ff;
  transition: 0.3s;
}



.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;
}


.btn-primary:hover {
  background-color: #005fcc;
  transition: 0.3s;
}

.img_header{
  width: 100px;
  margin-right: 50px;
  margin-left: 30px;
  margin-top: -.5rem;
}

.side_bar {
  background-color: #ffffffec;
  position: fixed;
  z-index: 100;
  width: 200px;
  height: 100svh;
  right: 0;
  top: 0;
  border-left: 2px solid #494949;
  transform: translateX(300px);
  -webkit-transform: translateX(300px);
  -moz-transform: translateX(300px);
  -ms-transform: translateX(300px);
  -o-transform: translateX(300px);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.side_bar > ul li a {
  color: #323232;
}

.side_bar ul {
    position: absolute;
    right: 1.5rem;
    top: 95px;
    font-weight: 600;
    line-height: 40px;
    font-size: 18px;
    padding: 0;
}



.side_bar_language {
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 17px;
}

.menu1_active {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}



.change_language > a {
  margin-right: 1.5rem;
  position: absolute;
  bottom: 20px;
}

#close_icon {
  position: relative;
}











@media only screen and (max-width: 375px) {
  .btn-primary {
    font-size: 9px;
    padding: 3px;

    /* margin-right: -220px; */
  }
}

@media (max-width: 649px) {
  .jak_img_text{
    grid-template-columns: 1fr !important;
    height: 62vw;
  }
  .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;
    line-height: 6.5vw !important;
    padding: 24px !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;
    }
  }

  .text_jak{
    opacity: 0;
    animation: showTexts 2s linear forwards;
    -webkit-animation: showTexts 2s linear forwards;
    animation-delay: 2s;
  }
  @keyframes showTexts {
    to{
      opacity: 1;
    }
  }

  .jak img{
    margin-right: 0 !important;
  }

    /* drop */
  
  @keyframes dropDownJak {
    0% {
      transform: translateY(-100px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .jak_img {
    animation: dropDownJak 1s ease-out forwards;
  }

  /* drop */




  .container{
    gap: 424px !important;
  }
  .cards{
    display: grid;
    grid-auto-flow: column; /* مهم */
    grid-auto-columns: calc(100vw - 32px); /* هر کارت چقدر عرض داشته باشه */
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-left: 16px;
    scroll-padding-left: 16px;
    scroll-behavior: smooth;
  }
  .card {
    width: calc(100vw - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    box-sizing: border-box !important;
    height: clamp(340px, 65vw, 600px) !important;
    min-height: 340px !important;
    max-height: 600px !important;
    max-width: 100%;
    scroll-snap-align: center;
  }
  .dot-scroll {
    display: none;
  }
}

@media (max-width:580px) {
  .jak{
    max-width: 78% ;
  }
}


.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: 75%;
}

@media (max-width:507px) {
  .jak_img_text{
    height: 312px;
  }
}
@media (max-width:484px) {
  .jak{
    max-width: 80%;
  }
}
@media (max-width:397px) {
  .jak_img_text{
    height: 360px;
  }
  .jak{
    max-width: 88%;
  }
}
@media (max-width:257px) {
  .jak_img_text{
    height: 379px;
  }
}

.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:649px) {
  .container {
    gap: 0 !important;
  }
  .container .section {
    margin-bottom: 0;
  }
  .container .section:nth-child(4){
    margin-bottom: 140px;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }
  .cards {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .dots1 , .dots2 , .dots3 , .dots4 , .dots5 {
    display: flex;
    gap: 13px;
    justify-content: center;
    margin-top: 30px;
  }

  .dot1 , .dot2 , .dot3 , .dot4 , .dot5 {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 6px 0;
    cursor: pointer;
    transition: background 0.3s;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

  .dot1.active1 , .dot2.active1  , .dot3.active1 , .dot4.active1 , .dot5.active1 {
    background: #000;
  }
}


.container > .section:nth-child(5) , .container > .section:nth-child(6) , .container > .section:nth-child(7) , .container > .section:nth-child(8) , .container > .section:nth-child(9){
    display: none !important;
}

@media (max-width:649px) {
  .container > .section:nth-child(2) , .container > .section:nth-child(3) , .container > .section:nth-child(4){
    display: none !important;
  }

  .container > .section:nth-child(5) , .container > .section:nth-child(6) , .container > .section:nth-child(7) , .container > .section:nth-child(8) , .container > .section:nth-child(9){
    display: block !important;
  }
}

