/* High-Speed Slider Animation Settings (1-Second Smooth Loop) */
.fast-moving-slider .carousel-item {
    transition: transform 0.4s ease-in-out !important; /* Fast slide snap speed */
}

/* Fallback if you are using fade style instead of sliding slide style */
.fast-moving-slider.carousel-fade .carousel-item {
    transition: opacity 0.3s ease-in-out !important;
}

/* Fix image scaling & crop uniformity */
.object-fit-cover {
    object-fit: cover;
    height: auto;
    max-height: 574px;
}

/* Desktop position for the feedback box over slider */
.floating-feedback-box {
    bottom: -30px;
    left: 40px;
    right: 20px;
}

/* Responsive Overhaul for Mobile and Tablet Devices */
@media (max-width: 991px) {
    .dynamic-slider-column {
        margin-bottom: 60px; /* Prevents text block from dropping layout element */
    }
    .floating-feedback-box {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: 20px;
        width: 100%;
    }
    .overflow-hidden-mobile {
        overflow: visible !important;
    }
    .object-fit-cover {
        max-height: 400px; /* Scales down smoothly for better phone visibility */
    }
}

@media (max-width: 480px) {
    .custom-box-title {
        font-size: 16px !important;
    }
    .custom-box-text {
        font-size: 14px !important;
    }
}

