/* Glass effect */
.glass {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px)
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .7))
}

/* Card hover */
.card-hover:hover {
    transform: translateY(-10px);
    transition: all .3s ease
}

/* Navbar transition */
nav {
    transition: all .4s ease-in-out
}

/* Navbar scrolled state */
.nav-scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1)
}

/* Mobile menu animation */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
    transform: translateY(-100vh);
    opacity: 0;
    pointer-events: none;
    z-index: 300
}

#mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto
}

/* Hero gradient with radial */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 90%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .8) 25%, rgba(0, 0, 0, 0) 70%);
    z-index: 10
}

.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 30%);
    pointer-events: none
}

/* Blur mask */
.blur-mask {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    mask-image: linear-gradient(to top, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
    z-index: 5
}

/* Gradient animation */
@keyframes gradient-x {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.animate-gradient-x {
    background-size: 200% auto;
    animation: gradient-x 3s ease infinite
}

/* Formations */
.no-scrollbar::-webkit-scrollbar {
    display: none
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none
}

.filter-btn.active {
    background-color: #047857;
    color: #FFFFFF !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1)
}

.formation-card {
    transition: all .5s cubic-bezier(.4, 0, .2, 1);
    display: block
}

.formation-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(.9)
}

/* Facebook animation */
@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.animate-bounce-slow {
    animation: bounce-slow 4s ease-in-out infinite
}

/* image site */

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px) rotate(var(--tw-rotate));
            }

            50% {
                transform: translateY(-20px) rotate(var(--tw-rotate));
            }
        }

        .animate-float-slow {
            animation: float 6s ease-in-out infinite;
        }

        .animate-float-delayed {
            animation: float 6s ease-in-out infinite;
            animation-delay: 3s;
        }