/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Poppins", sans-serif;
  color: #444;
  background: #f8fafb;
  margin: 0;
  padding-top: 0; /* sesuaikan tinggi navbar */
}

a {
  color: #428bca;
  text-decoration: none;
}

a:hover {
  color: #6aa3d5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #eeb64e;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #428bca;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #eeb64e;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}


#header .logo {
  font-size: 18px;
  margin: 0;
  padding: 8px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  font-size: 22px;
  font-weight: 700;
  color: #024b5a;
  text-decoration: none;
}

#header .logo img {
  max-height: 65px;
}

#header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
  transition: all .3s ease;
}

#header.floating-header.scrolled {
  padding: 10px 35px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 992px) {
  #navbar ul {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0; /* sesuaikan jarak kanan */
}

.navbar > ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

#navbar ul li a {
  color: #415a64;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

#navbar ul li a:hover {
  color: #00a8c5;
}

#navbar ul li a.active {
  color: #00a8c5;
}

#navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
}

#navbar ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00a8c5;
  border-radius: 1px;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .navbar .dropdown.active > ul {
    display: block !important;
  }

  .navbar .dropdown.active > .dropdown-menu.multi-column {
    display: flex;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(34, 39, 43, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 12px;
  color: #394047;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #428bca;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  margin-top: 90; /* kita biarkan header absolute di atasnya */
  padding-top: 0; /* beri ruang agar hero konten tampil di bawah navbar */
}

#hero .carousel-item {
  background-size: cover;
  background-position: center;
  position: relative;
  height: 100vh;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item::before {
  background-color: rgba(0, 0, 0, 0.28);
}

#hero .carousel-container{
    position:absolute;
    left:80px;
    top:50%;
    transform:translateY(-50%);
    z-index:2;
    max-width:560px;
    text-align:left;
}

/* Efek animasi muncul halus */
#hero .carousel-content {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.8s ease;
}

#hero .carousel-item.active .carousel-content {
  opacity: 1;
  transform: translateY(0);
}

#hero .container {
  text-align: center;
}

#hero h2{
    font-size:60px;
    font-weight:700;
    line-height:1.1;
}

#hero p {
  font-size: 1.1rem;
  color: #f1f1f1;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
  margin: 0;
}

#hero .carousel-inner .carousel-item {
  /* transition-property: opacity; */
  background-position: center;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  list-style-type: none;
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #428bca;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  animation-delay: 0.8s;
  background: #428bca;
}

#hero .btn-get-started:hover {
  background: #5697d0;
}

@media (max-width: 768px) {
  #hero .carousel-container {
    left: 20px;
    bottom: 30px;
    max-width: 90%;
  }

  #hero .carousel-content h2 {
    font-size: 1.6rem;
  }

  #hero .carousel-content p {
    font-size: 1rem;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
}

.section-bg {
  background-color: #fafafb;
}

.section-title {
  text-align: center;
  padding-bottom: 50px;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: #f5f9fc;
  color: #428bca;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
}

.section-title h3 {
  margin: 15px 0 0 0;
  font-size: 32px;
  font-weight: 700;
}

.section-title h3 span {
  color: #428bca;
}

.section-title p {
  margin: 15px auto 0 auto;
  font-weight: 500;
  color: #919191;
}

/* Tambahkan ini */
#features {
  position: relative;
  z-index: 2;
  margin-top: 50vh; /* sesuaikan tinggi hero kamu, misalnya 100vh untuk full screen */
}


@media (min-width: 1024px) {
  .section-title p {
    width: 50%;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .icon-boxes h3 {
  font-size: 28px;
  font-weight: 700;
  color: #394047;
  margin-bottom: 15px;
}

.about .icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid #b9d4ec;
  border-radius: 50px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: #428bca;
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: #eeb64e;
  border-color: #eeb64e;
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 85px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #eeb64e;
}

.about .icon-box .description {
  margin-left: 85px;
  line-height: 24px;
  font-size: 14px;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #777C6D;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #B6CEB4;
  border-top: 1px solid #394047;
  border-bottom: 1px solid #394047;
  padding: 60px 0 30px 0;  
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  color: #394047;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 25px;
  margin-bottom: 0;
  color: #394047;
}

#footer .footer-top .logo img{
  line-height: 30;
  padding: 5px 0;
  margin-right: 10px;
  height: 70px;
  transition: 0.3s;
}

#footer .footer-top .social-links a {
  font-size: 16px;
  display: inline-block;
  background: #394047;
  color: #fff;
  line-height: 1;
  padding: 10px 0;
  margin-right: 6px;
  border-radius: 10px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #eeb64e;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;  
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

/* fitur dropdown */
/* Agar submenu tidak terlihat saat belum di-hover */
.navbar .dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 6px;
  min-width: 220px;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-direction: column; /* ini penting! */
}

.navbar .dropdown ul li {
  list-style: none;
  position: relative;
  padding: 5px 0;
}

.navbar .dropdown ul li a {
  color: #415a64;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: block;
  transition: color 0.2s;
}

.navbar .dropdown ul li a:hover {
  color: #00a8c5;
}

.navbar .dropdown > ul,
.navbar .dropdown > .dropdown-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;

    min-width:260px;
    padding:12px;

    background:#fff;
    border:none;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);

    opacity:0;
    visibility:hidden;
    transition:.3s;
}

/* Dropdown yang berada di ujung kanan */
.navbar > ul > li:last-child .dropdown-menu{
    left:auto;
    right:0;
}

/* Jika Artikel juga mepet */
.navbar > ul > li:nth-last-child(2) .dropdown-menu{
    left:auto;
    right:0;
}

/* === Submenu click only (hanya tampil saat class .show aktif) === */

/* === Pastikan isi dropdown vertikal === */
.navbar .dropdown ul li {
  display: block;
  width: 100%;
}

/* Dropdown biasa agar sama dengan Mega Menu */
.navbar .dropdown ul a{
    display:block;
    width:100%;
    padding:12px 15px;
    border-radius:10px;
    text-decoration:none;

    color:#333;
    font-size:13px;
    font-weight:600;
    line-height:1.4;

    transition:.3s;
    box-sizing:border-box;
}

.navbar .dropdown ul li{
    padding:0 10px;
}

.navbar .dropdown ul a:hover{
    background:#198754;
    color:#fff;
}

/* Untuk dropdown multi-column, pastikan tidak muncul otomatis */
.navbar .dropdown .dropdown-menu.multi-column {
  display: none;
}

.navbar .dropdown.show > .dropdown-menu.multi-column {
  display: flex;
}

/* Panah kecil di menu dropdown
.navbar .dropdown > a i {
  margin-left: 5px;
  font-size: 12px;
} */

/* Pastikan parent dropdown punya position relative agar anak dropdown absolute mengacu ke parent */
.navbar .dropdown {
  position: relative;
}

/* Perbaiki dropdown-menu multi-kolom supaya tidak terlalu melebihi sisi kanan */
.navbar .dropdown-menu.multi-column-4 {
  position: absolute;
  top: 100%; /* muncul di bawah parent link */
  left: auto;  /* default mulai dari sisi kiri parent */
  /* Jika terlalu ke kanan, bisa digeser via right: 0; left: auto; */
  min-width: 300px;  /* lebar minimal untuk muat 4 kolom */
  padding: .5rem;
  box-sizing: border-box;
  z-index: 999;  /* supaya muncul di atas elemen lain */
}

/* Jika parent dropdown berada di sisi kanan dari layar, bisa gunakan media query atau class tambahan agar align dropdown ke kanan */
.navbar .dropdown.align-right .dropdown-menu.multi-column-4 {
  left: auto;
  right: 0;
}

/* Kolom-kolom dalam dropdown tetap seperti sebelumnya */

.dropdown-container {
  display: flex;
  gap: 30px;
}

.dropdown-column {
  min-width: 180px;
}

.dropdown-column:last-child {
  margin-right: 0;
}

.dropdown-column-title {
  font-weight: 700;
  color: #024b5a;
  font-size: 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 5px;
}

.dropdown-column li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-column li a {
   color: #415a64;
  font-weight: 500;
  font-size: 14px;
}

.dropdown-column li a:hover {
  color: #00a8c5;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > ul {
  top: 0;
  left: 100%;
  margin-left: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* Responsif supaya dropdown jadi satu kolom kalau layar sempit */
@media (max-width: 992px) {
  .navbar .dropdown-menu.multi-column-4 {
    min-width: auto;
    width: 100vw;  /* buat lebar penuh viewport agar tidak terpotong */
    left: 0;
    right: 0;
  }
  .dropdown-container {
    display: block;
  }
  .dropdown-column {
    width: 100%;
    margin-right: 0;
  }
  .dropdown-submenu:hover > ul {
    display: block;
  }
}




/* icon selection */
.icon-grid-section {
  padding: 40px 0;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px; /* jarak antar icon card */
  justify-items: center;
  align-items: center;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none; /* agar link tidak bergaris */
  color: #009688; /* warna teks default, sesuaikan tema */
  transition: transform 0.3s, box-shadow 0.3s;
}

.icon-card img {
  width: 80px; /* ukuran icon, bisa disesuaikan */
  height: auto;
  transition: transform 0.3s;
}

.icon-card p {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Hover efek */
.icon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.icon-card:hover img {
  transform: scale(1.1);
}

/* Responsif: di layar kecil supaya icon-size & teksnya tidak terlalu besar */
@media (max-width: 600px) {
  .icon-card img {
    width: 60px;
  }
  .icon-card p {
    font-size: 0.8rem;
  }
}

/* Berita Section */
.berita-section {
  padding: 60px 0;
  background-color: hsl(110, 30%, 96%);
}

.berita-title {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #394047;
  position: relative;
}

.berita-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #3E5F44;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Grid */
.berita-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Card */
.berita-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.berita-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Gambar Berita */
.berita-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Isi Konten Berita */
.berita-content {
  padding: 15px;
}

/* Waktu/Tanggal */
.berita-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
}

/* Judul */
.berita-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.berita-card-title a {
  text-decoration: none;
  color: #3E5F44;
}

.berita-card-title a:hover {
  color: #eeb64e;
}

/* === PERBAIKAN MULTI-COLUMN DROPDOWN ILP, PUSBAN, POLINDES === */

/* container flex agar kolom sejajar */
.dropdown-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: flex-start;
}

/* tiap kolom di dalam dropdown */
.dropdown-column {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

/* judul kolom */
.dropdown-column-title {
  font-weight: 700;
  color: #024b5a;
  font-size: 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 5px;
}

/* item list di tiap kolom */
.dropdown-column li {
  list-style: none;
  margin: 4px 0;
}

.dropdown-column li a {
  color: #415a64;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  display: block;
}

.dropdown-column li a:hover {
  color: #00a8c5;
}

/* hindari scroll memotong dropdown */
#header.floating-header {
  overflow: visible;
}

/* pastikan dropdown multi-column transisi halus saat dibuka */
@media (min-width: 992px) {
  .dropdown-menu.multi-column {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.25s ease;
  }
  .navbar .dropdown.show > .dropdown-menu.multi-column {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* responsive: ubah jadi kolom vertikal di layar kecil */
@media (max-width: 992px) {
  .dropdown-container {
    flex-direction: column;
  }
  .dropdown-menu.multi-column {
    position: static;
    box-shadow: none;
    padding: 10px 0;
  }
}

.top-header{
background:#2e7d32;
color:white;
padding:8px 0;
font-size:14px;
}

.top-header a{
color:white;
margin-left:15px;
}


.header-wrapper{
height:85px;

}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text h3{
margin:0;
font-size:22px;
font-weight:700;
color:#12693b;

}

.logo-text span{
font-size:14px;
color:#666;

}

.btn-daftar{
background:#2e7d32;
color:white;
padding:12px 28px;
border-radius:30px;
font-weight:600;
transition:.3s;

}

.btn-daftar:hover{
background:#1b5e20;
color:white;

}
.navbar>ul{
gap:28px;
}

.navbar>ul>li>a{
font-weight:600;
color:#333;
}
.navbar>ul>li>a:hover{
color:#2e7d32;
}

.navbar>ul>li>a.active{
color:#2e7d32;

}

.dropdown-menu{
border:none;
border-radius:15px;
box-shadow:0 10px 35px rgba(0,0,0,.12);

}

/* ==========================================
   HERO SECTION
========================================== */

.hero-modern{
    margin-top: 0;
    padding-top: 0;
}

.hero-bg{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(1.08);
}

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
        90deg,
        rgba(255,255,255,.92) 0%,
        rgba(255,255,255,.75) 35%,
        rgba(255,255,255,.35) 65%,
        rgba(255,255,255,0) 100%
    );
}

.hero-modern::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:55%;
    height:100%;
    background:linear-gradient(
        to right,
        rgba(255,255,255,.95),
        rgba(255,255,255,.5),
        transparent
    );
}

.hero-content{
    position: relative;
    z-index: 2;
    min-height: 680px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #16a34a;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1{
    font-size:49px;   /* sebelumnya 70px */
    line-height:1.1;
    font-weight:700;
    margin-bottom:20px;
    max-width:650px;  /* supaya tidak terlalu melebar */
}

.hero-content h1 span{
    color:#198754;
}
.hero-content p{
    max-width:520px;
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-button .btn{
    padding:14px 32px;
    border-radius:12px;
    font-size:17px;
}

.hero-card-header{
    padding:20px 24px 12px;
    border-bottom:1px solid #ececec;
}

.hero-card-header h3{
    margin:0;
    color:#198754;
    font-size:17px;
    font-weight:700;
}

.hero-card-body{
    padding: 15px;
}

.hero-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:18px;
}

.hero-item:last-child{
    margin-bottom:12px;
}

.hero-item i{
    width:42px;
    height:42px;
    background:#198754;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:16px;
    flex-shrink:0;
}

.hero-item div{
    flex:1;
}

.hero-item strong{
    display:block;
    font-size:14px;
    color:#333;
    margin-bottom:3px;
}

.hero-item p{
    margin:0;
    font-size:12px;
    color:#666;
    line-height:1.3;
}

.hero-card-footer{
    padding:0 25px 25px;
}

.hero-content .col-lg-5{
    display: flex;
    justify-content: flex-end;
}
/* ===========================
   HERO CARD MODERN
=========================== */

.hero-card{
    width:380px;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 25px rgba(0,0,0,.12);
    margin-top:25px;
}

.hero-card h3{
    font-size:18px;
    padding:18px 20px 10px;
}


.hero-card-body{
    padding:15px 15px;
}

.hero-item{
    display: flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:14px;
}

.hero-item:last-child{
    margin-bottom:0;
}

.hero-item i{
    width:36px;
    height:36px;
    min-width:36px;

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

    background:#198754;
    color:#fff;
    border-radius:50%;

    font-size:15px;
}

.hero-item strong{
    display:block;
    font-size:14px;
    margin-bottom:2px;
    
}

.hero-item span,
.hero-item p{
    margin:0;
    font-size:12px;
    line-height:1.35;
}

.hero-card-footer{
    padding:0 22px 22px;
}

.hero-card-footer .btn{
    width:100%;
    height:42px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
}

/* =========================
TOP BAR
=========================*/

.topbar{
    background: #198754;
    color: #fff;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    z-index: 9999;
}

.topbar i{
    color: #fff;
    margin-right: 5px;
}

.topbar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*========================*/

.main-header{
background:#fff;
box-shadow:0 5px 20px rgba(0,0,0,.08);
position:relative;
top:0;
z-index:999;

}

.main-header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    max-width: 1700px;
}

.main-header .container > .d-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area h4{
font-size:18px;
color:#167b45;
font-weight:700;
line-height: 1.1;
}

.logo-area span{
color:#444;
font-size:13px;
}



.navbar a{
text-decoration:none;
color:#333;
font-weight:600;
font-size: 15px;
transition:.3s;

}
.navbar a:hover{
color:#198754;

}
.navbar a.active{
color:#198754;
}

.btn-online{
background:#198754;
color:white;
padding:12px 25px;
border-radius:10px;
font-weight:600;
text-decoration:none;
transition:.3s;
}

.btn-online:hover{
background:#146c43;
color:white;
transform:translateY(-2px);
}

/*==================================
LAYANAN
===================================*/

.layanan-section{
padding:90px 0;
background:#f8fafb;
}
.section-title-home{
text-align:center;
margin-bottom:60px;
}

.section-title-home span{
display:inline-block;
background:#198754;
padding:8px 20px;
border-radius:30px;
color:#fff;
font-size:14px;
font-weight:600;
margin-bottom:15px;
}

.section-title-home h2{
font-size:40px;
font-weight:700;
margin-bottom:15px;
color:#222;
}
.section-title-home p{
max-width:700px;
margin:auto;
color:#666;
}

.service-card{
    width:360px;
    border-radius:25px;
    background:#fff;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
    overflow:hidden;
}

.service-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.service-icon{
width:90px;
height:90px;
background:#e8f8ee;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin:auto;
margin-bottom:20px;

}
.service-icon img{
width:48px;

}

.service-card h4{
font-size:20px;
font-weight:700;
margin-bottom:12px;
color:#198754;
}

.service-card p{
color:#666;
font-size:15px;
line-height:1.7;
}

/*=================================
ABOUT
==================================*/

.about-home{
padding:100px 0;
background:#fff;
}

.section-badge{
display:inline-block;
padding:8px 20px;
background:#198754;
color:#fff;
border-radius:30px;
font-size:14px;
margin-bottom:18px;

}

.about-home h2{
font-size:42px;
font-weight:700;
margin-bottom:20px;
color:#222;

}

.about-home p{
font-size:17px;
line-height:1.8;
color:#666;

}

.about-image img{
border-radius:25px;

}
.about-box{
background:#f8f9fa;
padding:25px;
text-align:center;
border-radius:18px;
transition:.3s;
height:100%;
}

.about-box:hover{
background:#198754;
color:#fff;
transform:translateY(-6px);
}

.about-box h3{
font-size:34px;
font-weight:700;
margin-bottom:10px;
}

.about-box span{
font-size:15px;
}

/*==================================
BERITA
===================================*/

.news-section{
padding:100px 0;
background:#f7faf8;
}

.news-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 12px 35px rgba(0,0,0,.08);
transition:.35s;
height:100%;
}

.news-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.news-image{
height:250px;
overflow:hidden;
}
.news-image img{
width:100%;
height:100%;
object-fit:cover;
transition:.4s;
}
.news-card:hover img{
transform:scale(1.08);
}
.news-content{
padding:25px;
}
.news-date{
font-size:14px;
color:#198754;
margin-bottom:15px;
}
.news-content h4{
font-size:22px;
font-weight:700;
margin-bottom:20px;
line-height:1.5;
min-height:70px;
}
.news-content .btn{
border-radius:10px;
padding:10px 20px;
}

/*==================================================
FOOTER MODERN
==================================================*/

.footer-modern{
background:#138a72;
padding:80px 0 25px;
color:#fff;
}

.footer-modern h3{
font-size:28px;
font-weight:700;
margin-top:20px;
margin-bottom:20px;
}

.footer-modern h4{
margin-bottom:25px;
font-weight:700;
font-size:22px;
}

.footer-modern p{
line-height:1.8;
color:#e8e8e8;
}

.footer-modern ul{
list-style:none;
padding:0;
margin:0;
}

.footer-modern li{
margin-bottom:14px;
}

.footer-modern a{
color:#fff;
text-decoration:none;
transition:.3s;
}

.footer-modern a:hover{
padding-left:6px;
color:#9cffb4;
}

.footer-social{
display:flex;
gap:12px;
margin-top:25px;
}

.footer-social a{
width:45px;
height:45px;
border-radius:50%;
background:rgba(255,255,255,.15);
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
transition:.3s;
}

.footer-social a:hover{
background:#fff;
color:#198754;
transform:translateY(-5px);
}

.footer-copy{
text-align:center;
padding-top:20px;
font-size:15px;
color:#ddd;
}

.footer-modern hr{
margin:45px 0 20px;
border-color:rgba(255,255,255,.2);
}

.footer-contact{
    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:20px;
}

.footer-contact i{
    font-size:18px;
    color:#fff;
    margin-top:4px;
    min-width:20px;
}

.footer-contact span{
    color:#e8e8e8;
    line-height:1.8;
}

/* ==========================================
   HEADER
========================================== */

.modern-header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    transition: all .3s ease;
}

.modern-header.scrolled{
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.header-wrapper{
    height: 90px;
}

.logo-text h3{
    font-size: 22px;
    font-weight: 700;
    color: #198754;
    margin: 0;
}

.logo-text span{
    font-size: 16px;
    color: #444;
}

.btn-daftar{
    background: #198754;
    color: #fff;
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-daftar:hover{
    background: #157347;
    color: #fff;
}

.navbar ul li a{
    font-weight: 600;
    transition: .3s;
}

.navbar ul li a:hover,
.navbar ul li a.active{
    color: #198754;
}

.hero-modern{
    position: relative;
    overflow: hidden;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item{
    height: 750px;
    position: relative;
}

.hero-bg{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-area{
    display: flex;
    align-items: center;
}

.navbar{
    margin-left: 0;
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar ul{
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn-online{
    margin-left: 30px;
}


.navbar .navbar-nav > .nav-item > .nav-link{
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color .2s ease, background-color .2s ease;
}

.navbar .navbar-nav > .nav-item > .nav-link:hover,
.navbar .navbar-nav > .nav-item.dropdown:hover > .nav-link,
.navbar .navbar-nav > .nav-item.dropdown.show > .nav-link{
    color: #198754;
    background: transparent;
    transform: none;
}

.navbar .navbar-nav > .nav-item > .nav-link.active{
    color: #198754;
    font-weight: 700;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.navmenu > ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* atur 10-20px sesuai selera */
}

.navmenu > ul > li{
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navmenu {
    display: flex;
    justify-content: center; /* atau space-between */
    align-items: center;
}

.navmenu > ul {
    display: flex;
    align-items: center;
    gap: 20px; /* atur sesuai kebutuhan */
    margin: 0;
    padding: 0;
}

.navmenu > ul > li {
    display: flex;
    align-items: center;
}

.btn-success{
    background:#69B97A;
    border:none;
}

.btn-success:hover{
    background:#5AA96B;
}

#header{
    background:#ffffff;
    box-shadow:none;
    border-bottom:1px solid #eef2f7;
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero-overlay{
    z-index:1;
}

.hero-bg{
    position:absolute;
    inset:0;
    z-index:0;
}

.hero-card-wrapper{
    width:350px;
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-left:auto;
    margin-top:30px; /* atau 0*/
}

.status-card{
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #e9ecef;

    background:transparent;
    border:none;
    border-radius:0;
    box-shadow:none;
}

.hero-card{
    width:100%;
    background:#fff;
    border-radius:20px;
    padding:30px 32px;      /* diperbesar */
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    overflow:hidden;
}

.status-card{
    width:100%;
    margin-top:20px;
    padding:22px 28px;

    background:#fff;
    border:1px solid #ececec;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.hero-card{
    overflow:hidden;
}

.status-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.status-header strong{
    font-size:18px;
    font-weight:700;
    color:#333
}

.badge-status{
    background:#d1fae5;
    color:#198754;
    padding:6px 14px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}


.hero-content{
    min-height:620px;
}

.status-card p{
    text-align:center;
    white-space:nowrap;
    font-size:16px;
    margin-top:20px;
}

/* =================================
   HERO BUTTON
================================= */

.hero-button{
    display:flex;
    gap:18px;
    align-items:center;
}

.hero-button .btn-success{
    background:#0b7a3e;
    border:1px solid #0b7a3e;
    color:#fff;
    padding:14px 30px;
    border-radius:14px;
    font-size:16px;
    font-weight:600;
    box-shadow:0 8px 20px rgba(11,122,62,.25);
}

.hero-button .btn-success:hover{
    background:#096633;
    border-color:#096633;
    transform:translateY(-2px);
}

.hero-button .btn-outline-light{
    background:#fff;
    color:#333;
    border:1px solid #dfe3e8;
    padding:14px 30px;
    border-radius:14px;
    font-size:16px;
    font-weight:600;
}

.hero-button .btn-outline-light:hover{
    background:#f8f9fa;
    color:#198754;
    border-color:#198754;
}

/* Jam Pelayanan */
.jam-item{
    margin-bottom:18px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,.15);
}

.jam-item:last-child{
    border-bottom:none;
}

.jam-item .hari{
    font-size:16px;
    font-weight:600;
    color:#fff;
    margin-bottom:6px;
}

.jam-item .jam{
    font-size:15px;
    color:#d9d9d9;
}

.footer-logo{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.footer-logo img{
    width:85px;
    height:85px;
    margin-bottom:20px;
}

.footer-logo h3{
    font-size:42px;
    line-height:1.2;
    font-weight:700;
    margin:0 0 18px;
    color:#fff;
}

.footer-logo p{
    max-width:420px;
    font-size:17px;
    color:#e8e8e8;
    line-height:1.8;
}

/* ===== Dropdown Profil ===== */

.navbar ul{
    display:flex;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0;
}

.navbar ul li{
    position:relative;
}

.navbar ul li a{
    display:block;
}

/* Dropdown menu (click only) */

.navbar .dropdown-menu li{
    width:100%;
}

.navbar .dropdown-menu li a{
    padding:10px 28px;
    color:#333;
    text-decoration:none;
    font-weight:500;
}

.navbar .dropdown-menu li a:hover{
    background:#198754;
    color:#fff;
}

.mega-dropdown{
    position: relative;
}


.mega-column a:hover{
    color: #198754;
}

/* ===== Mega Menu Pusban ===== */

/* ======================================================
   MEGA MENU
====================================================== */

/* ===== Dropdown Profil ===== */

.navbar ul{
    display:flex;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0;
}

.navbar ul li{
    position:relative;
}

.navbar ul li a{
    display:block;
}

/* Menu dropdown (click only) */

.navbar .dropdown-menu li{
    width:100%;
}

.navbar .dropdown-menu li a{
    padding:10px 28px;
    color:#333;
    text-decoration:none;
    font-weight:500;
}

.navbar .dropdown-menu li a{
    display: block;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: .3s;
}

.navbar .dropdown-menu li a:hover{
    background:#198754;
    color:#fff;
}

.mega-dropdown{
    position: relative;
}


.mega-column a:hover{
    color: #198754;
}

/* ===== Mega Menu Pusban ===== */

.mega-dropdown{
    position:relative;
}

/* =====================================================
   JAM PELAYANAN - HOME
===================================================== */

.hero-modern .service-card {
    width: 100% !important;
    max-width: 380px !important;
    min-width: 0 !important;

    padding: 16px 18px !important;
    margin: 0 auto !important;

    background: #fff !important;
    border-radius: 18px !important;

    box-sizing: border-box !important;

    box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.28), 0 8px 20px -6px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;

    overflow: hidden !important;
}

.hero-modern .service-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 28px 55px -10px rgba(0, 0, 0, 0.35), 0 12px 24px -6px rgba(0, 0, 0, 0.2) !important;
}


/* =====================================================
   HEADER
===================================================== */

.hero-modern .service-card .service-header {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 10px !important;

    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.hero-modern .service-card .service-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    background: #edf7f1 !important;
    color: #198754 !important;

    border-radius: 8px !important;

    font-size: 15px !important;
}

.hero-modern .service-card .service-header h3 {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;

    color: #333 !important;
}


/* =====================================================
   JADWAL
===================================================== */

.hero-modern .service-card .service-schedule {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.hero-modern .service-card .schedule-item {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;

    gap: 9px !important;

    margin: 0 !important;
    padding: 9px 0 !important;

    min-height: 0 !important;

    box-sizing: border-box !important;

    border-bottom: 1px solid #eeeeee !important;
}

.hero-modern .service-card .schedule-item:last-child {
    border-bottom: none !important;
}


/* ICON JADWAL */

.hero-modern .service-card .schedule-icon {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;

    flex: 0 0 25px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    background: #edf7f1 !important;
    color: #198754 !important;

    border-radius: 6px !important;

    font-size: 11px !important;
}


/* HARI */

.hero-modern .service-card .schedule-day {
    flex: 1 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    line-height: 1.2 !important;

    color: #333 !important;

    white-space: nowrap !important;
}


/* JAM */

.hero-modern .service-card .schedule-time {
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 11px !important;
    font-weight: 400 !important;

    line-height: 1.2 !important;

    color: #777 !important;

    text-align: right !important;

    white-space: nowrap !important;
}


/* =====================================================
   STATUS
===================================================== */

.hero-modern .service-card .service-status {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    margin: 9px 0 0 0 !important;
    padding: 8px 0 !important;

    box-sizing: border-box !important;

    border: 1px solid #eeeeee !important;
    border-radius: 18px !important;
}

.hero-modern .service-card .status-left {
    display: flex !important;
    align-items: center !important;

    gap: 7px !important;

    margin-left: 10px !important;

    font-size: 11px !important;
    font-weight: 600 !important;
}

.hero-modern .service-card .status-left i {
    font-size: 12px !important;
}

.hero-modern .service-card .status-badge {
    margin-right: 8px !important;

    padding: 4px 9px !important;

    border-radius: 15px !important;

    font-size: 9px !important;
    font-weight: 600 !important;

    white-space: nowrap !important;
}


/* =====================================================
   COUNTDOWN
===================================================== */

.hero-modern .service-card .countdown {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    margin: 0 !important;
    padding: 13px 0 7px !important;

    box-sizing: border-box !important;
}


/* SETIAP ANGKA */

.hero-modern .service-card .countdown-item {
    flex: 1 1 0 !important;

    width: auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    text-align: center !important;
}


/* ANGKA */

.hero-modern .service-card .countdown-item strong {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #198754 !important;

    font-size: 22px !important;
    font-weight: 700 !important;

    line-height: 1 !important;
}


/* LABEL */

.hero-modern .service-card .countdown-item span {
    display: block !important;

    margin: 4px 0 0 0 !important;
    padding: 0 !important;

    color: #777 !important;

    font-size: 9px !important;

    line-height: 1 !important;
}


/* PEMBATAS COUNTDOWN
   PENTING: supaya tidak jadi kotak abu-abu */

.hero-modern .service-card .countdown-divider {
    display: block !important;

    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;

    height: 28px !important;
    min-height: 28px !important;

    flex: 0 0 1px !important;

    margin: 0 5px !important;
    padding: 0 !important;

    background: #eeeeee !important;

    border: none !important;
}


/* =====================================================
   PESAN
===================================================== */

.hero-modern .service-card .service-message {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;

    gap: 7px !important;

    margin: 4px 0 0 0 !important;
    padding: 0 !important;

    font-size: 10px !important;
    line-height: 1.2 !important;

    color: #555 !important;
}

.hero-modern .service-card .service-message i {
    font-size: 14px !important;
    color: #198754 !important;
}


/* =====================================================
   HP
===================================================== */

@media (max-width: 576px) {

    .hero-modern .service-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 14px !important;
    }

}

.mega-dropdown{
position:relative;
}

.mega-menu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    width:550px;
    grid-template-columns: repeat(2, 1fr);
    background:#fff;
    display:grid;
    gap:10px;
    padding:12px 15px;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
}

.mega-dropdown.show .mega-menu{
    display: grid;
}

.mega-column{
    min-width:0;
}

.mega-column h5{
    font-size:13px;     /* sebelumnya 16px */
    font-weight:700;
    color:#198754;
    margin-bottom:10px;
    padding-bottom:5px;
    border-bottom:1px solid #ddd;
}

.mega-column a{
    display:block;
    width:100%;
    padding:5px 7px;    /* sebelumnya 12px 15px */
    border-radius:8px;
    box-sizing:border-box;

    color:#333;
    text-decoration:none;
    font-size:11px;      /* sebelumnya 13px */
    font-weight:600;
    line-height:1.35;

    white-space:normal;
    word-break:break-word;
    transition:.25s;
}

.mega-column a:hover{
    background:#198754;
    color:#fff;
    padding-left:15px; /* jangan digeser */
}

/* Navbar */



/* Setiap menu */
.navbar > ul > li{
    position: relative;
    white-space: nowrap;
}

/* Link menu */
.navbar > ul > li > a{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 600;
}

.navbar > ul > li > a:hover{
    background:#198754;
    color:#fff;
    transform:translateY(-2px);
}

.navbar > ul > li > a.active{
    background:#198754;
    color:#fff;
}

/* Perbaiki item mega menu */
.mega-menu .mega-column a{
    display:block !important;
    width:100% !important;
    box-sizing:border-box;
    padding:12px 15px !important;
    border-radius:10px;
    background:transparent;
}

.mega-menu .mega-column a:hover{
    background:#198754 !important;
    color:#fff !important;
}

/* Perbaiki mega menu */
.mega-menu{
    overflow: visible !important;
}

.mega-column{
    overflow: visible !important;
}

.mega-column a{
    display:block;
    width:100%;
    padding:12px 15px;
    border-radius:10px;
    box-sizing:border-box;
    white-space:normal;      /* boleh turun baris */
    word-break:break-word;
}

.mega-column a:hover{
    background:#198754;
    color:#fff;
}

/*=====================
   NAVBAR
========================== */

* Navbar */
.navbar{
    flex: 1;
    margin-left: 30px;
}

.navbar ul{
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

/* Setiap menu */
.navbar > ul > li{
    position: relative;
    white-space: nowrap;
}

/* Link menu */
.navbar > ul > li > a{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 600;
}

.navbar > ul > li > a:hover{
    background:#198754;
    color:#fff;
    transform:translateY(-2px);
}

.navbar > ul > li > a.active{
    background:#198754;
    color:#fff;
}

/* Perbaiki item mega menu */
.mega-menu .mega-column a{
    display:block !important;
    width:100% !important;
    box-sizing:border-box;
    padding:12px 15px !important;
    border-radius:10px;
    background:transparent;
}

.mega-menu .mega-column a:hover{
    background:#198754 !important;
    color:#fff !important;
}

/* Perbaiki mega menu */
.mega-menu{
    overflow: visible !important;
}

.mega-column{
    overflow: visible !important;
}

.mega-column a{
    display:block;
    width:100%;
    padding:12px 15px;
    border-radius:10px;
    box-sizing:border-box;
    white-space:normal;      /* boleh turun baris */
    word-break:break-word;
}

.mega-column a:hover{
    background:#198754;
    color:#fff;
}

.mega-menu .mega-column a{
    font-size:12px !important;
    color:#333 !important;
    background:transparent !important;
    padding:6px 8px !important;
    font-weight:600;
}

.mega-menu .mega-column h5{
    font-size:15px !important;
    color:#198754;
}

/* Mega Menu Profil */
.profile-menu{
    width:260px;
    grid-template-columns:1fr;
}

.service-status{
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #e9ecef;
}

.status-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.status-title span:first-child{
    font-size:18px;
    font-weight:600;
    color:#333;
}

.badge-open{
    background:#dff6e7;
    color:#198754;
    padding:8px 15px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.countdown{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:12px 0;
}

.countdown div{
    flex:1;
    text-align:center;
}

.countdown div:not(:last-child){
    border-right:1px solid #ececec;
}

.countdown h2{
    margin:0;
    font-size:42px;
    font-weight:700;
    color:#198754;
    line-height:1;
}

.countdown small{
    font-size:15px;
    color:#666;
}

.service-status p{
    text-align:center;
    color:#666;
    margin:0;
    font-size:18px;
}

.hero-card-body{
    padding:20px;
}

.hero-item{
    margin-bottom:14px;
}

.hero-item:last-child{
    margin-bottom:8;
    padding-bottom:18px;
    border-bottom:1px solid #e9ecef;
}

.status-card{
    margin-top:18px;
}

.status-card{
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #e9ecef;

    background:transparent;
    border:none;
    border-radius:0;
    box-shadow:none;
}

.status-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin:25px 0;
}

.status-open{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:17px;
    font-weight:600;
    color:#333;
    line-height:1;
}

.status-open i{
    font-size:18px;
    color:#198754;
}

.badge-open{
    display:flex;
    align-items:center;
    justify-content:center;
    height:30px;
    padding:0 14px;
    background:#dff5e6;
    color:#198754;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    line-height:1;
}

.countdown{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-top:15px;
    margin-bottom:25px;
}

.count-item{
    text-align:center;
    width:72px;
}

.count-item h2{
    font-size:52px;
    color:#148a54;
    font-weight:700;
    line-height:1;
    margin:0;
}

.count-item p{
    margin-top:4px;
    color:#666;
    font-size:18px;
}

.divider{
    width:1px;
    height:45px;
    background:#ddd;
}

.footer-text{
    text-align:center;
    font-size:12px;
    color:#555;
    margin-top:12px;
}

/* ===========================
   JAM PELAYANAN
=========================== */

.service-hours-card{
    width:380px;
    background:#fff;
    border-radius:30px;
    padding:40px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    position:relative;
    z-index:10;
}

.service-hours-card h3{
    text-align:center;
    color:#13884b;
    font-size:24px;
    font-weight:700;
    margin-bottom:30px;
}

.service-hours-card hr{
    border:none;
    border-top:1px solid #ececec;
    margin:28px 0;
}

.schedule-item{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:22px;
}

.schedule-item .icon{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#148b4d;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:18px;
}

.schedule-item h5{
    margin:0;
    font-size:18px;
    font-weight:700;
    color:#333;
}

.schedule-item span{
    color:#666;
    font-size:15px;
}

.status-row{
    width:260px;
    margin:25px auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.status-title{
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.status-title i{
    font-size: 14px;
    color: #198754;
    margin-right: 5px;
}

.status-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    height: 24px;
    background: #E8F7EE;
    color: #198754;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left:12px;
    line-height: 1;
}

.countdown{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-bottom:30px;
}

.time-box{
    flex:1;
    text-align:center;
}

.time-box span{
    display:block;
    font-size:35px;
    color:#148b4d;
    font-weight:700;
    line-height:1;
}

.time-box small{
    display:block;
    margin-top:6px;
    color:#666;
    font-size:14px;
}

.service-text{
    text-align:center;
    color:#555;
    font-size:18px;
    margin:0;
}

.mega-dropdown.show .mega-menu{
    opacity:1;
    visibility:visible;
}

/* =========================
   MOBILE NAVBAR
========================= */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:32px;
    color:#198754;
    cursor:pointer;
}

/* HP */
@media only screen and (max-width:991px){

    .menu-toggle{
        display:block;
        margin-left:auto;
        z-index:1001;
    }

    /* Legacy .navbar rule removed to prevent hiding Bootstrap 5 nav */

    .navbar ul{
        flex-direction:column;
        gap:0;
        width:100%;
    }

    .navbar ul li{
        width:100%;
    }

    .navbar ul li a{
        display:block;
        padding:14px 20px;
    }

    /* Mega menu menjadi biasa */
    .mega-menu{
        position:static !important;
        width:100% !important;
        display:none;
        opacity:1 !important;
        visibility:visible !important;
        transform:none !important;
        box-shadow:none;
        grid-template-columns:1fr !important;
        padding-left:20px;
        background:#f8f8f8;
    }

    .mega-dropdown.active .mega-menu{
        display:grid;
    }

    .hero{
        margin-top:80px;
    }
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width:991px){

    /* Hero */
    .hero-content{
        min-height:auto !important;
        padding:35px 18px 20px;
        text-align:left;
    }

    .hero-content h1{
        font-size:32px !important;
        line-height:1.15 !important;
        margin-bottom:15px !important;
        max-width:100%;
    }

    .hero-content p{
        font-size:15px !important;
        line-height:1.7;
        margin-bottom:20px;
        max-width:100%;
    }

    /* Tombol */
    .hero-button{
        display:flex;
        gap:12px;
    }

    .hero-button .btn{
        flex:1;
        padding:12px;
        font-size:15px;
    }

    /* Card */
    .hero-card-wrapper{
        width:100%;
        max-width:360px;
        margin:30px auto 0;
        gap:20px;
    }

    .hero-card,
    .service-hours-card{
        width:100%;
        padding:24px;
        border-radius:24px;
    }

    /* Countdown */
    .count-item{
        width:auto;
        flex:1;
    }

    .count-item h2{
        font-size:38px;
    }

    .count-item p{
        font-size:14px;
    }

}

/* ===========================
   FIX MOBILE HERO
=========================== */
@media (max-width:991px){

    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item{
        height:auto !important;
        min-height:480px !important;
    }

    .hero-content{
    min-height:auto !important;
    padding:0 !important;
    align-items:flex-start !important;
    transform:translateY(-150px);
}

    .hero-content .col-lg-7{
        margin-bottom:25px;
    }

    .hero-content h1{
        font-size:34px !important;
        line-height:1.15 !important;
        margin-bottom:15px;
    }

    .hero-content p{
        font-size:15px;
        line-height:1.8;
        max-width:100%;
        margin-bottom:20px;
    }

    .hero-button{
        display:flex;
        gap:12px;
        flex-wrap:wrap;
    }

    .hero-button .btn{
        flex:1;
        padding:12px;
        font-size:15px;
    }

    .hero-card-wrapper{
        width:100% !important;
        max-width:360px;
        margin:25px auto 0 !important;
    }

    .service-hours-card{
        width:100%;
    }

}


/*==================================
        DOKUMEN
==================================*/

.dokumen-section{
    background:#f5f7fa;
    padding:0 0 70px;
}

.dokumen-card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    margin-top:0 !important;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.dokumen-info{
    display:flex;
    gap:20px;
    align-items:center;
    margin-bottom:30px;
}

.dokumen-info .icon{
    width:75px;
    height:75px;
    border-radius:15px;
    background:#198754;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:35px;
}

.dokumen-info h2{
    color:#198754;
    font-weight:700;
}

.dokumen-info p{
    color:#666;
    margin-top:5px;
}

.pdf-wrapper{
    border:1px solid #ddd;
    border-radius:12px;
    overflow:hidden;
}

.pdf-wrapper iframe{
    border:none;
}

.dokumen-button{
    display:flex;
    gap:15px;
    justify-content:flex-end;
    margin-top:25px;
}

.btn-view,
.btn-download{
    padding:12px 24px;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
    font-weight:600;
}

.btn-view{
    background:#198754;
}

.btn-download{
    background:#0d6efd;
}

.btn-view:hover{
    background:#157347;
}

.btn-download:hover{
    background:#0b5ed7;
}

/* Mobile */

@media(max-width:768px){

.dokumen-info{
    flex-direction:column;
    text-align:center;
}

.dokumen-button{
    flex-direction:column;
}

.btn-view,
.btn-download{
    width:100%;
    text-align:center;
}

.page-header{
    padding:50px 0;
}

.page-header h1{
    font-size:28px;
}

}

.service-card h4{
    font-size: 18px;
    font-weight: 700;
    color: #0b7a4b;
    text-align: center;
    line-height: 1.35;
    min-height: auto;   /* supaya semua judul tingginya sama */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 15px;
}

.service-card p{
    min-height: auto;
    text-align: center;
    line-height: 1.7;
}

/* Mengurangi jarak antar baris card layanan */
#layanan .row{
    row-gap: 20px !important;
}

/* Kurangi jarak bawah setiap kolom */
#layanan .col-lg-3{
    margin-bottom: 10px;
}

/* Kurangi jarak icon ke judul */
.service-icon{
    margin-bottom: 15px !important;
}

/* Kurangi jarak judul ke deskripsi */
.service-card h4{
    margin: 15px 0 10px;
    min-height: auto;
}

/* Hilangkan tinggi minimum deskripsi */
.service-card p{
    margin-bottom: 0;
    min-height: auto;
}

/* NAIKKAN TULISAN HERO */
#heroCarousel .hero-content .col-lg-7 {
    position: relative !important;
    top: -180px !important;
}

/* Tombol ikut naik */
#heroCarousel .hero-content .col-lg-7 h1,
#heroCarousel .hero-content .col-lg-7 p,
#heroCarousel .hero-content .col-lg-7 .btn {
    position: relative !important;
}

/* Naikkan tulisan pada hero */
.hero-content .col-lg-7 {
    transform: translateY(-150px);
}

/* ================================
   HERO TEXT DI ATAS GAMBAR
================================ */

.hero-modern {
    position: relative !important;
}

#heroCarousel {
    position: relative !important;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    width: 100% !important;
    height: 100% !important;
}

#heroCarousel .hero-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.hero-text-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

.hero-content {
    width: 100%;
}

/* =====================================================
   HERO - FOTO + TULISAN DI ATAS FOTO
   ===================================================== */

.hero-modern {
    position: relative;
    width: 100%;
    min-height: 560px;
    overflow: hidden;
}

/* Carousel */
.hero-modern #heroCarousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Area foto */
.hero-modern .carousel-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Item foto */
.hero-modern .carousel-item {
    width: 100%;
    height: 100%;
}

/* Foto gedung */
.hero-modern .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lapisan hijau gradient */
.hero-modern .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(6, 78, 51, 0.82) 0%, rgba(13, 122, 79, 0.60) 100%);
    z-index: 2;
}

/* =====================================================
   TULISAN DI ATAS FOTO
   ===================================================== */

.hero-modern .hero-text-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

/* Isi kiri dan kanan */
.hero-modern .hero-content {
    position: relative !important;
    z-index: 101 !important;

    width: 100% !important;
    margin: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/* Tulisan kiri */
.hero-modern .hero-content .col-lg-7 {
    position: relative !important;
    z-index: 102 !important;

    color: white !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/* Judul */
.hero-modern .hero-content h1 {
    color: white !important;

    font-size: 52px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;

    margin: 0 0 20px 0 !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/* Deskripsi */
.hero-modern .hero-content p {
    color: white !important;

    font-size: 18px !important;
    line-height: 1.7 !important;

    max-width: 620px !important;

    margin: 0 0 28px 0 !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/* Tombol */
.hero-modern .hero-content .btn {
    position: relative !important;
    z-index: 103 !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/* =====================================================
   JAM PELAYANAN
   ===================================================== */

.hero-modern .hero-content .col-lg-5 {
    position: relative !important;
    z-index: 102 !important;

    visibility: visible !important;
    opacity: 1 !important;
}

.hero-modern .service-hours-card {
    position: relative !important;
    z-index: 103 !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/* =====================================================
   TOMBOL SLIDER
   ===================================================== */

.hero-modern .carousel-control-prev,
.hero-modern .carousel-control-next {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 60px !important;
    z-index: 100 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 0.7 !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.hero-modern .carousel-control-prev:hover,
.hero-modern .carousel-control-next:hover {
    opacity: 1 !important;
}

.hero-modern .carousel-control-prev:focus,
.hero-modern .carousel-control-next:focus {
    opacity: 1 !important;
    outline: none !important;
}

/* =========================================
   HERO UTAMA
   ========================================= */

.hero-modern {
    position: relative !important;
    width: 100% !important;
    min-height: 560px;
    height: auto !important;
    overflow: hidden !important;
}


/* FOTO */
.hero-modern #heroCarousel {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.hero-modern .carousel-inner,
.hero-modern .carousel-item {
    width: 100% !important;
    height: 100% !important;
}

.hero-modern .hero-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* OVERLAY HIJAU GRADIENT */
.hero-modern .hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(160deg, rgba(6, 78, 51, 0.82) 0%, rgba(13, 122, 79, 0.60) 100%) !important;
    z-index: 2 !important;
}


/* =========================================
   TULISAN DI ATAS FOTO
   ========================================= */

.hero-modern .hero-text-container {
    position: relative;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-modern .hero-text-container .service-card,
.hero-modern .hero-text-container a,
.hero-modern .hero-text-container button {
    pointer-events: auto;
}


/* BARIS */
.hero-modern .hero-content {
    position: relative !important;
    z-index: 51 !important;

    width: 100% !important;
}


/* JUDUL */
.hero-modern .hero-content h1 {
    color: #ffffff !important;

    font-size: 52px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;

    margin-bottom: 20px !important;

    visibility: visible !important;
    opacity: 1 !important;
}


/* DESKRIPSI */
.hero-modern .hero-content p {
    color: #ffffff !important;

    font-size: 18px !important;
    line-height: 1.7 !important;

    max-width: 620px !important;

    margin-bottom: 28px !important;

    visibility: visible !important;
    opacity: 1 !important;
}


/* JAM PELAYANAN */
.hero-modern .service-hours-card {
    position: relative !important;
    z-index: 52 !important;

    visibility: visible !important;
    opacity: 1 !important;
}


/* TOMBOL */
.hero-modern .hero-content .btn {
    position: relative !important;
    z-index: 53 !important;
}


/* TOMBOL SLIDER */
.hero-modern .carousel-control-prev,
.hero-modern .carousel-control-next {
    z-index: 100 !important;
    pointer-events: auto !important;
}

/* ==================================================
   CARD JAM PELAYANAN - MODERN
================================================== */

.service-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-sizing: border-box;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);

    color: #1f2937;
    position: relative;
    z-index: 5;
}


/* =========================
   HEADER
========================= */

.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;

    background: #edf7f0;

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

    color: #16803c;
    font-size: 24px;

    flex-shrink: 0;
}

.service-header h3 {
    margin: 0;
    font-size: 27px;
    font-weight: 700;
    color: #20252b;
}


/* =========================
   JADWAL
========================= */

.service-schedule {
    width: 100%;
}

.schedule-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;

    min-height: 64px;

    border-bottom: 1px solid #e7e9e8;

    column-gap: 14px;
}

.schedule-item:last-child {
    border-bottom: none;
}


/* ICON HARI */

.schedule-icon {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #edf7f0;

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

    color: #18803d;
    font-size: 17px;
}


/* NAMA HARI */

.schedule-day {
    font-size: 16px;
    font-weight: 600;
    color: #252a2e;
}


/* JAM */

.schedule-time {
    font-size: 15px;
    font-weight: 500;

    color: #5c646b;

    text-align: right;
    white-space: nowrap;
}


/* =========================
   STATUS BUKA
========================= */

.service-status {
    margin-top: 24px;

    padding: 18px 20px;

    background: #f4faf6;

    border: 1px solid #e2eee6;

    border-radius: 16px;
}


/* STATUS TITLE */

.status-title {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #19783b;

    font-size: 15px;
    font-weight: 700;

    margin-bottom: 18px;
}

.status-title i {
    font-size: 10px;
}


/* =========================
   COUNTDOWN
========================= */

.countdown {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;

    align-items: center;

    text-align: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item strong {
    font-size: 38px;
    line-height: 1;

    color: #19783b;

    font-weight: 700;
}

.countdown-item span {
    margin-top: 8px;

    font-size: 14px;

    color: #596168;
}


/* PEMISAH */

.countdown-divider {
    width: 1px;
    height: 45px;

    background: #d9e4dd;
}


/* =========================
   PESAN
========================= */

.service-message {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 22px;

    color: #30373c;

    font-size: 16px;
    font-weight: 500;
}

.service-message i {
    color: #19813f;
    font-size: 22px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {

    .service-card {
        max-width: 100%;
        padding: 24px;
        border-radius: 20px;
    }

    .service-header h3 {
        font-size: 23px;
    }

    .schedule-item {
        grid-template-columns: 40px 1fr;
        row-gap: 2px;
        padding: 10px 0;
    }

    .schedule-icon {
        width: 38px;
        height: 38px;
        grid-row: span 2;
    }

    .schedule-day {
        font-size: 15px;
    }

    .schedule-time {
        text-align: left;
        font-size: 14px;
    }

    .countdown-item strong {
        font-size: 30px;
    }

    .countdown-item span {
        font-size: 12px;
    }
}

/* =====================================================
   JAM PELAYANAN - MODERN
===================================================== */

.service-card {
    width: 100%;
    max-width: 520px;

    background: #ffffff;

    border-radius: 24px;

    padding: 30px;

    box-sizing: border-box;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);

    color: #20252b;

    position: relative;

    z-index: 200;

    margin-left: auto;
}


/* HEADER */

.service-header {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;
}


.service-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf7f0;

    color: #19813f;

    font-size: 23px;
}


.service-header h3 {
    margin: 0;

    color: #20252b;

    font-size: 26px;

    font-weight: 700;
}


/* =====================================================
   JADWAL
===================================================== */

.service-schedule {
    width: 100%;
}


.schedule-item {
    display: grid;

    grid-template-columns: 44px 1fr auto;

    align-items: center;

    gap: 13px;

    min-height: 61px;

    border-bottom: 1px solid #e5e9e6;
}


.schedule-item:last-child {
    border-bottom: none;
}


.schedule-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf7f0;

    color: #19813f;

    font-size: 16px;
}


.schedule-day {
    color: #24292d;

    font-size: 15px;

    font-weight: 600;
}


.schedule-time {
    color: #626a70;

    font-size: 14px;

    font-weight: 500;

    text-align: right;

    white-space: nowrap;
}


/* =====================================================
   STATUS
===================================================== */

.service-status {
    margin-top: 22px;

    padding: 18px;

    background: #f4faf6;

    border: 1px solid #e1eee5;

    border-radius: 16px;
}


.status-title {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 17px;

    color: #19813f;

    font-size: 15px;

    font-weight: 700;
}


.status-title i {
    font-size: 9px;
}


/* =====================================================
   COUNTDOWN
===================================================== */

.countdown {
    display: grid;

    grid-template-columns:
        1fr
        1px
        1fr
        1px
        1fr;

    align-items: center;

    text-align: center;
}


.countdown-item {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.countdown-item strong {
    color: #19813f;

    font-size: 38px;

    font-weight: 700;

    line-height: 1;
}


.countdown-item span {
    margin-top: 7px;

    color: #596168;

    font-size: 13px;
}


.countdown-divider {
    width: 1px;

    height: 43px;

    background: #d9e4dd;
}


/* =====================================================
   PESAN
===================================================== */

.service-message {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 20px;

    color: #30373c;

    font-size: 15px;

    font-weight: 500;
}


.service-message i {
    color: #19813f;

    font-size: 21px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .service-card {
        max-width: 500px;

        margin: 30px auto 0;
    }

}


@media (max-width: 576px) {

    .service-card {
        padding: 22px;

        border-radius: 20px;
    }


    .service-header h3 {
        font-size: 22px;
    }


    .schedule-item {
        grid-template-columns: 40px 1fr;

        padding: 8px 0;
    }


    .schedule-time {
        grid-column: 2;

        text-align: left;
    }


    .countdown-item strong {
        font-size: 30px;
    }

}

/* =====================================================
   FIX CARD JAM PELAYANAN
===================================================== */

.service-card {
    width: 100% !important;
    max-width: 390px !important;

    padding: 24px !important;

    background: rgba(255, 255, 255, 0.96) !important;

    border-radius: 24px !important;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18) !important;

    box-sizing: border-box !important;

    color: #333 !important;

    overflow: visible !important;
}


/* HEADER */

.service-header {
    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    margin-bottom: 20px !important;
}

.service-icon {
    width: 40px !important;
    height: 40px !important;

    min-width: 40px !important;

    border-radius: 50% !important;

    background: #e6f5ed !important;

    color: #198754 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 18px !important;
}

.service-header h3 {
    margin: 0 !important;

    font-size: 20px !important;

    line-height: 1.2 !important;

    font-weight: 700 !important;

    color: #333 !important;
}


/* JADWAL */

.service-schedule {
    display: flex !important;

    flex-direction: column !important;

    gap: 12px !important;

    padding-bottom: 20px !important;

    border-bottom: 1px solid #e8e8e8 !important;
}

.schedule-item {
    display: grid !important;

    grid-template-columns: 32px 1fr !important;

    column-gap: 10px !important;

    align-items: center !important;
}

.schedule-icon {
    width: 32px !important;
    height: 32px !important;

    border-radius: 50% !important;

    background: #e7f5ed !important;

    color: #198754 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 13px !important;
}

.schedule-day {
    font-size: 14px !important;

    line-height: 1.3 !important;

    font-weight: 700 !important;

    color: #444 !important;
}

.schedule-time {
    grid-column: 2 !important;

    font-size: 13px !important;

    line-height: 1.3 !important;

    color: #777 !important;

    margin-top: 1px !important;
}


/* STATUS */

.service-status {
    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    margin-top: 18px !important;

    margin-bottom: 15px !important;
}

.status-left {
    display: flex !important;

    align-items: center !important;

    gap: 7px !important;

    font-size: 13px !important;

    font-weight: 600 !important;
}

.status-left i {
    color: #198754 !important;

    font-size: 10px !important;
}

.status-badge {
    padding: 5px 11px !important;

    border-radius: 20px !important;

    background: #e4f6ed !important;

    color: #198754 !important;

    font-size: 12px !important;

    font-weight: 600 !important;
}


/* COUNTDOWN */

.countdown {
    display: grid !important;

    grid-template-columns: 1fr auto 1fr auto 1fr !important;

    align-items: center !important;

    text-align: center !important;

    margin: 8px 0 18px !important;
}

.countdown-item {
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;
}

.countdown-item strong {
    font-size: 28px !important;

    line-height: 1 !important;

    font-weight: 700 !important;

    color: #198754 !important;
}

.countdown-item span {
    margin-top: 5px !important;

    font-size: 11px !important;

    color: #777 !important;
}

.countdown-divider {
    width: 1px !important;

    height: 30px !important;

    background: #e5e5e5 !important;
}


/* PESAN */

.service-message {
    text-align: center !important;

    font-size: 13px !important;

    color: #555 !important;

    padding-top: 0 !important;
}


/* =========================================
   POSISI CARD DI HERO
========================================= */

.hero-text-container .col-lg-5 {
    display: flex !important;

    justify-content: flex-end !important;

    align-items: center !important;
}


/* =========================================
   LAPTOP / DESKTOP
========================================= */

@media (min-width: 992px) {

    .service-card {
        max-width: 390px !important;

        margin-right: 10px !important;
    }

}


/* =========================================
   TABLET / HP
========================================= */

@media (max-width: 991px) {

    .hero-modern {
        height: auto !important;
        min-height: auto !important;
        padding-top: 22px !important;
        padding-bottom: 24px !important;
        overflow: hidden !important;
    }

    .hero-modern #heroCarousel,
    .hero-modern .carousel-inner,
    .hero-modern .carousel-item,
    .hero-modern .hero-bg,
    .hero-modern .hero-overlay {
        height: 100% !important;
        min-height: 100% !important;
    }

    .hero-text-container {
        height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-modern .hero-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }

    .hero-modern .hero-subtitle {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        margin-bottom: 12px !important;
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .service-card {
        margin: 0 auto !important;
    }

}

.pdf-wrapper {
    width: 100%;
    margin-top: 25px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pdf-viewer {
    width: 100%;
    height: 900px;
    border: none;
    display: block;
}

.pdf-empty {
    padding: 60px 20px;
    text-align: center;
    color: #777;
}

/* =========================================
   JADWAL UGD - BAGIAN BAWAH CARD
========================================= */

.service-status-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 4px 2px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.service-status-message i {
    font-size: 17px;
    color: #3f7f68;
    flex-shrink: 0;
}

.service-status-message strong {
    font-weight: 600;
}

/* =========================================
   JADWAL UGD - BAGIAN BAWAH CARD
========================================= */

.service-status-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 4px 2px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.service-status-message i {
    font-size: 17px;
    color: #3f7f68;
    flex-shrink: 0;
}

.service-status-message strong {
    font-weight: 600;
}

/* ================================
   FOTO DOKTER
================================ */

.doctor-photo {
    width: 100%;
    height: 245px;
    overflow: hidden;
    border-radius: 0 !important;
    background: #eef7f4;
    padding: 0 !important;
    margin: 0 !important;
}

.doctor-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    display: block;
    margin: 0 !important;
    background: #eef7f4;
}

/* =========================================
   RGD & BERSALIN
========================================= */

.rgd-info {
    margin-top: 16px;
    padding: 12px 16px;

    background: #f1f8f5;
    border: 1px solid #dceee6;
    border-radius: 14px;

    text-align: center;
}

.rgd-content h4 {
    margin: 0;

    color: #263f39;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.35;
}

.rgd-content span {
    display: block;

    margin-top: 5px;

    color: #198754;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    text-align: center;
}