/*
================================================================================
HYDROVIA - Modern B2B UI/UX
Basis: struktur & komponen CSS AEROVIA (Apple-Style Redesign) DIPERTAHANKAN
Perubahan: rekolorisasi total ke palet BIRU Hydrovia + komponen navbar/footer baru
================================================================================
*/

/* ================================================================
   ROOTBLOWER.CO.ID TYPOGRAPHY SYSTEM OVERRIDE
================================================================= */
:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* Semua font sekarang Inter */

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 980px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);

  --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);

  /* ============ Token Hydrovia (dipakai navbar/footer/dropdown) ============ */
  --hv-blue-950: #06172e;
  --hv-blue-900: #0a2647;
  --hv-blue-800: #144272;
  --hv-blue-700: #205295;
  --hv-blue-600: #2c74b3;
  --hv-blue-500: #4a90d9;
  --hv-blue-100: #e8f1fb;
  --hv-blue-50: #f4f9fe;
  --hv-cyan: #00b4d8;
  --hv-gold: #c9a24b;
  --hv-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Universal Inter Override: Semua elemen HTML menggunakan Inter ── */
*,
*::before,
*::after {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1e293b;
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  /* Inter variable font features: tabular nums untuk angka, standard ligs */
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'tnum' off;
  font-optical-sizing: auto;
}

/* ================================================================
   TYPOGRAPHY — FULL INTER SYSTEM
   H1–H6, body, badges, metrics — semua menggunakan Inter
================================================================= */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.section-title, .hero-title, .card-title, .hv-card-title,
.bento-title, .fp-bento-card h3, .fp-bento-card h4, .fp-bento-card h5 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  color: #0a2647;
}

h1,
.display-3,
.display-4 {
  font-size: clamp(1.85rem, 4vw + 1rem, 3.1rem) !important; /* Scaled seamlessly down to ~30px on small mobile */
}

h2,
.display-5,
.engineering-title {
  font-size: clamp(1.5rem, 3vw + 0.8rem, 2.45rem) !important; /* Scaled seamlessly down to ~24px on small mobile */
}

h3,
.display-6 {
  font-size: clamp(1.3rem, 2vw + 0.7rem, 1.95rem) !important; /* ~21px on mobile */
}

h4 {
  font-size: clamp(1.15rem, 1.5vw + 0.6rem, 1.6rem) !important;
}

h5 {
  font-size: clamp(1.05rem, 1vw + 0.6rem, 1.35rem) !important;
}

h6 {
  font-size: clamp(0.95rem, 0.8vw + 0.5rem, 1.15rem) !important;
}

/* Technical Metrics & Numbers — Inter Semibold/Bold untuk angka besar */
.hv-metric-val,
.metric-value,
.tech-spec-val,
.stat-number,
.spec-val,
.spec-number {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  color: #0a2647;
  letter-spacing: -0.03em;
}

/* Badges & Section Pills */
.badge,
.engineering-badge,
.tech-badge,
.hv-tech-tag,
.preview-badge,
.section-tag {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
}

/* Paragraphs, Subtitles & Descriptions */
p,
li,
td,
th {
  font-family: var(--font-body);
  font-size: 1.025rem; /* ~16.4px for crystal clear readability */
  color: #334155;
  line-height: 1.75;
  letter-spacing: 0 !important;
}

.lead,
.section-subtitle,
.subtitle {
  font-size: 1.2rem !important; /* ~19.2px */
  color: #475569 !important;
  line-height: 1.68 !important;
  font-weight: 400;
  letter-spacing: 0 !important;
}

.text-muted {
  color: #64748b !important;
}

/* ================== NAVBAR LAMA (.navbar-aero) — dipertahankan utuh
   jaga-jaga jika ada markup lama yang masih memanggilnya.
   Navbar AKTIF Hydrovia ada di bagian bawah file ini (.navbar-hydrovia) ================== */
.navbar-aero {
  background-color: var(--nav-bg) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar-aero .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark) !important;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.navbar-aero .nav-link:hover,
.navbar-aero .nav-link.active {
  opacity: 1;
}

/* ================== BUTTONS ================== */
.btn-primary,
.btn-aero-primary {
  background-color: var(--text-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border: none;
  transition: var(--transition);
}

.btn-primary:hover,
.btn-aero-primary:hover {
  background-color: #333336;
  transform: scale(1.02);
}

.btn-warning {
  background-color: var(--accent-industrial);
  border: none;
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* ================== BLOG & ARTICLE CARDS ================== */

html,
body {
  overflow-x: hidden;
}

.article-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  isolation: isolate;
}

.article-card:hover {
  transform: translateY(-8px) scale(1.01) translate3d(0, 0, 0);
  box-shadow: var(--shadow-hover);
}

.article-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  z-index: 1;
}

.hover-zoom {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: cover;
  height: 220px;
  width: 100%;
  display: block;
}

.article-card:hover .hover-zoom {
  transform: scale(1.08);
}

.article-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.badge-cat {
  background-color: var(--bg-secondary);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.article-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: var(--accent-primary);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  display: flex;
  gap: 15px;
}

/* ================== ARTICLE DETAIL TYPOGRAPHY ================== */
.article-body {
  font-size: 17px;
  line-height: 1.7;
  color: #333336;
}

.article-body h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 10px;
}

/* ================== SIDEBAR WIDGETS ================== */
.side-widget {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.side-widget h6 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 700;
}

/* ================== PILL FILTER KATEGORI ================== */
.pill-filter {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.pill-filter:hover {
  background: #f1f5f9;
  color: var(--hv-blue-700);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.pill-filter.active {
  background: linear-gradient(135deg, var(--hv-blue-600) 0%, var(--hv-blue-900) 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(44, 116, 179, 0.35);
}

.hv-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ================== UTILITIES & SPACING ================== */
.section {
  padding: 80px 0;
}

.bg-tech {
  background: linear-gradient(to bottom, #d9e6f5, #f1f5fb);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ================== HERO SECTION ================== */
.hero-image-bg {
  position: relative;
  background-image: url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(60px, 12vw, 120px);
  padding-bottom: clamp(40px, 8vw, 80px);
}

/* Overlay gelap — sekarang gradasi navy Hydrovia (dulu abu-navy generik) */
.hero-image-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 23, 46, 0.88) 0%, rgba(10, 38, 71, 0.78) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.hero-image-bg .container {
  position: relative;
  z-index: 2;
}

/* ================== TOMBOL CTA UTAMA (dulu oranye AEROVIA → biru Hydrovia) ================== */
.btn-apple-cta {
  background: linear-gradient(135deg, #2c74b3 0%, #144272 100%);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  box-shadow: 0 8px 20px rgba(20, 66, 114, 0.3);
  transition: var(--transition);
}

.btn-apple-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(20, 66, 114, 0.4);
}

/* Teks gradasi aksen (tetap biru/cyan, cocok tema Hydrovia) */
.text-gradient {
  background: linear-gradient(90deg, #00b4d8, #4a90d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ================== APPLE 3D CARD HOVER EFFECT ================== */
.apple-card-3d {
  background-color: #efefef;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.apple-card-3d:hover {
  background-color: #ffffff;
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.apple-card-3d i {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.apple-card-3d:hover i {
  transform: scale(1.15) translateY(-2px);
  color: #00b4d8 !important;
}

/* ================== PRODUCT ROW INTERACTIVE ================== */
.product-row {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 20px;
  margin-bottom: 4px;
  background-color: transparent;
  position: relative;
}

.product-row:hover {
  background-color: #ffffff;
  transform: scale(1.02) translateX(5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
  z-index: 10;
}

.product-row .model-name {
  transition: color 0.3s ease;
}

.product-row:hover .model-name {
  color: #2c74b3;
}

/* ================== SIDEBAR ARTIKEL (form, WA, related) ================== */
.form-aero label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
}

.form-aero label:first-child {
  margin-top: 0;
}

.form-aero .form-control,
.side-widget .input-group .form-control {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  transition: var(--transition);
  width: 100%;
}

.form-aero .form-control:focus,
.side-widget .input-group .form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.12);
  outline: none;
}

.side-widget .input-group {
  display: flex;
}

.side-widget .input-group .form-control {
  border-radius: 12px 0 0 12px;
  border-right: none;
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff !important;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-top: 16px;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-wa:hover {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-2px);
}

/* Widget CTA gelap — navy Hydrovia (dulu abu-abu gelap generik) */
.widget-cta {
  background: linear-gradient(135deg, var(--hv-blue-900) 0%, var(--hv-blue-700) 100%);
  color: #fff;
}

.widget-cta h6 {
  color: #fff;
}

.widget-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  margin-bottom: 0;
}

.btn-aero-navy {
  background: var(--hv-blue-900);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 0 12px 12px 0;
  transition: var(--transition);
  cursor: pointer;
}

.btn-aero-navy:hover {
  background: var(--hv-blue-950);
}

.related-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.related-item:last-child {
  margin-bottom: 0;
}

.related-thumb {
  width: 72px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.related-item:hover .related-thumb {
  transform: scale(1.05);
}

.related-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  text-decoration: none;
  display: block;
}

.related-title:hover {
  color: var(--accent-primary);
}

.related-date {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.article-body img,
.article-body .featured-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* ======================================   HOME PUBLIK   ========================================= */
/* Engineering Section */
.engineering-section {
  background: radial-gradient(circle at top, #eaf2ff 0%, #f6faff 45%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.engineering-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #cfe1ff 0%, transparent 70%);
  top: -220px;
  right: -180px;
}

.engineering-wrapper {
  background: #fff;
  border-radius: 35px;
  padding: 70px 50px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 2;
}

.engineering-badge {
  display: inline-block;
  background: #e8f1fb;
  color: #144272;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.engineering-title {
  font-size: 58px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -2px;
}

.engineering-line {
  width: 90px;
  height: 5px;
  margin: 22px auto;
  border-radius: 50px;
  background: linear-gradient(90deg, #144272, #4a90d9);
}

.engineering-subtitle {
  max-width: 720px;
  margin: auto;
  font-size: 18px;
  color: #6b7280;
  line-height: 1.9;
}

/* CARD */
.engineering-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border-radius: 28px;
  padding: 45px 35px;
  border: 1px solid rgba(228, 232, 240, 0.8);
  transition: 0.4s;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.engineering-card:hover {
  transform: translateY(-12px);
  border-color: #2c74b3;
  box-shadow: 0 30px 70px rgba(20, 66, 114, 0.18);
}

.card-number {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 72px;
  font-weight: 800;
  color: #eef2ff;
  user-select: none;
}

.icon-box {
  width: 72px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #2c74b3, #144272);
  color: white;
  font-size: 32px;
  box-shadow: 0 18px 30px rgba(20, 66, 114, 0.35);
}

.engineering-card h4 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
}

.engineering-card p {
  color: #6b7280;
  line-height: 1.9;
  margin: 0;
  font-size: 15px;
}

@media (max-width: 992px) {
  .engineering-wrapper {
    padding: 45px 30px;
  }

  .engineering-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .engineering-title {
    font-size: 34px;
  }

  .engineering-subtitle {
    font-size: 16px;
  }

  .engineering-card {
    padding: 35px 25px;
  }
}

.application-section {
  background: #f8fafc;
}

.application-badge {
  display: inline-block;
  background: #e8f1fb;
  color: #144272;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.application-title {
  font-size: 48px;
  font-weight: 800;
  color: #111827;
}

.application-subtitle {
  max-width: 760px;
  margin: auto;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.8;
  margin-top: 20px;
}

.application-card {
  background: #fff;
  border-radius: 22px;
  padding: 40px 30px;
  height: 100%;
  text-align: center;
  transition: 0.35s;
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
}

.application-card:hover {
  transform: translateY(-10px);
  border-color: #2c74b3;
  box-shadow: 0 20px 50px rgba(20, 66, 114, 0.18);
}

.app-icon {
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #2c74b3, #00b4d8);
  color: white;
  font-size: 34px;
  margin-bottom: 25px;
}

.application-card h5 {
  font-weight: 700;
  margin-bottom: 15px;
}

.application-card p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .application-title {
    font-size: 34px;
  }

  .application-subtitle {
    font-size: 16px;
  }
}

/* ======================================   HOME PUBLIK   ========================================= */

/* ================== BLOCKQUOTE (CTA dalam artikel) ================== */
.article-body blockquote {
  border-left: 4px solid var(--accent-primary);
  background: var(--bg-secondary);
  margin: 24px 0;
  padding: 16px 22px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--text-dark);
}

.article-body blockquote a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* FORM NOTION (Quill Editor Admin) */
.quill-notion-container {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.quill-notion-container:focus-within {
  border-color: #2c74b3;
  box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.1);
}

.ql-toolbar.ql-snow {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background-color: #fafafa;
  padding: 10px 16px !important;
}

.ql-container.ql-snow {
  border: none !important;
}

.ql-editor {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #374151 !important;
  padding: 24px 32px !important;
}

.ql-editor h1,
.ql-editor h2,
.ql-editor h3 {
  font-weight: 700 !important;
  color: #111827 !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

.ql-editor h1 {
  font-size: 1.8em !important;
}

.ql-editor h2 {
  font-size: 1.4em !important;
}

.ql-editor h3 {
  font-size: 1.25em !important;
}

.ql-editor p {
  margin-bottom: 16px !important;
}

.ql-editor blockquote {
  border-left: 4px solid #2c74b3 !important;
  background: #f8fafc !important;
  padding: 12px 20px !important;
  color: #475569 !important;
  font-style: italic !important;
  border-radius: 0 6px 6px 0;
  margin: 20px 0 !important;
}

kbd {
  padding: 2px 5px;
  font-size: 11px;
  border-radius: 4px;
}

/* ================== RESPONSIVE: HERO ================== */
.hero-image-bg h1 {
  font-size: clamp(2rem, 6vw, 5rem) !important;
  line-height: 1.15 !important;
}

.hero-image-bg .lead {
  font-size: clamp(0.95rem, 2.2vw, 1.25rem) !important;
  padding: 0 0.5rem;
}

.hero-image-bg .badge,
.hero-image-bg span.d-inline-block {
  font-size: clamp(11px, 2vw, 13px) !important;
}

.hero-image-bg .d-flex.justify-content-center.gap-3 {
  flex-wrap: wrap;
  row-gap: 12px;
}

@media (max-width: 480px) {
  .hero-image-bg .d-flex.justify-content-center.gap-3 {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }

  .hero-image-bg .btn-apple-cta,
  .hero-image-bg .btn-outline-light {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

.hero-image-bg img[alt='Hydrovia Filter Press'],
.hero-image-bg img[alt='Hydrovia Screw Press'],
.hero-image-bg img[alt='Hydrovia Equipment'] {
  max-height: 45vh;
  width: auto;
  max-width: 90%;
  margin: 0 auto;
}

@media (min-width: 768px) {

  .hero-image-bg img[alt='Hydrovia Filter Press'],
  .hero-image-bg img[alt='Hydrovia Screw Press'],
  .hero-image-bg img[alt='Hydrovia Equipment'] {
    max-height: none;
    max-width: 650px;
    width: 100%;
  }
}

@media (max-width: 767px) {
  section[style*='margin-top: -40px'] {
    margin-top: -20px !important;
  }

  section[style*='margin-top: -40px'] .p-5 {
    padding: 1.75rem 1.25rem !important;
  }
}

section[style*='margin-top: -40px'] .fw-bold[style*='font-size: 48px'] {
  font-size: clamp(1.9rem, 6vw, 3rem) !important;
}

.engineering-title {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
}

.engineering-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  padding: 0 0.5rem;
}

.engineering-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.engineering-card h4 {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.engineering-card p {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

@media (max-width: 767px) {
  .pb-5.my-5>.container>div[style*='border-radius: 40px'] {
    border-radius: 24px !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

.pb-5.my-5 h2.display-4 {
  font-size: clamp(1.8rem, 5.5vw, 3.2rem) !important;
}

.pb-5.my-5 p.lead {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem) !important;
}

.application-title {
  font-size: clamp(1.6rem, 4.2vw, 2.4rem);
}

.application-subtitle {
  font-size: clamp(0.88rem, 2vw, 1rem);
  padding: 0 0.75rem;
}

.application-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.application-card h5 {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.application-card p {
  font-size: clamp(0.85rem, 1.8vw, 0.92rem);
}

@media (max-width: 575px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

.btn-apple-cta,
.btn-outline-light,
.btn-outline-warning {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

html,
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar-aero .navbar-brand img,
.navbar-brand img {
  height: 34px !important;
  width: auto !important;
  max-width: 180px !important;
}

/* Logo navbar Hydrovia dibuat lebih besar/premium dibanding versi lama */
.navbar-hydrovia .navbar-brand img {
  height: 46px !important;
  width: auto !important;
  max-width: 220px !important;
}

@media (max-width: 991.98px) {
  .navbar-hydrovia .navbar-brand img {
    height: 38px !important;
  }
}

/* ============ PREMIUM PAGINATION ============ */
.pagination {
  gap: 6px;
}

.pagination .page-item .page-link {
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #1d1d1f;
  background-color: transparent;
  font-weight: 500;
  font-size: 14.5px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination .page-item .page-link:hover {
  background-color: var(--hv-blue-50);
  color: var(--hv-blue-900);
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background-color: var(--hv-blue-600);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(44, 116, 179, 0.35);
}

.pagination .page-item.disabled .page-link {
  color: #cbd5e1;
  background-color: transparent;
  pointer-events: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  border-radius: 30px;
  width: auto;
  padding: 0 18px;
  background-color: var(--hv-blue-50);
  font-size: 16px;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
  background-color: var(--hv-blue-100);
}

.pagination .page-item:first-child.disabled .page-link,
.pagination .page-item:last-child.disabled .page-link {
  background-color: #f7f7f8;
  color: #cbd5e1;
}

@media (max-width: 576px) {
  .pagination .page-item .page-link {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .pagination .page-item:first-child .page-link,
  .pagination .page-item:last-child .page-link {
    padding: 0 14px;
  }
}

/* ================================================================
   ================== KOMPONEN BARU HYDROVIA =======================
   Navbar, dropdown produk, footer, CTA — dipakai oleh
   views/layout/tamplate.php (Tahap 1)
================================================================= */

.navbar-hydrovia {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 14px 0;
  border-bottom: 1px solid rgba(10, 38, 71, 0.08);
}

.navbar-hydrovia.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(6, 23, 46, 0.08);
  border-bottom-color: rgba(10, 38, 71, 0.12);
}

.navbar-hydrovia .dropdown-toggle::after {
  display: none !important;
}

/* Elegant & Uniform B2B Navbar Menu Items */
.navbar-hydrovia .nav-link {
  color: #475569 !important;
  font-weight: 500;
  font-size: 14.5px;
  padding: 7px 16px !important;
  border-radius: 20px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.01em;
}

.navbar-hydrovia .nav-link:hover {
  color: #0a2647 !important;
  background-color: rgba(10, 38, 71, 0.05);
}

.navbar-hydrovia .nav-link.active {
  color: #2c74b3 !important;
  font-weight: 600;
  background-color: rgba(44, 116, 179, 0.09);
  box-shadow: inset 0 0 0 1px rgba(44, 116, 179, 0.15);
}

.navbar-hydrovia .nav-link .bi-chevron-down {
  transition: transform 0.25s ease;
}

.navbar-hydrovia .nav-link.dropdown-toggle[aria-expanded="true"] .bi-chevron-down,
.navbar-hydrovia .nav-item.dropdown:hover .nav-link .bi-chevron-down {
  transform: rotate(180deg);
}

.navbar-hydrovia .navbar-toggler {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(10, 38, 71, 0.04);
  transition: all 0.2s ease;
}

.navbar-hydrovia .navbar-toggler-icon {
  filter: none;
}

.hv-dropdown-menu {
  background-color: #ffffff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(6, 23, 46, 0.25);
  padding: 12px;
  min-width: 340px;
  margin-top: 14px !important;
}

.hv-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dark);
  transition: background-color 0.2s ease;
}

.hv-dropdown-item:hover {
  background-color: var(--hv-blue-50);
}

.hv-dropdown-item .hv-dd-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--hv-blue-100);
  color: var(--hv-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hv-dropdown-item .hv-dd-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--hv-blue-900);
  margin-bottom: 2px;
}

.hv-dropdown-item .hv-dd-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-hv-cta {
  background-color: var(--hv-blue-600);
  color: #ffffff !important;
  border-radius: var(--radius-pill, 980px);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-hv-cta:hover {
  background-color: var(--hv-blue-700);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-hv-outline {
  border: 1.5px solid var(--hv-blue-600);
  color: var(--hv-blue-600);
  border-radius: 8px;
  padding: 9px 22px;
  font-weight: 600;
  font-size: 14px;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-hv-outline:hover {
  background-color: var(--hv-blue-600);
  color: #ffffff;
}

.footer-hydrovia {
  background-color: var(--hv-blue-950);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.footer-hydrovia .footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 220px;
  background: radial-gradient(ellipse at top, rgba(0, 180, 216, 0.1), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.footer-hydrovia .footer-desc {
  color: #e2e8f0;
  font-size: 14.5px;
  line-height: 1.7;
}

.footer-hydrovia .footer-contact-list {
  line-height: 2.2;
  font-size: 14.5px;
  color: #ffffff;
}

.footer-hydrovia .footer-contact-list a {
  color: #ffffff;
  text-decoration: none;
}

.footer-hydrovia .footer-contact-list a:hover {
  color: #00b4d8;
}

.footer-hydrovia .footer-link {
  color: #cbd5e1;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-hydrovia .footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-hydrovia .social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.footer-hydrovia .social-icon:hover {
  background-color: var(--hv-blue-600);
  border-color: var(--hv-blue-600);
}

.footer-hydrovia .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1;
  font-size: 13.5px;
}

/* ================================================================
   =============== KOMPONEN BARU — pages/home.php (Tahap 2) ========
================================================================= */

/* ---- Trust Bar ---- */
.trust-bar-items span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}

.trust-bar-items i {
  color: var(--hv-blue-600);
}

/* ---- Kartu Kategori Produk (Filter Press / Screw Press) - MODERN REDESIGN ---- */
.hv-product-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hv-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.35s ease;
}

.hv-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(44, 116, 179, 0.3);
  box-shadow: 0 20px 45px -10px rgba(20, 66, 114, 0.12);
}

.hv-product-card:hover::before {
  background: linear-gradient(90deg, var(--hv-blue-600), var(--hv-cyan));
}

/* Card Icons */
.hv-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.hv-icon-fp {
  background: linear-gradient(135deg, var(--hv-blue-600), var(--hv-blue-800));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(44, 116, 179, 0.28);
}

.hv-icon-sp {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.28);
}

/* Prinsip Kerja Callout Box */
.hv-prinsip-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 18px 20px;
  border-left: 4px solid var(--hv-blue-600);
  border-top: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.hv-prinsip-box.hv-box-sp {
  border-left-color: #0284c7;
  background: #f0f9ff;
}

.hv-tech-tag {
  background: #e8f1fb;
  color: #0a2647;
  font-weight: 700;
  font-style: normal;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.85em;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  border: 1px solid rgba(44, 116, 179, 0.25);
  display: inline-block;
  margin: 1px 2px;
}

/* Tech Specs List */
.hv-spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hv-spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.hv-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hv-spec-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  line-height: 1.4;
  padding-top: 2px;
}

.hv-spec-value {
  font-size: 13.5px;
  color: #1e293b;
  line-height: 1.5;
}

/* Industry App Tags */
.hv-app-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.hv-app-tag:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Custom Card CTA Buttons */
.hv-card-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.hv-btn-fp {
  background: linear-gradient(135deg, var(--hv-blue-600), var(--hv-blue-800));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(44, 116, 179, 0.25);
}

.hv-btn-fp:hover {
  background: linear-gradient(135deg, var(--hv-blue-700), var(--hv-blue-900));
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(44, 116, 179, 0.38);
  transform: translateY(-2px);
}

.hv-btn-sp {
  background: #ffffff;
  color: #0284c7;
  border-color: #0284c7;
}

.hv-btn-sp:hover {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

.hv-card-btn i {
  transition: transform 0.25s ease;
}

.hv-card-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 576px) {
  .hv-product-card {
    padding: 24px 20px;
  }
  .hv-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Legacy product-category-card fallback */
.product-category-card {
  background: #fff;
  border-radius: 28px;
  padding: 45px 40px;
  height: 100%;
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
  transition: 0.35s;
}

.product-category-card:hover {
  transform: translateY(-8px);
  border-color: var(--hv-blue-600);
  box-shadow: 0 25px 55px rgba(20, 66, 114, 0.15);
}

.product-category-card .pc-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--hv-blue-600), var(--hv-blue-800));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 24px;
  box-shadow: 0 14px 26px rgba(20, 66, 114, 0.3);
}

.product-category-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.product-category-card p {
  color: #6b7280;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 20px;
}

.product-category-card .pc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.product-category-card .pc-list li {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-category-card .pc-list i {
  color: var(--hv-cyan);
}

/* ---- Alur Layanan (Steps) ---- */
.hv-step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.hv-step-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--hv-blue-500);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hv-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--hv-blue-50);
  color: var(--hv-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 1.5px solid var(--hv-blue-100);
  transition: 0.3s;
}

.hv-step:hover .hv-step-icon {
  background: var(--hv-blue-600);
  color: #fff;
  transform: scale(1.08);
}

.hv-step h6 {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.hv-step p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ---- Rekam Jejak (Counter) ---- */
.hv-counter {
  text-align: center;
}

.hv-counter .num {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffffff, #a9d6ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hv-counter .label {
  font-size: 14.5px;
  font-weight: 600;
  color: #a9bbd1;
  letter-spacing: 0.3px;
}

/* ---- Testimonial Card ---- */
.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  height: auto;
  /* UBAH DARI 100% MENJADI auto */
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 30px;
  color: var(--hv-blue-100);
  margin-bottom: 10px;
  display: block;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hv-blue-600), var(--hv-cyan));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author .name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.testimonial-author .role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---- FAQ Accordion ---- */
.hv-accordion .accordion-item {
  border: 1px solid #e9edf2;
  border-radius: 14px !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.hv-accordion .accordion-button {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--hv-blue-900);
  padding: 18px 22px;
  background: #fff;
}

.hv-accordion .accordion-button:not(.collapsed) {
  background: var(--hv-blue-50);
  color: var(--hv-blue-700);
  box-shadow: none;
}

.hv-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.12);
}

.hv-accordion .accordion-button::after {
  filter: hue-rotate(180deg) saturate(3);
}

.hv-accordion .accordion-body {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.75;
  padding: 4px 22px 22px;
}

/* Legacy Hero Styles Cleaned Up */

.hv-hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #6b7280;
}

.hv-hero-stat-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--hv-blue-600);
  line-height: 1;
}

.hv-hero-stat a {
  font-size: 12.5px;
  color: var(--hv-blue-600);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

/* 1. MEMATIKAN SCROLL DELAY/LAG */
html {
  scroll-behavior: auto !important;
  /* Mencegah mousewheel terasa macet/stuck */
}

/* 2. PERBAIKAN TESTIMONI BERTUMPUK */
.testimonial-card {
  height: auto !important;
}

.testimonial-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ================================================================
   BIOVIA-STYLE PREMIUM COMPONENTS (ADAPTATION)
================================================================= */

/* --- Card Aplikasi Biovia Style --- */
.biovia-app-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.biovia-app-card:hover {
  transform: translateY(-6px);
  border-color: #2c74b3;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
  background: #ffffff;
}

.biovia-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #f1f5f9;
  color: #0a2647;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
  transition: all 0.35s ease;
}

.biovia-app-card:hover .biovia-app-icon {
  background: #0a2647;
  color: #00b4d8;
  transform: scale(1.08);
}

.biovia-app-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.biovia-app-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* --- Metric Cards Redesign --- */
.biovia-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 28px;
  height: 100%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.biovia-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.biovia-stat-card.accent-cyan::before {
  background: linear-gradient(90deg, #00b4d8, #4a90d9);
}

.biovia-stat-card.accent-blue::before {
  background: linear-gradient(90deg, #2c74b3, #144272);
}

.biovia-stat-card.accent-navy::before {
  background: linear-gradient(90deg, #0a2647, #205295);
}

.biovia-stat-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 45px rgba(10, 38, 71, 0.08);
}

.biovia-stat-num {
  font-size: 52px;
  font-weight: 800;
  color: #0a2647;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.biovia-stat-unit {
  font-size: 22px;
  color: #64748b;
  font-weight: 600;
}

/* ================================================================
   BIOVIA-STYLE ABOUT SECTION & CALLOUT BOX
================================================================= */
.biovia-about-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px !important;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.12);
  transition: transform 0.4s ease;
}

.biovia-about-img:hover {
  transform: scale(1.01);
}

.biovia-callout-box {
  background: #e8f1fb;
  border-left: 4px solid #2c74b3;
  border-radius: 14px !important;
  padding: 18px 22px !important;
  transition: transform 0.3s ease;
}

.biovia-callout-box:hover {
  transform: translateX(4px);
}

.biovia-callout-icon {
  width: 44px;
  height: 44px;
  background: #2c74b3;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ================================================================
   REDESIGN PREMIUM METRIC & HERO BANNER SECTION
================================================================= */
.hv-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.03);
  position: relative;
  overflow: hidden;
}

.hv-metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.hv-metric-card:hover {
  transform: translateY(-6px);
  border-color: #2c74b3 !important;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
}

.hv-metric-card:hover::after {
  background: linear-gradient(90deg, #2c74b3, #00b4d8);
}

.hv-metric-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e8f1fb;
  color: #2c74b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hv-metric-val {
  font-size: 48px;
  font-weight: 800;
  color: #0a2647;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hover-blue {
  transition: color 0.2s ease;
}

.hover-blue:hover {
  color: #2c74b3 !important;
}

/* ================================================================
   PREMIUM TESTIMONIAL CARD STYLING
================================================================= */
.hv-testi-card-premium {
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.03);
}

.hv-testi-card-premium:hover {
  transform: translateY(-5px);
  border-color: #2c74b3 !important;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2647 0%, #2c74b3 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(44, 116, 179, 0.25);
}

/* ================================================================
   REDESIGNED PREMIUM NUMBERED BENTO CARDS
================================================================= */
.hv-number-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px !important;
  backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.hv-number-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.watermark-num {
  position: absolute;
  top: -10px;
  right: 15px;
  font-size: 96px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--font-heading);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: all 0.35s ease;
}

.hv-number-card:hover .watermark-num {
  color: rgba(0, 180, 216, 0.12);
  transform: scale(1.05) translateY(5px);
}

.num-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00b4d8, #2c74b3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
  flex-shrink: 0;
}

/* ================================================================
   HOME PAGE INTERACTIVE CALCULATOR & BENTO ADVANCEMENTS
================================================================= */
.hv-calc-card {
  background: linear-gradient(145deg, #06172e 0%, #0a2647 60%, #144272 100%);
  border-radius: 28px !important;
  border: 1px solid rgba(0, 180, 216, 0.35);
  box-shadow: 0 20px 45px rgba(6, 23, 46, 0.35);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hv-calc-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hv-calc-range {
  accent-color: #00b4d8;
  height: 8px;
  border-radius: 4px;
}

.hv-calc-result-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.hv-calc-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-heading);
}

.hv-home-bento {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(10, 38, 71, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.hv-home-bento:hover {
  transform: translateY(-5px);
  border-color: rgba(44, 116, 179, 0.3);
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
}

/* ================================================================
   ULTRA-PREMIUM HIGH-TECH B2B HERO ARCHITECTURE
================================================================= */
.hv-hero-fintech {
  background: radial-gradient(circle at 50% 10%, rgba(220, 235, 251, 0.85) 0%, rgba(240, 247, 253, 0.5) 45%, #ffffff 85%);
  position: relative;
  padding-top: 105px;
  padding-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .hv-hero-fintech {
    padding-top: 85px;
  }
}

.hv-hero-machine-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 10px 0;
}

.hv-machine-glow {
  position: absolute;
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(44, 116, 179, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hv-hero-machine-img {
  position: relative;
  z-index: 2;
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(10, 38, 71, 0.18));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-hero-machine-img:hover {
  transform: translateY(-6px) scale(1.02);
}

.hv-hero-float-tag {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.hv-hero-float-tag:hover {
  transform: translateY(-4px);
  border-color: var(--hv-blue-600) !important;
  box-shadow: 0 15px 35px rgba(20, 66, 114, 0.15) !important;
}

.hv-hero-card-v2 {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0 !important;
  position: relative;
  overflow: hidden;
}

.hv-hero-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.35s ease;
}

.hv-hero-card-v2:hover {
  transform: translateY(-6px);
  border-color: #2c74b3 !important;
  box-shadow: 0 20px 45px rgba(10, 38, 71, 0.1) !important;
}

.hv-hero-card-v2:hover::before {
  background: linear-gradient(90deg, #0a2647, #00b4d8);
}

.hv-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(10, 38, 71, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 3;
}

.hv-hero-card:hover {
  transform: translateY(-5px);
  border-color: #2c74b3;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.09);
}

.hv-card-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
}

.hv-card-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── 1. Hero Top Badge ── */
.hv-hero-top-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(10, 38, 71, 0.04);
  max-width: 95%;
  transition: all 0.25s ease;
}

@media (max-width: 575.98px) {
  .hv-hero-top-badge {
    border-radius: 14px;
    padding: 8px 12px;
    gap: 6px;
    flex-direction: column;
    align-items: center;
  }
  .hv-hero-top-badge .hv-badge-tag {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }
  .hv-hero-top-badge .hv-badge-text {
    font-size: 11.5px !important;
    text-align: center;
  }
}

/* ── 2. Hero CTA Buttons Pair ── */
.hv-hero-cta-wrapper {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hv-hero-btn-primary {
  background: linear-gradient(135deg, #0a2647 0%, #144272 100%) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-hero-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 38, 71, 0.15) !important;
}

.hv-hero-btn-secondary {
  background: #ffffff !important;
  color: #334155 !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1 !important;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-hero-btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-2px);
}

@media (max-width: 575.98px) {
  .hv-hero-cta-wrapper {
    width: 100%;
  }
  .hv-hero-btn-primary,
  .hv-hero-btn-secondary {
    flex: 1;
    font-size: 12.5px !important;
    padding: 10px 10px !important;
    white-space: nowrap;
  }
}

/* ── 3. Trust Dock Bar ── */
.hv-hero-trust-dock {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 28px;
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.04);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 3;
}

.hv-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
}

.hv-trust-divider {
  width: 1px;
  height: 16px;
  background-color: #cbd5e1;
}

@media (max-width: 767.98px) {
  .hv-hero-trust-dock {
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .hv-trust-item {
    font-size: 12.5px;
    gap: 10px;
  }
}

/* ── 4. Section 2 Banner Card ── */
.hv-banner-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px !important;
  box-shadow: 0 4px 24px rgba(10, 38, 71, 0.04);
}

/* ── 5. Metric Bento Cards ── */
.hv-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(10, 38, 71, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-metric-card:hover {
  transform: translateY(-4px);
  border-color: #2c74b3;
  box-shadow: 0 16px 36px rgba(10, 38, 71, 0.09);
}

.hv-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(44, 116, 179, 0.08);
  color: #2c74b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hv-metric-val {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(24px, 3.2vw, 34px) !important;
  font-weight: 800 !important;
  color: #0a2647 !important;
  letter-spacing: -0.03em !important;
}

/* ── 6. Footnote Alert Notice ── */
.hv-footnote-alert {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  max-width: 720px;
  box-shadow: 0 2px 8px rgba(10, 38, 71, 0.03);
}

/* ================================================================
   PREMIUM 2-PRODUCT HERO CARD SYSTEM (hv-phc-*)
   Version: 2026 Redesign
================================================================= */

/* ---- Base Card ---- */
.hv-product-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 38, 71, 0.06);
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.hv-product-hero-card:hover {
  transform: translateY(-8px);
  border-color: #2c74b3;
  box-shadow: 0 24px 56px rgba(10, 38, 71, 0.13);
}

/* ---- Accent Bar ---- */
.hv-phc-accent {
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}
.hv-phc-accent--blue { background: linear-gradient(90deg, #0a2647 0%, #2c74b3 100%); }
.hv-phc-accent--cyan { background: linear-gradient(90deg, #0284c7 0%, #00b4d8 100%); }

/* ---- Card Header ---- */
.hv-phc-header {
  padding: 20px 24px 16px;
}

/* ---- Series Tag ---- */
.hv-phc-series {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #0a2647;
  display: block;
  margin-bottom: 4px;
}

/* ---- Card Title (h2 inside card — scaled down visually) ---- */
.hv-phc-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0a2647 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

/* ---- Icon Bubble ---- */
.hv-phc-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hv-phc-icon--blue { background: rgba(10, 38, 71, 0.08); color: #0a2647; }
.hv-phc-icon--cyan { background: rgba(2, 132, 199, 0.1); color: #0284c7; }

/* ---- Small Badges ---- */
.hv-phc-badge {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.hv-phc-badge--green { background: #dcfce7; color: #15803d; }
.hv-phc-badge--blue  { background: #e8f1fb; color: #1d4ed8; }
.hv-phc-badge--cyan  { background: #e0f7fa; color: #0284c7; }

/* ---- Machine Image Area — FIXED height so both cards are identical ---- */
.hv-phc-image-area {
  position: relative;
  width: 100%;
  height: 280px;          /* fixed — never grows or shrinks */
  flex-shrink: 0;         /* never crushed by flex siblings */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 8px;
  overflow: hidden;
}

.hv-phc-image-area--blue {
  background: radial-gradient(ellipse 80% 70% at 50% 60%, rgba(44, 116, 179, 0.08) 0%, rgba(248, 250, 252, 0) 75%);
}
.hv-phc-image-area--cyan {
  background: radial-gradient(ellipse 80% 70% at 50% 60%, rgba(0, 180, 216, 0.07) 0%, rgba(248, 250, 252, 0) 75%);
}

/* ---- Glow Effect ---- */
.hv-phc-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.hv-phc-glow--blue { background: rgba(44, 116, 179, 0.18); }
.hv-phc-glow--cyan { background: rgba(0, 180, 216, 0.14); }

/* ---- Machine Image ---- */
.hv-phc-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;           /* fill the fixed-height container */
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(10, 38, 71, 0.16));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hv-product-hero-card:hover .hv-phc-img {
  transform: translateY(-6px) scale(1.03);
}

/* ---- Card Body ---- */
.hv-phc-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ---- Description — min-height so both cards align specs at same Y ---- */
.hv-phc-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 18px;
  flex-grow: 0;
  /* 3 lines @ 14px * 1.7 = ~71px; set a fixed min so short text doesn't shrink */
  min-height: 72px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* clamp at 4 lines max to prevent long text from pushing CTA down */
  -webkit-line-clamp: 4;
}

/* ---- Spec Box ---- */
.hv-phc-spec {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
}
.hv-phc-spec i {
  font-size: 15px;
}
.hv-phc-spec-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.2px;
}
.hv-phc-spec-val {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* ---- Specs row always pushed against CTA (auto margin) ---- */
.hv-phc-body > .row {
  margin-top: auto !important;
}

/* ---- CTA Row ---- */
.hv-phc-cta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.hv-phc-cta--blue {
  background: linear-gradient(135deg, #0a2647 0%, #144272 100%);
  color: #ffffff;
}
.hv-phc-cta--cyan {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: #ffffff;
}
.hv-phc-cta--blue:hover,
.hv-phc-cta--cyan:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* ================================================================
   RESPONSIVE — Tablet & Mobile
   Fixed heights (not min-height) so both cards are always identical
================================================================= */
@media (max-width: 575px) {
  /* On very small phones: full-width stacked, allow natural height */
  .hv-phc-image-area {
    height: 220px;
  }
  .hv-phc-img {
    max-height: 200px;
  }
  .hv-phc-title {
    font-size: 1.1rem !important;
  }
  .hv-phc-header {
    padding: 14px 16px 10px;
  }
  .hv-phc-body {
    padding: 14px 16px 18px;
  }
  .hv-phc-desc {
    min-height: unset;
    -webkit-line-clamp: unset;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .hv-phc-image-area {
    height: 240px;
  }
  .hv-phc-img {
    max-height: 220px;
  }
  .hv-phc-title {
    font-size: 1.15rem !important;
  }
  .hv-phc-header {
    padding: 16px 18px 12px;
  }
  .hv-phc-body {
    padding: 16px 18px 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hv-phc-image-area {
    height: 280px;
  }
  .hv-phc-img {
    max-height: 260px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hv-phc-image-area {
    height: 310px;
  }
  .hv-phc-img {
    max-height: 290px;
  }
}

@media (min-width: 1200px) {
  .hv-phc-image-area {
    height: 340px;
  }
  .hv-phc-img {
    max-height: 320px;
  }
}


.hv-workflow-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 10px 30px rgba(10, 38, 71, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hv-workflow-card:hover {
  transform: translateY(-8px);
  border-color: #2c74b3;
  box-shadow: 0 22px 45px rgba(10, 38, 71, 0.1);
}

.hv-workflow-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--hv-blue-50);
  color: var(--hv-blue-600);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hv-blue-100);
}

.hv-workflow-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hv-blue-600) 0%, var(--hv-blue-900) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(44, 116, 179, 0.22);
}

.hv-workflow-check {
  font-size: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================================================================
   ABOUT PAGE EXECUTIVE QUOTE BENTO CARD
================================================================= */
.hv-about-quote-card {
  background: linear-gradient(135deg, #06172e 0%, #0a2647 60%, #144272 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(6, 23, 46, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-about-quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(6, 23, 46, 0.3);
  border-color: rgba(0, 180, 216, 0.4);
}

.hv-quote-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25), transparent 70%);
  pointer-events: none;
}

.border-white-10 {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* ================================================================
   ANATOMY / HEAVY-DUTY COMPONENT BENTO CARDS
================================================================= */
.hv-anatomy-card {
  background: #ffffff;
  border-radius: 24px !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hv-anatomy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.35s ease;
}

.hv-anatomy-card:hover {
  transform: translateY(-8px);
  border-color: rgba(44, 116, 179, 0.35) !important;
  box-shadow: 0 22px 45px -10px rgba(20, 66, 114, 0.12) !important;
}

.hv-anatomy-card:hover::before {
  background: linear-gradient(90deg, var(--hv-blue-600), var(--hv-cyan));
}

.hv-anatomy-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--hv-blue-600) 0%, var(--hv-blue-900) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 22px rgba(44, 116, 179, 0.28);
  transition: transform 0.3s ease;
}

.hv-anatomy-card:hover .hv-anatomy-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* ================================================================
   MODERN FLOATING TAB PILLS ARCHITECTURE (RESPONSIVE SEGMENTED GRID)
================================================================= */
.hv-tab-pill-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px;
  background: rgba(241, 245, 249, 0.75);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.03);
}

.hv-tab-pill-container .nav-item {
  margin: 0;
}

.hv-tab-pill-container .nav-link {
  color: #475569;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hv-tab-pill-container .nav-link:hover {
  color: #0a2647;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 38, 71, 0.08);
}

.hv-tab-pill-container .nav-link.active {
  background: linear-gradient(135deg, #0a2647 0%, #144272 100%) !important;
  color: #ffffff !important;
  border-color: rgba(0, 180, 216, 0.4) !important;
  box-shadow: 0 8px 22px rgba(10, 38, 71, 0.25) !important;
  transform: translateY(-2px);
}

/* ================================================================
   COMMERCIAL MARKETING & BUYER BENEFIT CARDS
================================================================= */
.hv-commercial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px !important;
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hv-commercial-card:hover {
  transform: translateY(-6px);
  border-color: #2c74b3;
  box-shadow: 0 16px 36px rgba(10, 38, 71, 0.09);
}

.hv-comm-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.hv-commercial-card:hover .hv-comm-icon-box {
  transform: scale(1.08);
}

.hv-process-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.hv-process-step-item:hover {
  border-color: #2c74b3;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(10, 38, 71, 0.06);
}

.hv-step-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a2647 0%, #144272 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(10, 38, 71, 0.2);
}

.hv-tab-pill-container .nav-link.active i {
  color: #ffffff !important;
}

/* ================================================================
   HYDROVIA ULTIMATE RESPONSIVE UI/UX ENGINE (MOBILE & DESKTOP)
================================================================= */

/* 1. Mobile Table Scroll Hint & Sticky Column System */
.hv-table-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
}

.hv-table-scroll-hint {
  display: none;
  font-size: 12px;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 7px 14px;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 991.98px) {
  .hv-table-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}

.hv-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(44, 116, 179, 0.3) transparent;
  border-radius: 14px;
}

.hv-table-responsive::-webkit-scrollbar {
  height: 6px;
}

.hv-table-responsive::-webkit-scrollbar-thumb {
  background: rgba(44, 116, 179, 0.3);
  border-radius: 6px;
}

@media (max-width: 767.98px) {
  .hv-table-responsive table {
    min-width: 660px; /* Prevents cell squishing on mobile screens */
  }

  .hv-table-responsive table th,
  .hv-table-responsive table td {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
  }

  /* Freeze first column (Model column) on mobile scroll */
  .hv-table-sticky-col table th:first-child,
  .hv-table-sticky-col table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.06);
  }

  .hv-table-sticky-col table th:first-child {
    background: #f8fafc;
  }
}

/* 2. Swipeable Horizontal Segmented Nav Pills for Mobile & Tablet */
.hv-tab-scroll-wrapper,
.sp-nav-scroll-wrapper,
.fp-model-nav-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  display: flex !important;
  justify-content: center;
  padding-bottom: 6px;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(44, 116, 179, 0.35) transparent;
}

.hv-tab-scroll-wrapper::-webkit-scrollbar,
.sp-nav-scroll-wrapper::-webkit-scrollbar,
.fp-model-nav-wrapper::-webkit-scrollbar {
  height: 5px;
}

.hv-tab-scroll-wrapper::-webkit-scrollbar-thumb,
.sp-nav-scroll-wrapper::-webkit-scrollbar-thumb,
.fp-model-nav-wrapper::-webkit-scrollbar-thumb {
  background: rgba(44, 116, 179, 0.35);
  border-radius: 6px;
}

@media (max-width: 991.98px) {
  .hv-tab-scroll-wrapper,
  .sp-nav-scroll-wrapper,
  .fp-model-nav-wrapper {
    justify-content: flex-start !important;
  }

  .hv-tab-pill-container,
  .fp-nav-pill-container,
  .fp-model-nav {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    min-width: max-content !important;
    max-width: none !important;
    display: inline-flex !important;
    gap: 8px !important;
    border-radius: 18px !important;
    padding: 6px !important;
  }

  .hv-tab-pill-container .nav-item,
  .fp-nav-pill-container .nav-item,
  .fp-model-nav .nav-item {
    flex: 0 0 auto !important;
  }

  .hv-tab-pill-container .nav-link,
  .fp-nav-pill-container .nav-link,
  .fp-model-nav .nav-link {
    white-space: nowrap !important;
    padding: 9px 18px !important;
    font-size: 13.5px !important;
  }

  /* Bento Card Mobile Spacing */
  .sp-bento-card,
  .fp-bento-card {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .sp-subcard-light {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  .sp-spec-dark-box {
    padding: 18px !important;
    border-radius: 16px !important;
  }

  .sp-metric-chip,
  .fp-metric-chip {
    font-size: 11.5px !important;
    padding: 4px 10px !important;
  }
}

/* 3. Hero & Container Horizontal Overflow Safety Guard */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 4. Touch Target Safety for Mobile Buttons */
@media (max-width: 991.98px) {
  .nav-link,
  .btn-hv-cta,
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
/* ================================================================
   FIX: Fallback untuk class spacing fractional (.5) yang tidak
   dikenali Bootstrap 5 — dipakai di banyak tempat (metric card,
   badge portofolio, tombol, dsb) sehingga di mobile padding-nya 0.
================================================================= */
.p-1\.5  { padding: .375rem !important; }
.py-1\.5 { padding-top: .375rem !important; padding-bottom: .375rem !important; }
.px-1\.5 { padding-left: .375rem !important; padding-right: .375rem !important; }
.p-2\.5  { padding: .75rem !important; }
.py-2\.5 { padding-top: .75rem !important; padding-bottom: .75rem !important; }
.px-2\.5 { padding-left: .75rem !important; padding-right: .75rem !important; }
.p-3\.5  { padding: 1.25rem !important; }
.py-3\.5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.px-3\.5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.gap-1\.5 { gap: .375rem !important; }
.gap-2\.5 { gap: .75rem !important; }
.me-1\.5  { margin-right: .375rem !important; }
.mt-0\.5  { margin-top: .125rem !important; }
.mb-0\.5  { margin-bottom: .125rem !important; }
.mt-2\.5  { margin-top: .75rem !important; }

/* Jaga-jaga tambahan: pastikan metric card SELALU punya padding
   sendiri, tidak tergantung utility class dari HTML sama sekali */
.hv-metric-card {
  padding: 1.25rem;
}
@media (min-width: 768px) {
  .hv-metric-card {
    padding: 1.5rem;
  }
}

/* Rapikan jarak antar metric card & banner di mobile */
@media (max-width: 767.98px) {
  .hv-banner-card { padding: 1.5rem !important; }
  .hv-metric-val  { font-size: 30px !important; }
}
asd