


@font-face {
  font-family: "BYekan";
  src: url("../fonts/BYekan.woff2") format("woff2"),
    url("../fonts/BYekan.woff") format("woff"),
    url("../fonts/BYekan.eot") format("eot"),
    url("../fonts/BYekan.ttf") format("ttf");
}

:root {
  --rootTextColor1: #494949;
  --mainColor1: #ab8c00;
  --mainColor2: #c47c04;
  --mainColor3: #f5a116;
  --mainColor4: #ffba47;
  --mainColor5: #ffc96f;
  --firstColorText: #3d0141;
  --firstColor1: #b653bd;
  --firstColor2: #9f2fa7;
  --firstColor3: #971f9f;
  --firstColor4: #780480;
  --firstColor5: #5f0165;
  --secondColorText: #45640e;
  --secColor1: #9dcb3b;
  --secColor2: #7da539;
  --secColor3: #638835;
  --secColor4: #4b6e30;
  --secColor5: #345729;

  --bodyColor: #dfdfdf;
  --footerBackColor: #d3d3d7;

  --accHeight: 230px;
  --accHWidth: 50px;
  --accMaxWidth: 750px;
}

body,
html {
  font-family: "BYekan", sans-serif;
  background-color: var(--bodyColor);
  color: var(--rootTextColor1);
  user-select: none;
  direction: rtl;
}

.lang {
  display: none;
}
.lang.active {
  display: block;
}

.lang-en {
  font-family: Arial, Helvetica, sans-serif !important ;
  /* letter-spacing: 1px; */
}

.globalSiteMaxWith {
  max-width: 1000px !important;
}

/* Divider */
.wrapper {
  padding-bottom: 0;
}

.divider {
  position: relative;
  margin-top: 0;
  height: 5px;
}

.div-transparent:before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    rgb(90, 90, 90),
    transparent
  );
}

.div-dot:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -7px;
  left: calc(50% - 9px);
  width: 14px;
  height: 14px;
  background-color: rgb(171, 140, 0);
  border: 1px solid rgb(173, 173, 173);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(173, 173, 173);
}

/* Header */
.mainHeader {
  background: url("../img/headerBack.jpg") center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 3px solid #b8b8b8;
  box-shadow: 0 -2px 7px 0 rgba(0, 0, 0, 0.2);
}

.brandsPlace {
  background-color: var(--footerBackColor);
  background-image: url("../img/headerBack.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-blend-mode: multiply;
}

.nav-item > .active {
  background-color: rgba(128, 128, 128, 0.1) !important;
  border: 0 !important;
}

.main-tab-content {
  height: var(--accHeight);
  background-color: rgb(245, 245, 245);
  background-image: url("../img/headerBack.jpg"), url("../img/5D-logo.png");
  background-size: cover, 27%;
  background-repeat: no-repeat, no-repeat;
  background-position: center center, 90% center;
  background-blend-mode: multiply, overlay;
}

#tab1-tab,
#tab2-tab {
  padding: 0 0.5rem !important;
  border-radius: 0 !important;
  border-left: 3px solid var(--mainColor1) !important;
}

#tab1-tab {
  border-right: 3px solid var(--mainColor1) !important;
}

#tab1-tab.active,
#tab1-tab:hover {
  color: #7d1a0a !important;
}

#tab2-tab.active,
#tab2-tab:hover {
  color: #45640e !important;
}

.card {
  position: relative;
}

.card .cardHeader {
  background: url("../img/human.png");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: 90% 0;
  width: var(--accHeight);
  height: var(--accHWidth);
  position: absolute;
  left: calc(var(--accHeight) / 2 * -1 + var(--accHWidth) / 2);
  top: calc(var(--accHeight) / 2 - var(--accHWidth) / 2);
  transform: rotate(-90deg);
  padding-left: 13px;
}

.cardBody {
  margin: 20px !important;
  margin-left: 60px !important;
  padding-left: 20px !important;
}

.cardDis {
  text-align: justify;
}

.choice {
  box-sizing: border-box;
  padding: 0;
  align-items: center;
  transition: width 0.2s;
  border-radius: 0 !important;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2) !important;
}
.expand {
  width: calc(100% - (4 * var(--accHWidth)));
}
.unset {
  width: var(--accHWidth) !important;
}
.small {
  width: var(--accHWidth);
}

.small .cardBody,
.unset .cardBody {
  visibility: hidden;
}

.expand .cardBody {
  transition-delay: 100ms;
  visibility: visible;
}

#acc1 > .card:nth-child(1) {
  background-color: var(--firstColor1);
}
#acc1 > .card:nth-child(2) {
  background-color: var(--firstColor2);
}
#acc1 > .card:nth-child(3) {
  background-color: var(--firstColor3);
}
#acc1 > .card:nth-child(4) {
  background-color: var(--firstColor4);
}
#acc1 > .card:nth-child(5) {
  background-color: var(--firstColor5);
}

#acc2 > .card:nth-child(1) {
  background-color: var(--secColor1);
}
#acc2 > .card:nth-child(2) {
  background-color: var(--secColor2);
}
#acc2 > .card:nth-child(3) {
  background-color: var(--secColor3);
}
#acc2 > .card:nth-child(4) {
  background-color: var(--secColor4);
}
#acc2 > .card:nth-child(5) {
  background-color: var(--secColor5);
}

/* Main Page */
.siteContainer {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.siteContainer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 100%;
  background: url("../img/backElements.png") top center / cover repeat-y;
  opacity: 0.6;
  z-index: -1;
}

@media (max-width: 1000px) {
  .siteContainer::before {
    width: 100%;
    left: 0;
    transform: none;
  }
}

/* Footer */
.footer {
  background-color: var(--footerBackColor);
  box-shadow: 0 -3px 2px 0 rgba(128, 128, 128, 0.3);
}

/* 5D Pages */

.dPageHeaderRect {
  position: absolute;
  left: 0;
  top: -50px;
  width: 288px;
  height: 310px;
  background-color: var(--headerColor);
  mask-image: url("../img/Polygon.svg");
  mask-size: 100% 100%;
  mask-clip: border-box;
}

.dPageHeaderFace {
  position: absolute;
  left: 0;
  top: 10px;
  background: url("../img/human.png") top right;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
  background-size: 109%;
  width: 100px;
  height: 100px;
}

.dPageHeader {
  position: relative;
  z-index: 0;
  height: 278px;
}

.dPageHeader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/headerBack.jpg") 0 -215px / cover;
  opacity: 0.7;
  z-index: -1;
}

.dPageBody {
  position: relative;
  z-index: 0;
}

.dPageBody::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/backElements.png") center top / cover repeat-y;
  opacity: 0.6;
  z-index: -1;
}

.d5PageHeader {
  position: absolute;
  left: 0;
  top: -50px;
  background: url("../img/5D-person.png") top right;
  background-repeat: no-repeat;
  background-size: 109%;
  width: 270px;
  height: 280px;
}

#DBody .nav-tabs .nav-link {
  color: gray;
  transition: color 0.3s ease;
  border: 0;
}

#DBody .nav-tabs .nav-link:hover {
  color: #555;
  border: 0;
}

#DBody .nav-tabs .nav-link.active {
  color: var(--mainColor1) !important;
}

.human-circle {
  margin-top: 4px;
  width: 20px !important;
  aspect-ratio: 1/1;
  border: 5px solid var(--mainColor1);
  border-radius: 50%;
}

.contact-page-info {
  background: url("../img/contact-us-3483604-2912020.webp");
  background-repeat: no-repeat;
  background-position: -56px 52px;
  background-size: contain;
}

.contact-social-icons > a > div {
  color: white !important;
  background-color: var(--mainColor1);
}

.teamPage > .card {
  margin: 0 2rem 2rem 0;
  background-color: rgb(245, 245, 245);
  min-width: 250px;
  height: 330px;
  box-shadow: 0 0 4px 0 rgba(168, 132, 11, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 1rem;
}

.teamPage > .card > .elem1,
.teamPage > .card > .elem2 {
  width: 150%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  position: absolute;
}

.teamPage > .card > .elem1 {
  background-color: var(--secColor1);
  right: -270px;
  top: -200px;
}

.teamPage > .card > .elem2 {
  background-color: var(--firstColor3);
  left: -300px;
  top: -250px;
}

.teamPage > .card > img {
  z-index: 50;
  border: 1px solid var(--mainColor3);
  width: 180px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin-top: 1.5rem;
}

.teamPage .lang-en :first-child {
  margin-top: 1rem !important;
  font-size: 1.1rem !important;
}
.teamPage .lang-en :nth-child(2) {
  font-size: 0.85rem !important;
}
.teamPage .lang-fa :first-child {
  margin-top: 1rem !important;
  font-size: 1.3rem !important;
}
.teamPage .lang-fa :nth-child(2) {
  font-size: 1rem !important;
}
