    /* Base & Utilities */
    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Scroll Reveal Animations */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal[data-reveal="left"] {
        transform: translateX(-30px);
    }

    .reveal[data-reveal="right"] {
        transform: translateX(30px);
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(253, 251, 247, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(4, 120, 87, 0.08);
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #34d399;
    }

    /* Selection color */
    ::selection {
        background: #a7f3d0;
        color: #064e3b;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }
        
        html {
            scroll-behavior: auto;
        }
        
        .reveal img,
        .gallery img {
            transition: none !important;
        }
    }
