/* ===== CUSTOM STYLES ===== */

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

/* Custom selection color */
::selection {
  background: #d8b4fe;
  color: #581c87;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5ff;
}
::-webkit-scrollbar-thumb {
  background: #c084fc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

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

/* Navbar glass effect */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(107, 33, 168, 0.08);
}

/* Mobile menu transition */
#mobileMenu {
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal base: content is always visible */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Scroll-reveal animated state (applied by JS) */
.reveal-animate {
  opacity: 0;
  transform: translateY(32px);
}

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

/* Reduced motion: skip animations entirely */
@media (prefers-reduced-motion: reduce) {
  .reveal-animate {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hero image subtle float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-float {
  animation: float 6s ease-in-out infinite;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #7e22ce, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
