/*
Theme Name: Hello Child
Template: hello-elementor
*/
/* ===== Container ===== */
.service-box.slick-slide {
    height: auto !important;
    min-height: 550px;
}
.service-box-container{
  padding:60px 15px;
  max-width: 1280px;
  margin: auto;
  padding: 0;
}

/* ===== Card ===== */
.service-box {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: flex-end;
}

.service-box-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    transition: 0.4s ease;
}

.service-box-content {
    position: absolute;
    width: 100%;
    padding: 20px;
    color: #fff;
    transition: 0.4s ease;
    bottom: -60px;
    top: auto;
}
.service-box-icon {position: relative;top: -15px;}

/* Title default visible */
.service-box-title {
    font-size: 22px;
    font-weight: 600;
    transition: 0.4s ease;
    line-height: 1.7rem;
}
.service-box-title>a {
    color: #fff;
}
/* Hide description & button by default */
.services-desc,
.service-readmore {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}
.services-desc {
    margin-bottom: 15px;
}
/* Hover effect */
.service-box:hover .service-box-title {
    transform: translateY(-15px);
}

.service-box:hover .services-desc,
.service-box:hover .service-readmore {
    opacity: 1;
    transform: translateY(0);
}
.service-box:hover .service-box-content {
    bottom: 0;
}
.service-box:hover .service-box-icon {
    position: relative;
    top: -30px;
}
/* Optional overlay darker on hover */
.service-box:hover .service-box-overlay {
    background: rgba(0,0,0,0.6);
}

/* arrows desktop */
.slick-prev:before,
.slick-next:before{
  color:#000;
  font-size:30px;
}
.service-box-slider button.slick-arrow {
    border: 0;
    width: 50px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 100px;
    line-height: normal !important;
    z-index: 999;
}

.service-box-slider button.slick-arrow.slick-prev {
    left: -50px;
}
.service-box-slider button.slick-arrow.slick-next {
    right: -50px;
}
/* dots as bars */
.slick-dots li button:before{ display:none; }
.slick-dots li button{
  width:28px;
  height:4px;
  background:#ccc;
}
.slick-dots li.slick-active button{
  background:#000;
}

.service-box-slider .slick-prev:before, .service-box-slider .slick-next:before {
    content: '';
    display: none;
}
.service-box-slider ul.slick-dots {
    bottom: -40px;
}

.service-box-slider ul.slick-dots li {
    width: auto;
    height: auto;
}

.service-box-slider ul.slick-dots li button {
    background-color: var(--e-global-color-text);
    width: 5px !important;
    height: 5px !important;
}


.service-box-slider ul.slick-dots li.slick-active button {
    background: #fff;
}

@media (max-width: 767px) { 
    .service-box.slick-slide {
    min-height: 360px;
}
.service-box-content {
    bottom: -100px;
  
}
    
}


