/* ==========================================================================
   1. VARIABEL & DASAR
   ========================================================================== */
:root {
    --morowali-green: #007b53;
    --morowali-blue: #007bb5;
    --morowali-gold: #f1c40f;
    --morowali-dark: #1a252f;
    --morowali-red: #dc3545;
    --bg-light: #f4f6f9;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--morowali-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   2. NAVBAR & DROPDOWN
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--morowali-green) 0%, var(--morowali-blue) 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.navbar-custom {
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* .navbar-custom .nav-link {
    color: var(--morowali-dark);
    font-weight: 600 !important;
    margin: 0 5px;
    position: relative;
} */

.navbar-custom .nav-link {
    color: var(--morowali-dark);
    /* Gunakan font-weight 600 dan !important agar tidak bisa ditimpa oleh class lain */
    font-weight: 600 !important;
    font-size: 0.95rem;
    margin: 0 5px;
    position: relative;
    text-rendering: optimizeLegibility;
    /* Membuat font lebih tajam */
    -webkit-font-smoothing: antialiased;
    /* Membuat font lebih tegas di layar */
}


.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--morowali-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 100%;
}

.navbar-custom .dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
    position: absolute;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 10px 10px;
    margin-top: 20px;
    min-width: 320px;
    white-space: normal;
    animation: fadeInDown 0.3s ease forwards;
    
}

.dropdown-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--morowali-dark);
    padding: 8px 20px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s ease-in-out;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
}

.dropdown-item:hover {
    background-color: rgba(0, 123, 83, 0.08);
    color: var(--morowali-green);
    padding-left: 25px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   3. HEADER PAGE (Berita, Dokumen, Form Layanan)
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--morowali-green) 0%, var(--morowali-blue) 100%);
    padding: 40px 0;
    color: white;
    text-align: center;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header p {
    font-weight: 300;
    opacity: 0.9;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   4. HERO SECTION (Home)
   ========================================================================== */
.hero-wrapper {
    position: relative;
    height: 85vh;
    background-color: #000;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    height: 85vh;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    pointer-events: none;
}

.hero-content-wrapper .search-container,
.hero-content-wrapper .btn {
    pointer-events: auto;
}

.hero-title {
    font-weight: 700;
    font-size: 3.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-weight: 300;
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Search Container */
.search-container {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.search-container input {
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 1rem;
    flex-grow: 1;
    background: transparent;
}

.search-container input:focus {
    box-shadow: none;
    outline: none;
}

.search-container .btn-search {
    background: var(--morowali-green);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 2px;
}

.search-container .btn-search:hover {
    background: var(--morowali-blue);
}

/* ==========================================================================
   5. CAROUSEL (Home)
   ========================================================================== */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 10;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--morowali-green);
    border-color: white;
    transform: scale(1.1);
}

.carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: white;
}

/* ==========================================================================
   6. KARTU & SECTION (Home)
   ========================================================================== */
.service-card {
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--morowali-green), var(--morowali-blue));
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2rem;
    background: rgba(0, 123, 83, 0.1);
    color: var(--morowali-green);
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--morowali-green);
    color: white;
}

.btn-akses {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border: 2px solid var(--morowali-green);
    border-radius: 50px;
    color: var(--morowali-green);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-akses:hover {
    background-color: var(--morowali-green);
    color: white;
}

/* Statistik */
.stats-section {
    position: relative;
    z-index: 5;
    margin-top: 40px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 1.8rem;
    background: rgba(0, 123, 83, 0.1);
    color: var(--morowali-green);
    transition: all 0.3s ease;
}

.stat-card:nth-child(2) .stat-icon {
    background: rgba(0, 123, 181, 0.1);
    color: var(--morowali-blue);
}

.stat-card:nth-child(3) .stat-icon {
    background: rgba(241, 196, 15, 0.15);
    color: #d4ac0d;
}

.stat-card:nth-child(4) .stat-icon {
    background: rgba(26, 37, 47, 0.1);
    color: var(--morowali-dark);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--morowali-dark);
    margin-bottom: 5px;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Visi Misi */
.visi-misi-section {
    background-color: white;
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    color: var(--morowali-dark);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--morowali-green);
    border-radius: 2px;
}

.visi-box {
    background: rgba(0, 123, 83, 0.05);
    border-left: 4px solid var(--morowali-green);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--morowali-dark);
}

.misi-list {
    list-style: none;
    padding-left: 0;
}

.misi-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: #495057;
    line-height: 1.6;
}

.misi-list li::before {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--morowali-blue);
    font-size: 1.2rem;
}

.maklumat-wrapper {
    position: relative;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.maklumat-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.maklumat-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ==========================================================================
   7. BERITA (Home, Berita, Detail Berita)
   ========================================================================== */
.news-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    /* position: relative; */
    /* Tambahkan ini */
    /* z-index: 1; */
    /* Tambahkan ini */
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    /* z-index: 10; */
        /* Naikkan z-index saat di-hover agar klik aman */
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    /* z-index: 2; */
        /* Pastikan gambar tidak menutupi link di bawahnya */
}

.news-img,
.news-img-wrapper img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img,
.news-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-body {
    padding: 25px;
}

.news-date,
.news-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-meta i {
    color: var(--morowali-blue);
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--morowali-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more,
.btn-read {
    color: var(--morowali-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    display: inline-block;
    /* Ubah dari inline-flex ke inline-block
    z-index: 5;
    /* Pastikan tombol berada di lapisan paling atas */
    /* position: relative; */ 
}

.btn-read-more:hover,
.btn-read:hover {
    color: var(--morowali-green);
    padding-left: 5px;
}

/* Kartu Berita Utama (Headline) */
.headline-card .news-img {
    height: 350px;
}

.headline-card .news-title {
    font-size: 1.8rem;
}

.news-excerpt.headline-excerpt {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 0.95rem;
}

.btn-lihat-semua {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    color: var(--morowali-blue);
    border: 2px solid var(--morowali-blue);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-lihat-semua:hover {
    background-color: var(--morowali-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 123, 181, 0.3);
    transform: translateY(-2px);
}

/* Detail Artikel */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    padding: 40px;
}

.article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.article-title {
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--morowali-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.article-meta i {
    color: var(--morowali-green);
    margin-right: 5px;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
    text-align: justify;
}

.article-content h4 {
    font-weight: 700;
    color: var(--morowali-dark);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-content blockquote {
    border-left: 4px solid var(--morowali-green);
    padding: 15px 25px;
    background: rgba(0, 123, 83, 0.05);
    font-style: italic;
    color: #495057;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
    font-size: 1.1rem;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.share-box span {
    font-weight: 600;
    margin-right: 10px;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: var(--morowali-dark);
    text-decoration: none;
    transition: 0.3s;
}

.btn-share:hover {
    background: var(--morowali-green);
    color: white;
    transform: translateY(-3px);
}

/* Sidebar Widget */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.widget-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--morowali-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--morowali-green);
}

.popular-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.popular-item:last-child {
    margin-bottom: 0;
}

.popular-img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.popular-content h5 a {
    color: var(--morowali-dark);
    text-decoration: none;
    transition: 0.2s;
}

.popular-content h5 a:hover {
    color: var(--morowali-green);
}

.popular-meta {
    font-size: 0.75rem;
    color: #8898aa;
    display: flex;
    gap: 10px;
}

/* Pagination */
.pagination {
    gap: 8px;
    margin-top: 30px;
}

.pagination .page-link {
    border: none;
    border-radius: 50px !important;
    color: var(--morowali-dark);
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: white;
}

.pagination .page-link:hover {
    background-color: rgba(0, 123, 83, 0.1);
    color: var(--morowali-green);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: var(--morowali-green);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 83, 0.3);
}

.pagination .page-item.disabled .page-link {
    background-color: #e9ecef;
    color: #adb5bd;
    box-shadow: none;
}

/* ==========================================================================
   8. DOKUMEN & FORM LAYANAN (KIA, KK, AKTA, PINDAH, DLL)
   ========================================================================== */
.document-container,
.form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 50px;
}

.form-card {
    border-radius: 20px;
    padding: 40px;
}

.document-title {
    font-weight: 700;
    color: var(--morowali-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

/* Dokumen List Item */
.doc-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.doc-item:last-child {
    border-bottom: none;
}

.doc-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.doc-code {
    font-weight: 700;
    color: var(--morowali-blue);
    min-width: 100px;
    font-size: 0.95rem;
}

.doc-name {
    flex-grow: 1;
    font-weight: 500;
    color: var(--morowali-dark);
    font-size: 1rem;
    padding-right: 20px;
}

.btn-download {
    background-color: rgba(0, 123, 181, 0.1);
    color: var(--morowali-blue);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-download:hover {
    background-color: var(--morowali-green);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 123, 83, 0.3);
}

/* Form Elements */
.syarat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.syarat-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--morowali-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.syarat-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.syarat-list li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.5;
}

.syarat-list li i {
    color: var(--morowali-green);
    font-size: 1.1rem;
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 10px;
    padding: 12px 15px;
    padding-left: 45px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.95rem;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    height: 50px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--morowali-green);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 83, 0.1);
    background-color: white;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23007b53' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    cursor: pointer;
}

.form-text {
    font-size: 0.8rem;
    color: #8898aa;
    margin-top: 5px;
}

/* Info Box & Warning */
.info-box {
    background-color: rgba(0, 123, 181, 0.05);
    border: 1px solid rgba(0, 123, 181, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.info-box h6 {
    font-weight: 700;
    color: var(--morowali-blue);
    margin-bottom: 10px;
}

.info-box ol {
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #495057;
}

.warning-box {
    background-color: rgba(220, 53, 69, 0.05);
    border-left: 4px solid var(--morowali-red);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 25px;
}

.warning-box h6 {
    font-weight: 700;
    color: var(--morowali-red);
    margin-bottom: 5px;
}

.warning-box p {
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 0;
}

.btn-download-form {
    background-color: var(--morowali-blue);
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-download-form:hover {
    background-color: var(--morowali-green);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 123, 83, 0.3);
}

/* Upload Wrapper */
.upload-wrapper {
    border: 2px dashed #ced4da;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-wrapper:hover {
    border-color: var(--morowali-green);
    background-color: rgba(0, 123, 83, 0.02);
}

.upload-wrapper input[type="file"] {
    display: none;
}

.upload-label {
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.upload-label i {
    font-size: 1.8rem;
    color: var(--morowali-green);
}

.upload-label span {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.upload-label small {
    font-size: 0.75rem;
    color: #8898aa;
}

.form-check-input:checked {
    background-color: var(--morowali-green);
    border-color: var(--morowali-green);
}

.form-check-label {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
}

.btn-submit,
.btn-check-status {
    background: linear-gradient(90deg, var(--morowali-green) 0%, var(--morowali-blue) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 83, 0.3);
}

.btn-submit:hover,
.btn-check-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 83, 0.4);
}

/* ==========================================================================
   9. CEK STATUS SPESIFIK
   ========================================================================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 100px 0;
}

.status-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 600px;
    border-top: 5px solid var(--morowali-green);
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 123, 83, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}


.status-card .card-title {
    font-weight: 700;
    color: var(--morowali-dark);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 1.5rem;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 42px;
    color: var(--morowali-green);
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
}

/* ==========================================================================
10. FOOTER
========================================================================== */
.footer {
    background: var(--morowali-dark);
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
}

/* ==========================================================================
11. MEDIA QUERIES (RESPONSIF MOBILE)
========================================================================== */
@media (max-width: 991px) {
    .form-card {
        padding: 25px;
    }

    .syarat-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .maklumat-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .doc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 10px;
    }

    .doc-code {
        min-width: auto;
        margin-bottom: 5px;
    }

    .doc-name {
        margin-bottom: 10px;
        padding-right: 0;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }

    .document-container {
        padding: 20px;
    }

    .article-card {
        padding: 25px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-img {
        height: 250px;
    }
}


/* ==========================================================================
   FOOTER ELEGAN (4 Kolom)
   ========================================================================== */
.footer-elegant {
    background-color: #1a252f;
    /* Warna gelap elegan */
    color: #aeb9c2;
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--morowali-green);
}

.footer-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    /* Kembali ke kiri */
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--morowali-green);
    /* Saya ubah jadi hijau agar lebih elegan */
}




.footer-text {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Ikon Media Sosial */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--morowali-green);
    transform: translateY(-3px);
}

/* Link Cepat */
.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aeb9c2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Kontak */
.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    /* display: flex;
    gap: 15px; */
    margin-bottom: 20px;
    /* line-height: 1.6; */
}

.footer-contact i {
    color: var(--morowali-green);
    font-size: 1.5rem;
    /* margin-top: 2px; */
}

/* Statistik */
.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #2c3e50;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-value {
    color: var(--morowali-green);
    font-weight: 700;
}

/* Garis Pemisah Copyright */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2c3e50;
    text-align: center;
    font-size: 0.85rem;
}