    /* Base & Utilities */
    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    ::selection {
        background-color: #8B1A4B;
        color: white;
    }

    /* Scroll Reveal Animations */
    .scroll-reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    /* Navbar */
    #navbar {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        background-color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid transparent;
    }

    #navbar.scrolled {
        border-bottom-color: rgba(0, 0, 0, 0.06);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    }

    #navbar.scrolled .nav-logo-text {
        color: #1a1a2e;
    }

    /* Mobile Menu */
    #mobile-menu {
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Hero image hover effect */
    #hero .group:hover img {
        transform: scale(1.05);
    }

    #hero .group img {
        transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Floating card animation */
    .absolute.-bottom-6.-left-6 {
        animation: float 6s ease-in-out infinite;
    }

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

    /* Button ripple effect */
    button, a {
        position: relative;
        overflow: hidden;
    }

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

    ::-webkit-scrollbar-track {
        background: #f5f5f5;
    }

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

    ::-webkit-scrollbar-thumb:hover {
        background: #8B1A4B;
    }

    /* Form focus styles */
    input:focus, textarea:focus {
        box-shadow: 0 0 0 3px rgba(139, 26, 75, 0.1);
    }

    /* Smooth section transitions */
    section {
        position: relative;
    }

    /* Print styles */
    @media print {
        #navbar, #mobile-menu-btn {
            display: none;
        }
        section {
            page-break-inside: avoid;
        }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
        }
        html {
            scroll-behavior: auto;
        }
        .scroll-reveal {
            opacity: 1;
            transform: none;
        }
    }

    /* High contrast mode */
    @media (prefers-contrast: high) {
        .bg-burgundy-600 {
            background-color: #6b0037 !important;
        }
    }
