.custom-slider h1 {
font-size:42px!important;
}
.custom-slider .slide {
    display: flex!important; /* Aligns children side by side */
    align-items: center; /* Centers them vertically */
    justify-content: space-between; /* Adds space between the columns */
    width: 100%; /* Ensures the container takes full width */
    height: 500px; /* Or any specific height as per design */
}

.custom-slider .text-content, .custom-slider .image-content {
    position: relative;
    flex: 1;
    overflow: hidden!important; /* Prevents content from spilling out */
    padding-top:2%;


}

.custom-slider .text-content {
    padding-left:10%;
    flex: 0 0 60%; /* Takes up 60% of the space */
    position: relative;
    width: 100%;
    height: 100%; /* Ensures the div takes full height of the parent */


}

.custom-slider .image-content {
    flex: 0 0 40%; /* Takes up 40% of the space */
    width: 100%;
    height: 100%; /* Ensures the div takes full height of the parent */
    background-size: cover;
    background-position: center;
    position: relative;

}

.text-overlay, .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.custom-slider .text-overlay {
    background: url('/wp-content/uploads/2024/04/Hero-Overlay-11.png') no-repeat center center;
    background-size: cover;

}

.custom-slider .image-overlay {
    background: url('/wp-content/uploads/2024/05/Hero-Overlay-Image-Column-2.png') no-repeat left center;
    background-size: cover;
}

.custom-slider .content {
    position: relative;
    z-index: 3;
    padding: 20px;
}

/* CSS from V1 */

.slick-dots {
    bottom:70px!important;
    display:none!important;
    visibility:hidden;
}
.slick-prev {
    z-index:1000;
}
.slick-prev:before, .slick-next:before  {
    color:black!important;
}
 .custom-slider  .slide-content {
    max-width: 80%;
    margin: 0 auto;
    text-align: left; /* Align text to the left */
    z-index:2;
    position:relative!important;
    font-size:16px;
}
.custom-slider .slide-content p {
    padding-bottom:15px;
}
.custom-slider h1 {
    color:#111126;
    font-size:50px;
  /* max-width:600px; */
}
.custom-slider p {
   /*  max-width:600px; */
    line-height:30px;
}
/* Text Content */
.custom-slider .slide-cta-btn {
    margin-top:5%;
    text-transform:uppercase;
    color:white;
    background-color:#29AC50;
    padding:11px 17px;
    border-radius:100px;
    letter-spacing:20%;
    font-weight:500;
    font-size:16px;
    border:2px #29AC50 solid;
}
.custom-slider .slide-cta-btn:hover {
    text-decoration:none;
    background-color:transparent;
    color:#29AC50;
    z-index:2000!important;
}
.slick-dotted.slick-slider {
    margin-bottom:0px!important;
}
.mobile-text-overlay {
    visibility:hidden;
}

@media (max-width: 1130px) {
    .custom-slider .slide {
        height:100%;
    }
    .custom-slider .text-content {
        padding:5% 10%;
        flex: 0 0 100%; /* Takes up 100% of the space */

    }
    
    .custom-slider .image-content {
        flex: 0 0 0%; /* Takes up 0% of the space */
    
    }
}

/*
@media (max-width: 767px) {
    .custom-slider .slide {
      flex-direction: column; 
    }
    .image-content {
        height:0px!important;
        display:none!important;
    }
    .text-overlay {
        display:none!important;
    }
    
    .custom-slider .text-content, .custom-slider .image-content {
      flex: 1;
      width: 100%;
    }
    
    .mobile-text-overlay {
        visibility:visible;
        width: 100%;
        height: 100%; 
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
  } */


  