/* ==========================================================
   MARKIA STYLE - LANDING PAGE KUSTOM UNTUK MGMP INFORMATIKA
   ========================================================== */

:root {
    --primary-color: #5c6bc0;
    --primary-dark: #3f51b5;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- FLOATING PILL NAVBAR (ALA MARKIA) --- */
.markia-navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
}
.markia-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 30px;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.4);
}
.navbar-brand img {
    max-height: 40px;
    object-fit: contain;
}
.navbar-brand h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover {
    color: #5b4f9e !important;
}

/* --- TOMBOL KAPSUL (PILL BUTTON) --- */
.btn-markia {
    background: linear-gradient(135deg, #5b4f9e 0%, #7266ba 100%);
    color: var(--white) !important;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(114, 102, 186, 0.4);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none !important;
}
.btn-markia:hover {
    box-shadow: 0 6px 20px rgba(114, 102, 186, 0.6);
    transform: translateY(-2px);
}

/* --- HERO SECTION DENGAN GRADASI NEON ALA MARKIA --- */
.markia-hero {
    padding: 180px 0 120px 0;
    background: linear-gradient(135deg, #1b00ff 0%, #7600ff 50%, #ff007b 100%);
    position: relative;
    color: var(--white);
    overflow: hidden;
}
.markia-hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}
.markia-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 30px;
}
.markia-hero .badge-custom {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- MODUL / SERVICES CARDS --- */
.markia-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
}
.markia-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.markia-card i {
    font-size: 38px;
    margin-bottom: 20px;
    color: #7266ba;
}
.markia-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.markia-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* --- KABUPATEN BADGE --- */
.markia-kab {
    background: var(--white);
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid #edf2f7;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
.markia-kab:hover {
    border-color: #7266ba;
    transform: translateY(-2px);
}

/* --- TIMELINE KEGIATAN --- */
.markia-timeline {
    position: relative;
    padding-left: 30px;
}
.markia-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #e2e8f0;
}
.markia-timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.markia-timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7266ba;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 3px rgba(114, 102, 186, 0.2);
}
.markia-timeline-box {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #edf2f7;
}
.markia-thumb {
    width: 100%;
    max-width: 240px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: opacity 0.2s;
}
.markia-thumb:hover {
    opacity: 0.9;
}

/* --- FOOTER --- */
.markia-footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 60px 0 30px 0;
}
.markia-footer h2 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}
/* ==========================================================
   MARKIA STYLE - UPDATE CSS (KARTU PASTEL & CAROUSEL WILAYAH)
   ========================================================== */

/* --- 1. KARTU MODUL UTAMA ALA GAMBAR KE-2 (Nomor Besar & Pastel) --- */
.markia-service-box {
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.markia-service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.markia-service-box .step-number {
    font-size: 36px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    display: block;
}
.markia-service-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.3;
}
.markia-service-box p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.markia-service-box .card-icon-float {
    font-size: 40px;
    position: absolute;
    bottom: 20px;
    right: 25px;
    opacity: 0.15;
}

/* Warna Pastel Lembut Berbeda untuk Setiap Card */
.bg-pastel-mint { background-color: #d1f7e2; }
.bg-pastel-peach { background-color: #ffe5d0; }
.bg-pastel-blue { background-color: #dbeafe; }
.bg-pastel-purple { background-color: #ede9fe; }
.bg-pastel-yellow { background-color: #fef3c7; }
.bg-pastel-pink { background-color: #fce7f3; }


/* --- 2. SEBARAN WILAYAH SEBAGAI CAROUSEL GESER (ALA GAMBAR KE-1) --- */
.wilayah-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 5px 40px 5px;
    scrollbar-width: thin;
    scrollbar-color: #7266ba #edf2f7;
}
.wilayah-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.wilayah-scroll-container::-webkit-scrollbar-track {
    background: #edf2f7;
    border-radius: 10px;
}
.wilayah-scroll-container::-webkit-scrollbar-thumb {
    background: #7266ba;
    border-radius: 10px;
}
/* --- WILAYAH SLIDER CARD DENGAN WARNA WARNI SOFT & IKON BESAR --- */
.wilayah-slider-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    border-radius: 16px;
    padding: 35px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.wilayah-slider-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* Ikon Pin Besar di Atas Kartu */
.wilayah-slider-card .icon-box {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

/* Kombinasi Warna-Warni Soft Pastel yang Berbeda-beda */
.card-soft-1 { background-color: #e8f5e9; color: #2e7d32; } /* Soft Mint / Hijau */
.card-soft-1 .icon-box { background-color: #c8e6c9; color: #2e7d32; }
.card-soft-1 .badge-wilayah { background-color: #2e7d32; }

.card-soft-2 { background-color: #e3f2fd; color: #1565c0; } /* Soft Blue / Biru */
.card-soft-2 .icon-box { background-color: #bbdefb; color: #1565c0; }
.card-soft-2 .badge-wilayah { background-color: #1565c0; }

.card-soft-3 { background-color: #fce4ec; color: #c2185b; } /* Soft Pink / Merah Muda */
.card-soft-3 .icon-box { background-color: #f8bbd0; color: #c2185b; }
.card-soft-3 .badge-wilayah { background-color: #c2185b; }

.card-soft-4 { background-color: #fff3e0; color: #ef6c00; } /* Soft Orange / Peach */
.card-soft-4 .icon-box { background-color: #ffe0b2; color: #ef6c00; }
.card-soft-4 .badge-wilayah { background-color: #ef6c00; }

.card-soft-5 { background-color: #ede7f6; color: #512da8; } /* Soft Purple / Ungu */
.card-soft-5 .icon-box { background-color: #d1c4e9; color: #512da8; }
.card-soft-5 .badge-wilayah { background-color: #512da8; }

.card-soft-6 { background-color: #e0f2f1; color: #00695c; } /* Soft Teal / Toska */
.card-soft-6 .icon-box { background-color: #b2dfdb; color: #00695c; }
.card-soft-6 .badge-wilayah { background-color: #00695c; }