body {
  background-color: #f8fafc;
  color: #333;
}

html, body, p, a, h1,
h2,
h3,
h4,
h5,
h6, li, ol, ul, table, div {
  font-family: 'Poppins', sans-serif;
}

/* Navbar Customization */
.navbar {
  background-color: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #eef2f5;
}

.navbar-brand img {
  max-height: 45px;
}

.nav-link {
  color: #555 !important;
  font-weight: 500;
  margin-right: 15px;
  font-size: 0.95rem;
}

.nav-item.active .nav-link {
  color: #00796b !important;
  background-color: #e0f2f1;
  border-radius: 6px;
  padding-left: 15px;
  padding-right: 15px;
}

.btn-admin {
  background-color: #0d1b2a;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  padding: 8px 20px;
}

/* Hero / Banner Section */
/* Container Utama Carousel */
.hero-banner {
  position: relative;
  border-radius: 24px;
  margin-top: 30px;
  overflow: hidden;
  background-color: #0b2e24;
  /* Fallback warna dasar */
}

/* Mengatur Gambar HTML agar Menjadi Background */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Menjaga rasio gambar agar tidak gepeng */
  z-index: 1;
}

/* Overlay Transparan di Atas Gambar */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(11, 46, 36, 0.85), rgba(11, 46, 36, 0.85));
  z-index: 2;
}

/* Container Konten Teks (Wajib di atas gambar & overlay) */
.carousel-content {
  position: relative;
  z-index: 3;
  padding: 60px 50px;
}

.badge-national {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #4ade80;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
}

.hero-title {
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.3;
  margin-top: 20px;
  max-width: 600px;
}

.hero-desc {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 550px;
  margin-bottom: 35px;
}

.btn-utama {
  background-color: #ffffff;
  color: #0b2e24 !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-kami {
  background-color: #053b2e;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  margin-left: 15px;
}

/* Navigasi & Kontrol Slider */
.carousel-arrows {
  position: absolute;
  bottom: 40px;
  right: 50px;
  z-index: 4;
  /* Di atas konten utama */
}

/* Custom CSS untuk Indikator Bulat/Garis Efek */
.carousel-indicators-custom {
  list-style: none;
  display: flex;
  align-items: center;
}

.carousel-indicators-custom li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Membuat garis lonjong horizontal saat slide aktif */
.carousel-indicators-custom li.active {
  width: 24px;
  border-radius: 4px;
  background-color: #ffffff;
}

.arrow-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white !important;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  text-decoration: none !important;
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Category Section */
.category-box {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.category-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-header i {
  margin-right: 10px;
  color: #0f172a;
}

.cat-card {
  background-color: #f8fafc;
  border-radius: 14px;
  padding: 20px 10px;
  text-align: center;
  border: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cat-card:hover {
  background-color: #e8f5e9;
  border-color: #a5d6a7;
  transform: translateY(-3px);
}

.cat-icon {
  font-size: 1.5rem;
  color: #2e7d32;
  margin-bottom: 12px;
}

.cat-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0;
}

.category-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 20px;
}