    /* === Custom Styles for Behanna Auto and Tire === */

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

    /* Selection color */
    ::selection {
        background: rgba(212, 175, 55, 0.3);
        color: #f8fafc;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0a0f1e;
    }
    ::-webkit-scrollbar-thumb {
        background: #1a2744;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #243660;
    }

    /* Hero animation */
    .hero-anim {
        opacity: 0;
        transform: translateY(30px);
        animation: heroFadeIn 0.8s ease forwards;
    }
    .hero-anim:nth-child(1) { animation-delay: 0.1s; }
    .hero-anim:nth-child(2) { animation-delay: 0.3s; }
    .hero-anim:nth-child(3) { animation-delay: 0.5s; }
    .hero-anim:nth-child(4) { animation-delay: 0.7s; }
    .hero-anim:nth-child(5) { animation-delay: 0.9s; }

    @keyframes heroFadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Service card shimmer on hover */
    .service-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(212,175,55,0.03) 0%, transparent 50%, rgba(212,175,55,0.03) 100%);
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }
    .service-card:hover::before {
        opacity: 1;
    }

    /* Navbar glass effect when scrolled */
    #navbar.scrolled {
        background: rgba(10, 15, 30, 0.92);
        backdrop-filter: blur(20px);
        -webkit-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);
    }

    /* Intersection Observer animations */
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

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

    /* Mobile menu transition */
    #mobile-menu {
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    /* Gold gradient text utility */
    .text-gold-gradient {
        background: linear-gradient(135deg, #e8c547, #d4af37, #b8952e);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Focus visible styles */
    a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
        outline: 2px solid rgba(212, 175, 55, 0.6);
        outline-offset: 2px;
    }

    /* Parallax-like subtle movement on hero */
    #hero {
        perspective: 1000px;
    }

    /* Print styles */
    @media print {
        nav, #back-to-top, #contact-form, .hero-anim { display: none !important; }
        body { background: white !important; color: black !important; }
    }
