  /* === Custom Styles for Evans Electric Drain Service === */

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

  /* Selection color */
  ::selection {
    background-color: #6B1D2A;
    color: white;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #fdf9f3;
  }
  ::-webkit-scrollbar-thumb {
    background: #6B1D2A;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #4a1419;
  }

  /* === Navigation === */
  #nav.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(107, 29, 42, 0.08);
  }

  /* === Floating Stat Cards === */
  @keyframes float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }
  @keyframes float-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }
  @keyframes float-3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  @keyframes float-4 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
  }

  .floating-card-1 { animation: float-1 4s ease-in-out infinite; }
  .floating-card-2 { animation: float-2 5s ease-in-out infinite 0.5s; }
  .floating-card-3 { animation: float-3 4.5s ease-in-out infinite 1s; }
  .floating-card-4 { animation: float-4 3.5s ease-in-out infinite 0.3s; }

  /* === Service Cards === */
  .service-card {
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6B1D2A, #d13d34);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .service-card:hover::after {
    transform: scaleX(1);
  }

  /* === Fade-in Animations === */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

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

  /* === Back to Top === */
  .back-to-top.show {
    opacity: 1;
    pointer-events: all;
  }

  /* === Mobile Menu === */
  #mobileMenu {
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* === Responsive Typography === */
  @media (max-width: 640px) {
    .font-serif {
      line-height: 1.15;
    }
  }

  /* === Print Styles === */
  @media print {
    #nav, .back-to-top, #backToTop { display: none !important; }
    body { background: white; }
    section { page-break-inside: avoid; }
  }
