/* For Chrome and Safari */
::-webkit-scrollbar {
  background-color: none;
  /* Set the background color */
  -webkit-scrollbar-color: gray-darkgray;
}

header {
  z-index: 100;
  animation-name: box;
  animation-duration: 2s;
}

.preloader {
  z-index: 200;
}

/* drowpdown menu */
.drowp-down {
  overflow: hidden;
}

.drowp-down:hover {
  overflow: visible;
}

.drowpdown-menu {
  overflow: hidden;
  opacity: 0;
}

.drowp-down:hover .drowpdown-menu {
  overflow: visible;
}

.drowpdown-menu:hover {
  overflow: visible;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

.rtl {
  direction: ltr;
}

.ltr {
  direction: rtl;
}

.slide {
  position: absolute;
}

/* -----------------------slider------------------------ */
.Slider-height {
  height: 100vh;
}

.mySlides {
  display: none;
  direction: rtl;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
}

/* The dots/bullets/indicators */
.dot {
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #37373790;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

.black-box {
  animation-name: black-box;
  animation-duration: 1.5s;
}

@keyframes black-box {
  from {
    right: -500px;
  }

  to {
    right: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIndown {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 10;
    transform: translate3d(0, 100%, 0);
  }
}

.slider-text {
  opacity: 0;
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

.text-1 {
  animation-delay: 1500ms;
}

.text-2 {
  animation-delay: 2500ms;
}

/* --------------our projects-------------------- */
.projects-description {
  grid-column: 6/13;
  grid-row: 1/7;
}

.projects {
  grid-column: 1/7;
  grid-row: 1/7;
  z-index: 10;
}

/* -------------mobile menu---------------- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.307);
  z-index: 9999;
  display: none;
}

.mobile-menu {
  width: 90%;
  height: 100%;
  background-color: #0f1014;
  position: absolute;
  top: 0;
  right: -90%;
  transition: right 0.5s ease;
  overflow-y: auto;
}

.close-button {
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.sub-menu {
  display: none;
}

.grid-rows-7 {
  grid-template-rows: repeat(7, minmax(0, 1fr));
}

/* about us------------ */
.about-description {
  grid-column: 2/6;
  grid-row: 1/7;
}

.about-pic {
  grid-column: 5/10;
  grid-row: 2/8;
}

.about-description-text {
  grid-column: 2/5;
  grid-row: 2/6;
}

.about-description-title {
  grid-column: 4/6;
  grid-row: 1/3;
}

/* space beetwen project slides in main page */
.slick-slide {
  margin: 0px 19px;
}

.team-bg-shape {
  width: 192px;
  height: 213.333px;
  z-index: -1;
  flex-shrink: 0;
  position: absolute;
  bottom: 0;
  border-radius: 122px 122px 8px 122px;
  background: linear-gradient(180deg, #83909D 0%, #161616 100%);
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
  position: absolute;
}

.team-img {
  flex-shrink: 0;
  width: 192px;
  height: 256px;
  border-radius: 122px 122px 8px 122px;
}

#search-popup {
  display: none;

}

/* loading styles */
#loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  /* animation: fadeinout 5s; */
}

@keyframes fadeinout {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.loading {
  position: absolute;
  animation: loading 1s;
}

@keyframes loading {
  from {
    left: 200px;
  }

  to {
    left: 0;
  }
}

.timeline-carousel {
  transition: transform 0.3s ease-in-out;
}

.timeline-slide {
  flex-shrink: 0;
  width: 100%;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #707070;
  margin: 0 5px;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: black;
}

/* ----------------------------------- */
.parent-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.parent-dot::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #b1b1b1;
  justify-self: center;
  border-radius: 30px;
  z-index: 9;
  margin: auto auto;
}

.parent-dot::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #b1b1b1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 30px;
  z-index: 9;
  margin: auto auto;
}

.parent-dot.active::after {
  /* Add styles for the active state of parent-dot */
  background-color: #161616;

  /* Example background color */
}

/* services -------------------------------------*/
.services-slider {
  width: 100%;
  display: flex;
}

.services-slide {
  height: 100vh;
  cursor: pointer;
  color: #fff;
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: all 0.5s ease-in-out;
}

.services-slide.active {
  flex: 10;
}

.services-slide.active h3 {
  opacity: 1;
  transition: opacity 0.2s ease-in-out 0.3s;
}

.services-slide.active h2 {
  display: none;
}

.services-slide.active .black-blure-box {
  display: none;
}

.services-slide.active .Slider_description {
  opacity: 1;
  transition: opacity 0.2s ease-in-out 0.3s;
}

.services-slide h2 {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  position: relative;
  bottom: 0;
  padding-top: 30px;
  /* height: 100%; */
  margin-bottom: 0px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  color: #fff;
  transform: rotate(180deg);
}

.Slider_description {
  /* position: relative; */
  top: 80%;
  color: #fff;
  opacity: 0;
  right: 2%;
}

/* products page------------------------------------- */
.sidebar {
  overflow-y: auto;
}

.category {
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 1px solid #302e2e;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.category:last-child {
  border-bottom: none;
}

.category .sub-categories {
  color: rgb(182, 182, 182);
  font-size: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.category.open .sub-categories {
  max-height: 800px;
}

.category .sub-category {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.category .sub-category:first-child {
  margin-top: 10px;
}

.arrow-down {
  display: block;
}

.category.open .arrow-down {
  display: none;
}

.arrow-up {
  display: none;
}

.category.open .arrow-up {
  display: block;
}

.category .sub-category:last-child {
  border-bottom: none;
}

.active-pagination {
  background-color: black;
  color: white;
}

#mobile-categories {
  display: none;
}

.last-post:last-child {
  border: none;
}

/* worm slider------------------------- */

.wrapper {
  min-height: 50vh;
  width: 100%;
  margin: 0 auto;
  background-image: url("../img/weblog/weblog-bg-pic.jpg");
  position: relative;
  overflow: hidden;
}

.wrapper img {
  border-radius: 8px;
  --o: 0;
  --z: 0;
  position: absolute;
  width: 20vw;
  transform: translate(-50%, -50%);
  left: var(--x);
  top: var(--y);
  opacity: var(--o);
  z-index: var(--z);
  transition: opacity 0.5s ease, width 0.5s ease, height 0.5s ease;
  will-change: top left opacity;
  cursor: pointer;
}

.wrapper img.zoomed {
  --z: 100;
  --x: 0 !important;
  --o: 1;
  --y: 0 !important;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease, top 0.5s ease, left 0.5s ease;
  object-fit: cover;
  object-position: center;
}

.wrapper.init img {
  transition: opacity 0s;
}

.wrapper.init img:nth-child(3n + 1) {
  --z: 1;
  --o: 1;
  --x: calc(100px * 1 + 300px) !important;
  --y: calc(50px * 1 + 200px) !important;
}

.wrapper.init img:nth-child(3n + 2) {
  --z: 1;
  --o: 1;
  --x: calc(100px * 2 + 300px) !important;
  --y: calc(50px * 2 + 200px) !important;
}

.wrapper.init img:nth-child(3n + 3) {
  --z: 1;
  --o: 1;
  --x: calc(100px * 3 + 300px) !important;
  --y: calc(50px * 3 + 200px) !important;
}

.wrapper.init img:nth-child(3n + 4) {
  --z: 1;
  --o: 1;
  --x: calc(100px * 4 + 300px) !important;
  --y: calc(50px * 4 + 200px) !important;
}

.wrapper.init img:nth-child(3n + 5) {
  --z: 1;
  --o: 1;
  --x: calc(100px * 5 + 300px) !important;
  --y: calc(50px * 5 + 200px) !important;
}

/* products details--------------- */
.slide-photo .project-pic {
  left: 100%;
  animation: slideIn 1s forwards;
}

.slide-photo.project-pic.slide-out {
  animation: slideOut 1s forwards;
}

.slide-text {
  animation: fadeIn 1s forwards;
}

.slide-in {
  animation: slide 1s forwards;
}

@keyframes slideIn {
  0% {
    left: 100%;
  }

  100% {
    left: 0;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slideOut {
  0% {
    left: 0;
  }

  100% {
    left: -100%;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.slide-text {
  animation: fadeIn 1s forwards;
}

/* FAQs part----------------------- */
.faq {
  padding: 40px 0;
  cursor: pointer;
  border-bottom: 1px solid #cccccc;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.faq:last-child {
  border-bottom: none;
}

.faq .answers {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq.open .answers {
  max-height: 800px;
}

.faq .answer {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq .answer:first-child {
  margin-top: 10px;
}

.arrow-down {
  display: block;
}

.faq.open .arrow-down {
  display: none;
}

.arrow-up {
  display: none;
}

.faq.open .arrow-up {
  display: block;
}

.faq .answer:last-child {
  border-bottom: none;
}

.boxShadowDelay {
  animation: boxShadowDelay 0.5s 1s forwards;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
  animation-play-state: running;
  animation-name: boxShadowDelay;
}

@keyframes boxShadowDelay {
  0% {
    box-shadow: none;
  }

  100% {
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
  }
}

/* main page right side menu */
.jss20 {
  top: 50%;
  left: 70px;
  display: flex;
  z-index: 100;
  position: fixed;
  min-width: fit-content;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  align-items: start;
  flex-direction: column;
  justify-content: center;
  /*direction: rtl;*/
}

.jss24 {
  padding: 0;
  font-size: 10px;
  min-width: fit-content;
  list-style-type: none;
}

.jss26 {
  color: white;
  height: 40px;
  opacity: 0.5;
  padding: 6px 0;
  position: relative;
  font-size: inherit;
  transition: all 0.2s ease;
  font-weight: 700;
  transform-origin: left;
  cursor: pointer;
}

.jss26:hover {
  font-size: 18px !important;
  color: white !important;
  opacity: 1 !important;
  text-align: left;
   line-height: 30px;
}

.jss26::after {
  top: 50%;
  left: -20px;
  width: 6px;
  height: 6px;
  content: "";
  position: absolute;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  background-color: white;
}

.jss22::before {
  transform: translateY(-90%) scale(1.8) !important;
  transition: all 0.2s ease;
  background-color: white !important;
  transform-origin: center;
}

.jss22 {
  color: white !important;
  opacity: 1 !important;
  font-size: 18px !important;
 line-height: 30px;
 letter-spacing: 0.055em;
}

.jss21 {
  font-size: 0px !important;
}

/* maga menu----------------------- */
.container {
  margin: auto;
}

ul {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

nav {
  position: relative;
  z-index: 100;
}

nav>ul>li {
  display: inline-block;
  padding: 0 15px;
  position: relative;
  height: 100%;
}

nav>ul>li>a {
  color: #fff;
  display: block;
  transition: all .3s ease;
}

.mega-menu {
  background-color: #202020;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s linear;
  position: absolute;
  left: 0;
  width: 100%;
  padding: 20px 0 20px 0;
}

.mega-menu .container {
  display: flex;
}

.mega-menu .item {
  flex-grow: 1;
  margin: 0 10px;
}

.mega-menu .item img {
  width: 100%;
}

.mega-menu a {
  display: block;
  padding: 10px 0;
}

.dropdown {
  position: static;
}

.dropdown:hover .mega-menu {
  visibility: visible;
  opacity: 1;
}

/* hover effect for products */
.hover-effect {
  display: flex;
  position: relative;
}

.hover-effect::before {
  right: 0;
  opacity: 0.7;
  top: 0;
}

.hover-effect::after {
  bottom: 0;
  opacity: 0.7;
  left: 0;
}


.hover-effect::before,
.hover-effect::after {
  content: "";
  background: black;
  height: 0;
  width: 0;
  z-index: 1;
  position: absolute;
  -webkit-transition-duration: 1.3s !important;
  -o-transition-duration: 1.3s;
  transition-duration: 1.3s !important;
}

.hover-effect:hover::after,
.hover-effect:hover::before {
  height: 100%;
  opacity: 0;
  width: 100%;
}

.image-transition-toleft {
  transition: all .8s ease-in-out;
  top: 100%;
  transform: translate(0, -100%);

}

.image-transition-toright {
  transition: all .8s ease-in-out;
  transform: translate(100%, 0);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.36) 46.16%, rgba(255, 255, 255, 0.00) 96.33%);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 100%;
  z-index: 10;
  transition: all .5s ease-in;


}

.product-image:hover::before {

  left: -100%;
}

.product-shadow {
  border-radius: 298px;
  background-image: url(../img/products/product-shadow.svg);
  background-size: contain;
  filter: blur(5px);
  height: 34px;
  max-width: 200px;
  margin-top: 20px;

}

.product-card .product-info {
  max-height: 0;
  overflow: hidden;
  transition: all .3s ease-in;
}

.product-card:hover .product-info {
  max-height: 20px;

}

.left-15 {
  left: 15px;
}

.right-\[20px\] {
  right: 20px;
}

.left-\[80px\] {
  left: 80px;
}

/*.arrow-left {*/
/*  rotate: 180deg;*/
/*}*/

/* .slick-slider {
  direction: rtl;
} */

.project-slider.slick-slider {
  direction: rtl;
}

.flex-col .font-semibold {
  /* flex-direction: row-reverse; */
  display: flex;
  text-align: left;
}

.second-section {
  position: absolute;
  left: 5%;
}

.text-left {
  text-align: left;
}

.mr-auto {
  margin-right: auto;
}

.rounded-R-lg {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.row-reverse{
  flex-direction: row-reverse;
}

.scaleX{
  transform: scaleX(-1);
}
.justify-end{
  justify-content: end;
}
.weblog-carsual.slick-initialized.slick-slider{
  direction: ltr;

}
#slider{
    overflow-x: hidden;
}
/* .team-carsual.slick-slider{
  direction: ltr ;
} */
.hide{
  display: none;
}

.border-l {
  border-left-width: 1px;
}
@media (min-width: 1280px) {
  .xl\:rounded-R-lg {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
}

@media (max-width:1065px) {
  .gap-\[30px\] {
    gap: 9px;
}
}
.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-row {
  flex-direction: row;
}


.pL-9{
 padding-left:9%;   
}