/* =========================================================
   FILE      : assets/css/custom.css
   DESKRIPSI : Style gabungan layout admin dan publik.
               Dirancang dengan prinsip minimalis, modern, 
               bersih, dan premium.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --sidebar-width: 260px;
    
    /* Theme Colors (Natural Corporate Teal, Sage & Gold) */
    --brand-primary: #eef1f2;
    --brand-primary-hover: #184C56;
    --brand-primary-light: #ebf2f3;
    --brand-secondary: #5C7A5B;
    --brand-accent: #D4A45A;
    --brand-gradient: #1F5F6B;
    
    /* Neutral Palette */
    --bg-main: #F8F7F2;
    --bg-card: #FFFFFF;
    --text-main: #2C2C2C;
    --text-muted: #6C757D;
    --border-color: #E5E5E5;
    
    /* Layout - Sidebar */
    --sidebar-bg: #1F5F6B;
    --sidebar-text: #ebf2f3;
    --sidebar-text-hover: #ffffff;
    
    /* Layout - Topbar & Admin */
    --topbar-bg: #ffffff;
    
    /* Shadow System (Very thin or no shadow per request) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-primary: none;
    
    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px; /* Button border radius 8px */
    --radius-lg: 12px; /* Card border radius 12px */
    --radius-circle: 50%;
    
    /* Transition */
    --transition-smooth: all 0.25s ease-in-out;



    /* Tambahkan */
    --bumn-blue: #003366;
    --bumn-cyan: #00A3E0;



}

/* ============ GENERAL RESET & FONTS ============ */
body {
    background-color: var(--bg-main);
   font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling for premium look */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============ LAYOUT ADMIN - SIDEBAR ============ */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background-color: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    transition: var(--transition-smooth);
    z-index: 1030;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.sidebar .brand {
    padding: 1.5rem 1.25rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sidebar .brand i {
    color: #22c55e;
}

.sidebar .nav-list {
    padding: 1rem 0;
    flex-grow: 1;
}

.sidebar .nav-link {
    color: var(--sidebar-text);
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.2rem 0.8rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    border-left: none; /* remove legacy line styling */
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--sidebar-text-hover);
}

.sidebar .nav-link:hover i {
    transform: translateX(2px);
}

.sidebar .nav-link.active {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.sidebar hr {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 0.75rem 0.8rem;
}

/* ============ LAYOUT ADMIN - MAIN WRAPPER ============ */
.main-wrapper {
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--transition-smooth);
}

/* ============ LAYOUT ADMIN - TOPBAR ============ */
.topbar {
    background-color: var(--topbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
}

/* ============ LAYOUT ADMIN - CONTENT ============ */
.content {
    flex: 1;
    padding: 2rem;
}

/* ============ ADMIN - STATISTIK CARDS ============ */
.stat-card {
    border: none;
    border-radius: var(--radius-lg);
    color: #fff;
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    z-index: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.08);
    z-index: -1;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
    transform: scale(1.2);
}

.stat-card .stat-icon {
    font-size: 2.8rem;
    opacity: 0.7;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-top: 0.25rem;
}

.bg-umkm     { background: linear-gradient(135deg, #10b981, #047857); }
.bg-produk   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.bg-kategori { background: linear-gradient(135deg, #f97316, #c2410c); }
.bg-galeri   { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* ============ LAYOUT ADMIN - FOOTER ============ */
.footer {
    background-color: #fff;
    text-align: center;
    padding: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* ============ PUBLIC WEBPAGE STYLING ============ */
.content-public {
    background-color: var(--bg-main);
    min-height: 80vh;
}

/* Public Typography */
.content-public h1, .content-public h2, .content-public h3, .content-public h4, .content-public h5, .content-public h6 {
   font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    font-weight: 700;
}

/* Public Navbar */
.navbar {
    height: 75px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 !important;
    transition: var(--transition-smooth);
    background-color: var(--brand-primary) !important;
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #000000 !important;
}

.navbar-brand i {
    color: var(--brand-accent) !important;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #000000 !important;
    padding: 24px 16px !important; /* height matching navbar */
    margin: 0;
    border-radius: 0;
    position: relative;
    background: transparent !important;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #003366; /* BIRU */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
    .navbar-nav .nav-link:hover::after {
        transform: scaleX(1);
    }

    .navbar-nav .nav-link:hover {
        color: #000000 !important;
    }
}

/* Public Hero Section - Flat 2-Column */
.hero-section {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    display: inline-block;
    color: var(--brand-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Theme buttons (flat, 8px radius) */
.btn-theme-primary {
    background-color: var(--brand-primary);
    color: #FFFFFF !important;
    border: none;
    border-radius: var(--radius-md); /* 8px */
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-theme-outline {
    background-color: transparent;
    color: var(--brand-primary) !important;
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius-md); /* 8px */
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .btn-theme-primary:hover {
        background-color: var(--brand-primary-hover);
    }

    .btn-theme-outline:hover {
        background-color: transparent !important;
        border-color: #000000 !important;
        color: #000000 !important;
    }
}

/* Card Modern Style - Flat, 12px radius, thin border, light shadow */
.card-modern {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important; /* 12px */
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition-smooth) !important;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}


/* Icon Wrapper */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-circle);
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-size: 1.3rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Info Badges (Mini Contact Cards) */
.info-badge {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.35rem;
    height: 100%;
    transition: var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
    .info-badge:hover {
        border-color: var(--brand-primary);
    }
}

/* =========================================================
   FOOTER PUBLIC - CORPORATE / BUMN STYLE
========================================================= */

.footer-public {
    background: #003366 !important;
    border-top: 4px solid #0d6efd;
    margin-top: 0 !important;
    padding: 60px 0 20px !important;
    color: #ffffff;
}


/* =========================================================
   FOOTER - JUDUL KOLOM
========================================================= */

.footer-public h6 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 22px !important;
    padding-bottom: 12px;
    position: relative;
}


/* Garis biru di bawah judul */

.footer-public h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: #0d6efd;
    border-radius: 3px;
}


/* =========================================================
   FOOTER - KONTAK
========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}


.footer-contact-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    color: #ffffff;
    font-size: 14px;

    transition: all 0.25s ease;
}


@media (hover: hover) and (pointer: fine) {
    .footer-contact-item:hover .footer-contact-icon {
        background: #0d6efd;
        border-color: #0d6efd;
    }
}


.footer-label {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
}


.footer-contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER - TAUTAN
========================================================= */

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


.footer-links li {
    margin-bottom: 12px;
}


.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.7) !important;

    font-size: 13px;
    text-decoration: none;

    transition: all 0.25s ease;
}


.footer-links a i {
    font-size: 9px;
    color: #0d6efd;
    transition: transform 0.25s ease;
}


@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover {
        color: #ffffff !important;
        padding-left: 4px;
    }


    .footer-links a:hover i {
        transform: translateX(3px);
    }
}


/* =========================================================
   FOOTER - SOSIAL MEDIA
========================================================= */

.footer-social-text {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
    line-height: 1.7;
    max-width: 330px;
    margin-bottom: 20px;
}


.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}


.footer-social a {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    color: #ffffff !important;
    font-size: 17px;

    text-decoration: none;

    transition: all 0.25s ease;
}


@media (hover: hover) and (pointer: fine) {
    .footer-social a:hover {
        background: #0d6efd;
        border-color: #0d6efd;

        color: #ffffff !important;

        transform: translateY(-3px);
    }
}


/* =========================================================
   FOOTER - BAGIAN BAWAH
========================================================= */

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);
}


.footer-copyright {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}


.footer-government {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================================
   FOOTER - RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .footer-public {
        padding: 45px 0 20px !important;
    }

    .footer-public .row {
        row-gap: 35px !important;
    }

    .footer-bottom {
        margin-top: 35px;
    }

    .footer-social {
        margin-top: 10px;
    }

}

/* Carousel Control Overrides */
.carousel-controls-wrapper {
    justify-content: flex-start;
}

.btn-carousel-control {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--brand-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

@media (hover: hover) and (pointer: fine) {
    .btn-carousel-control:hover {
        background-color: var(--brand-primary);
        color: #FFFFFF;
        border-color: var(--brand-primary);
    }
}

/* Clean breadcrumb */
.breadcrumb-item a {
    color: var(--brand-secondary) !important;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--text-main) !important;
    font-weight: 600;
}

/* Responsive grid adjustments */
.max-width-1200 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Bootstrap success style overrides to match our primary color */
.btn-success {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-md) !important; /* 8px */
    padding: 0.5rem 1.25rem !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth) !important;
    box-shadow: none !important;
}

.btn-outline-success {
    background-color: transparent !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-primary) !important;
    border-radius: var(--radius-md) !important; /* 8px */
    padding: 0.5rem 1.25rem !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth) !important;
}

@media (hover: hover) and (pointer: fine) {
    .btn-success:hover {
        background-color: var(--brand-primary-hover) !important;
        border-color: var(--brand-primary-hover) !important;
    }

    .btn-outline-success:hover {
        background-color: transparent !important;
        color: #000000 !important;
        border-color: #000000 !important;
    }
}

.bg-success {
    background-color: var(--brand-primary) !important;
}

.bg-success.bg-opacity-10 {
    background-color: var(--brand-primary-light) !important;
}

.text-success {
    color: var(--brand-primary) !important;
}

/* Categories Active Item */
.list-group-item.active.bg-success {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #FFFFFF !important;
}

/* Custom Navbar Search Button */
.btn-nav-search {
    background-color: var(--brand-accent) !important;
    border: none !important;
    color: #2C2C2C !important;
    border-radius: var(--radius-sm) !important;
    transition: var(--transition-smooth) !important;
}
@media (hover: hover) and (pointer: fine) {
    .btn-nav-search:hover {
        background-color: #c59650 !important;
        color: #2C2C2C !important;
    }
}

@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid var(--border-color) !important;
    }
}

/* Tombol Carousel */
.btn-carousel-outline {
    min-width: 150px;
    padding: 0.75rem 2.5rem;
    color: #FFFFFF !important;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .btn-carousel-outline:hover {
        background-color: transparent !important;
        color: #FFFFFF !important;
        border-color: #000000 !important;
    }
}



/* =========================================================
   ABOUT PAGE - MODERN PROFILE DESIGN
========================================================= */

.about-section {
    min-height: 650px;
    padding: 6rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-label {
    display: inline-block;
    color: var(--brand-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.about-title {
    color: var(--brand-primary);
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-title span {
    color: var(--brand-secondary);
}

.about-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn-about {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border: 1px solid var(--brand-primary);
    border-radius: 5px;
    color: var(--brand-primary);
    background-color: transparent;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .btn-about:hover {
        background-color: transparent !important;
        color: #000000 !important;
        border-color: #000000 !important;
    }
}

.about-image-wrapper {
    width: 100%;
    height: 600px;
    max-width: 420px;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   PUBLIC WEBSITE - BLACK FONT COLOR OVERRIDE
   (Excluding Carousel / Slider section)
   ========================================================= */




.about-section .col-lg-6:first-child {
    transform: translateY(-30px);
}


@media (hover: hover) and (pointer: fine) {
    .kategori-card:hover::before {
        opacity: 1;
    }
}



.umkm-desc{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ============================
   UMKM CARD - PROFESSIONAL
============================ */

.card-modern .card-img-top{
    height:240px;
    object-fit:cover;
    transition:.4s;
}



.card-body{
    padding:1.5rem;
}

.card-body h5,
.card-body h6{
    font-size:1.05rem;
    font-weight:700;
    margin-bottom:.2rem;
    color:#222;
}

.card-body .badge{
    display:inline-block;
    padding:.45rem .9rem;
    border-radius:999px;
    background:#eef4ef !important;
    color:#2d6a4f !important;
    font-size:.75rem;
    font-weight:600;
}

.card-body p{
    font-size:.9rem;
    color:#6c757d;
    line-height:1.6;
}

.card-body .border-top{
    border-color:#ececec !important;
}

/* Tombol */

.btn-detail-outline{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:.85rem 1rem;
    border:1.5px solid #d8d8d8;
    border-radius:10px;
    background:#fff;
    color:#222;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

@media (hover: hover) and (pointer: fine) {
    .btn-detail-outline:hover{
        background:#fff !important;
        color:#000000 !important;
        border-color:#000000 !important;
    }
}

.btn-detail-outline:focus,
.btn-detail-outline:focus-visible,
.btn-detail-outline:active{
    background:#fff !important;
    color:#222 !important;
    border-color:#222 !important;
    box-shadow:none !important;
    outline:none !important;
}




/* ================= GALERI MODERN ================= */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* Overlay gelap */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-overlay h6 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Hover effect (khusus perangkat dengan mouse, agar tidak perlu 2x tap di HP) */
@media (hover: hover) and (pointer: fine) {
    .gallery-card:hover img {
        transform: scale(1.08);
    }

    .gallery-card:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }
}

/* =========================================================
   UMKM PAGE - FILTER & DIRECTORY
========================================================= */


/* =========================================================
   FILTER CARD
========================================================= */

.umkm-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.06);
    position: sticky;
    top: 100px;
}


/* HEADER FILTER */

.umkm-filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}


.umkm-filter-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 163, 224, 0.08);
    color: #00A3E0;

    border-radius: 8px;

    font-size: 18px;
}


.umkm-filter-header h6 {
    color: #003366;
    font-weight: 700;
    font-size: 14px;
}


.umkm-filter-header small {
    color: #64748b;
    font-size: 11px;
}


/* =========================================================
   FILTER ITEM
========================================================= */

.umkm-filter-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.umkm-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 11px 12px;

    color: #475569 !important;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    border-radius: 7px;

    transition: all 0.25s ease;
}


.umkm-filter-item.active {
    background: #003366;
    color: #ffffff !important;
    font-weight: 600;

    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.15);
}


.umkm-filter-item i {
    font-size: 10px;
    transition: transform 0.25s ease;
}


.umkm-filter-item.active i {
    color: #00A3E0;
}

/* Hover hanya untuk perangkat dengan mouse (item filter adalah link <a>) */
@media (hover: hover) and (pointer: fine) {
    .umkm-filter-item:hover {
        background: #f1f7fb;
        color: #003366 !important;
        padding-left: 16px;
    }

    .umkm-filter-item.active:hover {
        background: #0b4d95;
        color: #ffffff !important;
    }

    .umkm-filter-item:hover i {
        transform: translateX(2px);
    }
}


/* JUMLAH KATEGORI */

.umkm-filter-count {
    min-width: 25px;
    height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 7px;

    background: #f1f5f9;
    color: #475569;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
}


.umkm-filter-item.active .umkm-filter-count {
    background: #ffffff;
    color: #003366;
}


/* =========================================================
   HASIL PENCARIAN / JUMLAH UMKM
========================================================= */

.umkm-result-label {
    color: #64748b;
    font-size: 13px;
}


.umkm-result-number {
    color: #003366;
    font-size: 14px;
    margin: 0 4px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.umkm-empty-state {
    padding: 70px 30px;

    text-align: center;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 12px;
}


.umkm-empty-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    background: rgba(0, 163, 224, 0.08);
    color: #00A3E0;

    border-radius: 50%;

    font-size: 27px;
}


.umkm-empty-state h5 {
    color: #003366;
    font-weight: 700;
    margin-bottom: 8px;
}


.umkm-empty-state p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 20px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .umkm-filter-card {
        position: static;
    }

}


@media (max-width: 767px) {

    .umkm-filter-card {
        padding: 15px;
    }

    .umkm-filter-item {
        padding: 10px;
    }

    .umkm-empty-state {
        padding: 50px 20px;
    }

}

/* =========================================================
   UMKM CARD - CORPORATE / BUMN
========================================================= */

.umkm-card-bumn {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.06);

    transition: all 0.3s ease;
}


/* Hover Card (khusus perangkat dengan mouse — mencegah double-tap
   pada link "Selengkapnya" di dalam kartu saat di HP) */

@media (hover: hover) and (pointer: fine) {
    .umkm-card-bumn:hover {
        transform: translateY(-6px);

        box-shadow: 0 18px 35px rgba(0, 51, 102, 0.16);
    }
}


/* =========================================================
   COVER IMAGE
========================================================= */

.umkm-cover-container {
    position: relative;

    width: 100%;
    height: 200px;

    overflow: hidden;

    background: #f1f5f9;
}


.umkm-cover {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


@media (hover: hover) and (pointer: fine) {
    .umkm-card-bumn:hover .umkm-cover {
        transform: scale(1.08);
    }
}


/* =========================================================
   BADGE KATEGORI
========================================================= */

.umkm-badge {
    position: absolute;

    top: 15px;
    right: 15px;

    background: linear-gradient(
        135deg,
        #003366 0%,
        #00A3E0 100%
    );

    color: #ffffff;

    font-size: 0.7rem;
    font-weight: 600;

    padding: 0.35rem 0.85rem;

    border-radius: 20px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

    z-index: 2;
}


/* =========================================================
   LOGO UMKM
========================================================= */

.umkm-logo-container {
    margin-top: -28px;
    margin-left: 20px;

    position: relative;

    z-index: 5;
}


.umkm-logo {
    width: 56px;
    height: 56px;

    border-radius: 50%;

    border: 3px solid #ffffff;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

    background-color: #ffffff;

    object-fit: cover;
}


/* =========================================================
   JUDUL UMKM
========================================================= */

.umkm-title {
    font-weight: 700;

    color: #003366;

    font-size: 1.05rem;

    line-height: 1.4;

    transition: color 0.25s ease;
}


@media (hover: hover) and (pointer: fine) {
    .umkm-card-bumn:hover .umkm-title {
        color: #00A3E0;
    }
}


/* =========================================================
   LINK SELENGKAPNYA
========================================================= */

.btn-bumn-link {
    color: #003366 !important;

    font-weight: 700;

    text-decoration: none;

    display: inline-flex;
    align-items: center;

    gap: 0.4rem;

    font-size: 0.85rem;

    transition: all 0.25s ease;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.btn-bumn-link i {
    transition: transform 0.25s ease;
}


/* Hover hanya untuk perangkat dengan mouse (btn-bumn-link adalah <a> itu sendiri,
   tanpa guard ini tap pertama di HP akan "dimakan" untuk trigger hover) */
@media (hover: hover) and (pointer: fine) {
    .btn-bumn-link:hover {
        color: #0a58ca !important;
    }

    .btn-bumn-link:hover i {
        transform: translateX(4px);
    }
}

/* =========================================================
   KATEGORI UMKM - CORPORATE / BUMN STYLE
========================================================= */

.umkm-kategori {
    padding: 70px 0;
    background-color: #f8fafc;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 40px;
}

.section-eyebrow {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--bumn-cyan);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.section-title {
    margin-bottom: 10px;

    color: var(--bumn-blue);

    font-size: 2rem;
    font-weight: 800;
}

.section-description {
    max-width: 650px;

    margin-bottom: 0;

    color: #64748b;

    font-size: 0.92rem;
    line-height: 1.7;
}


/* =========================================================
   KATEGORI GRID
========================================================= */

.kategori-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* =========================================================
   KATEGORI CARD
========================================================= */

.kategori-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 160px;

    padding: 28px 24px;

    background-color: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    text-decoration: none !important;

    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.04);

    transition: all 0.3s ease;
}


/* =========================================================
   HOVER CARD (khusus perangkat dengan mouse — kategori-card
   adalah <a>, tanpa guard ini menyebabkan double-tap di HP)
========================================================= */

@media (hover: hover) and (pointer: fine) {
    .kategori-card:hover {
        transform: translateY(-5px);

        border-color: var(--bumn-cyan);

        box-shadow: 0 12px 28px rgba(0, 51, 102, 0.10);
    }
}


/* =========================================================
   ICON
========================================================= */



/* ICON SAAT HOVER */


/* =========================================================
   NAMA KATEGORI
========================================================= */

.kategori-card h3 {
    margin-bottom: 8px;

    color: var(--bumn-blue);

    font-size: 1.05rem;
    font-weight: 700;
}


/* =========================================================
   DESKRIPSI
========================================================= */

.kategori-card p {
    margin-bottom: 20px;

    color: #64748b;

    font-size: 0.82rem;
}


/* =========================================================
   LINK "LIHAT UMKM"
========================================================= */

.kategori-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: auto;

    color: var(--bumn-blue);

    font-size: 0.8rem;
    font-weight: 700;

    transition: all 0.3s ease;
}


/* ICON PANAH */

.kategori-link i {
    font-size: 0.7rem;

    transition: transform 0.3s ease;
}


/* LINK & PANAH SAAT HOVER (khusus perangkat dengan mouse) */

@media (hover: hover) and (pointer: fine) {
    .kategori-card:hover .kategori-link {
        color: var(--bumn-cyan);
    }

    .kategori-card:hover .kategori-link i {
        transform: translateX(4px);
    }
}


/* =========================================================
   TABLET & MOBILE RESPONSIVE NAV & LAYOUT
========================================================= */

@media (max-width: 991px) {
    .navbar {
        height: auto !important;
        padding: 10px 15px !important;
        background-color: #003366 !important; /* BUMN Blue background on mobile */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .navbar-brand {
        color: #ffffff !important;
    }
    
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5) !important;
        padding: 4px 8px !important;
    }
    
    .navbar-toggler-icon {
        filter: invert(1) grayscale(1) brightness(2) !important; /* Force toggle bars to be white */
    }
    
    .navbar-collapse {
        background-color: #003366 !important;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 15px;
    }
    
    .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
        padding-left: 10px;
    }
    
    .navbar-nav .nav-link {
        color: #ffffff !important; /* White text on mobile view */
        padding: 10px 15px !important;
        width: 100%;
        text-align: left;
        border-radius: 4px;
    }
    
    .navbar-nav .nav-link::after {
        display: none !important; /* Disable animated underline on mobile dropdown */
    }
    
    .navbar-nav .nav-link.active {
        color: var(--brand-accent) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
    }

    @media (hover: hover) and (pointer: fine) {
        .navbar-nav .nav-link:hover {
            color: var(--brand-accent) !important;
            background-color: rgba(255, 255, 255, 0.08) !important;
        }
    }
    
    /* Search form layout in dropdown */
    .navbar-collapse form {
        margin-top: 15px;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
    
    .navbar-collapse form input {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .navbar-collapse form input::placeholder {
        color: rgba(255, 255, 255, 0.6) !important;
    }

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


/* =========================================================
   MOBILE SCREENS (SMALL MOBILE)
========================================================= */

@media (max-width: 575px) {
    .hero-section {
        padding: 3rem 0 !important;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
    }

    .hero-img {
        height: 250px !important;
    }

    .umkm-kategori {
        padding: 50px 0;
    }

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

    .kategori-grid {
        grid-template-columns: 1fr;
    }

    .kategori-card {
        min-height: 210px;
    }
}

/* =========================================================
   ICON KATEGORI
========================================================= */

.kategori-card .icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: rgba(0, 163, 224, 0.08);
    color: #003366;

    border-radius: 50%;

    font-size: 28px;

    transition: all 0.3s ease;
}

.kategori-card .icon i {
    font-size: 28px;
}

@media (hover: hover) and (pointer: fine) {
    .kategori-card:hover .icon {
        background-color: #003366;
        color: #ffffff;
        transform: translateY(-3px);
    }
}

.kategori-section {
    padding-top: 60px;
    padding-bottom: 70px;
}

/* ============================================================
   GALERI KEGIATAN
============================================================ */

.gallery-card-bumn {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

/* Hover hanya untuk perangkat dengan mouse (gallery-card-bumn
   adalah tag <a> itu sendiri) */
@media (hover: hover) and (pointer: fine) {
    .gallery-card-bumn:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    }
}


/* IMAGE */

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-image-bumn {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gallery-card-bumn:hover .gallery-image-bumn {
        transform: scale(1.06);
    }
}


/* OVERLAY */

.gallery-overlay-bumn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.85),
        rgba(15, 23, 42, 0.15) 60%,
        transparent
    );
}

.gallery-overlay-content {
    width: 100%;
}

.gallery-overlay-content h6 {
    color: #fff;
    margin: 8px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ICON */

.gallery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-primary);

    font-size: 0.95rem;
}


/* SUBTITLE */

.gallery-subtitle {
    font-size: 0.95rem;
}


/* ============================================================
   RESPONSIVE HP
============================================================ */

@media (max-width: 575.98px) {

    .gallery-subtitle {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .gallery-see-more {
        font-size: 0.78rem;
        padding: 7px 12px;
    }

    .gallery-image-wrapper {
        aspect-ratio: 1 / 1;
    }

    .gallery-overlay-bumn {
        padding: 10px;
    }

    .gallery-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .gallery-overlay-content h6 {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 6px;
    }

}


/* =========================================================
   HAMBURGER MENU MOBILE
========================================================= */

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
}

.hamburger-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
}

/* ============================================================
   TAMBAHAN CSS UNTUK umkm.php
   Cari file CSS yang berisi .umkm-filter-card / .umkm-filter-item
   lalu tambahkan blok berikut di bawahnya.
============================================================= */

.sticky-top-sidebar {
    position: sticky;
    top: 110px;
    z-index: 10;
}

.umkm-filter-item {
    transition: .25s;
}

@media (hover: hover) and (pointer: fine) {
    .umkm-filter-item:hover {
        transform: translateX(6px);
    }
}

.umkm-filter-item.active {
    border-left: 4px solid #D4A45A;
}

.umkm-filter-list {
    max-height: 450px;
    overflow-y: auto;
}

/* =========================================================
   KONTAK PAGE - CORPORATE / BUMN STYLE
========================================================= */

.contact-page-header {
    background: #003B5C;
    padding: 55px 0 60px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-page-header::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -160px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.contact-page-header::before {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -200px;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}


/* BREADCRUMB */

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.contact-breadcrumb a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
}

.contact-breadcrumb span:last-child {
    color: #ffffff;
    font-weight: 600;
}


/* HEADER CONTENT */

.contact-header-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #49B3D4;
    margin-bottom: 12px;
}

.contact-page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff !important;
}

.contact-page-header p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.78) !important;
    font-size: 0.98rem;
    line-height: 1.8;
}


/* =========================================================
   MAIN CONTACT
========================================================= */

.contact-main {
    padding: 75px 0;
    background: #f7f9fb;
}


/* SECTION TITLE */

.contact-section-label {
    margin-bottom: 30px;
}

.contact-section-label > span {
    display: block;
    color: #0086B3 !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
}

.contact-section-label h2 {
    color: #003B5C !important;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-section-label p {
    color: #667085 !important;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}


/* =========================================================
   CONTACT INFO CARD
========================================================= */

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    background: #ffffff;
    border: 1px solid #e3e8ed;

    padding: 20px;

    margin-bottom: 14px;

    transition: all 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-info-card:hover {
        border-color: #0086B3;
        transform: translateX(4px);
        box-shadow: 0 5px 18px rgba(0,59,92,0.06);
    }
}


.contact-info-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf6fa;
    color: #006B8F;

    font-size: 1.05rem;
}


.contact-info-content span {
    display: block;
    color: #667085 !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}


.contact-info-content p {
    margin: 0;
    color: #222222 !important;
    font-size: 0.88rem;
    line-height: 1.7;
}


.contact-info-content a {
    color: #003B5C !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

@media (hover: hover) and (pointer: fine) {
    .contact-info-content a:hover {
        color: #0086B3 !important;
    }
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.contact-social-box {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #dfe5ea;
}

.contact-social-title span {
    display: block;
    color: #667085 !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-social-title h5 {
    color: #003B5C !important;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
}


.contact-social-list {
    display: flex;
    gap: 10px;
}

.contact-social-list a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #003B5C;
    color: #ffffff !important;

    text-decoration: none;

    font-size: 1rem;

    transition: all 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-social-list a:hover {
        background: #0086B3;
        transform: translateY(-3px);
    }
}


/* =========================================================
   MAP CARD
========================================================= */

.contact-map-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e1e7ec;
}


/* MAP HEADER */

.contact-map-header {
    padding: 25px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e5e9ed;
}

.contact-map-header span {
    display: block;
    color: #0086B3 !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.contact-map-header h2 {
    margin: 0;
    color: #003B5C !important;
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-map-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf6fa;
    color: #006B8F;

    font-size: 1rem;
}


/* =========================================================
   MAP IMAGE
========================================================= */

.contact-map-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.contact-map-image {
    display: block;

    width: 100%;
    height: 385px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-map-image-link:hover .contact-map-image {
        transform: scale(1.025);
    }
}


/* MAP OVERLAY */

.contact-map-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,59,92,0.35);

    opacity: 0;

    transition: all 0.3s ease;
}

.contact-map-overlay span {
    background: #ffffff;
    color: #003B5C;

    padding: 11px 18px;

    font-size: 0.78rem;
    font-weight: 700;

    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

@media (hover: hover) and (pointer: fine) {
    .contact-map-image-link:hover .contact-map-overlay {
        opacity: 1;
    }
}


/* =========================================================
   MAP FOOTER
========================================================= */

.contact-map-footer {
    padding: 20px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.contact-map-address {
    display: flex;
    align-items: center;
    gap: 13px;
}

.contact-map-address > i {
    color: #0086B3;
    font-size: 1.2rem;
}

.contact-map-address span {
    display: block;
    color: #667085 !important;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-map-address p {
    margin: 0;
    color: #003B5C !important;
    font-size: 0.85rem;
    font-weight: 600;
}


/* ROUTE BUTTON */

.contact-route-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #003B5C;
    color: #ffffff !important;

    padding: 11px 18px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-route-button:hover {
        background: #0086B3;
        color: #ffffff !important;
    }
}


/* =========================================================
   CTA
========================================================= */

.contact-cta {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid #e5e9ed;
}


.contact-cta-inner {
    background: #003B5C;

    padding: 30px 35px;

    display: flex;
    align-items: center;

    gap: 22px;
}


.contact-cta-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.1);

    color: #ffffff;

    font-size: 1.2rem;
}


.contact-cta-text {
    flex: 1;
}

.contact-cta-text span {
    display: block;
    color: #49B3D4 !important;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 4px;
}

.contact-cta-text h3 {
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-cta-text p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.8rem;
    margin: 0;
}


.contact-cta-button {
    display: inline-flex;
    align-items: center;

    padding: 12px 20px;

    background: #ffffff;
    color: #003B5C !important;

    font-size: 0.72rem;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-cta-button:hover {
        background: #49B3D4;
        color: #ffffff !important;
    }
}


/* =========================================================
   EMPTY STATE
========================================================= */

.contact-empty {
    padding: 80px 0;
    background: #f7f9fb;
}

.contact-empty-box {
    text-align: center;
    padding: 70px 20px;

    background: #ffffff;
    border: 1px solid #e1e7ec;
}

.contact-empty-box i {
    font-size: 2.5rem;
    color: #0086B3;
}

.contact-empty-box h4 {
    margin-top: 15px;
    color: #003B5C !important;
}

.contact-empty-box p {
    color: #667085 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .contact-page-header h1 {
        font-size: 2.3rem;
    }

    .contact-main {
        padding: 55px 0;
    }

    .contact-map-image {
        height: 350px;
    }

}


@media (max-width: 767px) {

    .contact-page-header {
        padding: 40px 0 45px;
    }

    .contact-page-header h1 {
        font-size: 2rem;
    }

    .contact-page-header p {
        font-size: 0.88rem;
    }

    .contact-breadcrumb {
        margin-bottom: 25px;
    }

    .contact-main {
        padding: 45px 0;
    }

    .contact-map-header {
        padding: 20px;
    }

    .contact-map-image {
        height: 280px;
    }

    .contact-map-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-route-button {
        width: 100%;
        justify-content: center;
    }

    .contact-cta-inner {
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-cta-button {
        width: 100%;
        justify-content: center;
    }

}

/* ============================================================
   BUMN STYLE CARD HOVER EFFECTS & ANIMATIONS
   ============================================================ */

/* Add standard transition to cards */
.card-modern, 
.umkm-card-bumn, 
.product-item, 
.contact-info-card,
.info-card,
.value-card,
.stat-card-bumn,
.kategori-card-bumn,
.gallery-card-bumn {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Card hover animation (khusus perangkat dengan mouse — blok ini
   sebelumnya TIDAK dibatasi media query dan memakai !important,
   sehingga selalu menang dan menyebabkan double-tap di HP pada
   semua kartu yang tercantum, termasuk .umkm-card-bumn) */
@media (hover: hover) and (pointer: fine) {
    .card-modern:hover, 
    .umkm-card-bumn:hover, 
    .product-item:hover,
    .info-card:hover,
    .value-card:hover,
    .stat-card-bumn:hover,
    .kategori-card-bumn:hover,
    .gallery-card-bumn:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 16px 36px rgba(0, 51, 102, 0.15) !important; /* Soft BUMN Blue shadow */
        border-color: #00A3E0 !important; /* BUMN Cyan border */
    }

    /* Contact info card slide effect */
    .contact-info-card:hover {
        transform: translateY(-6px) translateX(4px) !important;
        box-shadow: 0 12px 28px rgba(0, 51, 102, 0.12) !important;
        border-color: #00A3E0 !important;
    }

    /* Image zoom inside card on hover */
    .card-modern:hover .card-img-top,
    .umkm-card-bumn:hover .umkm-cover,
    .product-item:hover .product-image img,
    .gallery-card-bumn:hover img {
        transform: scale(1.06) !important;
    }
}

/* =========================================================
   VISI & MISI - BUMN STYLE
========================================================= */

.visi-misi-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.visi-misi-title {
    position: relative;
    text-align: center;
    color: #003366;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 45px;
    padding-bottom: 15px;
}

.visi-misi-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #00A3E0;
    transform: translateX(-50%);
}


/* CONTAINER ACCORDION */

#accordionVisiMisi {
    max-width: 1050px;
    margin: 0 auto;
}


/* CARD VISI & MISI */

#accordionVisiMisi .accordion-item {
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.06);
    transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    #accordionVisiMisi .accordion-item:hover {
        border-color: #00A3E0;
        box-shadow: 0 12px 30px rgba(0, 51, 102, 0.10);
    }
}


/* HEADER */

#accordionVisiMisi .accordion-button {
    padding: 22px 25px;
    background: #ffffff;
    color: #003366;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    box-shadow: none;
}


/* HEADER SAAT TERBUKA */

#accordionVisiMisi .accordion-button:not(.collapsed) {
    background: #003366;
    color: #ffffff;
}


/* ICON */

#accordionVisiMisi .accordion-button i {
    color: #00A3E0;
    font-size: 1.2rem;
}

#accordionVisiMisi .accordion-button:not(.collapsed) i {
    color: #ffffff;
}


/* PANAH */

#accordionVisiMisi .accordion-button::after {
    background-size: 14px;
}

#accordionVisiMisi .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}


/* ISI VISI & MISI */

#accordionVisiMisi .accordion-body {
    padding: 25px 30px;
    background: #ffffff;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.9;
    border-top: 1px solid #e2e8f0;
}


/* =========================================================
   RESPONSIVE HP
========================================================= */

@media (max-width: 767px) {

    .visi-misi-section {
        padding: 50px 0 60px;
    }

    .visi-misi-title {
        font-size: 1.65rem;
        margin-bottom: 30px;
        padding-bottom: 12px;
    }

    .visi-misi-title::after {
        width: 50px;
        height: 3px;
    }

    #accordionVisiMisi .accordion-item {
        margin-bottom: 12px;
        border-radius: 8px !important;
    }

    #accordionVisiMisi .accordion-button {
        padding: 17px 18px;
        font-size: 0.88rem;
    }

    #accordionVisiMisi .accordion-button i {
        font-size: 1rem;
        margin-right: 10px !important;
    }

    #accordionVisiMisi .accordion-body {
        padding: 18px 20px 22px;
        font-size: 0.86rem;
        line-height: 1.75;
    }
}

.table tbody tr{
    transition:.25s;
}

.table tbody tr:hover{
    background:#f5f9fc;
}

.table thead{
    background:#003366;
}

.table thead th{
    color:#fff;
    font-weight:600;
}

.btn-primary{
    background:#003366;
    border-color:#003366;
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover{
        background:#005b96;
        border-color:#005b96;
    }
}

.card{
    border-radius:12px;
}

.badge{
    font-weight:600;
    letter-spacing:.3px;
}

.btn-bumn {
    background: #0B3A75;
    border: 1px solid #0B3A75;
    color: #fff;
    border-radius: 50rem;
    transition: all .25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .btn-bumn:hover {
        background: #0A4C96;
        border-color: #0A4C96;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 .5rem 1rem rgba(11, 58, 117, .2);
    }
}

/* =========================================================
   RESPONSIVE ADMIN PANEL (MOBILE VIEWPORT)
========================================================= */
@media (max-width: 991px) {
    /* Sembunyikan sidebar ke kiri luar layar secara default */
    .sidebar {
        left: calc(-1 * var(--sidebar-width)) !important;
        box-shadow: none;
    }
    
    /* Tampilkan sidebar saat toggle aktif (.show) */
    .sidebar.show {
        left: 0 !important;
        box-shadow: 4px 0 24px rgba(15, 23, 42, 0.15) !important;
    }
    
    /* Main wrapper mengambil lebar penuh layar */
    .main-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Sesuaikan padding konten pada mobile */
    .content {
        padding: 1.25rem 1rem !important;
    }
    
    /* Sesuaikan padding topbar */
    .topbar {
        padding: 0.75rem 1rem !important;
    }
    .topbar h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    /* Sesuaikan padding card body */
    .card-body.p-4 {
        padding: 1.25rem !important;
    }
    
    /* Optimasi tampilan dashboard card statistik */
    .dashboard-card {
        padding: 18px !important;
        gap: 15px !important;
        height: auto !important;
    }
    .dashboard-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        border-radius: 12px !important;
    }
    .dashboard-content h2 {
        font-size: 1.75rem !important;
    }
}