body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar-transparent {
  background-color: #00b109 !important;
}

.navbar-scrolled {
  background-color: #00b109 !important;
  box-shadow: 0 2px 4px rgba(251, 65, 65, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 10px;
  line-height: 1.2;
  gap: 5px;
}

.brand-text h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-text small {
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link {
  position: relative;
  display: inline-block;
  font-weight: 600;
  margin-left: 15px;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: white; /* warna underline saat navbar transparent */
  transition: width 0.3s ease-in-out;
}

.navbar-scrolled .nav-link {
  color: #000 !important;
}

.navbar-scrolled .nav-link::after {
  background-color: #000; /* warna underline saat navbar putih */
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  text-decoration: underline;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 20px;
  left: 10%;
  right: auto;
  bottom: 40%;
  text-align: left;
}

.carousel-item img {
  height: 100vh;
  object-fit: cover;
}

.statistik-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: #f8d7da;
  color: #00b109;
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.statistik-box i {
  font-size: 1.2rem;
}

.jelajahi-desa-section {
  padding: 80px 15px;
  background-color: #f9f9f9;
}

.jelajahi-desa-section h2 {
  font-weight: 700;
  color: #00b109;
}

.jelajahi-desa-section p {
  font-size: 1.1rem;
  color: #333;
}

.feature-icon {
  transition: transform 0.3s ease;
  font-size: 2rem;
  margin-right: 15px;
}

a:hover .feature-icon {
  transform: translateX(5px) scale(1.1);
}

.menu-card {
  transition: box-shadow 0.3s ease;
}

a:hover .menu-card {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.menu-card p {
  margin: 0;
}

.sambutan-section {
  padding: 50px 20px;
  background-color: #fff;
}

.sambutan-img {
  max-width: 60%;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sambutan-title {
  font-weight: 700;
  font-size: 2rem;
  color: #00b109;
}

.sambutan-name {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.sambutan-role {
  font-weight: 500;
  color: #666;
  margin-bottom: 20px;
}

.scroll-container {
  display: flex;
  justify-content: center; /* Center secara horizontal */
  flex-wrap: wrap; /* Agar card pindah ke bawah jika tidak cukup */
  gap: 20px; /* Jarak antar card */
  padding: 20px;
}

.card {
  width: 250px;
  background-color: #128c7e;
  border-radius: 10px;
  text-align: center;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 5;
}
.card img {
  width: 100%;
  border-radius: 10px;
}
.name {
  font-weight: bold;
  margin-top: 10px;
}
.position {
  font-size: 0.9rem;
  color: #555;
}

.card .position {
  font-size: 14px;
  margin-bottom: 5px;
}

.see-more {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  margin-bottom: 30px;
}

.see-more a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  margin-bottom: 100px;
}

.see-more a:hover {
  text-decoration: underline;
}

.footer-desa {
  background-color: #0d3b66;
  color: white;
  padding: 30px 15px;
  text-align: center;
  margin-top: 40px;
}

.footer-desa .footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.footer-desa .footer-logo img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.footer-desa .footer-logo h4 {
  margin: 0;
  font-size: 1.2rem;
}

.footer-desa p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-desa .copyright {
  margin-top: 10px;
  font-size: 12px;
  color: #ccc;
}

.administrasi-section {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.administrasi-section .title {
  color: #e50914;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.administrasi-section .subtitle {
  color: #333;
  font-size: 1rem;
  margin-bottom: 40px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
}

.data-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
  border-radius: 5px;
  overflow: hidden;
}

.data-number {
  background: linear-gradient(to right, #00b109, #ff8a80);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  flex: 1;
  padding: 15px 10px;
  text-align: center;
}

.data-label {
  flex: 2;
  padding: 15px 10px;
  font-weight: 600;
  color: #333;
}

/* Responsif: ubah ke 1 kolom di layar kecil */
@media (max-width: 768px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes typingEffect {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.data-number.typing {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  animation: typingEffect 1.5s steps(10) forwards;
}

.apbdesa {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
}

.apbdesa-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  gap: 40px;
}

.apbdesa-image img {
  max-width: 100%;
  height: auto;
  width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* ini bagian bayangan */
  border-radius: 10px; /* opsional, biar sudut gambar lebih lembut */
}

.apbdesa-content {
  flex: 1;
}

.apbdesa-content h2 {
  color: #008d59;
  font-size: 36px;
  margin-bottom: 10px;
}

.apbdesa-content p {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
}

.apbdesa-card {
  background: linear-gradient(to right, #064940, #acacac);
  border-radius: 10px;
  padding: 20px 30px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.apbdesa-card span {
  font-weight: 600;
  color: #fffefe;
  font-size: 16px;
}

.apbdesa-card h3 {
  margin: 5px 0 0;
  font-size: 32px;
  color: #fffcfc;
  font-weight: bold;
}

.apbdesa-link {
  display: flex;
  align-items: center;
  margin-top: 20px;
  font-weight: 600;
}

.apbdesa-link i {
  margin-right: 10px;
  font-size: 20px;
}

.apbdesa-link a {
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}

.apbdesa-link a:hover {
  color: #f44336;
}

.card-body {
  padding: 20px;
  flex: 1;
  text-align: left;
}

.card-body h3 {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px;
  flex-wrap: wrap;
}

.card-footer .meta {
  font-size: 0.85rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-footer .meta i {
  margin-right: 5px;
}

.card-footer .tanggal {
  background-color: #00b109;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.2;
}

.potensi-desa {
  background-color: #f5f5f5;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.potensi-desa .container {
  max-width: 1200px;
  margin: 0 auto;
}

.judul-potensi h2 {
  color: #008d59;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.judul-potensi p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
}

.lihat-lain {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  margin-top: 10px;
}

.lihat-lain i {
  margin-right: 8px;
  font-size: 20px;
}

.grid-potensi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 40px;
  justify-items: center;
}

.item-potensi {
  text-align: center;
}

.circle-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-potensi h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.section-wisata-b {
  position: relative;
  overflow: hidden;
  height: 720px;
  margin-top: 0px;
}

.section-wisata-b .background-blur-b {
  background: url("c3.jpg") no-repeat center center/cover;
  filter: blur(8px);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 0;
}

.section-wisata-b .content-b {
  position: relative;
  z-index: 1;
  padding: 40px;
  color: white;
}

.section-wisata-b h2 {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
}

.section-wisata-b p {
  font-size: 20px;
  margin-top: 10px;
  color: #ffffff;
}

.carousel-b {
  position: relative;
  max-width: 90%;
  margin: 40px auto 0;
  overflow: hidden;
}

.carousel-slide-b {
  display: none;
  position: relative;
}

.carousel-slide-b.active-b {
  display: block;
  animation: fade 0.5s ease-in-out;
}

.carousel-slide-b img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-caption-b {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-size: 36px;
  font-weight: 800;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.carousel-b button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 24px;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 2;
}

.carousel-b .prev-b {
  left: 10px;
}
.carousel-b .next-b {
  right: 10px;
}

.galeri {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}
.galeri h2 {
  font-size: 50px;
  color: #e63946;
  margin-bottom: 20px;
}
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
}
.galeri-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.galeri-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.galeri-card img {
  width: 100%;
  height: 50%;
}
.galeri-card p {
  padding: 10px;
  margin: 0;
  font-size: 14px;
  color: #555;
}

.produk-desa {
  text-align: center;
  padding: 50px 20px;
  background: #fafafa;
}

.produk-desa h2 {
  color: #ef4444;
  font-size: 50px;
  margin-bottom: 10px;
}

.produk-desa p {
  font-size: 16px;
  margin-bottom: 40px;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

.produk-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.produk-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.produk-info {
  padding: 15px;
}

.produk-info h3 {
  margin: 0 0 10px;
}

.produk-rating {
  color: #ddd;
}

.produk-harga {
  font-weight: bold;
  margin-top: 10px;
}

.berita-container {
  margin-top: 10%;
  margin-bottom: 10%;
  padding-left: 5%;
  padding-right: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.berita-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.berita-card:hover {
  transform: translateY(-5px);
}
.berita-card h3 {
  margin-top: 0;
  color: #007e33;
}
.berita-card .tanggal {
  color: gray;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.visi-misi-section {
  background: #f9f9f9;
}

.visi-box {
  border-left: 6px solid #198754;
  border-radius: 15px;
  transition: transform 0.3s;
  background-color: white;
  max-width: 800px; /* Membatasi panjang maksimal */
  width: 100%; /* Mengisi penuh di dalam max-width */
  margin: 0 auto; /* Pusatkan horizontal */
  bottom: 20px;
}

.misi-box {
  border-top: 4px solid #198754;
  border-radius: 15px;
  background-color: white;
  transition: transform 0.3s;
  display: flex;
  justify-content: flex-start;
  align-items: first baseline;
  padding: 20px;
  width: 100%; /* Membuat lebar card mengikuti lebar kolom */
}

.visi-box:hover,
.misi-box:hover {
  transform: scale(1.03);
}
.container-text {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: justify;
}

.section-geografis {
  background-color: #f9f9f9;
  border-top: 5px solid #198754;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #198754;
}

.section-subtitle {
  font-size: 1rem;
  color: #6c757d;
}

.geo-card {
  background-color: #ffffff;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.geo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.geo-icon {
  font-size: 2.5rem;
  color: #198754;
}

.geo-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.geo-text {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.section-agama {
  background-color: #f2f7f5;
  border-top: 5px solid #198754;
}

.agama-card {
  background-color: #ffffff;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.agama-card:hover {
  transform: translateY(5px); /* efek tenggelam */
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.15);
}

.agama-icon {
  font-size: 2.5rem;
  color: #198754;
}

.agama-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.agama-text {
  font-size: 1rem;
  color: #333;
}

.marriage-stats {
  padding: 60px 20px;
  background-color: #f4f9f6;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 50px auto;
}

.marriage-stats h2 {
  font-size: 2.2em;
  color: #198754;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #3498db, #2980b9);
  cursor: pointer;
}

.stat-card .card-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.stat-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.stat-card p {
  font-size: 1.8em;
  font-weight: bold;
}

/* Kartu khusus warna */
.stat-card.single {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.stat-card.married {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.stat-card.divorced {
  background: linear-gradient(135deg, #e67e22, #d35400);
}

.stat-card.widow {
  background: linear-gradient(135deg, #f39c12, #f1c40f);
}

/* Efek hover */
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  .marriage-stats h2 {
    font-size: 1.8em;
  }

  .stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sejarah Section */
.sejarah-section {
  padding: 60px 20px;
}

.sejarah-section h2 {
  font-size: 2.5em;
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
}

.sejarah-text p {
  font-size: 1.2em;
  text-align: justify;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* Menjaga gambar dan teks sejajar secara vertikal */
.sejarah-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container {
  flex: 1;
  padding: 0px;
  display: flex;
  justify-content: center;
}

.image-container img {
  width: 100%; /* Panjang tetap mengikuti container */
  height: 250px; /* Tinggi ditentukan agar lebih pendek */
  object-fit: cover; /* Memastikan gambar tetap proporsional dan tidak terdistorsi */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text-container {
  flex: 1;
  padding: 20px;
}

/* Wisata Rohani dan Budaya Section */
.wisata-section {
  padding: 60px 20px;
  background-color: #f1f1f1;
}

.wisata-section h2 {
  font-size: 2.5em;
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
}

.wisata-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.wisata-card:hover {
  transform: translateY(-10px);
}

.wisata-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.wisata-card-body {
  padding: 20px;
  text-align: center;
}

.wisata-card-body h5 {
  font-size: 1.5em;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.wisata-card-body p {
  font-size: 1.1em;
  color: #555;
}

.sdgs-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.sdgs-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.sdgs-header h2 {
  font-size: 3rem;
  color: #e53935;
  margin: 10px 0;
}

.sdgs-header p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.sdgs-header hr {
  width: 60px;
  margin: 1.5rem auto;
  border: 2px solid #ccc;
}

.sdgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.sdgs-card {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.sdgs-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 12px;
}

.sdgs-card p {
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.sdgs-card span {
  font-size: 20px;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .sdgs-header h1 {
    font-size: 2rem;
  }

  .sdgs-header h2 {
    font-size: 2.5rem;
  }
}

/* Styling untuk section */
.sdgs-section {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 40px;
}

/* Tabel Kiri */
.sdgs-table-container {
  width: 100%;
  margin-top: 20px;
}

.sdgs-table {
  width: 100%;
  border-collapse: collapse;
}

.sdgs-table-header {
  background-color: #f4f4f4;
  font-weight: bold;
}

.sdgs-table th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.sdgs-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Responsif untuk layout tabel */
@media (min-width: 768px) {
  .sdgs-section {
    flex-direction: row;
    justify-content: space-between;
  }

  .sdgs-table-container,
  .sdgs-card-container {
    width: 48%;
  }
}

/* Card Kanan (Grid) */
.sdgs-card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sdgs-card {
  padding: 16px;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  text-align: center;
  display: flex;
  flex-direction: column; /* ubah dari row ke column */
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sdgs-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Card Colors */
.bg-red-500 {
  background-color: #f56565;
}
.bg-yellow-400 {
  background-color: #f6e05e;
}
.bg-green-600 {
  background-color: #38a169;
}
.bg-red-400 {
  background-color: #fc8181;
}
.bg-blue-400 {
  background-color: #63b3ed;
}
.bg-rose-700 {
  background-color: #e53e3e;
}
.bg-orange-500 {
  background-color: #ed8936;
}
.bg-pink-400 {
  background-color: #f687b3;
}
.bg-green-700 {
  background-color: #2f855a;
}
.bg-blue-500 {
  background-color: #4299e1;
}
.bg-blue-800 {
  background-color: #2b6cb0;
}

/* Responsif untuk card pada layar kecil */
@media (max-width: 767px) {
  .sdgs-card-container {
    grid-template-columns: 1fr; /* satu kolom pada layar kecil */
  }
}

/* Keterangan / Header */
.sdgs-header {
  width: 100%;
}

.sdgs-header-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .sdgs-header-title {
    text-align: left;
  }
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #2c7a7b;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.layanan-section {
  padding: 80px 0;
}

.layanan-card {
  background: white;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.layanan-card:hover {
  transform: translateY(-10px);
}

.layanan-content {
  flex: 1;
}

.layanan-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #3182ce;
}

.timeline {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.timeline li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
}

.timeline li::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #38a169;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 5px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #38a169;
  left: 6px;
}

.layanan-icon {
  font-size: 6rem;
  color: #4fd1c5;
  margin-left: 30px;
}

@media (max-width: 768px) {
  .layanan-card {
    flex-direction: column;
    text-align: center;
  }

  .layanan-icon {
    margin: 20px 0 0 0;
  }
}

/* Card Pelayanan */
.pelayanan-card {
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin: 15px 0;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pelayanan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Ikon Card */
.card-icon {
  font-size: 3rem;
  color: white;
  padding: 20px;
  border-radius: 50%;
  margin-right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* Warna Ikon */
.bg-blue-500 {
  background-color: #3182ce;
}

.bg-orange-500 {
  background-color: #ed8936;
}

/* Konten Card */
.card-content h3 {
  font-size: 1.8rem;
  color: #2c7a7b;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 1.2rem;
  color: #666;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  .pelayanan-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .card-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Berita Desa Section Style */
.berita-desa-section {
  padding: 60px 0;
  background: #f9fafb;
}

.container-berita {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.title-berita {
  font-size: 2.8rem;
  color: #2c5282;
  margin-bottom: 50px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Cards Layout */
.berita-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
}

/* Individual Card */
.berita-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s forwards;
}

.berita-card:hover {
  transform: translateY(-10px);
}

/* Image Part */
.berita-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Content Part */
.berita-content {
  padding: 25px;
  text-align: left;
}

.berita-content h3 {
  font-size: 1.6rem;
  color: #2d3748;
  margin-bottom: 15px;
}

.berita-content p {
  color: #718096;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Read More */
.read-more-berita {
  text-decoration: none;
  color: #3182ce;
  font-weight: bold;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

.read-more-berita i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.read-more-berita:hover i {
  transform: translateX(5px);
}

/* Animation Fade In Up */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .title-berita {
    font-size: 2.2rem;
  }
}

/* Pengumuman Section */
.pengumuman-section {
  padding: 60px 0;
  background: #eef2f7;
}

.container-pengumuman {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.title-pengumuman {
  font-size: 2.8rem;
  color: #2d3748;
  margin-bottom: 50px;
  font-weight: bold;
}

/* Cards Layout */
.pengumuman-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
}

/* Individual Card */
.pengumuman-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px 20px 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.pengumuman-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.pengumuman-card h3 {
  font-size: 1.8rem;
  margin: 20px 0 10px;
  font-weight: bold;
}

.pengumuman-card p {
  color: #4a5568;
  font-size: 1rem;
  margin-bottom: 20px;
}

.pengumuman-card .tanggal {
  font-size: 0.9rem;
  color: #718096;
  display: block;
}

/* Card Colors */
.pengumuman-card.desa {
  border-left: 6px solid #48bb78; /* Green */
}
.pengumuman-card.kabupaten {
  border-left: 6px solid #4299e1; /* Blue */
}

/* Icon style */
.icon-wrapper {
  font-size: 2.8rem;
  color: #48bb78;
}

/* Icon warna sesuai card */
.pengumuman-card.kabupaten .icon-wrapper {
  color: #4299e1;
}

/* Responsive */
@media (max-width: 768px) {
  .title-pengumuman {
    font-size: 2.2rem;
  }
}

.potensi-desa-unik {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #005e5e, #0be7d4);
  text-align: center;
}

.potensi-desa-title {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 3rem;
  font-weight: bold;
}

.cards-unik {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* responsive */
}

.card-unik {
  width: 400px; /* Lebar 4 satuan */
  height: 450px; /* Tinggi 2.5 satuan */
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-unik:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-unik img {
  width: 100%;
  height: 60%; /* bagian gambar */
  object-fit: cover;
}

.card-unik h3 {
  margin: 0.5rem 1rem 0;
  font-size: 1.3rem;
  color: #004d40;
}

.card-unik p {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 1rem 1rem;
}

.btn-pesan-unik {
  background-color: #0be7d4;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  margin-top: auto;
  transition: background-color 0.3s;
}

.btn-pesan-unik:hover {
  background-color: #004d40;
}

/* Responsive: di HP jadi 2 card per baris */
@media (max-width: 768px) {
  .cards-unik {
    justify-content: center;
  }
  .card-unik {
    width: 45%; /* 2 card dalam 1 baris */
    height: 220px;
  }
}

@media (max-width: 480px) {
  .card-unik {
    width: 100%; /* di HP kecil jadi 1 card full */
    height: 240px;
  }
}

.btn-pesan {
  display: inline-block;
  margin-top: auto;
  margin-bottom: 3rem;
  padding: 0.5rem 1.5rem;
  background-color: #00bfa5;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-pesan:hover {
  background-color: #008e76;
  transform: scale(1.05);
}

.langkah-pemesanan {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}

.langkah-pemesanan h2 {
  font-size: 2.5rem;
  color: #00796b;
  margin-bottom: 3rem;
  font-weight: bold;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.step-card {
  display: flex;
  align-items: center;
  width: 80%;
  max-width: 800px;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.icon {
  font-size: 2.5rem;
  color: #00695c;
  margin-right: 1.5rem;
}

.step-text {
  text-align: left;
}

.step-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #004d40;
}

.step-text p {
  font-size: 1rem;
  color: #555;
}

/* Section Profil Desa */
#profil-desa {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

#profil-desa h2 {
  font-size: 2.5rem;
  color: #00796b;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* Cards */
.profil-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.profil-card {
  width: 400px;
  height: 320px;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  margin: 2rem;
}

.profil-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  color: #00796b;
  margin-bottom: 1rem;
}

.card-content h3 {
  font-size: 1.6rem;
  color: #004d40;
  margin-bottom: 1rem;
}

.card-content p {
  font-size: 1rem;
  color: #555;
}

/* Responsive: Cards will adjust on small screens */
@media (max-width: 768px) {
  .profil-cards {
    flex-direction: column;
    align-items: center;
  }
  .profil-card {
    width: 90%;
    margin-bottom: 1.5rem;
  }
}

/* Kontak Desa Terap */
.kontak-desa-unik {
  background-color: #f9f9f9;
  padding: 3rem 2rem;
}

.kontak-desa-unik h2 {
  font-size: 2.5rem;
  color: #198754;
  margin-bottom: 2rem;
}

.kontak-desa-unik p {
  color: #555;
  margin-bottom: 3rem;
}

.kontak-desa-unik .map-container {
  margin-top: 20px;
}

.kontak-desa-unik .form-control {
  border-radius: 8px;
  box-shadow: none;
}

.kontak-desa-unik button {
  background-color: #198754;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px;
  width: 100%;
  cursor: pointer;
}

.kontak-desa-unik button:hover {
  background-color: #145d4b;
}

/* Tombol WhatsApp */
.btn-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
}

.fab {
  margin-right: 10px;
}

.map-container iframe {
  border-radius: 10px;
}

/* Section Struktur Organisasi Desa */
.struktur-organisasi {
  background: #048d86;
}

.struktur-organisasi h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.struktur-organisasi p {
  font-size: 1.2rem;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-item video {
  height: 100vh; /* fullscreen tinggi */
  width: 100vw; /* fullscreen lebar */
}

video {
  object-fit: cover; /* isi penuh tanpa distorsi */
}
#audio-control {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
