:root {
    --primary-color: #00b894; /* Emerald Green */
    --secondary-color: #0984e3;
    --dark-bg: #2d3436;
    --light-bg: #f5f6fa;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.08);
    --radius-lg: 15px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: #2d3436;
}

/* --- NAVBAR STYLING --- */
.navbar {
    transition: all 0.3s ease;
    padding: 10px 0; /* Sedikit lebih ramping */
    backdrop-filter: blur(10px);
    background: rgba(33, 37, 41, 0.95);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 40px; /* Ukuran logo di navbar */
    width: auto;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- BUTTONS --- */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.4);
    background-color: #019e7e;
    color: white;
}

/* --- CARDS --- */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* --- UTILITIES --- */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }

/* --- PRELOADER STYLES (LOGO VERSION) --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Perubahan Path Gambar: mundur satu folder dari css/ ke assets/ lalu ke img/ */
    background-image: url('../img/bacground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--dark-bg); 
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.loader-content {
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    z-index: 2;
}

/* Animasi Logo Berdenyut */
.loader-logo {
    width: 80px; /* Ukuran logo di preloader */
    height: auto;
    margin-bottom: 15px;
    animation: pulseLogo 1.5s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 184, 148, 0.3));
}

.loader-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    animation: fadeInText 0.5s 0.3s forwards;
}

/* Keyframes Animasi */
@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInText {
    to { opacity: 1; }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}