  /* Base & Smooth Scroll */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

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

  /* Scroll 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.revealed {
    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; }

  /* Floating Card Animations */
  @keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
  }

  @keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
  }

  @keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }

  .floating-card-1 {
    animation: float1 4s ease-in-out infinite;
  }

  .floating-card-2 {
    animation: float2 5s ease-in-out infinite;
  }

  .floating-card-3 {
    animation: float3 4.5s ease-in-out infinite;
  }

  /* Service Card Hover */
  .service-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  }

  .service-card:hover {
    transform: translateY(-6px);
  }

  /* Navbar Scrolled State */
  #navbar.scrolled {
    background: rgba(248, 246, 242, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 31, 63, 0.08);
  }

  #navbar.scrolled .font-serif,
  #navbar.scrolled .text-midnight-800 {
    color: #0a1f3f !important;
  }

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

  #mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Active nav link */
  .nav-link-active {
    color: #10b981 !important;
  }

  /* Selection color */
  ::selection {
    background: #34d399;
    color: #060f1f;
  }

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

  ::-webkit-scrollbar-track {
    background: #f8f6f2;
  }

  ::-webkit-scrollbar-thumb {
    background: #0a1f3f;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #153d7a;
  }

  /* Counter animation */
  .counter {
    display: inline-block;
  }
