/* ══════════════════════════════════════════════════
   eMakmal Landing Page — Modern Redesign 2026
   ══════════════════════════════════════════════════ */

/* ── GLOBAL CROSSFADE BACKGROUND ── */
.global-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.9s ease;
    pointer-events: none;
}
#global-bg-a {
    z-index: -2;
    opacity: 1;
}
#global-bg-b {
    z-index: -1;
    opacity: 0;
}

:root {
    /* Base */
    --bg: #04060e;
    --bg-2: #060910;
    --bg-3: #0b0f1e;

    /* Blues — default / hero / navbar */
    --accent: #3b82f6;
    --accent-2: #6366f1;
    --blue-hi: #60a5fa;

    /* Emerald — Latar Belakang */
    --emerald: #10b981;
    --emerald-2: #34d399;

    /* Violet — Carta Fungsi */
    --violet: #8b5cf6;
    --violet-2: #a78bfa;

    /* Amber — Perkhidmatan Makmal */
    --amber: #f59e0b;
    --amber-2: #fbbf24;

    /* Cyan — Senarai Tajuk */
    --cyan: #06b6d4;
    --cyan-2: #22d3ee;

    /* Text */
    --white: #ffffff;
    --t1: #f1f5f9;
    --t2: #b8c8dc;
    --t3: #64748b;

    /* Shared */
    --border: rgba(255, 255, 255, 0.07);
    --border-b: rgba(59, 130, 246, 0.18);
    --card: rgba(18, 28, 60, 0.82);
    --card-light: rgba(255, 255, 255, 0.07);
    --border-light: rgba(255, 255, 255, 0.13);
    --radius: 20px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--t1);
    overflow-x: hidden;
    line-height: 1.7;
}

/* NAVBAR */
.navbar-blur {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    height: 64px;
    display: flex;
    align-items: center;
    transition: all 0.3s var(--ease);
    z-index: 1000;
}
.navbar-blur.scrolled {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4);
}
.navbar-blur.scrolled .navbar-brand,
.navbar-blur.scrolled .navbar-brand i {
    color: #ffffff !important;
}
.navbar-blur.scrolled .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}
.navbar-blur.scrolled .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
}
.navbar-blur.scrolled .btn-login {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
}
.nav-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    flex-shrink: 0;
}
.nav-logo-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: -0.2px;
}
.navbar-nav .nav-link {
    color: var(--t2) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 14px !important;
    border-radius: 8px;
    transition: all 0.2s var(--ease);
    letter-spacing: 0.1px;
}
.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.06);
}
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(59, 130, 246, 0.12);
}
.btn-login {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.28);
    font-weight: 600;
    font-size: 0.83rem;
    padding: 8px 22px;
    border-radius: 50px;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    text-decoration: none;
}
.btn-login:hover {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}
.navbar-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 8px;
}
.navbar-toggler-icon {
    filter: invert(1);
}
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: var(--radius-sm);
        padding: 18px;
        margin-top: 10px;
    }
    .navbar-collapse .navbar-nav .nav-link {
        color: #334155 !important;
    }
    .navbar-collapse .navbar-nav .nav-link:hover {
        color: #0f172a !important;
        background: rgba(0, 0, 0, 0.06);
    }
    .navbar-collapse .btn-login {
        background: rgba(59, 130, 246, 0.12);
        color: #2563eb !important;
        border-color: rgba(59, 130, 246, 0.4);
    }
    .btn-login {
        margin-top: 10px;
        display: inline-block;
    }
}

/* HERO */
/* Enhanced HERO with "timbul" effect */
#welcome {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 120px;
    overflow: hidden;
    background: none;
}

/* Layered hero background for depth and highlight */
#welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../images/gambar/neg71d.png") center center / cover
        no-repeat;
    filter: brightness(0.92) blur(1.5px) saturate(1.08);
    transform: scale(1.06);
    transition:
        filter 0.5s,
        transform 0.5s;
}
#welcome::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Nearly invisible overlay for maximum brightness */
    background: radial-gradient(
        ellipse at 50% 48%,
        rgba(255, 255, 255, 0.001) 0%,
        rgba(255, 255, 255, 0) 32%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

come::before,
#welcome .hero-fade-bottom {
    pointer-events: none;
}
#welcome .hero-fade-bottom {
    display: none;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 7, 15, 0.7) 0%,
        rgba(5, 7, 15, 0.35) 45%,
        rgba(5, 7, 15, 0.88) 100%
    );
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    animation: orb-float 9s ease-in-out infinite;
}
.hero-glow-1 {
    width: 700px;
    height: 700px;
    background: var(--accent);
    top: -200px;
    left: -200px;
    opacity: 0.12;
}
.hero-glow-2 {
    width: 550px;
    height: 550px;
    background: var(--violet);
    bottom: -150px;
    right: -150px;
    opacity: 0.1;
    animation-delay: -4.5s;
}
.hero-glow-3 {
    width: 350px;
    height: 350px;
    background: var(--cyan);
    top: 40%;
    left: 50%;
    opacity: 0.07;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
}
@keyframes orb-float {
    0%,
    100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.06) translateY(-18px);
    }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    /* Subtle shadow for "timbul" effect */
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.32));
}

/* Add the fade element at the end of #welcome in your Blade file: */
/* <div class="hero-fade-bottom"></div> */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.4);
    }
}
.hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.8rem, 6.5vw, 4.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin: 0;
    text-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 1.5px 0 #222,
        0 0 18px rgba(255, 255, 255, 0.1);
}
.hero-title .g {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #f3f6fa;
    max-width: 500px;
    line-height: 1.75;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}
.btn-hp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 13px 30px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
}
.btn-hp:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(59, 130, 246, 0.5);
    color: #fff !important;
}
.btn-hg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 34px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: all 0.25s var(--ease);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.22),
        0 2px 8px rgba(255, 215, 0, 0.12);
    letter-spacing: 0.2px;
}
.btn-hg:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hero-stats-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(12px);
    overflow: hidden;
    margin-top: 8px;
}
.hstat {
    padding: 16px 28px;
    text-align: center;
    flex: 1;
}
.hstat + .hstat {
    border-left: 1px solid var(--border);
}
.hstat-n {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.hstat-l {
    font-size: 0.7rem;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    display: block;
}
.scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--t3);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: cue-b 2.5s ease-in-out infinite;
}
@keyframes cue-b {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-50%) translateY(7px);
        opacity: 0.9;
    }
}

/* SECTIONS COMMON */
section {
    padding: 100px 20px;
    position: relative;
    background: transparent;
}
/* Match hero transparency for all sections */
section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 15, 0);
    z-index: 0;
    pointer-events: none;
}
#welcome::before {
    background: none;
}
section > * {
    position: relative;
    z-index: 1;
}
.sec-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.sec-head {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.sec-head span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sec-sub {
    font-size: 0.95rem;
    color: var(--t2);
    max-width: 500px;
    line-height: 1.8;
}
.sec-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 56px;
}
.div-line {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 3px;
    margin: 0 auto 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s var(--ease),
        transform 0.65s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-d1 {
    transition-delay: 0.1s;
}
.reveal-d2 {
    transition-delay: 0.2s;
}
.reveal-d3 {
    transition-delay: 0.3s;
}

/* LATAR BELAKANG */
#latar-belakang {
    background: transparent;
}
.lb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 768px) {
    .lb-grid {
        grid-template-columns: 1fr;
    }
}

.lb-card {
    background: rgba(18, 28, 60, 0.15);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.lb-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s;
}
.lb-card:hover {
    border-color: var(--border-b);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.lb-card:hover::before {
    opacity: 1;
}

.lb-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 18px;
}
.lb-card h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.lb-card p,
.lb-card li {
    font-size: 0.93rem;
    color: var(--t2);
    line-height: 1.85;
}
.lb-card ul {
    list-style: none;
    padding: 0;
}
.lb-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.lb-card li i {
    margin-top: 6px;
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* First card — blue navy */
.lb-card:first-child {
    background: rgba(18, 28, 60, 0.65);
    border-color: rgba(59, 130, 246, 0.18);
}
.lb-card:first-child::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.lb-card:first-child .lb-icon {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.28);
    color: var(--accent);
}
.lb-card:first-child li i {
    color: var(--accent);
}
/* Second card — same blue navy */
.lb-card:last-child {
    background: rgba(18, 28, 60, 0.65);
    border-color: rgba(59, 130, 246, 0.18);
}
.lb-card:last-child::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.lb-card:last-child:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.lb-card:last-child .lb-icon {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.28);
    color: var(--accent);
}
.lb-card:last-child li i {
    color: var(--accent);
}

/* CARTA FUNGSI */
#carta-organisasi {
    background: transparent;
}
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 991px) {
    .bento {
        grid-template-columns: 1fr;
    }
}
.bento-hdr {
    grid-column: 1 / -1;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.09) 0%,
        rgba(167, 139, 250, 0.05) 100%
    );
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: var(--radius);
    padding: 30px 36px;
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    overflow: hidden;
}
.bento-hdr::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.18),
        transparent 70%
    );
    pointer-events: none;
}
.bento-hdr-ico {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--violet), var(--violet-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
.bento-hdr-txt h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.bento-hdr-txt p {
    font-size: 0.92rem;
    color: var(--t2);
    margin: 0;
    line-height: 1.7;
    max-width: 600px;
}
.bento-unit {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}
.bento-unit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--violet-2));
    opacity: 0;
    transition: opacity 0.3s;
}
.bento-unit:hover {
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-5px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}
.bento-unit:hover::before {
    opacity: 1;
}

.unit-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.u-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.u-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}
.u-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #22d3ee;
}
.u-vio {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
}
.unit-hdr h5 {
    font-family: "Montserrat", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.unit-desc {
    font-size: 0.9rem;
    color: var(--t2);
    line-height: 1.8;
}
.unit-tasks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.u-task {
    display: flex;
    gap: 10px;
    font-size: 0.87rem;
    color: var(--t2);
    line-height: 1.7;
}
.u-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet-2);
    margin-top: 9px;
    flex-shrink: 0;
    opacity: 0.75;
}
.u-task strong {
    color: #cbd5e1;
    font-weight: 600;
    display: block;
}

/* PERKHIDMATAN MAKMAL */
#perkhidmatan-makmal {
    background: transparent;
}

.pk-intro {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.06),
        rgba(99, 102, 241, 0.04)
    );
    border: 1px solid var(--border-b);
    border-radius: var(--radius);
    padding: 34px 38px;
    margin-bottom: 36px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.pk-ico {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pk-intro p {
    font-size: 0.93rem;
    color: var(--t2);
    line-height: 1.9;
    margin: 0;
}
.pk-intro h5 {
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.svc-block {
    margin-bottom: 30px;
    border: 1px solid rgba(59, 130, 246, 0.9);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.svc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px 18px;
    background: rgba(12, 20, 46, 0.85);
    border-bottom: 1px solid rgba(59, 130, 246, 0.28);
}
.svc-title i {
    color: #8ab4ff;
}
.svc-subtitle {
    font-size: 0.77rem;
    font-style: italic;
    color: var(--t2);
    padding: 6px 18px;
    background: rgba(12, 20, 46, 0.18);
    border-bottom: 1px solid rgba(59, 130, 246, 0.18);
}
.svc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    background: rgba(12, 20, 46, 0.18);
    backdrop-filter: blur(10px);
}
.svc-table th {
    background: rgba(59, 130, 246, 0.08);
    color: #fff;
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 13px 16px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.28);
}
.svc-table th:first-child {
    text-align: left;
}
.svc-table td {
    padding: 13px 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--t2);
    vertical-align: middle;
    background: rgba(12, 20, 46, 0.18);
}
.svc-table td b {
    color: #e2e8f0;
    font-weight: 600;
}
.svc-table td em {
    color: var(--t3);
    font-size: 0.79rem;
}
.svc-table .price {
    text-align: center;
    font-weight: 700;
    color: #7dd3fc;
    font-size: 0.87rem;
}
.svc-table tr:hover td {
    background: rgba(24, 40, 88, 0.28);
}

/* SENARAI TAJUK */
#senarai-tajuk {
    background: transparent;
}

.search-wrap {
    max-width: 480px;
    margin: 0 auto 30px;
    position: relative;
}
.search-wrap input {
    width: 100%;
    background: rgba(18, 28, 60, 0.42);
    border: 1px solid var(--border-b);
    border-radius: 50px;
    color: #fff;
    padding: 13px 52px 13px 22px;
    font-size: 0.88rem;
    font-family: "Poppins", sans-serif;
    transition: all 0.25s var(--ease);
    outline: none;
}
.search-wrap input::placeholder {
    color: var(--t3);
}
.search-wrap input:focus {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.07);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn:hover {
    background: #2563eb;
}

/* .dt-container is the outer reveal wrapper; .table-wrap is created by DataTables around the table only */
.dt-container {
    width: 100%;
}
.table-wrap {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
#datatable-pendigitalan {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.86rem;
}
#datatable-pendigitalan thead th,
.dataTables_scrollHead thead th {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    white-space: nowrap;
}
#datatable-pendigitalan tbody td {
    background: rgba(12, 20, 46, 0.95) !important;
    color: var(--t2) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    padding: 12px 16px;
}
#datatable-pendigitalan tbody tr:hover td {
    background: rgba(24, 40, 88, 0.95) !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
    text-align: right;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: transparent !important;
    border: 1px solid var(--border) !important;
    color: var(--t2) !important;
    border-radius: 8px !important;
    margin: 0 3px;
    padding: 6px 14px !important;
    transition: all 0.2s var(--ease);
    font-size: 0.8rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #fff !important;
    border-color: var(--border-b) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.3;
}
.dataTables_wrapper .dataTables_processing {
    background: rgba(5, 7, 15, 0.95) !important;
    color: var(--accent) !important;
    border: none !important;
    border-radius: 8px !important;
}

/* FOOTER */
footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 44px 20px 24px;
    position: relative;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-brand-ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
}
.footer-brand-name {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}
.footer-copy {
    font-size: 0.76rem;
    color: var(--t3);
    margin-top: 3px;
}
.footer-contact {
    font-size: 0.78rem;
    color: var(--t3);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}
.footer-contact span {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}
.footer-contact i {
    color: var(--accent);
    font-size: 0.72rem;
}
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-contact {
        text-align: left;
    }
    .footer-contact span {
        justify-content: flex-start;
    }
}

/* RESPONSIVE */
@media (max-width: 767px) {
    section {
        padding: 70px 16px;
    }
    .hero-stats-bar {
        display: none;
    }
    .pk-intro {
        flex-direction: column;
        padding: 22px 18px;
    }
}
.active-menu {
    color: var(--accent) !important;
}
