* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 5;
}
.hidden {
  display: none;
}  

/*
===================
Fonts
===================
*/
@font-face {
  font-family: "vazir";
  src: url("../fonts/vazir/Vazir-Bold-FD-WOL.woff") format("woff2"),
      url("../fonts/vazir/Vazir-Bold-FD-WOL.woff") format("woff"),
      url("../fonts/vazir/Vazir-Bold-FD-WOL.ttf") format("truetype");
}

/*
===================
Variables
===================
*/
:root {
  /* --clr-primary: rgb(129, 199, 31); */
  --clr-primary: #b23433;
  --clr-primary-light: rgb(65, 65, 65);
  --clr-grey-1: #102a42;
  --clr-grey-5: #617d98;
  --clr-grey-10: #f1f5f8;
  --clr-white: #fdfdfd;
  --ff-primary: "vazir", sans-serif;
  --radius: 0.5rem;
  --transition: all 0.3s linear;
}


body {
  font-family: var(--ff-primary);
  background: var(--clr-white);
  color: var(--clr-grey-1);
  text-align: right;
  font-size: 1rem;
}

a {
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1rem;
}

@media screen and (min-width: 800px) {
  h1 {
      font-size: 2rem;
  }

  h2 {
      font-size: 1.75rem;
  }

  h4 {
      font-size: 1.25rem;
  }
}

.btn {
  /* background:  rgb(129, 199, 31); */
  background-color: #b23433;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  color: var(--clr-white);
  transition: var(--transition);
  display: inline-block;
}

.btn:hover {
  background: rgb(65, 65, 65);
  color: azure;
}

.clearfix::after,
.clearfix::before {
  content: "";
  clear: both;
  display: block;
}

.section-center {
  padding: 4rem 0;
  width: 85vw;
  margin: 0 auto;
  max-width: 1170px;
}

@media screen and (min-width: 992px) {
  .section-center {
      width: 95vw;
  }
}

.section-title h3 {
  color: var(--clr-primary);
}

.section-title {
  margin-bottom: 2rem;
}

/*
===================
Animation
===================
*/
@keyframes bounce {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(2);
  }
  100% {
      transform: scale(1);
  }
}

@keyframes slideFromTop {
  0%{
      transform: translateY(-100px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes slideFromBottom {
  0%{
      transform: translateY(100px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

/* end-goTop */

.goTop{
  padding-top: 0.2rem;
  position: fixed;
  width: 3rem;
  height: 2.5rem;
  background-color: var(--clr-primary);
  top: 90%;
  left: 3%;
  z-index: 3;
  border-radius: 0.5rem;
  transition: .5s;
}

.goTop:hover{
  background-color: rgb(65, 65, 65);
}

/* end-goTop */


/*
===================
Navbar
===================
*/
.nav-btn {
  font-size: 1.5rem;
  color: var(--clr-primary);
  position: fixed;
  top: 5%;
  right: 5%;
  z-index: 1;
  cursor: pointer;
  animation: bounce 2s ease infinite;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  background-color: var(--clr-grey-10);
  z-index: 10;
  height: 100%;
  width: 60%;
  box-shadow: 2px 0 2px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  transform: translateX(100%);
}

.showNav {
  transform: translate(0);
}

.navbar-header {
  text-align: left;
}

.nav-close {
  font-size: 2.5rem;
  color: black;
  cursor: pointer;
  transition: var(--transition);
}

/* 
.nav-close:hover {
  color: #bb2525;
} */

.nav-items {
  list-style-type: none;
  direction: rtl;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: var(--clr-grey-5);
  transition: var(--transition);
}

.nav-link i {
  font-size: 1.4rem;
  margin-left: 0.3rem;
}

.nav-link:hover {
  background:var(--clr-primary);
  border-right: 0.25rem solid var(--clr-grey-1);
  padding-right: 1.5rem;
  color: var(--clr-grey-10);
}

@media screen and (min-width: 768px) {
  .navbar {
      width: 30vw;
      max-width: 20rem;
  }
}

/*
===================
Header
===================
*/
.header {
  height: 100vh;
  /* background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url(../images/i6cdzoxv3wan1k5t2rsjgebyu4qflh9mp87.jpg) center/cover no-repeat fixed; */
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url(../images/IMG_9016.PNG) center/cover no-repeat fixed;
  position: relative;
  background-image: url(../images/IMG_9016.PNG);
}

.banner {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner h1 {
  color: var(--clr-primary);
  margin-bottom: 2rem;
  animation: slideFromTop 2s ease-in-out 1;
}

.banner h2 {
  color: var(--clr-white);
  /* margin-top: 1.5rem; */
  animation: slideFromBottom 2s ease-in-out 1;
}

.btn-banner {
  margin-top: 20rem;
  /* font-size: 5rem; */
  /* outline: 0.125rem solid snow; */
  outline-offset: 0.25rem;
  padding: 1rem 2.5rem;
  /* margin-bottom: 25px; */
  animation: slideFromBottom 2s linear 1;
}
/* content divider */
.content-divider {
  height: 0.5rem;
  background-color: rgb(65, 65, 65);
}

#baner-text{
  margin-top: 3rem;
  /* padding: 2rem; */
  /* font-stretch:ultra-expanded; */
  text-justify:distribute-all-lines ;
  /* font-size: 1.5rem; */
}
/*
===================
Features
===================
*/


.container{
  /* background-color: #fff; */
  /* display: flex; */
  /* flex-direction: row; */
  /* flex-direction: row-reverse; */
  /* flex-wrap: wrap; */
  /* margin: ;  */
  display: grid;
  grid-template-columns: repeat(4,1fr); 
  /* grid-template-columns: repeat(auto-fit, minmax(30%,1fr));  */
  grid-template-rows: auto;
  gap: 25px;
  /* margin-left: 1.5rem; */
  margin:auto 0.5rem;
}

.features {
  background: var(--clr-grey-10);
  display: flex;
  /* column-count: 3; */
}

.feature {
  height: 260px;
  text-align: center;
  padding: 2.5rem 0.5rem;
  transition: var(--transition);

}
.feature img{
  border-radius: 10px;
  box-shadow: #222 3px 2px 9px;

}
.feature:hover {
  background: var(--clr-white);
  box-shadow: 0 2px 0 var(--clr-primary);
}

.feature:hover .feature-icon {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--clr-primary);
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: var(--transition);
}

.feature-title {
  margin-bottom: 1rem;
}

.feature-text {
  color: var(--clr-grey-5);
  max-width: 17rem;
  margin: 0 auto;
}

@media screen and (min-width: 576px) {
  .feature {
      float: right;
      width: 25%;
  }
  .product {
      float: right;
      width: 50%;
      padding-left: 2rem;
  }
}

@media screen and (min-width: 1200px) {
  .feature {
      float: right;
      width: 25%;
  }
}


/*
===================
Products
===================*/

.card-section-container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.card1{
  margin: 1rem;
  border-radius: 5px;
  /* border: 1px solid rgb(65, 65, 65); */
  box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  animation: slideFromBottom  linear 1;
  cursor: pointer;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.306);
}

.card1:hover{
  transform: scale(1.05);
  box-shadow: 3px 5px 9px 0 rgba(0, 0, 0, 0.4);
}
.card1-img{
  mix-blend-mode: darken;
  width: 100% !important;
  height: 12rem;
  border-radius: .5rem;
  
}
.card1 p{
  color: black;
  text-align: center !important;
  max-width: 18rem !important;
  padding: 0.5rem .3rem !important;
  /* text-decoration: line-through red 2px; */
}

.price-model-card{
  color: black;
  display: flex;
  justify-content: left;
  /* text-align: center; */
  padding: 1rem;
}

.product-btn{
  display: inline;
  margin-right: 100px;
}

@media screen and (max-width: 680px) {
  .card1{
      width: 10rem;
  }
  .card1-img{   
      width: 10rem;
      height: 8rem;
  }
  .header{
      height: 17rem;
      width: 100%;
      background-image:url(../images/IMG_899k5.png) ; 
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
  }
  .btn-banner{
      padding: 5px;
      margin-top: 10rem;
  }
  #baner-text{
      font-size: small;
  }
  .header  a {
      font-size: small;
  }
  .banner h2{
      padding-top: 1rem;
      font-size: small;
      color: #222;
  }
}

@media screen and (min-width: 992px) {
  .header{
      height: 17rem;
      width: 100%;
      background-image:url(../images/IMG_899k5.png) ; 
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
  }
  .header  a {
      font-size: small;
  }
  .banner h2{
      padding-top: 1rem;
      font-size: small;
      color: #222;
  }
}

@media screen and (min-width: 1200px) {
  .header{
      height: 17rem;
      width: 100%;
      background-image:url(../images/IMG_899k5.png) ; 
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
  }
  .header  a {
      font-size: small;
  }
  .banner h2{
      padding-top: 1rem;
      font-size: small;
      color: #222;
  }
}

/*
===================
Services
===================
*/
.clearfix{
  display: flex;
}
.services-title {
  text-align: center;
}

.service-card {
  background: var(--clr-grey-10);
  margin: 2rem 0;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.service-img {
  height: 12rem;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.service-info {
  text-align: center;
  padding: 3rem 1rem 2.5rem 1rem;
}

.service-info p {
  color: var(--clr-grey-5);
  max-width: 20rem;
  margin: 1rem auto;
}

@media screen and (max-width: 768px) {
  .clearfix{
     flex-wrap: wrap;
  }
  .service-card {
      float: right;
      width: 45%;
      margin-left: 5%;
  }
  .product {
      float: right;
      width: 50%;
      padding-left: 2rem;
  }
  .feature {
      float: right;
      width: 50%;
  }

  .header{
      height: 35rem;
      width: 100%;
      background-image:url(../images/IMG_899k5.png) ; 
      background-repeat: no-repeat;
      /* background-attachment:fixed; */
      background-position: center;
      background-size: cover;
  }

  .banner h2{
      padding-top: 1rem;
      font-size: small;
      color: #222;
  }
}
@media screen and (max-width:922px){
  .clearfix{
      flex-wrap: wrap;
   }
   .service-card {
       float: right;
       width: 45%;
       margin-left: 5%;
   }
   .product {
       float: right;
       width: 50%;
       padding-left: 2rem;
   }
   .feature {
       float: right;
       width: 50%;
   }

   .header{
       height: 35rem;
       width: 100%;
       background-image:url(../images/IMG_899k5.png) ; 
       background-repeat: no-repeat;
       /* background-attachment:fixed; */
       background-position: center;
       background-size: cover;
   }

   .banner h2{
       padding-top: 1rem;
       font-size: small;
       color: #222;
   }
}

@media screen and (min-width: 992px) {
  .service-card {
      float: right;
      width: 45%;
      margin-left: 5%;
  }
  .product {
      float: right;
      width: 50%;
      padding-left: 2rem;
  }
  
  .header{
      height: 35rem;
      width: 100%;
      background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .3)),url(../images/IMG_899k5.png) ; 
      background-repeat: no-repeat;
      /* background-attachment:fixed; */
      background-position: center;
      background-size: cover;
      box-shadow: 0px 1px 9px 10px rgb(59, 59, 59);
  }

}

.service-img-container {
  position: relative;
}

.service-icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  font-size: 1.75rem;
  color: var(--clr-primary);
  transform: translate(-50%, 50%);
  background-color: var(--clr-primary);
  padding: 0.5rem 0.7rem 0.1rem 0.7rem;
  border-radius: 50%;
  border: 0.375rem solid var(--clr-grey-10);
}

/*
===================
Contact Us
===================
*/
.contact {
  /* background: var(--clr-grey-10); */
  background-image: url(../images/background.jpg) ;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  
}

.contact article {
  /*margin: 10px auto !important;*/
  
}

.contant-group{
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 15px;
  /* margin: 1rem 2rem; */
}

.contact-item {
  margin-bottom: 1.7rem;
}

.contact-title {
  color: var(--clr-primary);
  font-weight: 400;
  direction: rtl;
}

.contact-text {
  font-size: 1.1rem;
}

.contact-form {
  /* background: var(--clr-white); */
  background-color: #ffffff;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  max-width: 35rem;
}

.contact-form:hover {
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.7);
  transform: scale(1.005);
}

.contact-form h3 {
  color: var(--clr-grey-5);
  /* padding-top: 1.25rem; */
  font-size:large;
}

.form-group {
  padding: 1rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.form-control {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border: none;
  background: var(--clr-grey-10);
  border-radius: var(--radius);
  direction: rtl;
}

.form-control::placeholder {
  font-family: var(--ff-primary);
  color: var(--clr-grey-1);
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border: none;
  font-family: var(--ff-primary);
}

@media screen and (min-width: 992px) {
  .contact article {
      float: right;
      width: 33%;
  }
  
}

/*
===================
Footer
===================
*/

.footer {
  background: #050934;
  text-align: center;
  color: var(--clr-white);
}


.social-icon:hover {
  color: var(--clr-primary);
}

.footer-text {
  /* font-size: 1.1rem; */
  padding: 1rem;
  background-color: #343232;
  direction: rtl;
}

.company {
  color: var(--clr-primary);
  font-size: 1.5rem;
    
}



/*
===================
media-coeries
=================== */
@media (min-width:350px){

  .product-btn{
      margin-left: 5rem !important;
  }



}



@media (max-width:480px){

  .container{
      background-color: #fff;
      /* display: flex; */
      /* flex-direction: row; */
      /* flex-direction: row-reverse; */
      /* flex-wrap: wrap; */
      /* margin: ;  */
      display: grid;
      /* grid-template-columns: repeat(4,1fr);  */
      grid-template-columns: repeat(auto-fit, minmax(30%,1fr)); 
      /* grid-template-rows: auto; */
      gap: 25px;
      /* margin-left: 1.5rem; */
      margin:auto 0.5rem;
  }

  .product-btn{
      margin-right: 7rem !important;
  }

  .last-card{
      margin-right: 0 !important;
  }    
  .clearfix{
      flex-wrap: wrap;
      /* margin-right: 1rem !important; */
  }
  .product {
      float: right;
      width: 50%;
      padding-left: 2rem;
  }
  .feature {
      float: right;
      width: 50%;
  }

  .header{
      height: 15rem;
      width: 100%;
      background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .3)),url(../images/IMG_899k5.png) ; 
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;

  }
  .header  a {

      font-size: small;
  }
  .banner h2{
      padding-top: 1rem;
      font-size: small;
      color: #222;
  }

  .btn-banner{
      padding:10px 1rem ;
      /* margin-top: 12rem; */
  }

  #baner-text{
      margin-top: 10px;
  }
}

.slider{
  display: block;
  width: 100%;
  height: 17rem;
  bottom: 0;
}



.cardss-img{
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.cards{
  /* width: 10rem; */
  margin: 1rem auto;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
  animation: slideFromBottom 3s linear 1;

}
.model-name{
  text-align: center;
  margin-top: 1rem;
}
.cards:hover{
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}


/* slider */
.slider {
  width: 100%;
  height: 230px;
  position: relative;
  margin: auto;
  overflow-x: scroll;
  overflow-y: hidden;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider .slide {
  display: flex;
  position: relative;
  left: 0;
  transition: 0.3s left ease-in-out;
}

.slider .item {
    margin-right: 10px;
    box-shadow: 0 2px 8px rgb(206 223 237 / 40%);
    -moz-box-shadow: 0 0 8px rgba(206,223,237,.4);
    -webkit-box-shadow: 2px 5px 8px rgba(43, 43, 44, 0.5);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: #fff;
    /* position: relative; */
    border: 1px solid #ecf1f4;
    padding: 10px;
    width: 26rem;
    transition: var(--transition) all 0.3s linear;
    margin-top: 0.5rem;
}

.slider .item:hover{
  box-shadow: 2px 5px 8px rgba(0, 0, 0, 0.6);
  transform: scale(1.02);
  cursor: pointer;
}
.slider-product img {
  width: 120px;
  height: 110px;
  border-radius: 10px;
}

.slider-product h3 {
  font-size: 12px;
  text-align: center;
  color: #102a42;
  font-weight:bold;
}

.slider-product p {
  color: black;
  z-index: 5;
}
/* endslider */

img{
  transition: var(--transition);
}










