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

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

  body {
    overflow-x: hidden;
  }

  /* Hero animations */
  .hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.3s;
  }

  .hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.5s;
  }

  .hero-desc {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.7s;
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Scroll indicator */
  .scroll-indicator {
    animation: bounce 2s ease infinite;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
  }

  /* Service cards */
  .service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.5s ease;
  }

  .service-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Gallery items */
  .gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .gallery-item.visible {
    opacity: 1;
    transform: scale(1);
  }

  /* Testimonial cards */
  .testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(16, 16, 19, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  }

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

  #mobile-menu.open .mobile-link {
    animation: fadeUp 0.4s ease forwards;
  }

  #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
  #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }
  #mobile-menu.open .mobile-link:nth-child(6) { animation-delay: 0.3s; }

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

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

  ::-webkit-scrollbar-thumb {
    background: #45454f;
    border-radius: 4px;
  }

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

  /* Selection color */
  ::selection {
    background: rgba(199, 91, 57, 0.3);
    color: #fff;
  }
