.header {
  position: relative;
  position: relative;
  z-index: 88;
}
/* .header::after {
  content: "";
  background-image: url(../images/logo.png);
  width: 220px;
  background-size: contain;
  background-repeat: no-repeat;
  height: 100px;
  position: absolute;
  bottom: 0;
  z-index: 1;

  left: 5%;
  opacity: 0.4;
} */
.top-par {
  background-color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  padding: 20px 0;
  width: 100%;
  display: flex;
  z-index: 88;
  align-items: center;
  height: 100px;
}

.logo {
  max-width: 160px;
}

.element ul {
  display: flex;
  align-items: center;
  gap: 40px;
}
.element ul li {
  display: block;
}
.element ul li a {
  color: #000;
  font-family: "medium";
  font-size: 19px;
  height: 50px;
  align-items: center;
  overflow: hidden;
  display: flex;
  position: relative;
}

.element ul li a::after {
  content: "";
  width: 90%;
  position: absolute;

  bottom: 5px;
  right: 0;
  transform: translateX(100%);
  height: 2px;
  transition: all 0.3s linear;

  opacity: 0;
  background-color: #000;
}

.element ul li a::before {
  content: "";
  width: 90%;
  position: absolute;
  bottom: 0px;
  left: 0;
  transform: translateX(-100%);
  height: 2px;
  transition: all 0.3s linear;
  opacity: 0;
  background-color: #000;
}

.element ul li a:hover::after,
.element ul li a:hover::before {
  transform: translateX(0);
  opacity: 1;
}
.icons-top-ber > ul {
  display: flex;
  gap: 40px;
  justify-content: end;
}

.icons-top-ber > ul > li {
  list-style-type: none;
  display: block;
  position: relative;
}

.icons-top-ber > ul > li::after {
  content: "";
  width: 1px;
  height: 100%;
  background-color: #e2e2e2;
  border-radius: 1px;
  position: absolute;
  left: -20px;
  top: 0;
}

.icons-top-ber > ul > li:last-of-type::after {
  display: none;
}
.icons-top-ber > ul > li > a {
  color: #000;
  align-items: center;
  transition: all 0.3s linear;
  font-family: "medium";
  display: flex;
  gap: 15px;
}

.img-icons {
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  position: relative;

  text-align: center;
  z-index: 1;
}
.img-icons img {
  transition: all 0.3s linear;
}
.img-icons::after {
  content: "";
  top: 0;
  border: 1px solid #000;
  border-radius: 5px;
  width: 100%;
  position: absolute;
  right: 0;
  transform: rotate(45deg);
  z-index: -1;
  transition: all 0.3s linear;
  height: 100%;
}

.icons-top-ber ul > li:hover .img-icons::after {
  transition: all 0.3s linear;
  transform: rotate(0deg);
  background-color: #000;
}
.icons-top-ber ul > li:hover .img-icons img {
  filter: brightness(0) invert(1);
}

.dropdowm-language {
  width: 140px;
  background-color: #fff;
  height: auto;
  position: absolute;
  border-radius: 5px;
  left: 0;
  top: calc(100% + 10px);
  z-index: 2;
  display: none;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.274);
}

.dropdowm-language ul {
  display: flex;
  flex-wrap: wrap;
}
.dropdowm-language ul li {
  height: 50px;
  width: 100%;
  display: block;
  border-bottom: 1px solid #e2e2e2;
}

.dropdowm-language ul li:last-of-type {
  border: none;
}
.dropdowm-language ul li a {
  padding: 0px 10px;
  font-size: 19px;

  display: flex;
  color: #000;
  height: 100%;
  align-items: center;
}

.dropdowm-language ul li:hover a {
  background-color: #000;
  color: #fff;
}
.sub-slider-header {
  height: 640px;
  background-position: center;
  background-size: cover;
  display: flex;
  padding-top: 110px;
  align-items: center;
  justify-content: center;
}

.text-slider-header {
  padding: 40px 30px;
  background-color: rgba(255, 255, 255, 0.822);
  width: 100%;
  text-align: center;
}

.text-slider-header h2 {
  font-size: 24px;
  transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  font-family: "font_bold";
  color: #000;
}


.text-slider-header p {
  color: #000;
  width: 40%;
  line-height: 30px;
  transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  overflow: hidden;

  margin: 20px auto;
}

.ctm-btn {
  background-color: #000;
  color: #fff;
  min-width: 170px;
  height: 50px;
  padding: 10px 30px;
  font-size: 18px;
  border-radius: 0;
  display: inline-block;
  border: none;
}

.ctm-btn:hover{
  background-color: #404040;
  color: #fff;

}
 

.owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  right: 0;
  pointer-events: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.header .owl-nav {
  top: calc(50% + 50px);
}
.owl-nav button {
  background-color: #000 !important;
  width: 75px;
  pointer-events: fill;
  height: 45px;
  position: relative;
  border-radius: 0 !important;
  margin: 0 !important;
}

.owl-nav button span {
  width: 0;
  color: transparent;
}

.owl-next::after {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  font-size: 20px;
  left: 0px;
  margin: auto;
  content: "التالي";
}
.owl-prev::after {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  font-size: 20px;
  left: 0px;
  margin: auto;
  content: "السابق";
}

.top-par {
  transition: all linear 0.3s;
  opacity: 0;
  transform: translateY(-100%);
}

.header.active .top-par {
  transform: translateY(0);
  opacity: 1;
}

.top-par.active {
  position: fixed;
  opacity: 1;
  top: 0;
  transform: translateY(0);
}

/* .text-slider-header h2 {
  transition: all 1.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateX(100%);
  transition-delay: 0.4s;
  opacity: 0;

}

.text-slider-header p {
  transition: all 1.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateX(100%);
  transition-delay: .8s;
  opacity: 0;

} */
.owl-item.active .text-slider-header h2 ,.owl-item.active .text-slider-header p  { 
  -webkit-animation-name:bounceIn;
  animation-name: bounceIn;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-delay: .6s;
}


.owl-item.active .text-slider-header p  {
  animation-delay: 1s;

}

.owl-item.active .text-slider-header a {
  -webkit-animation-name:flipInX;
  animation-name: flipInX;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-delay: 1.4s;
}

