/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Pastikan font Montserrat digunakan di seluruh FAQ */
.faq-section {
  font-family: 'Montserrat', Arial, sans-serif;
}

.faq-question,
.faq-answer,
.faq-answer p,
.faq-answer ul,
.faq-answer ul li {
  font-family: inherit; /* mewarisi font dari .faq-section */
}

/* Body */
html, body {
  height: 100%;           /* full viewport height */
  margin: 0;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background: #660300; /* Maroon */
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 50px;
  margin-right: 15px;
}

header h1 {
  font-size: 20px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff; /* Light Gold */
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #ffbf00; /* Gold */
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(102,3,0,0.75), rgba(102,3,0,0.75)),
              url('banner.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;

  /* Ukuran konsisten */
  min-height: 400px;   /* bisa disesuaikan: 400px / 600px */
  height: 400px;       /* pakai fixed agar sama persis */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 20px;       /* bukan lagi padding besar */
  box-sizing: border-box;
}

/* Judul */
.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: #ffdc73;
  text-shadow: 
  2px 2px 6px rgba(0,0,0,0.6),
  4px 4px 12px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  animation: textFadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

/* Paragraf */
.hero p {
  font-size: 18px;
  margin-bottom: 25px;

  opacity: 0;
  transform: translateY(20px);
  animation: textFadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

/* Tombol */
.hero .btn {
  background: #ffbf00;
  color: #340705;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;

  opacity: 0;
  transform: translateY(20px);
  animation: textFadeUp 1s ease forwards;
  animation-delay: 0.8s;
}

.hero .btn:hover {
  background: #660300;
  color: #fff;
  transform: translateY(-3px);
}

/* Keyframes */
@keyframes textFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Goals */
.goals {
  padding: 50px 20px;
  text-align: center;
}

.goals h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #660300;
}

.goals ul {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.goals ul li {
  margin: 10px 0;
  font-size: 16px;
}

/* Quick Links */
.quick-links {
  background: #f4f6f9;
  padding: 50px 20px;
  text-align: center;
}

.quick-links h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #660300;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #fff;
  border: 2px solid #660300;
  color: #660300;
  padding: 20px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.card:hover {
  background: #660300;
  color: #fff;
}

/* =========================
   FAQ Theme Layout (proporsional)
   ========================= */

.faq-section {
  max-width: 1200px;    /* batasi agar tidak terlalu lebar */
  margin: auto;
  padding: 50px 20px;
}

.faq-theme {
  display: flex;
  align-items: flex-start;
  gap: 40px;            /* jarak antar kolom */
  margin-bottom: 70px;
}

/* Tema genap → gambar di kiri */
.faq-theme.reverse {
  flex-direction: row-reverse;
}

.faq-content {
  flex: 2;              /* kolom pertanyaan lebih lebar */
}

.faq-image {
  flex: 1;              /* kolom gambar lebih kecil */
  max-width: 350px;     /* batasi lebar gambar */
}

.faq-image img {
  width: 300px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-image img:hover {
  transform: scale(1.05);
}

/* FAQ box tidak lagi melebar keluar container */
.faq {
  width: 100%;
  margin: 0 0 15px 0;
  border: none;
  border-radius: 8px;
}

/* Pertanyaan */
.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: #660300;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

/* Jawaban */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: transparent;
  padding: 0;
  transition: max-height 0.36s ease;
}
.faq-answer p {
  padding: 16px 20px;
  margin: 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  color: #333;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-theme,
  .faq-theme.reverse {
    flex-direction: column;
  }
  .faq-image {
    max-width: 100%;
    margin: 20px 0;
  }
  .faq-content {
    flex: 1;
  }
}

/* Footer */
footer {
  background: #340705;
  color: #ffdc73;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}
