*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --swiper-navigation-color: #372b2b;
  --swiper-navigation-sides-offset: -50px;
  --swiper-pagination-color: #2f2424;
}

@font-face {
  font-family: "Condens";
  src: url("../fonts/InstagramSansCondensed.woff2");
}

@font-face {
  font-family: "Condens";
  src: url("../fonts/InstagramSansCondensedBold.woff2");
  font-weight: bold;
}

body.home {
  overflow: hidden;
}

body {
  font-family: "Condens";
}

body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: transparent url("../images/noise-transparent.png") repeat 0 0;
  background-size: 300px 300px;
  -webkit-animation: noise-animation 0.3s steps(5) infinite;
  animation: noise-animation 0.3s steps(5) infinite;
  opacity: 0.9;
  will-change: transform;
  z-index: 1;
  pointer-events: none;
}

@-webkit-keyframes noise-animation {
  0% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-2%, -3%);
  }
  20% {
    transform: translate(-4%, 2%);
  }
  30% {
    transform: translate(2%, -4%);
  }
  40% {
    transform: translate(-2%, 5%);
  }
  50% {
    transform: translate(-4%, 2%);
  }
  60% {
    transform: translate(3%, 0);
  }
  70% {
    transform: translate(0, 3%);
  }
  80% {
    transform: translate(-3%, 0);
  }
  90% {
    transform: translate(2%, 2%);
  }

  100% {
    transform: translate(1%, 0);
  }
}

a {
  text-decoration: none;
}

.first_loading {
  background-color: #212121;
  z-index: 10;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.main_loading {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  position: relative;
  z-index: 10;
    background: #fff;

}

.main_loading .logo_container .overlay {
  width: 500%;
  height: 100%;
  left: -380%;
  top: 0;
  right: 0;
  position: absolute;
  background-image: linear-gradient(
    90deg,
    #212121 25%,
    #ffffff00 40% 60%,
    #212121 75%
  );
  z-index: 999;
}

/* body.show-projects .main_loading .logo_container .overlay {
  display: none;
} */

.main_loading .logo_container {
  overflow: hidden;
  position: absolute;
  /* left: 50%;
  top: 0;
  transform: translate(-50%, 136px); */
}

.main_loading .line_loading {
  position: absolute;
  left: 50%;
  top: calc(50% + 56px);
  transform: translateX(-50%, -50%);
  background-color: white;
  height: 64px;
  width: 2px;
  display: block;
}

.loading_text_wrapper {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translate(-50%, 0);
  color: white;
  letter-spacing: 24%;
  font-size: 16px;
  z-index: 10;
  text-transform: uppercase;
}

.loading_text_overlay {
  bottom: 80px;
  width: 500%;
  height: 120px;
  left: -380%;
  top: 0;
  right: 0px;
  position: absolute;
  /* background-image: linear-gradient(
    90deg,
    #fff 25%,
    #ffffff00 40% 60%,
    #fff 75%
  ); */
  background-image: linear-gradient(
    90deg,
    #212121 25%,
    #ffffff00 40% 60%,
    #212121 75%
  );
  z-index: 999999;
}

.enter_bg_wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden;
  opacity: 0;
  transition-duration: 0.3s;
  display: none;
}

/* .enter_bg_wrapper.overlay::after {
  content: "";
  background-color: #0000008a;
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
} */

.enter_bg_wrapper .enter_bg {
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0.35;
}

.enter_bg_wrapper img {
  width: 100%; /* تغییر یافته */
  height: 100%; /* تغییر یافته */
  position: absolute; /* تغییر یافته */
  inset: 0; /* تغییر یافته */
  object-fit: cover; /* اضافه شده */
  /* opacity: 0.35; */
}
/*
.enter_bg {
  opacity: 0.35;
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
} */

.logo-dark {
  /* display: none; */
  /* opacity: 0; */
  height: 54px;
  /* width: 184px; */
}

/* .logo-image {
  filter: grayscale(1);
} */

.logo-image-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 50%);
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  display: none;
  opacity: 0;
}

.second-loading {
  max-width: 1200px;
  padding: 0 20px;
  margin: 50px auto 0 auto;
  position: relative;
  display: none;
  opacity: 0;
  width: 100%;
  height: 100%;
}

/* .logo-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
} */

.target-logo-dark {
  width: 74px;
  height: 46px;
}

.enter_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #0000002b;
  padding: 6px 19px;
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translate(-50%, 0);
  cursor: pointer;
  max-width: 300px;
  width: 100%;
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: "Condens";
  opacity: 0;
}

.enter_button span {
  color: #34312e;
  letter-spacing: 8px;
  transition-duration: 0.8s;
}

.enter_button:hover span {
  letter-spacing: 2px;
}

.second-loading.active {
  display: flex;
  justify-content: space-between;
}

.second-loading .circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: absolute;
  top: -70px;
  right: 0;
}

.second-loading .circle-items {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: #d9d9d9;
  display: inline-block;
}

.second-loading .menu-items {
  display: flex;
  align-items: center;
  justify-content: center;
  /* display: grid;
  grid-template-columns: repeat(5, 1fr); */
  /* gap: 32px; */
  position: absolute;
  top: -100px;
  left: 49%;
  transform: translateX(-50%);
}

.menu-items a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 4px;
  transition-duration: 0.8s;
  display: block;
  text-transform: capitalize;
}

.menu-item-parent {
  box-sizing: content-box;
  padding: 0 16px;
  width: 135px;
  text-align: center;
}

.menu-items a:hover {
  letter-spacing: normal;
}

/* .second-loading {
  align-items: center;
  justify-content: center;
  gap: 10px;
} */

.cards-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  position: relative;
  max-width: 1200px;
  transform: translateY(100%);
  width: 100%;
  padding: 0 20px;
  margin: 50px auto 0 auto;
  height: 100dvh;
  z-index: -1;
}

.cards-wrapper .cards-slider {
  max-width: 760px;
  width: 100%;
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 18px;
  text-align: center;
  position: relative;
  width: max-content;
  margin-right: auto;
  margin-left: auto;
}

.card-title,
.arrow,
.slash {
  color: #34312e;
  transition-duration: 0.75s;
}

.card-title {
  font-weight: 400;
  letter-spacing: 2px;
}

.card {
  transition-duration: 0.75s;
}

.card:hover {
  transform: scale(1.1);
}

.card .arrow {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.card:hover .arrow {
  left: 4%;
  opacity: 1;
}

.card:hover .slash {
  transform: rotate(-81deg);
}

.card img {
  width: 285px;
  height: 362px;
  filter: grayscale(1) brightness(1.2) contrast(0.8);
  transition: all 0.3s ease-in-out;
}

.card-slider img {
  filter: grayscale(1) brightness(1.2) contrast(0.8);
  transition: all 0.3s ease-in-out;
}

.card-slider img:hover {
  filter: grayscale(0) brightness(1);
}

.card img:hover {
  filter: grayscale(0) brightness(1);
}

.card.active {
}

.card.leave {
}

/* استایل برای overlay جدید که با جاوااسکریپت اضافه می‌شود */
.card-overlay {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* شروع با حالت شفاف */
}

.hidden-title {
  display: none;
}

.hidden-link {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.card_after_anim_title {
  position: absolute;
  bottom: -120%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 13;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

.card_after_anim_title a {
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  margin-top: 90px;
}

.card_after_anim_title h3 {
  max-width: 700px;
  width: 100%;
  color: #fff;
  font-size: 50px;
  line-height: 66px;
  font-weight: 400;
}

.slider-wrapper {
  position: absolute;
  left: 100%;
  /* top: 50%; */
  z-index: 9;
  width: 100%;
  transform: translateY(-50%);
  max-width: 1240px;
  padding: 0 20px;
  /* height: calc(100% - 260px); */
  top: 60%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.card-slider {
  text-align: center;
  transition: all 1s ease;
}

.slider-wrapper .swiper-slide {
  width: fit-content !important;
}

.slider-wrapper .swiper-slide {
  width: auto;
}

.card-slider img {
  width: 278px;
  height: 362px;
  object-fit: cover;
  margin: 0 auto;
}

.card-slider .arrow {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.card-slider:hover .arrow {
  left: 4%;
  opacity: 1;
}

.card-slider:hover .slash {
  transform: rotate(-81deg);
}

.logo-3d {
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.lottie-player {
  opacity: 0;
  display: none;
}

.d3-model {
  opacity: 0;
  display: none;
  width: 1920px;
  height: 868px;
}

.about-us-bg {
  background-image: url("../images/enter_bg.png");
  background-repeat: repeat;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.2;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 150px;
  max-width: 1480px;
  padding: 28px 20px;
  margin: 0 auto;
  width: 100%;
  /* border-bottom: 1px solid #448077; */
}

header .primary-menu {
  margin-left: -120px;
}

header .primary-menu,
.menu-items {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 32px; */
}

.menu-item-parent a {
  text-decoration: none;
  color: #2c2b2c;
  transition-duration: 0.2s;
  font-size: 18px;
  letter-spacing: 4px;
  transition-duration: 0.8s;
  text-transform: capitalize;
}
/*
header .primary-menu .menu-item-parent {
  padding: 0 16px;
  box-sizing: content-box;
  min-width: 130px;
  width: max-content;
  text-align: start;
} */

.menu-item-parent a:first-child {
  margin-left: 0;
}

.menu-item-parent a:hover {
  color: #448077;
  letter-spacing: normal;
}

.circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.circles .circle-items {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #d9d9d9;
}

.first-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background-image: url("../images/about-us.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 620px;
  padding-bottom: 150px;
  position: relative;
  z-index: 999;
}

.first-section::before {
  content: "";
  background-color: #2f2e2ebf;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
}

.first-section h2 {
  color: #fff;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.first-section p {
  color: #fff;
  font-size: 20px;
  line-height: 32px;
  margin-top: 8px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1300px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
  /* margin-top: 32px; */
}

.trusted-by {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  margin-top: 56px;
}

.trusted-by span {
  color: #717070;
  font-size: 20px;
  flex-grow: 1;
  flex-shrink: 0;
}

.awards {
  min-height: calc(100dvh - 340px);
  max-width: 1480px;
  padding: 28px 20px;
  margin: 70px auto 0 auto;
}

.awards-title {
  text-align: center;
  color: #5a5a5a;
  font-size: 32px;
  line-height: 48px;
}

.awards .awards-content {
  padding-bottom: 20px;
  /* display: grid;
  grid-template-columns: repeat(4, 1fr); */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: auto;
  white-space: nowrap;
  gap: 70px;
  margin-top: 64px;
  position: relative;
}

.time-line {
  position: absolute;
  /* width: 100%; */
  width: 0%;
  left: -20px;
  right: -20px;
  height: 1px;
  background-color: #d7d6d6;
  top: 57%;
  /* transform: translateY(-10%); */
}

.award-item {
  position: relative;
  width: 225px;
  flex-grow: 1;
  flex-shrink: 0;
  opacity: 0;
  filter: grayscale(1);
  transition: filter 0.7s ease;
}

.award-item .years-text {
  transition: all 0.3s ease;
}

.award-item:hover {
  filter: grayscale(0);
}

.award-item::after {
  position: absolute;
  left: 15%;
  top: 56%;
  content: "";
  background-color: #949494;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.award-item .item-content {
  margin-top: 30px;
  padding-left: 20px;
  height: 190px;
}

.award-item.reverse .item-content {
  margin-bottom: 30px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.award-item .years-text {
  color: #949494;
  font-size: 26px;
  line-height: 40px;
}

.award-item .item-title {
  color: #7d7d7d;
  font-size: 16px;
  line-height: 22px;
  margin-top: 15px;
}

.award-item .item-desc {
  color: #9d9b9b;
  font-size: 14px;
  line-height: 20px;
  max-width: 200px;
  width: 100%;
  margin-top: 4px;
  text-wrap: auto;
}

.form-content {
  background-color: #448077;
  padding: 40px 60px;
}

.form-title {
  font-size: 22px;
  color: #fff;
  text-align: center;
  line-height: 30px;
  margin-bottom: 21px;
}

.form-section form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form-section input,
.modal-content input {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  display: block;
  border: none;
  caret-color: #fff;
  color: white;
  width: 100%;
}
.modal-content input {
  margin-top: 18px;
}

.form-section input::placeholder,
.modal-content input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 22px;
}

.form-section button[type="submit"] {
  background-color: #fff;
  border: none;
  color: #448077;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
}

.modal-content button[type="submit"] {
  background-color: #fff;
  border: none;
  color: #448077;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
  width: 100%;
  display: block;
  padding: 10px;
  margin-top: 18px;
}

.portfolio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 165px;
  max-width: 1300px;
  padding: 0 20px;
  margin: 137px auto 0 auto;
  width: 100%;
}

.portfolio .portfolio-title {
  color: #2c2b2c;
  font-size: 32px;
  line-height: 48px;
  max-width: 440px;
  width: 100%;
}

.portfolio .portfolio-desc {
  color: #8e8484;
  font-size: 18px;
  line-height: 25px;
  margin-top: 4px;
  max-width: 440px;
  width: 100%;
}

.portfolio .btn-download {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.17);
  background: transparent;
  color: #838383;
  font-size: 18px;
  line-height: 30px;
  cursor: pointer;
  padding: 5px 28px;
  width: max-content;
}

footer {
  /* position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%; */
  margin-top: 50px;
  background-color: #448077;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 110px;
}

footer p {
  font-size: 18px;
  color: #fff;
  text-align: center;
  line-height: 25px;
  letter-spacing: 6px;
}

.contact-first-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 90px;
  height: calc(100dvh - 193px);
}

.contact-first-section h2 {
  color: #2c2b2c;
  font-size: 32px;
  line-height: 48px;
}

.contact-first-section p {
  color: #999999;
  font-size: 20px;
  line-height: 32px;
  text-align: justify;
  margin-top: 8px;
}

.contact-details {
  margin-top: 43px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.detail-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.detail-text :is(a, span) {
  color: #2c2b2c;
  font-size: 18px;
  line-height: 30px;
  text-decoration: none;
}

.social-networks {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  visibility: visible;
}

.social-networks.sm {
  display: none;
}

.social-networks svg:hover path[fill="#999999"],
.social-networks svg:hover rect[fill="#999999"] {
  transition: all 0.25s ease;
}

.social-networks svg:hover path[fill="#999999"],
.social-networks svg:hover rect[fill="#999999"] {
  fill: #448077;
}

.portfolio-image-wrapper :not(.dots) {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.portfolio-image-wrapper .dots {
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 350px;
  height: 350px;
}

.portfolio-image-wrapper {
  width: 350px;
  height: 400px;
  position: relative;
}

.form-section button[type="submit"] {
  padding: 15px;
}

.primary-mobile-menu,
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #fff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  width: 300px;
  position: fixed;
  top: 0;
  bottom: 0;
  /* min-height: 100dvh; */
  height: 100dvh;
  z-index: 999;
  padding-top: 32px;
  transition-duration: 0.6s;
  left: -100%;
  opacity: 0;
}

.primary-mobile-menu.open,
.mobile-menu.open {
  left: 0;
  opacity: 1;
}

.hero-image {
  max-width: 100%;
}

.menu_open_button {
  background: transparent;
  border: none;
  display: none;
}

.second-loading .menu_open_button {
  position: absolute;
  left: 16px;
  top: 0;
  width: 24px;
  opacity: 0;
}

.primary-mobile-menu .btn-close,
.mobile-menu .btn-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: none;
}

.primary-mobile-menu a,
.mobile-menu a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
  padding: 12px 0 12px 20px;
  display: block;
  transition-duration: 0.3s;
}

.primary-mobile-menu a:hover,
.mobile-menu a:hover {
  color: #000000;
}

header .primary-menu,
.second-loading .menu-items {
  display: flex;
}

.contact-first-section iframe {
  max-width: 100%;
}

.swiper-wrapper {
  box-sizing: content-box;
  padding: 32px 0;
}

.swiper-slide {
  text-align: center;
}

.card {
  /* margin: auto; */
  max-width: max-content;
  width: 100%;
}

.card.left {
  margin-right: auto;
  width: 285px;
}

.card.right {
  margin-left: auto;
  width: 285px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
}

.trusted-logos img {
  flex: 1;
}

.project-wrapper {
  max-width: 880px;
  padding: 0 15px;
  margin: 90px auto 140px auto;
}

.project-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #5a5a5a;
}

.project-gallery {
  position: relative;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 16/9;
}

.project-info {
  background: #f7f7f7;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  z-index: 999;
  width: 100%;
  padding: 12px 36px;
  margin-top: 32px;
}

.info-item {
  text-align: center;
}

.info-item .item-title {
  text-align: center;
  color: #999999;
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 9px;
}

.info-item .item-value {
  text-align: center;
  color: #414141;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 9px;
}

.project-description {
  margin-top: 56px;
  text-align: justify;
  line-height: 170%;
  color: #999999;
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .project-wrapper {
    margin: 30px auto 40px auto;
  }

  footer {
    margin-top: 50px;
  }
  /*
  .logo-image-wrapper .logo-image {
    width: 28px;
  } */

  .target-logo-dark {
    height: 28px;
    width: 44px;
  }

  .first-section {
    flex-wrap: wrap-reverse;
    text-align: center;
    justify-content: center;
  }

  .portfolio {
    flex-wrap: wrap-reverse;
    text-align: center;
    justify-content: center;
    margin-top: 50px;
    gap: 12px;
  }

  .portfolio .btn-download {
    /* margin: 8px auto 0 auto; */
    margin: 0;
    width: 100%;
  }

  .form-section form {
    grid-template-columns: 1fr;
  }

  header .logo-image {
    margin: 0 auto;
    /* filter: grayscale(1); */
  }

  .contact-first-section {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
    height: auto;
  }

  .form-content {
    padding: 24px 40px;
  }

  .social-networks {
    display: none;
  }

  .social-networks.sm {
    display: flex;
    margin-top: 0;
  }

  header {
    gap: 0;
  }

  .logo-image {
    width: 75px;
  }

  .second-loading {
    margin-top: 20px;
  }

  .awards .awards-content {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .time-line {
    position: absolute;
    height: 900px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: #d7d6d6;
    top: 0;
  }

  .award-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
  }

  .award-item::after {
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
  }

  .award-item.reverse .item-content {
    text-align: end;
    padding-left: 0;
    padding-right: 20px;
  }

  .award-item img {
    padding-right: 20px;
    margin-left: auto;
  }

  .award-item.reverse img {
    padding-left: 20px;
    margin-right: auto;
    margin-left: 0;
  }

  .award-item .item-content {
    display: flex;
    flex-direction: column;
  }

  .award-item.reverse .item-content {
    align-items: self-end;
  }

  .award-item.reverse .item-content .years-text {
    order: 1;
  }

  .award-item.reverse .item-content .item-title {
    order: 3;
  }

  .award-item.reverse .item-content .item-desc {
    order: 3;
  }

  footer {
    position: static;
  }

  .project-info {
    grid-template-columns: repeat(2, 1fr);
    margin: 10px auto 0 auto;
  }
}

@media screen and (max-width: 1024px) {
  header .primary-menu,
  .second-loading .menu-items {
    display: none;
  }

  .primary-mobile-menu,
  .mobile-menu {
    display: flex;
  }

  .menu_open_button {
    display: block;
  }
}

body.already-visited .first_loading,
body.show-projects .first_loading {
  display: none;
}

body.already-visited .overlay,
body.show-projects .overlay {
  transform: translateY(-105%);
}

body.already-visited .logo_container,
body.show-projects .logo_container {
  top: 0;
  left: 50%;
  transform: translate(-50%, 136px);
}

body.already-visited .line_loading,
body.show-projects .line_loading,
body.already-visited .logo-white,
body.show-projects .logo-white {
  display: none;
}

.logo-white {
  opacity: 0;
}

body.already-visited .first_loading,
body.show-projects .first_loading {
  height: 0;
}

body.already-visited .enter_bg_wrapper,
body.show-projects .enter_bg_wrapper,
body.already-visited .second-loading,
body.show-projects .second-loading {
  display: block;
  opacity: 1;
}

body.already-visited .video-player,
body.show-projects .video-player {
  opacity: 1;
}

body.already-visited .enter_button,
body.show-projects .enter_button {
  opacity: 1;
  bottom: 40px;
}

body.show-projects .second-loading {
  height: 0;
  transition: height 0.35s ease;
  z-index: 12;
}

body.show-projects .video-player {
  position: absolute;
  opacity: 0;
  transform: translateY(300%);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.show-projects .logo-image-wrapper {
  display: block;
  opacity: 1;
  /* filter: grayscale(1); */
  transition: all 0.7s ease;
}

/* برای دستگاه‌های موبایل */
@media screen and (max-width: 768px) {
  body.show-projects .logo-image-wrapper {
    left: 50%;
    transform: translateX(-50%);
  }
  .logo-image-wrapper {
    transform: translate(-50%, 0);
  }
}

/* برای دستگاه‌های دسکتاپ */
@media screen and (min-width: 769px) {
  body.show-projects .logo-image-wrapper {
    left: 0;
    transform: none;
  }
}

body.show-projects .enter_button {
  bottom: -50px;
  transition: bottom 0.7s ease;
}

body.show-projects .menu-items {
  top: 50%;
  /* transform: translateY(50%); */
  transition: all 0.7s ease;
}

body.show-projects .circles {
  top: 0;
  transition: top 0.7s ease;
}

body.show-projects .cards-wrapper {
  transform: translateY(0);
  transition: transform 1s ease;
}

body.show-projects .logo-3d {
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: translateY(-150%);
  opacity: 0;
}

.relative_projects {
  margin-top: 50px;
  position: relative;
}

.downloads_buttons_wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin: 20px 0;
}

.header-about {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
}

.header-about .primary-menu .menu-item-parent a {
  color: #fff;
}

.header-about .primary-menu .menu-item-parent a:hover {
  color: #fff;
}

.trusted_by_slider .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trusted_by_slider .swiper-slide img {
  filter: grayscale(1) brightness(1.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.trusted_by_slider .swiper-slide:hover img {
  filter: grayscale(0) brightness(1);
}

.trusted_by_slider .swiper-wrapper {
  align-items: center;
}

.primary-mobile-menu .menu-item-parent {
  width: auto;
}

@media screen and (max-width: 768px) {
  .trusted_by_slider img {
    max-height: 50px;
  }

  .trusted_by_slider .swiper-wrapper {
    padding: 10px 0;
  }

  .counters-wrapper .bg-noise {
    display: none;
  }

  .first-section {
    height: 530px;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .first-section h2 {
    font-size: 22px;
  }

  .first-section p {
    font-size: 12px;
    line-height: 170%;
  }

  /* .menu_open_button svg path {
    stroke: #fff;
  } */

  .downloads_buttons_wrapper {
    flex-wrap: wrap;
    margin-top: 22px;
  }
}

.counters-wrapper {
  margin-top: 140px;
  position: relative;
}

.counters-wrapper .bg-noise {
  position: absolute;
  left: 0;
  bottom: -20%;
  z-index: 1;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  position: relative;
  z-index: 3;
  background-color: #f7f7f7;
  padding: 18px 74px;
}

.counter-item {
  text-align: center;
}

.counter-item span {
  color: #448077;
  font-size: 42px;
}

.counter-item p {
  color: #8e8484;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 12px;
    gap: 50px;
  }

  .counter-item span {
    font-size: 26px;
  }

  .counter-item p {
    font-size: 12px;
  }

  .counters-wrapper {
    margin-top: 36px;
  }

  .awards {
    min-height: calc(100dvh - 278px);
  }
}

.awards .not-found {
  text-align: center;
  margin: auto;
  color: #5a5a5a;
  font-size: 32px;
  line-height: 48px;
}

.project-info-wrapper::after {
  position: absolute;
  content: "";
}

.project-info-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  max-width: 760px;
  width: 100%;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  padding: 46px 36px;
}

.project-info-wrapper.active {
  transform: translateX(0);
}

.project-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 150%;
  text-transform: capitalize;
  color: #5a5a5a;
  margin-top: 60px;
  text-align: start;
}

.project-content {
  color: #999999;
  font-weight: 400;
  font-size: 20px;
  line-height: 170%;
  text-align: justify;
  text-transform: capitalize;
  margin-top: 12px;
}

.project-info-slider-wrapper img {
  max-width: 100%;
}

.project-info-slider-wrapper {
  opacity: 0;
  position: absolute;
  left: 100%;
  top: 60%;
  z-index: 9;
  width: 100%;
  transform: translateY(-50%);
  max-width: 1240px;
  padding: 0 20px;
  height: calc(100% - 260px);
}

.project-info-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 16px;
}

.categories-list {
  display: flex;
  align-items: center;
  justify-content: start;
  /* position: absolute;
  left: 25px;
  bottom: 0; */
  width: 100%;
  gap: 22px;
  flex-wrap: wrap;
}

.categories-list p {
  font-size: 20px;
  letter-spacing: 5%;
  text-align: right;
  text-transform: capitalize;
  color: #2c2b2c;
  cursor: pointer;
}

.category-item {
  letter-spacing: 5%;
  font-size: 18px;
  color: #949494;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-item.active {
  color: #448077;
}

.btn-project-details,
.btn-project-album {
  border: 1px solid #0000002b;
  color: #2c2b2c;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 32px;
  font-size: 18px;
  cursor: pointer;
}

.btn-project-album span,
.btn-project-details span {
  font-family: "Condens";
  letter-spacing: 1px;
}

.project-info-footer .arrow-icon {
  transform: rotate(180deg);
}

.dots-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.dots-menu div {
  width: 6px;
  height: 6px;
  background: #2c2b2c;
  border-radius: 100%;
  transition: all 0.3s ease-in-out;
}

.dots-menu.about div {
  background-color: white;
}

.dots-menu:hover div:nth-child(2) {
  transform: translateX(10px);
}

.header-info {
  position: fixed;
  inset: 0;
  min-height: 100dvh;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  backdrop-filter: blur(2px);
  background-color: #3636364f;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  overflow-x: hidden;
}

.header-info.active {
  opacity: 1;
  visibility: visible;
}

.info-content {
  position: fixed;
  right: 0;
  top: 0;
  /* height: 100%; */
  min-height: 100dvh;
  max-width: 520px;
  width: 100%;
  background-color: #fff;
  padding: 24px 40px 50px 40px;
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
  transition: all 0.5s ease;
}

.header-info.active .info-content {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.info-head {
  display: flex;
  align-content: inherit;
  justify-content: space-between;
}

.lang-change {
  width: max-content;
}

.lang-change {
  color: #949494;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.lang-change :is(path, span) {
  transition: all 0.3s ease;
}

.lang-change:hover span {
  color: #448077;
}

.lang-change:hover path {
  stroke: #448077;
}

.info-content .info-title {
  margin-top: 50px;
  font-size: 22px;
  line-height: 170%;
  color: #34312e;
}

.info-content .info-desc {
  margin-top: 14px;
  color: #34312e;
  font-size: 18px;
  text-align: justify;
  line-height: 150%;
}

.contact-wrapper {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: start;
  justify-content: center;
}

.contact-wrapper .contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.close-btn:after {
  content: "";
  width: 2px;
  height: 20px;
  background-color: #212121;
  transform: rotate(45deg);
  display: block;
  position: absolute;
  transition: all 0.3s ease;
}

.close-btn {
  position: relative;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.close-btn:hover::before,
.close-btn:hover::after {
  background-color: #448077;
}

.close-btn::before {
  transition: all 0.3s ease;
  content: "";
  width: 2px;
  height: 20px;
  background-color: #212121;
  transform: rotate(-45deg);
  display: block;
  position: absolute;
}

.header-info .social-networks {
  display: flex !important;
}

.second-loading .dots-menu {
  position: absolute;
  right: 0;
  top: -100px;
  transform: translateY(33%);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .second-loading .dots-menu {
    transform: none;
    right: 20px;
  }
}

.capitalize-title {
  text-transform: uppercase !important;
}

.not-found-page::before {
  content: none;
}

.not-found-page {
  min-height: 100%;
  background-image: url("../images/not-found-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding-bottom: 100px;
}

.not-found-page header {
  padding-top: 55px;
}

.not-found-content {
  margin-top: 160px;
}

.not-found-content h3 {
  font-size: 45px;
  color: #fff;
  line-height: 170%;
}

.not-found-content h4 {
  font-size: 32px;
  color: #fff;
  line-height: 170%;
}

.not-found-content p {
  font-size: 26px;
  color: #fff;
  line-height: 170%;
}

.not-found-content a {
  display: block;
  max-width: 330px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  margin-top: 120px;
}

.not-found-content a:hover {
  border: 1px solid #fff;
}

.modal {
  background-color: #3636364f;
  backdrop-filter: blur(4px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #448077;
  padding: 30px;
  max-width: 375px;
  width: 100%;
  position: relative;
}

.btn-close-model {
  position: absolute;
  left: 10px;
  top: 10px;
  cursor: pointer;
}

.alert-error {
  background-color: rgb(255, 122, 122);
  color: #000;
  padding: 16px 10px;
  border-radius: 8px;
  margin: 10px 0;
  text-align: start;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.alert-error.active {
  opacity: 1;
  visibility: visible;
  height: 60px;
}
.swiper-pagination-progressbar {
  top: unset !important;
  bottom: 0;
}

.award-item:hover :is(.years-text, .item-desc, .item-title) {
  color: #448077;
}

.project-album-modal {
  position: fixed;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.album-content {
  max-width: 1240px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  height: 70%;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  background-color: #fff;
}

.album-content img {
  max-width: 250px;
  transition: all 0.3s ease;
  filter: grayscale(1);
}

.album-content img:hover {
  cursor: pointer;
  transform: scale(1.1);
  filter: grayscale(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  overflow: hidden;
  touch-action: none;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.3s ease;
  user-select: none;
  pointer-events: none;
}

.controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 1001;
}

.controls button {
  background: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
}

.swiper-scrollbar {
  left: 0 !important;
}

.category-swiper {
  margin-left: 0 !important;
}

#model-container {
    position: fixed;
    bottom: 10%;
        left: 2%;
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    width: 100%;
    height: 100%;
    /* bottom: 0; */
    z-index: 1;
}

.text-section p {
  font-size: 16px;
  line-height: 170%;
  color: #999999;
}

.text-section h3 {
  font-size: 22px;
  color: #5a5a5a;
}

.text-section {
  position: fixed;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  width: 100%;
  max-width: 350px;
  z-index: 2;
}

#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #333;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
}

/*#text1 {*/
/*  opacity: 1;*/
/*  left: 20%;*/
/*  top: 20%;*/
/*  transform: none;*/
/*}*/

/*#text2 {*/
/*  opacity: 1;*/
/*  left: 20%;*/
/*  top: 60%;*/
/*  transform: none;*/
/*}*/

@media only screen and (max-width: 768px) {
    #model-container {
    position: fixed;
    bottom: 10%;
    /* left: 2%; */
    left: 40%;
    /* transform: translate(-50%, -50%); */
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 1;
}
.text-section {
    position: fixed;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    width: 100%;
    max-width: 350px;
    z-index: 2;
}
}
