@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Pacifico&display=swap");

html, body {
  height: 100%;
  margin: 0;
  padding-top: 45px;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg,#fff,#eef2f7);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
}

/* konten utama */
.main-content {
  flex: 1;                 /* ini kuncinya */
  padding-top: 5px;
  padding-bottom: 15px;
}

/*main { 
  padding-bottom: 100px;
}*/

.header-title {
  font-weight: 800;
  font-size: 26px;
  color: #2E8B57;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.header-subtitle {
  font-family: 'Pacifico', cursive;
  font-size: 22px;
  color: #2E8B57;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* NAVBAR */
.navbar {
  background: #4CAF50; 
  box-shadow: 0 4px 15px rgba(0,0,0,.25);
  padding-top: 6px;
  padding-bottom: 6px;

}
.navbar-brand {
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  color: #fff;
}
.nav-link {
  color: #fff !important;
  font-weight: 700;
  border: 2px solid #008000;
  padding: 8px 12px;
  margin: 0 2px;
  font-size: 13px;
  transition: .3s;
  border-radius: 8px;
}
.nav-link:hover,
.nav-item.active .nav-link {
  background: #7FC97F;
  color: #333 !important;
  border-color: #fff;
}

/* Dropdown */
.dropdown-menu {
  border: none;
  min-width: 220px;
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
  padding: 0;
  border-radius: 10px;
  margin-top: 12px; /* atur jarak ke bawah */
}
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 12px;
  }
}
.dropdown-item {
  padding: 12px 20px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}
.dropdown-item:hover {
  background: #6BBF6B;
  color: #fff;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  display: none;
}
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}
@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    display: none;
  }
  .dropdown-menu.show {
    display: block;
  }
  .dropdown-submenu .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding-left: 15px;
  }
  .dropdown-submenu .dropdown-menu.show-submenu {
    max-height: 500px;
  }
  .navbar-nav .nav-item {
    margin-bottom: 10px;
  }
  .navbar-nav .nav-link {
    padding: 10px 14px;
    text-align: left;
    width: 100%;
  }
}

.content-section { 
  padding: 0px 0; 
}
#mapid {
  height: 100vh; 
  width: 100%;
  /*height: 300px;*/
  background: #e2e2e2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* CARD */
.card2 {
  position: relative;
  background: #40E0D0;
  border-radius: 10px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card2:hover {
  background: #ffffff;
  border-left: 5px solid #FFD700;
  box-shadow: 0 10px 25px rgba(251, 140, 1);
  transform: translateY(-5px);
}
.card2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e0fff9, #ffffff);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.card2:hover::before {
  opacity: 1;
}
.card2 .card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: space-between;
  padding: 15px;
}

.card2 .card-title {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}
.card2 .card-title i {
  margin-right: 5px;
  transition: transform 0.3s, color 0.3s;
}
.card2:hover .card-title i {
  transform: scale(1.2);
  color: #2196F3;
}

.card2 .card-deskripsi {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.footer {
  /*background: #2E8B57;*/
  /*color: #fff;*/
  /*padding: 12px 0;*/
  /*text-align: center;*/
  /*margin-top: 10px;*/

  background: #2E8B57;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 0;           /* penting */


}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}