html {
    scroll-behavior: smooth;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

.header-scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.header-hidden {
    transform: translateY(-100%);
}

#main-header {
    transition: transform 0.3s ease-in-out, background-color 0.3s ease, padding 0.3s ease;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #FFCC00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6b800;
}