/* Additional custom styles for the home assistance landing page */

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Custom accordion animations */
.accordion-content {
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.accordion-content.hidden {
  max-height: 0;
  opacity: 0;
}

.accordion-content:not(.hidden) {
  max-height: 1000px;
  opacity: 1;
}

/* Hover effects for buttons */
button:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Focus states for accessibility */
button:focus,
input:focus {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

/* Custom container max-width */
.container {
  max-width: 1200px;
}

/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
  .text-4xl {
    font-size: 2rem;
  }

  .text-6xl {
    font-size: 2.5rem;
  }

  .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .py-6 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* Loading animation for dynamic content */
.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Custom shadow for cards */
.shadow-custom {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Sticky header backdrop blur effect */
header {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

/* Service category hover effects */
.service-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
