@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Poppins:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&amp;display=swap");
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,
h6, p, blockquote, pre, a, abbr, acronym, address, big,
cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small,
strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
embed, figure, figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

@font-face {
    font-family: "Righteous-Regular";
    src: url('fonts/Righteous-Regular.ttf') format("truetype");
  }
  
  @font-face {
    font-family: "Haffer-TRIAL-Bold";
    src: url('fonts/Haffer-TRIAL-Bold.ttf') format("truetype");
  }
  
  @font-face {
    font-family: "Kanit-Medium";
    src: url('fonts/Kanit-Medium.ttf') format("truetype");
  }
  
  @font-face {
    font-family: "Haffer-TRIAL-SemiBold";
    src: url('fonts/Haffer-TRIAL-SemiBold.ttf') format("truetype");
  }


  /* Main Styles */
  :root {
      --primary-color: #CF8772;
      --text-color: #333;
      --light-gray: #f9fafb;
      --border-color: #CF8772;
  }
  
  body {
      font-family: 'Kanit-Medium';
      line-height: 1.6;
      color: var(--text-color);
      background-color: #fff;
      padding: 0;
      margin: 0;
  }
  
  .faq-container {
      max-width: 800px;
      margin: 40px auto;
      padding: 0 20px;
  }
  
  .faq-header {
      text-align: center;
      margin-bottom: 40px;
  }
  
  .faq-header h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #111827;
      margin-bottom: 12px;
  }
  
  .faq-header p {
      color: #6b7280;
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto;
  }
  
  /* FAQ Item Styles */
  .faq-item {
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 16px;
      overflow: hidden;
      transition: all 0.3s ease;
  }
  
  .faq-item:hover {
      border-color: var(--primary-color);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  .faq-question {
      padding: 20px;
      background-color: var(--light-gray);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 500;
      font-size: 20px;
      transition: background-color 0.3s ease;
  }
  
  .faq-question:hover {
      background-color: #FFDED4;
  }
  
  .faq-question::after {
      content: '+';
      font-size: 1.5rem;
      color: var(--primary-color);
      transition: transform 0.3s ease;
  }
  
  .faq-item.active .faq-question::after {
      content: '-';
  }
  
  .faq-answer {
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .faq-item.active .faq-answer {
      padding: 20px;
      max-height: 500px;
  }
  
  /* Animation */
  @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
  }
  
  .faq-item.active .faq-answer {
      animation: fadeIn 0.3s ease-in-out;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
      .faq-header h2 {
          font-size: 1.5rem;
      }
      
      .faq-question {
          padding: 16px;
          font-size: 0.95rem;
      }
      
      .faq-item.active .faq-answer {
          padding: 16px;
      }
  }
