/*===================================================
    Main Slider
====================================================*/
.main-slider {
    background-color: var(--bg-grey);
    position: relative;
    overflow: hidden;
}

.main-slider .swiper-slide {
    background-image: url(../img/slider-background.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
}

.slider-img-wrap {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.slider-img {
    background-repeat: no-repeat;
    background-position: center left;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 30% 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    z-index: -1;
    
}

.slider-img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation-duration: 8s;
    

}

.slider-shape {
    transform: skewX(18deg);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 40px;
    top: 0;
}

.slider-shape div {
    background-color: var(--bg-dark);
    width: 100px;
    height: 65%;
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
}

.swiper-slide-active .slider-shape div {
    visibility: visible;
    opacity: 1;
}

.slider-shape div:nth-child(2) {
    background-color: var(--primary-color);
    height: 40%;
    left: 50px;
}

.slider-shape div:nth-child(3) {
    width: 50px;
    height: 15%;
    left: 40px;
    top: auto;
    bottom: 0;
}

.slider-shape div:nth-child(4) {
    background-color: var(--primary-color);
    width: 70px;
    height: 10%;
    left: 60px;
    top: auto;
    bottom: 0;
}

.slider-content-wrap {
    height: 550px;
}

.slider-caption.medium {
    font-family: var(--primary-font);
    color: var(--heading-color);
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.slider-caption.medium .inner-layer div {
    position: relative;
    padding-left: 15px;
}

.slider-caption.medium .inner-layer div:before {
    background-color: var(--primary-color);
    box-shadow: 0px 0px 0px 3px rgba(255, 153, 0, 0.5);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.slider-caption.big {
    font-family: var(--primary-font);
    font-size: 56px;
    line-height: 60px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.slider-caption.small {
    font-family: var(--primary-font);
    font-size: 18px;
    line-height: 28px;
    color: var(--grey-color);
    margin-bottom: 20px;
}






/* Slider Pagination */
.slider-controls {
    background-color: #fff;
    border-radius: 2px;
    width: 300px;
    height: 80px;
    padding: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 5px;
    z-index: 10;
}

.slider-controls .slider-pagination {
    width: auto;
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.slider-control {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s cubic-bezier(.165, .85, .45, 1);
}

.slider-control:hover {
    color: goldenrod;
}

.slider-control span {
    font-size: 30px;
    margin-top: 3px;
    line-height: 1;
}

.slider-pagination .swiper-pagination-current {
    font-size: 42px;
    font-weight: 500;
    color: goldenrod;
}

@media (min-width: 1200px) {
    .slider-controls {
        width: 450px;
        justify-content: flex-end;
        column-gap: 60px;
    }
}


/* Responsive */
@media (max-width: 992px) {

    .slider-content-wrap {
        height: 500px;
    }

    .slider-caption.big {
        font-size: 48px;
        line-height: 52px;
    }

    .slider-img-wrap {
        display: none;
    }



}

@media (max-width: 767px) {

    div br {
        display: none;
    }

    .slider-caption.big {
        font-size: 36px;
        line-height: 46px;
    }

}
