@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Merriweather Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #12c9cc;
  --secondary: #1a3d4f;
  --bg-dark: #24292e;
  --dark: #5e5e5e;
  --darker: #0f0f10;
  --light: #ffffff;
  --hover: #59b524;
  --hijau: #324842;
  --tall: all 0.3s;
  --ttr: transform 0.3s;
  --bg-primary: rgb(223, 241, 255);
  --bg-primary-hover: rgb(205, 234, 255);
  --active: #0d6efd;
  --text-primary: #031b4e;
  --text-secondary: #0d6efd;
}

.h-100vh {
  height: 100vh;
}

.h-min100vh {
  min-height: 100vh;
}

.blob {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  animation: pulse 2s infinite;
  background: linear-gradient(135deg, orange, red);
  color: white;
  font-size: 0.8em;
  font-weight: 700;
  border-radius: 15px;
  padding: 3px 12px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.9);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(255, 69, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
  }
}

@media (max-width: 768px) {
  .w-bg {
    width: 75%;
  }
}

@media (min-width: 768px) {
  .w-bg {
    width: 100%;
  }
}

/* Container untuk gambar */
.image-preview-container {
  width: 30%;
  text-align: center;
  margin: 20px 0;
}

.image-item-preview {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Container untuk PDF */
.pdf-preview-container {
  width: 60%;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .pdf-preview-container {
    width: 90%;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .pdf-preview-container {
    width: 75%;
    height: 350px;
  }
}

@media (max-width: 320px) {
  .pdf-preview-container {
    width: 75%;
    height: 250px;
  }
}

.pdf-item-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
}

/* Container untuk Video */
.video-item-preview {
  max-width: 100%;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .video-item-preview {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .video-item-preview {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .video-item-preview {
    width: 100%;
  }
}

/* Container untuk Audio */
.audio-item-preview {
  width: 100%;
  margin: 20px 0;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .audio-item-preview {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .audio-item-preview {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .audio-item-preview {
    width: 100%;
  }
}

.text-shadow {
  text-shadow: 0px 0px 4px rgba(0, 0, 0);
}

span.index {
  display: block;
  width: 25px;
  height: 3.2px;
  background-color: var(--secondary);
  border-radius: 10px;
}

.bg-color-secondary {
  background-color: var(--secondary);
}

.logo-container {
  width: 230px;
  height: 230px;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leftIn {
  transform: translateX(-10%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.rightIn {
  transform: translateX(10%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.upIn {
  transform: translatey(-10%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.downIn {
  transform: translatey(-10%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.visible {
  transform: translateX(0);
  opacity: 1;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.hover-kata {
  color: var(--darker);
  transition: color 0.2s;
}

.hover-kata:hover {
  color: var(--primary);
}

.hover-image {
  transform: scale(1);
  transition: transform 0.3s;
}

.hover-image:hover {
  transform: scale(1.05);
}

.hover-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--primary);
}

.hover-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.4s ease, left 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
  left: 0;
}

.hover-underline:not(:hover)::after {
  left: auto;
  right: 0;
  width: 0;
}

.hover-card {
  transform: translateY(0);
  transition: 0.3s all !important;
}

.hover-card:hover {
  box-shadow: 0px 0px 15px rgb(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.modal-content {
  border: none !important;
  box-shadow: none !important;
}

.hover-text {
  font-size: 14px;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  color: #fff;
  padding: 10px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: opacity 0.3s, visibility 0.3s;
  margin-left: 10px;
  pointer-events: none;
}

.hover-text::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent var(--primary) transparent transparent;
}

@keyframes dropDownFade {
  from {
    opacity: 0;
    transform: translateY(20px);
    /* Geser 20px dari bawah */
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu.dropdown-fade {
  display: none;
  animation: dropDownFade 0.3s ease-in-out;
  box-shadow: 0px 0px 25px rgb(0, 0, 0, 0.1);
}

.dropdown-menu.dropdown-fade.show {
  display: block;
}

.position-relative:hover .hover-text {
  opacity: 1;
  visibility: visible;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  /* transform: translateY(0); */
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.loading-overlay.slide-up {
  /* transform: translateY(-100%); */
  opacity: 0;
}

/* From Uiverse.io by adamgiebl */
.dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.dot {
  height: 20px;
  width: 20px;
  margin-right: 15px;
  border-radius: 10px;
  background-color: #b3d4fc;
  animation: pulse 1.5s infinite ease-in-out;
}

.dot:last-child {
  margin-right: 0;
}

.dot:nth-child(1) {
  animation-delay: -0.3s;
}

.dot:nth-child(2) {
  animation-delay: -0.1s;
}

.dot:nth-child(3) {
  animation-delay: 0.1s;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    background-color: #b3d4fc;
    box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
  }

  50% {
    transform: scale(1.2);
    background-color: #6793fb;
    box-shadow: 0 0 0 10px rgba(178, 212, 252, 0);
  }

  100% {
    transform: scale(0.8);
    background-color: #b3d4fc;
    box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
  }
}

/* Loading Overlay */

.scroll-to-top {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  transform: translateY(30px);
}

.scroll-to-top:hover {
  background-color: transparent;
  box-shadow: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.scroll-to-top.tampil {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
}

.setting-btn {
  position: fixed;
  bottom: 20px;
  right: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  gap: 8px;
  height: 50px;
  width: 150px;
  border: none;
  background: var(--primary);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease-in-out;
}

.setting-label {
  line-height: 20px;
  font-size: 17px;
  color: var(--light);
  font-family: sans-serif;
  letter-spacing: 1px;
}

.setting-btn:hover {
  background: var(--light);
  border: 1px solid var(--primary);
}

.setting-btn:hover .setting-label {
  color: var(--primary);
}

.setting-btn:hover .setting-icon {
  animation: spin 2s linear infinite;
}

.setting-stroke {
  stroke: var(--light);
}

.setting-btn:hover .setting-stroke {
  stroke: var(--primary);
}

/* Responsif untuk tampilan HP */
@media (max-width: 768px) {
  .setting-btn {
    width: 50px;
    height: 50px;
    /* padding: 6px 12px; */
  }

  .setting-label {
    display: none;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Navbar */
.navbar-utama {
  transition: 0.3s all ease-in-out;
  padding: 15px 68px 0 !important;
  transition: var(--tall);
}

.scrolled.navbar-utama {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-utama-container {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 2px 38px !important;
  border: 1px solid var(--light);
  border-radius: 5px;
  transition: var(--tall);
}

.scrolled.navbar-utama .navbar-utama-container {
  background-color: var(--light);
  box-shadow: 0px 2px 5px rgb(0, 0, 0, 0.1);
}

.navbar-utama .navbar-side {
  height: 100vh;
}

.navbar-nav-utama {
  border-radius: 30px;
  padding: 0.77em 1.2em !important;
  font-weight: 400;
}

.brand-text {
  font-weight: 600;
  color: var(--darker);
}

.brand-text:hover {
  color: var(--primary) !important;
}

.brand-utama .logo img {
  width: 45px;
}

.brand-utama .brand-text .ksda {
  font-size: 20px;
}

.brand-utama .brand-text .ntt {
  font-size: 15.8px;
  margin-top: -5px;
}

.nav-link-utama {
  color: var(--darker) !important;
  font-size: 16px !important;
}

.nav-link-utama.dropdown-toggle:focus {
  color: var(--primary);
}

/* Dropdown Menu */
.nav-item.dropdown .dropdown-menu-utama {
  border: 1px solid var(--light) !important;
  transition: var(--tall);
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 18px !important;
}

.scrolled.navbar-utama .nav-item.dropdown .dropdown-menu {
  background-color: var(--light);
}
/* /Dropdown Menu */

.scrolled.navbar .nav-link-utama {
  color: var(--darker) !important;
}

.nav-link-utama:hover {
  color: var(--primary) !important;
}

.text-shadow-secondary {
  text-shadow: 0px 0px 4px var(--secondary);
}

.navbar-toggler {
  box-shadow: 0px 0px 0px rgba(0, 0, 0) !important;
}

.navbar-toggler:focus {
  outline: none !important;
  box-shadow: none !important;
}

.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #000000;
  stroke-width: 5.5;
  stroke-linecap: round;
}

.ham6 .top {
  stroke-dasharray: 40 172;
}

.ham6 .middle {
  stroke-dasharray: 40 111;
}

.ham6 .bottom {
  stroke-dasharray: 40 172;
}

.ham6.active .top {
  stroke-dashoffset: -132px;
}

.ham6.active .middle {
  stroke-dashoffset: -71px;
}

.ham6.active .bottom {
  stroke-dashoffset: -132px;
}

@media (max-width: 1399px) {
  .navbar-utama-container {
    border: none;
    border-radius: 0px;
  }

  .navbar-utama .navbar-side {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
  }

  .navbar-utama .nav-link-utama {
    margin-bottom: 20px;
    color: var(--light) !important;
  }

  .scrolled.navbar-utama .nav-link-utama {
    color: var(--light) !important;
  }

  .offcanvas-title {
    color: var(--light) !important;
  }

  .nav-bg {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
  }

  .brand-utama {
    padding: 0 !important;
  }

  .nav-item.dropdown .dropdown-menu-utama {
    margin-top: -10px !important;
  }
}

@media (max-width: 480px) {
  .navbar-utama {
    padding: 0 !important;
  }
  .navbar-utama-container {
    padding: 0 10px !important;
  }
}

@media (max-width: 380px) {
  .brand-utama .brand-text .ksda {
    font-size: 18px;
  }

  .brand-utama .brand-text .ntt {
    font-size: 14px;
  }
}

/* Hero */
.slider-image {
  min-width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slider-image.active {
  opacity: 1;
  position: relative;
}

/* Slide In Animations */
.slider-image .kiri {
  padding: 10px 20px;
  color: var(--light);
  font-size: 2.2rem;
  text-shadow: 0px 0px 5px black;
  animation: slideInLeft 1s forwards;
  font-weight: 600;
}

.slider-image .kanan {
  font-weight: 600;
  padding: 10px 20px;
  color: var(--light);
  font-size: 1.8rem;
  text-shadow: 0px 0px 5px black;
  margin-top: -1rem;
  animation: slideInRight 1s forwards;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide Out Animations */
@keyframes slideOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes slideOutRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Slide In Animations */
.slider-image .atas {
  padding: 10px 20px;
  color: var(--light);
  animation: slideInUp 1s forwards;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.slider-image .atas img {
  width: 90px;
  height: 90px;
  box-shadow: 0px 0px 5px var(--darker);
  border-radius: 50%;
}

@keyframes slideInUp {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(-30%);
    opacity: 1;
  }
}

.slider-image .bawah {
  padding: 10px 20px;
  color: var(--light);
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0px 0px 5px black;
  margin-top: -2rem;
  animation: slideInDown 1s forwards;
  letter-spacing: 1px;
}

@keyframes slideInDown {
  0% {
    transform: translateY(70%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Slide Out Animations */
@keyframes slideOutUp {
  0% {
    transform: translateY(-30%);
    opacity: 1;
  }

  100% {
    transform: translateY(-150%);
    opacity: 0;
  }
}

@keyframes slideOutDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  gap: 65%;
  justify-content: space-around;
  transform: translateY(-50%);
}

.control-btn {
  background: none;
  color: var(--light);
  border: none;
  border-radius: 10%;
  padding: 7px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 800;
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

.loading-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--primary);
  width: 0;
}

.icon-layanan {
  background-color: var(--bg-primary) !important;
  color: var(--primary) !important;
  transform: translateY(0);
  transition: all 0.3s;
}

.icon-layanan:hover {
  background-color: var(--bg-primary-hover) !important;
}

.layanan p,
.layanan h5 a {
  transition: 0.3s color;
  color: var(--darker);
}

/* Artikel dan Galeri */
.gallery-plate {
  columns: 420px;
}

.gallery-item {
  margin-bottom: 20px;
  break-inside: avoid;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  overflow: hidden;
}

.gallery-image img {
  transition: transform 0.3s ease;
  transform: scale(1);
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.03);
}

.gallery-caption {
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 5px;
  font-family: "Afacad Flux", sans-serif;
}
/* /Artikel dan Galeri */

.index-artikel-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 6rem;
  /* gap: 1rem; */
}

.index-artikel-judul {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.index-judul-berita {
  letter-spacing: 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: capitalize;
  /* font-family: "Pacifico", cursive; */
}

.index-judul-instansi {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
}

.index-artikel-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Maksimum 3 kolom */
  gap: 30px;
  /* Jarak antar item */
  width: 100%;
  justify-content: center;
  /* Rata tengah */
}

.index-artikel-item {
  background-color: var(--light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3;
  border: 1px solid var(--dark);
  border-bottom: 4px solid var(--dark);
  width: 100%;
}

.index-artikel-item:hover {
  /* border: 1px solid var(--primary); */
  border-bottom: 4px solid var(--primary);
}

.index-artikel-item:hover .index-artikel-button a {
  bottom: 1rem;
}

.index-artikel-item:hover .index-artikel-content {
  transform: translateY(-50px);
}

@media (max-width: 576px) {
  /* Untuk ponsel */
  .index-artikel-container {
    grid-template-columns: 1fr;
    /* 1 kolom */
  }
}

.index-artikel-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.index-artikel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.8; */
  transition: all 0.3s;
}

.index-artikel-content {
  padding: 15px;
  background-color: var(--light);
  position: relative;
  transition: transform 0.3s;
}

.index-artikel-title,
.index-artikel-date,
.index-artikel-description {
  transition: transform 0.3s;
}

.index-artikel-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.index-artikel-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.index-artikel-description {
  font-size: 14px;
  color: #666;
}

.index-artikel-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.index-artikel-button a {
  position: absolute;
  background-color: var(--primary);
  color: var(--light);
  border: 1px solid var(--primary);
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s;
  z-index: 2;
  bottom: -2.5rem;
  text-decoration: none;
  text-transform: uppercase;
}

.index-artikel-button a:hover {
  background-color: var(--light);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.title-page {
  text-align: center;
}

.title-page h4 {
  font-weight: 800;
  font-size: 3.5em;
  color: var(--light);
}

.isi-a div {
  text-align: justify;
}

.artikel-all {
  margin-top: 2rem;
}

.artikel-all a {
  text-decoration: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s;
}

.artikel-all a:hover {
  background-color: var(--primary);
  color: var(--light);
  border: 2px solid var(--primary);
}

.artikel-all a.gallery-btn {
  text-decoration: none;
  border: 2px solid var(--light);
  color: var(--light);
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s;
}

.artikel-all a.gallery-btn:hover {
  background-color: var(--primary);
  color: var(--light);
  border: 2px solid var(--primary);
}

/* Halaman Profil */
.profil-span {
  display: block;
  width: 45px;
  height: 6px;
  margin-top: 10px;
  background-color: var(--secondary);
  border-radius: 10px;
}

.profil-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
  text-align: center;
}

.profile-title h5,
.profil-hero h1,
.profil-hero h2 {
  font-family: "Afacad Flux", sans-serif;
  text-shadow: 0px 0px 5px rgb(0, 0, 0);
}

.profile-title h5 {
  letter-spacing: 4px !important;
  font-size: 24px;
  font-weight: 800;
  color: var(--light);
}

.profil-hero h1,
.profil-hero h2 {
  color: var(--light);
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 2px !important;
}

.profil-wrapper {
  padding: 4rem 6rem 4rem 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 1rem;
}

.profil-heading {
  color: var(--secondary);
  font-size: 35px;
  text-align: left;
  width: 100%;
  font-weight: 600;
}

.profil-heading span {
  color: var(--primary);
  font-style: italic;
}

.profil-text div {
  color: var(--dark);
  font-size: 16px;
}

.profil-image {
  width: 65%;
  overflow: hidden;
  margin: 2rem 0;
}

.profil-image img {
  width: 100%;
  object-fit: cover;
}

.tugas-fungsi-wrapper {
  padding: 4rem 6rem 4rem 6rem;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: left;
  gap: 1rem;
  background-color: #f6f7f9;
}

.profil-tugas {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.profil-konten {
  padding-left: 10px;
}

.profil-konten ol li {
  color: var(--dark);
  font-size: 16px;
  padding-left: 10px;
}

.profil-konten ol li::marker {
  color: var(--primary);
  font-style: italic;
  font-weight: bolder;
  font-size: 25px;
}

.profil-tugas img {
  width: 500px;
  height: 500px;
}

.wilayah-kerja-wrapper {
  padding: 4rem 6rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: left;
  gap: 1rem;
  height: fit-content;
}

.wilayah-kerja {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.wilayah-kerja img {
  width: 650px;
  height: 550px;
}

.wilayah-konten p {
  font-size: 17px;
  color: var(--dark);
}

.wilayah {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wilayah-konten {
  font-size: 17px;
  color: var(--dark);
}

.wilayah-konten ul {
  list-style-type: upper-alpha;
}

.wilayah-konten ol li {
  padding: 2px 10px;
}

.wilayah-konten ol li::marker {
  color: var(--primary);
  font-style: italic;
  font-weight: bolder;
  font-size: 18px !important;
}

.daftar-kawasan-wrapper {
  padding: 4rem 6rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: left;
  gap: 1rem;
  height: fit-content;
  background-color: #f6f7f9;
}

.daftar-kawasan p {
  font-size: 17px;
  color: var(--dark);
}

.pegawai-struktural-wrapper {
  padding: 4rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.scroll {
  overflow-x: scroll;
  scrollbar-color: transparent transparent;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  white-space: nowrap;
  cursor: grab;
}

.scroll.active {
  cursor: grabbing;
}

.scroll::-webkit-scrollbar {
  display: none;
}

.scroll {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.scroll img {
  pointer-events: none;
}

.struktural-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  background-color: white;
  gap: 2rem;
  width: max-content;
}

.struktural-wrapper .struktural {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  width: 240px;
  scroll-snap-align: center;
}

.struktural .struktural-image {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
}

.struktural .struktural-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.struktural .pegawai {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--dark);
}

.struktural .pegawai .nama {
  font-size: 18px;
  font-weight: 600;
}

.struktural .pegawai .jabatan {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

@media screen and (max-width: 576px) {
  .profil-hero h1,
  .profil-hero h2 {
    font-size: 2rem !important;
  }

  .profil-hero::after {
    display: none;
  }

  .profil-wrapper {
    padding: 1rem;
  }

  .profil-heading {
    color: var(--secondary);
    font-size: 30px;
  }

  .profil-text {
    text-align: justify;
  }

  .profil-image {
    width: 100%;
  }

  .tugas-fungsi-wrapper {
    padding: 1rem;
  }

  .profil-tugas {
    flex-direction: column-reverse;
  }

  .profil-konten ol li {
    font-size: 16px;
  }

  .profil-konten ol li::marker {
    font-size: 22px;
  }

  .profil-angka {
    font-size: 30px;
  }

  .profil-isi {
    font-size: 16px;
    text-align: justify;
  }

  .profil-tugas img {
    width: 250px;
    height: 250px;
  }

  .wilayah-kerja-wrapper {
    padding: 2rem 1rem;
  }

  .wilayah-kerja {
    flex-direction: column-reverse;
  }

  .wilayah-kerja img {
    width: 100%;
    height: 100%;
  }

  .daftar-kawasan-wrapper {
    padding: 2rem 1rem;
  }

  .pegawai-struktural-wrapper {
    padding: 2rem 1rem;
  }

  .struktural-wrapper {
    padding: 0 6rem;
    gap: 7rem;
  }
}

/* /Halaman Profil */

/* Kawasan */
.wrapper-text-kawasan .text-kawasan {
  font-size: 25px;
  font-weight: 700;
  color: var(--secondary);
}

.wrapper-text-kawasan .text-kawasan-sub {
  font-size: 17px;
  text-transform: capitalize;
  color: var(--dark);
  margin-top: 15px;
}

.count-kawasan-item {
  /* width: 250px; */
  height: 170px;
  border-radius: 5px;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  transform: translateY(0px);
  text-decoration: none;
  background-size: 100px 60px;
  background-repeat: no-repeat;
  background-position: left top;
}

.count-kawasan-item:hover {
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.count-kawasan-item:active {
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(0px);
}

.count-kawasan-item .count-kawasan {
  font-size: 40px;
  color: var(--darker);
  font-weight: 700;
  /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
}

.count-kawasan-item .judul-kawasan-contain {
  /* margin-top: -5px; */
  font-size: 16px;
  color: var(--primary);
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  font-weight: 500;
}

/* footer */
footer.foot-all {
  background-color: white;
  color: var(--darker);
  padding: 40px 80px 20px 80px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}

footer.foot-all .logo {
  margin-bottom: 10px;
}

footer.foot-all .pendek {
  font-size: 25px;
  font-weight: 600;
}

footer.foot-all .lengkap {
  font-weight: 600;
  font-size: 16px;
}

footer.foot-all .judul {
  font-size: 18px;
  text-transform: uppercase;
  color: var(--darker);
  font-weight: 600;
}

footer.foot-all .isi {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--darker);
}

footer.foot-all .isi a {
  color: var(--darker);
  text-decoration: none;
  transition: all 0.2s;
}

footer.foot-all .isi a:hover {
  color: var(--primary);
  text-decoration: none;
}

footer.foot-all .isi .kontak a {
  cursor: pointer;
}

footer.foot-all .contact {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem 0 1rem 0;
  gap: 2rem;
}

footer.foot-all .contact a {
  text-decoration: none;
  color: var(--darker);
}

footer.foot-all .contact a:hover {
  color: var(--primary);
}

footer.foot-all .copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
}

footer.foot-all span {
  display: block;
  width: 40px;
  height: 4px;
  margin: 10px 0;
  background-color: #1a3d4f;
  border-radius: 10px;
}

/* CSS untuk smartphone */
@media (max-width: 576px) {
  .controls {
    gap: 70%;
  }

  .slider-image .kiri {
    font-size: 2rem;
  }

  .slider-image .kanan {
    font-size: 1.5rem;
    margin-top: -20px;
  }

  .slider-image .atas img {
    width: 100px;
    height: 100px;
    box-shadow: 0px 0px 5px var(--darker);
    border-radius: 50%;
  }

  .slider-image .bawah {
    font-size: 1.5rem;
  }

  .index-artikel-wrapper {
    padding: 3rem 1.5rem;
  }

  .wrapper-kawasan-index {
    padding: 4rem 1.5rem;
  }

  .wrapper-count-kawasan {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .count-kawasan-container {
    min-width: 100%;
    max-width: 100%;
    height: 140px;
  }

  .count-kawasan-item {
    height: 150px;
    background-size: 120px 70px;
  }

  .wrapper-text-kawasan .text-kawasan-sub {
    text-align: justify;
  }

  .hero .judul h3 {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .judul span {
    display: none;
  }

  footer.foot-all {
    padding: 40px 25px 20px 25px;
    border-radius: 30px 30px 0 0;
  }

  footer.foot-all .baris {
    margin-bottom: 25px;
  }

  footer.foot-all .contact {
    margin: 1rem 0 1rem 0;
  }

  .controls {
    gap: 70%;
  }

  .control-btn {
    padding: 5px;
    background: none;
  }
}

/* Halaman Publikasi Start */
.kotak-publikasi {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.kotak-publikasi a {
  text-decoration: none;
  color: #333;
  display: block;
}

.kotak-publikasi img.gambar-publikasi {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.kotak-publikasi h4 {
  margin: 0;
  font-size: 15px;
  padding: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}

.kotak-publikasi:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.kotak-publikasi:hover h4 {
  visibility: visible;
  opacity: 1;
}

.fas.fa-chevron-down {
  transition: transform 0.3s;
}

.rotate-icon {
  transform: rotate(180deg);
}

/* Halaman Publikasi End */

/* Halaman Galeri Start */
.background-air-brush {
  background: url("/assets/img/background/air-brush-50vh.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .background-air-brush {
    background-image: url("/assets/img/background/air-brush-sm.png");
  }
}

.galeri-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Afacad Flux", sans-serif;
}

.galeri-subtitle {
  font-size: 1.5em;
  font-family: "Afacad Flux", sans-serif;
  font-weight: 700;
}

.bg-gallery {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.photo-item {
  /* width: 440px; */
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 270px;
  border: 2px solid var(--secondary);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  display: block;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px;
  font-size: 14px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-item:hover .caption {
  opacity: 1;
  /* Tampilkan caption dengan opacity 1 saat hover */
  transform: translateX(-50%) translateY(0);
  /* Pindahkan caption ke posisi normal */
}

.photo-box {
  position: relative;
  width: 230px;
  height: 230px;
  overflow: hidden;
  border: 3px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}

.photo-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Styles */
.modal-galeri {
  display: none;
  /* Default is hidden */
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: visibility 0s linear 0.3s, opacity 0.3s linear;
}

.modal-galeri.show {
  display: flex;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
  animation: scaleIn 0.3s ease-out;
}

.modal-content-wrapper-galeri {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.modal-content-galeri {
  background-color: transparent !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 80%;
  max-height: 80%;
}

.image-wrapper-galeri {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.modal-image-galeri {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.modal-caption-galeri,
.modal-date-galeri {
  text-align: center;
  color: white;
  text-shadow: 0px 0px 15px rgba(0, 0, 0);
}

.close-galeri {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  text-shadow: 0px 0px 15px rgba(0, 0, 0);
  transition: all 0.3s;
}

.close-galeri:hover,
.close-galeri:focus {
  color: var(--primary);
  text-decoration: none;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleOut {
  from {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(0.8);
    opacity: 0;
  }
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
  .modal-content-galeri {
    max-width: 80%;
    max-height: 80vh;
  }
}

@media (max-width: 992px) {
  .modal-content-galeri {
    max-width: 80%;
    max-height: 80vh;
  }

  .close-galeri {
    top: 30px;
    right: 30px;
    font-size: 35px;
  }
}

@media (max-width: 768px) {
  .modal-content-galeri {
    /* max-width: 60%; */
    max-height: 80vh;
  }
}

@media (max-width: 576px) {
  .modal-content-galeri {
    max-width: 98%;
    max-height: 80vh;
  }

  .close-galeri {
    top: 30px;
    right: 30px;
    font-size: 30px;
  }
}

.pagination-button {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.pagination-button a,
.pagination-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s, color 0.3s;
  font-size: 14px;
  height: 36px;
  line-height: 36px;
  box-sizing: border-box;
  min-width: 36px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pagination-button a:hover {
  background-color: var(--primary);
  color: var(--light);
}

.pagination-button .active {
  background-color: var(--primary);
  color: var(--light);
  border: 1px solid var(--primary);
}

.pagination-button .disabled {
  color: #ccc;
  border: 1px solid #ccc;
  background-color: var(--light);
  pointer-events: none;
}

/* Halaman Galeri End */

/* Halaman Artikel Start */
.latest-article {
  display: flex;
  padding: 0 6rem;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed; */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  text-shadow: 0px 0px 10px black;
  background-color: #0d6efd;
}

.latest-article .category-article {
  font-size: 16px;
  color: var(--light);
  text-transform: uppercase;
}

.latest-article .nama-article {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--light);
  text-transform: capitalize;
}

.latest-article .info-article {
  display: flex;
  flex-direction: row;
  gap: 20px;
  color: var(--light);
  margin-top: 10px;
}

@media (max-width: 576px) {
  .latest-article {
    padding: 0 1rem;
  }

  .latest-article .nama-article {
    font-size: 30px;
  }
}

/* Halaman Artikel End */

/* Halaman Perizinan Start */
.image-perizinan-container {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.image-perizinan-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Halaman Perizinan End */

/* Halaman Kawasan Start */

.kawasan-text-container h1,
.kawasan-text-container p {
  text-shadow: 0 0 10px var(--darker);
  color: var(--light);
}

.wrapper-kawasan {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kawasan-text-container {
  flex: 1;
}

.kawasan-text-container h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.kawasan-text-container p {
  font-size: 18px;
  line-height: 1.5;
  word-spacing: 5px;
  text-align: justify;
}

.kawasan-slider {
  flex: 0.9;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 450px;
}

.slidess {
  display: flex;
  transition: transform 1s ease-in-out;
  height: 100%;
  width: 100%;
}

.slider-item {
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}

.next-button,
.prev-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(240, 240, 241, 0.8);
  color: #000;
  border: none;
  padding: 10px;
  cursor: pointer;
  width: 45px;
  border-radius: 50%;
  z-index: 999;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}

.judul-kawasan-bawah {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 6rem;
  width: 100%;
  font-size: 25px;
  font-weight: 600;
  color: var(--secondary);
}

.judul-kawasan-bawah span {
  font-style: italic;
  font-weight: 900;
  color: var(--primary);
}

.judul-kawasan a {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  transition: 0.3s;
  text-decoration: none;
}

.isi-kawasan a:hover,
.judul-kawasan a:hover {
  color: var(--primary);
}

.isi-kawasan a {
  font-size: 15px;
  color: var(--dark);
  transition: 0.3s;
  text-decoration: none;
}

@media (max-width: 576px) {
  .wrapper-kawasan::after {
    display: none;
  }

  .kawasan-text-container h1 {
    font-size: 27px;
    text-align: center;
  }

  .kawasan-text-container p {
    font-size: 18px;
    line-height: 1.5;
    word-spacing: 5px;
  }

  .wrapper-kawasan {
    padding: 6rem 1rem 2rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .slider {
    height: 260px;
  }

  .slide-caption {
    bottom: 20px;
    left: 20px;
    padding: 3px 8px;
  }
}

/* kawasan dalam */
.content-kawasan::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 105%;
  background: linear-gradient(
    0deg,
    var(--light) 2%,
    rgba(255, 255, 255, 0) 12%
  );
}

.content-kawasan {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  flex-direction: row;
  padding: 0 6rem;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.text h1 {
  font-size: 50px;
  font-weight: 700;
  /* margin-bottom: 1rem; */
  color: var(--light);
  text-shadow: 0px 0px 15px var(--darker);
  letter-spacing: 2px;
}

.text h5 {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  /* margin-bottom: 1rem; */
  color: var(--light);
  text-shadow: 0px 0px 10px var(--darker);
}

@media (max-width: 1024px) {
  .content-kawasan {
    flex-direction: column;
    gap: 5px;
  }

  .text h1 {
    font-size: 35px;
    text-align: center;
  }

  .text h5 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .content-kawasan {
    padding: 0 3rem;
  }

  .text h1 {
    font-size: 35px;
    padding: 0;
  }

  .text h5 {
    font-size: 17px;
  }

  .content-kawasan::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .content-kawasan {
    gap: 10px;
  }

  .text {
    font-size: 18px;
    order: 2;
    margin: 0 -40px;
  }

  .text p {
    font-size: 14px;
  }

  .content-kawasan::after {
    display: none;
  }
}

@media (max-width: 348px) {
  .text {
    padding: 0;
  }

  .content-kawasan::after {
    display: none;
  }
}

/* Halaman Kawasan End */

/* ==========Administrator========== */

/* Profile Admin */

.profile-admin {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
  align-items: flex-start;
}

.wrapper-admin:nth-child(1) {
  min-width: 32%;
}

.wrapper-admin:nth-child(2) {
  min-width: 66.3%;
}

.wrapper-admin {
  flex: 1;
}

/* Profile Admin End */

.dashboard-lapor {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
  align-items: flex-start;
}

.wrapper-lapor:nth-child(1) {
  min-width: 70%;
}

.wrapper-lapor:nth-child(2) {
  min-width: 28.3%;
}

.wrapper-lapor {
  flex: 1;
}

.menu-button-lapor {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  text-align: left;
  outline: none;
  transition: background-color 0.3s;
  border-radius: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.menu-button-lapor .arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid white;
  transition: transform 0.3s ease;
}

.menu-button-lapor.active .arrow {
  transform: rotate(180deg);
}

.menu-button-lapor.active {
  background-color: #0056b3;
}

.menu-content-lapor {
  display: block;
  overflow: hidden;
  width: 100%;
  margin-bottom: 10px;
  transition: all 0.3s ease-out;
  border: 1px solid transparent;
  border: 1px solid #0056b3;
  height: auto;
}

.menu-item-lapor {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

.menu-item-lapor:hover {
  background-color: #e2e2e2;
}

.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.summary-item {
  flex: 1;
  min-width: 200px;
  min-height: 150px;
  background-color: var(--light);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  border-radius: 5px;
}

.summary-item:nth-child(1) {
  background-color: #6792ff;
}

.summary-item:nth-child(2) {
  background-color: #5050b2;
}

.summary-item:nth-child(3) {
  background-color: #8f8eed;
}

.summary-item:nth-child(4) {
  background-color: #f59095;
}

.summary-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.summary-text h3 {
  color: var(--light);
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.summary-text p {
  font-size: 30px;
  font-weight: bold;
  margin: 10px 0 0 0;
  color: var(--light);
}

.summary-icon {
  font-size: 40px;
  color: var(--light);
}

hr.summary-line {
  border: none;
  border-top: 3px solid var(--light);
  margin: 10px 0;
}

.detail-button {
  color: var(--light);
  font-weight: bold;
  transition: 0.3s all;
  font-size: 15px;
  text-align: center;
}

.detail-button:hover {
  transform: translateX(2px);
}

@media (max-width: 767.98px) {
  .wrapper-lapor {
    min-width: 100px;
    max-width: auto;
  }

  .summary {
    flex-direction: column;
  }
}

.btn-hover {
  transition: 0.3s all;
}

.btn-hover:hover {
  transform: translateX(2px);
}

*,
::after,
::before {
  box-sizing: border-box;
}

td,
th {
  padding: 15px;
}

th {
  white-space: nowrap;
}

th::after,
th::before {
  right: 5px !important;
}

td .btn {
  margin-bottom: 5px;
}

/* h3 {
    font-size: 1.2375rem;
    color: #FFF;
} */

a {
  cursor: pointer;
  text-decoration: none;
  /* font-family: 'Poppins', sans-serif; */
}

#dataChart {
  max-height: 300px;
  width: 100% !important;
  height: auto !important;
}

.lonceng {
  background-color: white;
  border-radius: 100%;
  padding: 5px 8px;
}

.lonceng:hover {
  background-color: #ecf2ff;
}

.modal-content {
  border: none !important;
  box-shadow: none !important;
}

.modal-header {
  border: none !important;
  /* background: url("../../../assets/img/modal.png") center/cover no-repeat; */
  /* color: black; */
  padding-bottom: 0px;
}

.modal-footer {
  padding-top: 0px;
  border: none !important;
}

.wilayahkerja ul {
  list-style-type: upper-alpha;
}

/* Halaman Login */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  overflow-x: hidden;
  background-image: url("../../assets/img/kawasan/bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.login-atas {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 2rem;
}

.login-atas a {
  color: var(--hijau);
  text-decoration: none;
  font-size: clamp(16px, 3vw, 22px);
  text-transform: capitalize;
  font-weight: 700;
}

.login {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 1rem;
}

.login-kiri {
  display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.kiri-image {
  width: clamp(100px, 30vw, 200px);
  height: clamp(100px, 30vw, 200px);
  overflow: hidden;
}

.kiri-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kiri-text {
  padding: 0 1rem;
  text-align: center;
  text-shadow: 0px 0px 1px white;
}

.kiri-text p {
  font-weight: 600;
}

.instansi {
  text-transform: uppercase;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 900;
}

.provinsi {
  text-transform: uppercase;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  margin-top: -5px;
}

.login-kanan {
  background-color: white;
  padding: 2rem;
  text-align: left;
  border-radius: 30px;
  width: 32%;
  max-height: max-content;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.form-atas {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.login-logo {
  width: 100%;
  height: 60px;
  overflow: hidden;
  display: flex;
  justify-content: left;
  align-items: left;
  margin-bottom: 10px;
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-akun {
  font-size: clamp(22px, 4vw, 30px);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hijau);
}

.login-akun span {
  font-style: italic;
  color: var(--primary);
}

.login-user {
  font-size: clamp(14px, 2vw, 15px);
}

.lupapass {
  text-decoration: none;
}

.copy {
  padding: 1rem;
  text-shadow: 0px 0px 1px white;
  font-weight: 800;
}

.login-atas .on {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .login {
    flex-direction: column;
  }

  .login-kiri,
  .login-kanan {
    width: 90%;
    max-width: 500px;
  }

  .login-kanan {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .login-wrapper {
    justify-content: center;
    gap: 1rem;
  }

  .login {
    padding-top: 1rem;
  }

  .login-kiri {
    width: 100%;
  }

  .login-kanan {
    background-color: transparent;
    text-align: left;
    border: none;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    box-shadow: none;
  }

  .uraian {
    display: none;
  }

  .login-logo {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-wrapper {
    padding: 1rem;
  }

  .login-atas {
    flex-direction: column;
    gap: 1rem;
  }

  .login-kanan {
    padding: 1rem;
  }
}

/* Layout skeleton */

#icon {
  transition: var(--ttr);
}

.rotate {
  transform: rotate(135deg);
}

.wrapper {
  align-items: stretch;
  display: flex;
  width: 100%;
  overflow-x: hidden;
}

#sidebar {
  transition: all 0.35s ease-in-out;
  box-shadow: 10px 10px 5px solid black;
  position: fixed;
  top: 0;
  height: 100%;
  width: 270px;
  background-color: #fff;
  z-index: 880;
  left: 0;
  overflow-y: auto;
  border-right: 1px solid #e5eaef;
}

#sidebar .item {
  padding: 0px 14px;
}

#sidebar::-webkit-scrollbar {
  width: 10px;
}

#sidebar::-webkit-scrollbar-thumb {
  background-color: transparent;
  transition: all 0.3px;
}

#sidebar:hover::-webkit-scrollbar-thumb {
  background-color: #c8c8c8;
}

/* #sidebar::-webkit-scrollbar-corner {
    background-color: #f1f1f1;
} */

#sidebar li {
  list-style: none;
}

#sidebar.collapsed {
  margin-left: -270px;
}

.navbar .dropstart img {
  width: 38px;
  border: 2px solid transparent;
}

.navbar .dropstart img:hover {
  border: 2px solid #ecf2ff;
}

.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  transition: all 0.35s ease-in-out;
  margin-left: 270px;
}

footer.admin {
  margin-left: 270px;
  box-shadow: none !important;
  border-radius: 0 !important;
}

footer.admin.collapsed {
  margin-left: 0;
}

/* Responsive */

@media (max-width: 767.98px) {
  footer.admin {
    margin-left: 0;
  }

  footer.admin.collapsed {
    margin-left: 270px;
  }
}

.main.collapsed {
  margin-left: 0;
}

main.content {
  background-color: #f4f6f9;
}

.judul-halaman {
  font-size: 22px;
  color: var(--secondary);
  font-weight: 600;
}

.aksi {
  white-space: nowrap;
}

.simpan {
  font-size: 15px;
  color: var(--light);
  background: linear-gradient(to right, #65c2f5, #0d6efd);
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 5px;
  border: none;
  transform: translateY(0px);
  transition: var(--tall);
  box-shadow: none;
}

.simpan:hover {
  background-color: #0b52bc;
  transform: translateY(-2px);
}

.simpan:active {
  transform: translateY(0px);
}

.kembali {
  color: var(--light);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.4px;
  padding: 7px 14px;
  border-radius: 5px;
  border: none;
  transform: translateY(0px);
  transition: var(--ttr);
  background: linear-gradient(to right, #ff7e79, #d83a34);
}

.kembali:hover {
  transform: translateY(-2px);
  background-color: #c3d2dc;
}

.kembali:active {
  transform: translateY(0px);
}

.batal {
  color: var(--light);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.4px;
  padding: 5px 12px;
  border-radius: 5px;
  background-color: rgb(255, 0, 0);
  border: none;
  transform: translateY(0px);
  transition: var(--ttr);
}

.batal:hover {
  transform: translateY(-2px);
  background-color: rgb(204, 0, 0);
}

.batal:active {
  transform: translateY(0px);
}

.nonaktif {
  color: var(--light);
  padding: 3px 13px;
  transition: var(--tall);
  border-radius: 4px;
  background: linear-gradient(to right, #ff8e8e, #ae0202);
  border: none;
}

.nonaktif:hover {
  color: var(--light);
}

.aktif {
  color: var(--light);
  padding: 3px 7px;
  background: linear-gradient(to right, #49f563, #1eb910);
  border-radius: 4px;
  transition: var(--tall);
  border: none;
}

.aktif:hover {
  color: var(--light);
}

.sidebar-logo {
  padding: 1rem 1rem 0.5rem 1rem;
}

.sidebar-text {
  display: flex;
  gap: 0;
  flex-direction: column;
}

.sidebar-text .atas {
  color: var(--darker);
  font-size: 1.2rem;
  font-weight: 700;
}

.sidebar-text .bawah {
  color: var(--darker);
  font-size: 14px;
  font-weight: 700;
  margin-top: -5px;
  letter-spacing: 0.6px;
}

.sidebar-logo a {
  display: flex;
  width: 100%;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.sidebar-logo a img {
  width: 20%;
  margin-left: -10px;
}

.sidebar-nav {
  padding: 0.5rem 0;
}

.sidebar-header {
  color: var(--dark);
  font-size: 11px;
  padding: 10px 12px 5px 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  /* padding: 1.5rem 1.5rem .375rem; */
}

.dataTables_length label {
  font-size: 14px;
}

.dataTables_length select {
  font-size: 14px;
}

.dataTables_filter label {
  font-size: 14px;
}

.dataTables_filter input {
  font-size: 14px;
}

.dataTables_info {
  font-size: 14px;
}

.dataTables_paginate .paginate_button {
  font-size: 14px;
}

.dataTables_paginate {
  margin: 10px 0;
}

.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
  font-size: 12px;
}

.table th {
  font-size: 14px;
  padding: 1rem 0.3rem;
  color: var(--dark);
}

.table td {
  /* border: 1px solid var(--light); */
  font-size: 14px;
  padding: 0.5rem 0.3rem;
}

.sidebar-item {
  margin-bottom: 5px;
  transition: var(--tall);
}

a.sidebar-link {
  padding: 13px 12px;
  transition: var(--tall);
  color: var(--dark);
  position: relative;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  transform: translateX(0px);
}

.sidebar-item:not(.active-sidebar, .dd):hover a.sidebar-link {
  transform: translateX(8px);
}
.sidebar-item:not(.active-sidebar, .ll):hover {
  background-color: #ececec;
  border-radius: 8px;
}

.active-sidebar {
  background-color: var(--active);
  border-radius: 8px;
}

.active-sidebar .sidebar-link {
  color: var(--light) !important;
}

.content {
  flex: 1;
  max-width: 100vw;
  width: 100vw;
}

/* Halaman Profil */
.judul-instansi {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.foto-instansi {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 1rem 0;
}

.foto-instansi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nama-instansi {
  font-size: 20px;
  font-weight: 600;
}

.isi-instansi {
  padding: 0.5rem 2rem 0 2rem;
}

.subjudul-instansi {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0;
}

.sub-isi-instansi {
  font-size: 16px;
  text-align: justify;
}

.sub-isi-instansi ul {
  list-style-type: upper-alpha;
}

.image-instansi {
  width: 600px;
  height: 338px;
  overflow: hidden;
}

.image-instansi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wrapper-kawasan-admin {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wrapper-image-kawasan {
  width: 450px;
  height: 300px;
  overflow: hidden;
}

.wrapper-image-kawasan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wrapper-text-kawasan {
  color: var(--dark);
}

.judul-kawasan-admin {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary);
}

.isi-kawasan-admin {
  font-size: 16px;
  text-align: justify;
}

trix-toolbar [data-trix-button-group="file-tools"] {
  display: none;
}

trix-editor {
  min-height: 200px;
  width: 100%;
  box-sizing: border-box;
}

trix-toolbar {
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}

trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  trix-editor {
    min-height: 150px;
  }

  trix-toolbar .trix-button-row {
    flex-direction: column;
  }

  trix-toolbar .trix-button-group {
    width: 100%;
  }

  footer.admin {
    margin: 0 20px 0 20px;
    text-align: center;
  }

  footer.admin.collapsed {
    margin-left: 270px;
  }

  .image-instansi {
    width: 300px;
    height: 300px;
    overflow: hidden;
  }

  .isi-instansi {
    padding: 0.5rem 0.5rem 0 0.5rem;
  }
}

@media (max-width: 400px) {
  trix-editor {
    min-height: 100px;
  }

  trix-toolbar .trix-button-row {
    flex-direction: column;
  }

  trix-toolbar .trix-button-group {
    width: 100%;
  }

  trix-toolbar .trix-button {
    padding: 10px;
  }
}

.file-input-container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 80px;
  border: 2px dashed #ccc;
  border-radius: 5px;
  text-align: center;
  line-height: 100px;
  transition: background-color 0.3s;
}

.file-input-container.drag-over {
  background-color: #e0f7fa;
  border-color: #26a69a;
}

.file-input-container:hover {
  background-color: #f8f8f8;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-label {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
  cursor: pointer;
  height: 100%;
}

.form-label {
  color: black;
  text-align: left;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: #595c5f;
}

.form-control,
.form-select {
  border-radius: 0px !important;
  padding: 10px 20px;
  color: #595c5f !important;
}

/* Responsive */

@media (min-width: 768px) {
  .content {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .judul-halaman {
    font-size: 18px;
  }

  #sidebar {
    margin-left: -270px;
  }

  #sidebar.collapsed {
    margin-left: 0;
  }

  #toggleButton {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    white-space: nowrap;
  }

  .wrapper-image-kawasan {
    width: 100%;
  }

  .main {
    margin-left: 0px;
  }

  .main.collapsed {
    margin-left: 270px;
  }

  .file-input-container {
    height: 100px;
    line-height: 100px;
  }

  .file-label {
    font-size: 13px;
  }

  .form-label {
    font-size: 15px;
  }
}

/* Halaman Settings */
.settings-input-form {
  width: 50%;
}

@media (max-width: 768px) {
  .settings-input-form {
    width: 100%;
  }
}
/* /Halaman Settings */

/* Halaman Konserva */
.text-gradient {
  background: linear-gradient(to right, #99d8f0, #0d6efd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navbar-pengunjung {
  background-color: transparent;
  transition: all 0.3s;
  padding: 1.3rem 0;
}

.scrolled.navbar-pengunjung {
  background-color: rgb(255, 255, 255, 0.95);
  box-shadow: 0px 2px 10px rgb(0, 0, 0, 0.1);
  padding: 0.2rem 0;
}

@media (max-width: 768px) {
  .navbar-pengunjung {
    padding: 0.5rem 0.5rem;
    background-color: var(--light);
  }
  .scrolled.navbar-pengunjung {
    padding: 0.1rem 0.5rem;
  }
}

.navbar-brand-pengunjung {
  font-weight: 700;
  font-size: 2.2em;
  color: var(--text-secondary) !important;
  font-family: "Lobster", serif;
  font-weight: 400;
  font-style: normal;
}

.navbar-brand-pengunjung img {
  width: 60px;
  height: 60px;
}

.nav-link-pengunjung {
  font-size: 1em;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid transparent;
  vertical-align: center;
}

.nav-link-pengunjung:not(.active-navbar-pengunjung):hover {
  color: var(--text-secondary);
}

.nav-link-pengunjung.active-navbar-pengunjung {
  color: var(--text-secondary) !important;
}

.simaksi-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  height: 100%;
}

.simaksi-button {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simaksi-button.disabled {
  pointer-events: none;
  /* opacity: 0.5; */
  cursor: not-allowed;
}

.simaksi-button:hover .simaksi-title {
  color: var(--text-secondary);
}

.simaksi-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.simaksi-image {
  max-width: 100%;
  height: auto;
}

.simaksi-title {
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: 0.3s all;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .simaksi-title {
    font-size: 1em;
  }

  .simaksi-card {
    padding: 15px;
  }

  .simaksi-image-container {
    height: 120px;
  }

  .navbar-brand-pengunjung img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .simaksi-title {
    font-size: 0.8rem;
  }

  .simaksi-card {
    padding: 10px;
  }

  .simaksi-image-container {
    height: 100px;
  }
  .navbar-brand-pengunjung img {
    width: 50px;
    height: 50px;
  }
}

.pengunjung-hero {
  height: 100vh;
  padding-top: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("/assets/img/background/hero-bg-light.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pengunjung-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 0 !important;
  height: 100vh;
}

.pengunjung-hero img {
  width: 35%;
}

.pengunjung-hero .pengunjung-span {
  color: var(--text-secondary);
  font-family: "Afacad Flux", sans-serif;
  letter-spacing: 1px;
  font-weight: 700;
}

.pengunjung-hero h1 {
  font-weight: 700;
  font-family: "Afacad Flux", sans-serif;
  font-size: 3em;
  letter-spacing: 1px;
}

.pengunjung-hero p {
  font-family: "Afacad Flux", sans-serif;
  font-size: 1.5em;
}

@media (max-width: 768px) {
  .pengunjung-hero {
    padding-top: 0;
  }

  .pengunjung-hero h1 {
    font-size: 1.8em;
    letter-spacing: 0px;
  }

  .pengunjung-hero .pengunjung-span {
    letter-spacing: 0px;
  }

  .pengunjung-hero p {
    font-family: "Afacad Flux", sans-serif;
    font-size: 1.3em;
    line-height: 1.1em;
  }

  .pengunjung-hero img {
    width: 80%;
  }
}

.icon-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1 !important;
}

.icon-container:hover .icon-box {
  background-color: var(--text-secondary);
  color: var(--light);
}

.icon-box {
  z-index: 1 !important;
  width: 100px; /* Sama tinggi dan lebar */
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease-in-out;
  color: var(--text-secondary);
  border-radius: 10px; /* Opsional, untuk tampilan lebih rapi */
}

.icon-box i {
  font-size: 1.5rem; /* Pastikan ukuran ikon proporsional */
  line-height: 0.5; /* Mencegah ikon tidak sejajar */
}

.text-box {
  z-index: 1 !important;
}

.text-box h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.text-box p {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
  margin-top: 2px;
}

.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 50%;
  margin-left: -1.5px;
}

.timeline > li {
  margin-bottom: 20px;
  position: relative;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline > li > .timeline-badge {
  color: #fff;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -30px;
  background-color: #999999;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
  font-size: 2em;
  font-weight: 700;
}

.timeline-body p,
.timeline-body p a {
  font-size: 1.15em;
}

.timeline-body p,
.timeline-body p a,
.timeline-title {
  font-family: "Afacad Flux", sans-serif;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 5px;
}

@media (max-width: 767px) {
  .timeline-title {
    font-size: 1.5em;
  }

  .timeline-body p {
    font-size: 1.1em;
  }

  ul.timeline:before {
    left: 40px;
  }

  ul.timeline > li > .timeline-panel {
    width: calc(100% - 90px);
    width: -moz-calc(100% - 90px);
    width: -webkit-calc(100% - 90px);
  }

  ul.timeline > li > .timeline-badge {
    left: 15px;
    margin-left: 0;
    top: 16px;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  ul.timeline > li > .timeline-panel {
    float: right;
  }

  ul.timeline > li > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  ul.timeline > li > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  }
}

.header-konserva {
  height: 60vh;
  min-height: 300px;
  text-shadow: 0px 0px 100px var(--text-secondary);
  margin-bottom: -4rem;
}

@media (max-width: 768px) {
  .header-konserva {
    height: 60vh; /* Lebih tinggi di tablet */
    min-height: 350px;
  }
}

@media (max-width: 576px) {
  .header-konserva {
    height: 70vh; /* Lebih tinggi di HP */
    min-height: 400px;
  }
}

.title-header-konserva,
.subtitle-header-konserva,
.button-header-konserva {
  font-family: "Afacad Flux", sans-serif;
}

.title-header-konserva {
  font-size: 3em;
  font-weight: 600;
  text-align: center;
  text-shadow: 0px 0px 1px var(--text-secondary);
}

.subtitle-header-konserva {
  font-size: 1.2em;
  margin-top: -5px;
  font-weight: 500;
  width: 75%;
}

@media (max-width: 767px) {
  .title-header-konserva {
    font-size: 2.2em;
  }

  .subtitle-header-konserva {
    width: 100%;
    font-size: 1.2em;
    margin-top: 0px;
  }
}

/* Konserva E-Simaksi */

.numbered-circle {
  padding: 13px 20px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: #fff;
  max-height: 50px;
  z-index: 2;
}

.how-it-works.row .col-2 {
  align-self: stretch;
}

.how-it-works.row .col-2.bottom::after {
  height: 50%;
  left: 50%;
  top: 50%;
}

.how-it-works.row .col-2.top::after {
  height: 50%;
  left: 50%;
  top: 0;
}

.alur-time div {
  padding: 0;
  height: 40px;
}

.alur-time hr {
  border-top: 3px solid var(--primary);
  margin: 0;
  top: 17px;
  position: relative;
}

.alur-time .col-2 {
  display: flex;
  overflow: hidden;
}

.alur-time .corner {
  border: 3px solid var(--primary);
  width: 100%;
  position: relative;
  border-radius: 15px;
}

.alur-time .top-right {
  left: 50%;
  top: -50%;
}

.alur-time .left-bottom {
  left: -50%;
  top: calc(50% - 3px);
}

.alur-time .top-left {
  left: -50%;
  top: -50%;
}

.alur-time .right-bottom {
  left: 50%;
  top: calc(50% - 3px);
}

/* /Konserva E-Simaksi */

/* /Halaman Konserva */

/* Halaman e-simaksi */
.title-form-simaksi {
  font-size: 1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: underline;
  margin: 15px 0;
}
/* /Halaman e-simaksi */

/* Halaman Pendakian */

@media (min-width: 768px) {
  .responsive-qr {
    width: 75%;
  }
}

@media (max-width: 767px) {
  .responsive-qr {
    width: 100%;
  }
}

.tarif-header {
  margin-bottom: 25px;
  position: relative;
}

.tarif-icon {
  margin-right: 8px;
  font-size: 1.2em;
}

.tarif-underline {
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, #4e73df, #36b9cc);
  border-radius: 3px;
}

.tarif-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.tarif-item {
  background-color: #f8f9fc;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.tarif-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tarif-name {
  padding: 15px 20px;
  background: linear-gradient(135deg, #4e73df20, #36b9cc20);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tarif-name h6 {
  margin: 0;
  font-weight: 600;
  color: #333;
  font-size: 1.05rem;
}

.satuan-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(135deg, #4e73df, #224abe);
}

.tarif-prices {
  padding: 15px 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
}

.price-row.single {
  border: none;
  justify-content: flex-end;
}

.price-row:last-child {
  border-bottom: none;
}

.price-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.price-value {
  font-weight: 600;
  color: #4e73df;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .tarif-items {
    grid-template-columns: 1fr;
  }
}

.timeline-messages-container {
  position: relative;
  max-width: 100%;
}

.timeline-messages-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #e9ecef;
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -2px;
  z-index: 0;
}

.timeline-messages-item {
  position: relative;
  margin-left: 40px;
  z-index: 1;
}

.timeline-messages-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: -30px;
  top: 15px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid #6c757d;
  z-index: 1;
}

.timeline-messages-item:has(.bg-primary)::before {
  border-color: #0d6efd;
}

.timeline-messages-item:has(.bg-warning)::before {
  border-color: #ffc107;
}

.timeline-messages-item:has(.bg-success)::before {
  border-color: #198754;
}

.timeline-messages-item:has(.bg-danger)::before {
  border-color: #dc3545;
}

/* /Halaman Pendakian */
