/* Custom styles for That Life G Father Driving School */

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .faq-item {
    transition: none;
  }
  .service-card:hover,
  .faq-item:hover {
    transform: none;
  }
}

/* Navbar scroll effect */
#navbar.scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

/* FAQ animations */
.faq-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-content.open {
  opacity: 1;
}

/* Counter animation */
[data-count] {
  display: inline-block;
}

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

#mobileMenu.open {
  max-height: 500px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Selection color */
::selection {
  background: #0f766e;
  color: white;
}
