/* Ripple Container */
.ripple-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    opacity: 0.5;
    border: 5px solid rgba(168, 85, 247, 0.7);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
    animation: ripple-animation 5s infinite linear;
}

/* Multiple Ripple Layers */
.ripple-1 {
    animation-delay: 0s;
}
.ripple-2 {
    animation-delay: 1.5s;
    width: 550px;
    height: 550px;
}
.ripple-3 {
    animation-delay: 3s;
    width: 600px;
    height: 600px;
}

/* Ripple Animation */
@keyframes ripple-animation {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Ripple Button Effect */
.ripple-button {
    position: relative;
    overflow: hidden;
}

.ripple-button::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.3);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition: all 0.5s ease-out;
}

.ripple-button:hover::after {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
}

/* Hide Default Cursor */
body {
    cursor: none;
}

/* Custom Purple Circle Cursor */
.circle-cursor {
    position: fixed;
    width: 40px; /* Adjust size */
    height: 40px;
    background: rgba(170, 85, 255, 0.9); /* Purple */
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, width 0.6s, height 0.6s; /* Smooth effect */
}

/* Hover Effect: Cursor Grows */
a:hover, button:hover, .hover-effect {
    cursor: none;
}

a:hover ~ .circle-cursor,
button:hover ~ .circle-cursor {
    width: 35px;
    height: 35px;
    background: rgba(170, 85, 255, 0.9); /* Brighter Purple */
}
/* Make rotation slower */
@keyframes spin-slower {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slower {
    animation: spin-slower 12s linear infinite; /* Slower rotation */
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Animation */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.9), rgba(45, 45, 45, 0.9));
    border: 1px solid rgba(160, 100, 255, 0.2);
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.07) rotateX(5deg) rotateY(5deg);
    box-shadow: 0px 15px 30px rgba(160, 100, 255, 0.6);
}

.service-card img {
    transition: transform 0.3s ease-in-out;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(160, 100, 255, 0.3), transparent);
    transition: opacity 0.4s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    top: 0;
    left: 0;
}

/* Particle Container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Behind content */
}

/* Particle Style */
.particle {
    position: absolute;
    bottom: -10%;
    width: 6px;
    height: 6px;
    background-color: rgba(154, 92, 255, 0.692); /* Purple glow */
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

/* Randomized Particle Positions & Sizes */
.particle:nth-child(1) { left: 10%; width: 5px; height: 5px; animation-duration: 6s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; width: 8px; height: 8px; animation-duration: 5s; animation-delay: 1s; }
.particle:nth-child(3) { left: 40%; width: 6px; height: 6px; animation-duration: 7s; animation-delay: 2s; }
.particle:nth-child(4) { left: 55%; width: 10px; height: 10px; animation-duration: 6s; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 70%; width: 4px; height: 4px; animation-duration: 5.5s; animation-delay: 2.5s; }
.particle:nth-child(6) { left: 85%; width: 7px; height: 7px; animation-duration: 6.8s; animation-delay: 3s; }
.particle:nth-child(7) { left: 15%; width: 9px; height: 9px; animation-duration: 7.2s; animation-delay: 2s; }
.particle:nth-child(8) { left: 90%; width: 6px; height: 6px; animation-duration: 5.8s; animation-delay: 1s; }

/* Animation for Floating Effect */
@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50vh) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(0.8);
        opacity: 0;
    }
}

/* Client Carousel */
.client-carousel {
    display: flex;
    animation: scrollInfinite 15s linear infinite;
    width: max-content;
}

/* Individual Client Logos */
.client-logo img {
    width: 120px; /* Adjust size */
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Animation for Infinite Scroll */
@keyframes scrollInfinite {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Smooth Infinite Scrolling */
.client-carousel {
    display: flex;
    animation: scrollInfinite 15s linear infinite;
    width: max-content;
}

/* Individual Client Logos */
.client-logo img {
    width: 120px;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Infinite Scroll Animation */
@keyframes scrollInfinite {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.animate-marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    min-width: 100%;
}