@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

:root {
  --primary-purple: #a06ec4;
  --primary-soft: #e6d8f5;
  --primary-hover: #d4c0ee;
  --bg: #ffffff;
  --accent: #ff9e0d;
  --accent-hover: #e68900;
  --nav-height: 70px;
  --container-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--primary-purple);
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  padding: 0 10%;
  background-color: var(--primary-purple);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.navbar-logo img {
  height: 45px;
  width: auto;
}

.menu {
  display: flex;
  gap: 12px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #a06ec4;
  padding: 10px 10%;
  height: 70px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.menu {
  display: flex;
  gap: 15px;
  list-style: none;
}

.menu-item {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 8px;
  background: transparent;
  transition: 0.3s;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

main {
  padding-top: 70px;
}
.lapor-container,
.container-hak {
  margin-top: 0;
}
/* Hero Section */
.hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 40px 0;
}

.hero-text h1 {
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0;
}
.hero-text h2 {
  font-weight: 400;
  font-size: 1.5rem;
  opacity: 0.9;
}

.btn-custom {
  background-color: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-custom:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: rgba(67, 115, 184, 1) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.3s;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background-color: rgba(57, 100, 164, 1) !important;
  color: #fff !important;
  transform: scale(1.05);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-image img {
  width: 400px;
  height: auto;
}

.card-action h5 {
  font-weight: 700;
}
/* Card Action */
.card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}

.card-icon {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.card-purple {
  background: var(--primary-soft);
  color: var(--primary-purple);
  border: 1px solid #d9c6ec;
}

.card-light {
  background: #efe7fa;
  color: var(--primary-purple);
  border: 1px solid #e3d3f5;
}

.card-action:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(160, 110, 196, 0.15);
  color: var(--primary-purple);
}

/* Footer */
.footer {
  background: #f5f0fa;
  padding: 40px 0;
  text-align: center;
  margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .hero-image img {
    width: 280px;
  }
  .navbar {
    padding: 0 5%;
  }
  .menu {
    display: none;
  } /* Idealnya buat hamburger menu di sini */
}

/* Container Nav agar Logo & Hamburger rapi */
.container-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Tombol Hamburger (Default Sembunyi) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: 0.3s;
}

/* RESPONSIVE (Layar HP/Tablet) */
@media (max-width: 768px) {
  .hamburger {
    display: flex; /* Munculkan hamburger */
  }

  .menu {
    position: absolute;
    top: var(--nav-height);
    left: -100%; /* Sembunyi di kiri luar layar */
    flex-direction: column;
    background-color: var(--primary-purple);
    width: 100%;
    text-align: center;
    gap: 0;
    transition: 0.4s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }

  .menu.active {
    left: 0; /* Muncul saat diklik */
  }

  .menu-item {
    display: block;
    padding: 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Animasi Hamburger jadi Silang (X) */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #7f55b3;
}

/* Container */
.container {
  width: 85%;
  margin: 30px auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.logo img {
  width: 55px;
}

.logo h4 {
  color: #9b69c7;
  font-size: 16px;
}

.logo p {
  color: #9b69c7;
  font-size: 12px;
}

/* Card Umum untuk halaman pengertian */
.pengertian-page .card {
  background: #ffffff;
  border: 1px solid #e5d7f4;
  border-radius: 15px;
  padding: 35px;
  margin-bottom: 25px;
  text-align: center;
}

/* Card ungu */
.pengertian-page .purple {
  background-color: #efe4fa;
  border: none;
}

/* Judul */
.pengertian-page .card h2 {
  font-size: 20px;
  margin-bottom: 25px;
  color: #8e5ec4;
}

/* Paragraf */
.pengertian-page .card p {
  font-size: 14px;
  line-height: 1.8;
  color: #7b5b9b;
}

/* Grid */
.pengertian-page .grid {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

/* Item */
.pengertian-page .item {
  width: 170px;
}

.pengertian-page .item i {
  font-size: 38px;
  color: #9b69c7;
  margin-bottom: 15px;
}

.pengertian-page .item h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #8e5ec4;
}

.pengertian-page .item p {
  font-size: 12px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: 90%;
  }

  .card h2 {
    font-size: 24px;
  }

  .item {
    width: 100%;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #8c5cc3;
}

/* Container */
.container {
  width: 85%;
  margin: 30px auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.logo img {
  width: 55px;
}

.logo h4 {
  font-size: 16px;
  color: #9b69c7;
}

.logo p {
  font-size: 12px;
  color: #9b69c7;
}

/* Judul */
.title {
  text-align: center;
  margin-bottom: 30px;
}

.title h1 {
  color: #8e5ec4;
  font-size: 38px;
  line-height: 1.3;
}

/* Custom card row untuk halaman langkah */
.langkah-page .custom-row {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

/* Card */
.langkah-page .card {
  flex: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #eadcf7;
  border-radius: 15px;
  padding: 25px;
}

/* Card tengah */
.langkah-page .middle {
  width: 100%;
  background: #f0e5fb;
  border: none;
  margin-bottom: 25px;
}

/* Icon */
.langkah-page .icon {
  min-width: 85px;
  text-align: center;
}

.langkah-page .icon i {
  font-size: 55px;
}

/* Warna icon */
.langkah-page .shield i {
  color: #f5a000;
}

.langkah-page .call i {
  color: #8e5ec4;
}

.langkah-page .note i {
  color: #8e5ec4;
}

.langkah-page .report i {
  color: #d4a24c;
}

.langkah-page .support i {
  color: #d8a59c;
}

/* Konten */
.langkah-page .content h3 {
  font-size: 24px;
  color: #8e5ec4;
  margin-bottom: 10px;
}

.langkah-page .content p {
  font-size: 13px;
  color: #7b6d8a;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: 90%;
  }

  .langkah-page .custom-row {
    flex-direction: column;
  }

  .langkah-page .card {
    flex-direction: column;
    text-align: center;
  }

  .icon {
    margin-bottom: 15px;
  }

  .title h1 {
    font-size: 28px;
  }

  .content h3 {
    font-size: 20px;
  }
}
