:root {
  --bg: #fff;
  --text: #000000;
  --muted: #667085;
  --primary: #107692;
  --primary-600: #107692;
  --primary-700: #107692;
  --accent: #107692;
  --soft: #107692;
  --line: #107692;
  --chip: #107692;
  --shadow: 0 10px 25px rgba(233, 30, 99, 0.12);
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: #fff;
  padding-top: 50px; /* sesuaikan dengan tinggi navbar */
  font-size: 14px;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 100%;
  margin-inline: auto;
  padding: 5px 5px;
  background: #fff;
}

/* ==== CHIPBAR ==== */
.chipbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.chip-scroll {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.chip-scroll::-webkit-scrollbar {
  display: none;
}
.chip {
  white-space: nowrap;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--chip);
  font-weight: 600;
  color: var(--primary-700);
}

/* ==== HERO ==== */
/* HERO SECTION */
.hero {
  padding: 5px; /* hanya jarak atas bawah */
  background: transparent; /* hapus warna full width */
}

.hero .container {
  background: #107692; /* warna hanya sebatas container */
  border-radius: 12px; /* biar rapi */
  padding-left: 2px;
  padding-right: 2px;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.hero-grid .banner,
.hero-grid .mini-grid {
  flex: 1 1 100%; /* full-width di mobile */
}
.banner {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 220px;
  overflow: hidden;
}
.banner .content {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner h2 {
  margin-bottom: 6px;
  font-size: 28px;
}
.banner p {
  margin-bottom: 14px;
  color: var(--muted);
}

/* ==== BUTTON ==== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn.primary {
  background: #107692;
  color: #fff;
}
.btn.soft {
  background: #fff;
  border-color: var(--line);
}

/* ==== MINI GRID ==== */
.mini-grid {
  display: grid;
  gap: 16px;
}
.mini {
  background: #fff;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.mini .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #107692;
}

/* ==== SERVICES ==== */
.services {
  padding: 26px 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Kalau mau lebih rapat di mobile */
@media (max-width: 640px) {
  .hero {
    padding: 10px 0 !important;
  }
  .hero-grid {
    gap: 10px; /* biar antar grid tidak terlalu renggang */
  }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Umum untuk section */
section {
  padding: 60px 0;
}
section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Card style */
.resource-card {
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Gambar tetap di atas */
.resource-card img {
  width: 100%;
  height: 180px; /* tinggi konsisten */
  object-fit: cover; /* gambar tidak melebar */
  border-bottom: 1px solid #eee;
}

/* Judul & deskripsi */
.resource-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.resource-card .card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}
/* Tombol panah */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s;
  z-index: 10;
}
.scroll-btn:hover {
  background: #287489;
}
.scroll-btn.left {
  left: -10px;
}
.scroll-btn.right {
  right: -10px;
}

@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  } /* di HP hilang, biar swipe */
}
