* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #0a1f44;
  padding: 20px;
}

.navbar {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  z-index: 10;
  background-color: white;
  color: #0a1f44;
  padding: 15px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hamburger {
  display: none;
  font-size: 1rem;
  cursor: pointer;
}
.navbar img {
  width: 200px;
  height: 50px;
}

.nav-navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.nav-navbar a {
  color: #0a1f44;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 150px;
  justify-content: center;
}
.nav-navbar a.active {
  color: orange; /* warna HOME aktif */
}
.nav-navbar a:hover {
  color: #015eff;
}

.navbar ul li a:hover {
  color: #007bff; /* hover effect */
}
.info-box,
.form-box {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 500px;
  padding: 20px;
  max-width: 600px;
}

.info-box h2,
.form-box h2 {
  background-color: #0a1f44;
  color: white;
  padding: 12px 20px;
  font-size: 1.2rem;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.info-item {
  text-align: center;
}

.info-item i {
  font-size: 24px;
  margin-bottom: 10px;
  color: #0a1f44;
}

.info-item h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.form-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-row input {
  flex: 1 1 48%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea {
  padding: 10px;
  min-height: 100px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
  width: 100%;
}

label {
  font-size: 0.9rem;
}
a {
  text-decoration: none;
  color: #0a1f44;
}
a:hover {
  color: orange;
}

.captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.captcha-code {
  background: #f5f5f5;
  padding: 6px 12px;
  border: 1px dashed #999;
  font-family: monospace;
  font-size: 1rem;
}

.captcha input {
  flex: 1 1 150px;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.note {
  font-size: 0.8rem;
  color: #555;
}

button {
  background-color: #0a1f44;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0a1f44;
}

@media screen and (max-width: 600px) {
  .form-row input {
    flex: 1 1 100%;
  }

  .captcha {
    flex-direction: column;
    align-items: flex-start;
  }

  button {
    width: 100%;
    justify-content: center;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar img {
    width: 40%;
    height: 40%;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
  }
  .nav-navbar {
    flex-direction: column;
    width: 100%;
    display: none;
  }
  .nav-navbar.active {
    display: flex;
  }
  .nav-navbar a {
    margin: 5px 0;
  }
}
