.tentang {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 12;
    object-fit: cover;
    border-radius: 8px;
}

.img-berita {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-berita:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* css untuk infografis  */
.menu-infografis {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    padding: 15px 0;
    border-bottom: 2px solid #ccc;
}
.menu-infografis a {
    text-align: center;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    width: 80px;
    transition: 0.3s;
}
.menu-infografis a:hover,
.menu-infografis a.active {
    color: #2a61d9;
}
.menu-infografis i {
    font-size: 24px;
    margin-bottom: 5px;
    display: block;
    color: #444;
    transition: transform 0.3s ease;
}
.menu-infografis a:hover i {
    transform: translateY(-4px);
}
.sdgs-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.sdgs-row>div {
    display: flex;
    padding: 10px;
}
.sdgs-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
    border: 1px solid #eee;
}
.sdgs-card:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}
.sdgs-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    min-height: 40px;
}
.sdgs-nilai-label {
    font-size: 13px;
    color: #333;
}
.sdgs-nilai {
    font-size: 24px;
    font-weight: bold;
    color: #2ca02c;
}
.infografis-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 767px) {
    .menu-infografis {
        justify-content: center;
    }
    .menu-infografis a {
        margin: 5px 10px;
    }
    .sdgs-nilai {
        font-size: 20px;
    }
    .sdgs-title {
        font-size: 13px;
    }
}
.menu-infografis {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
.menu-infografis a {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333;
}
.menu-infografis a:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.menu-infografis i {
    font-size: 30px;
    margin-bottom: 5px;
}
.menu-infografis div {
    font-size: 12px;
    font-weight: 600;
}
.menu-infografis a.active {
    background: #007bff;
    color: #fff;
}
.img-button {
    width: 280px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: none;
    margin: 10px;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background-color: transparent;
}
.img-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* css untuk document  */
.dataTables_filter {
    float: right;
    text-align: right;
    margin-bottom: 10px;
}

.dataTables_filter input {
    width: 200px !important;
    height: 35px;
    font-size: 15px;
}

/* css untuk berita  */
.img-berita {
    width: 100%;
    height: 200px;
    /* tinggi disesuaikan agar proporsional */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .img-berita {
        height: 155px;
        /* tampil persegi panjang di desktop */
    }
}

@media (max-width: 767px) {
    .img-berita {
        height: 180px;
        /* tampil persegi panjang di HP */
    }
}

.konten-isi {
    text-align: justify;
}

.konten-isi img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 15px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .konten-isi img {
        max-width: 700px;
    }
}

.konten-isi img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* css umkm  */
.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 ratio */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.custom-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

/* Efek zoom saat hover */
.image-wrapper:hover .custom-img {
    transform: scale(1.05);
}

/* css untuk sig / tagging rumah  */
#map {
    height: 500px;
    width: 100%;
    margin-bottom: 20px;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

table,
th,
td {
    border: 1px solid #ccc;
}

th,
td {
    padding: 8px;
    text-align: left;
}

img.foto-rumah {
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 2px;
}

#map {
    height: 500px;
    width: 100%;
}

@@media (max-width: 576px) {
    #searchMap {
        font-size: 16px;
    }
}

.btn-kecil {
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1.2;
    border-radius: 3px;
}

/* css kopdes  */
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    background-color: #337ab7;
    /* biru tua */
    color: #fff !important;
    /* teks putih */
    border: 1px solid #337ab7;
}

/* Ubah warna hover tab */
.nav-tabs>li>a:hover {
    background-color: #e6f0fa;
    color: #337ab7;
}

.nav-tabs>li>a {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dataTables_filter {
    float: right;
    text-align: right;
    margin-bottom: 10px;
}

.dataTables_filter input {
    width: 200px !important;
    height: 35px;
    font-size: 15px;
}

.foto-pengurus {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* css untuk statisfik home  */
.stat-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-box h4 {
    font-size: 28px;
    font-weight: bold;
    color: #484e47;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

@media (max-width: 767px) {
    .stat-box {
        margin-bottom: 15px;
    }
}


