/* Custom Styles & Animation Utilities */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9fafb;
}

/* Reveal Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-card {
    opacity: 0;
    animation: floatUp 0.8s ease-out forwards;
}

.reveal-card:nth-child(1) { animation-delay: 0.1s; }
.reveal-card:nth-child(2) { animation-delay: 0.3s; }
.reveal-card:nth-child(3) { animation-delay: 0.5s; }

/* Active States for JS */
.is-visible {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(20px) rotate(var(--rotate, 0deg));
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotate, 0deg));
    }
}

/* Navbar Glass Effect */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
