/* Regular 400 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Medium 500 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Semibold 600 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Bold 700 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* ================= DARK MODE ================= */
body.dark-mode .FAQ-container {
 background: linear-gradient(to right, #303030, #202122);
  color: #ffffff;
}

.FAQ-container {
  background: linear-gradient(to right, #034d3a, #046049, #059a70);
  padding: 60px 20px;
  color: #ffffff;
}

.FAQ-title {
  font-size: 21px;
  font-family: 'SF Pro Rounded', sans-serif;
  font-weight: 500;
  margin-bottom: 60px;
  text-align: left;
  margin-left: 300px;
}

.FAQ-list {
  max-width: 800px;
  margin: 0 300px;
}

.FAQ-item {
  border-top: 1px solid #ffffff;
  padding: 20px 0;
}

.FAQ-item:last-child {
  border-bottom: 1px solid #ffffff;
}

.FAQ-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-family: 'SF Pro Rounded', sans-serif;
  font-weight: 200;
  letter-spacing: 0.5px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.FAQ-toggle {
  font-size: 22px;
  font-weight: bold;
  color: #ff6b3b;
  transition: transform 0.3s ease;
}

.FAQ-answer {
  margin-top: 10px;
  font-size: 15px;
  color: #e0f2f1;
  line-height: 1.6;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.FAQ-item.open .FAQ-answer {
  display: block;
}

.FAQ-item.open .FAQ-toggle {
  transform: rotate(45deg); /* dari "+" jadi "x" secara visual */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE FAQ ========== */

/* Tablet landscape (1024px kebawah) */
@media (max-width: 1200px) {
  .FAQ-title {
    margin-left: 150px;
    font-size: 20px;
  }

  .FAQ-list {
    margin: 0 150px;
  }
}

/* Tablet portrait (768px kebawah) */
@media (max-width: 991px) {
  .FAQ-title {
    margin-left: 80px;
    font-size: 19px;
    text-align: left;
  }

  .FAQ-list {
    margin: 0 80px;
  }
}

/* Mobile (HP, 576px kebawah) */
@media (max-width: 767px) {
  .FAQ-container {
    padding: 40px 15px;
  }

  .FAQ-title {
    margin: 0 0 40px 0;
    font-size: 18px;
    text-align: center;
  }

  .FAQ-list {
    margin: 0;
  }

  .FAQ-question {
    font-size: 14px;
  }

  .FAQ-answer {
    font-size: 14px;
  }
}
