/*=============== responsive for larger than 550px screen ===============*/
@media (min-width: 50px) {
  .navbar{
    margin-top: 12px;
  }
  .carousel{
    height: 500px;
  }
    .carousel .list{
      height: 500px;
    }
      .carousel .list .item{
        height: 500px;
      }
      .carousel .list .item img{
        height: 500px;
      }
}
  
  @media (min-width: 550px) {
    :root {
      /*=============== typography ===============*/
      --fs-base: 0.9rem;
    }
    /*=============== BLOG ===============*/
    
    .blog-card {
      display: grid;
      grid-template-columns: 3fr 4fr;
      gap: 20px;
    }
    .blog-card-banner {
      overflow: hidden;
      border-radius: 5px;
    }
    .blog-banner-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .navbar{
    margin-top: 10px;
    }
  }
  
  /*=============== responsive for larger than 650px screen ===============*/
  @media (min-width: 650px) {
    :root {
      /*=============== typography ===============*/
      --fs-1: 2.25rem;
    }
    /*=============== REUSED STYLE  ===============*/
    .container {
      padding: 0 30px;
    }
    /*=============== HEADER  ===============*/
   .navbar {
      padding: 30px 0;
      margin-top: -17px;
    }
  /*=============== BLOG  ===============*/
 .blog .h2 {
    position: relative;
    text-align: left;
    padding-left: 2rem;
  }
  .blog .h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--action-primary);
    width: 5px;
    height: 100%;
    border-radius: 5px;
  }
  .blog-text,
  .profile-wrapper {
    display: block;
  }
  .blog-text {
    color: var(--foreground-secondary);
    font-size: var(--fs-4);
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
  }

  .blog .wrapper-flex {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
  }
  .profile-wrapper {
    width: 56px;
    height: 56px;
    background: var(--action-primary);
    padding: 3px;
    border-radius: 50%;
    overflow: hidden;
  }
  .profile-wrapper img {
    border-radius: 50%;
  }
  .blog .wrapper {
    flex-direction: column;
    align-items: start;
    gap: 0;
  }

  /*=============== FOOTER  ===============*/
  footer .container {
    padding: var(--py) 30px;
    grid-template-columns: 2fr 1fr 1fr;
  }

  footer .wrapper {
    text-align: left;
  }

  .footer-text {
    margin: 0;
  }
}
/*=============== responsive for larger than 768px screen  ===============*/
@media (min-width: 768px) {
  /*=============== REUSED STYLE  ===============*/
 .container {
    max-width: 800px;
  }

}
/*=============== responsive for larger than 1024px screen  ===============*/
@media (min-width: 1024px) {
  :root {
    /*=============== typography  ===============*/
  --fs-base: 1rem;
    --fs-1: 3rem;
  }

  /*=============== REUSED STYLE   ===============*/
 .container {
    max-width: 1150px;
  }
 .navbar {
    margin-top: -8px;
    }
    .carousel{
      height: 600px;
    }
      .carousel .list{
        height: 650px;
      }
        .carousel .list .item{
          height: 650px;
        }
        .carousel .list .item img{
          height: 650px;
        }
  
  .carousel .list .item .buttons button{
    display: flex;
  }
  .thumbnail .item{
    display: flex;
  }
  .arrows{
  margin-top: 100px;
  }
  .company{
    margin-top: 60px;
  }
  .company .company-text {
    width: 65%;
    margin-left: 32%;
  }
  .company .company-tit{
    margin-bottom: -35px;
    margin-left: 27%;
  }
  
    /*=============== HEADER ===============*/
    header .btn-group {
      display: none;
    }
    header .flex-wrapper {
      display: flex;
      gap: 30px;
    }
    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 25px;
      float: right;
      direction: rtl;
      margin-top: -7px;
    }
    .desktop-nav .nav-link {
      font-size: .85rem;
      padding: 5px 5px 10px 5px;
      border-radius: 7px;
      font-weight: 700;
      color: var(--foreground-tertiary);
    }
    .desktop-nav .nav-link:hover {
      color: hsl(190, 100%, 50%);
    }
  
    .theme-btn-desktop {
      position: relative;
      background: var(--background-secondary);
      color: var(--white);
      width: 52px;
      height: 26px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      border-radius: 100px;
    }
  
    .theme-btn-desktop.light {
      margin-top: -7px;
      background: linear-gradient(45deg, hsl(225, 100%, 60%), hsl(296, 80%, 40%));
    }
  
    .theme-btn-desktop.dark {
      margin-top: -7px;
      background: linear-gradient(45deg, hsl(7, 100%, 71%), hsl(46, 100%, 65%));
    }
  
    .theme-btn-desktop::before {
      content: "";
      position: absolute;
      background: var(--white);
      width: 21px;
      height: 21px;
      border-radius: 30px;
      top: 50%;
      left: 3px;
      transform: translateY(-50%);
      box-shadow: 0 2px 10px -2px hsla(0, 0%, 0%, 0.05);
      z-index: 2;
    }
    .theme-btn-desktop.dark::before {
      left: calc(100% - 24px);
    }}
  
    /*=============== MAIN ===============*/
    .main .container {
      display: grid;
      grid-template-columns: 5fr 2fr;
      gap: 60px;
    }
  
    /*=============== FOOTER ===============*/
  
    
    .flex-wrapper ul li ul{
      background-color: var(--background-secondary);
  color: var(--foreground-primary);
  box-shadow: 0px 1px 5px var(--accent);
  transition: all .2s ease-in-out;
      position: absolute;
      border-radius: 7px;
      margin-top: 30px;
      opacity: 0;
      visibility: hidden;
    }
  
  .flex-wrapper ul li:hover ul{
    opacity: 1;
    visibility: visible;
    margin-top: 0px;
  }
  
  .flex-wrapper ul li ul li:hover{
    background-color: hsl(190, 100%, 50%);
    border-radius: 5px;
    transition: all .2s ease-in-out;
  }
  
  .flex-wrapper ul li ul li a{
  border-bottom: 2px solid var(--foreground-primary);
  border-top: 2px solid var(--foreground-primary);
  }
  
  .flex-wrapper ul li ul li a:hover{
    font-size: .95rem;
  border: 2px solid var(--foreground-primary);
  }
  
  .know a,
   .projects a,
    .card a{
    border-radius: 5px;
    font-size: .85rem;
  font-weight: 600;
  color: var(--foreground-primary);
  padding: 5px 10px;
  display: flex;
  transition: all .2s ease-in-out;
  }
  
  .know li:hover a,
   .projects li:hover a,
   .card li:hover a{
  color: black;
  }

  .know{
    margin-right: -20px;
    padding: 10px;
    line-height: 25px;
    z-index: 999;
    width: 170px;
    }  

  .projects{
    margin-right: -70px;
    padding: 10px;
    line-height: 25px;
    z-index: 999;
    width: 200px;
    }  
  
    .card{
      margin-right: -100px;
      width: 340px;
      padding: 7px 10px;
      line-height: 27px;
      z-index: 999;
      margin-top: 5px;
    }  
  
  .contact{
       background-color: var(--background-secondary); 
      padding: 10px 15px;
      line-height: 27px;
      z-index: 104;
  width: 600px;
  height: 320px;
  left: 1.5%;
  transition: 0.2s;
  }
  
  .contact .numbers{
  width: 120px;
  float: right;
  }
    
  .contact .num-p {
    margin: -5px;
    margin-top: 5px;
    }

  .contact  .num-p, .contact  .num-p > a{
  text-align: center;
    color: var(--foreground-primary); 
  }
  
  .contact a {
  font-size: .75rem;
  }
  
  .contact .numbers img{
  border-radius: 50%;
  width: 35px;
  height: 35px;
  float: right;
  transition: 0.2s;
  margin-top: 2px;
  border: 2px solid hsl(189, 100%, 50%);
  box-shadow: 0 0 5px hsl(189, 100%, 50%);
  }
  
    .contact .numbers img:hover{
  transform: scale(1.5);
  transition: .2s;
  }  


    
  .contact .address {
    border-left: 5px double #ffffff;
    border-right: 5px double #ffffff;
    margin-right: 130px;
    width: 290px;
    position: absolute;
    min-height: 30px;
    padding: 10px 10px 1px 5px;
    direction: rtl;
    z-index: 999;
  }


  .address .text{
    margin-top: -10px;
    margin-left: -10px;
  }
  
   .address .logo{
    direction: rtl;
    color: var(--foreground-primary);
  }
  
  .contact .address .QR-address {
  width: 140px;
  margin-right: 65px;
  }
    

  .contact .smart{
    width: 140px;
    margin-top: 5px;
    float: left;
    text-align: center;
    }
  
  .contact .social-link {
    margin-top: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  }
  
  .contact .social-link li:hover{
    background-color: var(--background-secondary);
  }
  
  .social-link .icon-box {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--foreground-tertiary);
  font-size: 22px;
  border-radius: 50%;
  z-index: 105;
  transition: 0.2s;
  }
  
  .social-link .logo-telegram  {
    width: 1em;
    height: 1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m20.665 3.717l-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42l10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701h-.002l.002.001l-.314 4.692c.46 0 .663-.211.921-.46l2.211-2.15l4.599 3.397c.848.467 1.457.227 1.668-.785l3.019-14.228c.309-1.239-.473-1.8-1.282-1.434'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
  
    :is(
    .social-link .telegram,
    .social-link .whatsapp,
    .social-link .instagram
    ):hover{
      color: var(--white);
    }
  .social-link .telegram{
    color: rgb(0, 140, 255);
  }
  .social-link .telegram:hover{
  background-color: rgb(0, 140, 255);
  }
  .social-link .whatsapp {
  color: hsl(104, 99%, 36%);
  }
  .social-link .whatsapp:hover{
  background: hsl(104, 99%, 36%);
  }
  
  .social-link .instagram{
  color: hsl(0, 100%, 39%);
  }
  
  .social-link .instagram:hover {
    background: hsl(0, 100%, 39%);
  }
  
  .wrapper-contact .social-link {
  display: flex;
  margin-right: 10px;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  }
  
  

/* carousel */
.carousel .list .item .buttons{
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  color: var(--foreground-primary);
  margin-top: 20px;
}
.carousel .list .item .buttons button{
  font-weight: 700;
  text-align: center;
  justify-content: center;
  align-items: center;
  border: none;
  color: var(--foreground-primary);
  background-color: var(--foreground-secondary);
  letter-spacing: 3px;
  font-family: Poppins;
  font-weight: 500;
  box-shadow: 0 1px 1px var(--accent);
}

.carousel .list .item .buttons button:nth-child(2){
  background-color: transparent;
  border: 1px solid  var(--foreground-tertiary);
  
  color: var(--foreground-tertiary);
}

/* thumbail */
.thumbnail{
  position: absolute;
  bottom: 1px;
  right: 0%;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 20px;
  overflow: hidden;
}

.thumbnail .item{
  overflow: hidden;
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
}

.thumbnail .item img{
  width: 90%;
  height: 40%;
  border: 2px solid hsl(189, 100%, 50%);
  margin: 60px 0 0 2px;
 box-shadow: 0 0px 10px hsl(189, 100%, 50%);
  overflow: hidden;
  border-radius: 10px;
}

.thumbnail .item .content{
  transition: all .5s ease-out;
  color: var(--foreground-secondary);
  position: absolute;
  left: 10px;
  right: 10px;
  overflow: hidden;
  z-index: 10;
  text-shadow: 0 1px 10px var(--foreground-primary);
}
.thumbnail .item .content .title{
  font-weight: 500;
}
.thumbnail .item .content .description{
  font-weight: 300;
}
