/* 1. Efek Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom CSS untuk memperindah tampilan */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* JALUR GAMBAR SUDAH RELATIF BENAR */
    background-color: aliceblue;
    background-size: cover;
    background-attachment: fixed;
}

/* Styling untuk Logo di Navbar */
.navbar-logo {
    height: 40px; /* Atur ketinggian logo, misalnya 40 piksel */
    width: auto; /* Memastikan lebar menyesuaikan proporsi */
}
/* Custom background untuk Hero Section (Header) */
.hero-bg {
    /* JALUR GAMBAR SUDAH RELATIF BENAR */
    background-image: url('../images/bg-portal.jpg'); 
    background-size: cover; /* Memastikan foto menutupi seluruh area */
    background-position: center center; /* Memposisikan foto di tengah */
    
    /* PENINGKATAN TINGGI GAMBAR */
    padding-top: 18rem !important; 
    padding-bottom: 18rem !important;
    
    position: relative;
    z-index: 1;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay Gelap Transparan */
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1;
}

/* Styling untuk Kartu Portal */
.portal-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}

/* Efek saat mouse diarahkan ke Kartu (Hover) */
.portal-card:hover {
    transform: translateY(-5px); /* Kartu naik sedikit */
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; /* Bayangan lebih tebal */
}

.portal-card .card-body {
    padding: 2rem;
}

.portal-card .card-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}