@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
    --primary-blue: #0056b3;
    --secondary-blue: #e6f0fa;
    --white: #ffffff;
    --radius-lg: 20px;
    --radius-md: 23px;
}
body {
    background-color: #f4f7f6;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}
.navbar {background-color: #062d74 !important;/* border-radius: 0 0 var(--radius-lg) var(--radius-lg); */position: sticky;top: 0;z-index: 1000;box-shadow: 0 4px 6px rgba(0,0,0,0.1);}
.card { border: none; border-radius: var(--radius-lg); box-shadow: 0 4px 10px rgba(0,0,0,0.05); overflow: hidden; margin-bottom: 20px; }
.btn-primary { background-color: var(--primary-blue); border: none; border-radius: var(--radius-md); }
.btn-primary:hover { background-color: #004494; }
.text-primary { color: var(--primary-blue) !important; }
.bg-secondary-blue { background-color: var(--secondary-blue); }
.rounded-img { border-radius: var(--radius-md); }
.mobile-footer { position: fixed; bottom: 0; width: 100%; background: var(--white); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); border-radius: var(--radius-lg) var(--radius-lg) 0 0; z-index: 1000; padding: 10px; display: none; }
@media (max-width: 991px) { .mobile-footer { display: flex; justify-content: space-around; } body { padding-bottom: 60px; } }
/* --- TAMPILAN MODERN & APLIKASI --- */

/* Efek Kartu Mengambang Halus */
.card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Hero Section (Dengan Background Gambar & Overlay Transparan) */
.hero-section {
    /* Gradien RGBA digunakan sebagai lapisan warna buram agar tulisan tetap terbaca, diikuti dengan URL gambar */
    background: linear-gradient(rgba(0, 86, 179, 0.75), rgb(26 115 232 / 61%)), url(../images/smp.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 30px rgb(0 86 179 / 52%) !important;
}

/* App-like Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.90); /* Transparan */
    backdrop-filter: blur(12px); /* Efek Kaca / Glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom)); /* Support layar iPhone (Notch) */
    z-index: 1050;
    /* border-radius: 25px 25px 0 0; */ /* Melengkung di atas */
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8fa0b3;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.7rem; /* Diperbesar sedikit agar detail dua warnanya terlihat */
    margin-bottom: 3px;
    transition: transform 0.3s ease;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--primary-blue);
}

.mobile-bottom-nav .nav-item:active i {
    transform: scale(0.9); /* Animasi saat dipencet */
}

/* Beri ruang kosong di bawah agar konten tidak tertutup nav menu */
@media (max-width: 991px) {
    body { padding-bottom: 90px !important; }
    .mobile-footer { display: none !important; } /* Sembunyikan footer lama */
}
/* Ukuran Ikon di Judul Card */
h4 i, h5 i {
    font-size: 1.3em;
    vertical-align: middle;
}