/**
 * Lightweight Vanilla JS Slider Styles
 */
.vanilla-slider img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}
.vanilla-slider,
.vanilla-slider * {
    box-sizing: border-box !important;
}
.vanilla-slider {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.vanilla-slider .vs-track {
    display: flex;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    /* We don't use transition here by default, it's applied via JS */
    will-change: transform;
}

.vanilla-slider .slide {
    flex: 0 0 100%; /* Default width, overriden by JS based on data-slides */
    max-width: 100%;
    margin: 0 !important;
    box-sizing: border-box !important;
    /* Optional: you can add padding to slides if they need space */
    padding: 0 10px; /* Slight padding to prevent harsh side cuts */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
    border: none !important;
}

.vanilla-slider .slide img:not(.person-thumbnail) {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.person-thumbnail,
.test-video .person-thumbnail,
.test-video1 img,
.test-video img.person-thumbnail {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

/* White Faded Edge Overlays */
.vanilla-slider.slider-fade-white::before,
.vanilla-slider.slider-fade-white::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px; /* Adjust fade width */
    z-index: 2;
    pointer-events: none;
}

.vanilla-slider.slider-fade-white::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.vanilla-slider.slider-fade-white::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}


/* Dots */
.vanilla-slider .vs-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0 10px 0;
    width: 100%;
}
.vanilla-slider .vs-dots li {
    margin: 0 5px;
}
.vanilla-slider .vs-dots button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #d6d6d6;
    border-radius: 50%;
    transition: background 0.3s;
}
.vanilla-slider .vs-dots li.vs-active button {
    background: #007bff; /* Primary color */
}

/* Arrows */
.vanilla-slider .vs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border: none;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}
.vanilla-slider .vs-arrow:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.vanilla-slider .vs-arrow:focus {
    outline: none;
}
.vanilla-slider .vs-arrow::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
}
.vanilla-slider .vs-prev {
    left: 10px;
}
.vanilla-slider .vs-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}
.vanilla-slider .vs-next {
    right: 10px;
}
.vanilla-slider .vs-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* Specific styling for the Mobile Apps Slider */
.cz-mobile-slider .vanilla-slider .vs-arrow {
    top: 20px;
    transform: none;
    width: 40px;
    height: 40px;
}
.cz-mobile-slider .vanilla-slider .vs-prev {
    left: auto;
    right: 70px; /* Adjust to place it next to the right arrow */
}
.cz-mobile-slider .vanilla-slider .vs-next {
    right: 20px;
}
.cz-mobile-slider .vanilla-slider .vs-dots {
    position: absolute;
    bottom: 25px;
    margin: 0;
    z-index: 10;
}
.cz-mobile-slider .vanilla-slider .vs-dots button {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
}
.cz-mobile-slider .vanilla-slider .vs-dots li.vs-active button {
    background: #ea5040; /* Matching the red color in the screenshot */
}
.cz-mobile-slider .vanilla-slider .vs-dots li {
    margin: 0 4px;
}
.cz-mobile-slider .vanilla-slider .slide {
    padding-bottom: 60px; /* Creates space for the absolutely positioned dots over the colored background */
}

/* Specific styling for the Testimonial Slider */
.testimonial-block .vanilla-slider {
    margin-top: -70px;
    padding-top: 70px;
    padding-bottom: 60px;
    pointer-events: none;
}
.testimonial-block .vanilla-slider .vs-track,
.testimonial-block .vanilla-slider .vs-arrow,
.testimonial-block .vanilla-slider .vs-dots {
    pointer-events: auto;
}
.testimonial-block .vanilla-slider .vs-arrow {
    top: 0px;
    transform: none;
    width: 40px;
    height: 40px;
    z-index: 99;
}
.testimonial-block .vanilla-slider .vs-prev {
    left: auto;
    right: 70px;
}
.testimonial-block .vanilla-slider .vs-next {
    right: 15px;
}
.testimonial-block .vanilla-slider .vs-dots {
    position: absolute;
    bottom: 15px;
    margin: 0;
    z-index: 10;
}
.testimonial-block .vanilla-slider .vs-dots button {
    width: 8px;
    height: 8px;
    background: #c3d6db;
    border-radius: 50%;
}
.testimonial-block .vanilla-slider .vs-dots li.vs-active button {
    background: #62cfce; /* Matching the teal accent */
}
.testimonial-block .vanilla-slider .vs-dots li {
    margin: 0 4px;
}

/* Specific styling for Hire Developer / Open Positions Sliders (Arrows at Top-Right, Pixel-Perfect Cards & Shadows) */
.cz-open-pos-slider .vanilla-slider,
.cz-hire-slick .vanilla-slider,
.cz-ios-dev-expert .vanilla-slider,
.vanilla-slider.arrows-top-right {
    padding-top: 60px;
    padding-bottom: 25px;
    overflow: hidden !important;
    position: relative;
    width: 100%;
}

.cz-open-pos-slider .vanilla-slider .vs-track,
.cz-hire-slick .vanilla-slider .vs-track,
.cz-ios-dev-expert .vanilla-slider .vs-track,
.vanilla-slider.arrows-top-right .vs-track {
    margin-left: -18px !important;
    margin-right: -18px !important;
    width: calc(100% + 36px) !important;
}

.cz-open-pos-slider .vanilla-slider .slide,
.cz-hire-slick .vanilla-slider .slide,
.cz-ios-dev-expert .vanilla-slider .slide,
.vanilla-slider.arrows-top-right .slide {
    padding: 15px 18px !important;
    align-items: stretch;
}

.cz-open-pos-slider .cz-card-1,
.cz-hire-slick .cz-card-1,
.cz-ios-dev-expert .cz-card-1 {
    width: 100%;
    min-height: 450px;
    margin: 0;
    box-shadow: 0px 5px 25px rgba(180, 190, 220, 0.3) !important;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.cz-open-pos-slider .vanilla-slider .vs-arrow,
.cz-hire-slick .vanilla-slider .vs-arrow,
.cz-ios-dev-expert .vanilla-slider .vs-arrow,
.vanilla-slider.arrows-top-right .vs-arrow {
    top: 5px;
    transform: none;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #dcdfe6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.cz-open-pos-slider .vanilla-slider .vs-arrow:hover,
.cz-hire-slick .vanilla-slider .vs-arrow:hover,
.cz-ios-dev-expert .vanilla-slider .vs-arrow:hover,
.vanilla-slider.arrows-top-right .vs-arrow:hover {
    background: #ffffff;
    border-color: #b3bac5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cz-open-pos-slider .vanilla-slider .vs-arrow::before,
.cz-hire-slick .vanilla-slider .vs-arrow::before,
.cz-ios-dev-expert .vanilla-slider .vs-arrow::before,
.vanilla-slider.arrows-top-right .vs-arrow::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #5B6B6C;
    border-right: 2px solid #5B6B6C;
}

.cz-open-pos-slider .vanilla-slider .vs-prev,
.cz-hire-slick .vanilla-slider .vs-prev,
.cz-ios-dev-expert .vanilla-slider .vs-prev,
.vanilla-slider.arrows-top-right .vs-prev {
    left: auto;
    right: 54px;
}

.cz-open-pos-slider .vanilla-slider .vs-next,
.cz-hire-slick .vanilla-slider .vs-next,
.cz-ios-dev-expert .vanilla-slider .vs-next,
.vanilla-slider.arrows-top-right .vs-next {
    right: 0px;
}





