


:root {
    
    --gov-blue: #1e40af;
    --gov-blue-dark: #1e3a8a;
    --gov-blue-light: #2563eb;
    --gov-blue-50: #eff6ff;
    --gov-blue-100: #dbeafe;
    --gov-blue-200: #bfdbfe;
    --gov-blue-600: #2563eb;
    --gov-blue-700: #1d4ed8;
    --gov-blue-800: #1e40af;
    --gov-blue-900: #1e3a8a;

    
    --teal: #0d9488;
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --green: #16a34a;
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --amber: #d97706;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --red: #dc2626;
    --red-50: #fef2f2;

    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;

    
    --footer-bg: #0c2340;
    --footer-text: rgba(255, 255, 255, 0.75);
    --footer-muted: rgba(255, 255, 255, 0.45);

    
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md:
        0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg:
        0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl:
        0 20px 25px -5px rgba(0, 0, 0, 0.08),
        0 8px 10px -6px rgba(0, 0, 0, 0.04);

    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 999px;


    --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Plus Jakarta Sans", "Geist", system-ui, sans-serif;

    
    --transition-fast: 0.15s ease;
    --transition: 0.25s ease;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    margin: 0;
}

body.frontend-body {
    background: var(--white);
}

section[id] {
    scroll-margin-top: 90px;
}

::selection {
    background: var(--gov-blue-100);
    color: var(--gov-blue-900);
}

a {
    color: var(--gov-blue-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gov-blue-dark);
}

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

.frontend-main {
    padding-top: 72px;
    min-height: 60vh;
}


.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition:
        transform 0.35s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.site-header .navbar {
    padding: 0.65rem 0;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.94);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}


.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    padding: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 40px;
    
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.brand-logo {
    height: 84px;
    width: auto;
    
}

.brand-sep {
    width: 1px;
    height: 34px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    opacity: 0.9;
}

.brand-wordmark {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.brand-akhlak {
    height: 60px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}


.navbar-toggler {
    border: 1px solid var(--gray-200);
    padding: 0.5rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gray-300);
    transform: translateY(-1px);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    outline: none !important;
}

.toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggler:hover .toggler-bar {
    background: var(--gov-blue);
}


.navbar-nav {
    gap: 0.5rem;
}

.reveal-on-scroll {
    opacity: 0;
}

.reveal-on-scroll.animate__animated {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
    }
}

.navbar .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
    padding: 0.55rem 0.95rem;
    border-radius: var(--radius-full);
    transition:
        background-color var(--transition),
        color var(--transition),
        box-shadow var(--transition);
    background: transparent;
}

.navbar .nav-link:hover {
    color: var(--gov-blue-dark);
    background: rgba(30, 64, 175, 0.06);
}

.navbar .nav-link.active {
    color: var(--gov-blue-dark);
    font-weight: 600;
    background: rgba(30, 64, 175, 0.1);
    box-shadow: 0 1px 0 rgba(30, 64, 175, 0.08);
}

.nav-link-content {
    position: relative;
    display: inline-block;
    line-height: 1.15;
}

.navbar .nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.14);
}

.nav-pulse {
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--red);
    margin-left: 0;
    box-shadow: 0 0 0 rgba(220, 38, 38, 0.35);
    animation: pulse-dot 1.6s ease-in-out infinite;
    flex-shrink: 0;
    pointer-events: none;
}

.site-header .dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.35rem;
}

.site-header .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: rgba(30, 64, 175, 0.06);
    color: var(--gray-900);
}

.site-header .nav-link.dropdown-toggle::after {
    display: none;
}

@media (min-width: 992px) {
    .site-header .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}


.nav-item-cta {
    margin-left: 0.75rem;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    background: var(--gov-blue);
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition:
        background-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}

.nav-cta-btn:hover {
    color: var(--white);
    background: var(--gov-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-cta-btn i {
    font-size: 0.85rem;
}


.site-header.is-aegis {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header.is-aegis.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
}

.site-header.is-aegis .navbar {
    padding: 0.85rem 0;
}

.site-header.is-aegis .navbar-nav {
    gap: 1rem;
}

.site-header.is-aegis .brand-sep {
    background: rgba(15, 23, 42, 0.14);
    opacity: 1;
}

.site-header.is-aegis .nav-item-cta {
    margin-left: 1.25rem;
}

.site-header.is-aegis .nav-cta-btn {
    background: transparent;
    color: var(--gray-900);
    border: 1px solid rgba(15, 23, 42, 0.18);
    box-shadow: none;
}

.site-header.is-aegis .nav-cta-btn:hover {
    background: rgba(15, 23, 42, 0.06);
    color: var(--gray-900);
    transform: translateY(-1px);
    box-shadow: none;
}

.site-header.is-aegis .nav-link {
    background: transparent;
    border-radius: 0;
    padding: 0.65rem 0.1rem;
    color: rgba(15, 23, 42, 0.82);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.site-header.is-aegis .nav-link:hover {
    background: transparent;
    color: rgba(15, 23, 42, 0.92);
}

.site-header.is-aegis .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.15rem;
    height: 1px;
    background: rgba(15, 23, 42, 0.55);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.site-header.is-aegis .nav-link:hover::before,
.site-header.is-aegis .nav-link.active::before {
    transform: scaleX(1);
}

.site-header.is-aegis .nav-link.active {
    background: transparent;
    box-shadow: none;
    color: rgba(15, 23, 42, 0.95);
}

.site-header.is-aegis .nav-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}

.site-header.is-aegis .nav-pulse {
    top: 0.15rem;
    right: 0.05rem;
}

@media (max-width: 991.98px) {
    .site-header.is-aegis .navbar-collapse {
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .site-header.is-aegis .nav-link {
        padding: 0.7rem 0.25rem;
    }

    .site-header.is-aegis .nav-item-cta {
        margin-left: 0;
    }
}


.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--gov-blue);
    border-color: var(--gov-blue);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--gov-blue-dark);
    border-color: var(--gov-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border-color: var(--gov-blue);
    color: var(--gov-blue);
}

.btn-outline-primary:hover {
    background: var(--gov-blue);
    border-color: var(--gov-blue);
    color: var(--white);
}

.btn-outline-secondary {
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-900);
}

.btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 0.925rem;
    border-radius: var(--radius-md);
}


.front-hero {
    background: linear-gradient(
        135deg,
        var(--gov-blue-50) 0%,
        var(--white) 50%,
        var(--teal-50) 100%
    );
    position: relative;
}

.front-hero--pro .container {
    position: relative;
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 246, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(236, 253, 250, 0.25) 100%
    );
}

/* Letterhead-style accent instead of a symmetric gradient blob: a document
   reads left-to-right off a rule, not out from a glow, so the marker sits
   on the edge and states its rank with a case-file tag rather than decor. */
.front-hero--pro::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gov-blue) 0%, var(--teal) 100%);
    z-index: 1;
}

.hero-surface {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Solid surface, not glass: a public-records document does not float behind
   frosted panels. Depth comes from a crisp near shadow plus a soft far
   shadow (two elevations, not one blur). Squared-off corners and a solid
   letterhead rule across the top read as an official filed document,
   not a rounded dashboard card. */
.hero-surface--pro {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 32px 56px -28px rgba(15, 23, 42, 0.22);
}

.hero-surface--pro > * {
    position: relative;
    z-index: 1;
}

.hero-surface::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gov-blue) 0%, var(--teal) 100%);
}

.hero-surface--pro::before {
    display: none;
}

.hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.hero-eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gov-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-eyebrow-divider {
    width: 1px;
    height: 0.85rem;
    background: var(--gray-300);
}

.hero-eyebrow-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

/* A second typeface only for this headline: Plus Jakarta Sans carries the
   weight of an official statement, where Geist (used everywhere else) reads
   as interface chrome, not proclamation. */
.hero-title--pro {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    letter-spacing: -0.01em;
}

.hero-title .text-gov {
    color: var(--gov-blue);
}

.hero-subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 55ch;
}

.hero-subtitle--pro {
    color: var(--gray-600);
    font-size: 1.025rem;
    max-width: 58ch;
}

.hero-actions .btn {
    min-height: 46px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--gray-700);
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-trust-item i {
    color: var(--gov-blue);
}

.hero-note {
    font-size: 0.78rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}


.hero-media-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-media-frame--pro {
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.65);
}

.hero-media-frame--pro::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 260px at 70% 20%, rgba(255, 255, 255, 0.45), transparent 60%);
    z-index: 1;
}

.hero-media-frame--pro .hero-image {
    position: relative;
    z-index: 0;
}

.hero-image {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.hero-signal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}


.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.hero-stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gov-blue);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
    font-weight: 500;
}


.section-header {
    margin-bottom: 2rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gov-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.section-kicker::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--gov-blue);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}


.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    overflow: hidden;
    height: 100%;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--gov-blue-200);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-caption {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
}

/* The number is the content; the icon is a label, not a decoration, so it
   carries color only and no pastel box. */
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.icon-blue {
    color: var(--gov-blue);
}

.icon-teal {
    color: var(--teal);
}

.icon-green {
    color: var(--green);
}

.icon-amber {
    color: var(--amber);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.stat-title {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.stat-desc {
    color: var(--gray-500);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Bento: one statistic (Total Usulan) is the entry point to the section,
   the other three are its supporting breakdown. The hierarchy comes from
   scale and spacing (a larger number, more breathing room) rather than a
   decorative accent bar. */
.stat-card--primary {
    background: linear-gradient(180deg, var(--gov-blue-50) 0%, var(--white) 70%);
}

.stat-card--primary .card-body {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.stat-card--primary .stat-number {
    font-size: clamp(2.75rem, 4vw, 3.75rem);
}

.stat-card--primary .stat-title {
    font-size: 1rem;
}

.stat-card--compact .card-body {
    padding: 1.15rem 1.25rem;
}

.stat-card--compact .stat-number {
    font-size: 1.65rem;
    margin-bottom: 0.15rem;
}

.stat-card--compact .stat-title {
    font-size: 0.82rem;
}

.stat-card--compact .stat-desc {
    display: none;
}


.rate-card {
    background: var(--gov-blue);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* No decorative blob: the card's depth comes from the meters' own motion
   once they are in view, not from a static glow. */

.rate-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
    position: relative;
}

.rate-item + .rate-item {
    margin-top: 1.1rem;
}

.rate-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.rate-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.3rem 0;
    color: var(--white);
    letter-spacing: -0.02em;
}

.rate-meter {
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

/* Fills via transform (compositor-friendly), not width, and starts at 0
   until the IntersectionObserver in the layout marks it visible; see
   .rate-meter-fill.is-visible. */
.rate-meter span {
    display: block;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rate-meter span.is-visible {
    transform: scaleX(var(--rate-fraction, 0));
}

.rate-foot {
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
}


.related-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    overflow: hidden;
}

.related-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--gov-blue-200);
}

.related-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.related-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* The primary portal is the entry point into every other government
   service, so it gets a tinted surface, a larger mark, and an underlined
   title (a document heading rule, not a colored side bar); the other two
   read as its supporting list. */
.related-card--featured {
    background: linear-gradient(165deg, var(--gov-blue-50) 0%, var(--white) 55%);
}

.related-card--featured h6 {
    font-size: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--gov-blue-200);
}

.related-card--featured .related-icon {
    width: 72px;
    height: 72px;
    font-size: 2rem;
}

.related-primary {
    background: var(--gov-blue-50);
    color: var(--gov-blue);
}

.related-success {
    background: var(--green-50);
    color: var(--green);
}

.related-danger {
    background: var(--red-50);
    color: var(--red);
}

.related-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-400);
    transition: all var(--transition);
}

.related-card:hover .related-arrow {
    background: var(--gov-blue);
    color: var(--white);
}


.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 3rem;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.7;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-inner {
    padding: 3rem 0 1.5rem;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
}

.footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-wordmark {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
}

.footer-tagline {
    margin-top: 0.4rem;
    color: var(--footer-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.footer-desc {
    margin-top: 0.5rem;
    color: var(--footer-muted);
    max-width: 36ch;
    line-height: 1.65;
    font-size: 0.85rem;
}

.footer-col-title {
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--footer-muted);
    margin-bottom: 0.85rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li + li {
    margin-top: 0.45rem;
}

.footer-nav-list a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--white);
}

.footer-connect-text {
    color: var(--footer-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 0.4rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-social-link:hover {
    background: var(--white);
    color: var(--footer-bg);
    border-color: var(--white);
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}

.footer-copy {
    color: var(--footer-muted);
    font-size: 0.78rem;
}

.footer-powered {
    color: var(--footer-muted);
    font-size: 0.78rem;
}

.footer-powered a {
    color: var(--footer-text);
    text-decoration: none;
}

.footer-powered a:hover {
    color: var(--white);
}


.auth-section {
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-icon {
    width: 64px;
    height: 64px;
    background: var(--gov-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}


.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.card-body {
    padding: 1.5rem;
}


.table {
    font-size: 0.875rem;
}

.table thead th {
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
    background: var(--gray-50);
}

.table-hover tbody tr:hover {
    background: var(--gov-blue-50);
}


.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border-color: var(--gray-300);
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gov-blue) !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.input-group-text {
    border-color: var(--gray-300);
    background: var(--gray-50);
    color: var(--gray-400);
}


.breadcrumb-custom {
    background: var(--gray-50);
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    display: inline-flex;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--gov-blue);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--gov-blue-dark);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--gray-500);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    color: var(--gray-400);
}


.badge {
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
}


.hover-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gov-blue-200);
}


.contact-hero {
    background: var(--gov-blue);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.contact-hero .btn-primary {
    background: var(--white);
    border-color: var(--white);
    color: var(--gov-blue);
    font-weight: 700;
}

.contact-hero .btn-primary:hover {
    background: var(--gov-blue-100);
    border-color: var(--gov-blue-100);
    color: var(--gov-blue-dark);
}

.contact-hero .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
}

.contact-hero .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}


.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

/* Floating legend/filter panel on /peta and /si-esik/infrastruktur.
   Width lives here (not as an inline style) so the media query below can
   actually override it and reserve space for the basemap switcher card
   pinned at top-0/end-0, both collapsed and expanded. */
.map-legend-panel {
    max-width: 350px;
    width: 100%;
}

@media (max-width: 767.98px) {
    .map-legend-panel {
        max-width: calc(100% - 160px);
    }
}

.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    width: 280px !important;
}

.leaflet-container a.leaflet-popup-close-button {
    color: var(--white);
    padding: 8px;
    z-index: 10;
}

.custom-popup-header {
    padding: 12px 16px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.custom-popup-body {
    padding: 16px;
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.55;
}

.form-check-input:checked {
    background-color: var(--gov-blue);
    border-color: var(--gov-blue);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}


.progress {
    border-radius: var(--radius-full);
    background: var(--gray-100);
}

.progress-bar {
    border-radius: var(--radius-full);
}


*:focus,
*:focus-visible {
    outline: none !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus,
.btn-close:focus {
    outline: none !important;
}

.leaflet-container,
.leaflet-container:focus,
.leaflet-container:active,
.leaflet-interactive,
.leaflet-interactive:focus,
.leaflet-marker-icon:focus,
.leaflet-marker-shadow:focus,
.leaflet-image-layer:focus,
.leaflet-pane:focus,
.leaflet-popup-close-button:focus,
.leaflet-control-zoom-in:focus,
.leaflet-control-zoom-out:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

#basemap-selector:focus {
    background-color: transparent !important;
    border: 0 !important;
}


@media (max-width: 991.98px) {
    .nav-item-cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .nav-cta-btn {
        display: flex;
        justify-content: center;
    }

    .navbar-collapse {
        padding: 0.75rem 0 0.5rem;
        border-top: 1px solid var(--gray-100);
        margin-top: 0.5rem;
    }

    /* Give the header a solid backdrop while the mobile menu is open.
       The default translucent + blurred background is fine over a plain
       hero, but it lets busy content underneath (map tiles, overlay
       cards on /peta and /si-esik/infrastruktur) ghost through the open
       menu, making it look broken. */
    .site-header:has(.navbar-collapse.show) {
        background: var(--white);
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 768px) {
    .frontend-main {
        padding-top: 64px;
    }

    .brand-sep {
        height: 24px;
    }

    .brand-akhlak {
        height: 24px;
        max-width: 180px;
    }

    .hero-surface {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-image {
        min-height: 220px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-hero {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .leaflet-popup-content {
        width: 240px !important;
    }

    .position-absolute.top-0.start-0 {
        padding: 1rem !important;
    }

    .position-absolute.top-0.end-0 {
        padding: 1rem !important;
    }

    #legend-content {
        display: none;
    }

    #legend-content.show {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stat-item {
        padding: 0.5rem;
    }

    .footer-socials {
        justify-content: center;
    }
}
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Geist", sans-serif;
    background: #f5f5f5;
    color: #444444;
}

a {
    color: #1e40af;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Geist", sans-serif;
}


#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

@media (min-width: 1921px) {
    #main {
        max-width: 1900px;
    }
}


.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}


.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #1e40af;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}



.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}


.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}


.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Geist", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}


.alert-heading {
    font-weight: 500;
    font-family: "Geist", sans-serif;
    font-size: 20px;
}


.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}


.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #1e40af;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}


.breadcrumb {
    font-size: 14px;
    font-family: "Geist", sans-serif;
    color: #899bbd;
    font-weight: 400;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}


.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #1e40af;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #691313;
    color: #1e40af;
    border-bottom: 2px solid #1e40af;
}


.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
    margin-right: 6px;
}

.logo span {
    font-size: 20px;
    font-weight: 600;
    color: #012970;
    font-family: "Geist", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    
    
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: poGeist;
    color: #012970;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}


.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}


.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {
    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {
    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-heading {
    font-size: 12px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
    margin: 15px 0 8px 15px;
    letter-spacing: 0.5px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #344767;
    transition: all 0.3s ease;
    background: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-left: 2px solid transparent;
    position: relative;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 12px;
    color: #667085;
    transition: all 0.3s ease;
}

.sidebar-nav .nav-link.collapsed {
    color: #344767;
    background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.04);
}

.sidebar-nav .nav-link:hover i {
    color: #1e40af;
}

.sidebar-nav .nav-link:not(.collapsed) {
    background: #f8fafc;
    border-left: 2px solid #667085;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 0;
}

.sidebar-nav .nav-link:not(.collapsed) i {
    color: #344767;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    padding: 10px 0 10px 46px;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #344767;
    font-weight: 600;
    padding-left: 48px;
}

.sidebar-nav .nav-content a.active:before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #667085;
    border-radius: 50%;
}

.sidebar-nav .nav-content a.active i {
    background-color: #1e40af;
}



.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #1e40af;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}


.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #1e40af;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}


.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}


.dashboard .news .post-item + .post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #1e40af;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}


.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}


.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}


.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}


.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}


.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
}

.faq .basic p {
    color: #6980aa;
}


.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #1e40af;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #1e40af;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
    background: #1e40af;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}


.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}

.footer .copyright {
    text-align: center;
    color: #012970;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}

.sidebar-nav .nav-content,
.sidebar-nav .nav-content li {
    list-style: none !important;
}

.sidebar-nav .nav-content a::before,
.sidebar-nav .nav-content a.active::before {
    content: none !important;
}

.sidebar-nav .nav-content a i {
    display: none !important;
}

.sidebar-nav .nav-content a {
    padding-left: 32px !important;
}
.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    padding-left: 39px !important;
}

.sidebar-nav .nav-content a {
    position: relative;
    border-radius: 6px;
}


.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    background-color: #f6f9ff;
    border-radius: 0;
}


.sidebar-nav .nav-content a.active:before {
    content: none !important;
}

.sidebar-nav .nav-content a.active::after {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background-color: #1e40af;
    border-radius: 2px;
}


.eksi-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.eksi-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(
        circle at right,
        rgba(13, 110, 253, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.eksi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.eksi-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.eksi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-color, #0d6efd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eksi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
    color: inherit;
}

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

.eksi-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--icon-bg);
    color: var(--card-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.eksi-card:hover .eksi-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.eksi-card-content {
    flex-grow: 1;
}

.eksi-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #2b3445;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eksi-card-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0;
}

.eksi-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--card-color);
    font-size: 1.25rem;
}

.eksi-card:hover .eksi-arrow {
    opacity: 1;
    transform: translateX(0);
}


.error-page-wrapper {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.error-icon {
    font-size: 5rem;
    color: var(--gov-blue);
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--gov-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: var(--shadow-sm);
}

.error-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.error-description {
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}
