
    /* Add this to your CSS file */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    perspective: 1000px;
    border: 1px solid rgba(0, 146, 71, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 146, 71, 0.2) !important;
}

/* Icon container for 3D effect */
.service-title span {
    display: inline-block;
    perspective: 1000px;
    margin-right: 15px;
}

.service-title span i {
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 2.8rem;
    color: #009247;
    display: inline-block;
    transform-style: preserve-3d;
    transform: translateZ(0) rotateY(0deg);
    text-shadow: 0 2px 10px rgba(0, 146, 71, 0.2);
}

/* Main 3D Forward Animation */
.service-card:hover .service-title span i {
    animation: slowMoForward 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    color: #00C851;
}

/* Keyframes for slow-motion forward movement */
@keyframes slowMoForward {
    0% {
        transform: translateZ(0) scale(1) rotateY(0deg);
        text-shadow: 0 2px 10px rgba(0, 146, 71, 0.2);
    }
    20% {
        transform: translateZ(30px) scale(1.15) rotateY(10deg);
        text-shadow: 0 5px 20px rgba(0, 200, 81, 0.4);
    }
    40% {
        transform: translateZ(50px) scale(1.25) rotateY(-5deg);
        text-shadow: 0 8px 25px rgba(0, 200, 81, 0.5);
    }
    60% {
        transform: translateZ(40px) scale(1.2) rotateY(5deg);
        text-shadow: 0 10px 30px rgba(0, 200, 81, 0.6);
    }
    80% {
        transform: translateZ(35px) scale(1.18) rotateY(-2deg);
        text-shadow: 0 8px 25px rgba(0, 200, 81, 0.5);
    }
    100% {
        transform: translateZ(25px) scale(1.1) rotateY(0deg);
        text-shadow: 0 5px 20px rgba(0, 200, 81, 0.4);
    }
}

/* Add depth to card for better 3D effect */
.service-card .service-info {
    transform-style: preserve-3d;
    position: relative;
}

/* Optional: Add floating particles effect */
.service-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--x) var(--y), 
                rgba(0, 200, 81, 0.15) 0%, 
                transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: particleGlow 2.5s ease-in-out forwards;
}

@keyframes particleGlow {
    0%, 100% { opacity: 0; }
    30%, 70% { opacity: 1; }
}

/* Add mouse position tracking for interactive effect */
.service-card {
    position: relative;
    overflow: hidden;
}

/* Enhanced version with smooth entry and exit */
.service-card .service-title span i {
    transform: translateZ(0) scale(1);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

/* Alternative: Subtler slow-motion effect */
@keyframes gentleForward {
    0% {
        transform: translateZ(0) scale(1);
        filter: brightness(1);
    }
    30% {
        transform: translateZ(40px) scale(1.2);
        filter: brightness(1.3) drop-shadow(0 0 15px rgba(0, 200, 81, 0.3));
    }
    70% {
        transform: translateZ(30px) scale(1.15);
        filter: brightness(1.2) drop-shadow(0 0 10px rgba(0, 200, 81, 0.2));
    }
    100% {
        transform: translateZ(20px) scale(1.1);
        filter: brightness(1.1) drop-shadow(0 0 5px rgba(0, 200, 81, 0.1));
    }
}

/* For even slower motion (3 seconds) */
.service-card.slow-motion:hover .service-title span i {
    animation: slowMoForward 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
