﻿.slider{
    position: relative;
    padding: 143px 0px;
    overflow: hidden;
}

.slider::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(43, 37, 75, 0.7);
    z-index: -1;
    backdrop-filter: blur(20px);
}
#myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
  }
.dp-wrap {
    margin: 0 auto;
    position: relative;
    perspective: 1000px;
    /* height: 100%; */
}
.dp-slider {
    height: 100%;
    width: 100%;
    position: absolute;
    transform-style: preserve-3d;
}
.dp-slider div {
    transform-style: preserve-3d;
}
.dp_item {
    display: block;
    position: absolute;
    /* text-align: center; */
    color: #FFF;
    border-radius: 10px;
    transition: transform 1.2s;
}
#dp-slider .dp_item:first-child .dp-content{
    opacity: 1;
}

.dp_item[data-position="1"] {
    z-index: 10;
    transform: rotateY(0deg) translateX(0) scale(1);
}
.dp_item[data-position="2"] {
    z-index: 9;
    transform: rotateY(0deg) translateX(30%) scale(0.8);
}
.dp_item[data-position="2"]:lang(ar) {
    z-index: 9;
    transform: rotateY(0deg) translateX(-30%) scale(0.8);
}
.dp_item[data-position="3"]{
    z-index: 8;
    transform: rotateY(0deg) translateX(60%) scale(0.6);
}
.dp_item[data-position="3"]:lang(ar) {
    z-index: 8;
    transform: rotateY(0deg) translateX(-60%) scale(0.6);
}
.dp_item[data-position="4"] {
    z-index: 7;
    transform: rotateY(0deg) translateX(90%) scale(0.4);
}
.dp_item[data-position="4"]:lang(ar) {
    z-index: 7;
    transform: rotateY(0deg) translateX(-90%) scale(0.4);
}
#dp-next,
#dp-prev {
    position: absolute;
    top: 50%;
    right: 16%;
    height: 33px;
    width: 33px;
    z-index: 10;
    cursor: pointer;
    display: none;
}

#dp-prev {
    left: 15px;
    transform: rotate(180deg);
}

#dp-dots {
    /* position: absolute; */
    bottom: 25px;
    z-index: 12;
    left: 0px;
    cursor: default;
}
#dp-dots:lang(ar){
    left: auto;
    right: 0px;
}

#dp-dots li {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #ffff;
    border-radius: 50%;
}
#dp-dots li:hover {
    cursor: pointer;
    background: #0d3154;
    transition: background .3s;
}
#dp-dots li.active {
    background: #E2A947;
    width: 30px;
    border-radius: 10px;
}
.dp_item {
    width: 85%;
}

.dp_item {
    display: flex;
    align-items: center;
    /* background: #fff; */
    border-radius: 10px;
    overflow: hidden;
}
.dp-content {
    /* padding-left: 100px;
    padding-right: 0; */
    display: inline-block;
    width: 100%;
    transition: 1s;
    opacity: 0;
}
/* .dp-content:lang(ar) {
    padding-right: 100px;
    padding-left: 0;

} */
.dp-content h2 {
    
font-size: 32px;
    
color: #fff;
    
max-width: 460px;
    
margin-top: 8px;
    
margin-bottom: 0px;
    
line-height: 1.5;
}

.dp-content h6 {
    color: #fff;
    max-width: 490px;
    margin-top: 15px;
    font-size: 20px;
}
.dp-content p {
    color: #fff;
    max-width: 490px;
    margin-top: 15px;
    font-size: 16px;
    margin-bottom: 20px;
}

.dp-img:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 25%;
    z-index: 1;
    top: 0;
    pointer-events: none;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0), rgb(255, 255, 255));
    display: none;
}
.dp-img:lang(ar):before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgb(92 140 192));
}
.dp-img img {
    object-fit: cover;
    object-position: right;
}
.dp-img img:lang(ar){
    object-position: left;

}
#dp-slider,
.dp-img img {
    height: 425px;
    width: 425px;
    object-fit: cover;
    border-radius: 20px;
}
#dp-slider .dp_item:hover:not(:first-child) {
    cursor: pointer;
}
.site-btn {
  color: #fff;
  font-size: 18px;
  font-family: "Circular Std Medium";
  background: #FA8282;
  padding: 14px 43px;
  display: inline-block;
  border-radius: 2px;
  position: relative;
  top: -12px;
  text-decoration: none;
}
.site-btn:hover{
  text-decoration: none;
  color: #fff;
}
@media (max-width:991px) {
    .dp_item{
        width: 100%;
    }
 
  .dp_item{
    display: block;
  }
  #dp-slider{
    height: 570px;
  }
  .dp-img{
  display: block;
  }
  #dp-slider img{
    width: 250px;
    height: 250px;
  }
    .dp-content .btn-event-all{
        margin-bottom: 20px;

    }
    #dp-dots {
        bottom: -35px;
        position: absolute;
        right: 20px;
    }
    #dp-dots:lang(ar){
        left: 20px;
        right: auto;
    }
   
}
@media (max-width:767px) {
    .slider{
        padding: 50px 0px;
    }
}
@media (max-width:575px) {
    #dp-slider{
        height: 650px;
      }
}