    /* Custom styles and overrides */
    html {
        scroll-behavior: smooth;
    }

    /* Scroll reveal base — content always visible by default */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .scroll-reveal {
            transition: none;
        }
    }

    /* Navbar transition states */
    #navbar {
        background: transparent;
    }

    #navbar.scrolled {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(16px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    }

    /* Mobile menu */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    #mobile-menu.open {
        max-height: 400px;
    }

    /* Selection color */
    ::selection {
        background: #0d9488;
        color: white;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

    /* Image lazy loading fade */
    img {
        opacity: 1;
    }
