/* =====================================================================
   MASUK PTN — Redesign v3 · Shared Design System (base.css)
   ---------------------------------------------------------------------
   Loaded LAST (after Bootstrap 5) on every page. Re-skins the existing
   markup without changing structure, text, images, icons or links.

   V3 PRINCIPLES
   · ZERO gradients — flat, natural color only (no linear-/radial-gradient,
     no gradient text). Depth comes from color, hairline borders, shadows.
   · DIVERSE palette — blue (brand) + amber + coral + green + violet + rose,
     used functionally across sections, tiles, badges and buttons.
   · PROPORTIONAL scale — modular type scale + normalized button/control
     sizing so no element feels oversized.
   · GLASS accents — real glassmorphism (translucent + backdrop blur) on
     the navbar, chips, page-header breadcrumb, and floating elements.

   Fonts: "Plus Jakarta Sans" (display) + "Inter" (body).
   ===================================================================== */

/* ------------------------------------------------------------------ */
/*  1. Design tokens                                                   */
/* ------------------------------------------------------------------ */
:root {
  /* Blue — brand primary */
  --blue-700: #085E81;
  --blue-600: #0A76A2;
  --blue:     #0E93C4;
  --blue-400: #3FB1D8;
  --blue-200: #A6DDF0;
  --blue-100: #D3EEF8;
  --blue-50:  #EBF7FC;

  /* Navy — headings, footer, dark surfaces */
  --navy:      #123244;
  --navy-deep: #0D2836;

  /* Amber — CTA / highlight */
  --amber-600: #DE9E06;
  --amber:     #FFBE2E;
  --amber-100: #FFF1CC;
  --amber-50:  #FFF8E6;

  /* Coral — sale / discount / urgency */
  --coral-600: #D9432E;
  --coral:     #F4593B;
  --coral-100: #FDE3DD;
  --coral-50:  #FEF1EE;

  /* Green — success / WhatsApp / positive */
  --green-600: #0E8A4F;
  --green:     #17AE64;
  --green-100: #DCF4E7;
  --green-50:  #EDFAF3;

  /* Violet — AI / tech accents */
  --violet-600: #5F45C4;
  --violet:     #7A5FE0;
  --violet-100: #EAE4FA;
  --violet-50:  #F4F1FC;

  /* Rose — category / editorial accents */
  --rose-600: #C93D6B;
  --rose:     #E85D8A;
  --rose-100: #FBE1EA;
  --rose-50:  #FDF0F5;

  /* Ink + neutrals — crisp, readable */
  --ink:       #16323E;
  --ink-soft:  #33505C;
  --muted:     #5C7079;
  --muted-200: #8FA3AB;
  --line:      #E1EAEE;
  --line-soft: #EDF3F6;

  /* Surfaces — bright, flat */
  --bg:        #F5FAFC;
  --surface:   #FFFFFF;
  --surface-2: #EFF6F9;

  /* Glass (translucent + blur — the only "effect" layer) */
  --glass-bg:        rgba(255, 255, 255, .62);
  --glass-bg-strong: rgba(255, 255, 255, .82);
  --glass-dark:      rgba(13, 40, 54, .46);
  --glass-border:    rgba(255, 255, 255, .55);
  --glass-blur:      14px;

  /* Legacy aliases (kept so older per-page CSS keeps rendering; all SOLID) */
  --brand-950: #0D2836;
  --brand-900: #123244;
  --brand-800: #085E81;
  --brand-700: #0A76A2;
  --brand-600: #0A76A2;
  --brand:     #0E93C4;
  --brand-500: #0E93C4;
  --brand-400: #3FB1D8;
  --brand-300: #6FC5E2;
  --brand-200: #A6DDF0;
  --brand-100: #D3EEF8;
  --brand-50:  #EBF7FC;
  --gold-700: #C4890A;
  --gold-600: #DE9E06;
  --gold-500: #FFBE2E;
  --gold-400: #FFD066;
  --gold-300: #FFE29A;
  --gold-100: #FFF1CC;
  /* grad tokens intentionally resolve to SOLID colors now */
  --grad-brand:      #0E93C4;
  --grad-brand-deep: #0D2836;
  --grad-gold:       #FFBE2E;
  --grad-sheen:      transparent;

  /* Type scale (proportional, modular ~1.2) */
  --fs-xs:  .78rem;
  --fs-sm:  .9rem;
  --fs-base: 1rem;
  --fs-md:  1.125rem;
  --fs-lg:  1.3rem;
  --fs-xl:  1.55rem;
  --fs-2xl: 1.9rem;
  --fs-3xl: 2.4rem;

  /* Radius (shapes unchanged) */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadows — soft, neutral (no colored glow) */
  --shadow-xs: 0 1px 2px rgba(18, 50, 68, .06);
  --shadow-sm: 0 3px 12px -4px rgba(18, 50, 68, .10);
  --shadow:    0 10px 28px -12px rgba(18, 50, 68, .16);
  --shadow-lg: 0 22px 48px -20px rgba(18, 50, 68, .26);
  --shadow-brand: 0 10px 24px -10px rgba(14, 147, 196, .45);
  --shadow-gold:  0 10px 22px -8px rgba(222, 158, 6, .38);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --bs-primary: #0E93C4;
  --primary: #0E93C4;
  --light: #EBF7FC;
  --dark: #123244;
}

/* ------------------------------------------------------------------ */
/*  2. Base / typography                                               */
/* ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }

body,
body#body {
  font-family: "Inter", "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: .004em;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: "Plus Jakarta Sans", "Nunito", sans-serif;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.015em;
  line-height: 1.22;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }
.display-1, .display-2 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); letter-spacing: -.025em; }
.display-3, .display-4 { font-size: clamp(1.9rem, 4vw, 2.7rem);  letter-spacing: -.025em; }
.display-5, .display-6 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }

p { color: var(--ink-soft); }

a { text-decoration: none; transition: color .25s var(--ease); }

::selection { background: var(--blue-100); color: var(--navy-deep); }

/* Scrollbar — flat */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb {
  background: var(--blue-400);
  border: 3px solid var(--surface-2);
  border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

img { max-width: 100%; }

/* Bootstrap color utilities → flat palette */
.text-primary { color: var(--blue-600) !important; }
.bg-primary  { background: var(--blue) !important; }
.bg-dark     { background: var(--navy-deep) !important; }
.bg-light    { background: var(--surface-2) !important; }
.bg-warning  { background: var(--amber) !important; color: var(--navy) !important; }
.bg-info     { background: var(--blue-400) !important; }
.bg-success  { background: var(--green) !important; }
.text-muted  { color: var(--muted) !important; }
.text-white  { color: #fff !important; }
.border-primary { border-color: var(--blue) !important; }

/* ------------------------------------------------------------------ */
/*  3. Spinner                                                         */
/* ------------------------------------------------------------------ */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
  background: var(--bg) !important;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
.spinner-border.text-primary { color: var(--blue) !important; }

/* ------------------------------------------------------------------ */
/*  4. Buttons — flat, proportional, clear                             */
/* ------------------------------------------------------------------ */
.btn {
  font-family: "Plus Jakarta Sans", "Nunito", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: var(--r-pill);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
  letter-spacing: .01em;
}

.btn.btn-primary {
  background: var(--blue-600);
  border: none;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.btn.btn-warning {
  background: var(--amber);
  border: none;
  color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}
.btn.btn-warning:hover,
.btn.btn-warning:focus {
  background: var(--amber-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--navy-deep) !important;
}

.btn.btn-secondary { background: var(--navy); border: none; color: #fff; }
.btn.btn-secondary:hover { background: var(--navy-deep); color: #fff; }

.btn-outline-light {
  border-radius: var(--r-pill);
  border-color: rgba(255, 255, 255, .5);
}
.btn-outline-light:hover { background: #fff; color: var(--blue-600) !important; }

.btn-custom {
  background: var(--amber) !important;
  border: none; outline: none;
  border-radius: var(--r-sm);
  color: var(--navy) !important;
  font-weight: 800;
  font-size: var(--fs-base);
  box-shadow: var(--shadow-sm);
}

.btn-square, .btn-sm-square, .btn-lg-square {
  padding: 0; display: flex; align-items: center; justify-content: center;
  font-weight: normal; border-radius: var(--r-sm);
}
.btn-square    { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/* ------------------------------------------------------------------ */
/*  5. Navbar — glass, compact & proportional                          */
/* ------------------------------------------------------------------ */
.navbar.sticky-top { top: 0; transition: box-shadow .35s var(--ease); }

.navbar.navbar-light.bg-white {
  background: var(--glass-bg-strong) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 22px -16px rgba(18, 50, 68, .35) !important;
}

.navbar-brand h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.015em;
  color: var(--blue-600);
  display: flex; align-items: center; gap: .55rem;
}
.navbar-brand h2 img {
  width: 42px !important;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  outline: 2px solid #fff;
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  margin-right: 26px;
  padding: 24px 2px;
  color: var(--ink-soft);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 16px;
  width: 100%; height: 3px;
  background: var(--amber);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active { color: var(--blue-600); }
.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* Navbar CTA — compact pill, not oversized */
.navbar-light a.btn.btn-warning {
  margin-left: 12px;
  border-radius: var(--r-pill);
  padding: 0 1.5rem !important;
  display: inline-flex !important;
  align-items: center;
  height: 42px;
  align-self: center;
  font-size: .82rem;
  letter-spacing: .05em;
}
.navbar .navbar-brand,
.navbar-light .navbar-brand { height: 68px; }
.navbar-light a.btn { height: auto; }

.navbar-toggler {
  border-radius: 10px;
  border-color: var(--blue-200);
  padding: .45rem .65rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 .25rem var(--blue-100); }

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link { margin-right: 0; padding: 11px 0; }
  .navbar-light .navbar-nav .nav-link::after { bottom: 5px; }
  .navbar-light .navbar-nav { border-top: 1px solid var(--line); }
  .navbar-light a.btn.btn-warning { margin: 12px 0 4px; height: 46px; justify-content: center; }
}

/* ------------------------------------------------------------------ */
/*  6. Header carousel (home hero) — v4 SPLIT EDITORIAL HERO           */
/*  Modern, simple, sophisticated: text column left on a clean light   */
/*  surface, slider image right as a rounded media card. Flat decor    */
/*  shapes, compact arrows, progress-bar dots. CSS-only re-layout —    */
/*  markup, text, images and links untouched.                          */
/* ------------------------------------------------------------------ */
.header-carousel { overflow: hidden; }

/* hero section shell (the carousel's wrapper div) */
.container-fluid.p-0.mb-5:has(> .header-carousel) {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-carousel .owl-carousel-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2rem) clamp(3.5rem, 6vw, 4.75rem);
}

/* flat decorative shapes behind the media card */
.header-carousel .owl-carousel-item::before {
  content: "";
  position: absolute;
  right: 5%; top: 9%;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--amber);
  z-index: 0;
}
.header-carousel .owl-carousel-item::after {
  content: "";
  position: absolute;
  right: 44%; bottom: 13%;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 10px solid var(--blue-100);
  background: transparent;
  z-index: 0;
}

/* slider image → rounded media card */
.header-carousel .owl-carousel-item img {
  grid-column: 2; grid-row: 1;
  position: relative;
  z-index: 1;
  width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* the old full-bleed overlay becomes the normal-flow text column */
.header-carousel .owl-carousel-item > .position-absolute {
  position: static !important;
  inset: auto !important;
  width: auto !important; height: auto !important;
  background: transparent !important;
  grid-column: 1; grid-row: 1;
  display: block !important;
  z-index: 1;
}
.header-carousel .owl-carousel-item > .position-absolute .container {
  max-width: none; margin: 0; padding: 0;
}
.header-carousel .owl-carousel-item .row { margin: 0; }
.header-carousel .owl-carousel-item .row > [class*="col-"] {
  width: 100%; max-width: 100%; flex: 0 0 100%; padding: 0;
}

.header-carousel .owl-carousel-item h1,
.header-carousel .owl-carousel-item h1.text-white {
  color: var(--navy) !important;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: none;
  margin-bottom: .9rem;
}
.header-carousel .owl-carousel-item p,
.header-carousel .owl-carousel-item p.text-white {
  color: var(--ink-soft) !important;
  font-size: var(--fs-md);
  max-width: 34rem;
}
.header-carousel .beli a,
.header-carousel .beli .btn {
  background: var(--amber) !important;
  color: var(--navy) !important;
  font-size: var(--fs-base) !important;
  font-weight: 800 !important;
  padding: .75rem 1.7rem !important;
  border-radius: var(--r-pill) !important;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease) !important;
}
.header-carousel .beli a:hover {
  background: var(--amber-600) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* arrows — compact horizontal pair, bottom-left under the text */
.header-carousel .owl-nav {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2rem);
  bottom: 1.1rem;
  top: auto; right: auto; transform: none;
  display: flex; flex-direction: row; gap: .5rem;
  z-index: 2;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-xs);
  transition: .3s var(--ease);
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--amber); border-color: var(--amber);
  color: var(--navy); transform: translateY(-2px);
}

/* dots — flat progress bars, bottom center */
.header-carousel .owl-dots {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex; align-items: center;
  z-index: 2;
}
.header-carousel .owl-dot {
  width: 22px; height: 6px;
  margin: 0 4px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--blue-100);
  transition: .3s var(--ease);
}
.header-carousel .owl-dot.active { width: 36px; background: var(--blue-600); }

@media (max-width: 991.98px) {
  .header-carousel .owl-carousel-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-bottom: 4.25rem;
  }
  .header-carousel .owl-carousel-item img {
    grid-column: 1; grid-row: 1;
    aspect-ratio: 16 / 9;
  }
  .header-carousel .owl-carousel-item > .position-absolute { grid-column: 1; grid-row: 2; }
  .header-carousel .owl-carousel-item::before,
  .header-carousel .owl-carousel-item::after { display: none; }
  .header-carousel .owl-nav { display: none; }
}

/* ------------------------------------------------------------------ */
/*  7. Inner page header (.page-header) — flat navy + glass breadcrumb */
/* ------------------------------------------------------------------ */
.page-header {
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  isolation: isolate;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(13, 40, 54, .68);
  z-index: -1;
}
.page-header h1, .page-header .display-3 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}
/* Breadcrumb line → glass pill */
.page-header nav p,
.page-header .breadcrumb {
  display: inline-block;
  color: #fff !important;
  font-size: var(--fs-sm);
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--r-pill);
  padding: .45rem 1.2rem;
  margin-bottom: 0;
}
.page-header .breadcrumb-item { color: rgba(255, 255, 255, .9); }

/* ------------------------------------------------------------------ */
/*  8. Section headings — solid accent underline, proportional         */
/* ------------------------------------------------------------------ */
.text-center > h1, .text-center > h2 { position: relative; padding-bottom: .8rem; }
.text-center > h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.text-center > h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.text-center > h2::after,
.text-center > h1::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: var(--r-pill);
  background: var(--amber);
}
/* "Lihat Semua" pill after a section title */
.text-center > h2 + a,
.text-center > h1 + a {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .8rem;
  padding: .42rem 1.15rem;
  border-radius: var(--r-pill);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700; font-size: var(--fs-sm);
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  transition: .3s var(--ease);
}
.text-center > h2 + a:hover,
.text-center > h1 + a:hover {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow-brand);
}

.section-title {
  position: relative; display: inline-block; text-transform: uppercase;
  font-weight: 800; letter-spacing: .02em;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-600);
  padding: .38rem .85rem; border-radius: var(--r-pill);
  background: var(--violet-50); border: 1px solid var(--violet-100);
}

/* ------------------------------------------------------------------ */
/*  9. Service / feature tiles — diverse accent colors per tile        */
/* ------------------------------------------------------------------ */
.service-item {
  position: relative;
  background: var(--surface);
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .35s var(--ease), border-color .35s var(--ease);
}
.service-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--blue);
  transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease);
}
.service-item * { transition: color .3s var(--ease); }
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-item:hover::before { transform: scaleY(1); }
.service-item i { width: 52px; text-align: center; color: var(--blue-600); font-size: 1.6rem; }
.service-item img { width: 52px; height: 52px; object-fit: contain; }
.service-item a { text-decoration: none; }
.service-item h5 {
  margin: 0; color: var(--navy); font-size: var(--fs-base); font-weight: 800; line-height: 1.3;
}

/* Rotate accents across tiles — diverse, not monochrome.
   Pattern targets the wrapping grid column (works with the home markup). */
.row > div:nth-of-type(6n+1) .service-item::before { background: var(--blue); }
.row > div:nth-of-type(6n+2) .service-item::before { background: var(--coral); }
.row > div:nth-of-type(6n+3) .service-item::before { background: var(--green); }
.row > div:nth-of-type(6n+4) .service-item::before { background: var(--violet); }
.row > div:nth-of-type(6n+5) .service-item::before { background: var(--amber-600); }
.row > div:nth-of-type(6n+6) .service-item::before { background: var(--rose); }
.row > div:nth-of-type(6n+1) .service-item:hover { background: var(--blue-50);   border-color: var(--blue-200); }
.row > div:nth-of-type(6n+2) .service-item:hover { background: var(--coral-50);  border-color: var(--coral-100); }
.row > div:nth-of-type(6n+3) .service-item:hover { background: var(--green-50);  border-color: var(--green-100); }
.row > div:nth-of-type(6n+4) .service-item:hover { background: var(--violet-50); border-color: var(--violet-100); }
.row > div:nth-of-type(6n+5) .service-item:hover { background: var(--amber-50);  border-color: var(--amber-100); }
.row > div:nth-of-type(6n+6) .service-item:hover { background: var(--rose-50);   border-color: var(--rose-100); }
.row > div:nth-of-type(6n+2) .service-item i, .row > div:nth-of-type(6n+2) .service-item h5 { color: var(--coral-600); }
.row > div:nth-of-type(6n+3) .service-item i, .row > div:nth-of-type(6n+3) .service-item h5 { color: var(--green-600); }
.row > div:nth-of-type(6n+4) .service-item i, .row > div:nth-of-type(6n+4) .service-item h5 { color: var(--violet-600); }
.row > div:nth-of-type(6n+5) .service-item i { color: var(--amber-600); }
/* amber text on white fails contrast — amber slot keeps navy title, amber icon/bar */
.row > div:nth-of-type(6n+5) .service-item h5 { color: var(--navy); }
.row > div:nth-of-type(6n+6) .service-item i, .row > div:nth-of-type(6n+6) .service-item h5 { color: var(--rose-600); }

/* ------------------------------------------------------------------ */
/* 10. Product cards (.list_produk) — flat, proportional               */
/* ------------------------------------------------------------------ */
.list_produk {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.list_produk:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.list_produk .div_img {
  width: 100%; height: 215px; overflow: hidden; position: relative;
}
.list_produk .div_img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  border-radius: 0; transition: transform .5s var(--ease);
}
.list_produk:hover .div_img img { transform: scale(1.05); }
.list_produk .div_deskripsi { margin-top: 1rem; padding: 0 1.2rem; flex: 1; }
.list_produk .div_deskripsi h5 {
  font-size: var(--fs-base); font-weight: 800; color: var(--navy); line-height: 1.35;
  margin-bottom: .5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list_produk .div_deskripsi a { color: inherit; }
.list_produk .div_deskripsi a:hover h5 { color: var(--blue-600); }
.list_produk .div_deskripsi p,
.list_produk .div_deskripsi div {
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.55;
}
.list_produk .div_deskripsi > p:first-of-type,
.list_produk .div_deskripsi > div:first-of-type {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.list_produk hr { margin: .9rem 1.2rem .2rem; border: 0; border-top: 1px dashed var(--line); opacity: 1; }

.list_produk .div_deskripsi .status h5 {
  display: inline-block; margin-bottom: 0;
  background: var(--blue-50); color: var(--blue-700);
  padding: .32rem .8rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700; border: 1px solid var(--blue-100);
}

.list_produk .div_btn {
  margin-top: auto; padding: .85rem 1.2rem 1.25rem;
  display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end;
}
.list_produk .div_btn .harga { display: flex; flex-direction: column; align-items: flex-start; }
.list_produk .div_btn .harga h3, .list_produk .div_btn .harga h5 { margin-bottom: 0; }
.list_produk .div_btn .harga .diskon { display: flex; flex-direction: row; align-items: center; gap: .45rem; }
.list_produk .div_btn .harga .diskon h3 {
  color: var(--muted-200); margin: 0; text-decoration: line-through;
  font-size: var(--fs-sm); font-weight: 600;
}
.list_produk .div_btn .harga .diskon .has_diskon {
  background: var(--coral-600); margin: 0; color: #fff;
  font-size: var(--fs-xs); font-weight: 800;
}
.list_produk .div_btn .harga h5 {
  margin-top: .3rem; color: var(--blue-700); text-decoration: none;
  font-size: 1.35rem; font-weight: 800;
}
.list_produk .div_btn .beli button,
.list_produk .div_btn .beli .btn {
  background: var(--amber); border: none; outline: none;
  border-radius: var(--r-pill); color: var(--navy);
  font-weight: 800; font-size: var(--fs-sm); padding: .5rem 1.35rem;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease);
}
.list_produk .div_btn .beli button:hover,
.list_produk .div_btn .beli .btn:hover {
  background: var(--amber-600);
  transform: translateY(-2px); box-shadow: var(--shadow-gold);
}

/* discount / price helpers — coral for urgency */
.harga_dapat_diskon, [harga_dapat_diskon] { text-decoration: line-through; color: var(--muted-200); }
.has_diskon {
  display: inline-block;
  background: var(--coral-600); color: #fff;
  margin-left: 10px; padding: .28rem .65rem; border-radius: var(--r-pill);
  font-weight: 800; font-size: var(--fs-xs); box-shadow: var(--shadow-xs);
}

/* ------------------------------------------------------------------ */
/* 11. Testimonials — flat cards, blue active                          */
/* ------------------------------------------------------------------ */
.testimonial-carousel { position: relative; }
.testimonial-carousel .testimonial-item,
.testimonial-carousel .testimonial-text { transition: .4s var(--ease); }
.testimonial-item, .testimonial-text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.testimonial-carousel .owl-item.center .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--blue-600) !important;
  box-shadow: var(--shadow-brand);
  border-color: var(--blue-600);
}
.testimonial-carousel .owl-item.center .testimonial-text *,
.testimonial-carousel .owl-item.center .testimonial-item * { color: #fff !important; }
.testimonial-carousel .owl-dots { margin-top: 24px; display: flex; align-items: flex-end; justify-content: center; }
.testimonial-carousel .owl-dot {
  position: relative; display: inline-block; margin: 0 5px;
  width: 24px; height: 7px; border-radius: var(--r-pill);
  border: none; background: var(--blue-200); transition: .3s var(--ease);
}
.testimonial-carousel .owl-dot.active { width: 38px; background: var(--amber); }

/* image zoom for course / category thumbs */
.category img, .course-item img, .team-item img { transition: .5s var(--ease); }
.category a:hover img, .course-item:hover img, .team-item:hover img { transform: scale(1.06); }

/* ------------------------------------------------------------------ */
/* 12. Cards / forms / tables — flat premium                           */
/* ------------------------------------------------------------------ */
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-sm);
}
.shadow, .shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.rounded, .rounded-3 { border-radius: var(--r) !important; }

.form-control, .form-select {
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  padding: .65rem 1rem;
  font-size: var(--fs-sm);
  background: var(--surface);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 .25rem var(--blue-100);
}

.table { border-radius: var(--r); overflow: hidden; font-size: var(--fs-sm); }
.table thead th {
  background: var(--blue-50); color: var(--blue-700);
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700;
  border-bottom: 2px solid var(--blue-100);
}
.table tbody tr { transition: background .2s var(--ease); }
.table-hover tbody tr:hover, .table tbody tr:hover { background: var(--blue-50); }

.badge { border-radius: var(--r-pill); font-weight: 700; }

/* Bordered highlight box (AI page tip callout) — amber for tips */
.border-start.border-primary, .border-4.border-primary {
  border-left-color: var(--amber) !important;
  background: var(--amber-50);
  border-radius: var(--r) !important;
}

/* ------------------------------------------------------------------ */
/* 13. Footer — flat deep navy, colorful hover accents                 */
/* ------------------------------------------------------------------ */
.footer {
  position: relative;
  background: var(--navy-deep) !important;
  overflow: hidden;
}
.footer h4 {
  color: #fff; font-weight: 800; font-size: 1.05rem;
  margin-bottom: 1.1rem;
  position: relative; padding-bottom: .6rem;
}
.footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; border-radius: var(--r-pill); background: var(--amber);
}
/* Diverse underline accents per footer column */
.footer .col-lg-3:nth-of-type(2) h4::after { background: var(--green); }
.footer .col-lg-3:nth-of-type(3) h4::after { background: var(--coral); }

.footer .btn.btn-link {
  display: block; margin-bottom: .3rem; padding: 0; text-align: left;
  color: rgba(255, 255, 255, .8); font-size: var(--fs-sm); font-weight: 500;
  text-transform: capitalize; text-decoration: none;
  transition: .25s var(--ease);
}
.footer .btn.btn-link::before {
  position: relative; content: "\f105"; font-family: "Font Awesome 5 Free";
  font-weight: 900; margin-right: 10px; color: var(--amber);
}
.footer .col-lg-3:nth-of-type(2) .btn.btn-link::before { color: var(--green); }
.footer .col-lg-3:nth-of-type(3) .btn.btn-link::before { color: var(--coral); }
.footer .btn.btn-link:hover { color: #fff; letter-spacing: .4px; padding-left: 4px; }
.footer .btn.btn-social {
  margin-right: 8px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r-pill); transition: .3s var(--ease);
}
/* Brand-true social hover colors */
.footer .btn.btn-social:nth-of-type(1):hover { background: #1DA1F2; border-color: #1DA1F2; color: #fff; }
.footer .btn.btn-social:nth-of-type(2):hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.footer .btn.btn-social:nth-of-type(3):hover { background: #FF0000; border-color: #FF0000; color: #fff; }
.footer .btn.btn-social:nth-of-type(4):hover { background: #E4405F; border-color: #E4405F; color: #fff; }
.footer .btn.btn-social:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.footer .navbar-brand h4 {
  color: #fff;
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.05rem;
}
.footer .navbar-brand h4 img {
  width: 42px !important;
  border-radius: 12px; outline: 2px solid rgba(255,255,255,.5);
}
.footer p { color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); }
.footer .copyright {
  padding: 22px 0; font-size: var(--fs-xs);
  border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75);
}
.footer .copyright a { color: var(--amber); }
.footer .copyright a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/* 14. Floating WhatsApp — green identity                              */
/* ------------------------------------------------------------------ */
.btn-chat {
  position: fixed; right: 26px; bottom: 26px; z-index: 99;
  width: 58px !important; height: 58px !important;
  border-radius: var(--r-pill);
  background: var(--green);
  box-shadow: var(--shadow);
  animation: wa-pulse 2.6s var(--ease) infinite;
  transition: transform .3s var(--ease);
}
.btn-chat:hover { transform: scale(1.07) translateY(-2px); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23, 174, 100, .4), 0 10px 24px -8px rgba(23, 174, 100, .5); }
  70%  { box-shadow: 0 0 0 16px rgba(23, 174, 100, 0), 0 10px 24px -8px rgba(23, 174, 100, .5); }
  100% { box-shadow: 0 0 0 0 rgba(23, 174, 100, 0), 0 10px 24px -8px rgba(23, 174, 100, .5); }
}
.back-to-top { right: 26px; bottom: 96px; }

/* ------------------------------------------------------------------ */
/* 15. Modal (promo)                                                   */
/* ------------------------------------------------------------------ */
.modal-content.modal-transparent { background: transparent; border: 0; }
.center-modal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -25%); }

/* ------------------------------------------------------------------ */
/* 16. Flash sale timer — coral urgency, proportional                  */
/* ------------------------------------------------------------------ */
#div_flashsale_timer h1 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--coral-600);
}
#flashsale_timer {
  display: inline-block;
  background: var(--coral-600) !important;
  color: #fff !important; padding: .55rem 1.15rem !important;
  border-radius: var(--r-sm) !important; font-weight: 800; letter-spacing: .07em;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------ */
/* 17. Reveal-on-scroll + glass utilities                              */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--glass-border);
}
.glass-dark {
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
}

/* Generic content container card */
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 2.8vw, 2.5rem);
}

/* ------------------------------------------------------------------ */
/* 18. Long-form article typography — proportional reading scale       */
/* ------------------------------------------------------------------ */
.konten-artikel { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.konten-artikel h2 { font-size: var(--fs-xl); }
.konten-artikel h3 { font-size: var(--fs-lg); }
.konten-artikel h4 { font-size: var(--fs-md); }
.konten-artikel h2, .konten-artikel h3, .konten-artikel h4 { margin-top: 1.7rem; margin-bottom: .85rem; color: var(--navy); }
.konten-artikel p { margin-bottom: 1.1rem; }
.konten-artikel ul, .konten-artikel ol { padding-left: 1.25rem; margin-bottom: 1.15rem; }
.konten-artikel li { margin-bottom: .45rem; }
.konten-artikel img { border-radius: var(--r); box-shadow: var(--shadow-sm); margin: 1.15rem 0; }
.konten-artikel a { color: var(--blue-600); font-weight: 600; }
.konten-artikel a:hover { color: var(--blue-700); }
.konten-artikel blockquote {
  border-left: 4px solid var(--violet); background: var(--violet-50);
  padding: 1rem 1.25rem; border-radius: var(--r); margin: 1.3rem 0; color: var(--navy);
}

/* ------------------------------------------------------------------ */
/* 19. Responsive + perf/a11y guards                                   */
/* ------------------------------------------------------------------ */
/* mobile friendly: never allow sideways scroll from decor/overflow */
html, body { overflow-x: clip; }

@media (max-width: 575.98px) {
  .navbar-brand h2 { font-size: 1.1rem; }
  .navbar-brand h2 img { width: 36px !important; height: 36px; }
  .list_produk .div_btn .harga h5 { font-size: 1.2rem; }
  .header-carousel p { font-size: var(--fs-sm); }
}

/* lighter on weak devices: honor reduced-motion (also kills WA pulse) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
