.custom-carousel-2 .custom-carousel-wrapper {
    position: relative;
}

.custom-carousel-2-wrapper .custom-next-button {
    display: none;
}

.custom-carousel-2 .slick-next::before {
    display: none;
}

.custom-carousel-2 .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    z-index: 3;
}

.custom-carousel-2 .slick-slide:not(.slick-active) {
    opacity: 0;
}

.custom-carousel-2 .slick-slide.slick-active {
    opacity: 1;
}

.custom-carousel-2 .slick-slide {
    transition: all 0.3s ease; 
    position: relative;
}


.custom-carousel-2 .slick-slide .slick-image {
    transition: all 0.3s ease; 
}

.custom-carousel-2  .slick-active.slick-current {
    filter: brightness(50%);
}

.custom-carousel-2 .slick-active:not(.slick-current) {
    filter: brightness(100%); 
}

.custom-carousel-2 .slick-active.slick-current .slick-image {
    transform: scale(0.8) translateX(15%);
}

.custom-carousel-2 .slick-active:not(.slick-current) .slick-image {
    transform: scale(1) translateX(-20%);
    z-index: 2;
}

/* Carousel 3 item */
/* .custom-carousel-3 {
    position: relative;
}

.custom-carousel-3 .slick-slide {
    transition: transform 0.3s ease, filter 0.3s ease;
    transform: scale(0.75);
    margin: 0 20px;
    filter: blur(5px);
}

.custom-carousel-3 .slick-center {
    transform: scale(1);
    position: relative;
    filter: none;
}

.custom-carousel-3 .slick-slide img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.custome-carousel-3 .slick-current ~ .custome-carousel-3 .slick-slide {
    transform: scale(0.8);
  }
    */

.custom-carousel-3 .slick-prev,
.custom-carousel-3 .slick-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    z-index: 3;
} 

.custom-carousel-3 .slick-slide img {
  width: min(100%, 1140px);
  margin: 0 auto;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

.slick-slide {
  transition: all ease-in-out .3s;
  transform: translate3d(30%, 0, 0) scale(0.8);
  /* opacity: .2; */
  filter: blur(5px);
}

.slick-active {
  /* opacity: .5; */
}

.slick-current {
  transform: scale(1);
  /* opacity: 1; */
  filter: none;
  position: relative;
  z-index: 2;
}

.slick-current ~ .slick-slide {
  transform: translate3d(-30%, 0, 0) scale(0.8);
}

.custom-carousel-3 .slick-prev::before,
.custom-carousel-3 .slick-next::before,
.custom-carousel-2 .slick-prev::before,
.custom-carousel-2 .slick-next::before {
    display: none;
}

.custom-carousel-3 .slick-prev {
    left: calc((100% - 1140px)/2);
}

.custom-carousel-3 .slick-next {
    right: calc((100% - 1140px)/2);
}

/* carousel sync */
.custom-carousel-sync-wrapper {
    width: 100%;
}

.custom-carousel-sync {
    width: 100%;
}

.custom-carousel-sync .item {
    width: 100%;
}

.custom-carousel-sync .slick-image {
    width: 100%;
    height: auto; /* Maintains the aspect ratio */
    display: block; /* Removes any inline-block spacing */
}

.custom-slider-sync {
    margin-top: 36px;
}

.custom-slider-sync .slick-slide {
    margin: 0 10px; 
    cursor: pointer;
}

.custom-slider-sync .slider-item img {
    width: 100%;
    height: auto; /* Maintains the aspect ratio */
    display: block; /* Removes any inline-block spacing */
}

.custom-carousel-3 .carousel-title,
.custom-carousel-sync .carousel-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(90deg, rgba(0,92,56,1) 0%, rgba(0,136,83,0.8) 60%, rgba(0,194,118,0) 100%);
    font-family: "utm-charlotte", Sans-serif;
    opacity: 0.8;
    color: #D2AA31;
    text-align: left;
    padding-left: 36px;
    font-size: 36px;
}


.custom-carousel-3 .slick-slide .carousel-title {
    display: none;
}

.custom-carousel-3 .slick-slide.slick-active .carousel-title {
    width: min(1140px, 100%);
    margin-left: calc((100% - 1140px)/2);
    display: block;
}



.custom-carousel-3 .carousel-title .carousel-icon,
.custom-carousel-sync .carousel-title .carousel-icon {
    margin-left: 10px;
    transition: margin 0.5s ease-in-out;
}

.custom-carousel-3:hover .carousel-title .carousel-icon,
.custom-carousel-sync:hover .carousel-title .carousel-icon {
    margin-left: 30px;
}


/* .custom-carousel-sync:hover .slick-image {
    border: solid 2px #005C38;
} */

.custom-slider-sync .slick-prev,
.custom-slider-sync .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    z-index: 3;
}

.custom-slider-sync .slick-prev::before,
.custom-slider-sync .slick-next::before {
    display: none;
}

.custom-slider-sync .slick-prev {
    left: 0;
}

.custom-slider-sync .slick-next {
    right: 0;
}

/* carousel popup */
.custom-carousel-popup-wrapper {
    width: 100%;
    overflow: hidden;
}

.custom-carousel-popup {
    width: 100%;
}

.custom-carousel-popup .item {
    width: 100%;
    cursor: pointer; /* Makes the items clickable */
}

.custom-carousel-popup .slick-image {
    width: 100%;
    height: auto; /* Maintains the aspect ratio */
    display: block; /* Removes any inline-block spacing */
}

.custom-carousel-popup .slick-title {
    text-align: center;
    margin-top: 10px;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center; /* Center modal content horizontally */
    align-items: center; /* Center modal content vertically */
    overflow: hidden;
}
.modal-content {
    position: relative;
    margin: 30px auto;
    padding: 20px;
    width: 80%;
    height: 80%;
    max-width: 700px;
    background-color: #fff;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 30px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.custom-carousel-popup .slick-prev,
.custom-carousel-popup .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    z-index: 3;
}



@media only screen and (max-width: 768px) {
    .custom-carousel-2 .slick-active.slick-current .slick-image {
        transform: scale(0.6) translateX(25%);
    }
    
    .custom-carousel-2 .slick-active.slick-current .slick-image {
        transform: scale(0.75) translateX(0%);
    }
    
    .custom-carousel-2 .slick-active:not(.slick-current) .slick-image {
        transform: scale(1.25) translateX(-30%);
        z-index: 2;
    }

        
    .custom-carousel-2 .slick-next {
        right: 0;
    }

    .custom-carousel-3 .slick-center {
        transform: scale(1.5);
    }

    .custom-carousel-3 .slick-slide {
        margin: 0 0;
    }

    .custom-slider-sync .slick-prev,
    .custom-slider-sync .slick-next,
    .custom-carousel-2 .slick-prev,
    .custom-carousel-2 .slick-next,
    .custom-carousel-3 .slick-prev,
    .custom-carousel-3 .slick-next  {
        width: 36px;
        height: 36px;
    }

    .custom-carousel-3 .carousel-title,
    .custom-carousel-sync .carousel-title {
        font-size: 30px;
        padding: 0;
        padding-left: 24px;
    }
}

/* Add this CSS in the enqueue styles section of your plugin or theme */
#locateContainer1, #locateContainer2 {
    width: 100%;
    transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

#locateContainer1 > *,
#locateContainer2 > * {
    transition: transform 0.5s ease-in-out;
    transform: translateX(100%);
}

#locateContainer1.visible > *,
#locateContainer2.visible > * {
    transform: translateX(0%);
}

#locateContainer1.visible, #locateContainer2.visible {
    opacity: 1;
    height: auto;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Apply the floating animation to the image within the button */
#toggleButton img {
    animation: float 2s ease-in-out infinite;
    cursor: pointer; /* Change cursor to pointer to indicate it's clickable */
}