    /* Custom styles for North Texas Paint & Body */

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

    /* Selection color */
    ::selection {
        background-color: rgba(32, 213, 168, 0.3);
        color: #ffffff;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #040d1a;
    }
    ::-webkit-scrollbar-thumb {
        background: #1a3a70;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #20d5a8;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(4, 13, 26, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Service card hover animation */
    .service-card {
        transform: translateY(0);
    }
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(32, 213, 168, 0.05);
    }

    /* Gallery item hover */
    .gallery-item::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 12px;
        border: 1px solid transparent;
        transition: border-color 0.3s ease;
        pointer-events: none;
    }
    .gallery-item:hover::after {
        border-color: rgba(32, 213, 168, 0.3);
    }

    /* Fade-in animation */
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered children */
    .stagger-children > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
    .stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
    .stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
    .stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
    .stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
    .stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
    .stagger-children.visible > * {
        opacity: 1;
        transform: translateY(0);
    }

    /* Mobile menu transition */
    #mobile-menu {
        animation: slideDown 0.3s ease;
    }
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Link hover underline animation */
    a {
        text-decoration: none;
    }

    /* Input autofill override */
    input:-webkit-autofill,
    textarea:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #0f2140 inset !important;
        -webkit-text-fill-color: #ffffff !important;
    }
