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

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

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(52, 212, 168, 0.25);
    color: #fff;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #050d1a;
  }
  ::-webkit-scrollbar-thumb {
    background: #1a3460;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #2bc498;
  }

  /* Navbar */
  #navbar.scrolled {
    background: rgba(5, 13, 26, 0.92);
    backdrop-blur-xl;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #34d4a8, #2bc498);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

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

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

  /* Floating cards */
  @keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(0.5deg); }
  }
  @keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-0.5deg); }
  }
  @keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.3deg); }
  }

  .card-float-1 {
    animation: float1 5s ease-in-out infinite;
  }
  .card-float-2 {
    animation: float2 6s ease-in-out infinite;
  }
  .card-float-3 {
    animation: float3 4.5s ease-in-out infinite;
  }

  /* Reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }

  /* Service cards grid */
  #services .grid > div:nth-child(1) { transition-delay: 0.05s; }
  #services .grid > div:nth-child(2) { transition-delay: 0.1s; }
  #services .grid > div:nth-child(3) { transition-delay: 0.15s; }
  #services .grid > div:nth-child(4) { transition-delay: 0.2s; }
  #services .grid > div:nth-child(5) { transition-delay: 0.25s; }
  #services .grid > div:nth-child(6) { transition-delay: 0.3s; }

  /* Testimonial cards */
  #testimonials .grid > div:nth-child(1) { transition-delay: 0.1s; }
  #testimonials .grid > div:nth-child(2) { transition-delay: 0.2s; }
  #testimonials .grid > div:nth-child(3) { transition-delay: 0.3s; }

  /* Listing cards */
  #listings .grid > div:nth-child(1) { transition-delay: 0.05s; }
  #listings .grid > div:nth-child(2) { transition-delay: 0.15s; }
  #listings .grid > div:nth-child(3) { transition-delay: 0.25s; }

  /* Gold accent line */
  .gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #e2c060, #d4a843);
    border-radius: 2px;
  }

  /* Select styling */
  select option {
    background: #0a1628;
    color: #fff;
  }

  /* Focus visible */
  :focus-visible {
    outline: 2px solid #34d4a8;
    outline-offset: 2px;
  }

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