    /* Custom styles and overrides */
    :root {
        --burgundy-700: #9f2036;
        --burgundy-800: #821d31;
        --burgundy-900: #6c1b2e;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fefcf8;
    }
    ::-webkit-scrollbar-thumb {
        background: #f4a8b8;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #ec748e;
    }

    /* Selection color */
    ::selection {
        background: #f9d0d9;
        color: #6c1b2e;
    }

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

    /* Smooth transitions for nav */
    #navbar.scrolled {
        background: rgba(254, 252, 248, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(159, 32, 54, 0.08);
    }

    /* Floating cards animation */
    @media (prefers-reduced-motion: no-preference) {
        .stat-card {
            animation: float 6s ease-in-out infinite;
        }
        .stat-card:nth-child(2) {
            animation-delay: -1.5s;
        }
        .stat-card:nth-child(3) {
            animation-delay: -3s;
        }
        .stat-card:nth-child(4) {
            animation-delay: -4.5s;
        }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    /* Scroll reveal animations (progressive enhancement) */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        .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; }
    }

    /* Project card hover */
    .group:hover .group-hover\:scale-105 {
        transform: scale(1.05);
    }

    /* Form focus states */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* Select arrow */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239f2036' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        appearance: none;
    }

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

    /* Print styles */
    @media print {
        nav, #contactForm, .reveal {
            display: none !important;
        }
        body {
            background: white !important;
        }
    }
