    /* Custom styles for First Impressions */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Selection color */
    ::selection {
        background-color: rgba(13, 148, 136, 0.15);
        color: #0d9488;
    }

    /* Scroll reveal base - visible by default for progressive enhancement */
    .reveal-on-scroll {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    /* Only apply hidden state when JS is available via prefers-reduced-motion check */
    @media (prefers-reduced-motion: no-preference) {
        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(24px);
        }
        .reveal-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Navbar transitions */
    #navbar {
        transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    }

    #navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.97);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

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

    /* Subtle hover underline for links */
    a:not([class]) {
        position: relative;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f8fafc;
    }
    ::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    /* Mobile menu animation */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    #mobile-menu.open {
        max-height: 400px;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Form input styles */
    input, textarea {
        border: 1px solid #e2e8f0;
        border-radius: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        font-family: inherit;
        font-weight: 300;
        width: 100%;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        background: #f8fafc;
        color: #1e293b;
    }
    input:focus, textarea:focus {
        outline: none;
        border-color: #0d9488;
        box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
        background: #fff;
    }
    input::placeholder, textarea::placeholder {
        color: #94a3b8;
    }

    /* Toast notification */
    .toast {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        background: #0f766e;
        color: white;
        padding: 1rem 1.5rem;
        border-radius: 0.75rem;
        font-size: 0.875rem;
        font-weight: 300;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        transform: translateY(120%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        z-index: 100;
    }
    .toast.show {
        transform: translateY(0);
        opacity: 1;
    }
