@layer utilities {
    .text-gradient {
        background: linear-gradient(135deg, #2b59ff, #9d33ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Custom transitions and utility tweaks */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Fix for potential horizontal scroll on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

/* AOS animations custom tweaks */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navbar blur effect tweak */
.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero gradient animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-animate {
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

@keyframes bounceSlow {

    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
    }

    50% {
        transform: translateY(-15px) rotate(-6deg);
    }
}

.animate-bounce-slow {
    animation: bounceSlow 4s ease-in-out infinite;
}