:root { 
    --primary-green: #27ae60; 
    --dark-blue: #2c3e50; 
    --kdkmp-red: #dc3545;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; overflow-x: hidden; }

/* --- Perbaikan Navbar & Dropdown --- */
.navbar { 
    background: white; 
    border-bottom: 1px solid #eee; 
    z-index: 9999 !important; 
}

.dropdown-menu {
    z-index: 10000 !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    padding: 10px 0 !important;
}

.dropdown-item {
    color: #333 !important;
    padding: 12px 20px !important;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: var(--kdkmp-red) !important;
}

.dropdown-header {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 1px;
}

/* --- Hero Section --- */
.hero { padding: 80px 0; background: linear-gradient(135deg, #f9fbf9 0%, #ffffff 100%); }
.hero h1 { font-weight: 800; color: var(--dark-blue); font-size: 3rem; }
.hero span { color: var(--primary-green); }

/* --- Stats Card --- */
.stat-card { border: none; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; }
.stat-card:hover { transform: translateY(-5px); }

/* --- Features Section --- */
.feature-box { padding: 30px; border-radius: 15px; border: 1px solid #eee; height: 100%; }
.feature-icon { font-size: 2rem; color: var(--primary-green); margin-bottom: 15px; }

/* --- CTA Section --- */
.cta-box { background: var(--primary-green); color: white; border-radius: 20px; padding: 60px; text-align: center; }

/* --- CSS Preloader Merah Putih --- */
#preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    animation: hilangkanBendera 1s forwards !important;
    animation-delay: 2.5s !important;
    pointer-events: none !important;
}

@keyframes hilangkanBendera {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; display: none; }
}

.flag-wave {
    width: 80px; height: 50px;
    border: 1px solid #eee;
    margin: 0 auto;
    animation: flagMotion 1s infinite alternate ease-in-out;
}

.red { background: #dc3545; height: 50%; }
.white { background: #ffffff; height: 50%; }

@keyframes flagMotion {
    from { transform: rotateX(0deg) skewY(0deg); }
    to { transform: rotateX(10deg) skewY(5deg); }
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #333;
    opacity: 0;
    animation: textAppear 2s forwards;
    margin-top: 15px;
    text-align: center;
}

@keyframes textAppear {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}