/* ========================================
   PENGADILAN MILITER II-10 SEMARANG
   Custom Stylesheet
======================================== */

/* CSS Variables */
:root {
	--header-color: #1b3d2f;
    --dark-green: #1a5a1a;
    --medium-green: #2d7a2d;
    --light-green: #8bc34a;
    --accent-green: #4CAF50;
    --dark-red: #b71c1c;
    --medium-red: #c62828;
    --gold: #d4a017;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --army-main: #1b3d2f;   /* Hijau Army Utama */
    --army-dark: #122920;   /* Hijau Army Lebih Gelap untuk baris menu */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
	padding-top: 180px;
}
.main-container {
    padding-top: 20px; /* Jarak tambahan jika diperlukan */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Background Colors */
.bg-dark-green {
    background-color: var(--dark-green) !important;
}

.text-light-green {
    color: var(--light-green) !important;
}

/* ========================================
   NAVIGATION
======================================== */

.bg-navbar-custom {
    background-color: #1b3d2f !important; /* Hijau Army Utama */
}
.menu-bar-full {
    background-color: #122920; /* Hijau Army Lebih Gelap */
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.bg-navbar-darker {
    background-color: #122920 !important; /* Hijau Army Gelap */
    width: 100vw; /* Memastikan lebar penuh layar */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.bg-navbar-darker .container-fluid {
    max-width: 100%;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.navbar-hidden {
    transform: translateY(-100%); /* Sembunyi ke atas */
    opacity: 0;
}
.bg-navbar-custom {
    background-color: #1b3d2f !important; /* Hijau Army Terang */
}
.navbar-brand {
    white-space: normal;
}
.navbar-brand, .nav-link, .brand-title, .brand-subtitle {
    color: #ffffff !important;
}
.brand-container {
    width: 100%;
}
/* Brand Section */
.brand-text {
    line-height: 1.2;
}

.brand-title {
    font-family: 'Montserrat', sans-serif; /* Mengubah font ke Montserrat */
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* Agar tulisan otomatis menjadi kapital */
    line-height: 1.2;
    display: block;
    word-wrap: break-word;
}
.brand-subtitle {
    font-family: 'Montserrat', sans-serif; /* Konsistenkan font */
    font-size: 0.7rem;
    color: #ffffff;
    letter-spacing: 0.2px;
    opacity: 0.9;
    margin-top: 2px;
}

/* Nav Links & Dropdowns */
.navbar-nav {
    display: flex;
    flex-wrap: nowrap; /* Mencegah menu utama turun ke bawah di layar tanggung */
}
.nav-link {
    font-size: clamp(0.75rem, 1vw, 0.9rem); 
    padding: 0.5rem 0.4rem !important;
    white-space: nowrap;
}
.navbar-nav .nav-link {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.nav-link, .brand-title, .brand-subtitle {
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

/* Hover effect agar menu lebih hidup */
.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffd700 !important; /* Aksen emas tipis saat hover */
}

.dropdown-toggle::after {
    display: none !important;
}
.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 8px;
    transition: transform 0.3s;
}
.show > .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    border-radius: 8px;
    border: none;
    padding: 0.5rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 12rem;
    max-width: 85vw;
    white-space: normal; /* Biarkan teks turun ke bawah jika sangat panjang */
}


/* Icon untuk submenu (panah ke samping) */
.dropdown-submenu > .dropdown-toggle::after {
    display: none !important;
}

.dropdown-submenu > .dropdown-toggle i {
    float: right;
    margin-top: 5px;
    transform: rotate(0deg); /* Ubah dari -90deg ke 0deg */
    transition: transform 0.3s;
}
.dropdown-submenu:hover > .dropdown-toggle i {
    transform: rotate(90deg); /* Berputar menghadap bawah saat di-hover */
    color: #ffd700;
}

.dropdown-item {
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    padding: 0.6rem 1rem;
    line-height: 1.4;
    white-space: normal; /* Biarkan teks panjang membungkus ke bawah (wrap) */
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-word; /* Memutus kata jika terlalu panjang */
}

.dropdown-item i {
    font-size: 0.75rem;
    margin-left: 15px; /* Memberi jarak dari teks */
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1b3d2f !important; /* Hijau Army */
}
.dropdown-item span {
    flex: 1;
    display: inline-block;
}
/* Menangani Dropdown Bertingkat */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -5px;
    margin-left: 0;
    display: none;
}

.menu-arah-kiri .dropdown-submenu > .dropdown-menu {
    left: auto;
    right: 100%; /* Memaksa submenu muncul di kiri sub-menu lvl 1 */
    margin-right: 0.1rem;
}

.menu-arah-kiri > .dropdown-menu {
    left: auto;
    right: 0;
}

/* Menampilkan submenu saat di-hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropstart-submenu .dropdown-submenu > .dropdown-menu {
    left: auto;
    right: 100%; /* Melempar ke kiri */
    margin-left: 0;
    margin-right: -1px;
}

/* Memperbaiki panah dropdown agar tidak menumpuk */
.dropdown-submenu > a::after {
    display: none;
}
.arrow-left { display: none !important; }
.arrow-default { display: block !important; }

@media (min-width: 1301px) {
    .dropdown-submenu { position: relative; }
    
    /* Default: Semua buka ke KANAN */
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%; 
        margin-top: -5px;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .arrow-icon {
        transform: rotate(0deg); /* Panah standar ke kanan */
    }
}
@media (min-width: 1200px) {
    .dropdown-item {
        font-size: 0.9rem; /* Sedikit lebih besar di layar lebar */
    }
	.nav-item {
        margin: 0 2px;
    }
	.nav-link i {
        font-size: 0.7rem;
        margin-left: 2px;
    }
}

/* 2. Layar Laptop / Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .dropdown-menu {
        min-width: 10rem; /* Memperkecil lebar minimal agar muat di layar tanggung */
    }
    .dropdown-item {
        font-size: 0.85rem; /* Mengecilkan sedikit font */
        padding: 0.5rem 0.8rem;
    }
}
@media (min-width: 992px) and (max-width: 1300px) {
    .dropdown-submenu { position: relative; }

    /* Menu 1-6 tetap buka ke kanan */
    .navbar-nav > li:nth-child(-n+6) .dropdown-submenu > .dropdown-menu {
        left: 100%;
        right: auto;
    }

    /* Menu ke-7 dan seterusnya OTOMATIS pindah ke KIRI */
    /* Karena pada resolusi ini, mereka sudah berada di area berbahaya (tepi layar) */
    .navbar-nav > li:nth-child(n+7) .dropdown-menu {
        left: auto !important;
        right: 0 !important;
    }

    .navbar-nav > li:nth-child(n+7) .dropdown-submenu > .dropdown-menu {
        left: auto !important;
        right: 100% !important;
        margin-right: 2px;
    }

    /* Balikkan arah panah hanya untuk menu yang pindah ke kiri */
    .navbar-nav > li:nth-child(n+7) .arrow-icon {
        transform: scaleX(-1);
    }
	
	.dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%; 
        margin-top: -5px;
        display: none;
    }
	.dropdown-submenu:hover > .dropdown-menu {
        display: block;
        animation: fadeInMenu 0.2s ease-in-out;
    }

    /* Mencegah icon berputar ke bawah saat hover pada sub-menu */
    .dropdown-submenu:hover > a .arrow-icon {
        transform: rotate(0deg) !important;
    }
    
    /* Jika menu di area kiri di-hover, panah tetap menghadap kiri */
    .navbar-nav > li:nth-last-child(-n+4) .dropdown-submenu:hover > a .arrow-icon {
        transform: scaleX(-1) rotate(0deg) !important;
    }
	.is-last-menu .dropdown-submenu > .dropdown-menu {
        left: auto;
        right: 100%;
        margin-right: 2px;
    }
	.is-last-menu .arrow-icon {
        transform: scaleX(-1);
    }

    
    /* Gabungan: Jika menu terakhir dan dihover, panah tetap menghadap kiri */
    .is-last-menu .dropdown-submenu:hover > a .arrow-icon {
        transform: scaleX(-1) rotate(0deg) !important;
    }
    .drop-to-left .dropdown-submenu > .dropdown-menu {
        left: auto;
        right: 100%; /* Geser ke kiri */
        margin-right: 2px;
    }
    /* Tukar ikon panah untuk menu yang drop ke kiri */
    .drop-to-left .arrow-default { display: none !important; }
    .drop-to-left .arrow-left { display: block !important; }
    
    /* Dropdown Level 1 rata kanan agar tidak keluar layar */
    .drop-to-left > .dropdown-menu {
        left: auto;
        right: 0;
    }

    .drop-to-left .dropdown-submenu > .dropdown-menu {
        left: auto;
        right: 100%;
        margin-right: 2px;
    }
	
	.drop-to-left .arrow-icon {
        transform: scaleX(-1); /* Membalik ikon agar menunjuk ke kiri */
        display: inline-block;
    }

    
    /* Jika drop-to-left di-hover, tetap gunakan scaleX(-1) agar tidak reset ke kanan */
    .drop-to-left .dropdown-submenu:hover > a .arrow-icon {
        transform: scaleX(-1) rotate(0deg) !important;
    }
    /* 3. Balikkan ikon panah agar menghadap ke kiri */
    .drop-to-left .arrow-icon::before {
        content: "\f281"; /* Bootstrap Icon: chevron-left */
    }
}

/* Jika layar kecil (Mobile/Tablet), biarkan sistem menu menyesuaikan (biasanya stack vertikal) */
@media (max-width: 991px) {
	.dropdown-submenu > .dropdown-menu {
        margin-left: 0.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 1rem; /* Indentasi tambahan agar terlihat berjenjang */
    }
    
    .arrow-icon {
        color: #ffc107;
        transition: transform 0.3s;
    }
	.dropdown-menu .dropdown-menu {
        margin-left: 0.5rem;
        padding-left: 1rem;
        border-left: 1px solid #ddd;
    }
	.dropdown-item span {
		overflow: hidden;
		text-overflow: ellipsis; /* Berikan titik-titik jika masih terlalu panjang */
		display: block;
		width: 100%;
	}
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
	
	.navbar-nav .nav-link,
    .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
	.navbar-nav .dropdown-menu {
        display: none; /* Jangan gunakan block !important di sini */
        position: static !important;
        float: none !important;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        padding-left: 1rem; /* Indentasi untuk level 1 */
    }
	.navbar-nav .dropdown-menu.show {
        display: block !important;
    }
	.dropdown-submenu.show > a .arrow-icon,
    .dropdown.show > a i {
        transform: rotate(180deg) !important;
    }
    .navbar-brand {
		white-space: normal; /* Mengizinkan teks turun ke bawah jika sempit */
	}
    .dropdown-menu .dropdown-submenu {
        position: relative;
    }
	.brand-title {
        font-size: 0.9rem;
    }
	.navbar-nav {
        flex-wrap: wrap; /* Biarkan menu menumpuk di mobile */
    }
    
    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.05); /* Hitam transparan agar ada beda level */
        border: none;
        box-shadow: none;
        width: 100%;
        margin: 0;
        padding: 0;
        display: block; /* Pastikan tampil dalam mode stack */
        position: static !important; /* Menghilangkan posisi absolute desktop */
        float: none !important;
    }
    
    .dropdown-item {
        font-size: 0.9rem; /* Ukuran font lebih besar di mobile agar mudah ditekan */
        padding-left: 1.5rem;
    }
    .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
	.menu-bar-full {
        background-color: transparent; /* Di mobile menyatu dengan navbar utama */
        border: none;
    }
    .navbar-collapse {
        background-color: #122920;
        padding: 15px;
        margin-top: 10px;
        border-radius: 8px;
    }
	
    .dropdown-menu .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%; /* Geser ke kanan */
        margin-top: -1px;
        display: none;
    }

    .navbar-brand small {
        font-size: 0.65rem;
    }
	.dropdown-item:hover, 
    .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff !important;
    }
	.dropdown-item.active, .dropdown-item:active {
        background-color: #84c547; /* Warna hijau sesuai screenshot Anda */
        color: #000 !important; /* Teks hitam jika background terang */
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 40px !important;
    }

    .navbar-brand strong {
        font-size: 0.85rem;
    }
}
@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.drop-to-left @keyframes fadeInMenu {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
/* ========================================
   MAIN SECTION
======================================== */
.main-hero-wrapper {
    position: relative; /* Penting: agar ::after bisa diposisikan */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    min-height: 80vh;
    z-index: 1; /* Kontainer utama */
}
.main-hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* Warna overlay putih transparan */
    z-index: -1; /* Penting: menaruh overlay di belakang konten, di atas background */
}

/* Overlay agar teks terlihat jelas */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Gelap transparan */
    z-index: 1;
}

.content-container {
    position: relative;
    z-index: 2; /* Agar konten di atas overlay */
}

/* Wrapper Hero */
.hero-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Memberikan efek parallax elegan */
    min-height: 100vh;
}



/* Memastikan konten di atas overlay */
.position-relative {
    z-index: 2;
}

/* Memberikan bayangan halus pada kartu info */
.card.shadow {
    background-color: rgba(255, 255, 255, 0.95); /* Sedikit transparansi pada kartu */
}

/* Style tombol search */
.btn-success {
    background-color: #004d40; /* Hijau gelap khas pengadilan */
    border: none;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: 600px; /* Sesuaikan tinggi */
    display: flex;
    align-items: center;
}
/* Logo SVG styling */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Styling Overlay agar teks terbaca */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Hitam transparan 50% */
    z-index: 1;
}

/* Memastikan konten berada di atas overlay */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal; /* Menghilangkan italic */
    color: var(--header-color); /* Menggunakan warna hijau tua header */
    font-size: 2.5rem; 
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    color: var(--header-color); /* Menggunakan warna hijau tua */
    font-size: 1.1rem;
    opacity: 0.85;
    letter-spacing: 0.2px;
}

/* ========================================
   SERVICE CARDS
======================================== */
/* Container Kartu */
.service-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card, 
.service-card h1, 
.service-card h2, 
.service-card h3, 
.service-card h4, 
.service-card h5, 
.service-card p, 
.service-card span, 
.service-card a {
    font-family: 'Poppins', sans-serif !important;
}

.card-body { padding: 2rem; flex: 1; }
.card-footer { padding: 1rem 1.5rem; background-color: white !important; }

/* Warna Body */
.body-blue { background-color: #044a8f; color: white; }
.body-green { background-color: #176025; color: white; }
.body-orange { background-color: #f15f03; color: white; }

/* Warna Teks Footer (Menyesuaikan Body) */
.footer-blue { color: #044a8f; }
.footer-green { color: #176025; }
.footer-orange { color: #f15f03; }

/* Warna Tombol */
.btn-blue { background-color: #044a8f; color: white; }
.btn-green { background-color: #176025; color: white; }
.btn-orange { background-color: #f15f03; color: white; }
.btn:hover { opacity: 0.9; color: white; }

/* Badge Unggulan */
.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    white-space: nowrap;
}

/* Tipografi */
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* Styling untuk Ikon Lingkaran (Diperbesar) */
.service-icon-circle {
    width: 70px;        /* Ukuran diperbesar */
    height: 70px;       /* Ukuran diperbesar */
    background: rgba(0, 0, 0, 0.3); 
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;  /* Ikon dibuat lebih besar */
    color: white;
    flex-shrink: 0;
}

/* Pastikan title memiliki jarak yang pas */
.service-title {
    font-weight: 700;
    line-height: 1.2;
}
/* Styling untuk sub-judul agar berwarna kuning keemasan */
.service-subtitle {
    color: #ffc107;      /* Warna kuning keemasan */
    font-weight: 600;    /* Sedikit tebal agar menonjol */
    font-size: 0.95rem;  /* Ukuran font sedikit lebih kecil dari title */
    line-height: 1.2;
}

/* Pastikan deskripsi di bawahnya memiliki jarak yang pas */
.service-desc {
    color: #ffffff;      /* Putih agar kontras dengan background hijau */
    font-size: 0.9rem;
}

/* Penyesuaian tombol di footer */
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #0d6efd; /* Sesuaikan dengan warna tema Anda */
}
/* ========================================
   SEARCH BAR
======================================== */
/* Search Bar Lebar */
.search-bar-container {
    max-width: 700px;
    margin: 0 auto;
}


.search-form .input-group {
    box-shadow: var(--shadow);
    border-radius: 50px;
    overflow: hidden;
}

.search-form .input-group-text {
    padding-left: 1.5rem;
    border-radius: 50px 0 0 50px;
    border: none;
}

.search-form .form-control {
    padding: 1rem;
    font-size: 1rem;
    border: none;
}

.search-form .form-control:focus {
    box-shadow: none;
}

.btn-search {
    background: var(--dark-green);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0 50px 50px 0;
    border: none;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--medium-green);
    color: white;
}

/* ========================================
   INFO SECTION
======================================== */

/* Biarkan container-fluid yang mengatur padding */
.container-fluid {
    width: 95%;
    max-width: 100%; /* Dihapus margin 5% agar full */
    padding-left: 15px;
    padding-right: 15px;
    z-index: 10;
}

/* Styling Info Strip agar putih bersih */
.info-strip {
    background-color: #ffffff !important;
    border-radius: 8px;
    border: 1px solid #e0e0e0; /* Memberikan bingkai halus seperti contoh */
}
.info-strip a {
    color: #166534 !important; 
    font-weight: 800 !important;
}

.info-strip .text-danger {
    color: #b91c1c !important; /* Merah Marun solid */
}
.info-section {
    background-color: #f8f9fa; /* Warna latar belakang lembut seperti di gambar */
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Styling border pembatas */
.border-end {
    border-right: 1px solid #e0e0e0;
}


.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
/* 3. Ikon Hijau (Warna Forest Green yang solid) */
.green-circle {
    background-color: #b9d5b9 !important;
    color: #044024 !important;
}

.red-circle {
    background-color: #ce2223 !important;
    color: #fff !important;
}

.info-title {
    color: #000000 !important; /* Hitam mutlak untuk kontras maksimal */
    font-weight: 700 !important;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased; /* Mencegah blur */
    -moz-osx-font-smoothing: grayscale;  /* Mencegah blur di Mac */
}

.info-text-small {
    color: #000000 !important; /* Menggunakan hitam pekat agar tidak pudar */
    font-weight: 500 !important; /* 500 lebih tajam daripada 600 untuk teks kecil */
    font-size: 0.85rem;
    line-height: 1.3 !important; /* Memperapat jarak baris agar terlihat padat/solid */
    display: block;
    -webkit-font-smoothing: antialiased; /* PENTING: Membuat teks terlihat tajam */
    -moz-osx-font-smoothing: grayscale;  
    text-rendering: optimizeLegibility; /* Mengoptimalkan bentuk huruf */
}


/* Tambahkan ini untuk memastikan row di dalamnya tidak terpotong */
.wide-info-strip .row {
    margin-left: 0;
    margin-right: 0;
}

/* Pastikan Commitment Bar terlihat solid */
.commitment-bar {
    background-color: #013922 !important; /* Warna hijau sangat gelap dan profesional */
    color: #ffffff !important;
    border-radius: 8px;
}
.commitment-bar .btn-outline-light {
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #041d15;
	font-weight: 700;
}

.commitment-bar .btn-outline-light:hover {
    background-color: #ffffff;
    color: #041d15;
}

/* ========================================
   TRUST SECTION
======================================== */
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--dark-green);
}

/* ========================================
   SI DONI
======================================== */
.si-doni-section {
    padding: 60px 0;
    width: 100%;
}
.si-doni-section, 
.si-doni-section h1, 
.si-doni-section h2, 
.si-doni-section h3, 
.si-doni-section h4, 
.si-doni-section h5, 
.si-doni-section p, 
.si-doni-section span, 
.si-doni-section a {
    font-family: 'Poppins', sans-serif !important;
}


.si-doni-container {
    width: 95%; 
    margin: 0 auto; 
    border-radius: 30px; 
    overflow: hidden; 
    padding: 40px 60px 0px 60px; 
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.si-doni-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}
.si-doni-container > * {
    position: relative;
    z-index: 2;
}


.doni-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px
}
.doni-header h2, 
.doni-header h5 {
    margin: 0; 
}
.doni-header h2 { font-weight: 700; color: #1a237e; margin-bottom: 15px; }
.doni-header h4 { font-weight: 700; color: #1a237e; margin-bottom: 15px; }
.doni-header p { font-weight: 600; font-size: 1.1rem; color: #37474f; }



.doni-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    margin-bottom: 40px; 
    align-items: center;
	text-align: center;
    border-bottom: 12px solid transparent; 
}
.doni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.card-blue { border-bottom-color: #0d47a1; }
.card-green { border-bottom-color: #2e7d32; }
.card-orange { border-bottom-color: #ef6c00; }
.card-icon-img { font-size: 3rem; margin-bottom: 20px; color: #1a237e; }
.card-icon-img img { width: 100px; }
.text-blue { color: #0d47a1; }
.text-green { color: #2e7d32; }
.text-orange { color: #ef6c00; }
.doni-card h5 { font-size: 1.6rem; font-weight: 700;}
.doni-card p { font-size: 1.1rem; font-weight: 500;}

.card-arrow-floating {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 55px;
    height: 55px;
    border: 5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;    
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}
.card-arrow-floating i {
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}
.card-arrow-floating:hover {
    transform: translate(-50%, 50%) scale(1.1);
}
.card-arrow-floating-blue { background: #0d47a1; }
.card-arrow-floating-green { background: #2e7d32; }
.card-arrow-floating-orange { background: #ef6c00; }

.doni-footer-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 95%;
    margin: 20px auto 0 auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.doni-footer-bar h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
}
.footer-item {
    display: flex;
    align-items: flex-start;
}
.footer-item i {
    font-size: 2rem;
    color: #1a237e;
}
.footer-text h6 {
    margin: 0 0 5px 0;
    font-weight: 800;
    font-size: 1rem;
    color: #1a237e;
}
.footer-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}
.footer-item img {
    width: 45px;
    height: auto;
    margin-right: 15px;
    flex-shrink: 0;
}


@media (max-width: 991px) {
    .doni-container { padding: 40px 20px; }
    .doni-footer-bar { flex-direction: column; gap: 20px; text-align: center; }
    .doni-footer-bar {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 767px) {
    .si-doni-container { 
        padding: 20px;
    }
    .doni-card {
        margin-bottom: 15px;
    }
}
@media (max-width: 576px) {
    .doni-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .doni-footer-bar {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   LEADERSHIP SECTION
======================================== */
.leadership-section {
    padding: 50px 0;
    background-color: #f9fdf9;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.leadership-section h2, 
.leadership-section .leader-name, 
.leadership-section .role, 
.leadership-section .badge {
    font-family: 'Poppins', sans-serif !important;
}
.leadership-section .container {
    max-width: 1100px;
    margin: 0 auto;
	padding: 0 15px;
}

/* Header */
.section-header { margin-bottom: 40px; }
.title-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5e30;
    font-weight: 700;
    font-size: 32px;
    white-space: nowrap;
    margin-bottom: 15px;
}
.title-with-lines::before, 
.title-with-lines::after {
    content: "";
    height: 2px;
    background-color: #1a5e30;
    width: 60px;
    margin: 0 20px;
    border-radius: 2px;
}
.subtitle { color: #666; font-size: 16px; margin: 0; }

/* Grid Layout */
.leadership-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 30px;
    width: 100% !important;
    justify-items: center; /* Menjaga semua item anak di dalam grid tetap berada di as tengah */
    align-items: stretch;
}

.leader-card-link {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 255px; /* Harus sama persis dengan max-width .leader-card Anda */
    margin: 0 auto;   /* Memaksa elemen tautan berada di tengah-tengah kolom grid */
    cursor: pointer;
    text-decoration: none !important;
}

.leader-card-link:hover {
    text-decoration: none !important;
}

/* Card Styling */
.leader-card {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 255px; /* Kunci lebar maksimal agar tidak melar menjadi 3 kolom */
    margin: 0 auto;  /* Ratakan ke tengah jika layar melebar */
}
.leader-card:hover { transform: translateY(-5px); }

.leader-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 3px solid #1a5e30;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a5e30;
}
.leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.leader-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typo & Components */
.leader-name {
    color: #1a237e;
    font-weight: 700;
    font-size: 0.9rem !important; /* Dikecilkan sedikit dari 1rem agar nama panjang tidak berantakan */
    margin-bottom: 20px;
    position: relative;
    line-height: 1.3;
    min-height: 38px; /* Menjaga keselarasan tinggi nama pimpinan */
    display: flex;
    align-items: center;
    justify-content: center;
}
.leader-name::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #2e7d32;
}

.role { 
    font-size: 0.75rem !important; /* Dioptimalkan untuk text Letnan Kolonel Chk dll */
    color: #555; 
    margin-bottom: 12px; 
    line-height: 1.3; 
    font-weight: 500;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.7rem !important; /* Dikecilkan agar badge hijau tidak turun/patah teksnya */
    text-transform: uppercase;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap; /* Mencegah tulisan KEPALA / WAKADILMIL turun */
}

.btn-profile {
    display: inline-block;
    background: transparent;
    border: 2px solid #2e7d32;
    color: #2e7d32;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-profile:hover {
    background: #2e7d32;
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .leadership-section .container {
        max-width: 100% !important;
        padding: 0 25px;
    }
}
@media (max-width: 992px) {
    .leadership-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 576px) {
    .leadership-grid { grid-template-columns: 1fr !important; }
}

/* ========================================
   SERVICES SECTION
======================================== */
/* Container Utama */
.services-section { 
	padding: 60px 0; 
	background-color: #fcfcfc; 
    font-family: 'Poppins', sans-serif;
}

.services-section h2, 
.services-section h3, 
.services-section p {
    font-family: 'Poppins', sans-serif !important;
}

.services-header { text-align: center; margin-bottom: 40px; }

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

/* Card Styling */
.services-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1); 
    transition: all 0.4s ease; /* Transisi halus */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-bottom: 5px solid transparent;
}

/* Efek saat kartu diarahkan kursor (Hover) */
.services-card:hover {
    transform: translateY(-10px); /* Kartu naik ke atas */
    /* Shadow menjadi lebih gelap dan lebar saat kartu terangkat */
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.2); 
}
/* Warna Border Bawah untuk tiap Card */
.card-blue { border-bottom-color: #0d47a1; }
.card-green { border-bottom-color: #2e7d32; }
.card-purple { border-bottom-color: #7b1fa2; }
.card-orange { border-bottom-color: #ef6c00; }

/* Konten Card */
.icon-box { font-size: 3rem; margin-bottom: 15px; color: #333; }
.services-title { font-size: 1.1rem; font-weight: 700; color: #1a237e; margin-bottom: 10px; }
.services-desc { font-size: 0.85rem; color: #666; margin-bottom: 20px; line-height: 1.4; }

/* Tombol Panah Bawah */
/* Styling Dasar Tombol (Agar bentuknya tetap konsisten) */
.card-footer-btn {
    width: 35px;
    height: 35px;
    border: 2px solid; /* Border mengikuti warna yang ditentukan di bawah */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.3s ease; /* Transisi halus saat hover */
}

/* --- Pengaturan Warna per Tema --- */

/* Biru */
.card-blue .icon-box { color: #2b579a; }
.card-blue .card-footer-btn { border-color: #2b579a; color: #2b579a; }
.card-blue .card-footer-btn:hover { background-color: #2b579a; color: #fff; }

/* Hijau */
.card-green .icon-box { color: #2e7d32; }
.card-green .card-footer-btn { border-color: #2e7d32; color: #2e7d32; }
.card-green .card-footer-btn:hover { background-color: #2e7d32; color: #fff; }

/* Ungu */
.card-purple .icon-box { color: #7b1fa2; }
.card-purple .card-footer-btn { border-color: #7b1fa2; color: #7b1fa2; }
.card-purple .card-footer-btn:hover { background-color: #7b1fa2; color: #fff; }

/* Oranye */
.card-orange .icon-box { color: #f57c00; }
.card-orange .card-footer-btn { border-color: #f57c00; color: #f57c00; }
.card-orange .card-footer-btn:hover { background-color: #f57c00; color: #fff; }

.card-footer-btn:hover { background: #f0f0f0; }

/* Responsif */
@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

/* ========================================
   ZONA INTEGRITAS
======================================== */
/* Container Dasar */
.zi-section { padding: 60px 0; background-color: #fcfcfc; font-family: 'Poppins', sans-serif; }
.zi-section h2, 
.zi-section h3, 
.zi-section h4, 
.zi-section p {
    font-family: 'Poppins', sans-serif !important;
}
.zi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }

/* Header dengan Garis Hijau */
.title-with-lines-green {
    display: flex; align-items: center; justify-content: center;
    color: #1b5e20; font-weight: 700; font-size: 32px;
}
.title-with-lines-green::before, .title-with-lines-green::after {
    content: ""; height: 2px; background-color: #1b5e20; width: 60px; margin: 0 20px;
}
.zi-subtitle {color: #666; font-size: 16px; margin: 0;}

/* Card Styling */
.zi-card {
    background: #fff;
    border-radius: 15px; /* Sudut lebih halus */
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Agar border-bottom tidak keluar jalur */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 6px solid transparent; /* Border bawah tebal */
}
.zi-card:hover { transform: translateY(-10px); box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.15); }

/* Varian Border */
.border-green { border-bottom-color: #2e7d32; }
.border-red { border-bottom-color: #d32f2f; }
.border-blue { border-bottom-color: #1565c0; }

/* Lingkaran Ikon */
.zi-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.bg-circle-green { background-color: #e8f5e9; color: #1b5e20; font-size: 40px; }
.bg-circle-red { background-color: #ffebee; color: #d32f2f; font-size: 40px; }
.bg-circle-blue { background-color: #e3f2fd; color: #1565c0; font-size: 40px; }

/* Tipografi */
.zi-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}
.green-text { color: #1b5e20; }
.red-text { color: #b71c1c; }
.blue-text { color: #0d47a1; }
.zi-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Box Skor (Sesuai gambar head website 4 fix.jpg) */
.score-container {
    width: 100%;
    border-radius: 12px;
    padding: 25px 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Score Box */
.score-box { border-radius: 15px; padding: 20px; margin: 20px 0; }
.bg-light-green { background-color: #f1f8e9; }
.bg-light-red { background-color: #ffebee; }

.score-main { margin-bottom: 10px; }
.score-value { font-size: 48px; font-weight: 800; display: block; line-height: 1; }
.score-divider { font-size: 16px; color: #444; font-weight: 600; }
.score-total { font-size: 18px; color: #666; }

/* Badges */
.status-badge {
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.badge-green { background: #c8e6c9; color: #1b5e20; }
.badge-red { background: #ffcdd2; color: #b71c1c; }

/* Footer Periode */
.zi-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #455a64;
    font-weight: 500;
    margin-top: auto;
}

/* Document List */
.doc-list { width: 100%; margin-bottom: 15px; }
.doc-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: 0.2s;
    cursor: pointer;
}
.doc-item:hover { background-color: #f8f9fa; border-color: #ddd; }
.doc-item i:first-child { font-size: 18px; margin-right: 12px; }
.arrow-icon { margin-left: auto; color: #999; font-size: 12px; }

/* Tombol Biru Bawah */
.btn-all-docs {
    display: flex;
    align-items: center;
    width: 100%;
    background: #0d47a1;
    color: white !important;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-all-docs:hover { background: #002f6c; box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3); }

/* Warna ikon file */
.text-warning { color: #ffc107 !important; } /* Folder Kuning */
.text-success { color: #28a745 !important; } /* Excel Hijau */
.text-primary { color: #0d6efd !important; } /* Folder Biru */
.text-danger { color: #dc3545 !important; }  /* PDF Merah */
.periode-text { font-size: 12px; color: #888; margin-top: 15px; }

.zi-commitment-banner {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden; /* Agar ilustrasi tidak keluar jalur */
}

.zi-commitment-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2; /* Agar teks di atas ilustrasi jika bertumpuk */
}

.zi-commitment-icon {
    background-color: #1b5e20;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-right: 20px;
    flex-shrink: 0;
}

.zi-commitment-text h4 {
    color: #1b5e20;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.zi-commitment-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Bagian Ilustrasi */
.zi-commitment-illustration {
    position: absolute;
    right: 0;           /* Nempel ke kanan */
    bottom: -25px;          /* Nempel ke bawah */
    line-height: 0;     /* Menghilangkan sisa ruang kecil di bawah gambar */
    z-index: 1;         /* Di bawah teks */
}

.zi-commitment-illustration img {
    height: 130px;      /* Atur tinggi gambar sesuai keinginan */
    width: auto;
    display: block;
    /* Jika ingin gambar sedikit transparan agar tidak menutupi teks: */
    opacity: 0.9; 
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .zi-commitment-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .zi-commitment-content {
        flex-direction: column;
    }
    .zi-commitment-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .zi-commitment-illustration {
        display: none; /* Sembunyikan ilustrasi di layar kecil agar tidak berantakan */
    }
}

/* Responsif */
@media (max-width: 992px) { .zi-grid { grid-template-columns: 1fr; } }

/* ========================================
   NEWS SECTION
======================================== */
:root {
    --primary-green: #1b5e20;
    --text-muted: #6c757d;
}

.news-section { background: #fcfcfc; padding-bottom: 80px !important; }
.news-section h2, 
.news-section h3, 
.news-section h4, 
.news-section h5, 
.news-section span,
.news-section p {
    font-family: 'Poppins', sans-serif !important;
}

/* Header & Title Style */
.title-icon {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 24px;
}
.section-title { font-weight: 700; color: #333; }
.title-line {
    width: 100px; height: 3px;
    background: linear-gradient(to right, var(--primary-green), #81c784);
    border-radius: 2px;
}
.view-all-link {
    text-decoration: none; color: #444; font-weight: 600; font-size: 14px;
}

/* News Card Style */
.news-card {
    background: #fff; border-radius: 12px;
    overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%; border: 1px solid #eee;
    transition: all 0.3s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.news-img { height: 220px; width: 100%; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }

.news-body { padding: 20px; }
.news-date { color: #2e7d32; font-size: 13px; font-weight: 600; display: block; margin-bottom: 10px; }
.news-title { font-weight: 700; font-size: 18px; color: #222; margin-bottom: 12px; line-height: 1.4; }
.news-excerpt { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

.read-more {
    text-decoration: none; color: #2e7d32; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; transition: 0.2s;
}
.read-more i { margin-left: 5px; transition: 0.2s; }
.read-more:hover i { transform: translateX(5px); }

/* Navigasi Swiper */
.news-nav-btn {
    width: 40px !important; height: 40px !important;
    background: #fff !important; border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #333 !important; border: 1px solid #eee;
}
.news-nav-btn::after { font-size: 16px !important; font-weight: bold; }
.swiper-button-prev { left: -20px !important; }
.swiper-button-next { right: -20px !important; }

/* Pagination Color */
.swiper-pagination-bullet-active { background: var(--primary-green) !important; }
/* Pastikan container swiper memiliki lebar yang benar */
.newsSwiper {
    padding: 20px 10px 50px 10px !important; /* Ruang tambahan untuk shadow dan pagination */
    margin: 0 auto;
}

/* Pastikan tombol navigasi muncul di atas layer gambar */
.news-nav-btn {
    z-index: 100;
}

/* Memperbaiki tampilan pagination di bawah agar tidak menumpuk */
.swiper-pagination {
    bottom: 0 !important;
}

/* ========================================
   FOOTER
======================================== */
/* Warna Variabel */
:root {
    --army-green-main: #1b3d2f;    
    --army-green-darker: #122920;  
    --gold-accent: #d4a017;
}

.footer {
    /* Mengatur font utama footer agar senada dengan konten */
    font-family: 'Inter', 'Open Sans', sans-serif; 
    border-top: 1px solid #e0e0e0;
}

.footer-top {
    background-color: var(--army-green-main);
    color: #ffffff !important;
    border-top: 4px solid var(--gold-accent);
}


.footer-top p, 
.footer-top li,
.footer-top a,
.footer-top span {
    font-family: 'Inter', sans-serif;
    color: #ffffff !important;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9 !important; /* Memberi sedikit kelembutan pada teks putih */
}


/* Judul Footer menggunakan Montserrat agar sama dengan Header */
.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-accent);
}

/* Link Style */
.footer-links-icon a, 
.footer-links-external a,
.footer-contact-v2 a,
.contact-info-short a {
    color: #ffffff !important;
    text-decoration: none;
    opacity: 1 !important;
}

.footer-links-icon li, .footer-links-external li {
    margin-bottom: 12px;
}
.footer-links-icon a, 
.footer-links-external a {
    transition: 0.3s;
}

.footer-links-icon a:hover, 
.footer-links-external a:hover {
    color: var(--gold-accent) !important;
    opacity: 1 !important;
    padding-left: 5px;
}

.footer-contact-v2 li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #555;
}

/* Social Media Box Style */
.social-links-grid {
    display: flex;
    gap: 8px;
}

.social-box {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.fb { background-color: #3b5998; }
.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.yt { background-color: #ff0000; }
.tw { background-color: #000; }

.social-box:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* Bagian Bawah (Copyright - Lebih Gelap) */
.footer-bottom {
    background-color: var(--army-green-darker);
    font-family: 'Inter', sans-serif;
}

.footer-bottom p, 
.footer-bottom a {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}


.footer-bottom-links {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
}


.footer-links-external img {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
}
/* Border pembatas kolom (Transparan Putih) */
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* ========================================
   CONTENT
======================================== */

/* Tipografi Judul */
.entry-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #1b3d2f; /* Hijau Army Identitas */
    line-height: 1.3;
}

/* Metadata */
.entry-meta {
    font-size: 0.9rem;
}

/* Gambar Utama */
.featured-image-wrapper img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Styling Isi Konten (Sangat Penting untuk Summernote) */
.entry-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Memastikan gambar di dalam konten Summernote tidak pecah/melebar keluar */
.entry-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
}

/* Penyesuaian untuk Sidebar Sticky agar tidak menabrak header */
.sticky-top {
    z-index: 1020;
}
.sidebar-title {
    background-color: #1b3d2f; /* Hijau Army Utama */
    color: #ffffff;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif; /* Font tegas untuk judul */
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-item-sidebar {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}

.news-item-sidebar:hover {
    background-color: rgba(27, 61, 47, 0.03); /* Hover hijau army sangat tipis */
}
.news-item-sidebar img {
    width: 80px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.news-content-sidebar h6 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 6px;
    color: #2c3e50; /* Warna biru gelap charcoal agar lebih profesional */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Membatasi judul maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta-sidebar {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #7f8c8d; /* Warna abu-abu elegan */
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-meta-sidebar i {
    color: #fece2d; /* Warna emas untuk ikon agar kontras */
}

.btn-sm {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Skeleton Loading Animation */
.news-skeleton {
    height: 70px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Sosmed Buttons */
.btn-facebook { background: #3b5998; }
.btn-x { background: #000; }
.btn-instagram { background: #e4405f; }
.btn-youtube { background: #cd201f; }

/* ========================================
   BACK TO TOP BUTTON
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-green);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--medium-green);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

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

@media (max-width: 1200px) {
    .brand-subtitle {
        font-size: 0.55rem !important; /* Perkecil font di layar medium */
    }
}
@media (max-width: 991.98px) {
	.strong {
        font-size: 0.95rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .commitment-banner {
        padding: 1.5rem;
    }

    .commitment-text {
        font-size: 0.9rem;
    }
    .border-end {
        border-right: none !important;
        border-bottom: 1px solid #e0e0e0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 80px;
    }

	.hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .info-card {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .commitment-banner {
        text-align: center;
    }

    .commitment-icon {
        margin: 0 auto 1rem;
    }

    .trust-item {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .trust-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 575.98px) {

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .featured-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .btn-search {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-dark-green {
    color: var(--dark-green) !important;
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--medium-green) 100%);
}

.btn-green {
    background: var(--dark-green);
    color: white;
    border: none;
}

.btn-green:hover {
    background: var(--medium-green);
    color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--dark-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--medium-green);
}

/* Selection Styling */
::selection {
    background: var(--dark-green);
    color: white;
}