body,html{
  overflow-x: hidden;
  position: relative;
  font-family: "Cairo";
  background-color: #eceef0;
  padding: 0;
  margin-bottom: 0;
  text-transform: capitalize;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}
a{
  text-decoration:  none !important;
}
body{
  padding-top: 80px;
}
.medium{
  font-size: .8rem;
}


.f-bold{
  font-weight: bold;
}
.f-bolder{
  font-weight: bolder;
}
.radius-10{
  border-radius: 1rem;
}
.radius-20{
  border-radius: 2rem;
}
.navbar-brand img{

  margin-right: 50px;
}
.btn{
  border-radius: 0;
}
.navbar-dark{
background: #0c121a !important;
}
.navbar{
  height: 100px;
  padding: 0;
}
.nav-link{
  color: white !important;
  transition: all .2 ease-in-out;
}
.nav-link:hover{
  border: white thin solid;
  color: white;
}
.nav-item.active .nav-link {
  color: #D7AF47 !important;
  font-weight: bolder;
}
.nav-item.active .nav-link:hover {
  border: #D7AF47 thin solid;
  color: #D7AF47 !important;
}

.bg-pri{
  background: #0c121a;
}
.bg-sec{
  background: #D7AF47;
}

.text-pri{
  color: #0c121a;
}
.text-sec{
  color: #D7AF47;
}
.text-grey{
  color: rgb(167, 167, 167);
}

.services-item{
  text-decoration: none;
}
.services-item img{
  height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(60%);
  transition: all ease .3s
}
.services-item img:hover{
  filter: brightness(100%);
}
.services-item h5{
  color: #0c121a;
  font-weight: bolder;
}
.services-item p{
  color: grey;
  font-weight: normal;
  font-size: smaller;
}



.service-header{
  height: 400px;
  width: 100%;
  background-color: #0c121a;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-header .overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;left:0;
  background-color: #020015a2;
  z-index: 2;
}
.service-header .caption{
  color:white;
  width:80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  text-align: center;
}
.service-header .caption h1{
  font-size: 2rem;
  font-weight: bolder;
}


.swiper {
  width: 100%;
  height: 500px;
}

.swiper-slide.overlay {
  text-align: center;
  font-size: 18px;
  background: #d62626;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
}
.swiper-slide.overlay::after{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to top,#1f1f47cb,#7474fe54);
}
.swiper-slide.topslide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-slide.topslide .caption{
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

}
.swiper-slide.topslide .caption h2,h1{
  font-weight: bolder;
  font-size: 2rem;
  color: white;

}
.swiper-slide.topslide .caption p{
  font-weight: normal;
  color: white;

}


.me-end{
  margin-inline-start: auto;
}


#loading {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 0.7;
  background-color: #ffffff;
  z-index: 99;
}

#loading-image {
  position: absolute;
  top: 100px;
  left: 240px;
  z-index: 100;
}



footer {
color: white;
}
footer ul{
  list-style-type: none;
  color: #020015;
}
footer ul li a{
  color: #020015 !important;
  text-decoration: none !important;
  cursor: pointer;
}
footer ul li{
  transition: all ease-in-out .3s;
}
footer ul li:hover{
  margin-right: 10px;
}
.social-icons{
  padding-inline-start: 0;

}
.social-icons a{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #020015;
  color: #D7AF47 !important;
  line-height: 35px;
  text-align: center;
  margin: 10px;
  transition: all ease-in-out .2s;
  
  border: none;
}
.social-icons a:hover{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D7AF47;
  color: #020015;
  line-height: 40px;
  font-size: 16px;
  text-align: center;
  border: thin solid #020015;
}

.card{
  border-radius: 10px !important;
  padding: 10px !important;
  min-height: 400px;
  background: #07182E;
  position: relative;
  display: flex;
  place-content: center;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  text-align:right;
}
.card-img-top{
  height: 250px !important;
  object-fit: cover;
  border-radius: 15px !important;z-index:1
}

.card-title{
  font-weight: bolder;z-index:1
}
.card-body{
 z-index:1
}
.card h5 {
  z-index: 1;
  color: #D7AF47 !important;
  font-size: 1.5em;
}
.card  p{
  color: white !important;
  font-size: .9em;
}
.card:hover::before {
  content: '';
  position: absolute;
  width: 100px;
  background-image: linear-gradient(180deg, #D7AF47, #d4be85);
  height: 120%;
  animation: rotBGimg 4s linear infinite;
  transition: all 0.3s ease-in-out;
}

@keyframes rotBGimg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.card::after {
  content: '';
  position: absolute;
  background: #07182E;
  ;
  inset: 3px;
  border-radius: 10px;
}  


.fixed-bg{
  background-attachment: fixed;
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 450px;
  position: relative;
}
.fixed-bg .overlay{
  width:100%;height:100%;position: absolute;top:0;left:0;
  background-color: #020015be;
  z-index: 1;
}
.client-swiper{
  width:100%;height:400px;
}
.client-swiper .swiper-slide{
  display: flex;
  flex-direction:column;
  justify-content:start;
  align-items:center;
}
.client-swiper .swiper-slide img{
  height: 120px;
  width:auto
}
.swiper-button-next{
  z-index: 10;
  color: white !important;
  left: 100px !important;
  
}
.swiper-button-prev{
  color: white !important;
  right: 100px !important;
}

@media screen and (max-width: 480px) {
  .navbar-brand img{

    margin-right: 10px;
  }
  .mySwiper {
    width: 100%;
    height: 300px;
  }
  .client-swiper {
    width: 100%;
    height: 400px;
  }
  .swiper-button-next{
    z-index: 10;
    color: white !important;
    left: 20px !important;
    bottom: 10px !important;top: auto !important; scale:.7
  }
  .swiper-button-prev{
    color: white !important;
    right: 20px !important;
    bottom: 10px !important;top: auto !important; scale:.7
  }
  .swiper-slide.topslide .caption{
    width: 100%;
    bottom: 20%;
 
  
  }
  .swiper-slide.topslide .caption h2,h1{
    font-weight: bolder;
    font-size: 1.5rem;
    color: white;
  
  }
  .swiper-slide.topslide .caption p{
    font-weight: normal;
    color: white;
    font-size: small;
  }
  
}
.xsmall{
  font-size: x-small;
}
.dropdown-menu{
  text-align: right;
  left:auto;right:0
}