html {
    scroll-behavior: smooth;
}

body {
    background-color: #f0fdf4;     /* Alternatif kalau mau lebih 'Mint': #f0fdf4 */
    color: #333;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 0px !important;
}

.hero-slide-item {
    height: 450px; /* Tinggi dikurangi sedikit agar proporsional */
    background-size: cover;
    background-position: center;
    border-radius: 15px; /* Membuat pojok gambar melengkung */
}

/* Mempercantik tulisan agar mirip gambar referensi */
.carousel-item h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s; /* Kecepatan efek Fade */
    transition-property: opacity;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.text-link-berita {
    color: #ffffff !important; /* Paksa jadi putih */
    transition: all 0.3s ease;
    font-size: 1.5rem;
    margin: 0;
}

.text-link-berita:hover {
    color: #dcfce7 !important; /* Berubah jadi hijau mint muda saat di-hover agar interaktif */
    text-decoration: none;
}

.bg-success { 
    background-color: #059669 !important; /* Warna hijau emerald */
    color: white; 
}

.sidebar-widget { background: #f8f9fa; border-left: 4px solid #198754; }
.card-img-top { height: 200px; object-fit: cover; }

.card:hover {
    transform: translateY(-5px); /* Mengangkat kartu sedikit ke atas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Bayangan jadi lebih jelas/tebal */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transisi halus */
}

@media (max-width: 768px) {
    .card:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

.navbar-light {
    background-color: #e3ffec !important; /* Warna Putih Mint yang kita bahas tadi */
    border-bottom: 2px solid #dcfce7; /* Garis hijau sangat tipis di bawah navbar */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); /* Shadow halus agar terlihat modern */
}

/* Kode yang kamu tunjukkan di gambar tetap dipertahankan di bawahnya */
.navbar-light .navbar-nav .nav-link {
    color: #047857; /* Tetap hijau tua agar kontras */
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-right: 5px;
}

/* Efek saat kursor menunjuk (Hover) */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: #059669; /* Hijau Emerald saat aktif/hover */
    font-weight: bold;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
    }
}

/* Warna dasar kotak dropdown (Putih bersih agar rapi) */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Shadow halus */
    border-radius: 10px;
    padding: 8px 0;
}

/* Warna teks default (Abu-abu gelap agar tidak kaku) */
.dropdown-item {
    color: #4b5563 !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease; /* Transisi halus */
}

/* === EFEK HOVER KONTRAS (INI KUNCINYA) === */
.dropdown-item:hover {
    background-color: #059669 !important; /* Hijau Emerald Aestetik */
    color: #ffffff !important; /* Teks berubah jadi putih */
    padding-left: 25px; /* Efek geser sedikit ke kanan */
}

.typed-cursor {
    color: #059669; /* Sesuaikan warna hijau tema kita */
    font-size: 1.2rem;
    margin-left: 2px;
    font-weight:400;
    display: inline-block;
    vertical-align: middle;
}

#typing-text {
    min-width: 200px;
    min-height: 30px; /* Menjaga agar navbar tidak goyang saat teks kosong */
    display: inline-flex;
    vertical-align: middle;
}

/* Styling Judul Section Berita */
h4 {
    position: relative;
    font-size: 1.25rem;
}

/* Membuat garis aksen hijau lebih tebal di bawah judul saja */
h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #059669; /* Hijau Emerald */
    border-radius: 2px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #198754; /* Warna pemisah breadcrumb jadi hijau */
}


footer h5 {
    letter-spacing: 1px;
    font-size: 1.1rem;
}

footer p, footer li {
    line-height: 1.6;
}

footer img.img-fluid:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1); /* Putih transparan */
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffffff; /* Putih solid saat hover */
    color: #064e3b; /* Teks jadi hijau tua (warna footer) */
    transform: translateY(-5px); /* Efek melayang */
}