:root {
  --primary: #0d2a52;
  --primary2: #133b73;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1e2430;
  --muted: #6b7280;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 18px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header */
header {
  background: var(--primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.navbar {
  width: 92%;
  max-width: 1150px;
  margin: auto;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Desktop menu */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  display: inline-block;
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.14);
}

/* Dropdown desktop */
.dropdown-menu {
  display: none;
  position: absolute;
  background: #163b6e;
  top: 46px;
  left: 0;
  min-width: 220px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 18px;
  background: white;
  margin: 4px auto;
}

/* Slider */
.slider {
  width: 100%;
  height: 460px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.slide {
  width: 100%;
  height: 460px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: brightness(0.75);
}

.slide-caption {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 980px;
  color: white;
}

.slide-caption .box {
  max-width: 680px;
  background: rgba(0,0,0,0.45);
  padding: 18px 18px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.slide-caption h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.slide-caption p {
  color: rgba(255,255,255,0.9);
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 20px;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.32);
}

.prev {
  left: 18px;
}

.next {
  right: 18px;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}

.dot.active {
  background: rgba(255,255,255,0.95);
}

/* Sections */
.container {
  width: 92%;
  max-width: 1150px;
  margin: auto;
  padding: 36px 0;
}

.section-title {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 760px;
}

/* Thumbnail 2 columns */
.thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.thumb-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.thumb-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.thumb-card .content {
  padding: 18px;
}

.thumb-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.thumb-card p {
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 14px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
}

.btn:hover {
  background: var(--primary2);
}

/* Content box */
.content-box {
  background: var(--card);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Service list */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-card {
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

.service-card p {
  color: var(--muted);
}

/* Contact */
form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  outline: none;
}

input:focus, textarea:focus {
  border-color: rgba(13,42,82,0.35);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--primary2);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 22px;
  text-align: center;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
  .thumb-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .slide-caption h2 {
    font-size: 24px;
  }
}

@media (max-width: 780px) {
  .hamburger {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  /* Dropdown mobile: tampilkan menu di dalam */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(255,255,255,0.08);
    margin: 6px 0 10px 0;
    border-radius: 14px;
  }

  .dropdown-menu.show {
    display: block;
  }

  .slider-btn {
    display: none;
  }
}
