/* ================= RESET & GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(135deg, #E3F2FD, #90CAF9);
  color: #111827;
  line-height: 1.6;
}

/* ================= FAQ SECTION ================= */
#faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(60px, 12vw, 120px) clamp(16px, 6vw, 80px);
  background: #fdfdfd;
}

#faq .container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* H2 Modern */
#faq h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.25;
  color: #0D1B2A;
  margin: 0 auto 20px;
  max-width: 640px;
  text-align: left;
}

/* P Modern */
#faq p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 2.5vw, 18px);
  line-height: 1.7;
  color: #1B365D;
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: left;
}

/* FAQ ITEM */
.faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  background-color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* FAQ BUTTON */
.faq-question {
  width: 100%;
  padding: 22px 28px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(135deg, #E3F2FD, #90CAF9);
  color: #0D1B2A;
  transition: background 0.3s, color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
}

.faq-question:hover {
  background: linear-gradient(135deg, #D0E4FC, #76AFFF);
}

/* FAQ ANSWER */
.faq-answer {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background-color: #fff8f0;
  font-size: 16px;
  line-height: 1.7;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  padding: 20px 28px;
  max-height: 600px; /* lebih lega untuk jawaban panjang */
}

/* Tombol + */
.faq-item .faq-question::after {
  content: '+';
  font-size: 26px;
  transition: transform 0.3s;
}

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

/* ================= FAQ RESPONSIVE ================= */
@media screen and (max-width: 480px) {
  #faq {
    padding: 50px 15px;
  }

  #faq h2 {
    font-size: clamp(24px, 6vw, 40px);
  }

  #faq p {
    font-size: clamp(12px, 3vw, 16px);
    margin-bottom: 24px;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px 20px;
  }

  .faq-answer {
    font-size: 14px;
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 16px 20px;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  #faq {
    padding: 70px 20px;
  }

  #faq h2 {
    font-size: clamp(26px, 5vw, 50px);
  }

  #faq p {
    font-size: clamp(13px, 2.5vw, 16px);
    margin-bottom: 28px;
  }

  .faq-question {
    font-size: 17px;
    padding: 18px 22px;
  }

  .faq-answer {
    font-size: 15px;
    padding: 0 22px;
  }

  .faq-item.active .faq-answer {
    padding: 18px 22px;
  }
}

@media screen and (min-width: 769px) {
  #faq {
    padding: clamp(80px, 12vw, 120px) clamp(16px, 6vw, 80px);
  }

  #faq h2 {
    font-size: clamp(28px, 5vw, 60px);
  }

  #faq p {
    font-size: clamp(14px, 2.5vw, 18px);
    margin-bottom: 32px;
  }

  .faq-question {
    font-size: 18px;
    padding: 22px 28px;
  }

  .faq-answer {
    font-size: 16px;
    padding: 0 28px;
  }

  .faq-item.active .faq-answer {
    padding: 20px 28px;
  }
}
.footer {
  background-color: #0F172A   /* Tailwind navy */; /* navy gelap elegan */
  padding: 40px 20px;
  color: #ffffff;
  text-align: center;
}

.footer-section h3 {
  font-size: 15px;
  margin-bottom: 10px;
  border-bottom: 2px solid #1EA0FF;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-section a {
  display: block;
  color: #cfe8ff;
  margin: 6px 0;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 25px;
  font-size: 14px;
  opacity: 0.7;
}
