/*
Theme Name: LabPro B2B Theme
Theme URI: https://labpro.co.id
Author: Tim IT LabPro
Description: Tema B2B Manufaktur Laboratorium i-blush. Dioptimasi untuk kecepatan dan SEO Rank Math.
Version: 1.0.0
Text Domain: labpro-theme
*/

/* === LABTECH STYLE VARIABLES === */
:root {
    --primary-blue: #140ed9;
    --dark-navy: #050329;
    --text-dark: #0a0a0a;
    --text-gray: #555555;
    --light-bg: #f9f9fa;
    --border-color: #eaeaea;
    --font-main: 'Manrope', sans-serif;
    --container-w: 1280px;
}

/* === RESET & GLOBAL === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-gray); font-size: 15px; line-height: 1.7; overflow-x: hidden; background: #fff; }
h1, h2, h3, h4, h5 { color: var(--text-dark); font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }

/* === BUTTONS === */
.btn-outline { border: 1px solid var(--text-dark); color: var(--text-dark); padding: 12px 30px; border-radius: 50px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px; }
.btn-outline:hover { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }

/* === SECTION HEADER === */
.section-header-row { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; }
.sec-dot { width: 8px; height: 8px; background: var(--primary-blue); border-radius: 50%; }
.sec-title { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dark); white-space: nowrap; }
.sec-title.white { color: #fff; }
.sec-line { flex-grow: 1; height: 1px; background: var(--border-color); }
.sec-line.white { background: rgba(255,255,255,0.2); }

/* === 1. TOP BAR === */
.top-bar { background: var(--primary-blue); color: #fff; font-size: 12px; padding: 10px 0; font-weight: 500; }
.top-bar .container { display: flex; justify-content: space-between; }
.top-bar-left span { margin-right: 20px; }
.top-bar-right a { margin-left: 20px; color: #fff; }
.top-bar i { margin-right: 6px; }

/* === 2. NAVBAR DESKTOP === */
.navbar { background: #fff; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: stretch; height: 90px; position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.nav-left { display: flex; align-items: center; padding: 0 40px; border-right: 1px solid var(--border-color); }
.logo { font-size: 26px; font-weight: 800; color: var(--primary-blue); display: flex; align-items: center; gap: 10px; margin-bottom:0;}
.nav-center { flex: 1; display: flex; justify-content: center; align-items: center; gap: 40px; }
.nav-item { height: 100%; display: flex; align-items: center; position: relative; }
.nav-link { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--text-dark); letter-spacing: 1px; display: flex; align-items: center; gap: 5px; cursor: pointer; transition: 0.3s; }
.nav-link:hover { color: var(--primary-blue); }
.dropdown-menu { position: absolute; top: 90px; left: 0; background: #fff; min-width: 250px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-top: 3px solid var(--primary-blue); opacity: 0; visibility: hidden; transform: translateY(15px); transition: 0.3s ease; display: flex; flex-direction: column; z-index: 100; }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 15px 25px; border-bottom: 1px solid var(--border-color); font-size: 14px; font-weight: 700; color: var(--text-dark); transition: 0.3s; display: block; }
.dropdown-menu a:hover { color: var(--primary-blue); padding-left: 32px; background: var(--light-bg); }
.nav-right { display: flex; align-items: stretch; border-left: 1px solid var(--border-color); }
.nav-cta { background: var(--dark-navy); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; display: flex; align-items: center; padding: 0 40px; cursor: pointer; transition: 0.3s; }
.nav-cta:hover { background: var(--primary-blue); color:#fff; }

/* === 3. HERO === */
.hero { padding: 100px 0; position: relative; overflow: hidden; background: #fff; }
.hero .container { display: flex; align-items: center; }
.hero-content { flex: 1; padding-right: 50px; position: relative; z-index: 2; }
.hero-title { font-size: 64px; color: var(--primary-blue); font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.hero-desc { font-size: 18px; margin-bottom: 40px; font-weight: 500; }
.hero-image { flex: 1; text-align: right; }
.hero-image img { width: 90%; max-width: 600px; border-radius: 50%; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.network-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg opacity="0.05" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2"/><line x1="20" y1="20" x2="50" y2="50" stroke="black"/></svg>') repeat; z-index: 1; pointer-events: none; }

/* === 4. KATALOG SOLUSI (TIRAI NAIK) === */
.labpro-blue-catalog { background-color: var(--primary-blue); padding: 80px 0; color: #FFFFFF; }
.layout-split { display: flex; gap: 40px; align-items: flex-start; }

.split-left { position: sticky; top: 100px; flex: 0 0 25%; padding-right: 30px; }
.split-left .sub-heading { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 16px; opacity: 0.9; }
.split-left h2 { font-family: 'Manrope', sans-serif; font-size: 46px; font-weight: 800; line-height: 1.15; margin: 0; color: #FFFFFF; }

.split-right { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1; border-top: 1px solid rgba(255,255,255,0.15); border-left: 1px solid rgba(255,255,255,0.15); }

.blue-card { position: relative; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; overflow: hidden; border-right: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); aspect-ratio: 4 / 5; }

/* Efek Tirai Gambar */
.blue-card .card-curtain { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1; }
.blue-card .card-content { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.blue-card .card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.blue-card .icon-main { font-size: 32px; color: #FFFFFF; transition: color 0.5s ease; }
.blue-card .icon-arrow { font-size: 18px; color: #FFFFFF; transition: all 0.5s ease; opacity: 0; transform: translate(-10px, 10px); }

.blue-card h3 { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; color: #FFFFFF; margin-bottom: 16px; transition: color 0.5s ease; }
.blue-card p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; margin: 0; transition: color 0.5s ease; }

/* Hover Animation Tirai */
.blue-card:hover .card-curtain { transform: translateY(0); }
.blue-card:hover .icon-main, .blue-card:hover .icon-arrow, .blue-card:hover h3 { color: var(--primary-blue); }
.blue-card:hover p { color: #334155; }
.blue-card:hover .icon-arrow { opacity: 1; transform: translate(0, 0); }


/* === 5. PAIN KILLER (Accordion) === */
.painkiller-sec { display: flex; background: var(--light-bg); padding-top: 100px; position: relative; z-index: 10; }
.pk-left { flex: 1; padding: 0 5% 100px 10%; display: flex; flex-direction: column; justify-content: center; }
.pk-title { font-size: 42px; color: var(--dark-navy); margin-bottom: 40px; }
.accordion { border: 1px solid var(--border-color); background: #fff; margin-bottom: 10px; padding: 20px 30px; font-weight: 700; color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.3s; }
.accordion i { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-size: 14px; }
.accordion:hover { border-color: var(--primary-blue); }
.accordion.active { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }
.accordion.active i { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #fff; border-left: 1px solid var(--primary-blue); border-right: 1px solid var(--primary-blue); margin-top: -10px; margin-bottom: 15px; border-bottom: 1px solid transparent; }
.accordion-content.open { border-bottom-color: var(--primary-blue); }
.accordion-content p { padding: 20px 30px; font-size: 14px; margin: 0; }
.pk-right { flex: 1; position: relative; }
.overlap-img-box { width: 100%; height: 100%; min-height: 500px; margin-bottom: -100px; position: relative; z-index: 5; overflow: hidden; box-shadow: -20px 20px 50px rgba(0,0,0,0.15); }
.overlap-img-box img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.6s ease; }
.overlap-img-box:hover img { transform: scale(1.1); }

/* === 6. PROCEDURES === */
.steps-sec { background: var(--primary-blue) url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?auto=format&fit=crop&w=1920&q=80') center/cover; padding: 100px 0; color: #fff; background-blend-mode: overlay; }
.steps-sec h2 { color: #fff; font-size: 42px; max-width: 600px; margin-bottom: 20px; }
.steps-sec > .container > p { max-width: 600px; opacity: 0.9; margin-bottom: 60px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-num { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.step-num span { font-weight: 700; font-size: 16px; letter-spacing: 1px; }

/* Garis normal (panjang penuh) */
.step-line { 
    height: 1px; 
    background: rgba(255,255,255,0.3); 
    flex-grow: 1; 
    max-width: 100%; 
    position: relative; 
    transition: max-width 0.8s ease-in-out; /* Durasi diubah jadi 0.8 detik dengan efek sangat soft */
}

/* Titik di ujung garis */
.step-line::after { 
    content: ''; 
    position: absolute; 
    right: 0; 
    top: -3px; 
    width: 7px; 
    height: 7px; 
    background: #fff; 
    border-radius: 50%; 
}

/* Area kotak */
.step-box { 
    cursor: default; 
    transition: 0.3s;
}

/* Saat di-hover, garis hanya menyusut perlahan menjadi 60% */
.step-box:hover .step-line {
    max-width: 60%; 
}

.step-box h3 { color: #fff; font-size: 22px; margin-bottom: 15px; }

/* === 7. STATS === */
.stats-sec { padding: 60px 0; border-bottom: 1px solid var(--border-color); }
.stats-grid { display: flex; justify-content: space-between; }
.stat-box { display: flex; align-items: center; gap: 20px; flex: 1; border-right: 1px solid var(--border-color); padding-left: 20px; }
.stat-box:last-child { border-right: none; }
.stat-num { font-size: 60px; font-weight: 900; color: var(--dark-navy); line-height: 1; margin-bottom:0;}
.stat-num sup { font-size: 30px; color: var(--primary-blue); }
.stat-text h4 { font-size: 16px; margin-bottom: 5px; }
.stat-text p { font-size: 12px; margin: 0; }

/* === 8. CARD GRID (Artikel & Portofolio) === */
.grid-sec { padding: 100px 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #fff; border: 1px solid var(--border-color); overflow: hidden; transition: 0.4s ease; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-10px); border-color: transparent; }
.card-img-wrap { overflow: hidden; width: 100%; height: 260px; border-bottom: 1px solid var(--border-color); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img-wrap img { transform: scale(1.1); }
.card-info { padding: 35px 30px; display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; }
.card-tag { font-size: 11px; font-weight: 800; background: var(--light-bg); color: var(--text-gray); padding: 6px 15px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px; transition: 0.3s ease; }
.card:hover .card-tag { background: var(--primary-blue); color: #fff; }
.card-title { font-size: 21px; line-height: 1.4; color: var(--dark-navy); margin-bottom: 15px; transition: 0.3s; }
.card:hover .card-title { color: var(--primary-blue); }
.card-meta { font-size: 13px; font-weight: 600; color: var(--text-gray); margin-top: auto; }

/* === 9. TESTIMONIAL === */
.testi-sec { padding: 100px 0; text-align: center; position: relative; }
.testi-content { max-width: 900px; margin: 0 auto; position: relative; }
.quote-icon { font-size: 180px; font-family: serif; color: var(--border-color); position: absolute; line-height: 1; top: -50px; z-index: -1; }
.quote-left { left: -50px; }
.quote-right { right: -50px; transform: scaleX(-1); }
.testi-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 30px; }
.testi-text { font-size: 24px; font-weight: 500; color: var(--dark-navy); margin-bottom: 30px; line-height: 1.5; }
.testi-name { font-size: 18px; font-weight: 700; color: var(--dark-navy); }

/* === 10. SINGLE PAGE & ARTIKEL SEO === */
.page-banner { background: var(--primary-blue); padding: 80px 0; color: #fff; position: relative; }
.page-title { font-size: 42px; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom:10px; line-height: 1.2; }
.breadcrumbs { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); }
.blog-layout { padding: 80px 0; display: flex; gap: 60px; align-items: flex-start; }
.main-content { flex: 0 0 65%; }
.post-meta-top { font-size: 12px; font-weight: 700; color: var(--primary-blue); margin-bottom: 20px; }
.post-h1 { font-size: 38px; color: var(--text-dark); margin-bottom: 25px; line-height: 1.2; }
.post-featured-img { width: 100%; height: auto; max-height: 500px; object-fit: cover; margin-bottom: 40px; }
.post-body p { margin-bottom: 20px; }
.post-body h2 { font-size: 28px; margin-top: 40px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; scroll-margin-top: 100px; }
.post-body h3 { font-size: 22px; margin-top: 30px; margin-bottom: 15px; }
.post-body ul { margin-bottom: 20px; padding-left: 20px; }
.post-quote { background: var(--light-bg); border-left: 4px solid var(--primary-blue); padding: 30px 40px; margin: 40px 0; font-size: 18px; font-style: italic; font-weight: 500; }
.author-box { background: var(--light-bg); padding: 40px; display: flex; gap: 30px; align-items: center; margin-top: 60px; border: 1px solid var(--border-color); }
.sidebar { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.widget { border: 1px solid var(--border-color); padding: 35px 30px; }
.widget-title { font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--dark-navy); margin-bottom: 25px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.widget-list li { border-bottom: 1px dashed var(--border-color); padding: 12px 0; font-size: 14px; font-weight: 600; }
.recent-item { margin-bottom: 15px; font-size: 14px; line-height: 1.4; font-weight: 600; }

/* === 11. FOOTER === */
.footer { background: var(--dark-navy); color: #fff; padding-top: 80px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 60px; }
.footer-logo { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color:#fff; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ccc; }
.footer-links a:hover { color: #fff; }
.footer h3 { color: #fff; font-size: 32px; margin-bottom: 20px; line-height: 1.2; }
.newsletter { display: flex; margin-top: 20px; }
.newsletter input { flex: 1; background: rgba(255,255,255,0.1); border: none; padding: 15px; color: #fff; }
.newsletter button { background: #fff; color: var(--dark-navy); border: none; padding: 0 20px; cursor: pointer; font-size: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); display: flex; }
.fb-col { flex: 1; padding: 25px 20px; border-right: 1px solid rgba(255,255,255,0.1); color: #aaa; font-size: 13px; }
.fb-col:last-child { border-right: none; display: flex; justify-content: space-between; align-items: center; }
.scroll-top { width: 40px; height: 40px; background: var(--primary-blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* === MOBILE MENU & HAMBURGER === */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 45px; height: 45px; border-radius: 4px; border: 1px solid var(--border-color); background: var(--light-bg); cursor: pointer; z-index: 10000; transition: 0.3s; margin-right: 20px; }
.hamburger span { display: block; width: 22px; height: 2px; background-color: var(--dark-navy); transition: 0.3s ease-in-out; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(5, 3, 41, 0.8); backdrop-filter: blur(5px); z-index: 9000; opacity: 0; visibility: hidden; transition: 0.4s ease; }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-panel { position: fixed; top: 0; right: -320px; width: 300px; max-width: 80vw; height: 100vh; background: #fff; z-index: 9500; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-panel.open { right: 0; }
.mobile-header { padding: 25px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--light-bg); }
.mobile-header h3 { font-size: 20px; margin: 0; color: var(--primary-blue); font-weight: 800; }
.btn-close-mob { font-size: 24px; color: var(--text-dark); cursor: pointer; line-height: 1; }
.mob-menu-list { list-style: none; padding: 0; margin: 0; }
.mob-item { border-bottom: 1px solid var(--border-color); }
.mob-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; font-size: 14px; font-weight: 700; color: var(--text-dark); text-transform: uppercase; text-decoration: none; }
.mob-link i { font-size: 12px; transition: transform 0.3s; color: var(--primary-blue); }
.mob-dropdown { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--light-bg); }
.mob-dropdown.open { border-bottom: 1px solid var(--border-color); }
.mob-dropdown a { display: block; padding: 12px 25px 12px 40px; font-size: 13px; font-weight: 600; color: var(--text-gray); text-decoration: none; border-bottom: 1px dashed var(--border-color); }
.mob-item.active .mob-link i { transform: rotate(180deg); }
.mob-item.active .mob-link { color: var(--primary-blue); }
.mob-cta-box { padding: 25px; margin-top: auto; border-top: 1px solid var(--border-color); }
.mob-btn-wa { display: flex; justify-content: center; align-items: center; gap: 10px; background: var(--primary-blue); color: #fff; padding: 15px; border-radius: 4px; font-weight: 700; font-size: 13px; text-transform: uppercase; text-decoration: none; }

/* === RESPONSIVE UTAMA === */
@media (max-width: 991px) {
    .nav-center, .nav-cta, .top-bar { display: none; }
    .hamburger { display: flex; }
    .nav-left { border-right: none; padding: 0 20px; }
    .navbar { height: 80px; justify-content: space-between; }
    .nav-right { border-left: none; justify-content: flex-end; align-items: center; }
    .hero-title { font-size: 36px; }
    .hero .container { flex-direction: column-reverse; text-align: center; }
    .hero-content { padding-right: 0; padding-top: 40px; }
    .painkiller-sec, .stats-grid, .footer-grid, .footer-bottom, .blog-layout { flex-direction: column; }
    .bg-right, .steps-grid, .card-grid { grid-template-columns: 1fr; }
    .pk-left { padding: 60px 20px; }
    .bg-left { padding-right: 0; margin-bottom: 40px; }
    .stat-box { border-right: none; border-bottom: 1px solid var(--border-color); padding: 20px 0; }
    .stat-box:last-child { border-bottom: none; }
    .page-banner .container { flex-direction: column; align-items: flex-start; gap: 20px; }
    .page-title { max-width: 100%; font-size: 32px; }
    .fb-col { border-right: none; text-align: center !important; padding: 15px 0; }
}

/* ==========================================================================
   DESAIN KATALOG BIRU MINIMALIS DENGAN EFEK TIRAI NAIK (TERBARU)
   ========================================================================== */

/* 1. Pengaturan Section & Latar Belakang Biru */
.labpro-blue-catalog {
    background-color: var(--primary-blue); /* Menyesuaikan warna biru asli web Anda */
    padding: 100px 0;
    color: #FFFFFF;
}
.layout-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 2. Kolom Kiri: Teks yang Mengikuti (Sticky) */
.split-left {
    position: sticky;
    top: 120px;
    flex: 0 0 25%;
    padding-right: 30px;
}
.split-left .sub-heading {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    opacity: 0.9;
}
.split-left h2 {
    font-family: var(--font-main);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: #FFFFFF;
}

/* 3. Kolom Kanan: Grid Produk */
.split-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex: 1;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-left: 1px solid rgba(255,255,255,0.15);
}

/* 4. Desain Kotak Utama */
.blue-card {
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    aspect-ratio: 4 / 5;
}

/* 5. Efek Tirai (Sembunyi di Bawah) */
.blue-card .card-curtain {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

/* 6. Isi Konten (Ikon dan Teks) */
.blue-card .card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blue-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.blue-card .icon-main { font-size: 32px; color: #FFFFFF; transition: color 0.5s ease; }
.blue-card .icon-arrow { font-size: 18px; color: #FFFFFF; transition: all 0.5s ease; opacity: 0; transform: translate(-10px, 10px); }

.blue-card h3 {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
    transition: color 0.5s ease;
}
.blue-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0;
    transition: color 0.5s ease;
}

/* 7. Animasi Hover */
.blue-card:hover .card-curtain { transform: translateY(0); }
.blue-card:hover .icon-main,
.blue-card:hover .icon-arrow,
.blue-card:hover h3 { color: var(--primary-blue); }
.blue-card:hover p { color: var(--text-dark); font-weight: 600; }
.blue-card:hover .icon-arrow { opacity: 1; transform: translate(0, 0); }

/* ==========================================================================
   RESPONSIVE LAYAR HP: SWIPE KANAN-KIRI KHUSUS KATALOG
   ========================================================================== */
@media (max-width: 991px) {
    /* 1. Kunci Layar agar tidak ada ruang putih bocor ke kanan */
    html, body { overflow-x: hidden !important; width: 100vw; max-width: 100%; }

    .layout-split { flex-direction: column; gap: 30px; }
    .split-left { position: relative; top: 0; padding-right: 0; width: 100%; }
    .split-left h2 { font-size: 32px; }
    
    /* 2. Ubah Layout Menjadi 1 Kolom (Vertikal ke bawah) */
    .split-right {
        display: grid;
        grid-template-columns: 1fr; /* 1 kotak penuh */
        gap: 20px;
        width: 100%;
        border-left: none;
        border-top: none;
        padding-right: 0; /* Hapus padding pemicu ruang kosong */
    }
    
    /* 3. Desain Kotak HP (Proporsional) */
    .blue-card {
        width: 100%; /* Penuhi area layar kiri-kanan */
        max-width: 100%;
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 12px;
        padding: 30px;
        aspect-ratio: auto; /* Matikan rasio 4:5 agar tidak menjuntai terlalu panjang di HP */
        min-height: 250px; /* Tinggi minimal yang enak dipandang */
    }
    
    /* 4. Sesuaikan ukuran teks kembali normal */
    .blue-card h3 { font-size: 20px; margin-bottom: 12px; }
    .blue-card p { font-size: 14px; line-height: 1.5; }
    .blue-card .icon-main { font-size: 30px; }
    .blue-card .card-top { margin-bottom: 30px; }
}
/* ==========================================================================
   PERBAIKAN TOMBOL VIEW ALL & SWIPE CARD (KHUSUS MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
    /* 1. Perbaikan Header Judul & Tombol "View All" */
    .section-header-row {
        flex-wrap: wrap; 
    }
    .sec-line {
        display: none; /* Sembunyikan garis horizontal di HP agar ruang lebih lega */
    }
    .section-header-row .btn-outline {
        width: 100%; /* Buat tombol memanjang penuh dengan rapi di bawah judul */
        justify-content: center;
        margin-top: 15px;
    }

    /* 2. Mengubah Grid Artikel & Portofolio menjadi Swipe Kanan-Kiri */
    .card-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Sembunyikan scrollbar di Firefox */
        gap: 15px;
        padding-bottom: 20px;
        /* Trik agar bisa digeser mentok sampai ujung layar HP */
        margin-right: -20px; 
        padding-right: 40px; 
    }
    .card-grid::-webkit-scrollbar { 
        display: none; /* Sembunyikan scrollbar di Chrome/Safari */
    }
    .card-grid .card {
        flex: 0 0 80%; /* Kartu mengambil 80% layar, kartu sebelahnya mengintip 20% */
        max-width: 80%;
        scroll-snap-align: start;
        margin: 0; /* Reset margin */
    }
}

/* ==========================================================================
   DESAIN ARTIKEL LATEST NEWS (5 KOLOM, BORDER BAWAH HEADER)
   ========================================================================== */

/* Header News */
.news-header-wrap { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--border-color); /* Garis panjang di bawah header */
    padding-bottom: 20px; 
    margin-bottom: 40px; 
}
.nh-left { display: flex; align-items: center; gap: 15px; }
.btn-outline.outline-blue { border-color: var(--primary-blue); color: var(--primary-blue); padding: 8px 25px; }
.btn-outline.outline-blue:hover { background: var(--primary-blue); color: #fff; }

/* Grid News 5 Kolom Desktop */
.news-grid { 
    grid-template-columns: repeat(5, 1fr) !important; /* Paksa 5 kolom */
    gap: 20px; 
}

/* Modifikasi Kartu Khusus News (Lebih Clean) */
.news-grid .card { 
    border: none; 
    box-shadow: none; 
    background: transparent; 
}
.news-grid .card:hover { transform: translateY(-5px); box-shadow: none; }
.news-grid .card-img-wrap { 
    height: 150px; /* Gambar lebih ceper agar proporsional */
    border: none;
}
.news-grid .card-info { padding: 15px 0 0 0; }
.news-grid .card-tag { 
    background: var(--light-bg); 
    color: var(--text-gray); 
    font-size: 10px; 
    padding: 5px 12px; 
    margin-bottom: 12px; 
    display: inline-block; 
}
.news-grid .card-title { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.news-grid .card-meta { font-size: 12px; font-weight: 500; color: #888; }
.news-grid .card-meta .blue-dot { color: var(--primary-blue); margin: 0 5px; }

/* Responsive Mobile Khusus LATEST NEWS */
@media (max-width: 991px) {
    /* Header memanjang ke bawah */
    .news-header-wrap { flex-direction: column; align-items: flex-start; gap: 20px; border-bottom: none; padding-bottom: 0;}
    .news-header-wrap .btn-outline { width: 100%; justify-content: center; }
    
    /* Ukuran kartu saat di-swipe di HP */
    .news-grid .card { 
        flex: 0 0 60% !important; /* Kartu artikel sedikit lebih kecil dari kartu Portofolio saat di HP */
        max-width: 60% !important; 
    }
}

/* ==========================================================================
   REDESAIN KATALOG FINAL v4 (FORMASI 2-3-3-1, PRESISI TINGGI TANPA GARIS LEBIH/BOLONG)
   ========================================================================== */

/* 1. MELEBARKAN BIDANG SECTION KHUSUS KATALOG */
.labpro-blue-catalog .container {
    max-width: 1600px !important;
    width: 95% !important;
}

/* 2. MENGATUR AREA GRID (TANPA GARIS PEMBUNGKUS SAMA SEKALI) */
.split-left {
    flex: 0 0 20% !important;
    padding-right: 40px !important;
}
.split-right {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    flex: 1;
    gap: 0 !important;
    border: none !important; /* Pembungkus bersih dari garis */
}

/* 3. KOTAK HORISONTAL & GARIS DASAR (Hanya Kanan & Bawah) */
.blue-card {
    aspect-ratio: 1.3 / 1 !important;
    min-height: 240px !important;
    padding: 35px !important; 
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin: 0 !important; 
    
    /* Semua kotak defaultnya hanya menggambar garis Kanan & Bawah */
    border-right: 1px solid rgba(255,255,255,0.4) !important; 
    border-bottom: 1px solid rgba(255,255,255,0.4) !important; 
    border-top: none !important;
    border-left: none !important;
}

/* 4. FORMASI 2-3-3-1 (Kotak ke-3 Turun Baris) */
.blue-card:nth-child(3) {
    grid-column-start: 1;
}

/* 5. PEMBAGIAN TUGAS GARIS SECARA MATEMATIS (Anti Double/Anti Bolong) */
.blue-card:nth-child(1),
.blue-card:nth-child(3),
.blue-card:nth-child(6),
.blue-card:nth-child(9) {
    border-left: 1px solid rgba(255,255,255,0.4) !important; 
}

/* Kotak 1 & 2 di baris teratas */
.blue-card:nth-child(1),
.blue-card:nth-child(2) {
    border-top: 1px solid rgba(255,255,255,0.4) !important; 
}

/* KUNCI PRESISI KOTAK LAB BENCH (Kotak 5) */
/* Menggunakan shadow untuk mendorong garis 1px ke atas agar menyambung presisi dengan kotak BSC */
.blue-card:nth-child(5) {
    box-shadow: 0 -1px 0 0 rgba(255,255,255,0.4) !important;
}

/* 6. PANAH POJOK KANAN ATAS */
.blue-card .icon-arrow {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
    transition: transform 0.4s ease !important;
    font-size: 20px !important;
}
.blue-card:hover .icon-arrow {
    transform: translate(6px, -6px) !important;
}

/* 7. VERSI HP (VERTIKAL MENYATU RAPI, RASIO 5:4 HORISONTAL TEBAL) */
@media (max-width: 991px) {
    /* Mencegah layar bocor ke kanan */
    html, body { overflow-x: hidden !important; width: 100vw; max-width: 100%; }

    .split-left {
        flex: 1 !important;
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 30px !important;
    }
    
    /* Ubah Grid menjadi 1 Kolom Vertikal, tanpa jarak */
    .split-right {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important; 
        padding-right: 0 !important; 
        padding-bottom: 0 !important;
    }
    
    /* Reset ukuran kotak agar memenuhi layar HP dengan rasio baru */
    .blue-card {
        width: 100% !important;
        max-width: 100% !important;
        
        /* KUNCI: 5/4 adalah bentuk 4:5 yang ditidurkan (Horisontal Tebal) */
        aspect-ratio: 5 / 4 !important; 
        min-height: 280px !important; /* Batas aman agar teks tidak nabrak */
        
        border-left: 1px solid rgba(255,255,255,0.4) !important;
        border-right: 1px solid rgba(255,255,255,0.4) !important;
        border-bottom: 1px solid rgba(255,255,255,0.4) !important;
        border-top: none !important;
    }

    /* Mematikan aturan garis ATAS bawaan Desktop */
    .blue-card:nth-child(2),
    .blue-card:nth-child(5) {
        border-top: none !important;
    }

    /* Khusus kotak PERTAMA diberi penutup Atas */
    .blue-card:nth-child(1) {
        border-top: 1px solid rgba(255,255,255,0.4) !important;
    }
    
    /* Matikan lompatan turun baris dari Desktop */
    .blue-card:nth-child(3) {
        grid-column-start: auto !important;
    }
}