/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    text-align: center;
    margin: 0;
    padding: 20px;
}

/* Title */
h1 {
    color: #333;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

/* Khodam Container */
.khodam-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* Khodam Cards */
.khodam {
    width: 200px;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
    transition: transform 0.3s ease-in-out;
}

.khodam:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 25px;
    background-color: #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.fill {
    height: 100%;
    background-color: #007BFF;
    width: 0;
    transition: width 1.5s ease; /* Smooth transition for the progress bar */
}

.warning .fill {
    background-color: #FF6347; /* Warna merah untuk peringatan */
}

/* Text inside Khodam */
p {
    font-size: 1.2em;
    margin: 0;
    color: #333;
}

/* Menu lainnya */
.other-menu {
    margin: 30px 0;
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.other-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.other-menu ul li {
    display: inline;
    margin-right: 20px;
}

.other-menu ul li a {
    text-decoration: none;
    font-size: 1.1em;
    color: #333;
    transition: color 0.3s ease;
}

.other-menu ul li a:hover {
    color: #007BFF; /* Warna hover biru */
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 10px 0;
    background-color: #333;
    color: white;
    font-size: 0.9em;
}

footer p {
    margin: 0;
    opacity: 0;
    animation: fadeIn 2.5s forwards;
}

/* Keyframes for Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}