   html {
    scroll-behavior: smooth;
  }

 /* css bagian navbar */
  body {
      
    }
    /* Dropdown hover for multilevel */
    .dropdown-submenu {
      position: relative;
    }

    .dropdown-submenu .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -1px;
    }
    .dropdown-submenu {
      position: relative;
    }

    .dropdown-submenu .dropdown-menu {
      top: 0;
      left: 100%;
      margin-left: .1rem;
      margin-right: .1rem;
      display: none;
      position: absolute;
    }

    .dropdown-submenu:hover > .dropdown-menu {
      display: block;
    }

    .navbar img {
      width: 250px ;
      height: 40px;
      margin-left: 5px;
    }

    .navbar-dark-transparent  {
    background-color: rgba(33, 37, 41, 0.6) !important; /* semi-transparent dark */
    transition: background-color 0.3s ease;
    }

  .navbar-dark-solid {
    background-color: rgba(33, 37, 41, 1) !important; /* solid dark */
    transition: background-color 0.4s ease; /* Apply to both states */
  }

.navbar-nav .nav-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    justify-content-start !important;
  }
}

.dropdown-menu {
  background: linear-gradient(135deg, #ffffff 0%, #e6f2fb 100%) !important;
  color: #000;
  border: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-item {
  color: #003366;
}

/* Hover effect: biru */
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #005599 !important;
  color: #ffffff !important;
}

/* Awal: tidak tampil */
.navbar-collapse.animated-collapse {
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



  /* css bagian navbar */


 .hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url('../uploads/1874174099_kalimandau.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* overlay gelap */
  z-index: 1;
}

.hero-content {
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: 4rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
  letter-spacing: 2px;
  display: block;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
}

.btn-animate {
  position: relative;
  overflow: hidden;
  border: 2px solid #0d6efd; /* warna outline default Bootstrap */
  background-color: #0d6efd; /* default primary */
  color: white;
  z-index: 1;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.btn-animate::before {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  width: 100%;
  height: 100%;
  background-color: #ffc107; /* warna kuning keemasan */
  z-index: -1;
  transition: right 0.4s ease;
}

.btn-animate:hover {
  color: #000; /* teks jadi gelap di atas background terang */
  border:solid 2px #ffc107;
}

.btn-animate:hover::before {
  right: 0;
}

.btn-responsive {
  padding: 0.6rem 1.5rem;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  min-width: fit-content;
}

/* Optional: Batas maksimum lebar tombol */
@media (min-width: 576px) {
  .btn-responsive {
    min-width: 160px;
    max-width: 220px;
  }
}

 .informasi-layanan .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #ffc107;
    text-align: center;
  }

  .informasi-layanan .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .informasi-layanan .card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0d6efd;
    font-weight: 600;
    text-align: center;
  }

  .informasi-layanan .btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
  }

  .informasi-layanan .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #fff;
  }

  .badge-icon {
    background-color: #ffc107;
    color: #212529;
    border-radius: 50%;
    padding: 6px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
  }


  .sosial-vertikal {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

    .contact-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-top: 5px solid #ffc107; /* kuning PU */
  }

  .contact-box {
    background: #fff;
    border-left: 5px solid #0d6efd; /* biru PU */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease-in-out;
  }

  .contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .contact-icon {
    background-color: #ffc107;
    color: #212529;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
  }

  .contact-label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #0d6efd;
  }

  .contact-info {
    margin: 0;
    color: #333;
  }

  .contact-link:hover {
    text-decoration: underline;
    color: #0a58ca;
  }