/* Premium Services Slider Styles */

.pbmit-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.pbmit-marquee-wrapper {
    display: flex;
    width: max-content;
    will-change: transform;
}

/* Premium Card Enhancements */
.pbmit-service-style-1 .pbminfotech-post-item {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: var(--pbmit-white-color);
    border-radius: 30px;
    margin: 20px 0;
    /* Add space for shadow */
}

.pbmit-marquee-wrapper .pbmit-service-style-1 {
    width: 420px;
    /* Fixed width to keep consistency */
    padding: 0 15px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .pbmit-marquee-wrapper .pbmit-service-style-1 {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .pbmit-marquee-wrapper .pbmit-service-style-1 {
        width: 300px;
    }
}


.pbmit-service-style-1:hover .pbminfotech-post-item {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

/* Ensure smooth image transition inside cards */
.pbmit-service-style-1 .pbmit-featured-img-wrapper img {
    transition: transform 0.6s ease;
}

.pbmit-service-style-1:hover .pbmit-featured-img-wrapper img {
    transform: scale(1.1);
}