html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    /* Mengisi ruang yang tersedia */
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {

    .navbar-nav .nav-item,
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        /* Adjust padding values as needed */
    }
}

/* Hover hanya berlaku pada perangkat dengan layar lebar */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: none;
    }
}

.navbar {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    transition: top 0.3s;
    z-index: 3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Tambahkan shadow */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 5px;
}

.navbar-nav .nav-item {
    text-decoration: none;
    color: #555;
}

.navbar-nav .nav-item .nav-link {
    text-decoration: none;
    color: #555;
    border-radius: 5px;
    /* Warna teks default */
    transition: color 0.3s ease;
    /* Animasi saat warna berubah */
}

.dropdown-menu .dropdown-item {
    color: #555;
    /* Warna teks default dropdown */
}

.navbar-nav li a {
    text-decoration: none;
    color: #555;
    border-radius: 5px;
}

.navbar-nav .nav-item .nav-link:hover {
    color: white;
    /* Change text color to white */
    background-color: #ee1b22;
    /* Change background color to green */
    transition: color 0.3s;
    transition: background-color 0.3s;
}

.navbar-nav .nav-item .nav-link.active {
    color: #ee1b22;
}

.navbar-nav .nav-item .nav-link.active:hover {
    color: white;
    /* Change text color to white */
    background-color: #ee1b22;
    /* Change background color to green */
    transition: color 0.3s;
    transition: background-color 0.3s;
}

.navbar-nav .dropdown-item.active {
    color: white;
    /* Change text color to white */
    background-color: #ee1b22;
    /* Change background color to green */
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    color: #ffffff;
    /* Ganti dengan warna hijau sesuai keinginan */
    background-color: #ee1b22;
    /* Change background color to green */
    transition: color 0.3s;
    transition: background-color 0.3s;
}

.visimisi {
    width: 100%;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    /* background: transparent; */
}

.visimisi:hover {
    background: #ee1b22;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}


.visimisi .description {
    order: 1;
    text-align: left;
}

.skema .card {
    transition: .3s;
    height: 280px;
}

.skema .card:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);

}

.skema .card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skema .card .card-body img {
    height: 145px;
    width: 250px;
    border-radius: 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.contact-link {
    transition: color 0.3s ease;
}

.contact-icon {
    font-size: 22px;
    /* Ubah ukuran sesuai kebutuhan */
}

.contact-link:hover {
    color: #000000 !important;
}

.nav-item .contact-link {
    transition: color 0.3s ease;
}

.nav-item .contact-icon {
    font-size: 18px;
    /* Ubah ukuran sesuai kebutuhan */
}

.nav-item .contact-link:hover {
    color: #ff0000 !important;
}

.gallery {
    max-width: 85%;
    margin: 20px auto;
}

.gallery .image-gallery {
    columns: 4;
    gap: 15px;
}

.gallery .image-gallery img {
    margin-bottom: 10px;
    border-radius: 5px;
    width: 100%;
}

.infographic {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}

.data-point {
    text-align: center;
}

.icon img {
    width: 50px;
    height: 50px;
}

.jumlah {
    font-size: 30px;
    font-weight: bold;
    margin: 5px 0;
}

.label-infographic {
    font-size: 24px;
    color: #fff212;
    font-weight: bold;
}

td.d-flex .badge[title]::after {
    content: attr(title);
    display: none;
    position: absolute;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 1;
}

.daftar-sertifikasi .card {
    transition: .3s;
}

.daftar-sertifikasi .card:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);

}

.daftar-sertifikasi .card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.daftar-sertifikasi .card .card-body img {
    height: 120px;
    width: 120px;
    border-radius: 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}