.our_projects {
    padding: 65px 16px 56px;
    overflow-x: hidden;
    background: #242223;
    position: relative;
    margin-bottom: 120px;
}

.our_projects__container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.our_projects h2 {
    font-family: Lato;
    font-weight: 700;
    font-size: 36px;
    line-height: 46.8px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    margin-bottom: 14px;
    text-align: center;
}

.our_projects__desc {
    font-family: Lato;
    font-weight: 400;
    font-size: 24px;
    line-height: 28.8px;
    color: #CCCCCC;
    margin-bottom: 45px;
    text-align: center;
}

.our_projects__card {
    /* width: 253px;
    height: 414px; */
    /* border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease-in-out; */
    /* width: 253px;
    height: 584px; */
}

.our_projects__card .row {
    width: 253px;
    height: 584px;
    position: relative;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our_projects__card .wrapper {
    width: 253px;
    height: 414px;
    overflow: hidden;
    border-radius: 20px;
    display: unset;
}

.our_projects__card img {
    width: 100%;
    height: 100%;
    /* transition: 0.5s ease-in-out; */
    transition: linear;
}
.our_projects__card:hover img{
    transition: 0.5s ease-in-out;
}

.our_projects__info {
    width: 332px;
    padding: 24px 18px 23px;
    border-radius: 0px 20px 0px 20px;
    background: #242223CC;
    position: absolute;
    left: -1px;
    bottom: -1px;
}

.our_projects__info::after {
    content: '';
    position: absolute;
    top: -11%;
    right: -4%;
    width: 45px;
    height: 45px;
    background-image: url('../../../content/dam/asianpaintsbeautifulhomes/home-page/new-home-page-images/product-riderection-icon.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transition: 0.3s linear;
    opacity: 0;
}

.our_projects__card:hover .our_projects__info::after {
    opacity: 1;
}

.our_projects__card:hover img {
    transform: scale(1.2);
}

.our_projects__info {
    opacity: 0;
}

.our_projects__info .our_projects_locationTxt {
    font-family: Lato;
    font-size: 18px;
    font-weight: 500;
    line-height: 23.4px;
    color: #C0C0C0;
    margin-bottom: 12px;
}

.our_projects__info .our_projects_cardInfo {
    font-family: Lato;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    color: #FFFFFF;
}

/* .our_projects__card.slick-center {
    width: 522px;
    height: 584px;
} */

/* .our_projects__card.slick-center .row {
    width: 522px;
    height: 584px;
}

.our_projects__card.slick-center .wrapper {
    width: 522px;
    height: 584px;
}
 */
 .our_projects .centered-slide {
    /* width: 522px;
    height: 584px;  */
    width: 507px;
    height: 569px;
}

.our_projects .centered-slide .row {
    width: 100%; 
    height: 100%; 
}

.our_projects .centered-slide .wrapper {
    width: 100%; 
    height: 100%; 
    /* transition: 0.3s ease-in-out; */
    transition: linear;
}

.our_projects .slick-slide {
    margin-right: 8px;
    margin-left: 8px;
}

.our_projects .slick-list {
    overflow: visible;
}

.our_projects__card.slick-center .our_projects__info {
    opacity: 1;
    transition: 1s ease-in-out;
}

.our_projects__arrow_wrapper {
    margin-top: 46px;
    margin-bottom: 51px;
    max-width: 522px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: right;
    padding-right: 105px;
}

.our_projects__arrow_wrapper a {
    color: #FFFFFF;
    font-family: Lato;
    font-size: 18px;
    font-weight: 500;
    line-height: 29px;
    letter-spacing: -0.011em;
}

.our_projects_btn {
    min-width: 220px;
    width: fit-content;
    height: 48px;
    padding: 14px 46px;
    border-radius: 45px;
    background: #7345B2;
    font-family: Lato;
    font-size: 18px;
    font-weight: 700;
    line-height: 25.2px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.our_projects .slick-slider {
    position: relative;
}

.our_projects .slick-prev {
    left: unset;
    top: unset;
    bottom: -14%;
    right: 34%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our_projects .slick-next {
    right: 30.5%;
    left: unset;
    top: unset;
    bottom: -14%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our_projects .slick-prev:before {
    content: '';
    background-image: url('../../../content/dam/asianpaintsbeautifulhomes/homepage-revamp/our-project/project-left-arrow.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
}

.our_projects .slick-next:before {
    content: '';
    background-image: url('../../../content/dam/asianpaintsbeautifulhomes/homepage-revamp/our-project/project-right-arrow.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
}

.our_projects .slick-dots {
    width: fit-content;
    bottom: -11.5%;
    left: 30%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our_projects .slick-dots li img:nth-child(1) {
    display: block;
}

.our_projects .slick-dots li img:nth-child(2) {
    display: none;
}

.our_projects .slick-dots li.slick-active a{
    /* position: relative; */
    /* margin-left: 20px; */
}

.our_projects .slick-dots li.slick-active img:nth-child(1) {
    display: none;
}

.our_projects .slick-dots li.slick-active img:nth-child(2) {
    display: block;
}
.our_projects .slick-dots li.slick-active span::after{
    /* width: 27px;
    border-radius: 2px;
    content:'';
    height: 0.7px;
    position: absolute;
    background-color: white;
    top: 50%;
    left: 25px;
    transform: translateX(-50%) */
    width: 27px;
    border-radius: 2px;
    content: '';
    height: 0.7px;
    position: absolute;
    background-color: white;
    top: 50%;
    transform: translateX(13px);
    left: 0;
}

.our_projects .slick-dots li.slick-active + li{
    margin-left: 32px;
}

.our_projects .slick-dots li.slick-active:last-child {
    margin-left: 32px;
}

.our_projects .slick-dots li.slick-active:last-child span::after {
    left: unset;
    transform: unset;
    right: 13px;
}
.our_projects ul.slick-dots img {
    /* width: 15px;
    height: 13px; */
    width: 100%;
    height: 100%;
}
.our_projects .slick-dots li.slick-active{
    /* margin: 0; */
}
.our_projects .slick-dots li{
    margin-right: 5px;
    width: 8px;
    height: 8px;
}
.our_projects .slick-dotted.slick-slider {
    margin-bottom: 0;
}
.slick-next, .slick-prev {
    z-index: 99;
    color: black;
}

.our_projects .slick-prev::before , .our_projects .slick-next::before{
    opacity: 1 !important;
}
.our_projects .slick-prev:hover:before{
    opacity: unset !important;
    background-image: url('../../../content/dam/asianpaintsbeautifulhomes/homepage-revamp/our-project/white-arrow-hover.png');
    transform: scale(-1);
}
.our_projects .slick-next:hover:before {
    opacity: unset !important;
    background-image: url('../../../content/dam/asianpaintsbeautifulhomes/homepage-revamp/our-project/white-arrow-hover.png');
} 

@media screen and (max-width : 992.9px) {
    .our_projects {
        padding: 40px 16px;
        margin-bottom: 80px;
    }

    .our_projects h2 {
        font-size: 24px;
        line-height: 31.2px;
        margin-bottom: 10px;
    }

    .our_projects__desc {
        font-size: 16px;
        line-height: 19.2px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

   /*  .our_projects__card.slick-center .row {
        width: 280px;
        height: 340px;
    } */

    .our_projects__card .row {
        /* width: 146px;
        height: 340px; */
        width: 100%;
        height: 100%;
        transition: none;
    }

  /*   .our_projects__card.slick-center .wrapper {
        width: 280px;
        height: 340px;
        transition: 0.3s ease-in-out;
    }
 */
    .our_projects__card .wrapper {
        /* width: 146px;
        height: 240px; */
        width: 280px;
        height: 340px;
        opacity: 40%;
        border-radius: 10px;
    }

    .our_projects__info {
        width: 220px;
        padding: 16px;
        border-radius: 0 20px 0 8px;
    }

    .our_projects__info::after {
        top: -5%;
        right: -3%;
        width: 24px;
        height: 24px;
    }

    .our_projects__info .our_projects_locationTxt {
        font-size: 12px;
        line-height: 15.6px;
        margin-bottom: 6px;
    }

    .our_projects__info .our_projects_cardInfo {
        font-size: 16px;
        line-height: 20.8px;
    }

    .our_projects__arrow_wrapper a {
        font-size: 16px;
        font-weight: 400;
        line-height: 29.8px;
    }

    .our_projects_btn {
        min-width: 180px;
        height: 44px;
        padding: 16px 33px;
        border-radius: 45px;
        font-size: 16px;
        line-height: 22.4px;
    }

    .our_projects__arrow_wrapper {
        justify-content: center;
        margin-bottom: 20px;
        margin-top: 57px;
        padding: unset;
    }
    .our_projects .slick-dots{
        /* bottom: 21.5%; */
        left: 50%;
        transform: translateX(-50%);
    }
    .our_projects .slick-dots li.slick-active span::after{
        width: 20px;
        /* left: 22px; */
        margin-left: 2px;
    }
    .our_projects .slick-dots li.slick-active + li{
        margin-left: 30px;
    }
    .our_projects .centered-slide {
        width: 280px;
        height: 340px;
        opacity: 1;
        overflow: hidden;

    }
    
    .our_projects .centered-slide .row {
        width: 100%; 
        height: 100%; 
        overflow: hidden;
    }
    
    .our_projects .centered-slide .wrapper {
        width: 100%; 
        height: 100%; 
        /* transition: 0.3s ease-in-out; */
        transition: none;
        opacity: 1;
        overflow: hidden;
    }
    .our_projects__card img {
        transition: 0.2s ease-in-out;
    }
    .our_projects__card.slick-center .our_projects__info{
        transition: 0.2 ease-in-out;
    }

    .our_projects__card:hover img {
        transform: none;
    }
    .our_projects__card.slick-active:hover img {
        transform: scale(1.1);
        /* transition: all .3s ease-in-out; */
    }
    .our_projects .slick-dots li.slick-active:last-child {
        margin-left: 30px;
    }
    .our_projects .slick-dots li.slick-active:last-child span::after {
        right: 16px;
    }
}