/* === Global Reset & Base Styles === */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 10px;
  padding: 0;
  font-size: 18px; /* dulunya 16px */
  line-height: 1.6; /* biar lega antar baris */
}

html {
  scroll-behavior: smooth;
}

/* === Typography === */
h3 {
  margin-top: 0;
  color: #0056b3;
}

/* === Layout Section === */
section {
  margin-top: 20px;
}

/* === Compact List Styling === */
.compact {
  padding-left: 1.2rem;
  line-height: 1.4;
}

.compact li {
  margin-bottom: 0.5rem;
}

/* === Step Card Styling === */
.step-card {
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0 4px 4px 0;
}

.step-card.emergency {
  border-left-color: #dc3545;
  background: #fff8f8;
}

/* === Responsibility Note === */
.responsibility {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.5rem;
  font-style: italic;
}

/* === Navigation Menu === */
#menu-toggle {
  background-color: #333;
  color: white;
  padding: 10px 15px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

nav {
  background-color: #333;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  justify-items: center;
  z-index: 999;
}

nav.hidden {
  display: none;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  background-color: #555;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #777;
  text-decoration: none;
}

/* === Detail List & Ul === */
details {
  margin-left: 10px;
  margin-bottom: 10px;
  line-height: 1.6;
}

details ul {
  margin-top: 5px;
}

ul {
  padding-left: 20px;
}

/* === Image Styling === */
img.logo {
  width: 120px;
  height: auto;
}

.ttd {
  width: 120px;
  max-width: 100%;
}

/* === Responsive Adjustments === */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .ttd {
    width: 180px; /* Lebih gede untuk HP */
  }
}
