/* main content */
.hero_slider {
    max-width: 1440px;
    padding: 30px 50px 50px;
    /* overflow: hidden; */
    
    margin: auto;
}
.hero-slider-carousel {
    /* visibility: hidden;
    opacity: 0; */
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}
.hero-slider-carousel .slick-slide {
    height: 500px;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.hero-slider-carousel .slick-cloned {
    pointer-events: none;
    /* opacity: 0.3; */
}

.hero-slider-carousel .slick-slide img,
.hero-slider-carousel .slick-slide picture {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover !important;
    object-position: center !important;
    /* max-height: 500px; */
}

.hero-slide-carousel .slick-slide[aria-hidden="true"] {
  visibility: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
  display: none !important;
}

.hero-slide-carousel .slick-slide[aria-hidden="false"] {
  visibility: visible !important;
  position: relative !important;
  pointer-events: auto !important;
  display: block !important;
}
/* image inside carousel */
/* .hero_slide {
    width: 100%;
    height: 500px;
    overflow: hidden;
} */
/* customize slick */
.slick-dotted.slick-slider {
    margin-bottom: 0;
}
.slick-dots {
    left: 0;
    bottom: 16px;
    transition: all 0.4s ease;
}
.slick-dots li  {
    width: 10px;
    height: 10px;
}
.slick-dots li.slick-active  {
    background: var(--white1);
    height: 10px;
    width: 10px;
    border-radius: 50px;
    transition: all 0.4s ease;
}
.slick-dots li {
    width: 10px;
    height: 10px;
    background: var(--greyText1);
    border-radius: 50px;
    transition: all 0.4s ease;
}
.slick-dots li span.custom-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50px;
    transition: all 0.4s ease;
}
/* slick-next\prev */
.custom-prev, .custom-next {
    position: absolute;
    height: 50px;
    width: 50px;
    cursor: pointer;
    color: var(--white1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}
.custom-prev rect,
.custom-next rect {
    transition: all 0.4s ease; 
}
.custom-prev:hover rect, 
.custom-next:hover rect {
    color: var(--blue1);
}
.custom-prev svg, 
.custom-next svg {
    transition: all 0.4s ease; 
}
.custom-prev:hover svg, 
.custom-next:hover svg {
    /* fill: var(--blue1); */
    border-radius: 8px;
    background-color: var(--blue1);
}
.custom-prev svg, .custom-next svg {
    width: 50px;
    height: 50px;
}
.custom-prev {
    bottom: 45%;
    left: 20px;
    z-index: 1;
    transition: all 0.4s ease;
}
.custom-next {
    right: 20px;
    bottom: 45%;
    z-index: 1;
    transition: all 0.4s ease;
}

.desktop-image {
    display: block;
    width: 100%;
    overflow: hidden;
    height: 500px;
    aspect-ratio: 16 / 9;
    position: relative;
}
.desktop-image img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
/* Hero slider for image*/
.mobile-image,
.tablet-image {
    display: none;
}

@media (max-width: 1150px) {
    .hero_slider {
        padding: 0 0 50px;
    }
    .hero_slide {
        height: auto;
        width: 100%;
    }
    .hero-slider-carousel {
        border-radius: unset;
        height: 400px;
    }
    .hero-slider-carousel .slick-slide img {
        border-radius: unset;
        height: 400px;
    }
    .tablet-image {
        display: block;
        width: 100%;
        height: 400px;
        overflow: hidden;
        position: relative;
        /* aspect-ratio: 16 / 9; */
    }
    .tablet-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        /* aspect-ratio: 16 / 9; */
    }
    .desktop-image {
        display: none;
    }
}
@media (max-width: 767px) {
    .hero_slide {
        height: 600px;
    }
    /* Hero slider for tablet*/
    .mobile-image {
        height: 600px;
        display: block;
        width: 100%;
        overflow: hidden;
        position: relative;
    }
    .mobile-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .hero-slider-carousel {
        border-radius: unset;
        height: 600px;
    }
    .hero-slider-carousel .slick-slide {
        height: 600px;
    }
    .hero-slider-carousel .slick-slide img {
        height: 600px;
        border-radius: unset;
    }
    .custom-prev, .custom-next {
        height: 40px;
        width: 40px;
    }
    .custom-prev svg, .custom-next svg {
        width: 40px;
        height: 40px;
    }
    .slick-dots {
        bottom: 30px;
    }
    .custom-prev {
        bottom: 20px;
        left: 20px;
    }
    .custom-next {
        right: 20px;
        bottom: 20px;
    }
    .slick-dots li span.custom-dot {
        height: 8px;
        width: 8px;
    }
    .slick-dots li.slick-active  {
        height: 8px;
        width: 8px;
    }
    .slick-dots li  {
        height: 8px;
        width: 8px;
    }
    /* Hero slider for tablet*/
    .tablet-image {
        display: none;
    }
}