    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Scroll reveal animations */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal[data-reveal="left"] {
        transform: translateX(-30px);
    }

    .reveal[data-reveal="right"] {
        transform: translateX(30px);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal[data-reveal] {
            opacity: 0;
            transform: translateY(30px);
        }
    }

    /* Navbar background on scroll */
    #navbar.scrolled {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Selection color */
    ::selection {
        background: rgba(255, 107, 74, 0.3);
        color: #fff;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #1a1a1a;
    }
    ::-webkit-scrollbar-thumb {
        background: #3d3d3d;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #FF6B4A;
    }

    /* Subtle gradient overlay for hero */
    .hero-gradient {
        background: radial-gradient(ellipse at 50% 80%, rgba(255, 107, 74, 0.08) 0%, transparent 60%);
    }

    /* Select styling fix */
    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='%23ffffff60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }
