.vds-slider {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

/* Dots Styling */
.vds-dots {
    position: absolute;
    left: 20px;
    top: 10%;
    height: 60%; /* Cover 80% of the slider height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
	z-index: 10;
}
.vds-dots:before {
    content: "";
    position: absolute;
    top: 50%;
    height: calc(100% - 20px);
    max-height: 90vh;
    width: 1px;
    background: #B0B7D04D;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.vds-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s ease;
    position: relative;
	transform: scale(0.3);
	cursor: pointer;
}
.vds-dot.active {
    background: #0073aa;
    transform: scale(1);
}
.vds-dot.active::after {
    content: attr(data-slide); /* Show the number on the active dot */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    opacity: 1;
}
.vds-dot::after {
    content: '';
    opacity: 0;
}
.vds-content {
    position: absolute;
    top: 50%;
    left: 10%;
    color: #fff;
    transform: translateY(-50%);
	z-index: 2;
	width: 100%;
	max-width: 600px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0px 20px 20px rgba(0, 0, 0, 0.5);
}
/* Apply Animations */
.vds-slide .vds-content h2,
.vds-slide .vds-content p {
	margin: 0;
    opacity: 0;
    position: relative;
    -webkit-animation-duration: 0.6s;
            animation-duration: 0.6s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}
.vds-slide.active .vds-content h2 {
    -webkit-animation-name: slideUp;
            animation-name: slideUp;
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}
.vds-slide.active .vds-content p {
    -webkit-animation-name: slideUp;
            animation-name: slideUp;
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}
.vds-slide.prev .vds-content h2,
.vds-slide.next .vds-content h2 {
    -webkit-animation-name: slideUpOut;
            animation-name: slideUpOut;
}
.vds-slide.prev .vds-content p,
.vds-slide.next .vds-content p {
    -webkit-animation-name: slideUpOut;
            animation-name: slideUpOut;
}
/* Transition for background image changes */
.vds-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Initially hidden */
    transform: scale(1.1); /* Slight zoom for entry effect */
    transition: opacity 1.5s ease, transform 1.5s ease; /* Smooth fade and zoom effect */
    z-index: 1; /* Ensure inactive slides are below the active slide */
}
.vds-slide.active {
    opacity: 1; /* Fully visible */
    transform: scale(1); /* Reset zoom to normal size */
    z-index: 2; /* Bring the active slide to the top */
}

.vds-slide.active:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.vds-slide.prev,
.vds-slide.next {
    opacity: 0; /* Hidden for non-active slides */
    transform: scale(1.1); /* Slight zoom-out effect */
    z-index: 1;
}
/* Ensure smoother transition for overlapping images */
.vds-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.vds-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    display: flex;
    gap: 10px;
    z-index: 9;
    transform: translateX(-50%);
}
.vds-nav button {
    background: #ffffff;
    color: #000000;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
}
.vds-nav button:hover {
	background: #0073aa;
	color: #ffffff;
}
.vds-nav button svg path {
    stroke: #000000;
}
.vds-nav button:hover svg path {
    stroke: #ffffff;
}
/* SlideUp Animation */
@-webkit-keyframes slideUp {
    from {
        transform: translateY(30px); /* Start below the current position */
        opacity: 0; /* Fully transparent */
    }
    to {
        transform: translateY(0); /* End at the original position */
        opacity: 1; /* Fully visible */
    }
}
@keyframes slideUp {
    from {
        transform: translateY(30px); /* Start below the current position */
        opacity: 0; /* Fully transparent */
    }
    to {
        transform: translateY(0); /* End at the original position */
        opacity: 1; /* Fully visible */
    }
}
@-webkit-keyframes slideUpOut {
    from {
        transform: translateY(0); /* Start at the current position */
        opacity: 1; /* Fully visible */
    }
    to {
        transform: translateY(-30px); /* Move up and out */
        opacity: 0; /* Fully transparent */
    }
}
@keyframes slideUpOut {
    from {
        transform: translateY(0); /* Start at the current position */
        opacity: 1; /* Fully visible */
    }
    to {
        transform: translateY(-30px); /* Move up and out */
        opacity: 0; /* Fully transparent */
    }
}
/* Heading and Description Styling */
.vds-content-heading {
    position: relative;
    opacity: 0; /* Hidden by default */
    -webkit-animation-duration: 0.6s;
            animation-duration: 0.6s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
}
.vds-content-desc {
    position: relative;
    opacity: 0; /* Hidden by default */
    -webkit-animation-duration: 0.6s;
            animation-duration: 0.6s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
}
/* Active Slide - Animate Heading and Description */
.vds-slide.active .vds-content-heading {
    -webkit-animation-name: slideUp;
            animation-name: slideUp; /* Slide up when active */
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; /* Slight delay for the heading */
}
.vds-slide.active .vds-content-desc {
    -webkit-animation-name: slideUp;
            animation-name: slideUp; /* Slide up when active */
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s; /* Slight delay for the description */
}
/* Outgoing Slide - Animate Heading and Description */
.vds-slide.prev .vds-content-heading,
.vds-slide.next .vds-content-heading {
    -webkit-animation-name: slideUpOut;
            animation-name: slideUpOut; /* Slide out when changing slide */
}
.vds-slide.prev .vds-content-desc,
.vds-slide.next .vds-content-desc {
    -webkit-animation-name: slideUpOut;
            animation-name: slideUpOut; /* Slide out when changing slide */
}
/* Editor Mode */
/* Ensure active slide is always visible in editor mode */
.elementor-editor-active .vds-slider .vds-slide {
    opacity: 1 !important;
    transform: scale(1) !important;
}
.elementor-editor-active .vds-slider .vds-slide:not(.active) {
    display: none !important;
}

@media only screen and (max-width:475px) { 
	.vds-content {
		left: 20%;
		right: 10%;
		max-width: 300px;
	}
	.vds-slide.active .vds-content-heading {
		font-size: 28px !important;
	}
	.vds-slide.active .vds-content p {
		font-size: 16px !important;
	}

}