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

    /* Scroll reveal base - content always visible */
    .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);
        }
        
        /* Start state for scrolled elements - only applied via JS */
        .scroll-reveal[data-reveal] {
            opacity: 0;
            transform: translateY(24px);
        }
    }

    /* Navbar styles */
    .nav-text {
        color: #0f172a;
    }

    nav.scrolled .nav-text {
        color: #0f172a;
    }

    /* 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;
    }

    /* Focus styles for accessibility */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #14b8a6;
        outline-offset: 2px;
    }

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

    /* Mobile menu animation */
    #mobile-menu {
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Image loading placeholder */
    img {
        background-color: #e2e8f0;
    }
