/* ================================================================
 * TURBULENT-INSPIRED THEME — RSUD Tidar
 * Mengubah look & feel ke gaya modern minimalis seperti turbulent.be
 * (whitespace luas, tipografi bold, aksen teal, footer gelap).
 *
 * File ini di-load SETELAH style.css sehingga aturan di sini akan
 * menimpa tema Bootslander tanpa mengubah struktur blade/fungsi.
 * ================================================================ */

/* ---------- Google Fonts tambahan: Inter + Space Grotesk ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* =========================
 * TOKENS / PALETTE — Light Sky-Blue Edition
 * ========================= */
:root {
    --tb-bg:        #ffffff;
    --tb-bg-soft:   #f4f8fc;      /* very light blue tint */
    --tb-bg-alt:    #eaf2fa;
    --tb-ink:       #0f2942;      /* deep navy — heading */
    --tb-ink-2:     #1e3a5f;
    --tb-muted:     #5e7791;      /* soft blue-gray body text */
    --tb-line:      #e2ecf5;
    --tb-accent:    #5ab8ff;      /* SOFT SKY BLUE — primary */
    --tb-accent-2:  #38a0ec;      /* hover */
    --tb-accent-3:  #bfe3ff;      /* very light blue — chips/bg */
    --tb-accent-4:  #eaf5ff;      /* palest blue */
    --tb-navy:      #0f2942;      /* footer navy */
    --tb-shadow:    0 10px 30px rgba(15,41,66,.07);
    --tb-shadow-lg: 0 24px 60px rgba(15,41,66,.12);
    --tb-shadow-blue:0 12px 30px rgba(90,184,255,.35);
    --tb-radius:    6px;
    --tb-radius-lg: 18px;
    --tb-font-head: 'Space Grotesk','Poppins','Inter',system-ui,sans-serif;
    --tb-font-body: 'Inter','Open Sans',system-ui,sans-serif;
}

/* =========================
 * BASE / TYPOGRAPHY
 * ========================= */
html { scroll-behavior: smooth; }

body {
    font-family: var(--tb-font-body) !important;
    color: var(--tb-muted) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #eaf5ff 50%, #ffffff 100%) !important;
    background-attachment: fixed !important;
    font-size: 15.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title h2,
.section-title p {
    font-family: var(--tb-font-head) !important;
    color: var(--tb-ink) !important;
    letter-spacing: -0.01em;
}

h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 600; }

a { color: var(--tb-accent); transition: color .2s ease; }
a:hover { color: var(--tb-accent-2); }

p { color: var(--tb-muted); }

/* Override tombol "get started" ala turbulent */
.btn-get-started,
.btn.bsb-btn-2xl,
.btn-primary {
    background: linear-gradient(135deg, var(--tb-accent) 0%, var(--tb-accent-2) 100%) !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 14px 36px !important;
    font-family: var(--tb-font-head) !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 13.5px !important;
    box-shadow: var(--tb-shadow-blue) !important;
    transition: all .35s cubic-bezier(.2,.7,.2,1) !important;
}
.btn-get-started:hover,
.btn.bsb-btn-2xl:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--tb-accent-2) 0%, var(--tb-ink) 100%) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15,41,66,.22) !important;
}

/* =========================
 * HEADER / NAVIGATION
 * ========================= */
#header {
    height: 82px;
    background: rgba(255,255,255,.95) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--tb-line);
    box-shadow: 0 1px 0 rgba(12,18,32,.02);
    transition: all .35s ease;
}
#header.header-scrolled {
    height: 68px;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 8px 24px rgba(12,18,32,.06);
}
/* Saat di atas hero (light bg) — tetap putih transparan dengan teks navy */
#header.header-transparent {
    background: rgba(255,255,255,.65) !important;
    border-bottom: 1px solid rgba(255,255,255,.4) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}
#header.header-transparent.header-scrolled {
    background: rgba(255,255,255,.95) !important;
    border-bottom: 1px solid var(--tb-line) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
    box-shadow: 0 8px 24px rgba(15,41,66,.06) !important;
}
/* Teks nav tetap navy karena bg sudah terang (hanya baris atas, bukan link di dropdown) */
#header.header-transparent .logo h1 a,
#header.header-transparent #navbar > ul > li > a {
    color: var(--tb-ink) !important;
}
#header.header-transparent #navbar > ul > li > a:hover,
#header.header-transparent #navbar > ul > li:hover > a,
#header.header-transparent #navbar > ul > li > a.active {
    color: var(--tb-accent-2) !important;
}

#header .logo h1 {
    font-family: var(--tb-font-head) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex; align-items: center; gap: 8px;
}
#header .logo h1 a { color: var(--tb-ink) !important; display: flex; align-items: center; gap: 10px; }
#header.header-transparent .logo h1 a,
#header.header-transparent.header-scrolled .logo h1 a { color: var(--tb-ink) !important; }
#header .logo img { max-height: 40px; }

/* nav links — hanya item baris atas (#navbar > ul > li > a), jangan .nav-link global
   (supaya ::after underline tidak bentrok dengan submenu .dropdown ul a) */
#header #navbar > ul > li > a {
    color: var(--tb-ink-2) !important;
    font-family: var(--tb-font-head) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: .3px !important;
    padding: 10px 14px !important;
    text-transform: none !important;
    position: relative;
}
#header.header-transparent #navbar > ul > li > a {
    color: var(--tb-ink) !important;
}
#header.header-transparent.header-scrolled #navbar > ul > li > a {
    color: var(--tb-ink-2) !important;
}
#header #navbar > ul > li > a:hover,
#header #navbar > ul > li:hover > a,
#header #navbar > ul > li > a.active {
    color: var(--tb-accent) !important;
}
/* Halaman aktif — sedikit penekanan tipografi selain underline gradient */
#header #navbar > ul > li > a.active {
    font-weight: 600 !important;
}
/* Matikan underline hijau pendek bawaan Bootslander (::before dari
   style.css yang pakai warna #1acc8d). Kita cuma ingin satu underline
   biru gradient dari turbulent-theme saja. */
#header #navbar > ul > li > a::before,
.navbar > ul > li > a::before,
.navbar a:hover::before,
.navbar li:hover > a::before,
.navbar .active::before {
    content: none !important;
    display: none !important;
    background: transparent !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* Underline indicator — selalu ada (tersembunyi via scaleX(0)),
   muncul halus saat .active. Sliding dari center ke kiri/kanan
   dengan transisi cubic-bezier yang elegant. */
#header #navbar > ul > li > a::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--tb-accent), var(--tb-accent-2));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s cubic-bezier(.2, .8, .25, 1),
                opacity .25s ease;
    opacity: 0;
    pointer-events: none;
}
#header #navbar > ul > li > a:hover::after,
#header #navbar > ul > li:hover > a::after {
    transform: scaleX(.55);
    opacity: .55;
}
#header #navbar > ul > li > a.active::after {
    transform: scaleX(1);
    opacity: 1;
}
/* Pastikan dropdown anchor (yang punya icon chevron) juga support underline */
#header #navbar > ul > li.dropdown > a {
    position: relative;
}

/* dropdowns */
#header #navbar .dropdown ul {
    background: #fff !important;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg) !important;
    box-shadow: var(--tb-shadow-lg) !important;
    padding: 10px !important;
    min-width: 240px !important;
}
#header #navbar .dropdown ul a {
    color: var(--tb-ink-2) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    padding: 8px 12px 8px 18px !important;
    position: relative;
    transition: background .25s ease, color .25s ease, padding-left .25s ease;
}
/* Indicator bar di kiri — default invisible, slide in saat hover/active */
#header #navbar .dropdown ul a::before {
    content: '';
    position: absolute;
    left: 6px; top: 50%;
    width: 3px; height: 0;
    background: linear-gradient(180deg, var(--tb-accent), var(--tb-accent-2));
    border-radius: 3px;
    transform: translateY(-50%);
    transition: height .3s cubic-bezier(.2, .8, .25, 1), opacity .25s ease;
    opacity: 0;
}
#header #navbar .dropdown ul a:hover,
#header #navbar .dropdown ul li:hover > a {
    background: var(--tb-bg-soft) !important;
    color: var(--tb-accent) !important;
    padding-left: 22px !important;
}
#header #navbar .dropdown ul a:hover::before,
#header #navbar .dropdown ul li:hover > a::before {
    height: 16px;
    opacity: .65;
}

/* ACTIVE sub-menu item — bar penuh + bg lembut + bold */
#header #navbar .dropdown ul a.active {
    background: linear-gradient(90deg, var(--tb-accent-4), rgba(234, 245, 255, .4)) !important;
    color: var(--tb-accent-2) !important;
    font-weight: 600 !important;
    padding-left: 22px !important;
}
#header #navbar .dropdown ul a.active::before {
    height: 22px;
    opacity: 1;
}
/* Active sub-menu juga di kanannya tampilkan dot accent kecil */
#header #navbar .dropdown ul a.active::after {
    content: '';
    position: absolute;
    right: 12px; top: 50%;
    width: 6px; height: 6px;
    background: var(--tb-accent);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px rgba(56, 160, 236, .55);
}

/* Header PPID — selaras dengan tema biru muda + putih */
#header.ppid-header,
#header.ppid-header.header-scrolled {
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(90,184,255,.22);
    box-shadow: 0 6px 24px rgba(15,41,66,.06);
}
#header.ppid-header .logo h1 a { color: var(--tb-ink) !important; }
#header.ppid-header #navbar > ul > li > a { color: var(--tb-ink) !important; }
#header.ppid-header #navbar > ul > li > a:hover,
#header.ppid-header #navbar > ul > li:hover > a,
#header.ppid-header #navbar > ul > li > a.active {
    color: var(--tb-accent-2) !important;
}
#header.ppid-header #navbar > ul > li > a.active {
    font-weight: 600 !important;
}
#header.ppid-header #navbar .dropdown ul a { color: var(--tb-ink-2) !important; }

/*
 * PPID — underline menu aktif & submenu = perilaku navbar situs utama.
 * (!important menang atas override inline di layouts/ppid_master.blade.php.)
 */
#header.ppid-header #navbar > ul > li:not(.back-main):not(.nav-search-inline) > a::before {
    content: none !important;
    display: none !important;
}
#header.ppid-header #navbar > ul > li:not(.back-main):not(.nav-search-inline) > a {
    position: relative !important;
}
#header.ppid-header #navbar > ul > li:not(.back-main):not(.nav-search-inline) > a::after {
    content: '' !important;
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 2px !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--tb-accent), var(--tb-accent-2)) !important;
    border-radius: 2px !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    transition: transform .35s cubic-bezier(.2, .8, .25, 1), opacity .25s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
    display: block !important;
}
#header.ppid-header #navbar > ul > li:not(.back-main):not(.nav-search-inline) > a:hover::after,
#header.ppid-header #navbar > ul > li:not(.back-main):not(.nav-search-inline):hover > a::after {
    transform: scaleX(.55) !important;
    opacity: .55 !important;
}
#header.ppid-header #navbar > ul > li:not(.back-main):not(.nav-search-inline) > a.active::after {
    transform: scaleX(1) !important;
    opacity: 1 !important;
}
#header.ppid-header #navbar > ul > li.back-main > a::before,
#header.ppid-header #navbar > ul > li.back-main > a::after {
    content: none !important;
    display: none !important;
}
#header.ppid-header #navbar > ul > li.dropdown:not(.back-main) > a {
    position: relative !important;
}

#header.ppid-header #navbar .dropdown ul {
    background: #fff !important;
    border: 1px solid var(--tb-line) !important;
    border-radius: var(--tb-radius-lg) !important;
    box-shadow: var(--tb-shadow-lg) !important;
    padding: 10px !important;
    min-width: 240px !important;
}
#header.ppid-header #navbar .dropdown ul a {
    font-weight: 500 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    padding: 8px 12px 8px 18px !important;
    position: relative !important;
    transition: background .25s ease, color .25s ease, padding-left .25s ease !important;
}
#header.ppid-header #navbar .dropdown ul a::before {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 50% !important;
    width: 3px !important;
    height: 0 !important;
    background: linear-gradient(180deg, var(--tb-accent), var(--tb-accent-2)) !important;
    border-radius: 3px !important;
    transform: translateY(-50%) !important;
    transition: height .3s cubic-bezier(.2, .8, .25, 1), opacity .25s ease !important;
    opacity: 0 !important;
    display: block !important;
}
#header.ppid-header #navbar .dropdown ul a:hover,
#header.ppid-header #navbar .dropdown ul li:hover > a {
    background: var(--tb-bg-soft) !important;
    color: var(--tb-accent) !important;
    padding-left: 22px !important;
}
#header.ppid-header #navbar .dropdown ul a:hover::before,
#header.ppid-header #navbar .dropdown ul li:hover > a::before {
    height: 16px !important;
    opacity: .65 !important;
}
#header.ppid-header #navbar .dropdown ul a.active {
    background: linear-gradient(90deg, var(--tb-accent-4), rgba(234, 245, 255, .4)) !important;
    color: var(--tb-accent-2) !important;
    font-weight: 600 !important;
    padding-left: 22px !important;
}
#header.ppid-header #navbar .dropdown ul a.active::before {
    height: 22px !important;
    opacity: 1 !important;
}
#header.ppid-header #navbar .dropdown ul a.active::after {
    content: '' !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--tb-accent) !important;
    border-radius: 50% !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 0 8px rgba(56, 160, 236, .55) !important;
    display: block !important;
}

/* =========================
 * HERO — Full-bleed foto gedung + overlay biru muda → putih
 * ========================= */
#hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex; align-items: center;
    padding: 170px 0 160px;
    overflow: hidden;
    isolation: isolate;
    background:
        /* Overlay putih → biru muda transparan (agar text tetap terbaca) */
        linear-gradient(110deg,
            rgba(255,255,255,.95) 0%,
            rgba(234,245,255,.88) 35%,
            rgba(191,227,255,.55) 70%,
            rgba(90,184,255,.35) 100%),
        /* Foto gedung RSUD sebagai background utama */
        url('../img/bg-home.jpeg') center/cover no-repeat !important;
}
/* Layer biru muda halus tambahan untuk kesan "airy" */
#hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 15% 110%, rgba(90,184,255,.35), transparent 70%),
        radial-gradient(ellipse 800px 500px at 100% 0%, rgba(255,255,255,.6), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
/* Pola titik halus (texture subtle) */
#hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(90,184,255,.22) 1px, transparent 0);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}

/* Kolom text: lebar maksimal dibatasi agar text tetap enak dibaca
   di atas foto full-bleed, tanpa mengubah markup Blade. */
#hero .col-lg-7 { max-width: 680px; }

/* ===========================================================
 * HERO — Foto melayang (kanan) di atas background full-bleed
 * Card photo dengan border, shadow tebal, dan animasi float halus.
 * =========================================================== */
#hero .hero-img {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 20px 0;
}
#hero .hero-img img,
#hero .hero-img .animated {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 22px !important;
    box-shadow:
        0 30px 60px rgba(15, 41, 66, .25),
        0 12px 24px rgba(56, 160, 236, .18),
        0 0 0 1px rgba(255, 255, 255, .6) inset;
    border: 6px solid #ffffff;
    background: #ffffff;
    object-fit: cover;
    animation: tbHeroFloat 6s ease-in-out infinite;
    transform-origin: center;
    transition: transform .4s ease, box-shadow .4s ease;
    will-change: transform;
}
#hero .hero-img img:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow:
        0 40px 80px rgba(15, 41, 66, .32),
        0 16px 32px rgba(56, 160, 236, .25),
        0 0 0 1px rgba(255, 255, 255, .8) inset;
}

/* Decorative ring di belakang card (efek "halo" lembut) */
#hero .hero-img::before {
    content: "";
    position: absolute;
    width: 78%;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%,
            rgba(90, 184, 255, .35) 0%,
            rgba(56, 160, 236, .15) 40%,
            transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: tbHeroPulse 7s ease-in-out infinite;
    pointer-events: none;
}

/* Decorative dot grid kecil di belakang card */
#hero .hero-img::after {
    content: "";
    position: absolute;
    width: 110px; height: 110px;
    right: 6%;
    top: 8%;
    background-image: radial-gradient(circle at 1px 1px,
        rgba(56, 160, 236, .55) 1px, transparent 0);
    background-size: 14px 14px;
    border-radius: 6px;
    z-index: -1;
    opacity: .55;
    pointer-events: none;
    animation: tbHeroDotShift 8s ease-in-out infinite;
}

@keyframes tbHeroFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}
@keyframes tbHeroPulse {
    0%, 100% { transform: scale(1);    opacity: .9; }
    50%      { transform: scale(1.08); opacity: 1;  }
}
@keyframes tbHeroDotShift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-10px, 8px); }
}

/* Hormati user yang prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    #hero .hero-img img,
    #hero .hero-img::before,
    #hero .hero-img::after { animation: none !important; }
}

#hero .container { position: relative; z-index: 2; }

/* Headline — deep navy, bold, bersih. Ukuran diperkecil agar
   "MITRA MENUJU SEHAT" muat dalam 1 baris di desktop (max 680px). */
#hero h1 {
    color: var(--tb-ink) !important;
    font-family: var(--tb-font-head) !important;
    font-size: clamp(34px, 4.4vw, 58px) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    margin: 0 0 28px !important;
    letter-spacing: -0.025em !important;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(255,255,255,.6);
    white-space: normal;
}
/* Kata accent — sky blue inline. Matikan border-bottom hijau bawaan.
   display:inline-block agar aksen biru (::after) bisa ditempel PERSIS
   di bawah kata "MENUJU SEHAT" dengan lebar mengikuti span. */
#hero h1 span {
    color: var(--tb-accent) !important;
    display: inline-block;
    position: relative;
    font-weight: 700;
    background: linear-gradient(90deg, var(--tb-accent) 0%, var(--tb-accent-2) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 0 !important;
    border: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    padding-bottom: 14px; /* ruang untuk aksen di bawah */
}

/* Garis aksen di bawah kata "MENUJU SEHAT" — menempel persis di bawah
   <span>, lebar = lebar span.
   Filosofi animasi:
   - SATU draw-in yang halus (seperti goresan kuas) saat page load.
   - SATU light-sweep berkala (kilatan cahaya melintasi garis 1x) lalu
     istirahat — bukan shimmer bolak-balik agar terasa bersih & elegant.
   - Shadow statis (tidak pulsing) agar tenang.
   Teknik: 2-layer background. Layer atas = highlight putih transparan
   yang bergeser 1 arah. Layer bawah = gradient warna aksen (fixed). */
#hero h1 span::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    border-radius: 3px;
    background:
        /* Highlight (layer atas) — pita putih transparan sempit */
        linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, .0) 30%,
            rgba(255, 255, 255, .85) 50%,
            rgba(255, 255, 255, .0) 70%,
            transparent 100%),
        /* Base gradient (layer bawah) — warna aksen yang stabil */
        linear-gradient(90deg,
            var(--tb-accent) 0%,
            var(--tb-accent-2) 60%,
            rgba(56, 160, 236, .35) 100%);
    background-size: 55% 100%, 100% 100%;
    background-position: -80% 0, 0 0;
    background-repeat: no-repeat, no-repeat;
    box-shadow: 0 2px 12px rgba(56, 160, 236, .28);
    transform-origin: left center;
    -webkit-text-fill-color: initial; /* jaga dari inheritance span */
    will-change: transform, background-position, opacity;
    animation:
        tbAccentDraw 1.5s cubic-bezier(.77, 0, .175, 1) .15s both,
        tbAccentSweep 6.5s cubic-bezier(.4, 0, .2, 1) 1.7s infinite;
}

/* Matikan aksen lama di h1::after karena sekarang sudah dipindah ke span */
#hero h1::after {
    content: none !important;
    display: none !important;
}

/* Draw-in: garis digambar dari kiri → kanan dengan easing elegant.
   Bezier (.77, 0, .175, 1) = ease-in-out-quart → halus di awal & akhir. */
@keyframes tbAccentDraw {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    40% { opacity: 1; }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* Light sweep: highlight melintas dari kiri ke kanan sekali per siklus,
   lalu "istirahat" di ujung kanan (invisible) sebelum reset — memberi
   jeda napas yang tenang, bukan shimmer terus-menerus. */
@keyframes tbAccentSweep {
    0%   { background-position: -80% 0, 0 0; }
    35%  { background-position: 180% 0, 0 0; }   /* sweep selesai */
    100% { background-position: 180% 0, 0 0; }   /* rest ~4s */
}

/* Hormati user yang prefer-reduced-motion → hilangkan semua animasi */
@media (prefers-reduced-motion: reduce) {
    #hero h1 span::after {
        animation: none !important;
        transform: scaleX(1) !important;
        background-position: 200% 0, 0 0 !important;
    }
}

/* Variasi lebih kecil di tablet & mobile — tetap 1 baris kalau memungkinkan */
@media (max-width: 991px) {
    #hero h1 {
        font-size: clamp(28px, 6vw, 40px) !important;
    }
    #hero h1 span::after { height: 3px; }
}
@media (max-width: 575px) {
    #hero h1 {
        font-size: clamp(24px, 7vw, 32px) !important;
        line-height: 1.1 !important;
    }
    #hero h1 span { padding-bottom: 10px; }
    #hero h1 span::after { height: 3px; }
}
/* Saat headline di-center (PPID hero), garis aksen ikut center */
#hero .text-center h1::after,
#hero [class*="mx-auto"] h1::after {
    margin-left: auto;
    margin-right: auto;
}
/* Sub-heading center saat di PPID hero */
#hero .text-center h2 {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Subtitle — soft blue-gray */
#hero h2 {
    color: var(--tb-ink-2) !important;
    font-family: var(--tb-font-body) !important;
    font-weight: 500 !important;
    font-size: 19px !important;
    max-width: 560px;
    margin: 24px 0 36px !important;
    text-transform: none !important;
    line-height: 1.65;
    text-shadow: 0 1px 10px rgba(255,255,255,.55);
}

/* CTA button — bulat penuh dengan glow biru lembut */
#hero .btn-get-started {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--tb-accent) 0%, var(--tb-accent-2) 100%) !important;
    border: 0 !important;
    color: #fff !important;
    padding: 16px 40px !important;
    font-size: 14px !important;
    letter-spacing: 1.2px !important;
    font-weight: 600 !important;
    box-shadow: var(--tb-shadow-blue) !important;
    border-radius: 999px !important;
    transition: all .35s cubic-bezier(.2,.7,.2,1) !important;
}
#hero .btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(90,184,255,.5) !important;
    background: linear-gradient(135deg, var(--tb-accent-2) 0%, var(--tb-ink) 100%) !important;
}
#hero .btn-get-started::after {
    content: "→";
    font-size: 18px; line-height: 1;
    transition: transform .25s ease;
    font-weight: 400;
}
#hero .btn-get-started:hover::after { transform: translateX(6px); }

/* =========================
 * HERO — Dual CTA (Pendaftaran Online: Epasien + MJKN)
 * Desain compact, elegant, tidak membuat hero terasa penuh.
 * ========================= */
#hero .hero-cta-group {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
#hero .hero-cta-group.text-center { align-items: center; }

#hero .hero-cta-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--tb-font-head);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--tb-ink-2);
    opacity: .78;
    position: relative;
    padding-left: 34px;
}
#hero .hero-cta-label::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--tb-accent), var(--tb-accent-2));
    border-radius: 2px;
    transform: translateY(-50%);
}

#hero .hero-cta-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

#hero .btn-hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    font-family: var(--tb-font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: all .35s cubic-bezier(.2,.7,.2,1);
    overflow: hidden;
}
#hero .btn-hero-cta i {
    font-size: 18px;
    line-height: 1;
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
#hero .btn-hero-cta:hover i { transform: translateX(2px) scale(1.08); }

/* Primary — Epasien (gradient biru khas RSUD Tidar) */
#hero .btn-hero-cta--primary {
    background: linear-gradient(135deg, var(--tb-accent) 0%, var(--tb-accent-2) 100%);
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(90,184,255,.38);
}
#hero .btn-hero-cta--primary:hover {
    background: linear-gradient(135deg, var(--tb-accent-2) 0%, var(--tb-ink) 100%);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15,41,66,.22);
    color: #fff !important;
}

/* Ghost — MJKN (glass/outline, tetap elegan, tidak memberat komposisi) */
#hero .btn-hero-cta--ghost {
    background: rgba(255,255,255,.7);
    color: var(--tb-ink) !important;
    border: 1.5px solid rgba(90,184,255,.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(15,41,66,.06);
}
#hero .btn-hero-cta--ghost:hover {
    background: #fff;
    border-color: var(--tb-accent-2);
    color: var(--tb-accent-2) !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(90,184,255,.22);
}

/* Responsif — di layar kecil, dual CTA menjadi full-width agar tap-friendly
   namun tetap rapi dan tidak padat. */
@media (max-width: 575.98px) {
    #hero .hero-cta-buttons { width: 100%; gap: 10px; }
    #hero .btn-hero-cta {
        flex: 1 1 auto;
        justify-content: center;
        padding: 12px 18px;
        font-size: 12.5px;
        letter-spacing: 1px;
    }
    #hero .hero-cta-label { font-size: 10.5px; letter-spacing: 2.5px; }
}

/* CATATAN: styling .hero-img ada di blok "Foto melayang" di atas.
   Foto tetap muncul sebagai background full-bleed pada #hero, dan
   foto melayang (card) ditampilkan lagi di kolom kanan. */

/* Hero waves — dipindah ke BOTTOM & diselaraskan ke putih lembut
   (sebagai transisi elegan ke section berikutnya, tidak mengganggu foto). */
#hero .hero-waves {
    position: absolute !important;
    left: 0; right: 0; bottom: -1px;
    height: 90px !important;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: .9;
}
#hero .hero-waves .wave1 use { fill: rgba(255,255,255,.35) !important; }
#hero .hero-waves .wave2 use { fill: rgba(255,255,255,.65) !important; }
#hero .hero-waves .wave3 use { fill: #ffffff !important; }

/* Pastikan container hero di atas pseudo-element overlay */
#hero > .container { position: relative; z-index: 2; }

/* Hide hero waves on small screens — looks cleaner */
@media (max-width: 575px) {
    #hero .hero-waves { display: none; }
}

/* Scroll indicator di bawah hero — dot + garis turun halus */
#hero .scroll-indicator {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,.45);
    border-radius: 14px;
    display: none; /* optional: aktifkan kalau markup ada */
}
/* Small corner mark (nomor urut section) ala turbulent */
#hero .hero-tagline {
    display: inline-block;
    font-family: var(--tb-font-head);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--tb-accent);
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: rgba(90,184,255,.12);
    border: 1px solid rgba(90,184,255,.3);
    border-radius: 999px;
}

/* =========================
 * SECTION GENERIC
 * ========================= */
section { padding: 100px 0 !important; position: relative; }
/* Seluruh section default: transparan agar body gradient biru-putih terlihat */
main#main > section,
.about, .profile, .features, .faq, .team, .portfolio,
.tb-feature-block, .tb-icongrid, .tb-quicknav, .tb-partners {
    background: transparent !important;
}
.section-bg { background: linear-gradient(180deg, #f4f9ff, #eaf5ff) !important; }

/* Wave divider halus antar section — pakai SVG curved line
   (pengganti hero-waves yang dulu mengganggu foto background). */
.tb-wave-divider {
    position: relative;
    height: 60px;
    margin-top: -1px;
    overflow: hidden;
}
.tb-wave-divider::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,32 C240,56 480,8 720,24 C960,40 1200,56 1440,28 L1440,60 L0,60 Z'/></svg>");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .6;
}

.section-title { text-align: center; padding-bottom: 54px; }
.section-title h2 {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    color: var(--tb-accent-2) !important;
    margin-bottom: 14px !important;
    position: relative;
    display: inline-block;
    padding: 6px 18px;
    background: var(--tb-accent-4);
    border-radius: 999px;
}
.section-title h2::after { display: none; }
.section-title p {
    font-size: clamp(30px,3.6vw,50px) !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    text-transform: none !important;
    margin: 8px 0 0 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.1 !important;
}

/* =========================
 * ABOUT SECTION
 * ========================= */
.about { background: #fff !important; }
.about .video-box {
    min-height: 400px;
    background: url('../img/about.png') center/cover no-repeat;
    border-radius: var(--tb-radius-lg);
    overflow: hidden;
}
.about .icon-boxes h3 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    margin-bottom: 20px !important;
    letter-spacing: -.02em;
}
.about .icon-boxes h3::before {
    content: "—";
    color: var(--tb-accent);
    margin-right: 10px;
    font-weight: 700;
}

/* =========================
 * PROFILE SECTION (sejarah dll)
 * ========================= */
.profile { background: var(--tb-bg-soft) !important; }
.profile .content {
    background: #fff;
    border-radius: var(--tb-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--tb-shadow);
    border: 1px solid var(--tb-line);
}
.profile .content img {
    border-radius: var(--tb-radius);
    width: 100%; height: 100%;
    object-fit: cover;
    max-height: 360px;
}
.profile h2, .profile h3 {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    margin-bottom: 16px;
}
.profile h2::before, .profile h3::before {
    content: "";
    display: inline-block;
    width: 32px; height: 3px;
    background: var(--tb-accent);
    margin-right: 14px;
    vertical-align: middle;
    border-radius: 3px;
}

/* =========================
 * FEATURES (info cards)
 * ========================= */
.features { background: #fff !important; }
.features .icon-box {
    background: #fff !important;
    border: 1px solid var(--tb-line) !important;
    border-radius: var(--tb-radius-lg) !important;
    padding: 32px 24px !important;
    text-align: center;
    transition: all .3s ease;
    box-shadow: 0 4px 16px rgba(12,18,32,.04);
}
.features .icon-box:hover {
    transform: translateY(-6px);
    border-color: var(--tb-accent);
    box-shadow: var(--tb-shadow-lg);
}
.features .icon-box i {
    font-size: 42px !important;
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 72px; height: 72px;
    margin: 0 auto 16px !important;
    background: rgba(90,184,255,.12);
    color: var(--tb-accent) !important;
    border-radius: 50%;
    transition: all .3s ease;
}
.features .icon-box:hover i {
    background: var(--tb-accent);
    color: #fff !important;
    transform: scale(1.08);
}
/* hilangkan warna random dari inline style */
.features .icon-box i[style] { color: var(--tb-accent) !important; }
.features .icon-box h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}
.features .icon-box h3 a {
    color: var(--tb-ink) !important;
    text-decoration: none;
}
.features .icon-box:hover h3 a { color: var(--tb-accent) !important; }

/* =========================
 * FAQ (fasilitas collapse)
 * ========================= */
.faq { background: var(--tb-bg-soft) !important; }
.faq .faq-list ul { padding: 0; list-style: none; }
.faq .faq-list li {
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg) !important;
    margin-bottom: 14px;
    padding: 22px 26px 22px 62px !important;
    box-shadow: var(--tb-shadow);
    position: relative;
}
.faq .faq-list .icon-help {
    position: absolute; left: 22px; top: 24px;
    font-size: 26px !important;
    color: var(--tb-accent) !important;
}
.faq .faq-list a {
    color: var(--tb-ink) !important;
    font-family: var(--tb-font-head) !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    padding-right: 40px;
    display: block;
    text-decoration: none;
}
.faq .faq-list a.collapsed { color: var(--tb-ink-2) !important; }
/* Chevron show/close — center vertikal ke tengah li */
.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
    color: var(--tb-accent) !important;
    font-size: 22px !important;
    position: absolute !important;
    right: 22px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    line-height: 1 !important;
    transition: transform .25s ease;
}
.faq .faq-list a:hover .icon-show,
.faq .faq-list a:hover .icon-close {
    transform: translateY(-50%) translateX(2px) !important;
}
.faq .faq-list p {
    margin-top: 14px; color: var(--tb-muted);
}

/* =========================
 * TEAM / PEJABAT — Museum portrait card
 * Foto tidak dipotong (object-fit: contain), nama & jabatan tampil
 * natural di bawah foto (bukan absolute floating card), card elegant
 * dengan soft blue background di area foto.
 * ========================= */
.team { background: #fff !important; }

/* Card wrapper — HARUS non-clipping agar member-info tidak terpotong.
   Override margin-bottom 80px bawaan Bootslander (kompensasi member-info
   absolute bottom:-80px) karena sekarang member-info static. */
.team .member {
    position: relative;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg) !important;
    overflow: hidden;   /* pic sudah di-clip sendiri, ini untuk border-radius card */
    box-shadow: var(--tb-shadow);
    transition: transform .35s cubic-bezier(.2, .8, .25, 1), box-shadow .35s ease;
    margin-bottom: 30px !important;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    text-align: left !important;
}
.team .member:hover {
    transform: translateY(-6px);
    box-shadow: var(--tb-shadow-lg);
}

/* Area foto — portrait ratio (4/5) dengan soft gradient background.
   object-fit: contain memastikan FOTO UTUH tidak dipotong. */
.team .member .pic {
    position: relative;
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, .6), transparent 70%),
        linear-gradient(160deg, #eaf5ff 0%, #dceaf7 60%, #c9dcee 100%);
    overflow: hidden;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}
/* Dot-pattern lembut di background area foto — premium look */
.team .member .pic::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px,
        rgba(56, 160, 236, .18) 1px, transparent 0);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
    opacity: .5;
    pointer-events: none;
}
.team .member .pic img {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    max-height: 100%;
    object-fit: contain !important;   /* FOTO TIDAK DIPOTONG */
    object-position: center bottom;
    transition: transform .6s cubic-bezier(.2, .8, .25, 1);
    z-index: 1;
    filter: drop-shadow(0 6px 18px rgba(15, 41, 66, .15));
}
.team .member:hover .pic img {
    transform: scale(1.04) translateY(-2px);
}

/* ===========================================================
 * Info block — "Business Card" premium style.
 * Layout: [eyebrow bar + tiny dot] → [Nama besar] → [Divider halus]
 *         → [Eyebrow JABATAN] → [Teks jabatan]
 * Semua static flow, bersih, dan punya micro-interaction halus.
 * =========================================================== */
.team .member .member-info {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 22px 24px 26px !important;
    text-align: left !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #fafcff 100%) !important;
    border-top: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    position: relative !important;
    overflow: hidden;
}
/* Aksen gradient bar tipis di atas info block (pengganti border-top) */
.team .member .member-info::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--tb-accent) 20%,
        var(--tb-accent-2) 50%,
        var(--tb-accent) 80%,
        transparent 100%);
    opacity: .85;
    transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .25, 1);
    transform-origin: center;
}
.team .member:hover .member-info::before {
    opacity: 1;
    transform: scaleX(1.02);
}
/* Small glowing dot decoration di sudut kanan atas info block */
.team .member .member-info::after {
    content: "";
    position: absolute;
    top: 18px; right: 18px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--tb-accent);
    box-shadow: 0 0 0 4px rgba(56, 160, 236, .15),
                0 0 12px rgba(56, 160, 236, .5);
    opacity: 0;
    transform: scale(.5);
    transition: opacity .35s ease, transform .4s cubic-bezier(.2, .8, .25, 1);
}
.team .member:hover .member-info::after {
    opacity: 1;
    transform: scale(1);
}

/* ---------- NAMA (h4) — tipografi display, elegant ---------- */
.team .member h4 {
    font-family: var(--tb-font-head) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
    position: relative;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color .3s ease;
}
.team .member:hover h4 {
    color: var(--tb-accent-2) !important;
}
/* Matikan garis pendek bawaan Bootslander di h4::after (warna #0d12fc) */
.team .member h4::after {
    content: none !important;
    display: none !important;
}

/* ---------- Divider halus antara nama & jabatan ---------- */
.team .member .member-info .tb-divider,
.team .member h4 + span::before {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin: 12px 0 10px;
    background: linear-gradient(90deg, var(--tb-accent), var(--tb-accent-2));
    border-radius: 2px;
    transition: width .4s cubic-bezier(.2, .8, .25, 1);
}
.team .member:hover h4 + span::before {
    width: 48px;
}

/* ---------- JABATAN (span) — eyebrow style elegant ---------- */
.team .member span {
    font-family: var(--tb-font-body) !important;
    font-size: 12px !important;
    color: var(--tb-ink-2) !important;
    font-weight: 500 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    display: block !important;
    line-height: 1.55 !important;
    word-break: break-word;
    position: relative;
    transition: color .3s ease;
}
.team .member:hover span {
    color: var(--tb-ink) !important;
}

/* Tambahan micro-label "PEJABAT" di atas nama (eyebrow kecil) —
   muncul saat hover, kesan business-card premium. */
.team .member h4::before {
    content: "Pejabat";
    display: block;
    font-family: var(--tb-font-head);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--tb-accent-2);
    margin-bottom: 8px;
    padding-bottom: 2px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .35s ease, transform .4s cubic-bezier(.2, .8, .25, 1);
    max-height: 0;
    overflow: hidden;
}
.team .member:hover h4::before {
    opacity: 1;
    transform: translateY(0);
    max-height: 20px;
}

/* Responsif: di mobile, pic ratio sedikit dipendekkan agar card tidak
   terlalu tinggi & text tetap terbaca tanpa scroll */
@media (max-width: 767px) {
    .team .member .pic { aspect-ratio: 4 / 4.5; }
    .team .member .member-info { padding: 18px 20px 20px !important; }
    .team .member h4 { font-size: 15.5px !important; }
    .team .member span { font-size: 11.5px !important; letter-spacing: 1px !important; }
    .team .member .member-info::after { top: 14px; right: 14px; width: 5px; height: 5px; }
    /* Sembunyikan eyebrow "Pejabat" di mobile (terlalu ramai di layar kecil) */
    .team .member h4::before { display: none; }
}

/* Hormati user yang prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .team .member .member-info::before,
    .team .member .member-info::after,
    .team .member h4,
    .team .member h4::before,
    .team .member span,
    .team .member h4 + span::before,
    .team .member:hover .pic img {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================
 * PORTFOLIO / BERITA CARDS
 * ========================= */
.portfolio { background: var(--tb-bg-soft) !important; }
.bsb-blog-5 .card {
    background: transparent !important;
    border: 0 !important;
}
.bsb-blog-5 figure.card-img-top {
    border-radius: var(--tb-radius-lg);
    overflow: hidden;
    position: relative;
    margin-bottom: 18px !important;
    aspect-ratio: 16 / 11;
    background: #fff;
    box-shadow: var(--tb-shadow);
}
.bsb-blog-5 figure.card-img-top img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.bsb-blog-5 article:hover figure.card-img-top img {
    transform: scale(1.06);
}
.bsb-blog-5 figcaption {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12,18,32,0) 40%, rgba(12,18,32,.78) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 22px;
    opacity: 0; transition: opacity .3s ease;
}
.bsb-blog-5 article:hover figcaption { opacity: 1; }
.bsb-blog-5 .card-title {
    font-family: var(--tb-font-head) !important;
    font-weight: 700 !important;
    font-size: 19px !important;
    color: var(--tb-ink) !important;
    line-height: 1.35 !important;
}
.bsb-blog-5 .entry-meta a { color: var(--tb-muted) !important; }

/* =========================
 * FOOTER — Clean & elegant, turbulent.be-inspired.
 * Semua selector pakai specificity #footer .footer-top … agar
 * menimpa style.css bawaan tanpa mengubah markup Blade.
 * ========================= */
#footer {
    background:
        radial-gradient(ellipse 1100px 420px at 15% 0%, rgba(90,184,255,.18), transparent 70%),
        radial-gradient(ellipse 900px 360px at 100% 100%, rgba(90,184,255,.12), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f4f9ff 55%, #eaf5ff 100%) !important;
    color: var(--tb-muted) !important;
    padding: 0 0 0 0 !important;
    border-top: 1px solid rgba(90,184,255,.22);
    position: relative;
    font-size: 14px;
}
/* Garis aksen biru muda tipis di atas footer */
#footer::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tb-accent) 25%, var(--tb-accent-2) 50%, var(--tb-accent) 75%, transparent);
    opacity: .7;
}

/* Container atas — airy, lebih lega */
#footer .footer-top {
    background: transparent !important;
    padding: 90px 0 50px !important;
}
#footer .footer-top .row { --bs-gutter-x: 36px; --bs-gutter-y: 40px; }

/* HAPUS box navy di kolom 1 yang bawaan style.css */
#footer .footer-top .footer-info {
    background: transparent !important;
    border-top: 0 !important;
    color: var(--tb-muted) !important;
    text-align: left !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    max-width: 360px;
}

/* Heading kolom — uppercase kecil, rapi ala turbulent */
#footer .footer-top h4,
#footer .footer-top .footer-info h3,
#footer .footer-top .footer-info h4,
#footer .footer-top .footer-links h4,
#footer .footer-top .footer-newsletter h4 {
    font-family: var(--tb-font-head) !important;
    color: var(--tb-ink) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    margin: 0 0 22px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    position: relative;
}
/* Garis aksen pendek di bawah setiap heading */
#footer .footer-top h4::after,
#footer .footer-top .footer-info h3::after,
#footer .footer-top .footer-info h4::after,
#footer .footer-top .footer-links h4::after,
#footer .footer-top .footer-newsletter h4::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--tb-accent), var(--tb-accent-2));
    border-radius: 2px;
}

/* Paragraf — soft blue-gray */
#footer .footer-top .footer-info p,
#footer .footer-top .footer-newsletter p {
    color: var(--tb-muted) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    margin: 0 0 16px !important;
    font-family: var(--tb-font-body) !important;
}
#footer .footer-top .footer-info p strong {
    color: var(--tb-ink) !important;
    font-weight: 600;
}

/* Lists — simple, no heavy chevron, smooth hover slide */
#footer .footer-top .footer-links { margin-bottom: 0 !important; }
#footer .footer-top .footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#footer .footer-top .footer-links ul li {
    padding: 6px 0 !important;
    display: flex !important;
    align-items: center;
    line-height: 1.4 !important;
}
#footer .footer-top .footer-links ul li:first-child { padding-top: 0 !important; }
/* Chevron icon — tipis, biru muda, animate on hover */
#footer .footer-top .footer-links ul li i {
    color: var(--tb-accent-2) !important;
    font-size: 16px !important;
    line-height: 1;
    margin-right: 4px;
    transition: transform .25s ease;
    flex-shrink: 0;
}
/* Link — navy muted, hover slide + biru muda */
#footer .footer-top .footer-links ul a {
    color: var(--tb-ink-2) !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: color .2s ease, transform .25s ease;
    font-weight: 500;
}
#footer .footer-top .footer-links ul li:hover i { transform: translateX(3px); }
#footer .footer-top .footer-links ul li:hover a,
#footer .footer-top .footer-links ul a:hover {
    color: var(--tb-accent-2) !important;
    transform: translateX(2px);
}

/* Social icons — minimalis, putih dengan border biru muda */
#footer .footer-top .social-links a,
#footer .social-links a {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 42px !important; height: 42px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    color: var(--tb-accent-2) !important;
    font-size: 19px !important;
    margin-right: 10px !important;
    transition: all .25s cubic-bezier(.2,.7,.2,1);
    border: 1px solid rgba(90,184,255,.3) !important;
    box-shadow: 0 4px 14px rgba(30,100,170,.06);
    text-decoration: none !important;
}
#footer .footer-top .social-links a:hover,
#footer .social-links a:hover {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2)) !important;
    border-color: transparent !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: var(--tb-shadow-blue) !important;
    text-decoration: none !important;
}

/* Copyright bar — tipis dengan border halus biru muda */
#footer .copyright,
#footer .credits {
    color: var(--tb-muted) !important;
    font-size: 13px !important;
    text-align: center;
    padding: 18px 0 !important;
    border: 0 !important;
    margin: 0 !important;
}
#footer .copyright {
    border-top: 1px solid rgba(90,184,255,.22) !important;
    padding-top: 26px !important;
    padding-bottom: 6px !important;
    color: var(--tb-ink-2) !important;
    margin-top: 10px !important;
}
#footer .copyright strong,
#footer .copyright strong span {
    color: var(--tb-ink) !important;
    font-weight: 600;
}
#footer .credits {
    color: var(--tb-muted) !important;
    padding-top: 2px !important;
    padding-bottom: 26px !important;
    letter-spacing: .3px;
}

/* =========================
 * PPID INNER PAGES
 * ========================= */
.ppid-inner .breadcrumbs {
    background: linear-gradient(135deg, var(--tb-bg-soft), #fff) !important;
    border-bottom: 1px solid var(--tb-line);
    padding: 32px 0 !important;
    margin-top: 80px;
}
.ppid-inner .breadcrumbs h2 {
    font-family: var(--tb-font-head) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
}
.ppid-inner .breadcrumbs ol a { color: var(--tb-accent) !important; }

.ppid-inner .section-title p {
    color: var(--tb-ink) !important;
    font-size: 34px !important;
    text-transform: none !important;
    letter-spacing: -0.02em !important;
}
.ppid-inner .section-title h2 {
    color: var(--tb-accent) !important;
    font-size: 13px !important;
    letter-spacing: 3px !important;
}

.ppid-inner .icon-box {
    background: #fff !important;
    border: 1px solid var(--tb-line) !important;
    border-radius: var(--tb-radius-lg) !important;
    padding: 26px !important;
    box-shadow: var(--tb-shadow);
    transition: all .25s ease;
}
.ppid-inner .icon-box:hover {
    transform: translateY(-4px);
    border-color: var(--tb-accent);
    box-shadow: var(--tb-shadow-lg);
}
.ppid-inner .icon-box .icon i,
.ppid-inner .icon-box h4 { color: var(--tb-ink) !important; }
.ppid-inner .icon-box:hover .icon i,
.ppid-inner .icon-box:hover h4 { color: var(--tb-accent) !important; }

.ppid-inner .pricing .box {
    background: #fff !important;
    border: 1px solid var(--tb-line) !important;
    border-radius: var(--tb-radius-lg) !important;
    box-shadow: var(--tb-shadow) !important;
}

.ppid-inner table {
    border-radius: var(--tb-radius-lg);
    overflow: hidden;
    box-shadow: var(--tb-shadow);
    border: 1px solid var(--tb-line);
}
.ppid-inner .table thead {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2)) !important;
    color: #fff;
}
.ppid-inner .table thead th {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 16px !important;
}
.ppid-inner .table tbody tr:hover { background: var(--tb-bg-soft) !important; }

/* Inner page master (non-ppid) — breadcrumb & section title */
.breadcrumbs {
    background: linear-gradient(135deg, var(--tb-bg-soft), #fff);
    padding: 120px 0 40px !important;
    border-bottom: 1px solid var(--tb-line);
}
.breadcrumbs h2 {
    font-family: var(--tb-font-head) !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    margin: 0;
}
.breadcrumbs ol a { color: var(--tb-accent) !important; }

/* =========================
 * BACK TO TOP / PRELOADER
 * ========================= */
.back-to-top {
    background: var(--tb-accent) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    box-shadow: 0 8px 20px rgba(90,184,255,.4);
    border: 0 !important;
}
.back-to-top:hover { background: var(--tb-ink) !important; }

#preloader::before {
    border-color: var(--tb-accent) transparent var(--tb-accent) transparent !important;
}

/* =========================
 * VISITOR STATS CARD
 * ========================= */
.visitor-card {
    border-radius: var(--tb-radius-lg) !important;
    background: rgba(255,255,255,.95) !important;
    border: 1px solid var(--tb-line) !important;
    box-shadow: var(--tb-shadow-lg) !important;
}
.visitor-card h6 {
    color: var(--tb-ink) !important;
    font-family: var(--tb-font-head) !important;
    font-weight: 700 !important;
}
.visitor-card p { color: var(--tb-muted) !important; }
.visitor-card h6::before {
    content: "";
    display: inline-block;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--tb-accent);
    margin-right: 8px;
    box-shadow: 0 0 0 4px rgba(90,184,255,.15);
    animation: tbPulse 1.6s infinite;
}
@keyframes tbPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(90,184,255,.15); }
    50%      { box-shadow: 0 0 0 8px rgba(90,184,255,.05); }
}

/* =========================
 * UTILITIES
 * ========================= */
::selection { background: var(--tb-accent); color: #fff; }

img { max-width: 100%; }

.container { padding-left: 20px; padding-right: 20px; }

/* =========================
 * RESPONSIVE — Mobile polish
 * ========================= */

/* ---------- Hamburger toggle (terlihat di header putih) ---------- */
.mobile-nav-toggle {
    color: var(--tb-ink) !important;
    font-size: 28px !important;
    width: 44px; height: 44px;
    display: none;
    align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(234, 245, 255, .6);
    border: 1px solid rgba(90, 184, 255, .25);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
    cursor: pointer;
    line-height: 1 !important;
}
.mobile-nav-toggle:hover {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2)) !important;
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(90, 184, 255, .35);
}
@media (max-width: 991px) {
    .mobile-nav-toggle { display: inline-flex !important; }
}

/* ===========================================================
 * MOBILE NAV DRAWER — full-screen overlay yang BENAR-benar tampil.
 * Pakai !important pada inset/position/z-index agar tidak ditimpa
 * oleh aturan Bootstrap/Bootslander manapun.
 *
 * PENTING: #header punya `backdrop-filter` yang membuat NEW CONTAINING
 * BLOCK untuk position:fixed descendants (spek CSS). Akibatnya
 * #navbar.navbar-mobile { position:fixed; inset:0 } hanya fill area
 * #header (82px), bukan viewport. Karena itu kita matikan
 * backdrop-filter / transform / filter pada #header saat overlay aktif.
 * =========================================================== */

/* Saat overlay aktif → buang backdrop-filter di header agar
   position:fixed pada #navbar.navbar-mobile bisa fill viewport.
   Dukungan :has() (Chrome 105+, Safari 15.4+, Firefox 121+).
   Sebagai fallback, kita juga pakai .mobile-nav-active di <body>
   yang ditambahkan via JS (lihat bawah berkas ini). */
#header:has(#navbar.navbar-mobile),
body.mobile-nav-active #header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
/* Lock body scroll saat overlay menu terbuka */
body.mobile-nav-active {
    overflow: hidden !important;
    touch-action: none;
}

/* ===========================================================
 * MOBILE NAV — KEYFRAMES (animasi buka/tutup yang halus)
 * =========================================================== */
@keyframes tbNavBackdropIn {
    from { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
    to   { opacity: 1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
@keyframes tbNavBackdropOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}
@keyframes tbNavPanelIn {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(.97);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
@keyframes tbNavPanelOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(.98);
    }
}
@keyframes tbNavItemIn {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes tbNavSubmenuIn {
    from { opacity: 0; transform: translateY(-6px); max-height: 0; }
    to   { opacity: 1; transform: translateY(0);   max-height: 600px; }
}

/* Hormati user yang prefer reduced motion → skip animasi panel */
@media (prefers-reduced-motion: reduce) {
    #navbar.navbar-mobile,
    #navbar.navbar-mobile > ul,
    #navbar.navbar-mobile > ul > li,
    #navbar.navbar-mobile.is-closing,
    #navbar.navbar-mobile.is-closing > ul {
        animation: none !important;
    }
}

@media (max-width: 991px) {
    #hero { padding: 130px 0 110px !important; min-height: auto !important; }
    #hero h1 { font-size: clamp(28px, 6vw, 40px) !important; line-height: 1.08 !important; }
    section { padding: 70px 0 !important; }
    .profile .content { padding: 24px; }
    #header .logo h1 { font-size: 18px !important; }
    #header .logo img { max-height: 36px; }

    /* OVERLAY container — wajib full viewport. Backdrop fade in halus. */
    #navbar.navbar-mobile {
        position: fixed !important;
        top: 0 !important; right: 0 !important;
        bottom: 0 !important; left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(15, 41, 66, .92) !important;
        z-index: 9999 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        animation: tbNavBackdropIn .35s cubic-bezier(.25, .9, .3, 1) both;
    }

    /* PANEL putih berisi menu — slide turun + fade + scale halus */
    #navbar.navbar-mobile > ul {
        display: block !important;
        position: absolute !important;
        top: 76px !important;
        right: 16px !important;
        bottom: 16px !important;
        left: 16px !important;
        width: auto !important;
        max-height: none !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .35) !important;
        padding: 16px 10px !important;
        margin: 0 !important;
        overflow-y: auto !important;
        z-index: 10000 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform-origin: top center;
        animation: tbNavPanelIn .45s cubic-bezier(.2, .8, .25, 1) both;
        animation-delay: .08s;
    }

    /* Stagger fade-in tiap item menu */
    #navbar.navbar-mobile > ul > li {
        position: relative !important;
        list-style: none !important;
        margin: 2px 0 !important;
        padding: 0 !important;
        border: 0 !important;
        width: 100%;
        animation: tbNavItemIn .42s cubic-bezier(.2, .8, .25, 1) both;
    }
    /* Stagger delays — top item dulu, lalu turun. Pakai variabel agar
       gampang adjust. Maksimum 12 item, sisanya pakai delay terakhir. */
    #navbar.navbar-mobile > ul > li:nth-child(1)  { animation-delay: .14s; }
    #navbar.navbar-mobile > ul > li:nth-child(2)  { animation-delay: .19s; }
    #navbar.navbar-mobile > ul > li:nth-child(3)  { animation-delay: .24s; }
    #navbar.navbar-mobile > ul > li:nth-child(4)  { animation-delay: .29s; }
    #navbar.navbar-mobile > ul > li:nth-child(5)  { animation-delay: .34s; }
    #navbar.navbar-mobile > ul > li:nth-child(6)  { animation-delay: .39s; }
    #navbar.navbar-mobile > ul > li:nth-child(7)  { animation-delay: .44s; }
    #navbar.navbar-mobile > ul > li:nth-child(8)  { animation-delay: .49s; }
    #navbar.navbar-mobile > ul > li:nth-child(9)  { animation-delay: .54s; }
    #navbar.navbar-mobile > ul > li:nth-child(10) { animation-delay: .59s; }
    #navbar.navbar-mobile > ul > li:nth-child(n+11) { animation-delay: .64s; }

    /* Saat menutup → backdrop & panel slide keluar halus.
       Class .is-closing di-toggle oleh main.js sebelum
       menghapus .navbar-mobile. */
    #navbar.navbar-mobile.is-closing {
        animation: tbNavBackdropOut .28s cubic-bezier(.4, 0, .7, .2) both;
    }
    #navbar.navbar-mobile.is-closing > ul {
        animation: tbNavPanelOut .26s cubic-bezier(.4, 0, .7, .2) both;
    }
    #navbar.navbar-mobile.is-closing > ul > li {
        animation: none !important;
    }

    /* Tetap normal untuk sub-dropdown items */
    #navbar.navbar-mobile li {
        position: relative;
        list-style: none;
        margin: 2px 0;
        padding: 0;
        border: 0;
        width: 100%;
    }

    #navbar.navbar-mobile a,
    #navbar.navbar-mobile a:focus,
    #navbar.navbar-mobile .nav-link {
        color: var(--tb-ink) !important;
        font-family: var(--tb-font-head) !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        padding: 14px 20px !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        text-decoration: none !important;
        transition: background .25s ease, color .25s ease, transform .25s ease, padding-left .25s ease;
        white-space: normal;
    }
    #navbar.navbar-mobile a:hover,
    #navbar.navbar-mobile li:hover > a,
    #navbar.navbar-mobile .active,
    #navbar.navbar-mobile .nav-link.active {
        color: var(--tb-accent-2) !important;
        background: var(--tb-accent-4) !important;
        padding-left: 24px !important;
    }
    /* Chevron berputar halus saat dropdown dibuka */
    #navbar.navbar-mobile .dropdown > a > i.bi-chevron-down,
    #navbar.navbar-mobile .dropdown > a > i.bi-chevron-right {
        transition: transform .3s cubic-bezier(.2,.8,.25,1);
    }
    #navbar.navbar-mobile .dropdown > a:has(+ .dropdown-active) > i.bi-chevron-down,
    #navbar.navbar-mobile .dropdown > a:has(+ .dropdown-active) > i.bi-chevron-right {
        transform: rotate(180deg);
        color: var(--tb-accent-2) !important;
    }

    /* Sub-dropdown panel (nested ul) */
    #navbar.navbar-mobile .dropdown ul,
    #navbar.navbar-mobile .dropdown .dropdown ul {
        display: none;
        position: static !important;
        top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
        width: auto !important;
        background: var(--tb-bg-soft) !important;
        margin: 4px 8px 8px !important;
        padding: 6px 0 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    /* main.js menambahkan .dropdown-active saat <a> dropdown di-klik.
       Sub-menu meluncur turun + fade halus (slide & fade). */
    #navbar.navbar-mobile .dropdown > .dropdown-active,
    #navbar.navbar-mobile .dropdown .dropdown > .dropdown-active {
        display: block !important;
        animation: tbNavSubmenuIn .3s cubic-bezier(.2, .8, .25, 1) both;
        overflow: hidden;
    }
    #navbar.navbar-mobile .dropdown ul a {
        padding: 10px 22px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
    }
    #navbar.navbar-mobile .dropdown > a > i.bi-chevron-down,
    #navbar.navbar-mobile .dropdown > a > i.bi-chevron-right {
        font-size: 12px;
        color: var(--tb-muted);
    }

    /* Underline item baris atas saat aktif (mobile) — tidak ke link di dalam .dropdown ul */
    #header #navbar.navbar-mobile > ul > li:not(.back-main):not(.nav-search-inline) > a {
        position: relative !important;
    }
    #header #navbar.navbar-mobile > ul > li:not(.back-main):not(.nav-search-inline) > a::after {
        content: '';
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 6px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--tb-accent), var(--tb-accent-2));
        transform: scaleX(0);
        transform-origin: center;
        opacity: 0;
        pointer-events: none;
        transition: transform .32s cubic-bezier(.2, .8, .25, 1), opacity .22s ease;
    }
    #header #navbar.navbar-mobile > ul > li:not(.back-main):not(.nav-search-inline) > a.active::after {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* Saat panel mobile aktif → toggle jadi tombol close putih
   (di luar @media supaya tetap berlaku saat overlay terbuka). */
.navbar-mobile .mobile-nav-toggle,
#header .navbar-mobile .mobile-nav-toggle,
#navbar.navbar-mobile .mobile-nav-toggle {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .12) !important;
    border: 1px solid rgba(255, 255, 255, .25) !important;
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 10001 !important;
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center; justify-content: center;
    border-radius: 50% !important;
    transform: rotate(0deg) scale(1);
    animation: tbToggleSpinIn .35s cubic-bezier(.2,.8,.25,1) both;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.navbar-mobile .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, .25) !important;
    color: #fff !important;
    transform: rotate(90deg) scale(1.05);
}
/* Smooth transitions ikon hamburger ↔ X di state default (header putih) */
.mobile-nav-toggle {
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.25,1);
}
.mobile-nav-toggle:active { transform: scale(.92); }

@keyframes tbToggleSpinIn {
    from { transform: rotate(-90deg) scale(.6); opacity: 0; }
    to   { transform: rotate(0deg)   scale(1);  opacity: 1; }
}
@media (max-width: 575px) {
    .section-title p { font-size: 26px !important; }
    #hero { padding: 110px 0 90px !important; }
    #hero h1 { font-size: clamp(22px, 6.5vw, 30px) !important; line-height: 1.12 !important; }
    #hero h2 { font-size: 16px !important; margin: 18px 0 26px !important; }
    #hero .tb-eyebrow {
        font-size: 10.5px !important;
        letter-spacing: 2.5px !important;
        padding: 6px 14px !important;
    }
    #hero .btn-get-started {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }
    .profile .content { padding: 20px; }
    #footer .footer-top { padding: 60px 0 30px !important; }
    #footer .footer-top .footer-info { margin: 0 !important; max-width: 100%; }
    #footer .tb-footer-brand { justify-content: flex-start; }
    /* Quicknav cards lebih ringkas di mobile */
    .tb-quicknav-card { min-height: 200px !important; padding: 22px !important; }
    .tb-quicknav-title { font-size: 22px !important; }
}

/* Overlay hero lebih kuat di tablet/mobile agar text tetap kontras
   di atas foto background pada layar kecil. */
@media (max-width: 991px) {
    #hero {
        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, .96) 0%,
                rgba(234, 245, 255, .90) 45%,
                rgba(191, 227, 255, .72) 100%),
            url('../img/bg-home.jpeg') center/cover no-repeat !important;
        background-attachment: scroll !important;
    }
    #hero .col-lg-7 { max-width: 100%; }
    /* PASTIKAN kolom foto kanan benar-benar disembunyikan di semua viewport */
    #hero .hero-img,
    #hero .col-lg-5.hero-img,
    #hero .col-lg-5 { display: none !important; }
}

/* ================================================================
 * HIGHLIGHT NEWS SLIDER — Terkini / Pengumuman / Informasi Terbaru
 * Carousel modern dengan foto full-bleed + gradient overlay +
 * badge kategori berwarna, pagination elegant, tombol nav minimalis.
 * ================================================================ */
.tb-news-highlight {
    background:
        radial-gradient(ellipse 900px 500px at 85% 15%, rgba(56, 160, 236, .08), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f6fbff 100%) !important;
    padding: 70px 0 90px !important;
}
.tb-news-highlight .section-title { padding-bottom: 40px; }

/* Wrapper pembungkus (swiper + controls) */
.tb-highlight-wrapper {
    position: relative;
}

/* Swiper root element — WAJIB overflow:hidden untuk slide bergeser benar */
.tb-highlight-swiper {
    position: relative;
    border-radius: 22px;
    overflow: hidden !important;
    width: 100%;
    box-shadow:
        0 30px 70px rgba(15, 41, 66, .18),
        0 12px 24px rgba(56, 160, 236, .12);
}
.tb-highlight-swiper .swiper-wrapper {
    width: 100%;
}
.tb-highlight-swiper .swiper-slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    display: block;
    /* Allow vertical scroll but capture horizontal for swipe */
    touch-action: pan-y;
    -webkit-user-select: none;
            user-select: none;
}
/* Cursor feedback untuk drag di desktop */
.tb-highlight-swiper { cursor: grab; }
.tb-highlight-swiper:active { cursor: grabbing; }
/* CTA button dan link tetap pakai cursor pointer (bukan grab) */
.tb-highlight-swiper .tb-highlight-cta,
.tb-highlight-swiper .tb-highlight-cta * {
    cursor: pointer !important;
}

/* ---------- Card slide ---------- */
.tb-highlight-card {
    position: relative;
    width: 100%;
    min-height: 460px;
    aspect-ratio: 16 / 7;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 48px 56px;
    isolation: isolate;
    overflow: hidden;
}
/* Gradient overlay — dari kiri (ink deep) menipis ke kanan */
.tb-highlight-card .tb-highlight-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(100deg,
            rgba(15, 41, 66, .92) 0%,
            rgba(15, 41, 66, .72) 40%,
            rgba(15, 41, 66, .35) 70%,
            rgba(15, 41, 66, .1) 100%),
        linear-gradient(180deg,
            transparent 0%,
            rgba(0, 0, 0, .25) 100%);
    z-index: 1;
    pointer-events: none;
}
/* Dot pattern halus di sudut kanan atas */
.tb-highlight-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 280px; height: 280px;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 0);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, #000 30%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    opacity: .5;
}
.tb-highlight-card .tb-highlight-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- Badge kategori (eyebrow berwarna) ---------- */
.tb-highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    font-family: var(--tb-font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    width: fit-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .25);
}
.tb-highlight-badge i { font-size: 14px; }
.tb-highlight-badge--terkini {
    background: linear-gradient(135deg, #ff6b6b, #ee3a3a);
    color: #fff;
}
.tb-highlight-badge--pengumuman {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
}
.tb-highlight-badge--info {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2));
    color: #fff;
}
.tb-highlight-badge--layanan {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}
.tb-highlight-badge--edukasi {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

/* ---------- Judul slide ----------
 * Efek "luminous gradient white":
 *   - Putih solid (#ffffff) di bagian atas huruf
 *   - Putih lembut kebiruan (#e8f2fb) di bagian bawah huruf
 *   - Halo tipis di luar huruf untuk terbaca di atas foto
 * Kesan: premium, bersih, seperti neon lembut tanpa kontras keras.
 */
.tb-highlight-title {
    font-family: var(--tb-font-head);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.005em;
    position: relative;

    /* ❶ Fallback color untuk browser lama */
    color: #ffffff;

    /* ❷ Gradasi putih: terang di atas → putih-biru halus di bawah */
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #ffffff 45%,
        #eaf4ff 75%,
        #cfe5fb 100%
    );
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;

    /* ❸ Drop-shadow menggantikan text-shadow (lebih baik dengan gradient text) */
    filter:
        drop-shadow(0 1px 2px rgba(8, 25, 48, .45))
        drop-shadow(0 3px 14px rgba(8, 25, 48, .25))
        drop-shadow(0 0 18px rgba(170, 210, 245, .22));

    -webkit-font-smoothing: antialiased;
            font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Fallback untuk browser yang tidak mendukung background-clip: text
 * (IE, sebagian Samsung Internet lawas) → tetap pakai putih solid + shadow
 */
@supports not (-webkit-background-clip: text) {
    .tb-highlight-title {
        -webkit-text-fill-color: #ffffff;
        color: #ffffff;
        background: none;
        filter: none;
        text-shadow:
            0 1px 2px rgba(8, 25, 48, .35),
            0 2px 14px rgba(8, 25, 48, .22),
            0 0 32px rgba(170, 210, 245, .14);
    }
}

/* ---------- Deskripsi ---------- */
.tb-highlight-desc {
    font-family: var(--tb-font-body);
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .94);
    margin: 0;
    max-width: 640px;
    text-shadow:
        0 1px 2px rgba(8, 25, 48, .35),
        0 2px 10px rgba(8, 25, 48, .18);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Meta row (date + CTA) ---------- */
.tb-highlight-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.tb-highlight-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--tb-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
    letter-spacing: .3px;
    text-shadow: 0 1px 2px rgba(8, 25, 48, .3);
}
.tb-highlight-date i { font-size: 15px; color: #ffffff; }

.tb-highlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2));
    color: #fff !important;
    border-radius: 999px;
    font-family: var(--tb-font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(56, 160, 236, .45);
    transition: all .3s cubic-bezier(.2, .8, .25, 1);
    border: 1px solid rgba(255, 255, 255, .15);
}
.tb-highlight-cta i { font-size: 17px; transition: transform .3s ease; }
.tb-highlight-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(56, 160, 236, .6);
    color: #fff !important;
}
.tb-highlight-cta:hover i { transform: translateX(4px); }

/* ---------- Controls (pagination + nav) — DI LUAR swiper ---------- */
.tb-highlight-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 8px 0;
    gap: 16px;
    flex-wrap: wrap;
}

/* Pagination bullets — bar style, elegant */
.swiper-pagination.tb-highlight-pagination {
    position: static !important;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
}
.swiper-pagination.tb-highlight-pagination .swiper-pagination-bullet {
    width: 28px !important;
    height: 4px !important;
    border-radius: 4px !important;
    background: rgba(15, 41, 66, .18) !important;
    opacity: 1 !important;
    transition: all .35s cubic-bezier(.2, .8, .25, 1);
    margin: 0 !important;
    cursor: pointer;
}
.swiper-pagination.tb-highlight-pagination .swiper-pagination-bullet:hover {
    background: rgba(56, 160, 236, .5) !important;
}
.swiper-pagination.tb-highlight-pagination .swiper-pagination-bullet-active {
    width: 56px !important;
    background: linear-gradient(90deg, var(--tb-accent), var(--tb-accent-2)) !important;
    box-shadow: 0 2px 10px rgba(56, 160, 236, .4);
}

/* Nav arrows — minimalis bulat */
.tb-highlight-nav {
    display: flex;
    gap: 10px;
}
.tb-highlight-nav button {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(15, 41, 66, .12);
    background: #fff;
    color: var(--tb-ink);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 41, 66, .08);
    transition: all .3s cubic-bezier(.2, .8, .25, 1);
}
.tb-highlight-nav button:hover {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(56, 160, 236, .45);
}
.tb-highlight-nav button:active { transform: translateY(0) scale(.96); }
.tb-highlight-nav button.swiper-button-disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Animasi konten saat slide AKTIF — text slide-in dari bawah.
   Default visible (opacity 1) supaya kalau Swiper belum init konten tetap
   tampil. Saat slide aktif, element di-animate pakai @keyframes entrance. */
.tb-highlight-swiper .swiper-slide-active .tb-highlight-content > * {
    animation: tbHighlightFadeUp .75s cubic-bezier(.2, .8, .25, 1) both;
}
.tb-highlight-swiper .swiper-slide-active .tb-highlight-content > *:nth-child(1) { animation-delay: .1s; }
.tb-highlight-swiper .swiper-slide-active .tb-highlight-content > *:nth-child(2) { animation-delay: .22s; }
.tb-highlight-swiper .swiper-slide-active .tb-highlight-content > *:nth-child(3) { animation-delay: .34s; }
.tb-highlight-swiper .swiper-slide-active .tb-highlight-content > *:nth-child(4) { animation-delay: .46s; }

@keyframes tbHighlightFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Ken Burns zoom halus di slide aktif — background card perlahan zoom */
.tb-highlight-swiper .swiper-slide-active .tb-highlight-card {
    animation: tbHighlightKenBurns 12s ease-out both;
}
@keyframes tbHighlightKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

/* Responsif */
@media (max-width: 991px) {
    .tb-highlight-card {
        min-height: 400px;
        padding: 36px 32px;
        aspect-ratio: 16 / 9;
    }
    .tb-highlight-title { font-size: clamp(22px, 4vw, 30px); }
    .tb-highlight-desc  { font-size: 14px; }
    .tb-highlight-card::before { width: 180px; height: 180px; }
}
@media (max-width: 575px) {
    .tb-news-highlight { padding: 50px 0 70px !important; }
    .tb-highlight-card {
        min-height: 360px;
        padding: 28px 22px;
        aspect-ratio: 4 / 5;
    }
    .tb-highlight-title { font-size: 20px; line-height: 1.25; }
    .tb-highlight-desc  { font-size: 13px; line-height: 1.55; }
    .tb-highlight-meta  { gap: 14px; }
    .tb-highlight-cta   { padding: 10px 20px; font-size: 12px; }
    .tb-highlight-nav button { width: 40px; height: 40px; font-size: 18px; }
    .swiper-pagination.tb-highlight-pagination .swiper-pagination-bullet { width: 20px !important; }
    .swiper-pagination.tb-highlight-pagination .swiper-pagination-bullet-active { width: 40px !important; }
    .tb-highlight-swiper { padding-bottom: 62px; }
}

@media (prefers-reduced-motion: reduce) {
    .tb-highlight-swiper .swiper-slide .tb-highlight-card,
    .tb-highlight-swiper .swiper-slide .tb-highlight-content > * {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ================================================================
 * TURBULENT-SPECIFIC COMPONENTS
 * (ditambahkan agar layout benar-benar mirip turbulent.be)
 * ================================================================ */

/* =========================
 * TAGLINE / EYEBROW BADGE
 * ========================= */
.tb-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--tb-font-head);
    font-size: 11.5px; letter-spacing: 3.5px;
    text-transform: uppercase; font-weight: 600;
    color: var(--tb-accent-2);
    background: var(--tb-accent-4);
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(90,184,255,.25);
    margin-bottom: 22px;
}
.tb-eyebrow::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--tb-accent);
    box-shadow: 0 0 0 3px rgba(90,184,255,.2);
}

/* =========================
 * QUICKNAV CARDS (ala "Our Technology / Projects / Sustainability" turbulent)
 * ========================= */
.tb-quicknav {
    padding: 80px 0 80px !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%) !important;
    position: relative;
    z-index: 5;
}
.tb-quicknav .row { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.tb-quicknav-card {
    position: relative;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 260px;
    padding: 28px 28px 24px;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: 20px;
    overflow: hidden;
    transition: all .4s cubic-bezier(.2,.7,.2,1);
    text-decoration: none;
    isolation: isolate;
}
.tb-quicknav-card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(160deg, var(--tb-accent) 0%, var(--tb-accent-2) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
}
.tb-quicknav-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 24px 50px rgba(90,184,255,.3);
}
.tb-quicknav-card:hover::before { opacity: 1; }
.tb-quicknav-card:hover .tb-quicknav-title,
.tb-quicknav-card:hover .tb-quicknav-sub,
.tb-quicknav-card:hover .tb-quicknav-arrow { color: #fff; }
.tb-quicknav-card:hover .tb-quicknav-arrow { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3); }

.tb-quicknav-num {
    font-family: var(--tb-font-head);
    font-size: 13px;
    color: var(--tb-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .7;
}
.tb-quicknav-title {
    font-family: var(--tb-font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--tb-ink);
    margin: 10px 0 6px;
    line-height: 1.15;
    transition: color .3s ease;
}
.tb-quicknav-sub {
    font-size: 13.5px;
    color: var(--tb-muted);
    transition: color .3s ease;
}
.tb-quicknav-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--tb-line);
    background: #fff;
    color: var(--tb-ink);
    font-size: 22px;
    line-height: 1;
    align-self: flex-end;
    position: relative;
    overflow: hidden;
    transition:
        background .35s ease,
        border-color .35s ease,
        color .35s ease,
        transform .45s cubic-bezier(.2,.7,.2,1),
        box-shadow .35s ease;
}
/* Arrow circle juga ikut scale + lift on hover (animasi container) */
.tb-quicknav-card:hover .tb-quicknav-arrow {
    transform: scale(1.12);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

/* Ripple halus di dalam lingkaran arrow saat hover (pulse) */
.tb-quicknav-arrow::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .4s ease, transform .6s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
}
.tb-quicknav-card:hover .tb-quicknav-arrow::before {
    opacity: .14;
    transform: scale(1);
}

/* Icon animasi arah — "swap slide" (ikon keluar, lalu masuk lagi) */
.tb-quicknav-arrow i {
    position: relative;
    display: inline-block;
    line-height: 1;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
    will-change: transform;
}

/* Arah HOVER berbeda-beda sesuai tujuan link ----------------------- */

/* (A) Scroll in-page → icon geser ke BAWAH dengan sedikit bounce */
.tb-quicknav-card--scroll:hover .tb-quicknav-arrow i {
    animation: tb-arrow-down 1s cubic-bezier(.2,.7,.2,1) infinite;
}
@keyframes tb-arrow-down {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(5px); }
}

/* (B) Internal page navigation → icon swap slide KANAN */
.tb-quicknav-card--go:hover .tb-quicknav-arrow i {
    animation: tb-arrow-right .8s cubic-bezier(.6,.05,.3,1);
    animation-iteration-count: 1;
    transform: translateX(4px);
}
@keyframes tb-arrow-right {
    0%   { transform: translateX(0); }
    45%  { transform: translateX(22px); opacity: 0; }
    46%  { transform: translateX(-22px); opacity: 0; }
    100% { transform: translateX(4px); opacity: 1; }
}

/* (C) External / new tab → icon diagonal KANAN-ATAS (keluar) + pulse */
.tb-quicknav-card--external:hover .tb-quicknav-arrow i {
    animation: tb-arrow-out 1s cubic-bezier(.2,.7,.2,1) infinite;
}
@keyframes tb-arrow-out {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(4px, -4px); }
}

/* Badge "↗" mini di pojok kanan-atas card external agar pengguna
   tahu link ini akan membuka tab baru (tanpa membuka tooltip browser). */
.tb-quicknav-card--external::after {
    content: "";
    position: absolute;
    top: 16px; right: 16px;
    width: 8px; height: 8px;
    border-top: 2px solid var(--tb-accent-2);
    border-right: 2px solid var(--tb-accent-2);
    transform: rotate(45deg);
    opacity: .6;
    transition: opacity .3s ease, border-color .3s ease, transform .35s ease;
    z-index: 2;
}
.tb-quicknav-card--external:hover::after {
    opacity: 1;
    border-color: #ffffff;
    transform: rotate(45deg) translate(3px, -3px);
}

/* Respect prefers-reduced-motion: matikan animasi berulang */
@media (prefers-reduced-motion: reduce) {
    .tb-quicknav-card--scroll:hover .tb-quicknav-arrow i,
    .tb-quicknav-card--external:hover .tb-quicknav-arrow i {
        animation: none;
    }
    .tb-quicknav-card--scroll:hover .tb-quicknav-arrow i { transform: translateY(4px); }
    .tb-quicknav-card--external:hover .tb-quicknav-arrow i { transform: translate(4px,-4px); }
}

/* =========================
 * FEATURE BLOCK (ala Vortex Turbine — image center + specs around)
 * ========================= */
.tb-feature-block { padding: 120px 0 !important; background: var(--tb-bg-soft); }
.tb-feature-block .tb-fb-inner {
    position: relative;
    background: #fff;
    border-radius: 28px;
    padding: 60px 48px;
    box-shadow: var(--tb-shadow-lg);
    border: 1px solid var(--tb-line);
    overflow: hidden;
}
.tb-feature-block .tb-fb-inner::before {
    content: "";
    position: absolute; right: -200px; top: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--tb-accent-3), transparent 70%);
    opacity: .5; filter: blur(40px);
    border-radius: 50%;
}
.tb-feature-block h3 {
    font-family: var(--tb-font-head) !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.02em;
}
.tb-feature-block p.lead {
    color: var(--tb-muted);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 640px;
}
.tb-feature-block .tb-spec {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px;
    background: var(--tb-bg-soft);
    border-radius: 14px;
    border: 1px solid var(--tb-line);
    transition: all .3s ease;
    margin-bottom: 16px;
}
.tb-feature-block .tb-spec:hover {
    background: #fff;
    border-color: var(--tb-accent);
    transform: translateX(4px);
}
.tb-feature-block .tb-spec-icon {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    background: var(--tb-accent-4);
    color: var(--tb-accent-2);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.tb-feature-block .tb-spec-label {
    font-family: var(--tb-font-head);
    font-size: 16px; font-weight: 700; color: var(--tb-ink);
    margin: 0 0 4px;
}
.tb-feature-block .tb-spec-desc {
    font-size: 13.5px; color: var(--tb-muted); margin: 0; line-height: 1.5;
}

/* =========================
 * CIRCLE ICON GRID (ala Sustainability icons turbulent)
 * ========================= */
.tb-icongrid {
    padding: 100px 0 !important;
    background: #fff;
    position: relative;
    z-index: 5;              /* agar popover child tidak tertutup section berikutnya */
    overflow: visible !important;
}
.tb-icongrid .container,
.tb-icongrid .row { overflow: visible !important; }
.tb-icongrid-item {
    text-align: center;
    padding: 20px 12px;
    transition: transform .3s ease;
}
.tb-icongrid-item:hover { transform: translateY(-6px); }
.tb-icongrid-icon {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tb-accent-4), #fff);
    border: 2px solid var(--tb-accent-3);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 44px;
    color: var(--tb-accent-2);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(90,184,255,.15);
    transition: all .4s ease;
}
.tb-icongrid-item:hover .tb-icongrid-icon {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2));
    color: #fff;
    border-color: var(--tb-accent);
    transform: scale(1.05);
}
.tb-icongrid-label {
    font-family: var(--tb-font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--tb-ink);
    line-height: 1.4;
}

/* -------------------------------------------------------------
 * Pendaftaran Online — popover menu (Epasien / MJKN)
 * Menjaga grid tetap 4 kolom & clean, opsi dibuka via trigger.
 * ------------------------------------------------------------- */
.tb-icongrid-item--menu { position: relative; }
.tb-icongrid-item--menu.is-open { z-index: 60; }

.tb-icongrid-trigger {
    display: block;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    outline: none;
}
.tb-icongrid-trigger:focus-visible .tb-icongrid-icon {
    box-shadow: 0 0 0 4px rgba(90,184,255,.28), 0 10px 30px rgba(90,184,255,.15);
}
.tb-icongrid-item--menu:hover .tb-icongrid-icon,
.tb-icongrid-item--menu.is-open .tb-icongrid-icon {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2));
    color: #fff;
    border-color: var(--tb-accent);
    transform: scale(1.05);
}
.tb-icongrid-item--menu:hover { transform: translateY(-6px); }

.tb-icongrid-caret {
    font-size: 16px;
    margin-left: 4px;
    vertical-align: -2px;
    color: var(--tb-accent-2);
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
    display: inline-block;
}
.tb-icongrid-item--menu.is-open .tb-icongrid-caret { transform: rotate(180deg); }

.tb-icongrid-menu {
    position: absolute;
    left: 50%;
    top: calc(100% + 14px);
    transform: translate(-50%, 8px);
    width: min(280px, 92vw);
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: 18px;
    box-shadow:
        0 24px 60px rgba(15,41,66,.14),
        0 8px 20px rgba(90,184,255,.12);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transition:
        opacity .28s cubic-bezier(.2,.7,.2,1),
        transform .35s cubic-bezier(.2,.7,.2,1),
        visibility 0s linear .28s;
}
.tb-icongrid-menu::before {
    content: "";
    position: absolute;
    left: 50%; top: -7px;
    width: 14px; height: 14px;
    background: #fff;
    border-left: 1px solid var(--tb-line);
    border-top: 1px solid var(--tb-line);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 3px 0 0 0;
}
.tb-icongrid-item--menu.is-open .tb-icongrid-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition:
        opacity .28s cubic-bezier(.2,.7,.2,1),
        transform .35s cubic-bezier(.2,.7,.2,1),
        visibility 0s linear 0s;
}

/* Dropup — jika ruang di bawah terlalu sempit, buka ke atas */
.tb-icongrid-item--menu.is-dropup .tb-icongrid-menu {
    top: auto;
    bottom: calc(100% + 14px);
    transform: translate(-50%, -8px);
}
.tb-icongrid-item--menu.is-dropup .tb-icongrid-menu::before {
    top: auto;
    bottom: -7px;
    border-left: 0;
    border-top: 0;
    border-right: 1px solid var(--tb-line);
    border-bottom: 1px solid var(--tb-line);
    border-radius: 0 0 3px 0;
}
.tb-icongrid-item--menu.is-dropup.is-open .tb-icongrid-menu {
    transform: translate(-50%, 0);
}

.tb-icongrid-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all .25s cubic-bezier(.2,.7,.2,1);
    border: 1px solid transparent;
}
.tb-icongrid-menu-ico {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all .25s ease;
}
.tb-icongrid-menu-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
}
.tb-icongrid-menu-title {
    font-family: var(--tb-font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--tb-ink);
    letter-spacing: .2px;
}
.tb-icongrid-menu-desc {
    font-size: 11.5px;
    color: var(--tb-muted, #6b7a8c);
    margin-top: 2px;
    letter-spacing: .1px;
}
.tb-icongrid-menu-arrow {
    font-size: 18px;
    color: var(--tb-accent-2);
    opacity: 0;
    transform: translateX(-4px);
    transition: all .25s cubic-bezier(.2,.7,.2,1);
}
.tb-icongrid-menu-item:hover .tb-icongrid-menu-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Primary — Epasien */
.tb-icongrid-menu-item--primary .tb-icongrid-menu-ico {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2));
    color: #fff;
    box-shadow: 0 6px 14px rgba(90,184,255,.35);
}
.tb-icongrid-menu-item--primary:hover {
    background: linear-gradient(135deg, rgba(90,184,255,.10), rgba(56,160,236,.08));
    border-color: rgba(90,184,255,.35);
    transform: translateX(2px);
}

/* Ghost — MJKN */
.tb-icongrid-menu-item--ghost .tb-icongrid-menu-ico {
    background: var(--tb-accent-4);
    color: var(--tb-accent-2);
    border: 1px solid var(--tb-accent-3);
}
.tb-icongrid-menu-item--ghost:hover {
    background: #f6fbff;
    border-color: var(--tb-accent-3);
    transform: translateX(2px);
}
.tb-icongrid-menu-item--ghost:hover .tb-icongrid-menu-ico {
    background: #fff;
    color: var(--tb-accent-2);
    border-color: var(--tb-accent-2);
}

/* Responsif popover: tidak memotong di sisi kanan grid */
@media (max-width: 575.98px) {
    .tb-icongrid-menu { width: min(260px, 88vw); padding: 8px; }
    .tb-icongrid-menu-title { font-size: 13.5px; }
    .tb-icongrid-menu-desc { font-size: 11px; }
}

/* =========================
 * PARTNERS / TRUST STRIP
 * ========================= */
.tb-partners {
    padding: 70px 0 !important;
    background: var(--tb-bg-soft);
    border-top: 1px solid var(--tb-line);
    border-bottom: 1px solid var(--tb-line);
    position: relative;
    z-index: 1;              /* pastikan di bawah popover .tb-icongrid */
}
.tb-partners-title {
    text-align: center;
    font-family: var(--tb-font-head);
    font-size: 12px; letter-spacing: 4px;
    color: var(--tb-muted);
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 600;
}
.tb-partners-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 50px; flex-wrap: wrap;
}
.tb-partner-logo {
    font-family: var(--tb-font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--tb-muted);
    opacity: .55;
    transition: all .3s ease;
    letter-spacing: .5px;
    padding: 10px 20px;
    border-right: 1px solid var(--tb-line);
}
.tb-partner-logo:last-child { border-right: 0; }
.tb-partner-logo:hover { opacity: 1; color: var(--tb-accent-2); }

/* =========================
 * SOCIAL MEDIA INTEGRATION (3x1) — Instagram / TikTok / Berita
 * Desain monokromatik brand blue + aksen kecil per-platform
 * agar tetap elegant & tidak ramai.
 * ========================= */
.tb-social {
    padding: 110px 0 !important;
    background: #fff;
    position: relative;
    z-index: 1;
}

.tb-social-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 54px;
}
.tb-social-head .tb-eyebrow {
    display: inline-block;
    font-family: var(--tb-font-head);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--tb-accent-2);
    background: var(--tb-accent-4);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.tb-social-head h2 {
    font-family: var(--tb-font-head);
    font-size: 34px;
    font-weight: 700;
    color: var(--tb-ink);
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -.5px;
}
.tb-social-sub {
    font-size: 15px;
    color: var(--tb-muted, #6b7a8c);
    line-height: 1.65;
    margin: 0;
}

.tb-social-grid { justify-content: center; }

.tb-social-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 26px 24px;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: 20px;
    text-decoration: none !important;
    color: var(--tb-ink);
    transition: all .4s cubic-bezier(.2,.7,.2,1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.tb-social-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 420px 220px at 85% -10%, rgba(90,184,255,.10), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
    z-index: -1;
}
.tb-social-card:hover {
    transform: translateY(-6px);
    border-color: rgba(90,184,255,.45);
    box-shadow:
        0 22px 48px rgba(15,41,66,.10),
        0 8px 20px rgba(90,184,255,.12);
    color: var(--tb-ink);
}
.tb-social-card:hover::before { opacity: 1; }

.tb-social-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.tb-social-ico {
    flex: 0 0 auto;
    width: 48px; height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: var(--tb-ink-2);
    transition: all .4s cubic-bezier(.2,.7,.2,1);
    box-shadow: 0 8px 18px rgba(15,41,66,.12);
}
.tb-social-platform {
    font-family: var(--tb-font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .2px;
    color: var(--tb-ink);
}

/* Aksen warna per-platform — hanya di ikon, sisanya tetap monokrom brand */
.tb-social-card--ig .tb-social-ico {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
    box-shadow: 0 8px 18px rgba(221,42,123,.28);
}
.tb-social-card--tt .tb-social-ico {
    background: #0f1416;
    box-shadow: 0 8px 18px rgba(15,20,22,.25);
    position: relative;
}
.tb-social-card--tt .tb-social-ico::after {
    /* sentuhan warna TikTok kecil di pojok (cyan/pink glow) */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 20% 25%, rgba(37,244,238,.55), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(254,44,85,.55), transparent 45%);
    mix-blend-mode: screen;
    opacity: .75;
    pointer-events: none;
}
.tb-social-card--news .tb-social-ico {
    background: linear-gradient(135deg, var(--tb-accent) 0%, var(--tb-accent-2) 100%);
    box-shadow: 0 8px 18px rgba(90,184,255,.35);
}

.tb-social-card:hover .tb-social-ico {
    transform: scale(1.06) rotate(-2deg);
}

.tb-social-handle {
    font-family: var(--tb-font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--tb-accent-2);
    letter-spacing: .3px;
    margin-bottom: 10px;
}

.tb-social-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tb-muted, #6b7a8c);
    margin-bottom: 22px;
    flex: 1 1 auto;
}

.tb-social-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px dashed var(--tb-line);
}
.tb-social-link {
    font-family: var(--tb-font-head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--tb-ink);
    transition: color .3s ease;
}
.tb-social-arrow {
    font-size: 22px;
    color: var(--tb-accent-2);
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.tb-social-card:hover .tb-social-link { color: var(--tb-accent-2); }
.tb-social-card:hover .tb-social-arrow { transform: translateX(6px); }

/* Responsif */
@media (max-width: 991.98px) {
    .tb-social { padding: 80px 0 !important; }
    .tb-social-head { margin-bottom: 40px; }
    .tb-social-head h2 { font-size: 28px; }
}
@media (max-width: 575.98px) {
    .tb-social { padding: 64px 0 !important; }
    .tb-social-head h2 { font-size: 24px; }
    .tb-social-card { padding: 22px 20px; border-radius: 18px; }
    .tb-social-ico { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
    .tb-social-platform { font-size: 16px; }
}

/* =========================
 * CTA BANNER (ala "How to get onboard?")
 * ========================= */
.tb-cta {
    padding: 120px 0 !important;
    background:
        radial-gradient(ellipse 900px 500px at 50% 100%, rgba(90,184,255,.35), transparent 70%),
        linear-gradient(135deg, #ffffff 0%, #dbedff 55%, #bfe3ff 100%) !important;
    color: var(--tb-ink);
    position: relative;
    overflow: hidden;
    border-top: 1px solid #dbedff;
    border-bottom: 1px solid #dbedff;
}
.tb-cta::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(90,184,255,.20) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: .6;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
}
.tb-cta::after {
    content: "";
    position: absolute;
    right: -120px; bottom: -120px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(90,184,255,.45), transparent 70%);
    filter: blur(50px); border-radius: 50%;
    pointer-events: none;
}
.tb-cta > .container { position: relative; z-index: 2; }
.tb-cta .tb-eyebrow {
    background: rgba(255,255,255,.7);
    border-color: rgba(90,184,255,.35);
    color: var(--tb-accent-2);
}
.tb-cta h2 {
    font-family: var(--tb-font-head) !important;
    font-size: clamp(34px, 4.5vw, 58px) !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    margin-bottom: 22px !important;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.tb-cta p {
    color: var(--tb-muted) !important;
    font-size: 17px !important;
    max-width: 720px;
    margin: 0 auto 34px !important;
}
.tb-cta .btn-get-started {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2)) !important;
    color: #fff !important;
    box-shadow: var(--tb-shadow-blue) !important;
}
.tb-cta .btn-get-started:hover {
    background: linear-gradient(135deg, var(--tb-accent-2), var(--tb-ink)) !important;
    color: #fff !important;
    transform: translateY(-3px);
}

/* =========================
 * FOOTER — Brand block (logo + nama + tagline)
 * ========================= */
#footer .tb-footer-brand {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px !important;
}
#footer .tb-footer-brand img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(30,100,170,.12));
}
#footer .tb-footer-brand span {
    font-family: var(--tb-font-head) !important;
    font-weight: 700;
    color: var(--tb-ink) !important;
    font-size: 22px;
    letter-spacing: .3px;
    line-height: 1.1;
}
#footer .tb-footer-tagline {
    color: var(--tb-muted) !important;
    font-size: 14px !important;
    margin: 0 0 28px !important;
    max-width: 340px;
    line-height: 1.75 !important;
}

/* Contact list — icon + text pairs, tersusun rapi */
#footer .tb-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#footer .tb-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    color: var(--tb-muted);
    font-size: 14px;
    line-height: 1.65;
}
#footer .tb-contact-list li i {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(90,184,255,.3);
    border-radius: 50%;
    color: var(--tb-accent-2) !important;
    font-size: 17px;
    box-shadow: 0 3px 10px rgba(30,100,170,.05);
    margin-top: 2px;
    transition: all .25s ease;
}
#footer .tb-contact-list li:hover i {
    background: linear-gradient(135deg, var(--tb-accent), var(--tb-accent-2));
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-2px);
}
#footer .tb-contact-list a {
    color: var(--tb-ink-2) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color .2s ease;
}
#footer .tb-contact-list a:hover { color: var(--tb-accent-2) !important; }
#footer .tb-contact-list span { color: var(--tb-muted); }

/* =========================
 * INNER PAGE HERO (turbulent-style)
 * ========================= */
.tb-inner-hero {
    padding: 170px 0 70px !important;
    background:
        radial-gradient(ellipse 800px 500px at 15% 100%, rgba(90,184,255,.18), transparent 70%),
        radial-gradient(ellipse 900px 500px at 100% 0%, rgba(90,184,255,.12), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--tb-accent-4) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--tb-line);
}
.tb-inner-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(90,184,255,.15) 1px, transparent 0);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
    opacity: .6;
}
.tb-inner-hero > .container { position: relative; z-index: 2; }
.tb-inner-hero h1 {
    font-family: var(--tb-font-head) !important;
    font-size: clamp(36px,4.8vw,64px) !important;
    font-weight: 700 !important;
    color: var(--tb-ink) !important;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 14px 0 18px !important;
}
.tb-inner-hero .breadcrumbs-nav {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
    font-size: 14px; color: var(--tb-muted);
}
.tb-inner-hero .breadcrumbs-nav a {
    color: var(--tb-accent-2); text-decoration: none;
    transition: color .2s ease;
}
.tb-inner-hero .breadcrumbs-nav a:hover { color: var(--tb-ink); }
.tb-inner-hero .breadcrumbs-nav li + li::before {
    content: "/"; margin-right: 8px; color: var(--tb-muted); opacity: .5;
}

/* Hide the old breadcrumbs when new inner-hero is used */
section.breadcrumbs.tb-hidden { display: none !important; }

/* =========================
 * PROFILE SECTION REFINEMENT
 * ========================= */
.profile .content ol,
.profile .content ul {
    padding-left: 20px;
}
.profile .content li {
    color: var(--tb-muted);
    margin-bottom: 6px;
}

/* =========================
 * BLOG/ARTIKEL LIST ENHANCEMENT
 * ========================= */
.portfolio .section-title p { margin-bottom: 8px !important; }
.portfolio .section-sub {
    text-align: center;
    color: var(--tb-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: 16px;
}

/* =========================
 * FAQ REFINEMENT
 * ========================= */
.faq .section-title { padding-bottom: 40px; }

/* =========================
 * TEAM SECTION REFINEMENT
 * ========================= */
.team .section-title { padding-bottom: 50px; }

/* =========================
 * UTILITY CLASSES
 * ========================= */
.tb-section-intro {
    text-align: center;
    color: var(--tb-muted);
    font-size: 17px;
    max-width: 700px;
    margin: -30px auto 50px;
    line-height: 1.7;
}

/* Smooth fade-in on scroll (AOS supplemental) */
[data-aos] { transition-timing-function: cubic-bezier(.2,.7,.2,1) !important; }

