@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  /* FAQ Accordion Styles */
  .home .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-out,
      padding 0.3s ease-out,
      opacity 0.3s ease-out;
    padding: 0;
    opacity: 0;
  }

  .home .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 0 1.5rem 0;
    opacity: 1;
  }

  /* Brand Slide Animation */
  @keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  .home .animate-slide {
    animation: slide 35s linear infinite;
  }

  .page-about .hero {
    @apply bg-green-500;
  }
}