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

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

  body {
    overflow-x: hidden;
  }

  /* Scroll reveal base — visible by default for no-JS fallback */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    .scroll-reveal:not(.revealed) {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.25s ease;
  }

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

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

  ::-webkit-scrollbar-track {
    background: #1a2332;
  }

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

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

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

  /* Form focus styles */
  input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #e8644a !important;
    box-shadow: 0 0 0 3px rgba(232, 100, 74, 0.15);
  }

  /* Navbar glass effect on scroll */
  nav.scrolled {
    background: rgba(15, 20, 25, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  nav.scrolled .nav-link {
    color: #d1d5db;
  }

  nav.scrolled .nav-link:hover {
    color: #e8644a;
  }

  /* Subtle pattern overlay for hero */
  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(232, 100, 74, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(232, 100, 74, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
  }

  #hero > .relative {
    position: relative;
    z-index: 2;
  }

  /* Counter animation */
  .stat-number {
    display: inline-block;
    transition: all 0.3s ease;
  }

  /* Card hover glow */
  .service-card:hover {
    box-shadow: 0 20px 60px rgba(232, 100, 74, 0.1);
  }
