  /* Custom styles for Protected Retirement Planning Services */

  /* Smooth scroll */
  html {
    scroll-behavior: smooth;
  }

  /* Selection color */
  ::selection {
    background-color: #c07251;
    color: #fdfcfa;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #faf5ee;
  }
  ::-webkit-scrollbar-thumb {
    background: #d4a966;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c07251;
  }

  /* Navbar transition states */
  #navbar.scrolled {
    background-color: rgba(253, 252, 250, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }

  #navbar.scrolled .font-serif,
  #navbar.scrolled .font-sans.text-ink-900 {
    color: #1a1612;
  }

  #navbar.scrolled .mobile-nav-link {
    color: #3d3530;
  }

  /* Hero animations */
  .hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
  }

  .hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
  }

  .hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
  }

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

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

  @keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
  }

  /* Section animations */
  .section-eyebrow {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .section-title {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
  }

  .section-subtitle {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
  }

  .reveal.visible .section-eyebrow,
  .reveal.visible .section-title,
  .reveal.visible .section-subtitle {
    opacity: 1;
    transform: translateY(0);
  }

  /* Service card hover */
  .service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

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

  /* Approach step hover */
  .approach-step {
    transition: transform 0.2s ease;
  }

  .approach-step:hover {
    transform: translateX(4px);
  }

  /* Focus visible styles */
  :focus-visible {
    outline: 2px solid #c07251;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Mobile menu transition */
  #mobileMenu {
    animation: slideDown 0.25s ease;
  }

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

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

  .mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c07251;
    transition: width 0.2s ease;
  }

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

  /* Divider line animation */
  .reveal.visible .divider-line {
    width: 80px;
  }

  .divider-line {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c07251, #d4a966);
    transition: width 0.8s ease;
  }
