/* Floating Services Styles */
.floating-services {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
    overflow: visible;
    transform-style: preserve-3d;
    margin-top: -20px;
}

.service-element {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.service-element:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 12px 40px rgba(30, 144, 255, 0.25);
    border: 1px solid #1E90FF;
    z-index: 10;
    background: rgba(255, 255, 255, 0.98);
}

.service-element i {
    font-size: 1.4rem;
    color: #1E90FF;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.service-element:hover i {
    transform: scale(1.2);
    color: #1E90FF;
}

.service-element span {
    color: #1C2035;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
    display: block;
    text-align: center;
}

@keyframes floatAnimation {
    0% {
        transform: translate(var(--x), var(--y)) scale(1) rotate(0deg);
        box-shadow: 0 8px 32px rgba(30, 144, 255, 0.15);
    }
    50% {
        transform: translate(calc(var(--x) - 10px), calc(var(--y) - 15px)) scale(1.02) rotate(2deg);
        box-shadow: 0 12px 40px rgba(30, 144, 255, 0.25);
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(1) rotate(0deg);
        box-shadow: 0 8px 32px rgba(30, 144, 255, 0.15);
    }
}

/* Interactive Container */
.interactive-container {
    position: relative;
    z-index: 2;
}

.interactive-container:hover .service-element {
    animation-play-state: paused;
}
