body {
    font-family: 'Segoe UI';
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../img/forest.jpg');
    padding: 120px 0;
    background-size: cover;
}

.card {
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.hero-img {
  height: 90vh; /* hampir full layar */
  object-fit: cover;
}

/* Overlay gelap biar tulisan jelas */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

/* Tengah + lebih elegan */
.hero-text {
  top: 50%;
  transform: translateY(-50%);
  bottom: unset;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: bold;
}

.hero-text p {
  font-size: 18px;
}

.layanan-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* biar isi rata */
  align-items: center;

  width: 100%;
  height: 100%;

  padding: 20px;
  border-radius: 15px;
  background: #fff;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.layanan-item p {
  margin-top: 10px;
  min-height: 48px; /* samakan tinggi teks */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.layanan-item img {
  height: 60px;
  object-fit: contain;
}

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

.footer {
  background: #14532d;
  color: #fff;
}

.footer a {
  color: #ddd;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  background: #0f3d23;
}

/* NAVBAR LEBIH BESAR */
.navbar-custom {
  padding: 15px 0;
  transition: 0.3s;
}

/* MENU TEXT */
.navbar-custom .nav-link {
  font-size: 16px;
  font-weight: 500;
  margin-left: 15px;
  position: relative;
}



/* LOGO */
.navbar-brand {
  font-size: 20px;
}

/* SHADOW SAAT SCROLL */
.navbar.scrolled {
  background: #14532d !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* DROPDOWN HOVER (DESKTOP) */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* DROPDOWN MODERN */
.dropdown-menu {
  border-radius: 15px;
  border: none;
  padding: 10px;
  margin-top: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  animation: fadeDown 0.3s ease;
}

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

/* DESKTOP: hover aktif */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}
@media (max-width: 991px) {
  .dropdown-menu {
    width: 100%;
    border-radius: 10px;
  }
}

.dropdown-item {
  border-radius: 10px;
  padding: 10px 15px;
  transition: 0.3s;
}



body {
  padding-top: 70px;
}

.carousel {
  margin-top: -10px;
}

.navbar {
  margin-bottom: 0 !important;
}

/* CARD DAS */
.das-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 20px;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ANGKA */
.das-card h2 {
  font-size: 40px;
  font-weight: bold;
  color: #198754;
}

/* TEXT */
.das-card p {
  margin-top: 10px;
  font-size: 16px;
  color: #555;
}

/* HOVER EFFECT */
.das-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .das-card h2 {
    font-size: 30px;
  }
}

/* JUDUL SECTION */
.section-title h5 {
  font-weight: 600;
  color: #14532d;
  font-size: 18px;
  margin-bottom: 5px;
}

/* GARIS KECIL DI KIRI */
.divider {
  width: 50px;
  height: 3px;
  background: #198754;
  border-radius: 10px;
  margin: 5px 0;
}

/* GARIS PANJANG TIPIS */
.section-title {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

/* LOGO LEBIH BESAR */
.logo-img {
  height: 60px;
  transition: 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE (HP lebih kecil sedikit) */
@media (max-width: 576px) {
  .logo-img {
    height: 45px;
  }
}

.navbar .dropdown-toggle::after {
  margin-left: 6px;
  transition: 0.3s;
}

/* animasi panah saat aktif */
.navbar .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* STRUKTUR ORGANISASI */
/* GAMBAR STRUKTUR */
.struktur-img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.struktur-img:hover {
  transform: scale(1.02);
  transition: 0.3s;
}

/* SPACING HP */
@media (max-width: 576px) {
  .struktur-img {
    border-radius: 10px;
  }
}

/* FORM KONTAK */
form input, 
form textarea {
  border-radius: 10px;
}

form input:focus, 
form textarea:focus {
  box-shadow: none;
  border-color: #198754;
}

.btn-action{
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
}

/* RESPONSIVE HP */
@media (max-width: 576px){

    .btn-action{
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 7px;
    }

    .table td,
    .table th{
        font-size: 13px;
        padding: 8px 6px;
    }

}