    /* Custom styles for Make It Happen Auto Body */

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

    /* Selection color */
    ::selection {
        background-color: rgba(13, 148, 136, 0.3);
        color: inherit;
    }

    /* Scroll reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-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);
        }

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

    /* Default state for scroll-reveal (visible without JS) */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
    }

    /* Navbar transition */
    #navbar.scrolled {
        background-color: rgba(12, 19, 32, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    /* Mobile menu animation */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
    }

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

    ::-webkit-scrollbar-track {
        background: #0f172a;
    }

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

    ::-webkit-scrollbar-thumb:hover {
        background: #334155;
    }

    /* Input focus animations */
    input:focus,
    select:focus,
    textarea:focus {
        outline: none;
    }

    /* Button ripple effect */
    button, a {
        -webkit-tap-highlight-color: transparent;
    }

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

    /* Subtle hover lift for cards */
    .group:hover {
        transform: translateY(-2px);
    }

    /* Form focus ring */
    input:focus,
    select:focus,
    textarea:focus {
        box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    }

    /* Print styles */
    @media print {
        #navbar,
        .scroll-reveal,
        #mobile-menu {
            display: none !important;
        }

        body {
            color: #0f172a;
            background: white;
        }

        section {
            page-break-inside: avoid;
        }
    }

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

        html {
            scroll-behavior: auto;
        }
    }
