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

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        overflow-x: hidden;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: #0a1628;
    }
    ::-webkit-scrollbar-thumb {
        background: #c9a84c;
        border-radius: 3px;
    }

    /* Navbar transition */
    #navbar.scrolled {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(10, 22, 40, 0.08);
    }

    #navbar.scrolled .nav-logo {
        color: #0a1628;
    }

    #navbar.scrolled .mobile-link {
        color: #0a1628;
    }

    #navbar.scrolled .menu-line-1,
    #navbar.scrolled .menu-line-2,
    #navbar.scrolled .menu-line-3 {
        background: #0a1628;
    }

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

    #mobile-menu.closed {
        opacity: 0;
        pointer-events: none;
    }

    /* Hamburger animation */
    #menu-toggle.active .menu-line-1 {
        transform: rotate(45deg) translate(4px, 4px);
    }
    #menu-toggle.active .menu-line-2 {
        opacity: 0;
    }
    #menu-toggle.active .menu-line-3 {
        transform: rotate(-45deg) translate(4px, -4px);
        width: 24px;
    }

    /* Selection color */
    ::selection {
        background: #c9a84c;
        color: #0a1628;
    }

    /* Focus styles */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* Reduced 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, #contact-form, .reveal {
            display: none;
        }
        body {
            color: #000;
            background: #fff;
        }
    }
