  /* Custom styles for Moore's Complete Insurance Agency */

  :root {
    --gold-400: #D4B95E;
    --gold-500: #C9A84C;
    --navy-950: #050D1A;
    --navy-900: #0A1628;
    --navy-800: #0F1F3A;
  }

  * {
    scroll-behavior: smooth;
  }

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

  body {
    overflow-x: hidden;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(5, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  #navbar.scrolled .menu-line {
    background: #D4B95E;
  }

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

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

  /* Hamburger animation */
  #menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
  }

  #menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
    margin-left: 0;
    margin-right: 0;
  }

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

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .service-card:hover::before {
    opacity: 1;
  }

  /* Testimonial cards */
  .testimonial-card {
    position: relative;
  }

  .testimonial-card::after {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(201, 168, 76, 0.06);
    pointer-events: none;
  }

  /* Decorative elements */
  .gold-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: 0.3;
  }

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

  ::-webkit-scrollbar-track {
    background: var(--navy-950);
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
  }

  /* Selection color */
  ::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #F5F0E8;
  }

  /* Select dropdown styling */
  select option {
    background: #0A1628;
    color: #F5F0E8;
  }

  /* Fade-in animation for scroll reveals */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .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; }
  }

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

  /* Focus visible styles */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
  }

  /* Mobile menu link hover */
  .mobile-link {
    position: relative;
  }

  .mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-400);
    transition: width 0.3s ease;
  }

  .mobile-link:hover::after {
    width: 100%;
  }
