  *, *::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 {
    background: #C8A44E;
    color: #0D1B2A;
  }

  /* Animations */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fadeUp {
    animation-name: fadeUp;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
  }

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

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

  .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
  .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
  .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
  .scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
  .scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

  /* Nav links */
  .nav-link {
    position: relative;
    color: rgba(250, 248, 244, 0.8);
    text-decoration: none;
    padding-bottom: 2px;
    transition: color 0.3s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C8A44E;
    transition: width 0.3s ease;
  }

  .nav-link:hover {
    color: #C8A44E;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile links */
  .mobile-link {
    text-decoration: none;
  }

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

  /* Hamburger animation */
  #menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  #menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 24px;
  }

  /* Navbar scrolled state */
  #navbar.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(200, 164, 78, 0.15);
  }

  #navbar:not(.scrolled) {
    background: transparent;
  }

  /* Service cards hover */
  .group:hover .group-hover\:bg-gold-500 {
    background: #C8A44E;
  }

  /* Smooth image loading */
  img {
    image-rendering: auto;
    loading: lazy;
  }

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

  ::-webkit-scrollbar-track {
    background: #0D1B2A;
  }

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

  ::-webkit-scrollbar-thumb:hover {
    background: #C8A44E;
  }

  /* Focus styles */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #C8A44E;
    outline-offset: 2px;
  }

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