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

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

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(43, 45, 64, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  }

  /* Service cards */
  .service-card {
    position: relative;
    overflow: hidden;
  }

  .service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E07A5F, #F2CC8F);
    transform: scaleX(0);
    transition: transform 0.4s ease;
  }

  .service-card:hover::after {
    transform: scaleX(1);
  }

  /* Testimonial cards */
  .testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(61, 64, 91, 0.12);
  }

  /* Fade-in animation */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children */
  .stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
  .stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
  .stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
  .stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
  .stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
  .stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

  .stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
  }

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

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

  /* Input autofill */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
  }

  /* Selection */
  ::selection {
    background: #E07A5F;
    color: white;
  }
