/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f7f9fc;
  color: #333;
}

/* Header */
.faq-header {
  background: linear-gradient(135deg, #0f172a, #d00808);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.faq-header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.faq-header p {
  font-size: 16px;
  opacity: 0.9;
}

/* FAQ Container */
.faq-container {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

/* FAQ Item */
.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.faq-item input {
  display: none;
}

.faq-item label {
  display: block;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-item label::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* FAQ Content */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-content p {
  padding: 15px 0 20px;
  line-height: 1.6;
  font-size: 15px;
  color: #555;
}

/* Open State */
.faq-item input:checked ~ .faq-content {
  max-height: 300px;
}

.faq-item input:checked + label::after {
  content: "−";
}

/* Footer */
.faq-footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: #666;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-header h1 {
    font-size: 26px;
  }

  .faq-item label {
    font-size: 15px;
  }
}
