    /* Base & Reset */
    *, *::before, *::after {
        box-sizing: border-box;
    }
    
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Selection */
    ::selection {
        background: #7e22ce;
        color: #fff;
    }
    
    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f3e8ff;
    }
    ::-webkit-scrollbar-thumb {
        background: #a855f7;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #7e22ce;
    }
    
    /* Scroll Reveal Animations */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        
        .reveal.visible {
            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; }
        .reveal-delay-5 { transition-delay: 0.5s; }
        .reveal-delay-6 { transition-delay: 0.6s; }
    }
    
    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(76, 29, 149, 0.08);
    }
    
    /* Service card hover */
    .service-card {
        transform: translateY(0);
    }
    
    .service-card:hover {
        transform: translateY(-4px);
    }
    
    /* Gallery item */
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4) {
        aspect-ratio: 3/4;
    }
    
    /* Active nav link */
    nav a.active {
        color: #7e22ce;
    }
    
    /* Form focus styles */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }
    
    /* Button ripple effect */
    button, a {
        position: relative;
        overflow: visible;
    }
