@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 100;
  src: url("../webfonts/woff/IRANYekanX-Thin.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Thin.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 200;
  src: url("../webfonts/woff/IRANYekanX-UltraLight.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-UltraLight.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 300;
  src: url("../webfonts/woff/IRANYekanX-Light.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Light.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 500;
  src: url("../webfonts/woff/IRANYekanX-Medium.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Medium.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 600;
  src: url("../webfonts/woff/IRANYekanX-DemiBold.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-DemiBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 800;
  src: url("../webfonts/woff/IRANYekanX-ExtraBold.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-ExtraBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 900;
  src: url("../webfonts/woff/IRANYekanX-Black.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Black.woff2") format("woff2");
}
@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 950;
  src: url("../webfonts/woff/IRANYekanX-ExtraBlack.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-ExtraBlack.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 1000;
  src: url("../webfonts/woff/IRANYekanX-Heavy.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Heavy.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: bold;
  src: url("../webfonts/woff/IRANYekanX-Bold.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Bold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: normal;
  src: url("../webfonts/woff/IRANYekanX-Regular.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Regular.woff2") format("woff2");
}
:root {
  --primary-color: #f97c22;
  --primary-color2: #fee8af;
  --primary-color-hover: #e7721e;
  --secondary-color: #9ba777;
  --secondary-color2: #7c8f6f;
  --light-color: #fff;
  --text-color: #444;
  --text-color2: #8d8d8d;
  --text-color3: #595d63;
  --border-color: #eee;
  --bs-link-color: #e6e6e6;
  --background-color: #f4efe2;
  --input-radius: 50px;
  --global-margin: 80px;
  --small-margin: 15px;
  --swiper-navigation-size: 1rem;
  --swiper-navigation-color: var(--primary-color);
  --swiper-theme-color: var(--primary-color);
  --bs-nav-link-hover-color: var(--primary-color);
  --bs-link-hover-color: var(--primary-color);
  --primary-font-family: IRANYekanX;
}

* {
  font-family: var(--primary-font-family);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  background-color: var(--background-color);
}
header {
  background-color: var(--secondary-color2);
  padding-bottom: 300px;
  background-image: url("../image/header-pattern.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.navbar {
  padding: 10px 0;
}
a {
  color: var(--primary-color);
}
a,
input[type="submit"],
.swiper-pagination-bullet {
  text-decoration: none;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
img,
video {
  max-width: 100%;
  height: auto;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

textarea {
  height: 130px;
  border-radius: 25px !important;
}

input,
textarea,
select {
  margin: 5px 0;
  background: #f8f8f8;
  border: 0px;
  border-radius: var(--input-radius);
  -webkit-box-shadow: none;
  box-shadow: none;
  color: var(--text-color3);
  padding: 11px 20px;
  font-size: 0.8rem;
  direction: rtl !important;
}

input[type="submit"] {
  border: none;
}
.left-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.logo-a img {
  width: 100px;
  height: auto;
}
.menu label,
.toggler-label {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}
.menu label:hover,
.toggler-label:hover {
  cursor: pointer;
}
.menu-dropdown,
.menu-check,
.toggler-check {
  display: none;
}
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  z-index: 11;
}
.menu a {
  color: var(--light-color);
  font-weight: 700;
  font-size: 13px;
  display: block;
  white-space: nowrap;
}
.menu-backdrop {
  display: none;
}
.menu-dropdown a {
  padding: 10px var(--small-margin);
  display: block;
  color: var(--text-color);
}
.menu li label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.title-div {
  margin-top: 30px;
  text-align: center;
}
.larg-bold-title {
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.5;
  font-size: 28px;
  margin-top: 80px;
  margin-bottom: 30px;
}
.larg-bold-title::after,
.larg-bold-title::before {
  content: none;
}
.medium-bold-title {
  font-weight: 700;
  font-size: 19px;
  color: var(--text-color);
  line-height: 1.7;
}
.small-bold-title,
article h2 {
  font-weight: 700;
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
}
.medium-text,
article {
  font-weight: 400;
  color: var(--text-color2);
  font-size: 15px;
  line-height: 186.523%;
}
.small-text,
footer a {
  font-weight: 400;
  color: var(--text-color2);
  font-size: 13px;
  line-height: 1.6;
}
.light-color {
  color: var(--light-color) !important;
}
.primary-color2 {
  color: var(--primary-color2) !important;
}
h1 span {
  color: var(--primary-color) !important;
}
.button-style,
.button-style2,
.icon-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 40px;
  font-size: 12px;
  font-weight: 700;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: var(--input-radius);
  color: var(--light-color) !important;
  padding: 0 16px;
}
.icon-button {
  background-color: var(--primary-color);
  padding: 0;
  width: 40px;
}
.button-style:hover,
.icon-button:hover {
  background-color: var(--primary-color-hover);
}
.button-style2:hover {
  background-color: #919b73;
}
.button-style {
  background-color: var(--primary-color);
}
.button-style2 {
  background-color: var(--secondary-color);
}
.pagination {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  --bs-pagination-color: var(--text-color);
  --bs-pagination-active-bg: var(--primary-color);
  --bs-pagination-active-border-color: var(--primary-color);
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-hover-color: var(--text-color);
  --bs-pagination-focus-color: var(--text-color);
  --bs-pagination-hover-bg: var(--background-color);
  --bs-pagination-focus-bg: var(--background-color);
}
.top-div {
  margin-top: -230px;
}
.swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 20px;
}
.margin-section {
  margin-top: var(--global-margin);
}
.title-div2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.news-div {
  position: relative;
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: var(--primary-color2);
  padding: 18px;
}
.news-div img {
  border-radius: 16px;
}
.news-div p {
  text-align: justify;
}
footer {
  background-color: var(--secondary-color2);
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 5px;
}
footer a {
  color: var(--light-color);
}
footer .social-div a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}
.card-main {
  background-color: var(--light-color);
  border-radius: 25px;
  -webkit-box-shadow: 0 0 20px #53535329;
  box-shadow: 0 0 20px #53535329;
}
.search-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.search-div > div {
  position: relative;
}

.search-div i {
  position: absolute;
  right: 18px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--text-color2);
  font-size: 14px;
}

.search-div input {
  padding: 16px 40px 16px 80px;
}

.search-div a {
  position: absolute;
  left: 6px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media screen and (min-width: 1201px) {
  .menu .menu-hasdropdown > a .fa-chevron-down {
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .menu .menu-hasdropdown:hover > a .fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .menu {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
  }

  .toggler-label,
  .menu-check,
  .toggler-check {
    display: none;
  }

  .menu > ul > li > a:hover {
    color: var(--primary-color2);
  }

  .menu > ul > li > a {
    padding: 0.9rem 0.9rem 0.8rem;
  }
  .menu > ul > li {
    display: inline-block;
  }

  .menu-dropdown a:hover {
    color: var(--primary-color);
  }

  .menu-hasdropdown {
    position: relative;
  }
  .menu-hasdropdown:hover > ul {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
    padding: 10px 0px;
    border-radius: 12px;
  }
  .menu-hasdropdown > ul {
    position: absolute;
    display: block;
    top: 100%;
    right: 0;
    z-index: 1;
    background-color: var(--light-color);
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;
    -webkit-transform: scale(1, 0.1);
    -ms-transform: scale(1, 0.1);
    transform: scale(1, 0.1);
    opacity: 0;
    -webkit-transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    -o-transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 140px;
    border: solid 1px var(--border-color);
  }
  .menu-hasflyout > ul {
    right: 100%;
    top: 0;
  }
  .menu-hasflyout .menu-downicon {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .menu {
    width: 400px;
    max-width: 100%;
  }
  .menu .toggler-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 18px;
    padding: 13px;
    color: var(--primary-color);
    font-weight: bold;
  }
  .menu,
  .menu-lefticon,
  .menu-backdrop {
    display: none;
  }
  .toggler-check:checked + .menu-backdrop {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.75;
    z-index: 0;
  }

  .toggler-check:checked ~ .menu-backdrop {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
    z-index: 8;
  }

  .toggler-check:checked ~ .menu {
    display: block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    background-color: var(--light-color);
    -webkit-animation: slideInRight 0.3s ease-in-out;
    animation: slideInRight 0.3s ease-in-out;
    height: 100vh;
    overflow: scroll;
    z-index: 9;
  }

  .menu-check:checked ~ ul {
    display: block;
    background-color: rgba(241, 241, 241, 0.482);
    -webkit-animation: slideInRight 0.3s ease-in-out;
    animation: slideInRight 0.3s ease-in-out;
  }
  .menu a {
    font-size: 0.9rem;
    color: var(--text-color);
  }

  .menu ul a {
    border-bottom: 1px solid var(--border-color);
    padding: 13px;
    font-weight: 400;
  }
  .menu > ul > li:last-child a {
    border: none;
    margin-bottom: var(--small-margin);
  }
  .menu-check:checked ~ ul.menu-dropdown {
    -webkit-animation: none;
    animation: none;
  }
  header {
    padding-bottom: 200px;
  }
  .top-div {
    margin-top: -150px;
  }
}
@media screen and (max-width: 992px) {
  .pagination {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
@media screen and (max-width: 500px) {
  .app-div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  input,
  textarea,
  select {
    padding: 19px 20px;
  }
  .button-style,
  .button-style2,
  .icon-button {
    height: 48px;
  }
  .icon-button {
    width: 48px;
  }
  header {
    padding-bottom: 100px;
  }
  .top-div {
    margin-top: -50px;
  }
  .search-div input {
    padding: 24px 40px 24px 80px;
  }
}
@media screen and (max-width: 350px) {
  .left-menu .button-style2 {
    width: 48px;
  }
  .left-menu .button-style2 span {
    display: none;
  }
  .search-div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .search-div input {
    padding: 19px 40px 19px 20px;
  }

  .search-div a {
    width: 100%;
    position: relative;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    left: 0;
    margin-top: 8px;
  }
}
@-webkit-keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}
