/* Custom Animations */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: auto;
}

@keyframes drift1 {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-30px, 20px, 0);
    }
}
@keyframes drift2 {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(20px, -20px, 0);
    }
}

.animate-drift-1 {
    animation: drift1 24s ease-in-out infinite alternate;
}
.animate-drift-2 {
    animation: drift2 28s ease-in-out infinite alternate;
}

@keyframes fall {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}
.animate-fall {
    animation: fall 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}


/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Services Background - Desktop Only */
@media (min-width: 768px) {
    .services-bg {
        background-image: url('assets/bg.jpg');
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030303;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00f3ff;
}

/* Selection */
::selection {
    background: rgba(0, 243, 255, 0.2);
    color: #fff;
}
