/* Banner Image Animations */

/* Zoom and Pan Animation for Banner Images */
.slider-main .service-main-bg {
    animation: zoomPan 8s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes zoomPan {
    0% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.1) translateX(-20px);
    }
    100% {
        transform: scale(1) translateX(0);
    }
}

/* Fade In Animation for Text */
.slider-text .info {
    animation: fadeInUp 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Transition Between Slides */
.slider-section {
    position: relative;
    overflow: hidden;
}

.slider-main {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay Gradient Animation */
.background-img-slider-SecOne::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.3), transparent);
    animation: gradientShift 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
}

/* Text Slide Animation with Delay */
.text-slide {
    animation-delay: 0.3s;
}

/* Icon Animation */
.text-slide .fa-location-dot {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Heading Slide In Effect */
.quality {
    animation: slideInScale 1.2s ease-out;
    animation-fill-mode: both;
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}
