/* ========== GLOBAL ========== */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4faf7;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== NAVBAR ========== */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 12px 30px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.logo-biru {
  color: #1e88e5;
}

.logo-hijau {
  color: #43a047;
}

.navbar-icons a {
  margin-left: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar-icons a:hover,
.navbar-icons a.active {
  color: #00a86b;
}

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #1e88e5;
}

/* ========== OVERLAY ========== */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 997;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#overlay.active {
  display: block;
  opacity: 1;
}

/* ========== SECTION: PAKAR ========== */
.pakar-section {
  padding: 14px 20px 30px;
  flex: 1;
  background-color: #f4faf7;
}

.pakar-header {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 6px;
}

.pakar-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e88e5;
  margin-bottom: 8px;
}

.pakar-header p {
  font-size: 14px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ========== GRID ========== */
.pakar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ========== ANIMASI ========== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.pakar-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.pakar-card:hover {
  transform: translateY(-6px);
}

.pakar-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pakar-card .content {
  padding: 16px;
  flex-grow: 1;
}

.pakar-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #388e3c;
}

.pakar-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ========== BUTTON ========== */
.join-button {
  margin-top: 4px;
}

.join-button a {
  display: inline-block;
  background-color: #00a86b;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.join-button a:hover {
  background-color: #007d4f;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #888;
  background-color: #e0f2f1;
  margin-top: 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar-icons {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 0;
    width: 220px;
    height: calc(100vh - 60px);
    background-color: #ffffff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.05);
    padding: 20px 10px;
    z-index: 998;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .navbar-icons.show {
    transform: translateX(0);
  }

  .navbar-icons a {
    padding: 14px 12px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    color: #222;
  }

  .pakar-header h2 {
    font-size: 22px;
  }

  .pakar-header p {
    font-size: 14px;
  }

  .pakar-card img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .navbar-icons {
    width: 200px !important;
  }

  .pakar-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pakar-card h3 {
    font-size: 16px;
  }

  .pakar-card p {
    font-size: 13px;
  }

  .join-button a {
    font-size: 14px;
    padding: 8px 12px;
  }

  footer {
    font-size: 12px;
    padding: 14px;
  }
}
