    /* Custom styles for All American Mobile Welding and Custom Fabrication */

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

    /* Selection color */
    ::selection {
        background-color: rgba(63, 112, 44, 0.2);
        color: #1a2e14;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #76ab5e;
    }

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

    #navbar.scrolled {
        background-color: rgba(250, 249, 246, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 0 rgba(45, 70, 30, 0.1);
    }

    #navbar.scrolled .text-forest-800 {
        color: #29461e;
    }

    #navbar.scrolled .text-forest-600 {
        color: #558d3e;
    }

    /* Mobile menu animations */
    #mobileMenu.open {
        opacity: 1;
        pointer-events: all;
    }

    /* Mobile menu line animations */
    #menuToggle.active #menuLine1 {
        transform: translateY(4px) rotate(45deg);
    }

    #menuToggle.active #menuLine2 {
        opacity: 0;
    }

    #menuToggle.active #menuLine3 {
        transform: translateY(-4px) rotate(-45deg);
        width: 24px;
    }

    /* Service card subtle lift on hover */
    .service-card {
        transition: background-color 0.5s ease;
    }

    /* Gallery items */
    .gallery-item {
        position: relative;
        overflow: hidden;
    }

    .gallery-item img {
        transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Scroll reveal animations (below fold only) */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal-hidden {
            opacity: 0;
            transform: translateY(24px);
        }

        .reveal-hidden.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }

        .gallery-item img {
            transition: none;
        }

        .gallery-item img {
            transform: none !important;
        }
    }

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

    /* Form input focus styles */
    input:focus,
    textarea:focus {
        border-bottom-color: #558d3e !important;
    }
