body {
  background-color: #f8f9fa;
}

/* Navbar base (biar rapi) */
.navbar {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.3s, box-shadow 0.25s;
}

/* Default nav-link style (kotak, tidak rounded) */
.navbar .nav-link {
  color: rgba(255, 255, 255, 0.95);
  padding: 0.42rem 0.42rem;
  margin: 0 0.18rem;
  border-radius: 5px;
  /* kotak, tanpa lengkungan */
  transition: background-color 0.18s ease, color 0.18s ease,
    transform 0.08s ease, box-shadow 0.18s ease;
  font-weight: 500;
  border: none;
}

/* Hover/focus effect — tampilkan sebagai tombol hijau */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: #12406b;
  /* hijau utama */
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(18, 164, 104, 0.18);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Aktif (menu halaman saat ini) — tampilkan solid hijau */
.navbar .nav-link.active {
  background: #12406b;
  /* warna sedikit gelap untuk aktif */
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(14, 138, 95, 0.18);
}

/* Saat navbar berubah menjadi scrolled (latar putih), pertahankan efek hover hijau
   dan sesuaikan warna teks default menjadi gelap agar kontras */
.navbar.scrolled {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-link {
  color: #2b2b2b;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  background: #12406b;
  color: #fff !important;
}

/* Mobile / collapse spacing */
.navbar .navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .navbar .nav-link {
    margin: 0.25rem 0;
    padding: 0.5rem 0.8rem;
  }
}

/* SLIDER */
.carousel-item {
  height: 90vh;
  position: relative;
}

.carousel-item img,
.carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 5;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
  font-size: 3.2rem;
  font-weight: bold;
}

.slide-content p {
  font-size: 1.3rem;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 80px;
}

.footer-flex > div {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .footer-flex {
    padding: 40px 20px;
  }
}

/* Naikkan posisi caption agar tidak terlalu ke bawah */
.carousel-caption {
  bottom: 35% !important;
  /* dari default 20% → naik */
  transform: translateY(20%);
}

.carousel-caption {
  top: 50%;
  /* turun dari 50% → 58% */
  transform: translateY(-50%);
  bottom: auto !important;
}

/* Fade Transition Lebih Halus */
.carousel.carousel-fade .carousel-item {
  transition: opacity 1.4s ease-in-out;
  opacity: 0;
}

.carousel-item.active,
.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
  opacity: 1 !important;
}

/* Video & Image Fullscreen */
.slider-video,
.slider-img {
  height: 100vh;
  object-fit: cover;
}

/* Overlay Gelap */
.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
}

.content-section {
  padding: 80px 0;
}

.bg-section {
  background: url("/img/settings/bg-header.png") center/cover no-repeat;
  padding: 140px 20px;
  text-align: center;
  color: white;
}

.leader-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}

.news-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  background: white;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.15);
}

.news-img {
  height: 260px;
  object-fit: cover;
}

.title-section {
  margin-top: 40px;
  margin-bottom: 30px;
}

.sidebar-list a {
  text-decoration: none;
  color: inherit;
}

.sidebar-list a:hover {
  color: #12406b;
}

.share-btn {
  border-radius: 999px;
}
.share-btn:hover {
  background-color: #12406b;
  color: white;
}
.share-btn i {
  font-size: 1.2rem;
}
.share-btn.facebook:hover {
  background-color: #3b5998;
}
.share-btn.twitter:hover {
  background-color: #1da1f2;
}
.share-btn.whatsapp:hover {
  background-color: #25d366;
}
.share-btn.linkedin:hover {
  background-color: #0077b5;
}
.share-btn.telegram:hover {
  background-color: #0088cc;
}

.business-header {
  background: linear-gradient(135deg, #7c6630, #12406b, #13a575);
  padding: 60px 0;
  padding-top: 70px;
  padding-bottom: 150px;
  color: white;
  text-align: center;
}

/* CARD */
.business-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  height: 100%;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.business-icon {
  font-size: 55px;
  margin-bottom: 12px;
  color: #7c6630;
}

.business-title {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 7px;
  color: #7c6630;
}

.business-desc {
  color: #666;
}

.project-header {
  background: linear-gradient(135deg, #7c6630, #12406b, #13a575);
  padding: 60px 0 150px;
  color: white;
  text-align: center;
}
.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.project-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.txt-color {
  color: #12406b;
}

.txt-gold {
  color: #957d37;
}

.btn-gold {
  background-color: #957d37;
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-gold:hover {
  background-color: #7c6630;
  color: white;
}

.btn-color {
  background-color: #12406b;
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-color:hover {
  background-color: #12406b;
  color: white;
}

.swiper-container {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styling untuk masing-masing slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Card Styling */
.card-partner {
  width: 210px;
  /* Lebar tetap untuk card */
  height: 110px;
  /* Tinggi tetap untuk card */
  background-color: #fff;
  /* Latar belakang putih */
  border-radius: 15px;
  /* Rounded corners */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Memberikan bayangan halus pada card */
  overflow: hidden;
  /* Menyembunyikan bagian gambar yang melampaui border */
  transition: transform 0.3s ease;
  /* Transisi animasi untuk efek hover */
  padding: 20px;
}

/* Efek hover untuk card */
.card-partner:hover {
  transform: scale(1.05);
  /* Membesarkan sedikit card saat hover */
}

/* Styling untuk gambar di dalam card */
.card-partner img {
  height: 100%;
  /* Menyesuaikan tinggi gambar dengan ukuran card */
  width: auto;
  /* Menyesuaikan lebar gambar dengan ukuran card */
  object-fit: contain;
  /* Memastikan gambar tetap proporsional dan tidak terdistorsi */
  transition: transform 0.3s ease;
}

/* Animasi marquee */
.swiper-wrapper {
  display: flex;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
      transform: translateX(0);
  }

  100% {
      transform: translateX(-100%);
  }
}

/* Swiper pagination positioning */
.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}