import React from 'react';

export interface FAQItemProps {
  question: string;
  answer: string;
}

const FAQItem: React.FC<FAQItemProps> = ({ question, answer }) => {
  return (
    // <div className="bg-vista-gold rounded-lg shadow-xl p-6">
    <div className="bg-white rounded-lg shadow-xl p-6">
      <h3 className="text-xl font-serif text-vista-black mb-3">
        {question}
      </h3>
      <p className="text-vista-black/70">
        {answer}
      </p>
    </div>
  );
};

export default FAQItem;
