/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAFA; 
}
::-webkit-scrollbar-thumb {
    background: #D4D4D4; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A3A3A3; 
}

/* Header Glassmorphism when scrolled */
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(0,0,0,0.05);
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}