/* ==========================================================================
   ICLABS - MODERN CLEAN WHITE & TECH LAB DESIGN SYSTEM
   Stripe / Linear Light Aesthetic for FIKOM UMI Laboratory Platform
   ========================================================================== */

/* 1. DESIGN TOKENS */
:root {
    --bg-white: #ffffff;
    --bg-slate: #f8fafc;
    --bg-slate-subtle: #f1f5f9;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #06b6d4 100%);

    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;

    --border-color: #e2e8f0;
    --border-focus: rgba(37, 99, 235, 0.4);

    --shadow-subtle: 0 4px 12px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 12px 32px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 40px -4px rgba(37, 99, 235, 0.12), 0 8px 16px -2px rgba(15, 23, 42, 0.04);
}

/* 2. BASE & TYPOGRAPHY */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-body);
    padding-top: 76px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

p {
    line-height: 1.65;
}

/* Smooth Transitions */
a,
button,
.btn,
.clean-card,
.step-box,
.facility-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. CLEAN NAVBAR - FLOATING CAPSULE ON SCROLL (Butter-Smooth 60/120fps Inspired by iclabs.fikom.umi.ac.id) */
.navbar-clean {
    position: fixed;
    top: 0;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    padding: 10px 0 !important;
    will-change: top, width, max-width, border-radius, box-shadow;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Floating Island / Capsule Bar when Scrolled */
.navbar-clean.scrolled {
    top: 15px !important;
    width: 90% !important;
    max-width: 1200px !important;
    border-radius: 16px !important;
    border-color: rgba(226, 232, 240, 0.9) !important;
    background-color: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05) !important;
    padding: 6px 0 !important;
}

.navbar-clean .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-clean.scrolled .container {
    padding: 0 16px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-box {
    padding: 5px;
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 30px;
    width: auto;
    border-radius: 6px;
    display: block;
}

.brand-title {
    font-size: 1.4rem;
}

.brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: #2563eb;
    text-transform: uppercase;
    font-weight: 700;
}

.navbar-toggler .bi-list {
    font-size: 1.85rem;
    line-height: 1;
    display: block;
}

/* Mobile & Tablet Full-Width Sleek Navbar (< 992px) */
/* Mobile & Tablet Full-Width Sleek Navbar (< 992px) */
@media (max-width: 991px) {
    .navbar-clean {
        top: 0 !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        background-color: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid transparent !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.88) !important;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    /* Saat di-scroll: Berubah jadi Floating Rounded Capsule persis seperti Desktop! */
    .navbar-clean.scrolled {
        top: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        max-width: 1200px !important;
        padding: 6px 0 !important;
        border-radius: 16px !important;
        border-color: rgba(191, 219, 254, 0.88) !important;
        box-shadow: 0 12px 32px -4px rgba(30, 58, 138, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.06) !important;
    }

    .navbar-clean .container {
        padding: 0 16px !important;
        position: relative;
    }

    .brand-wrapper {
        gap: 8px;
    }

    .brand-logo-box {
        padding: 4px;
        border-radius: 8px;
    }

    .brand-logo-img {
        height: 24px !important;
    }

    .brand-title {
        font-size: 1.15rem !important;
    }

    .brand-subtitle {
        font-size: 0.58rem !important;
        letter-spacing: 0.08em;
    }
}

/* =======================================================
   ANIMATED HAMBURGER & SLIDE-DOWN DROPDOWN MENU (MOBILE)
   ======================================================= */

/* Mobile Direct Login Squircle Button (Bentuk persegi seperti hamburger) */
.btn-mobile-login {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: #2563eb !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
    padding: 0;
}

@media (max-width: 991px) {
    .btn-mobile-login {
        display: flex;
    }
}

.btn-mobile-login:hover,
.btn-mobile-login:active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff !important;
    transform: scale(0.96);
}

.btn-mobile-login i {
    font-size: 1.15rem;
    line-height: 1;
}

/* Hamburger Button (Simple & Clean) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 1035;
}

.mobile-menu-toggle:hover {
    background: #f8fafc;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #0f172a;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.mobile-menu-toggle.active span {
    background-color: #2563eb;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Mobile Slide-Down Dropdown Menu (Clean, Simple, Minimalist) */
.mobile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.22s ease,
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s ease;
    z-index: 1050;
}

.mobile-dropdown-menu.show {
    max-height: 360px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-dropdown-nav {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-dropdown-link {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.18s ease;
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link.active {
    background: #f1f5f9;
    color: #2563eb;
}

.mobile-dropdown-footer {
    padding: 8px 10px 10px;
    border-top: 1px solid #f1f5f9;
}

/* Backdrop Overlay */
.mobile-dropdown-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    z-index: 1025;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-dropdown-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.navbar-clean .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--text-body) !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    transition: all 0.25s ease;
}

.navbar-clean .nav-link:hover,
.navbar-clean .nav-link.active {
    color: var(--primary) !important;
    background: #eff6ff !important;
    border-radius: 10px !important;
}

/* 4. BUTTONS */
.btn-primary-clean {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    border: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-clean:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    filter: brightness(1.06);
    color: #ffffff !important;
}

.btn-outline-clean {
    background: #ffffff !important;
    border: 1.5px solid var(--border-color) !important;
    color: var(--text-heading) !important;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-clean:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: var(--shadow-subtle);
    transform: translateY(-2px);
}

/* 5. FULLSCREEN BACKGROUND HERO SECTION */
.hero-fullscreen-section {
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-fullscreen-content {
    max-width: 800px;
    padding: 60px 0;
}

.fullscreen-badge.glass-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title-fullscreen {
    font-size: 4rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .hero-title-fullscreen { font-size: 3rem; }
}
@media (max-width: 576px) {
    .hero-title-fullscreen { font-size: 2.25rem; }
    .hero-fullscreen-section { min-height: 80vh; }
}

.hero-subtitle-fullscreen {
    font-size: 1.15rem;
    max-width: 650px;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    color: #f1f5f9 !important;
}

.btn-fullscreen-primary {
    background: #ffffff !important;
    color: #0f172a !important;
    border: none !important;
    padding: 14px 32px !important;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-fullscreen-primary:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-fullscreen-outline {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.btn-fullscreen-outline:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px);
}



.glass-stat-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 12px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.glass-stat-badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

/* 6. ALUR PEMINJAMAN (STEPS - IC-LABS SIMPLE & COHESIVE STYLE) */
.section-badge-clean {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header-line {
    width: 48px;
    height: 3.5px;
    background: #2563eb;
    border-radius: 3px;
    margin: 10px auto 16px;
}

.step-box {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 30px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-box:hover::before {
    opacity: 1;
}

.step-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.12);
    border-color: rgba(59, 130, 246, 0.45);
}

.step-badge-num {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 2px 9px;
    border-radius: 50px;
}

.step-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    transition: all 0.35s ease;
}

.step-box:hover .step-icon-circle {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* 7. SARANA & PRASARANA */
section[id] {
    scroll-margin-top: 86px;
}

.facility-bento-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.facility-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.facility-bento-card:hover .facility-icon-wrap {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.facility-visual-banner {
    position: relative;
    height: 100%;
    min-height: 440px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    background-color: #0f172a;
}

.facility-visual-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.facility-visual-banner:hover img {
    transform: scale(1.04);
}

.facility-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
    color: #ffffff;
    z-index: 2;
}

.facility-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.facility-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.facility-card:hover::before {
    opacity: 1;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.12);
    border-color: rgba(59, 130, 246, 0.45);
}

.facility-card:hover .facility-card-title {
    color: #2563eb;
}

.facility-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 180px;
    background-color: #f1f5f9;
}

.facility-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.facility-card-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-card:hover .facility-card-img {
    transform: scale(1.06);
}

.lab-capacity-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: #ffffff;
    border: 1px solid #dbeafe;
    color: #2563eb;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.08);
    display: inline-flex;
    align-items: center;
}

.facility-card-body {
    padding: 1.25rem 1.35rem 1.25rem 1.35rem;
}

.facility-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

.facility-card-desc {
    font-size: 0.835rem;
    line-height: 1.55;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.facility-card-footer {
    border-top: 1px solid #f1f5f9;
}

.facility-pic-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.facility-pic-name {
    font-size: 0.8rem;
    color: #64748b;
}

.btn-facility-pinjam {
    background: #eff6ff;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 16px;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-facility-pinjam:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-facility-pinjam i {
    transition: transform 0.25s ease;
}

.facility-card:hover .btn-facility-pinjam i {
    transform: translateX(3px);
}

/* Facility Support Notice Card */
.facility-notice-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px !important;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.facility-notice-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 25px -4px rgba(15, 23, 42, 0.08);
}

.facility-notice-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.facility-notice-title {
    font-size: 1.05rem;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.facility-notice-desc {
    font-size: 0.865rem;
    line-height: 1.55;
    color: #64748b;
}

.btn-facility-notice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1.5px solid #2563eb;
    color: #2563eb !important;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-facility-notice:hover {
    background: #2563eb;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

/* 8. CTA SECTION */
.cta-clean-banner {
    background: var(--primary-gradient);
    border-radius: 28px;
    padding: 60px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.btn-cta-white-clean {
    background: #ffffff !important;
    color: #1d4ed8 !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta-white-clean:hover {
    background: #f8fafc !important;
    color: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline-clean {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.btn-cta-outline-clean:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

/* 9. FOOTER */
.footer-clean {
    position: relative !important;
    z-index: 10 !important;
    background-color: #0b132b !important;
    color: #94a3b8;
    padding: 65px 0 28px 0;
    margin-top: auto;
}

.footer-clean .footer-link {
    color: #94a3b8;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-clean .footer-link:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.footer-social-pill {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
}

.footer-social-pill:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ==========================================================================
   10. INTERACTIVE MICRO-ANIMATIONS & DYNAMIC EFFECTS
   ========================================================================== */

/* Top Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #818cf8 100%);
    z-index: 99999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8), 0 0 4px rgba(37, 99, 235, 0.5);
}

/* Harmonious AOS Animations Enhancement */
[data-aos] {
    pointer-events: auto;
}

/* Stagger Delays helper */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

/* Spotlight Card Effect (Linear / Vercel Glow) */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.spotlight-card:hover::before {
    opacity: 1;
}

/* Pulsing Radar Dot for Facility Capacity */
.pulse-radar-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 6px;
    vertical-align: middle;
}

.pulse-radar-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: radarPulse 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes radarPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

.lab-card-item {
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Animated Flow Connecting Line for Steps (Desktop) */
.steps-wrapper-interactive {
    position: relative;
}

@media (min-width: 992px) {
    .steps-flow-line {
        position: absolute;
        top: 65px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, 
            rgba(37, 99, 235, 0.1) 0%, 
            rgba(37, 99, 235, 0.4) 50%, 
            rgba(37, 99, 235, 0.1) 100%
        );
        z-index: 0;
        pointer-events: none;
    }

    .steps-flow-pulse {
        position: absolute;
        top: -3px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #38bdf8;
        box-shadow: 0 0 10px #38bdf8, 0 0 20px #2563eb;
        animation: stepPulseFlow 6s infinite linear;
    }
}

@keyframes stepPulseFlow {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Enhanced Step Box Hover Physics */
.step-box {
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, border-color 0.35s ease;
}

.step-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 36px -6px rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.4);
}

.step-box:hover .step-badge-num {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-badge-num {
    transition: all 0.3s ease;
}


/* CTA Pulsing Aura Button */
.btn-cta-pulse {
    position: relative;
    animation: btnAura 3s infinite;
}

@keyframes btnAura {
    0% { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 255, 255, 0.6); }
    70% { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 16px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Shifting Ambient Background for CTA Banner */
.cta-clean-banner {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%) !important;
    background-size: 200% 200% !important;
    animation: ctaMeshShift 8s ease infinite alternate;
}

@keyframes ctaMeshShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* CTA Floating Decorative Shapes */
.cta-floating-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.cta-shape-1 {
    width: 340px;
    height: 340px;
    top: -90px;
    right: -70px;
    animation: floatShape1 10s ease-in-out infinite alternate;
}

.cta-shape-2 {
    width: 280px;
    height: 280px;
    bottom: -70px;
    left: -50px;
    animation: floatShape2 12s ease-in-out infinite alternate;
}

@keyframes floatShape1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-30px, 25px) rotate(45deg); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(25px, -30px) rotate(-45deg); }
}

/* ==========================================================================
   Mobile Horizontal Card Slider for Laboratory Rooms (Gambar 2 Reference)
   ========================================================================== */
@media (max-width: 767.98px) {
    #labGridContainer.lab-slider-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding-top: 6px !important;
        padding-bottom: 20px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    #labGridContainer.lab-slider-container::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    #labGridContainer.lab-slider-container .lab-card-item {
        flex: 0 0 86% !important;
        max-width: 330px !important;
        min-width: 275px !important;
        width: 86% !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: normal !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #labGridContainer.lab-slider-container .lab-card-item .facility-card {
        height: 100% !important;
        margin: 0 !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.08) !important;
    }
}

/* Pagination Dots Indicator */
.lab-mobile-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 0;
}

.lab-dot-item {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    outline: none;
}

.lab-dot-item.active {
    width: 28px;
    border-radius: 9999px;
    background-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.lab-dot-item:focus-visible {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   FIXED AMBIENT CANVAS (Persis seperti mode malam di IC-Labs)
   Latar belakang diam/tetap (fixed) di viewport, hanya elemen card yang bergerak saat scroll
   ========================================================================== */

body {
    position: relative;
    background-color: transparent !important;
    color: #334155;
    min-height: 100vh;
}

/* FIXED AMBIENT CANVAS (Background Dasar Tetap Diam di Layar - Biru Lembut / Soft Neutral) */
.fixed-ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 42%),
        radial-gradient(circle at 85% 65%, rgba(14, 165, 233, 0.06) 0%, transparent 48%),
        radial-gradient(circle at 50% 85%, rgba(99, 102, 241, 0.05) 0%, transparent 45%),
        radial-gradient(rgba(100, 116, 139, 0.11) 1.4px, transparent 1.4px);
    background-size: auto, auto, auto, 26px 26px;
}

/* ==========================================================================
   SANDWICH SECTION CONTRAST:
   - Alur Peminjaman: Memakai Background Dasar (Ambient Canvas)
   - Pilihan Ruangan: Background Putih Solid (Menimpa Background Dasar)
   - Layanan & CTA: Kembali Memakai Background Dasar (Ambient Canvas)
   ========================================================================== */

/* Section 1: Alur Peminjaman (Transparan: Menampakkan Background Dasar) */
.section-light-bg,
#alur-peminjaman {
    position: relative;
    z-index: 2;
    background: transparent !important;
    background-image: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Section 2: Pilihan Ruangan Lab (Background Putih Solid Menimpa Background Dasar) */
.section-alt-bg,
#sarana-fasilitas {
    position: relative;
    z-index: 2;
    background-color: #ffffff !important;
    background-image: none !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

/* Section 3: Layanan & CTA (Transparan: Kembali Memakai Background Dasar) */
.cta-portal-section,
#kontak-kami {
    position: relative;
    z-index: 2;
    background: transparent !important;
    background-image: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Card Styling: Solid White Pop-out with Crisp Depth */
.step-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.02) !important;
}

.lab-card-clean {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -8px rgba(30, 58, 138, 0.07) !important;
}

/* Section Header Badges */
.section-badge-clean {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08) !important;
    border: 1px solid rgba(191, 219, 254, 0.85) !important;
    color: #2563eb !important;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
    margin-bottom: 12px;
}

/* Prevent iOS Safari auto-zoom on input focus */
@media screen and (max-width: 768px) {
    input,
    select,
    textarea,
    .form-control,
    .form-select {
        font-size: 16px !important;
    }
}
