/* === Scroll To Top Button === */
#scrollTopBtn {
  position: fixed;
  right: 18px;
  bottom: 72px; /* ⬅️ di atas tombol Kembali */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: #1a2332;
  color: #ffc107;
  font-size: 20px;
  font-weight: bold;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* hover */
#scrollTopBtn:hover {
  background: #0f172a;
}

/* Mobile tweak */
@media (max-width: 768px) {
  #scrollTopBtn {
    width: 40px;
    height: 40px;
    bottom: 64px;
    font-size: 18px;
  }
}
/* === Floating Back Button (pojok kanan bawah, tetap saat scroll) === */
#backBtn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  /* biar keliatan "floating" */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  font-weight: 900;
  font-size: 13px;
  color: #0f172a;
}
.btn-outline:hover {
  border-color: rgba(255, 193, 7, 0.55);
  color: #ff9800;
}
/* Mobile: agak kecil + rapihin */
@media (max-width: 768px) {
  #backBtn {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 12px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

:root {
  --header-h: 100px;
  --navy: #1a2332;
  --yellow: #ffc107;
  --line: #eef2f7;
  --muted: #667085;
  --shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
  --radius: 14px;
}
body {
  padding-top: var(--header-h);
}

/* NAVBAR */
header {
  background: var(--navy);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}
nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  color: #fff;
  transition: color 0.3s;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--yellow);
}
.nav-links a.active {
  color: var(--yellow);
  font-weight: 800;
}

.btncon-primary {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #1a2332;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 700;
  display: inline-block;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.btncon-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.mobile-menu {
  display: none;
  color: #1a2332;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
}
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .nav-links.active {
    display: flex;
    position: fixed; /* ✅ */
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0; /* ✅ */
    background: var(--navy);
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    overflow-y: auto; /* ✅ */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 28px;
    z-index: 999;
  }

  .nav-links.active li {
    text-align: center;
  }
  .nav-links.active .btn-primary {
    margin-top: 10px;
  }
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a {
  color: #1a2332;
  font-weight: 900;
}
.breadcrumb span {
  margin: 0 6px;
  color: #98a2b3;
}
.page-title {
  font-size: 34px;
  font-weight: 900;
  color: #0b1220;
}
.page-subtitle {
  margin-top: 10px;
  color: #667085;
  max-width: 740px;
  line-height: 1.6;
  font-size: 14px;
}
/* Layout */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
  padding: 0 0 80px;
}
@media (max-width: 992px) {
  .layout {
    grid-template-columns: 1fr;
  }
}
/* ===== NAVBAR DROPDOWN 2-LEVEL (OUR PRODUCT) ===== */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle .caret {
  font-size: 12px;
  opacity: 0.85;
  transform: translateY(1px);
}

/* Panel dropdown */
.dd-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 640px;
  max-width: 80vw;

  background: #1a2332;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);

  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;

  opacity: 0;
  visibility: hidden;
  translate: 0 -6px;
  transition:
    opacity 160ms ease,
    visibility 160ms ease,
    translate 160ms ease;
  z-index: 1200;
}

/* Arrow kecil */
.dd-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 32px;
  width: 14px;
  height: 14px;
  background: #1a2332;
  transform: rotate(45deg);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Show on hover (desktop) */
@media (min-width: 769px) {
  .nav-item.dropdown:hover .dd-panel,
  .nav-item.dropdown:focus-within .dd-panel {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
  }
}

/* LEFT column */
.dd-left {
  background: rgba(26, 35, 50, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 10px;
}

.dd-main {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #0b1220;
  font-weight: 800;

  transition: background 140ms ease;
}

.dd-main:hover,
.dd-main.active {
  background: rgba(255, 193, 7, 0.18);
}

.dd-arrow {
  opacity: 0.7;
}

/* RIGHT column */
.dd-right {
  border-radius: 12px;
  padding: 6px 4px;
  min-height: 210px;
  position: relative;
}

/* placeholder saat belum pilih kategori */
.dd-right::before {
  content: "Pilih kategori untuk melihat produk";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

/* kalau sudah ada panel yang tampil */
.dd-right.has-show::before {
  display: none;
}

/* sub panels default hidden */
.dd-sub {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.dd-sub.show {
  display: flex;
}

.dd-sub a {
  text-decoration: none;
  color: #0b1220;
  font-weight: 650;
  padding: 10px 10px;
  border-radius: 10px;
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.dd-sub a:hover {
  background: rgba(26, 35, 50, 0.06);
  transform: translateX(2px);
}

/* ===== Mobile behavior ===== */
@media (max-width: 768px) {
  .dd-panel {
    position: static;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;

    display: none; /* default tutup */
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    margin-top: 10px;
  }

  .dd-panel::before {
    display: none;
  }

  .nav-item.dropdown.open .dd-panel {
    display: grid;
  }

  .dd-right {
    min-height: 0;
  }
}

/* ===== FIX dropdown mobile drawer (override styling) ===== */
@media (max-width: 768px) {
  .nav-links.active li.nav-item.dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-links.active li.nav-item.dropdown .dd-panel {
    padding: 10px;
    border-radius: 12px;
    text-align: left;
    gap: 10px;
  }

  .nav-links.active li.nav-item.dropdown .dd-left {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-links.active li.nav-item.dropdown .dd-main {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.active li.nav-item.dropdown .dd-main:hover,
  .nav-links.active li.nav-item.dropdown .dd-main.active {
    background: rgba(255, 193, 7, 0.14);
  }

  .nav-links.active li.nav-item.dropdown .dd-right {
    padding: 0;
  }

  .nav-links.active li.nav-item.dropdown .dd-sub {
    gap: 6px;
    padding-top: 8px;
  }

  .nav-links.active li.nav-item.dropdown .dd-sub a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.active li.nav-item.dropdown .dd-sub a:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: none;
  }

  .nav-links.active li.nav-item.dropdown .dd-right::before {
    padding: 14px 10px;
    font-size: 13px;
    line-height: 1.35;
  }
}

/* Header & Navbar */
header {
  background: #1a2332;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  height: 100px;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden; /* ✅ ini penting */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block; /* biar gak ada gap kecil */
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a:not(.btn-primarynav) {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffc107;
}

.btn-primarynav {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #1a2332;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: inline-block;
}

.btn-primarynav:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.mobile-menu {
  display: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* =========================
   HERO SLIDER (FULL / NO CROP)
   ========================= */

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0e1624;

  /* Desktop: biar terlihat full tanpa kepotong */
  height: calc(100vh - 100px);
  display: flex;
  align-items: center; /* center vertikal gambar */
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center; /* center vertikal */
  justify-content: center; /* center horizontal */
}

/* Picture dan img ikut penuh area slider */
.slide picture {
  width: 100%;
  height: 100%;
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;

  /* ✅ INI KUNCI: desktop jadi FULL (tidak crop) */
  object-fit: cover;
  object-position: center;

  /* biar kalau ada space kosong, rapih (letterbox) */
  background: #0e1624;
}

/* Dots */
.dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.25s;
}

.dot.active {
  background: #00c2ff;
  transform: scale(1.2);
}

/* ===== MOBILE: tidak maksa, tidak nge-zoom, tetap tajam ===== */
@media (max-width: 768px) {
  /* HERO: tanpa ruang kosong & tanpa crop (tinggi ikut gambar) */
  .hero-slider {
    height: auto; /* tinggi ikut gambar */
    aspect-ratio: auto; /* matikan paksa rasio */
    background: transparent;
    overflow: hidden;
  }

  .slides {
    height: auto;
  }

  .slide {
    height: auto;
    align-items: stretch; /* jangan center yang bikin ada ruang */
    justify-content: flex-start;
  }

  .slide picture,
  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  .slide img {
    object-fit: unset; /* tidak perlu contain/cover */
    max-height: none; /* hapus batas 50vh */
    background: none;
  }

  /* supaya section putih (Featured Products) naik & mepet */
  .features {
    padding-top: 20px; /* ubah ke 0 jika mau super mepet */
  }
}

/* ===== OUR PRODUCT ===== */
.our-product {
  background: #fff;
  padding-bottom: 90px;
}
.op-hero {
  background: #bfbfbf;
  padding: 18px 0;
  text-align: center;
  font-weight: 800;
}

.op-breadcrumb {
  margin: 10px 0 6px; /* 🔽 lebih rapat */
  font-size: 14px;
  color: #444;
}

.op-breadcrumb span {
  color: #999;
  margin: 0 6px;
}

.op-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 35px;
  align-items: start;
}
.op-sidebar {
  border-top: 1px solid #eee;
}
.op-link {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 10px 14px 24px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: #222;
}
.op-link::before {
  content: "›";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
}
.op-link.active {
  color: #d10000;
}

.op-content {
  background: #f5b3b3; /* pink area seperti contoh */
  padding: 18px 18px 26px;
}
.op-panel {
  display: none;
}
.op-panel.active {
  display: block;
}

.op-panel-head {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.op-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.op-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 18px;
  text-align: center;
}
.op-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
}
.op-card-name {
  margin-top: 10px;
  color: #d10000;
  font-weight: 800;
}

/* responsive */
@media (max-width: 992px) {
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .op-layout {
    grid-template-columns: 1fr;
  }
  .op-cards {
    grid-template-columns: 1fr;
  }
}
/* Feature image */
.feature-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== FEATURES (SLIDER) ===== */
.features {
  margin-top: 0;
  padding: 70px 0;
  background: #fff;
  position: relative;
  z-index: 1;
}

/* wrapper slider */
.feature-slider {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  padding: 8px 0;
}

.feature-slider:active {
  cursor: grabbing;
}

/* fade kiri-kanan biar mirip brand (opsional tapi cakep) */
.feature-slider::before,
.feature-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
  z-index: 2;
}

.feature-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.feature-slider::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

/* track horizontal */
.feature-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* card tetap style kamu, tapi dibuat fixed width biar jadi slider */
.feature-card {
  flex: 0 0 auto;
  width: 360px; /* ukuran card slider */
  background: #fff;
  padding: 26px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 18px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.feature-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center; /* ⬅️ bikin tombol ke tengah */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* feature image tetap */
.feature-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  -webkit-user-drag: none;
}

/* teks */
.feature-content h3 {
  color: #1a2332;
  margin-bottom: 10px;
  font-size: 18px;
}
.feature-content p {
  font-size: 14px;
  color: #666;
}

/* responsive */
@media (max-width: 768px) {
  .feature-card {
    width: 280px;
    flex-direction: column;
    text-align: center;
  }

  .feature-image {
    width: 100%;
    height: 160px;
    border-radius: 12px;
  }

  .feature-slider::before,
  .feature-slider::after {
    width: 50px;
  }
}
/* ===== FEATURE IMAGE: BIKIN SEKONSEP ===== */
.feature-image {
  position: relative;
  background: #0e1624; /* fallback kalau image gagal load */
}

/* overlay gelap halus biar semua foto tone-nya sama */
.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 22, 36, 0.1) 0%,
    rgba(14, 22, 36, 0.28) 100%
  );
  pointer-events: none;
}

/* treatment gambar biar sekonsep */
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* kunci “sekonsep”: tone + sedikit contrast */
  filter: saturate(0.9) contrast(1.05) brightness(0.98);
  transform: scale(1.02); /* ngilangin pinggir kosong akibat crop */
}

.btn-more-product {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  background: #f5b400; /* kuning tombol kamu */
  color: #0e1624; /* navy text */
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.btn-more-product:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* ===== BRAND SECTION ===== */
.brand-section {
  background: #1a2332;
  padding: 70px 0;
  margin-top: -50px;
  border-radius: 20px;
  color: #fff;
}

.brand-title {
  color: #1a2332;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

/* Container putih + border tipis */
.brand-slider {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  padding: 14px 14px;
  cursor: grab;
  user-select: none;
}

.brand-slider:active {
  cursor: grabbing;
}

/* Fade kiri-kanan biar “premium” */
.brand-slider::before,
.brand-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
  z-index: 2;
}

.brand-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.brand-slider::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

/* INI YANG WAJIB: flex biar ga turun ke bawah */
.brand-track {
  display: flex;
  align-items: center;
  gap: 26px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Box seragam untuk semua logo */
.brand-card {
  flex: 0 0 auto;
  width: 120px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #fff;
}

/* Logo di dalam box */
.brand-card img {
  max-width: 85%;
  max-height: 70%;
  object-fit: contain;

  /* default grayscale */
  filter: grayscale(100%) brightness(0.85) contrast(1.05);
  opacity: 0.8;

  transition:
    filter 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;

  -webkit-user-drag: none;
  -user-drag: none;
}

.brand-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

/* Mobile */
@media (max-width: 768px) {
  .brand-track {
    gap: 18px;
  }

  .brand-card {
    width: 96px;
    height: 38px;
  }

  .brand-slider::before,
  .brand-slider::after {
    width: 50px;
  }
}

/* ===== BRAND SECTION ===== */
.brand-section {
  background: #ffffff;
  padding: 70px 0;
  margin-top: 50px;
  border-radius: 20px;
  color: #fff;
}

.brand-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

/* ✅ Slider tanpa background putih (nyambung ke section) */
.brand-slider {
  position: relative;
  overflow: hidden;

  background: transparent;
  border: 0;
  padding: 8px 0;
  cursor: grab;
  user-select: none;
}

.brand-slider:active {
  cursor: grabbing;
}

/* ✅ Fade kiri/kanan tapi versi “gelap” (bukan putih) */
.brand-slider::before,
.brand-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

/* Track tetap flex (wajib) */
.brand-track {
  display: flex;
  align-items: center;
  gap: 44px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* ✅ Hapus box putih per-logo */
.brand-card {
  flex: 0 0 auto;
  width: 140px; /* ukuran seragam */
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: 0;
  border-radius: 0;
}

/* Logo */
.brand-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

  filter: grayscale(100%) brightness(1.05) contrast(1.05);
  opacity: 0.7;

  transition:
    filter 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;

  -webkit-user-drag: none;
}

.brand-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 768px) {
  .brand-track {
    gap: 28px;
  }
  .brand-card {
    width: 110px;
    height: 38px;
  }

  .brand-slider::before,
  .brand-slider::after {
    width: 60px;
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
  background: #f8f9fa;
  color: #0b1220;
}

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-subtitle {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0b1220;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #0b1220;
  margin-bottom: 14px;
}

/* ===== STATS ===== */
.about-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}

.stat h3 {
  font-size: 28px;
  color: #0f172a;
  font-weight: 700;
}

.stat span {
  font-size: 13px;
  color: #0b1220;
}

/* ===== VALUES ===== */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 35px;
}

.value-item {
  background: #0b1220;
  padding: 18px;
  border-radius: 14px;
  font-size: 14px;
  transition: 0.3s ease;
}

.value-item strong {
  display: block;
  margin-bottom: 6px;
  color: #f8f9fa;
}

.value-item span {
  font-size: 12px;
  color: #f8f9fa;
}

/* ===== BUTTON ===== */
.btn-primary {
  display: inline-block;
  background: #ffc107;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #ffb300;
}

/* ===== IMAGE ===== */
.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 18px;
}

.about-image .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  color: #ffc107;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
}

/* Services Section */
.services {
  padding: 60px 0 90px;
  background: #f8f9fa;
  margin-top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 320px; /* FOTO BESAR */
  overflow: hidden;
  background: #1a2332;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* foto proses aman */
  display: block;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: #1a2332;
  margin-bottom: 10px;
  font-size: 20px;
}

.service-content p {
  color: #666;
  font-size: 14px;
}

/* Why Choose Us */
.why-choose {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden; /* ⬅️ PENTING */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-image {
  width: 100%;
  height: 220px; /* mirip service tapi sedikit lebih kecil */
  overflow: hidden;
  background: #1a2332;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ⬅️ FULL, TIDAK KECIL */
  display: block;
}

.why-content {
  padding: 25px;
}

.why-content h3 {
  color: #1a2332;
  margin-bottom: 10px;
  font-size: 20px;
}

.why-content p {
  color: #666;
  font-size: 14px;
}

/* ===== SECTION ===== */
.section-form {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.section-title {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 45px;
}

.section-title span {
  display: inline-block;
  color: #2563eb;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* ===== FORM ===== */
.form-paket {
  max-width: 720px;
  margin: auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
}

.form-paket label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #1f2937;
}

.form-paket input,
.form-paket textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  font-family: inherit;
}

.textarea-premium {
  margin-top: 6px;
  resize: vertical;
  min-height: 110px;
  outline: none;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.06);
}

.textarea-premium:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.18);
}


/* =========================
   FORM - DROPDOWN PREMIUM
   ========================= */
.select-wrap {
  margin-top: 8px;
  position: relative;
}

.select-premium {
  width: 100%;
  padding: 12px 44px 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #0b1220;
  outline: none;
  transition: 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.06);
}

.select-premium:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.18);
}

.select-premium:disabled {
  background: #f8fafc;
  color: #94a3b8;
  box-shadow: none;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
  font-size: 18px;
  pointer-events: none;
}

/* =========================
   LINK LIHAT PRODUCT UI
   ========================= */
.lihat-interface {
  margin-top: 12px;
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #0f172a;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.5;
  transition: 0.2s ease;
}

.lihat-interface:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.lihat-interface b {
  color: #2563eb;
}

/* ===== PAKET ===== */
.paket-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.paket {
  position: relative;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  background: #f9fafb;
  border: 2px solid transparent;
  transition: 0.3s;
}

.paket img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.paket span {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

/* ===== AKTIF ===== */
.paket.active {
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
  transform: translateY(-6px);
}

.paket.active::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ===== INDIKATOR ===== */
.indikator {
  margin-top: 18px;
  text-align: center;
  font-weight: 600;
  color: #16a34a;
}

/* ===== BUTTON ===== */
.btn-wa {
  margin-top: 25px;
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  opacity: 0.5;
  pointer-events: none;
}

.btn-wa.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hover */
.paket:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Active */
.paket.active {
  border-color: #25d366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
}

/* Label Paket */
.paket span {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
}

/* ===== BUTTON ===== */
.btn-wa {
  margin-top: 25px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background:
    linear-gradient(rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.9)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%231a2332" width="1200" height="400"/></svg>');
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 15px;
}

.testimonial-text {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.author-info h4 {
  color: #1a2332;
  font-size: 16px;
  margin-bottom: 5px;
}

.author-info p {
  color: #999;
  font-size: 13px;
}

/* =========================
   FOOTER V2 (style seperti contoh)
   tetap nyambung tema web kamu
   ========================= */
.footer-v2 {
  background: #1a2332;
  color: #e5e7eb;
  padding: 44px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-v2-top {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 28px;
  align-items: start;
}

/* LEFT */
.footer-v2-title {
  margin: 0 0 14px;
  color: #ffc107;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.footer-v2-address {
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.7;
  max-width: 520px;
}

.footer-v2-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.footer-v2-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.95;
}

.footer-v2-item:hover {
  color: #ffc107;
}

/* Customer chat block */
.footer-v2-chat {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ICON FOOTER (PAKAI IMG BIASA, AUTO RAPI) */
.ficon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* IMG DI DALAM ICON */
.ficon img {
  width: 12px; /* AUTO PROPORSIONAL */
  height: 12px;
  object-fit: contain;
  display: block;
}

/* RIGHT MAP */
.footer-v2-right {
  min-width: 0;
}

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.map-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.map-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.map-sub {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 2px;
}

.map-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.map-open:hover {
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.35);
}

.map-box {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

/* BOTTOM NAV */
.footer-v2-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-v2-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-v2-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  opacity: 0.95;
}

.footer-v2-nav a:hover {
  color: #ffc107;
}

.footer-v2-copy {
  color: #cbd5e1;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 980px) {
  .footer-v2-top {
    grid-template-columns: 1fr;
  }
  .map-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .footer-v2 {
    padding: 34px 0 18px;
  }
  .footer-v2-title {
    font-size: 24px;
  }
  .footer-v2-nav {
    gap: 12px;
  }
}

/* ===== FIX ICON SOSMED FOOTER BIAR JELAS & RAPI ===== */
.footer-v2-item .ficon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-v2-item .ficon img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* bikin penuh lingkaran */
  object-position: center;
  display: block;

  image-rendering: auto;
  transform: scale(1.08); /* sedikit zoom biar nggak ada pinggir kosong */
}

/* ========================= */
/* ADDED: Mobile drawer full height + scroll (tanpa mengubah CSS yang sudah ada) */
/* ========================= */
@media (max-width: 768px) {
  .nav-links.active {
    position: fixed !important;
    top: var(--header-h) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - var(--header-h)) !important;
    padding-bottom: 24px !important;
  }
}
/* =========================
   ARTICLES (LIKE SCREENSHOT)
   ========================= */

.articles {
  padding: 70px 0 90px;
  background: #f8f9fa;
}

.articles-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 34px;
  color: #0b1220;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  border: 1px solid #eef2f7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.06);
}

.article-thumb {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* bar merah di bawah gambar */
.article-tagbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #0f172a;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.article-body {
  padding: 16px 16px 18px;
}

.article-heading {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
  color: #0b1220;

  /* biar tinggi konsisten (2-3 baris) */
  min-height: 44px;
}

.article-divider {
  margin: 14px 0 12px;
  height: 1px;
  background: #eef2f7;
}

.article-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #667085;
  text-decoration: none;
}

.article-more .arrow {
  color: #0f172a;
  font-weight: 900;
}

/* tombol kanan bawah */
.articles-cta {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
}

.articles-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(225, 29, 46, 0.18);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.articles-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.article-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-link:focus-visible {
  outline: 2px solid #ffc107;
  outline-offset: 4px;
  border-radius: 14px;
}

/* responsive */
@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .article-thumb {
    height: 260px;
  }
  .articles-cta {
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .hero-content,
  .about-content {
    grid-template-columns: 0fr;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta h2 {
    font-size: 28px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*responsive untuk header*/
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: fixed; /* ✅ */
    top: var(--header-h); /* ✅ samakan */
    left: 0;
    right: 0;
    bottom: 0; /* ✅ */
    background: #1a2332;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    overflow-y: auto; /* ✅ */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 28px;
    z-index: 999;
  }

  .nav-links.active li {
    text-align: center;
  }

  .nav-links.active .btn-primary {
    margin-top: 10px;
  }
}

/*responsive untuk about*/

@media (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-stats {
    gap: 20px;
  }

  .about-content {
    display: flex;
    flex-direction: column;
  }
  /* Judul tetap di atas */
  .about-text .section-title {
    order: 0;
  }

  /* 🔥 Gambar tepat di bawah judul */
  .about-image {
    order: 1;
    margin: 20px 0;
  }

  /* Teks lain di bawah gambar */
  .about-text p,
  .about-text .about-list,
  .about-text .btn-primary {
    order: 2;
  }
  .about-image {
    order: -1; /* ✅ gambar naik ke atas */
    margin-bottom: 20px;
  }

  .about-text {
    order: 0;
  }
}

/* responsive untuk service*/
@media (max-width: 768px) {
  .services .container {
    padding-left: 0;
    padding-right: 0;
  }

  .service-card {
    border-radius: 0;
  }

  .service-image {
    border-radius: 0;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}


/* =========================
   OUR SERVICE / FEATURE CARD - RAPIN
   tempel di PALING BAWAH styles.css
   ========================= */

/* jarak section + judul */
.features {
  padding: 80px 0;
}

.features .section-title {
  text-align: center;
  margin-bottom: 34px;
}

/* slider: kasih padding kanan-kiri biar card nggak kepotong fade */
.feature-slider {
  padding: 10px 0;
}

/* track */
.feature-track {
  gap: 22px;
}

/* CARD: tinggi & layout konsisten */
.feature-card {
  width: 380px;
  min-height: 230px;            /* ✅ bikin semua card rata */
  padding: 22px;
  border-radius: 18px;
  align-items: flex-start;      /* ✅ sejajarkan atas */
  gap: 16px;
}

/* ICON/IMAGE: ukurannya konsisten */
.feature-image {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  flex: 0 0 72px;
}

/* CONTENT: rapikan alignment */
.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* JUDUL: maksimal 2 baris, biar rapi */
.feature-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #0b1220;

  display: -webkit-box;
  -webkit-line-clamp: 2;        /* ✅ max 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* DESKRIPSI: maksimal 4 baris, biar semua card sama tinggi */
.feature-content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #667085;

  display: -webkit-box;
  -webkit-line-clamp: 4;        /* ✅ max 4 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* hover lebih halus */
.feature-card:hover {
  transform: translateY(-4px);
}

/* MOBILE: tetap enak dilihat */
@media (max-width: 768px) {
  .feature-card {
    width: 290px;
    min-height: 320px;          /* karena mode column */
    flex-direction: column;
    text-align: left;
  }

  .feature-image {
    width: 100%;
    height: 160px;
    flex: 0 0 auto;
  }

  .feature-content h3 {
    -webkit-line-clamp: 2;
  }

  .feature-content p {
    -webkit-line-clamp: 4;
  }
}

/* ✅ Biar swipe feature slider enteng di mobile */
.feature-slider {
  touch-action: pan-y;              /* scroll vertikal tetap bisa */
  -webkit-overflow-scrolling: touch;
}

/* ✅ BRAND: swipe enteng di mobile */
.brand-slider{
  touch-action: pan-y; /* tetap bisa scroll vertikal */
  -webkit-overflow-scrolling: touch;
}
