    /* ===== Custom Styles for S W RYMS Building Restoration ===== */
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
    
    /* Custom selection color */
    ::selection {
        background-color: #f59e0b;
        color: #500724;
    }
    
    /* ===== Navbar transitions ===== */
    #navbar {
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    #navbar.scrolled {
        background-color: rgba(80, 7, 36, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    /* ===== Mobile menu animations ===== */
    #mobileMenu {
        animation: slideDown 0.3s ease;
    }
    
    #mobileMenu.hidden {
        animation: slideUp 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes slideUp {
        from { opacity: 1; transform: translateY(0); }
        to { opacity: 0; transform: translateY(-10px); }
    }
    
    /* Mobile menu button animation */
    .menu-line {
        transition: all 0.3s ease;
    }
    
    #mobileMenuBtn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    #mobileMenuBtn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    #mobileMenuBtn.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        width: 1.25rem;
        margin-right: 0;
    }
    
    /* ===== Service card hover effects ===== */
    .service-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    }
    
    .service-card:hover {
        transform: translateY(-4px);
    }
    
    /* ===== Project card hover effects ===== */
    .project-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(80, 7, 36, 0.2);
    }
    
    /* ===== Testimonial card hover effects ===== */
    .testimonial-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .testimonial-card:hover {
        transform: translateY(-4px);
    }
    
    /* ===== Scroll reveal animations ===== */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    /* Stagger delays for grid items */
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
    
    /* ===== Reduced motion preference ===== */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        
        html {
            scroll-behavior: auto;
        }
        
        .reveal.hidden-reveal {
            opacity: 1;
            transform: none;
        }
    }
    
    /* ===== Custom scrollbar ===== */
    ::-webkit-scrollbar {
        width: 10px;
    }
    
    ::-webkit-scrollbar-track {
        background: #500724;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #f59e0b;
        border-radius: 5px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #fbbf24;
    }
    
    /* ===== Focus styles for accessibility ===== */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #f59e0b;
        outline-offset: 2px;
    }
    
    /* ===== Responsive adjustments ===== */
    @media (max-width: 640px) {
        .font-heading {
            line-height: 1.1;
        }
    }
    
    @media (min-width: 641px) and (max-width: 768px) {
        .font-heading {
            line-height: 1.15;
        }
    }
    
    /* ===== Print styles ===== */
    @media print {
        nav, #contactForm, .project-card:hover, .service-card:hover, .testimonial-card:hover {
            display: none !important;
        }
        
        body {
            color: #000;
            background: #fff;
        }
        
        a {
            color: #000;
        }
    }
