/* banner slider */
.slider {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* @media (min-width:1200px){
    .slider {
        
        min-height: calc(100vh - 120px);
        
    }
} */

.slider .list .item::before {
    content: '';
    position: absolute;
    z-index: 25;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.544);
}

.slider .list .item.sec::before {
    content: '';
    position: absolute;
    z-index: 10;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.201);
}


.slider .list .item::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 200px;
    left: 0;
    width: 100%;
    background: linear-gradient(#00000000, #1d2125);
    z-index: 55;
}

.slider .list {
    height: 100%;
}

.slider .list .item {
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
    z-index: 5;
    transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item .content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 80%;
    z-index: 35;
    color: white;
    text-align: center;
}


.slider .list .item .content .content-inner {
    position: relative;
}

/* .slider .list .item .content .content-inner::before {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    height: 270px;
    width: 270px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.111);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.115);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.066);
    border-radius: 50%;
    z-index: -1;
} */




.slider .list .item .content .content-inner::after {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    height: 270px;
    width: 270px;
    transform: translateX(-50%);
    background-image: url(../assets/tecsa\ group\ saudi.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 50%;
    z-index: -1;
    filter: opacity(0.2);
}

.slider .list .item .content p {
    color: rgb(198, 198, 198);
}

.slider .list .item .content p:nth-child(1) {
    /* text-transform: uppercase;
    letter-spacing: 5px; */
}

.bnr-subtitle {
    display: inline-block;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fcbc5d;
}

.slider .list .item .content h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}


 .banner-icon {
    height: 50px;
    width: 50px;
}

@media (max-width:500px) {
    .slider .list .item .content h2 {
        font-size: 38px;

    }


}

@media (max-width:800px) {
    .slider .list .item .content {

        width: 80%;

    }
}

.slider .list .item.active {
    opacity: 1;
   z-index: 30;
}


.sldier .item img {
    width: 100%;
    transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
    transform: scale(1.2);
}

.sldier .item.active img {
    transform: scale(1);
}


@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active .content .bnr-subtitle,
.slider .list .item.active .content .bnr-btn,
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h5,
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.9s .7s ease-in-out 1 forwards;
}

.slider .list .item.active .content h2 {
    animation-delay: 1.5s;
}

.slider .list .item.active .content p {
    animation-duration: 1.9s;
}

.slider .list .item.active .content .bnr-btn {
    animation-duration: 2s;
}

.arrows-next button,
.arrows-prev button {
    background-color: rgba(148, 148, 148, 0.333);
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
    overflow: visible;
    border-radius: 50%;
}

.arrows button:hover {
    background-color: #eee;
    color: black;
}


.arrows-prev {
    position: absolute;
    z-index: 100;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.arrows-prev #prev {
    position: relative;
    margin-left: 16px;
}

.arrows-prev #prev::before {
    content: '';
    position: absolute;
    height: 1px;
    width: 30px;
    background-color: rgba(148, 148, 148, 0.615);
    right: -20px;
    top: 50%;
    z-index: 100;


}


.arrows-next #next {
    position: relative;
    margin-right: 16px;
}

.arrows-next #next::before {
    content: '';
    position: absolute;
    height: 1px;
    width: 30px;
    background-color: rgba(148, 148, 148, 0.615);
    left: -20px;
    top: 50%;
    z-index: 100;


}


.arrows-next {
    position: absolute;
    z-index: 100;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}



.arrows #next {
    right: 0;
}


@media (max-width: 678px) {



    .slider .list .item .content {
        top: 50%;
        width: 100%;
    }

    .arrows-next,
    .arrows-prev {
        display: none;
    }

}


/* Tecsa construction page banner css */
.slider-content{
    position: absolute;

    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    z-index: 100 !important;
    
}

.slider{
    overflow: hidden;
}


.overlay-bnr {
    position: absolute ;
    top: -5%;
    left:-45%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.456);
    z-index: 35;
    transform: rotate(35deg);
    border-radius: 30px;
}


.slider-content .slider-title{
    font-weight: 800;
    color: #FFF;
}


.square{
    position: absolute;
    height: 50%;
    width: 50%;
    
    border-top: 2px solid #fcbc5d;
    border-left: 2px solid #fcbc5d;
    top: -26px;
    left: -30px;
    z-index: -1;
}

.square-btm{
    position: absolute;
    height: 50%;
    width: 50%;
    bottom: -50px;
    right: -30px;
    border-bottom: 2px solid #fcbc5d;
    border-right: 2px solid #fcbc5d;
    z-index: -1;

}

.highlight{
    color: #ff9900;
}

@media(max-width:999px){
    .slider-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        
        z-index: 99 !important;
    }
    .overlay-bnr {
        width: 130%;
        top: 0%;
        left:-100%;
        transform: rotate(139deg) !important;
        
    }

    .square{
       display: none;
    }
    
    .square-btm{
        display: none;
    
    }
    
    
    
}

@media (max-width:750px){
    .overlay-bnr {
        display: none;
        
    }

    .slider .list .item.sec::before {
        
        background-color:#1d2125aa !important;
    }


}

@media (max-width:1250px){
    .overlay-bnr {
        
        top: 0%;
        left:-45%;
        transform: rotate(139deg);
        
    }
}

.slider .list .item.active .slider-content h1,
.slider .list .item.active .slider-content .bnr-subtitle,
.slider .list .item.active .slider-content .bnr-btn {
    transform: translateX(30px);
    filter: blur(20px);
    opacity: 0;
    animation: show-Content 0.9s .7s ease-in-out 1 forwards;
}

.slider .list .item.active .slider-content .bnr-subtitle {
    animation-delay: 1s;
}

.slider .list .item.active .slider-content h1 {
    animation-duration: 1.5s;
}

.slider .list .item.active .slider-content .bnr-btn {
    animation-duration: 2s;
}



@keyframes show-Content {
    to {
        transform: translateX(0);
        filter: blur(0);
        opacity: 1;
    }
}