@font-face {
  font-family: Vazir;
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/vazir/Vazir.eot");
  src: url("../fonts/vazir/Vazir.eot?#iefix") format("embedded-opentype"),
    /* IE6-8 */ url("../fonts/vazir/Vazir.woff2") format("woff2"),
    /* FF39+,Chrome36+, Opera24+*/ url("../fonts/vazir/Vazir.woff")
      format("woff"),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("../fonts/vazir/Vazir.ttf")
      format("truetype");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Vazir, Arial, Helvetica, sans-serif;
}
:root {
  --clr-primary: blue;
  --clr-primery-light: rgb(140, 112, 192);
  --clr-grey-1: black;
  --clr-grey-5: grey;
  --clr-grey-10: rgb(233, 219, 219);
  --clr-white: white;
  --transition: all 0.3s linear;
}

body {
  background: var(--clr-white);
  color: var(--clr-grey-1);
  text-align: right;
  font-size: 1rem;
}
a {
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.clearfix {
  clear: both !important;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mt-5 {
  margin-top: 5rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}
.mb-5 {
  margin-bottom: 5rem;
}
.mr-1 {
  margin-right: 1rem;
}
.mr-2 {
  margin-right: 2rem;
}
.mr-3 {
  margin-right: 3rem;
}
.mr-4 {
  margin-right: 4rem;
}
.mr-5 {
  margin-right: 5rem;
}
.ml-1 {
  margin-left: 1rem;
}
.ml-2 {
  margin-left: 2rem;
}
.ml-3 {
  margin-left: 3rem;
}
.ml-4 {
  margin-left: 4rem;
}
.ml-5 {
  margin-left: 5rem;
}
@keyframes bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes textfromtop {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 100%;
  }
}
@keyframes textfromdown {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 100%;
  }
}
.section-center {
  width: 85vw;
  padding: 4rem 0;
  margin: 0 auto;
  max-width: 1170px;
}
.section-info h4 {
  color: blue;
  font-size: 1.25rem;
}
.section-info h5 {
  font-size: 0.9rem;
}
.section-info {
  margin: 2rem 0;
}
.nav-btn {
  position: fixed;
  top: 4%;
  right: 5%;
  color: rgb(233, 111, 41);
  font-size: 3rem;
  z-index: 1;
  cursor: pointer;
  animation: bounce infinite 2s ease;
}
.navbar {
  position: fixed;
  z-index: 2;
  right: 0;
  background-color: aqua;
  height: 100%;
  width: 300px;
  transform: translateX(100%);
}
.showNav {
  transform: translate(0);
}
.nav-details {
  list-style-type: none;
  direction: rtl;
}
.nav-li {
  transition: var(--transition);
}
.nav-li:hover {
  background-color: white;
  padding-right: 1rem;
  border-right: solid 5px black;
}
.nav-icons {
  margin-left: 0.5rem;
}
.nav-header {
  text-align: left;
  color: grey;
  cursor: pointer;
}
header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../image/pexels-simonmigaj-1009136.jpg) center/cover no-repeat fixed;
  height: 100vh;
  position: relative;
}
.divver {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.divver-h1 {
  color: var(--clr-primary);
  font-size: 1.5rem;
  animation: textfromtop 2s ease-in-out 1;
}

.divver-h2 {
  font-size: 1rem;
  color: white;
}
@media screen and (min-width: 800px) {
  .divver-h2 {
    font-size: 1.2rem;
    color: white;
  }
  .divver-h1 {
    color: var(--clr-primary);
    font-size: 2rem;
  }
}
.btn-first,
.divver-h2 {
  animation: textfromdown 2s 1 ease;
}
.btn {
  display: inline-block;
  color: white;
  padding: 10px;
  background-color: orange;
  border-radius: 12px;
  outline: 0.1rem solid orange;
  outline-offset: 0.2rem;
}
.btn:hover {
  background-color: red;
  color: black;
}
.divider {
  height: 0.5rem;
  background: linear-gradient(to left, blue, rgb(36, 3, 90));
}

.float {
  text-align: center;
}

.f {
  transition: var(--transition);
  background: linear-gradient(to bottom, rgb(187, 187, 216), rgb(50, 50, 196));
}
.f:hover {
  background: blueviolet;
  box-shadow: 0 2px 0 var(--clr-grey-1);
}
.f:hover .bi {
  transform: translateY(-5px);
}

.bi {
  margin-bottom: 1rem;
  display: inline-block;
  font-size: 1.5rem;
  padding-top: 10px;
}
.icon-number {
  color: red;
}

h3 {
  margin-bottom: 0.5rem;
  color: blue;
}
.p-1 {
  color: white;
  padding: 10px 0;
}
@media screen and (min-width: 576px) {
  .f {
    text-align: center;
    border-left: solid 2px black;

    float: right;
    width: 50%;
  }
  h3 {
    font-size: 1.25rem;
  }
  .p-1 {
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 1000px) {
  .f {
    text-align: center;
    background: linear-gradient(to left, rgb(187, 187, 216), rgb(50, 50, 196));

    float: right;
    width: 25%;
  }
  h3 {
    font-size: 1.3rem;
  }
  .p-1 {
    font-size: 0.9rem;
  }
}
.about-img {
  padding: 2rem 0;
}

.about-picture-container {
  background-color: blueviolet;
  max-width: 30rem;
  border: solid 3px blue;
  border-radius: 12px;
  overflow: hidden;
}
@media screen and (min-width: 1000px) {
  .section-center {
    width: 95vw;
  }
}
.about-picture {
  transition: var(--transition);
}
.about-picture-container:hover .about-picture {
  transform: scale(1.2);
  opacity: 0.5;
}
.about-btn {
  margin-top: 3rem;
}

@media screen and (min-width: 576px) {
  .about-img {
    float: left;
    width: 50%;
  }
  .about-info {
    float: right;
    width: 50%;
  }
}
.product {
  background-color: rgb(247, 215, 215);
}

.product-btn {
  margin: 1.5rem 0;
}

.product-img {
  margin-bottom: 0.5rem;
  border-radius: 12px;
}

.product-price {
  margin-bottom: 1rem;
  color: blue;
  font-size: 1rem;
}

@media screen and (min-width: 768px) {
  .product-cards .product {
    float: left;
    width: 50%;
    padding-left: 2rem;
  }
}
@media screen and (min-width: 992px) {
  .product-cards .product {
    width: 33.3%;
  }
}

@media screen and (min-width: 1200px) {
  .section-info {
    margin-top: -2rem;
    float: right;
    width: 30%;
    /* display: inline-block; */
  }
  .product-cards {
    width: 70%;
    display: inline-block;
  }
}

.service-info {
  text-align: center;
  margin-top: 2rem;
}
.service-info h4 {
  font-size: 1.5rem;
}
.service-card {
  margin-bottom: 2rem;
  background-color: rgb(226, 193, 193);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.service-img {
  height: 17rem;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.service-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
  transform: scale(1.02);
}
.service-1 {
  text-align: center;
  padding: 2rem;
}
.service-card .icon {
  background: orange;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #fff;
  text-align: center;
  margin: -30px auto 0;
  display: block;
  position: relative;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .col-section-card {
    float: right;
    width: 50%;
    padding: 0 15px;
  }
}
@media screen and (min-width: 1200px) {
  .col-section-card {
    float: right;
    width: 33%;
    padding: 0 15px;
  }
}

.contact {
  background-color: rgb(233, 221, 221);
}
.contact-icon {
  display: inline-block;
  transform: translateY(53px);
}
.contact-title {
  transform: translateX(-30px);
}
.contact-item {
  margin-bottom: 2rem;
}
.contact-title,
.contact-icon {
  font-size: 1.25rem;
  color: orange;
}
.contact-form {
  /* transform: translateY(64px); */
  background-color: white;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  max-width: 35rem;
}
.contact-form-title {
  transform: translateY(-20px);
  text-align: center;
  font-size: 1.25rem;
}
.contact-form:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.form-control {
  display: block;
  width: 80%;
  margin: 1rem auto;
  padding: 0.3rem;
  border: none;
  background-color: rgb(241, 227, 227);
  border-radius: 5px;
  direction: rtl;
  transition: var(--transition);
}
.form-control:hover {
  box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.3);
}
.btn-contact {
  display: inline-block;
  width: 90%;
  margin: 1rem;
  outline-offset: 0;
}
@media screen and (min-width: 992px) {
  .contact article {
    float: right;
    width: 50%;
  }
}

/* .footer {
  background-color: black; */

/* } */
.footer-1 {
  background-color: black;
  text-align: center;
}
.footer-info {
  color: white;
  direction: rtl;
  margin: 0 0.5rem;
}
.footer-info .footer-span {
  color: orange;
}
.footer-icon {
  font-size: 1.5rem;
  margin-left: 1rem;
  color: white;
}

.footer-icon:hover {
  color: orange;
}
@media screen and (max-width: 768px) {
}
