/* ==========================================================
   FAQ Accordion Styles
   File: css/faq-accordion.css
   Used on: ARC-welding-machines.html (and any page with the
   .ttm-faq-section / .ttm-faq-accordion markup)
   ========================================================== */

.ttm-faq-section {
  margin-top: 40px;
}

.ttm-faq-section .section-title h2.title {
  margin-bottom: 20px;
}

.ttm-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ttm-faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ttm-faq-question {
  width: 100%;
  text-align: left;
  background: #f8f8f8;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.ttm-faq-question:hover {
  background: #efefef;
}

.ttm-faq-question .ttm-faq-icon {
  font-size: 18px;
  font-weight: 700;
  margin-left: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.ttm-faq-item.active .ttm-faq-question .ttm-faq-icon {
  transform: rotate(45deg);
}

.ttm-faq-item.active .ttm-faq-question {
  background: #222;
  color: #fff;
}

.ttm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fff;
}

.ttm-faq-answer-inner {
  padding: 0 20px 18px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.ttm-faq-item.active .ttm-faq-answer {
  max-height: 600px;
}
