* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 
======================
Fonts
======================
*/
@font-face {
  font-family: "vazir";
  src: url("../Fonts/Vazir/Vazir-Bold-FD-WOL.woff2") format("woff2"),
    url("../Fonts/Vazir/Vazir-Bold-FD-WOL.woff") format("woff"),
    url("../Fonts/Vazir/Vazir-Bold-FD-WOL.ttf") format("trutype");
}

/* 
======================
Variables
======================
*/

:root {
  --clr-primary: #e2711d;
  --clr-mprimary-light: #ffb627;
  --clr-grey-1: #102a42;
  --clr-grey-5: #617d98;
  --clr-grey-10: #f1f5f8;
  --clr-white: #fff;
  --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 {
  width: 100%;
  display: block;
}

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: var(--clr-primary);
  padding: 0.5rem 1rem;
  color: var(--clr-white);
  border-radius: var(--radius);
  display: inline-block;
}

.btn:hover {
  background: var(--clr-mprimary-light);
  color: var(--clr-primary);
  transition: var(--transition);
}

.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(1.5);
  }

  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;
  }
}

/* 
======================
navbar
======================
*/

.nav-btn {
  font-size: 2.5rem;
  color: var(--clr-primary);
  position: fixed;
  top: 5%;
  right: 0.5%;
  z-index: 1;
  cursor: pointer;
  animation: bounce 2s ease infinite;
}

.navbar {
  position: fixed;
  right: 0;
  top: 0;
  background: var(--clr-grey-10);
  z-index: 2;
  height: 100%;
  width: 100%;
  box-shadow: 2px 0 2px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: var(--transition);
}

.showNav {
  transform: translateX(0);
}

@media screen and (min-width: 768px) {
  .navbar {
    width: 30vw;
    max-width: 20rem;
  }
}

.navbar-header {
  text-align: left;
  cursor: pointer;
}

.nav-close {
  font-size: 2.5rem;
  color: #f29c9c;
  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:hover {
  background: var(--clr-mprimary-light);
  border-right: 0.25rem solid var(--clr-primary);
  padding-right: 1.5rem;
  color: var(--clr-primary);
}

.nav-link i {
  font-size: 1.4rem;
  margin-left: 0.3rem;
}

/* 
======================
Header
======================
*/

.header {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/header.jpg) center/cover no-repeat fixed;
  position: relative;
}

.banner {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner h1 {
  color: var(--clr-primary);
  margin-bottom: 3rem;
  animation: slidefromtop 2s ease-in-out 1;
}

.banner h2 {
  color: var(--clr-white);
  margin-bottom: 3rem;
  animation: slidefrombottom 2s ease-in-out 1;
}

.btn-banner {
  font-size: 1.25rem;
  outline: 0.125rem solid var(--clr-primary);
  outline-offset: 0.25rem;
  padding: 0.75rem 1.25em;
  animation: slidefrombottom 2s ease-in-out 1;
}

/* content divider */
.content-divider {
  height: 0.5rem;
  background: linear-gradient(
    to left,
    var(--clr-primary),
    var(--clr-mprimary-light),
    var(--clr-primary)
  );
}

/* 
======================
Features
======================
*/
.features {
  background: var(--clr-grey-10);
}

.feature {
  height: 300px;
  background: var(--clr-grey-10);
  text-align: center;
  padding: 2rem 0;
  transition: var(--transition);
}

.feature:hover {
  background: var(--clr-white);
  box-shadow: 0 2px 0 var(--clr-primary);
}

.feature:hover .feature-icon {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-top: 1.25rem;
  display: inline-block;
  transition: var(--transition);
}

.feature-title {
  margin-bottom: 1rem;
}

.feature-text {
  font-size: 18px;
  color: var(--clr-grey-5);
  max-width: 17rem;
  margin: auto;
}

@media screen and (min-width: 576px) {
  .feature {
    float: right;
    width: 50%;
  }
}

@media screen and (min-width: 1200px) {
  .feature {
    float: right;
    width: 25%;
  }
}

/* 
======================
about-us
======================
*/
.about-image,
.about-info {
  padding: 2rem 0;
}

.about-picture-container {
  max-width: 35rem;
  border: 0.3rem solid rgb(41, 4, 204);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-picture {
  transition: var(--transition);
  border-radius: 2px;
}
.about-picture-container:hover .about-picture {
  opacity: 0.7;
  transform: scale(1.2);
}

.about-text {
  color: var(--clr-grey-5);
}

.about-btn {
  margin-top: 1.5rem;
}

@media screen and (min-width: 992px) {
  .about-image {
    float: left;
    width: 50%;
  }

  .about-info {
    float: right;
    width: 50%;
  }
}
/* 
======================
products
======================
*/
.products {
  background: var(--clr-grey-10);
}

.produucts {
  background: var(--clr-white);
}

.products article {
  padding: 2rem 0;
}
.product-text {
  color: var(--clr-grey-5);
}

.product-btn {
  margin-top: 1.5rem;
}
.product-cards .product {
  margin-bottom: 2rem;
}
.product-img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  height: 17rem;
  object-fit: cover;
}
.product-price {
  color: red;
  direction: rtl;
}
@media screen and (min-width: 768px) {
  .product {
    float: right;
    width: 50%;
    padding-left: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .product {
    width: 33.3%;
  }
}

@media screen and (min-width: 1200px) {
  .products-info {
    float: right;
    width: 30%;
  }

  .product-cards {
    float: left;
    width: 70%;
  }

  .product {
    padding-left: 0rem;
    padding-right: 2rem;
    margin-bottom: 0rem;
  }
}

/* 
======================
services
======================
*/

.service-title {
  text-align: center;
}

.services-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);
}

.services-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.services-img {
  height: 17rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  object-fit: cover;
}
.service-info {
  text-align: center;
  padding: 3rem 1rem 2.5rem 1rem;
}

.service-info p {
  color: var(--clr-grey-5);
  width: 17rem;
  margin: 1rem auto;
}

@media screen and (min-width: 768px) {
  .services-card {
    float: right;
    width: 45%;
    margin-left: 5%;
  }
}

@media screen and (min-width: 992px) {
  .services-card {
    width: 30%;
    margin-left: 3%;
  }
}

.services-img-container {
  position: relative;
}

.service-icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  font-size: 1.75rem;
  background: var(--clr-primary);
  color: var(--clr-white);
  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);
}

.contactt {

  background: var(--clr-white);
}

.contact article {
  margin: 1rem 0;
}
.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);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  max-width: 35rem;
}
.contact-form h3 {
  color: var(--clr-grey-5);
  padding-top: 1.25rem;
}

.contact-form:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.input-group {
  padding: 1rem 1.5rem;
}

.form-control {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: none;
  direction: rtl;
  background: var(--clr-grey-10);
}
.form-control::placeholder {
  font-family: var(--ff-primary);
  color: var(--clr-grey-1);
}

.form-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: 50%;
  }
}

.footer {
  background: #222;
  text-align: center;
}
.social-text {
  direction: rtl;
  color: var(--clr-white);
}

.social-icon {
  color: var(--clr-white);
  margin-right: 1rem;
  margin-bottom: 5.5rem;
  font-size: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--clr-primary);
}
.social-text span {
  color: red;
}
