  /* ===== CUSTOM STYLES ===== */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  /* Scroll-reveal base — content visible by default, enhanced by JS */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar solid when scrolled */
  #navbar.scrolled {
    background: rgba(250, 245, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(88, 28, 135, 0.1);
  }

  /* Gallery hover */
  .gallery-item {
    position: relative;
  }
  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(88, 28, 135, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
  }
  .gallery-item:hover::after {
    opacity: 1;
  }

  /* Mobile menu transition */
  #mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #mobileMenu.open {
    max-height: 400px;
  }

  /* Testimonial card tilt on hover */
  .testimonial-card {
    transition: transform 0.3s ease, background 0.3s ease;
  }
  .testimonial-card:hover {
    transform: translateY(-4px);
  }

  /* Selection color */
  ::selection {
    background: #c084fc;
    color: #3b0f5c;
  }

  /* Focus visible for accessibility */
  :focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #faf5ff;
  }
  ::-webkit-scrollbar-thumb {
    background: #d8b4fe;
    border-radius: 5px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #a855f7;
  }
