  /* ===== Custom Styles for Amy's Kuts & Kurls ===== */

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

  /* Selection color */
  ::selection {
    background-color: rgba(94, 234, 212, 0.3);
    color: #1E3A5F;
  }

  /* ===== Animations ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-32px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(32px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .animate-fade-in-up {
    animation: fadeInUp 0.7s ease-out both;
  }

  .animate-float {
    animation: float 3.5s ease-in-out infinite;
  }

  /* Scroll-triggered animations */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }

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

  .reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }

  .reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }

  .reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
  }

  /* ===== Buttons ===== */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1E3A5F 0%, #2A4F7F 100%);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25);
    border: none;
    cursor: pointer;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.35);
    background: linear-gradient(135deg, #2A4F7F 0%, #1E3A5F 100%);
  }

  .btn-primary:active {
    transform: translateY(0);
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #1E3A5F;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 58, 95, 0.2);
    cursor: pointer;
  }

  .btn-secondary:hover {
    border-color: #5EEAD4;
    background: rgba(94, 234, 212, 0.08);
    transform: translateY(-2px);
  }

  /* ===== Input Fields ===== */
  .input-field {
    width: 100%;
    padding: 0.8125rem 1rem;
    border: 1.5px solid rgba(30, 58, 95, 0.12);
    border-radius: 12px;
    background: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #1E3A5F;
    transition: all 0.25s ease;
    outline: none;
  }

  .input-field::placeholder {
    color: rgba(30, 58, 95, 0.35);
  }

  .input-field:hover {
    border-color: rgba(30, 58, 95, 0.25);
  }

  .input-field:focus {
    border-color: #5EEAD4;
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
  }

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

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5EEAD4, #1E3A5F);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  /* ===== Gallery Items ===== */
  .gallery-item {
    position: relative;
    cursor: pointer;
  }

  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
  }

  .gallery-item:hover::after {
    opacity: 1;
  }

  /* ===== Testimonial Cards ===== */
  .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }

  /* ===== Header Scroll State ===== */
  #header.scrolled {
    background: rgba(250, 252, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(30, 58, 95, 0.08);
  }

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

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

  /* Hamburger animation */
  #menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

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

  #menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  /* ===== Nav Links ===== */
  .nav-link {
    position: relative;
  }

  /* ===== Responsive ===== */
  @media (max-width: 640px) {
    .btn-primary,
    .btn-secondary {
      padding: 0.75rem 1.25rem;
      font-size: 0.875rem;
      width: 100%;
      justify-content: center;
    }

    .service-card {
      padding: 1.5rem;
    }

    .contact-form-container {
      padding: 1.5rem;
    }
  }

  @media (min-width: 641px) and (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
      padding: 0.8125rem 1.5rem;
    }
  }

  /* ===== Reduced Motion ===== */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    html {
      scroll-behavior: auto;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
      opacity: 1;
      transform: none;
    }
  }

  /* ===== Focus Visible ===== */
  *:focus-visible {
    outline: 2px solid #5EEAD4;
    outline-offset: 2px;
  }
