@font-face {
  font-family: 'IranSans';
  src: url('../font/IRANSans.woff');
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: white;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* height of your navbar */
}

:root {
  --Blue-Tiffany: #113F67;
  --Gray: #34699A;
  --title-size: 30px;
  --text-coler: #333333;
  --text-coler-hover: #000000;
}

@media (width <=767px) {
  :root {
    --title-size: 18px;
  }
}

body {
  margin: 0;
  padding: 0;
  direction: rtl;
  font-family: 'IranSans', tahoma;
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-inline: 20px;
}

/*  استایل هدر */

.header {
  border-bottom: 1px solid #e0e0e0;
  background-color: #fff;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 15px 20px;
  transition: top 0.5s;
  z-index: 999;
}

.nav {
  width: 100%;
  max-width: 1320px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
}

@media (width <=767px) {
  .nav {
    padding-top: 15px;
  }
}

.nav-right a {
  color: black;
}


.nav-left {
  width: fit-content;
  display: flex;
  align-items: center;
}

.nav-left button {
  all: unset;
  width: 150px;
  background-color: var(--Blue-Tiffany);
  height: 50px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border: 2px solid var(--Blue-Tiffany);
  transition: all 0.6s;
  transform: scale(1);
  cursor: pointer;
}

.nav-left button:hover a {
  color: var(--Blue-Tiffany);
  transition: all 0.5s;
  transform: scale(1.3);
}

.nav-left button:hover {
  background-color: transparent;
  border-radius: 5px;
}

.nav-right {
  width: fit-content;
  height: 90px;
  display: flex;
  align-items: center;
  margin-left: auto;
}

@media (width <=767px) {
  .nav-right {
    order: 3;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-left: unset;
  }
}

.logo {
  height: 50px;
}

.nav-right>ul {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 18px;
}

@media (width <=767px) {
  .nav-right>ul {
    padding-right: 0;
  }
}

.nav-right>ul>li {
  height: 90px;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.nav-submenu {
  width: 200px;
  position: absolute;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  transform: perspective(1000px) rotateX(90deg);
  transition: all 0.4s;
  padding-top: 15px;
}

.nav-right>ul>li:hover>.nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: perspective(1000px) rotateX(0);
}

.nav-submenu-inner {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 1px 1px 7px #00000049;
  z-index: 2;
}

.nav-submenu-inner ul {
  width: 100%;
  padding-right: 0;
  padding-block: 10px;
  z-index: 2;
}

.nav-submenu-inner a {
  list-style: none;
  height: 45px;
  display: flex;
  align-items: center;
  font-size: 14px;
  border-right: 4px solid transparent;
  padding-right: 10px;
  transition: all 0.46s;
  transform: translateX(0);
  z-index: 2;
}

.nav-submenu-inner a:hover {
  border-color: var(--Blue-Tiffany);
  transform: translateX(-10px);
}

/* استایل هدر */




/* محصولات */
.products {
  width: 100%;
  max-width: 1320px;
  margin-block: 150px;
  margin-block-end: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products2 {
  width: 100%;
  max-width: 1320px;
  margin-block: 0px;
  margin-block-end: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product1 {
  display: flex;
  flex-direction: column;
  width: 30%;
  margin: 20px;
  height: 100%;
  z-index: 2;
  border-radius: 15px;
  box-shadow: 1px 1px 7px #00000050;
}

.product1-image {
  width: 100%;
  height: 70%;
  overflow: hidden;
}

.product1-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s;
}

.product1:hover img {
  scale: 1.1;
  overflow: hidden;
}

.product1-text {
  padding: 50px;
}

.product1-text-info {
  color: gray;
  /* font-size: 0.8rem; */
  margin-bottom: 5px;
}

.product1-text-title {
  font-size: 1.9rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.product1-text-ds {
  margin-bottom: 15px;
}

.product1-text-button {
  background-color: transparent;
  border: 0;
}

.product1-text-button svg {
  width: 50px;
  height: 50px;
  transition: all 0.6s;
  fill: var(--Gray);
}

.product1-text-button:hover svg {
  fill: var(--Blue-Tiffany);
  scale: 1.2;
  transition: all 0.6s;
}

@media (width <=767px) {
  .products {
    flex-direction: column;
    margin-block: 50px;
    font-size: 0.8rem;
  }
  .products2 {
    flex-direction: column;
    margin-block: 50px;
    font-size: 0.8rem;
  }

  .products-Column {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .product1 {
    width: 90%;
    margin-top: 170px;
    margin-bottom: 30px;
  }

  .product1-image {
    width: 100%;
    height: fit-content;
    overflow: hidden;
  }

}

/* محصولات */



/*   فوتر */

footer {
  margin-top: 150px;
  flex-direction: column;
  align-items: center;
}

.footer-top {
  width: 100%;
  max-width: 1320px;
  background-color: #e5e7eb;
  border-radius: 20px;
  padding: 20px;
  padding-top: 70px;
  display: flex;
  position: relative;
}

@media (width <=979px) {
  .footer-top {
    flex-wrap: wrap;
  }
}

.footer-top-contLogo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: -50px;
  z-index: 1;
  background-color: #fff;
  box-shadow: 1px 1px 7px #00000057;
}

.footer-top-contLogo img {
  width: 60px;
  height: 60px;
}

.footer-top-toUp {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 1px 7px #00000057;
  position: absolute;
  right: 30px;
  top: -25px;
  border: none;
}

.footer-top-toUp svg {
  width: 30px;
  animation: toUp 1.5s linear infinite;
}

@keyframes toUp {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }

  100% {
    transform: translateY(0);
  }
}

.footer-top-item {
  width: 25%;
  padding-right: 20px;
}

@media (width <=979px) {
  .footer-top-item {
    width: 50%;
  }
}

@media (width <=767px) {
  .footer-top-item {
    width: 100%;
  }
}

.footer-top-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 20px;
  line-height: 32px;
}

.footer-top-item ul a {
  color: #57606e;
}

.footer-top-item ul {
  color: #57606e;
}

.footer-top-item:nth-child(4) {
  width: 30%;
}

.footer-top-item h4 {
  font-size: 1.3rem;
}

.footer-top-item-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-top-item-logo img {
  width: 40px;
  height: 40px;
}

.footer-top-item-paragraph {
  color: #57606e;
  line-height: 32px;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  width: 100%;
  max-width: 1320px;
  border-radius: 20px;
  margin-block: 25px;
  padding: 10px;
  background-color: #314252;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-bottom ul {
  display: flex;
  gap: 40px;
  list-style: none;
  color: #fff;
}

@media (width <=767px) {
  .footer-bottom ul {
    overflow-x: scroll;
    padding-bottom: 10px;
  }
}

.footer-bottom ul li {
  border-left: 1px solid #fff;
  padding-inline-end: 20px;
}

.footer-bottom ul li:last-child {
  border: none;
}

.footer-bottom ul a {
  color: #fff;
}

.footer-bottom-social {
  display: flex;
  width: fit-content;
  gap: 10px;
}

@media (width <=767px) {
  .footer-bottom-social {
    margin-inline: auto;
  }
}

.footer-bottom-social-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom-social-item svg {
  width: 30px;
  fill: #314252;
}

/* استایل فوتر */