/*
 * Service Card Static Hover Effect
 * Ensures service cards have NO movement on hover - only color/shadow change
 * Version 2.0 - Maximum compatibility approach
 */

/* Use maximum specificity for all selectors to override anything else */
html body .service-box,
html body div.service-box,
html body .row .service-box,
html body .container .service-box,
html body [class*="col-"] .service-box {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition-property: none !important;
    transition-duration: 0s !important;
    transition: none !important;
    animation: none !important;
    will-change: box-shadow !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 30px !important;
    padding: 35px 25px !important;
}

/* Apply an instant shadow effect on hover without any movement */
html body .service-box:hover,
html body div.service-box:hover,
html body .row .service-box:hover,
html body .container .service-box:hover,
html body [class*="col-"] .service-box:hover {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition-property: none !important;
    transition-duration: 0s !important;
    transition: none !important;
    animation: none !important;
    box-shadow: 0 0 20px rgba(0, 70, 190, 0.25), 0 15px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(0, 70, 190, 0.15) !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 30px !important;
    padding: 35px 25px !important;
}

/* Reset all children elements */
html body .service-box *,
html body .service-box:hover * {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    animation: none !important;
    transition-property: none !important;
    transition: none !important;
}

/* Specifically target the service icon with high specificity */
html body .service-box .service-icon,
html body .row .service-box .service-icon,
html body .container .service-box .service-icon {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition: none !important;
    animation: none !important;
    margin: 0 auto 25px !important;
    position: relative !important;
}

/* Prevent icon from moving on hover with high specificity */
html body .service-box:hover .service-icon,
html body .row .service-box:hover .service-icon,
html body .container .service-box:hover .service-icon {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition: none !important;
    animation: none !important;
    margin: 0 auto 25px !important;
    position: relative !important;
}

/* Lock the icon inside the service-icon container */
html body .service-box .service-icon i,
html body .service-box:hover .service-icon i {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition: none !important;
    animation: none !important;
    position: relative !important;
}

/* Override any Bootstrap transitions or animations */
html body .service-box.fade,
html body .service-box.fade.in,
html body .service-box.collapse,
html body .service-box.collapse.in,
html body .service-box.collapsing {
    transform: none !important;
    transition: none !important;
    translate: none !important;
    animation: none !important;
}
