@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1600px;
  }
}

#Body,
body,
.Head,
.SubTitle,
.SubSubTitle,
.Normal {
  color: #525252;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

:root {
  --primary-color: #003399;
  --secondary-color: #fa0201;
  --white-color: #ffff;
  --bgwhite-text: #555;
  --fs-title: clamp(1.625rem, 1.4rem + 1.125vw, 2.75rem);
  --fs-subtitle: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  --fs-body: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  --fs-hero-title: clamp(34px, 4.2vw, 72px);
  --fs-hero-subtitle: clamp(14px, 1.2vw, 18px);
  --transition: all 0.25s ease-in;
}

* {
  direction: rtl;
  box-sizing: border-box;
}
.dng-main {
  background-color: unset;
}
a {
  text-decoration: none;
}
a:hover {
  color: unset;
}
p {
  line-height: 32px;
  font-size: 14px;
  line-height: 30px;
  color: #555;
}
.floating-nav-sticky {
  height: 12vh;
  transition: 0.4s;
}
.header-wrap {
  position: fixed;
  z-index: 100;
  width: 100%;
}

.header-wrap .logo img {
  max-height: 100% !important;
  margin-bottom: 0 !important;
}

.page-title.small .main-title {
  color: #fff !important;
}

.floating-header-logo {
  max-width: 80% !important;
}

.mobile-header .logo {
  text-align: right !important;
}

.search-popup-box .icon {
  background-color: transparent !important;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-actions__link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.top-actions__link:hover {
  font-weight: 500;
}

.top-actions__btn {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;

  padding: 10px 16px;
  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

#headerrow-658304 .area-right {
  padding-left: 28px;
  padding-top: 22px;
}

#headerrow-893713 .header-container-box {
  position: relative;
}

#headerrow-893713 .header-container-box::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 20px;
  width: 104%;
  height: 0.8px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.4) 80%,
    rgba(255, 255, 255, 0) 80%
  );
}

#headerrow-893713 .area-left {
  position: relative;
  top: -11px !important;
}

.floating-active #headerrow-893713 .area-left {
  top: 0 !important;
}

.floating-active #headerrow-893713 .header-container-box::before {
  display: none;
}

.floating-active #headerrow-893713 .area-right {
  margin-top: 0px;
  border-top: 0px;
}

header .container {
  max-width: 1600px !important;
}

.top-actions__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.logo-container {
  width: 264px;
}
.logo-container img {
  width: 280px;
  margin-top: -8px;
  transition: 0.4s;
}
.icon-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-container a {
  font-size: 14px;
  color: #fff;
  transition: 0.5s;
}
.icon-container img {
  width: 32px;
  margin-top: -5px;
}
.icon-container a i {
  color: #939393;
  font-size: 16px;
}
.language span {
  /* color: #939393; */
  font-size: 17px;
}
.service-sec,
.service-sec2 {
  padding: 95px 0;
  background-color: #fff;
}

.slider-sec {
  background-image:
    linear-gradient(0deg, #6f6c6c61, #79757569), url(../img/slider-img.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 112vh;
  overflow: hidden;
  position: relative;
  margin-top: -12vh;
}
.banner-context {
  width: 37%;
  margin-top: 26%;
  background-color: rgb(218 218 218 / 87%);
  padding: 42px;
  backdrop-filter: blur(2px);
}
.banner-context h1 {
  color: var(--secondary-color);
  font-size: 28px;
  font-weight: 700;
  padding-bottom: 15px;
}
.banner-context p {
  font-weight: 600;
  text-align: justify;
}
.slider-links .service-btn:first-child {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
.slider-links .service-btn:first-child span {
  color: #f4f4f4;
}
.service-btn {
  margin-left: 10px;
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  transition: 0.4s;
  padding: 4px 20px;
}
.service-btn span {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 14px;
}
.service-btn:hover {
  background-color: var(--secondary-color);
  color: #f4f4f4;
  transition: 0.4s;
}
.service-context p,
.service-context2 p {
  font-size: 16px;
  line-height: 34px;
  text-align: center;
}

.unit-slider {
  padding-bottom: 50px;
  background-color: #fff;
  overflow: hidden;
  position: relative;
}
.unit-slider .swiper {
  width: 100%;
  height: 60vh;
}
.unit-slider .swiper-slide {
  display: flex;
  justify-content: center;
  height: 450px;
  align-items: center;
  font-size: 20px;
  background: #ddd;
  position: relative;
  overflow: hidden;
}
.fnished-units-slider .portfolio-content h3 {
  text-align: center !important;
}
.fnished-units-slider .portfolio-content h3 {
  font-size: 21px;
}
.fnished-units-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.1) contrast(0.8);
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  -webkit-transition-delay: 0;
  transition-delay: 0;
}
.unit-slider .swiper-slide:hover img {
  transform: translateZ(1px) scale(1.1);
}
.portfolio-content {
  width: 100%;
  background: #113628d1;
  bottom: 0px;
  right: 0;
  padding: 25px;
  content: '';
  position: absolute;
  z-index: 1;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(1.3px);
}
.portfolio-content h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 7px;
  text-align: start;
  padding: 6px 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-height: 39px;
  -webkit-box-orient: vertical;
}
.portfolio-cat span {
  font-weight: 500;
  font-size: 11px;
  color: var(--secondary-color);
}
.portfolio-cat {
  color: #fff;
  font-size: 17px;
}
a.read-more-port {
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e7bd5d;
  justify-content: flex-end;
  left: 20px;
  position: relative;
}
section.boxes-sec {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.context-box {
  width: 100%;
  height: 138px;
  background: #113628d1;
  bottom: 0px;
  right: 0;
  padding-inline-start: 52px;
  padding-inline-end: 52px;
  padding-top: 28px;
  content: '';
  position: absolute;
  z-index: 1;
  backdrop-filter: blur(1.3px);
}
.pAndbtn {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pAndbtn p {
  color: #fff;
  font-weight: 300;
}
.context-box a.read-more-port {
  padding-top: 5px;
  margin-left: 38px;
}
.context-box h3 {
  font-weight: 700;
  font-size: 22px;
  color: #ffffff;
}
.box-full_context {
  background-color: var(--secondary-color);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 9% 22%;
  height: 50vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.box-full_context .more-btn {
  margin-top: 30px;
}
.box-full_context h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  word-wrap: break-word;
  text-align: start;
  padding-bottom: 20px;
  display: inline-block;
}
.box-full_context p {
  padding-bottom: 0px;
  text-align: justify;
  color: #ebebeb;
}
.box-full_context2 {
  background-color: var(--secondary-color);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 9% 22%;
  height: 50vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.box-full_context2 .more-btn {
  margin-top: 30px;
}
.box-full_context2 h3 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  word-wrap: break-word;
  text-align: start;
  padding-bottom: 20px;
  display: inline-block;
}
.box-full_context2 p {
  padding-bottom: 20px;
  text-align: justify;
  color: #ebebeb;
}
.box-image_container {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}
.box-image_container .more-btn {
  justify-self: end;
  border: none;
}
.box-image_container .more-btn span {
  color: var(--secondary-color);
}

.boxes-sec .col-12 {
  padding: 0 !important;
}
.box-image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.8);
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}
.boxes-sec .box-image_container:hover img {
  transform: translateZ(1px) scale(1.1);
}

.more-btn span.word {
  display: inline-block;
  transform: translateY(0);
}

/* On hover, animate each word */
.more-btn:hover span.word {
  animation: slideIn 0.7s ease forwards; /* Trigger the animation */
}
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
/* Stagger the animation for each word */
.more-btn span.word:nth-child(1) {
  transition-delay: 0.1s;
}
.more-btn span.word:nth-child(2) {
  transition-delay: 0.2s;
}
.more-btn span.word:nth-child(3) {
  transition-delay: 0.3s;
}
.more-btn span.word:nth-child(4) {
  transition-delay: 0.4s;
}

/* Icon transition */
.more-btn i {
  margin-left: 0px; /* Space between text and icon */
  transition: transform 0.4s ease;
  margin-inline-start: 7px;
}

.more-btn:hover i {
  transform: translateX(-5px); /* Subtle movement of the icon */
}
.more-btn span {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: #e4e4e4;
}
.each-box_number {
  background: #113628cc;
  width: 78%;
  justify-self: center;
  text-align: center;
  padding: 76px 30px;
  backdrop-filter: blur(1.3px);
}
.each-box_number span {
  font-size: 70px;
  font-weight: 700;
  color: #eeeeee;
}
.each-box_number p {
  margin-top: 0px;
  color: #eeeeee;
  font-size: 18px;
}

.banner-video {
  position: fixed;
  z-index: -1;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.slider-slogen {
  position: relative;
  z-index: 99;
  font-size: 32px;
  background-color: #113628d1;
  width: 100%;
  /* height: 9vh; */
  margin-top: -9vh;
  backdrop-filter: blur(1.3px);
  padding: 10px 0px;
}

.animated-text {
  display: inline-block;
}

/* Style for each letter */
.animated-text span {
  display: inline-block;
  opacity: 0; /* Start invisible */
  transform: translateY(20px); /* Start slightly below */
  animation: fadeInUp 0.3s ease forwards; /* Animation for appearance */
  animation-delay: calc(0.1s * var(--i)); /* Delay based on --i */
}

/* Keyframes for the animation */
@keyframes fadeInUp {
  to {
    opacity: 1; /* Fade in */
    transform: translateY(0px); /* Move to original position */
  }
}

.slider-slogen_context {
  position: relative;
  color: #fff;
  font-size: 46px;
  height: 100%;
  font-weight: 200;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.slider-slogen_context p {
  margin-bottom: 0;
  padding: 10px 0;
}

.unit-slider .swiper-pagination-bullet-active {
  background-color: #e7bc5b !important;
}
.service-context h2,
.service-context h1,
.service-context2 h2 {
  font-size: 26px;
  line-height: 45px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.service-context2 p {
  font-size: 16px;
}
.strength-sec {
  padding: 183px 0;
  background-image:
    linear-gradient(0deg, #6f6c6c61, #79757569), url(../img/counter-back.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-content p {
  margin-bottom: 1.5em;
  max-height: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 24px;
  color: #e1e1e1;
  opacity: 0;

  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.7s;
  transition-duration: 0.7s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  -webkit-transition-delay: 0;
  transition-delay: 0;
}

/* ========================= Footer ========================= */
footer {
  background: linear-gradient(180deg, #003399 0%, #002e8a 45%, #001f5c 100%);
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  direction: rtl;
  margin-top: 60px;
}

footer .dngTextBox {
  text-align: center;
}
footer .dng-column {
  align-items: center !important;
}
footer ul {
  padding-top: 45px;
  padding-left: 0;
}
footer ul li {
  color: var(--WhiteColor);
  padding-bottom: 10px;
}

footer div#row-825960 {
  padding-block: 100px;
}

.footer-copyright {
  padding-block: 12px;
  border-top: 2px solid #ffffff3a;
}

.copy-right-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.copy-right-wrapper img {
  width: 26px;
  cursor: pointer;
}

.footer-copyright p {
  margin-bottom: 0 !important;
}

.footer-copyright a:hover {
  color: var(--secondary-color) !important;
}

.footer-copyright p {
  font-size: 13px;
}

footer ul li a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  transition: all 0.25s ease-in;
}

footer a {
  font-size: 13px;
  color: rgb(227 227 227) !important;
}

footer a img {
  width: 14px;
  opacity: 0.8;
}

footer .FooterPaneH a img {
  width: 22px;
  opacity: 0.8;
}

footer .FooterPaneH a {
  transition: var(--transition);
}

.FooterPaneE ul {
  padding-top: 20px !important;
}

footer .FooterPaneH a:hover {
  transition: var(--transition);
  color: var(--secondary-color) !important;
}

footer p {
  color: var(--white-color) !important;
}

footer li::marker {
  display: none;
}

footer li {
  list-style: none;
}

footer p {
  font-size: 12px !important;
}

footer img {
  border-radius: 0px !important;
  width: 100px;
}

.footer-text {
  text-align: justify;
  font-size: 12px;
}

.footer h4 {
  color: #fff !important;
  font-size: 21px;
  padding-right: 16px;
}

section.contact-us .col-12 {
  padding: 0;
}

.contact-us-details {
  background-color: #f4f4f4;
}

.contact-us-details li {
  color: #5d5d5d;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 8px;
}

.contact-us-map {
  height: 100%;
}
section.contact-us {
  /* margin-bottom: 25px; */
  overflow: hidden;
}

.contact-us-details .footer-items {
  padding: 9% 33% 9% 0;
}
.contact-us-details h4 {
  color: var(--secondary-color);
  font-size: 22px;
  font-weight: 600;
  line-height: 35px;
}

.contact-us-details li span {
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
}
.mega-menu-icon {
  background-image: url(../img/hambergur.png);
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
  width: 32px;
  height: 32px;
  opacity: 0.5;
}
.dropdown-toggle::after {
  display: none !important;
}
.menu-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
header.header_bg.header-wrap.header-default.floating-nav.floating-nav-sticky.floating-active {
  height: 10vh;
  transition: 0.4s;
}

.dng-megamenu .dnngo_slide_menu {
  min-width: 140px !important;
  padding-inline: 10px !important;
}

.dng-megamenu .dnngo_menuslide {
  backdrop-filter: blur(20px) !important;
  width: fit-content;
}

.dng-megamenu .dnngo_slide_menu li a > span {
  color: var(--white-color) !important;
}

#dng-megamenu219470.dng-megamenu .dnngo_slide_menu > li > a > span::after {
  background-color: var(--white-color) !important;
}

.floating-active #dng-megamenu219470 .dnngo_slide_menu li a > span {
  color: var(--primary-color) !important;
}
#dng-megamenu219470 .dnngo_slide_menu {
  background-color: transparent !important;
}

.floating-active #dng-megamenu219470 .dnngo_slide_menu {
  background-color: var(--white-color) !important;
}
.floating-active
  #dng-megamenu219470.dng-megamenu
  .dnngo_slide_menu
  > li
  > a
  > span::after {
  background-color: var(--primary-color) !important;
}

.sticky-fixed
  .floating-nav.floating-nav-sticky.floating-active
  .logo-container
  img {
  transform: scale(0.8);
  transition: 0.4s;
}
div#navbarNav {
  padding-bottom: 8px;
}
.nav-link.dropdown-toggle.show .mega-menu-icon {
  background-image: url('../img/close.png');
  background-size: 35px;
  width: 32px;
  height: 32px;
  position: relative;
  top: 0px;
  /* right: 10px; */
}
/* .dropdown-menu.w-100.show {
  border-radius: unset !important;
  transform: translateY(105px) !important;
  position: absolute !important;
  animation-name: megaMenuAnimation !important;
  animation-duration: 0.8s;
  visibility: visible;
  opacity: 1;
  background-color: #113628db;
  border: unset !important;
  transition: opacity 0.5s ease, transform 0.7s ease, visibility 0.7s ease;
} */
/* .dropdown-menu {
  opacity: 0;
  inset: 0px auto auto 0px;
  display: block;
  visibility: hidden;
  transform: translateY(90px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
} */

.dropdown-menu {
  display: none;
  overflow: hidden;
  height: 0;
  transform: translateY(109px) !important;
  inset: 0px auto auto 0px;
  transition: height 0.5s ease-in-out;
}
.dropdown-menu ul {
  margin-inline-start: 0 !important;
}
.dropdown-menu.show {
  display: block;
  height: auto;
  z-index: 999;
  background-color: #113628db;
  border: unset !important;
  border-radius: unset !important;
}

.navbar-nav .dropdown-menu {
  position: absolute;
}
.dropdown-menu h6 {
  text-align: start;
  border-bottom: 2px solid #e3e3e3;
  padding-bottom: 12px;
  color: var(--secondary-color);
  font-size: 15px;
  width: 90%;
  font-weight: 600;
}
.list-unstyled {
  padding: 0 !important;
}
.dropdown-menu li {
  padding-bottom: 17px;
  color: #e7bd5d;
  list-style-type: disc;
  font-size: 14px;
  text-align: start;
  right: 17px;
  position: relative;
}
.dropdown-menu li a {
  color: #fff !important;
  transition: 0.3s;
}
.dropdown-menu li a:hover {
  color: var(--secondary-color) !important;
  transition: 0.3s;
}
.dropdown-item {
  font-size: 14px;
  padding-inline-start: 5px;
  position: relative;
  color: #676767;
  font-weight: 500;
}
@media (max-width: 768px) {
  .navbar.navbar-light.navbar-expand-md {
    display: none;
  }
  .contact-us-details .footer-items {
    padding: 9% 8% 9% 8%;
  }
  .contact-us-map {
    height: 300px;
  }

  .product {
    background-position: 21% !important;
  }
}

.slider-slogen_context h2 {
  font-size: 25px;
  direction: rtl;
  /* font-weight: 300; */
}

.col-lg-2.header-left-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
li.nav-item.dropdown.position-static {
  margin-top: 14px;
}

.service-context {
  margin: auto;
  width: 64%;
}

.logo-footer img {
  width: 100px;
  margin-bottom: 20px;
}

.service-us-footer P {
  color: #cfcfcf;
  padding-left: 50px;
  text-align: justify;
}

.header-sec .nav-link:hover {
  color: var(--secondary-color);
}

.dropdown-item:focus,
.dropdown-item:hover {
  background: none;
}
a.dropdown-item:hover {
  color: var(--secondary-color);
}

.icon-container a:first-child i {
  border-inline-start: none;
  padding-left: 12px;
}

.icon-container a i {
  border-inline-start: 1px solid #aeaeae;
  padding-inline-start: 15px;
}

.icon-container a:hover {
  color: var(--secondary-color);
  transition: 0.5s;
}

.slider-slogen_context .animated-text > span.letter-rcm {
  font-size: 40px;
  font-weight: 500;
  color: #b6913d;
  font-weight: 600;
  margin-left: 12px;
}

.slider-slogen_context .animated-text > span {
  font-weight: 500;
  margin-top: 11px;
  font-size: 32px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.en-text {
  font-size: 95px !important;
  font-weight: 100 !important;
  color: #0000000d !important;
  margin-bottom: -60px !important;
  text-transform: uppercase;
}

h5.number-title {
  color: #eeeeee;
  font-size: 15px;
  margin-bottom: 0px;
}

.each-box_number h6 {
  font-size: 20px;
  color: #eeeeee;
  font-weight: 600;
  margin-top: -10px;
}
.site-header__menu-btn {
  cursor: pointer;
  display: inline-block;
  height: 19px;
  overflow: hidden;
  pointer-events: all;
  position: relative;
  width: 40px;
}
.site-header__menu-btn span {
  height: 2px;
  left: 0;
  width: 22px;
  overflow: hidden;
  position: absolute;
}
.nav-link.dropdown-toggle.show .site-header__menu-btn span:first-of-type,
.nav-link.dropdown-toggle.show .site-header__menu-btn span:nth-of-type(2),
.nav-link.dropdown-toggle.show .site-header__menu-btn span:nth-of-type(3) {
  display: none;
}
.site-header__menu-btn span:first-of-type {
  top: 2px;
  width: 41px;
}
.site-header__menu-btn span:nth-of-type(2) {
  top: 8px;
  width: 41px;
}
.site-header__menu-btn span:nth-of-type(3) {
  top: 14px;
  width: 41px;
}
.home .site-header[data-anim='true'] .site-header__menu-btn span:first-of-type,
.home .site-header[data-anim='true'] .site-header__menu-btn span:nth-of-type(2),
.home
  .site-header[data-anim='true']
  .site-header__menu-btn
  span:nth-of-type(3) {
  transform: translateX(0);
  transition: transform 0.75s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
.home .site-header[data-anim='true'] .site-header__menu-btn span:first-of-type {
  transition-delay: 0.8s;
}
.site-header__menu-btn span:first-of-type:before {
  transition-delay: 0.3s;
}
.site-header__menu-btn span:first-of-type:before,
.site-header__menu-btn span:nth-of-type(2):before,
.site-header__menu-btn span:nth-of-type(3):before {
  transform: translateX(0) translateY(0);
  transition: transform 0.3s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
.home .site-header__menu-btn span:before,
.site-menu .site-header__menu-btn span:before {
  background-color: #fff;
}
.site-header__menu-btn span:before {
  background-color: #1e7051;
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.site-header__menu-btn span:after {
  background-color: var(--secondary-color);
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.site-header__menu-btn span:first-of-type:after,
.site-header__menu-btn span:nth-of-type(2):after,
.site-header__menu-btn span:nth-of-type(3):after {
  transform: translateX(101%);
  transition: transform 0.3s cubic-bezier(0.65, 0.025, 0.67, 0.36);
}
.site-header__menu-btn span:first-of-type:after {
  transition-delay: 0.2s;
}
.site-header__menu-btn:hover span:first-of-type:after,
.site-header__menu-btn:hover span:nth-of-type(2):after,
.site-header__menu-btn:hover span:nth-of-type(3):after {
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}

.site-header__menu-btn span:nth-of-type(4) {
  transform: rotate(-45deg);
}
.site-header__menu-btn span:nth-of-type(5) {
  transform: rotate(45deg);
}
.site-header__menu-btn span:nth-of-type(4),
.site-header__menu-btn span:nth-of-type(5) {
  opacity: 0;
  top: 10px;
}
.nav-link.dropdown-toggle.show .site-header__menu-btn span:nth-of-type(4),
.nav-link.dropdown-toggle.show .site-header__menu-btn span:nth-of-type(5),
.nav-link.dropdown-toggle.show .site-header__menu-btn span:nth-of-type(4),
.nav-link.dropdown-toggle.show .site-header__menu-btn span:nth-of-type(5) {
  opacity: 1;
}
.nav-link.dropdown-toggle.show
  .site-header__menu-btn
  span:nth-of-type(4):before,
.nav-link.dropdown-toggle.show
  .site-header__menu-btn
  span:nth-of-type(5):before,
.nav-link.dropdown-toggle.show
  .site-header__menu-btn
  span:nth-of-type(4):before,
.nav-link.dropdown-toggle.show
  .site-header__menu-btn
  span:nth-of-type(5):before {
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
.site-header__menu-btn span:nth-of-type(4):after,
.site-header__menu-btn span:nth-of-type(4):before,
.site-header__menu-btn span:nth-of-type(5):after,
.site-header__menu-btn span:nth-of-type(5):before {
  transform: translateX(101%);
  transition: transform 0.4s cubic-bezier(0.65, 0.025, 0.67, 0.36);
}
.site-header__menu-btn:hover span:nth-of-type(4):after,
.site-header__menu-btn:hover span:nth-of-type(5):after {
  transform: translateX(0);
  transition: transform 1s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
.nav-link.dropdown-toggle.show
  .site-header__menu-btn
  span:nth-of-type(4):before,
.nav-link.dropdown-toggle.show
  .site-header__menu-btn
  span:nth-of-type(4):before {
  transition-delay: 0.5s;
}

.icon-container .header-sec .nav-link {
  margin: 0 !important;
}
.fnished-units-slider .portfolio-content {
  opacity: 0;
  transform: translateY(50px); /* You can adjust the distance */
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* When the content comes into view */
.fnished-units-slider .portfolio-content.visible {
  opacity: 1;
  transform: translateY(0); /* Reset to normal position */
}
@media (max-width: 425px) {
  .en-text {
    font-size: 49px !important;
    margin-bottom: -96px !important;
  }
  .service-context,
  .service-context2 {
    width: 80%;
    margin: auto;
  }
  .service-context p,
  .service-context2 p {
    text-align: justify;
  }
  .service-context h2,
  .service-context h1,
  .service-context2 h2 {
    font-size: 24px;
  }
  .box-full_context2,
  .box-full_context {
    height: auto;
  }
  .box-image_container {
    height: 500px;
  }
  section.boxes-sec {
    height: auto;
  }
  .pAndbtn {
    flex-wrap: wrap;
  }
  .context-box h3 {
    font-size: 18px;
  }
  .context-box {
    height: auto;
  }
  .each-box_number {
    margin-bottom: 20px;
  }
  .slider-slogen_context .animated-text > span.letter-rcm {
    font-size: 32px;
  }
  .slider-slogen_context .animated-text > span {
    font-size: 23px;
  }
  .slider-slogen_context h2 {
    line-height: 27px;
  }
}

div#navcol-1 {
  margin-top: 13px;
}
.LiveForm.Default input[type='submit'],
.LiveForm.Default input[type='button'] {
  background-color: transparent !important;
  border: 1px solid var(--secondary-color) !important;
  display: inline-block !important;
  width: 208px !important;
  padding: 18px 0 !important;
  display: flex !important;
  justify-content: center !important;
  transition: 0.5s !important;
  color: var(--secondary-color) !important;
  border-radius: 0 !important;
  margin: 0 auto;
}
.page-title-row-left .center-v {
  justify-content: center !important;
}
.title-service {
  font-size: 26px;
  line-height: 45px;
  font-weight: 700;
  text-align: center;
  color: var(--secondary-color);
}
.heading-topics {
  font-size: 22px;
  line-height: 45px;
  font-weight: 700;
  padding-inline-start: 22px;
  color: var(--secondary-color);
  position: relative;
}
.heading-topics i {
  position: absolute;
  color: var(--secondary-color);
  font-size: 23px;
  top: 10px;
  right: 0px;
}
.page-breadcrumbs {
  backdrop-filter: blur(1px);
  margin-bottom: 0 !important;
}
.page-title .main-title {
  padding-top: 5%;
}
.page-loaders {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #fff;
  margin: 0;
}

.preloader-container {
  position: relative;
  overflow: hidden;
  width: 400px; /* Adjust size as needed */
  height: 200px; /* Adjust size as needed */
}
.foreverlogo-container {
  width: 400px;
  height: 200px;
}

.shine-effect {
  position: absolute;
  top: 0;
  left: -150%;
  width: 90%;
  height: 80%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: skewX(-25deg);
  animation: shine 1.5s infinite;
  z-index: 2;
}

@keyframes shine {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}
.page-title.small .main-title {
  font-family: 'Modam-bold';
  padding-top: 7% !important;
}

.page-breadcrumbs .breadcrumbs {
  color: var(--white-color) !important;
}

.page-breadcrumbs .breadcrumbs a,
.page-breadcrumbs .breadcrumbs a:link,
.page-breadcrumbs .breadcrumbs a:active,
.page-breadcrumbs .breadcrumbs a:visited {
  color: var(--white-color) !important;
}
.leaflet-container a {
  color: #113728 !important;
  direction: rtl;
  display: inline-block;
  text-align: start;
  font-size: 10px;
  font-weight: 600;
  font-family: 'iransans';
}

.LiveForm.Default input[type='submit']:hover {
  background-color: var(--secondary-color) !important;
  color: #fff !important;
  transition: 0.3s;
}

.floating-active #headerrow-893713 {
  background: var(--primary-color) !important;
}

.floating-active .logo a {
  margin-top: 0px !important;
}

header.header_bg.header-wrap.header-default.floating-nav.floating-nav-sticky.floating-active
  #headerrow-893713
  .header-container-box {
  height: 71px;
}
header.header_bg.header-wrap.header-default.floating-nav.floating-nav-sticky.floating-active {
  height: 7vh;
}
header.header_bg.header-wrap.header-default.floating-nav.floating-nav-sticky.floating-active
  .dropdown-menu {
  transform: translateY(70px) !important;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__content .more-btn {
  background-color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}

.hero__content .more-btn:hover {
  color: var(--white-color) !important;
  background: transparent;
}

/* Video */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  z-index: -2;
}

/* Blue Overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #00339998;
  mix-blend-mode: normal;
}

/* Content */
.hero__content {
  text-align: center;
  color: #ffffff;
  max-width: 980px;
  padding: 0 24px;
  transform: translateY(10px);
}

.hero__title {
  margin: 0 0 40px;
  font-family: 'Modam-bold';
  font-size: var(--fs-hero-title);
  line-height: 1.05;
  letter-spacing: 0.04em;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

.hero__subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: var(--fs-hero-subtitle);
  line-height: 1.8;
  opacity: 0.92;
  color: #fff;
}

/* Optional: general typography utilities (برای جاهای دیگه سایت) */
.h-title {
  font-size: var(--fs-title);
}
.h-subtitle {
  font-size: var(--fs-subtitle);
}
.p-text {
  font-size: var(--fs-body);
}

/* Scroll Button */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  opacity: 0.9;
}

.hero__scroll::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.hero__chevWrap {
  display: inline-block;
  animation: heroBounce 1.7s ease-in-out infinite;
  will-change: transform;
}

.hero__chev {
  display: block;
  width: 10px;
  height: 10px;
  border-inline-start: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: rotate(45deg); /* ثابت */
  opacity: 0.95;
}

@keyframes heroBounce {
  0%,
  100% {
    transform: translateY(-3px);
    opacity: 0.85;
  }
  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

/* About Us */

.aboutus {
  direction: rtl;
  background: #fafafa;
  color: var(--bgwhite-text);
  padding: 130px 0;
  position: relative;
}

.aboutus .more-btn {
  background-color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}

.aboutus .more-btn:hover {
  color: var(--secondary-color) !important;
  background: transparent;
}

.aboutus::before {
  top: 0;
  left: 0;
  width: 856px;
  height: 1523px;
  background-image: url(/Portals/_default/Skins/glend/resource/theme-assests/img/home-left.svg);
  bottom: 0;
  content: '';
  position: absolute;
  background-position: 50%;
  background-repeat: no-repeat;
  transform: translateZ(-1px);
}

#aboutus {
  scroll-margin-top: 71px;
}

/* Wrap دیگه flex نیست */
.aboutus__wrap {
  margin: 0 auto;
  padding: clamp(16px, 2.4vw, 28px);
}

/* ستون‌ها */
.aboutus__left {
  margin-bottom: 20px;
}

.aboutus__title {
  font-size: var(--fs-title);
  line-height: 1.15;
  margin: 0 0 40px 0;
  color: var(--primary-color);
  font-family: 'Modam-bold';
}

.aboutus__content {
  margin-bottom: 20px;
}

.aboutus__lead {
  margin: 0px 0 14px 0;
  font-size: var(--fs-subtitle);
  line-height: 1.75;
  font-weight: 400;
  color: #999999;
  /* color: var(--bgwhite-text); */
  text-align: justify;
}

.aboutus__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
  color: #999999;
}

.about-counter__lead {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Counter */
.aboutus__counter {
  text-align: center;
}

.about-counter__lead {
  text-align: start;
}

.about-counter__desc {
  text-align: start;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 28px;
}

.about-counter__number {
  font-size: 26px;
  margin-top: 10px;
  font-weight: 700;
  text-align: start;
  color: #003399;
}

.aboutus .units__subtitle-line::after {
  display: none;
}

.aboutus .units__subtitle-line i {
  width: 30px;
  height: 2px;
}

.aboutus .more-btn {
  margin-top: 40px;
}

/* News */

.news-slider {
  padding: 130px 0;
  position: relative;
}

.news-slider::after {
  top: 15px;
  right: 0;
  width: 926px;
  height: 781px;
  background-image: url(/Portals/_default/Skins/glend/resource/theme-assests/img/home-right.svg);
  bottom: 0;
  content: '';
  position: absolute;
  background-position: 50%;
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateZ(-1px);
}

.news-slider__head {
  margin-bottom: clamp(14px, 1.5vw, 22px);
  text-align: right;
}

.news-slider__title {
  font-size: var(--fs-title);
  margin: 0 0 6px;
  color: var(--primary-color);
}

.news-slider__subtitle {
  margin: 0;
  font-size: var(--fs-subtitle);
  color: var(--bgwhite-text);
}

/* Swiper */
.news-swiper__instance {
  position: relative;
  padding: 10px 54px;
}

/* Card */
.news-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card__media img {
  width: 100%;
  height: clamp(170px, 16vw, 230px);
  object-fit: cover;
  transition: 0.35s;
}

.news-card:hover img {
  transform: scale(1.06);
}

.news-card__body {
  padding: 28px;
  text-align: start;
  display: grid;
  gap: 10px;
}

.news-card__body span {
  color: var(--secondary-color);
  font-size: 12px;
}

.news-card__title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--bgwhite-text);
  display: inline-flex;
  align-items: center;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 26px;
  line-height: 1.4 !important;
}

.news-card__title span {
  color: var(--primary-color);
}

.news-card__text {
  margin: 0;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 120px;
}

.news-card__btn {
  justify-self: start;
  padding: 10px 18px;
  background: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 700;
  transition: var(--transition);
}

.news-card__btn:hover {
  filter: brightness(0.95);
}

.news-swiper__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
}

.news-swiper {
  position: relative;
  overflow: visible;
}

.news-swiper .swiper {
  overflow: hidden;
}

/* دکمه‌ها */
.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
}

.news-slider .swiper-button-next {
  right: -45px;
  color: var(--bgwhite-text);
}

.news-slider .swiper-button-prev {
  left: -45px;
  color: var(--bgwhite-text);
}

.news-slider .swiper-button-next::after {
  font-size: 32px;
}

.news-slider .swiper-button-prev::after {
  font-size: 32px;
}

.news-slider .swiper-pagination {
  bottom: -40px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
}

.news-slider .swiper-pagination-bullet-active {
  width: 13px;
  height: 13px;
  background-color: var(--secondary-color);
}

/* pagination */
.news-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  z-index: 30;
  text-align: center;
}

/* Units */

.units {
  padding: 130px 0;
  position: relative;
  z-index: 2;
}

/* Header */
.units__head {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 88px;
  flex-wrap: wrap;
}

.units__title {
  font-size: var(--fs-title);
  font-family: 'Modam-bold';
  font-weight: 800;
  margin: 0;
  color: var(--primary-color);
}

/* Subtitle */
.units__subtitle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.units__subtitle {
  font-size: var(--fs-subtitle);
  color: #555;
  letter-spacing: 0.04em;
}

/* Line wrapper */
.units__subtitle-line {
  position: relative;
  display: block;
  width: 180px; /* طول کل خط */
  height: 2px;
  align-self: self-start;
}

/* Orange bold part (RIGHT - RTL) */
.units__subtitle-line i {
  position: absolute;
  right: 0; /* شروع از راست */
  top: 0px; /* وسط‌چین عمودی */
  width: 117px; /* طول نارنجی */
  height: 3px; /* ضخیم‌تر */
  background: var(--secondary-color);
  display: block;
}

/* Grey thin continuation */
.units__subtitle-line::after {
  content: '';
  position: absolute;
  right: 117px; /* از انتهای نارنجی شروع میشه */
  top: 1px;
  width: calc(100% - 70px);
  height: 1px;
  background: #15151530;
}

/* Card */
.unit-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
  height: 360px;
}

/* Image */
.unit-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* دقیقا مثل background-cover */
  position: absolute;
  top: 0;
  left: 0;
}

/* Overlay */
.unit-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgb(0 51 153 / 35%) 22%,
    rgb(0 51 153 / 35%) 32%,
    rgb(0 51 153 / 8%) 45%,
    rgb(0 51 153 / 8%) 58%,
    rgb(0 51 153 / 0%) 68%
  );
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

/* Content */
.unit-card__content {
  position: absolute;
  right: 24px;
  transition: var(--transition);
  bottom: 22px;
}

.unit-card__content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 400;
  color: var(--white-color);
  font-family: 'Modam-bold';
}

.unit-card__content p {
  font-size: 14px;
  font-weight: 400;
  margin-top: 16px;
  color: var(--white-color);
}

/* Line wrapper */
.unit-card__line {
  position: relative;
  display: block;
  width: 180px; /* طول کل خط */
  height: 2px;
}

/* Orange bold part (RIGHT - RTL) */
.unit-card__line i {
  position: absolute;
  right: 0; /* شروع از راست */
  top: 0px; /* وسط‌چین عمودی */
  width: 117px; /* طول نارنجی */
  height: 3px; /* ضخیم‌تر */
  background: var(--secondary-color);
  display: block;
}

/* Grey thin continuation */
.unit-card__line::after {
  content: '';
  position: absolute;
  right: 70px; /* از انتهای نارنجی شروع میشه */
  top: 2px;
  width: calc(100% - 70px);
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

/* Card */
.unit-card:hover .unit-card__content {
  bottom: -100px;
  transition: var(--transition);
}

.unit-card:hover .unit-card__overlay {
  opacity: 0;
}

.about-innovators {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 610px; /* نهایت ارتفاع کل سکشن */
  max-height: 610px;
}

.about-innovators__bg {
  position: relative;
  width: 100%;
  min-height: 610px;
  max-height: 610px;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 38%,
      rgba(255, 255, 255, 0.25) 42%,
      rgba(255, 255, 255, 0.5) 46%,
      rgba(255, 255, 255, 0.72) 50%,
      rgba(255, 255, 255, 0.9) 53%,
      rgba(255, 255, 255, 1) 56%,
      /* ← این جلو اومد */ rgba(255, 255, 255, 1) 80%,
      rgba(255, 255, 255, 1) 100%
    ),
    url('/Portals/_default/Skins/glend/resource/theme-assests/img/hobre.jpg');

  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.about-innovators--reverse .about-innovators__bg {
  background:
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0) 35%,
      rgba(255, 255, 255, 0.15) 38%,
      rgba(255, 255, 255, 0.35) 41%,
      rgba(255, 255, 255, 0.6) 44%,
      rgba(255, 255, 255, 0.85) 47%,
      rgb(255, 255, 255) 50%,
      rgb(255, 255, 255) 100%,
      rgba(255, 255, 255, 0.95) 100%,
      rgba(255, 255, 255, 0.7) 100%,
      rgba(255, 255, 255, 0.35) 100%,
      rgba(0, 0, 0, 0) 100%
    ),
    url(/Portals/_default/Skins/glend/resource/theme-assests/img/industry.jpg);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* باکس متن */
.about-innovators__content {
  padding: 80px 0;
}

/* تیترها */
.about-innovators__subtitle {
  display: block;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--bgwhite-text);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-innovators__title {
  font-size: 28px;
  font-weight: 800;
  color: #003399;
  margin-bottom: 16px;
  font-family: 'Modam-bold';
  line-height: 1.35;
}

.about-innovators__text {
  text-align: justify;
  font-size: var(--fs-body);
  line-height: 2;
  color: var(--bgwhite-text);
  margin: 0 0 24px 0;
  font-weight: 200;
}

.about-innovators--reverse .about-innovators__subtitle {
  text-align: end;
}

.about-innovators--reverse .about-innovators__title {
  text-align: end;
}

.about-innovators--reverse .about-innovators__text {
  text-align: end;
}

.about-innovators--reverse .aboutinno-btn-wrapper {
  display: flex;
  justify-content: end;
}

/* services */

.services {
  padding-block: 130px;
  position: relative;
  transform: translateZ(0); /* فعال‌سازی context */
  transform-style: preserve-3d;
}

.services::after {
  top: 15px;
  right: 0;
  width: 926px;
  height: 781px;
  background-image: url(/Portals/_default/Skins/glend/resource/theme-assests/img/home-right.svg);
  bottom: 0;
  content: '';
  position: absolute;
  background-position: 50%;
  background-repeat: no-repeat;

  transform: translateZ(-1px); /* بردن به عقب */
}

/* GRID */
.services__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

/* Cards */
.service-card {
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  transition: var(--transition);
  transform: translateY(-10px);
}

.services__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play button */
.services__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  backdrop-filter: blur(3px);
}

.service-card {
  background: #fff;
  padding: 20px 30px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icon */
.service-card__icon {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}

.service-card__icon img {
  width: 70px;
  height: 70px;
}

/* Title */
.service-card h3 {
  font-size: 18px;
  margin: 14px 0px 20px 0px;
  color: var(--bgwhite-text);
  transition: var(--transition);
}

/* Text */
.service-card p {
  font-size: 16px;
  line-height: 1.9;
  color: #999999;
  margin: 0;
  text-align: center;
}

.service-card:hover h3 {
  color: var(--secondary-color);
  transition: var(--transition);
}

/* Product */

.product {
  height: auto;
  padding-block: 40px;
  display: flex;
  width: 100%;
  align-items: center;
  background:
    url('/Portals/_default/Skins/glend/resource/theme-assests/img/pattern-orange.png'),
    linear-gradient(180deg, #003399 0%, #002e8a 45%, #001f5c 100%);
}

.product .more-btn {
  background-color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}

.product .more-btn:hover {
  color: var(--white-color) !important;
  background: transparent;
}

.product__grid {
  display: flex;
  align-items: center;
  gap: 60px;
  height: 100%; /* ✅ مهم */
}

#productCanvas {
  flex: 0 0 52%;
  position: relative;
}

.product__content {
  flex: 1;
  color: #fff;
}

.product__title {
  font-family: 'Modam-bold';
  font-size: var(--fs-title);
  margin: 0 0 18px;
  color: var(--white-color);
}

.product__text {
  font-size: var(--fs-body);
  line-height: 2;
  margin: 0;
  color: var(--white-color);
  opacity: 0.8;
  margin-top: 24px;
}

#productCanvas {
  flex: 0 0 52%;
  position: relative;
  height: 520px; /* ✅ مهم: ارتفاع واقعی بده */
  /* یا اگر میخوای دقیق با سکشن هماهنگ باشه:
     height: 100%;
  */
}

#productCanvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
}

.product .units__subtitle-line::after {
  background: #c5c5c5c4;
}

.more-btn {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  border: 1px solid var(--primary-color) !important;
  transition: var(--transition) !important;
  padding: 4px 10px;
  border-radius: 40px;
  display: inline-block;
  text-align: center;
  margin-top: 22px;
  width: 162px;
  /* margin-right: 87px; */
}

.more-btn:hover {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  transition: var(--transition) !important;
}

.side-item {
  display: flex;
  gap: 12px;
  padding: 30px 0;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.side-item:first-child {
  border-top: 0;
}

.side-item__thumb {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}

.side-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-item__heading {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--bgwhite-text);
  margin-bottom: 14px;
}

.side-item__date {
  font-size: 14px;
  color: #999999;
}

/* hover */
.side-item:hover .side-item__heading {
  text-decoration: underline;
}

/* Customers */
/* ========================= Customers ========================= */
.customers-section {
  padding-block: 120px;
  background-color: #fafafa !important;
}
.customers-section .title-box .back-title {
  top: -270%;
  right: 3%;
  position: absolute;
  color: var(--BgLightTextColor);
  font-size: 94px;
  opacity: 0.06;
  font-weight: 900;
}
.customers-section .title-wrapper svg {
  position: absolute;
  right: -21%;
  top: 20%;
}
.customers-main-image {
  display: block;
  margin: 32px auto 40px;
  max-width: 100%;
}
.customers-swiper {
  padding-top: 25px !important;
}
.customers-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 32px 0;
  border: 1px solid #ebebeb;
}
.customers-swiper img {
  height: auto;
  filter: grayscale(1);
  opacity: 0.4;
  max-width: 200px;
  transition: var(--transition);
}
.customers-swiper img:hover {
  filter: grayscale(0);
  transition: var(--transition);
  opacity: 1;
}
.customers-section .swiper-wrapper {
  align-items: center;
}

.customer-swiper-btn-prev,
.customer-swiper-btn-next {
  color: #939393 !important;
  transition: var(--transition);
}

.customer-swiper-btn-prev:hover,
.customer-swiper-btn-next:hover {
  color: var(--secondary-color) !important;
  transition: var(--transition);
}

.fixed-backtop {
  color: var(--secondary-color);
}

.fixed-backtop::after {
  border: 2px solid var(--secondary-color) !important;
}

.EN-button {
  color: var(--white-color) !important;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1170px !important;
  }
}

/* Mobile */
@media (max-width: 1500px) {
  #dng-megamenu219470 .primary_structure > li > a {
    font-size: 14px !important;
  }
}

/* Mobile */
@media (max-width: 1400px) {
}

/* Mobile */
@media (max-width: 1200px) {
  #dng-megamenu219470 .primary_structure > li > a {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  #dng-megamenu219470 .primary_structure > li > a {
    font-size: 12px !important;
  }
}

/* Mobile */
@media (max-width: 992px) {
  .hero {
    min-height: 94vh;
  }

  .product__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }
  #productCanvas {
    flex-basis: auto;
    width: 100%;
    height: 340px;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      'c1 c2'
      'c3 c4'
      'media media';
  }

  .services__media {
    min-height: 340px;
  }

  .about-innovators__bg {
    position: relative;
    width: 100%;
    min-height: 610px;
    max-height: 610px;

    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.9) 100%),
      url('/Portals/_default/Skins/glend/resource/theme-assests/img/hobre.jpg');

    background-size: cover;
    background-position: 7%;
    background-repeat: no-repeat;
  }

  .about-innovators--reverse .about-innovators__bg {
    background:
      linear-gradient(270deg, rgba(255, 255, 255, 0.9) 100%),
      url('/Portals/_default/Skins/glend/resource/theme-assests/img/industry.jpg');

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
  }

  .copy-right-wrapper {
    flex-direction: column;
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .unit-card img {
    height: 260px;
  }

  #dnn_FooterPaneE {
    padding-bottom: 24px;
  }

  footer p {
    padding-bottom: 20px;
  }

  .units {
    padding: 70px 0;
  }

  .service-card {
    cursor: auto;
  }

  #dnn_FooterPaneB {
    padding-bottom: 26px;
  }

  .footer-text {
    padding-bottom: 26px;
  }

  #dnn_FooterPaneC {
    display: flex;
    align-items: center;
    justify-content: start;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .news-slider .swiper-button-next {
    right: -10px;
    color: var(--bgwhite-text);
  }

  .news-slider .swiper-button-prev {
    left: -10px;
    color: var(--bgwhite-text);
  }

  .news-slider .swiper-button-next::after {
    font-size: 28px;
  }

  .news-slider .swiper-button-prev::after {
    font-size: 28px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .services__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      'c1'
      'c2'
      'c3'
      'c4'
      'media';
  }

  .services__media {
    min-height: 260px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .hero__content {
    transform: translateY(0);
  }
  .hero__subtitle {
    opacity: 0.95;
  }

  .unit-card {
    height: 200px;
  }

  .unit-card__content {
    right: 8px;
  }

  .unit-card__content h3 {
    font-size: 16px;
  }
}
