/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
   background-color: #009788; /* Hijau tua */
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}
  /* Header background */

/* Logo + Nama RS */
header .web-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff;
}

/* Link menu utama */
header .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

/* Hover efek */
header .nav-link:hover {
    background-color: #2d6a4f;
    color: #ffffff !important;
}

/* Menu aktif (misalnya dikasih class 'active') */
header .nav-link.active {
    background-color: #40916c;
    color: #ffffff !important;
    font-weight: 600;
}

/* Offcanvas body background (optional agar menyatu saat mobile) */
.offcanvas {
    background-color: #1b4332;
}

/* Warna teks di offcanvas */
.offcanvas .nav-link {
    color: #ffffff !important;
}

/* Hover dan aktif di offcanvas */
.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
    background-color: #2d6a4f;
    color: #ffffff !important;
}

/* BODY */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #eef8f3;
}

/* MAIN */
main {
    flex: 1;
}

/* HERO */
.hero-section {
    background-image: url('../../assets/img/_component/hero_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efek parallax */
    min-height: 70vh;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Barcumb */
.breadcrumb-section {
    background-color: #227c6a; /* Hijau tua */
    padding: 1rem 0;
}

.breadcrumb-section .breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-section .breadcrumb-item,
.breadcrumb-section .breadcrumb-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-section .breadcrumb-item a:hover {
    text-decoration: underline;
    color: #d4f8e8; /* Warna hover terang */
}

.breadcrumb-section .breadcrumb-item.active {
    color: #a0d9c3;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: #030303; /* Warna ikon, bisa disesuaikan */
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-social:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background-color: #0d6efd;
    color: #fff;
}

/* CROUSEL */

/* General Carousel Styling */
.carousel {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Image Styling */
.carousel-item {
  height: 80vh;
  transition: transform 0.6s ease-in-out;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1) saturate(1.1);
}

/* Individual Image Adjustments */
.carousel-item img {
  filter: brightness(0.5) contrast(1.2);
}

/* Navigation Controls */

/* Tombol Navigasi Putih Murni */
.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-size: 100%, 100%;
  background-color: white !important; /* Putih murni */
  border-radius: 50%;
  padding: 20px;
  filter: none !important; /* Menghilangkan semua filter */
  box-shadow: 0 0 10px rgba(0,0,0,0.3); /* Bayangan untuk kontras */
  border: 2px solid white; /* Garis putih tambahan */
}

/* Versi lebih putih saat hover */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: white !important;
  box-shadow: 0 0 15px rgba(255,255,255,0.5);
  transform: scale(1.1);
}

/* Ikon panah - pastikan putih murni */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/* Caption Styling */
.carousel-caption {
  bottom: 30%;
  left: 10%;
  right: 10%;
  text-align: center;
  padding: 2rem;
  /* background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%); */
  border-radius: 10px;
  /* backdrop-filter: blur(2px); */
  transition: all 0.5s ease;
}

.carousel-caption h5 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.carousel-caption p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Indicators */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border: none;
}

.carousel-indicators .active {
  background-color: #fff;
  transform: scale(1.2);
}


/* FOTO DIREKTUR */
.foto-wrapper {
    position: relative;
    aspect-ratio: 1 / 1; /* agar tetap lingkaran sempurna */
    border-radius: 50%; /* bentuk lingkaran */
    overflow: hidden;
}

.foto_direktur {
    transition: transform 0.3s ease;
    object-fit: cover; /* biar tetap penuh */
    height: 100%;
    width: 100%;
}

.foto-wrapper:hover .foto_direktur {
    transform: scale(1.1); /* zoom in */
}

/* Titla Segment */
.title_segment {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.title_segment.show {
    opacity: 1;
    transform: translateY(0);
}
.title_segment_dark {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.title_segment_dark.show {
    opacity: 1;
    transform: translateY(0);
}
/* Untuk judul "Info Grafis" */
.title_segment {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Bayangan teks untuk kontras */
}
.title_segment_dark {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Bayangan teks untuk kontras */
}

/* Service Segment */
.service_segment {
    color: #ffffff;
    text-shadow: 
        1px 1px 2px rgba(0,0,0,0.3),
        0 0 5px rgba(40,167,69,0.5); /* Shadow hijau untuk efek glow */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.service_segment.show {
    opacity: 1;
    transform: translateY(0);
}

/* Image Square */
.img-square-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 rasio */
    overflow: hidden;
}

.img-square-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Archivment */
.achievement-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px; /* atur tinggi seragam */
}

.achievement-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* overlay hitam transparan */
.achievement-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    transition: background-color 0.5s ease;
    z-index: 1;
}

.achievement-item:hover img {
    transform: scale(1.05); /* efek zoom in */
    filter: brightness(100%);
}

.achievement-item:hover .achievement-overlay {
    background-color: rgba(0,0,0,0.3);
}

/* Section Infografis */
.section.infografis {
    position: relative;
    padding: 80px 0;
    color: #fff; /* Warna teks putih */
    overflow: hidden;
}

.info_grafis_bg_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.info_grafis_bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1); /* Pastikan gambar tetap terang */
}
.section.infografis::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ubah angka terakhir (0.5) untuk mengatur kegelapan */
    z-index: -1;
}
/* Card Infografis */
.info_grafis {
    background: rgba(148, 145, 145, 0.6); /* Latar card gelap untuk kontras */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.info_grafis:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
}

/* Ganti atau tambahkan ini di CSS Anda */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Bentuk lingkaran */
    background: #28a745; /* Warna hijau (sesuai tema) */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Warna icon putih */
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Efek hover (opsional) */
.icon-circle:hover {
    background: #218838; /* Warna hijau lebih gelap */
    transform: scale(1.1);
}


/* Card Style */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.img-square-wrapper:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 1.25rem;
    text-align: center;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.card-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.card .btn {
    background-color: #007bff;
    border: none;
    width: 100%;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
    border-radius: 8px;
}

.card .btn:hover {
    background-color: #0056b3;
}

/* SWIPER */
.mySwiper {
position: relative;
  padding-bottom: 40px; /* beri ruang untuk pagination agar tidak menimpa konten */
  cursor: grab;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  display: flex;
  height: auto;
}

.doctor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* SWIPER PAGINATION */
.swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000000;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #3de765; /* Warna hijau sesuai tema */
}

.swiper-button-prev,
.swiper-button-next {
    color: #000; /* Warna panah */
    background-color: rgba(255, 255, 255, 0.7); /* Latar belakang */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    top: 30%; /* Posisikan di 50% dari tinggi parent */
    transform: translateY(-50%); /* Geser ke atas sebanyak 50% tinggi sendiri */
    margin-top: 0; /* Hapus margin default */
}
/* Opsional: Adjust jarak dari tepi */
.swiper-button-prev {
    left: 10px; /* Jarak dari kiri */
}
.swiper-button-next {
    right: 10px; /* Jarak dari kanan */
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(9, 255, 0, 0.8);
    color: #fff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px; /* Ukuran ikon panah */
    font-weight: bold;
}

/* Zoom efek ketika hover pada card dokter */
.doctor-card:hover {
  transform: translateY(-5px); /* sedikit naik saat hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Zoom-in hanya pada gambar */
.doctor-card:hover .card-img-top {
  transform: scale(1.05);
}

/* Pastikan gambar bisa di-transform */
.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

/* ROOM LIST */
.room-card {
    border: 2px solid #28a745; /* Warna hijau */
    border-radius: 12px;
    padding: 20px;
    background-color: #fff;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s;
    height: 100%;
}

.room-card:hover {
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.room-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #28a745; /* Hijau */
    color: white; /* Icon putih */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 15px;
}

.class-room-name {
    color: #28a745; /* Hijau */
    background-color: #fff;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.room-detail {
    display: inline-block;
    padding: 8px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 50px; /* Round */
    font-weight: 500;
    transition: background-color 0.3s;
}

.room-detail:hover {
    background-color: #218838;
    color: #fff;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  height: auto;
}

.room-card {
    width: 100%;
    max-width: 100%; /* Ubah dari 260px */
    margin: 0 0; /* Hilangkan margin auto */
    flex-grow: 1;
}
.room-pagination{
    text-align: center;
}
.room-swiper{
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
}
/* PARTNER SWIPER */
/* Partner Swiper Container */
.partnerSwiper {
    padding-bottom: 30px;
    cursor: grab;
}

/* Partner Image Style */
.image_partnership {
    max-width: 80%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    padding: 10px;
}

.image_partnership:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Partner Pagination Specific Style */
.partner-pagination {
    position: relative;
    bottom: 0;
    margin-top: 15px;
}

.partner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #034C53;
    opacity: 0.5;
}

.partner-pagination .swiper-pagination-bullet-active {
    background: #3de765;
    opacity: 1;
    width: 12px;
    border-radius: 6px;
}

/* GAWAT DARURAT */
/* Gawat Darurat Section */
.gawat_darurat {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.gawat_darurat_bg_wrapper {
    top: 0;
    left: 0;
    z-index: 0;
}

.gawat_darurat_bg {
    object-position: center right;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
               rgba(0,0,0,0) 0%,          /* Kiri: transparan (terang) */
               rgba(0,0,0,0.3) 30%, 
               rgba(0,0,0,0.7) 70%, 
               rgba(0,0,0,0.85) 100%);    /* Kanan: sangat gelap */
}

.title_gawat_darurat {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.contact-info {
    padding: 10px 15px;
    display: inline-block;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.contact-info i {
    margin-right: 10px;
    color: #ff6b6b; /* Warna aksen untuk ikon */
}

/* Responsive */
@media (max-width: 768px) {
    .title_gawat_darurat {
        font-size: 2.5rem;
    }
    
    .contact-info {
        font-size: 1.5rem !important;
    }
    
    .gawat_darurat {
        min-height: 300px;
    }
    
    .gradient-overlay {
        background: linear-gradient(90deg, 
                   rgba(0,0,0,0.9) 0%, 
                   rgba(0,0,0,0.7) 50%, 
                   rgba(0,0,0,0.3) 100%);
    }
}

/* Frame Youtube */

iframe {
    border-radius: 12px;
}

/* FOOTER CONTENT */
/* Footer styling */
.footer {
    background-color: #009788;
    color: #ffffff;
}

/* Link eksternal di footer */
.footer-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
    color: #95d5b2;
}
/* Kontak Info */
.contact-info i {
    color: #95d5b2;
    font-size: 1.1rem;
}

.contact-info span {
    font-size: 0.9rem;
}

/* Media Sosial dengan Lingkaran */
.social-media {
    display: flex;
    gap: 15px;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #95d5b2;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: #95d5b2;
    color: #034C53;
    transform: translateY(-3px);
}

.social-circle i {
    font-size: 1.2rem;
}

/* Ikon media sosial */
.social-icon {
    font-size: 1.5rem;
    color: #ffffff;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #95d5b2;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* Warna background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

/* Animasi tambahan (opsional) */
.spinner-border {
    width: 3rem;
    height: 3rem;
}


/* CSS untuk Section Service */
.section.service {
    position: relative;
    padding: 80px 0;
    color: #333;
    overflow: hidden;
   
}

.service_bg_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.service_bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
}

.section.service::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.service_item {
    background: rgba(255, 255, 255, 0.6); /* Putih dengan 90% opacity */
    border: 2px solid #28a745; /* Garis hijau */
    transition: all 0.3s ease;
    min-height: 100px;
}


.service_item h6 {
    color: #0e0e0e;
    font-weight: 600;
}

.service_item a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.show_transisi {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

.show_transisi.muncul {
    opacity: 1;
    transform: scale(1);
}

/* BACK TO TOP */
#backToTopBtn {
    background-color: #007074;
    color: white;
    border: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 112, 116, 0.3);
    transition: all 0.3s ease;
    z-index: 99;
}

#backToTopBtn:hover {
    background-color: #008c91;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 112, 116, 0.4);
}

#backToTopBtn:active {
    transform: translateY(-1px) scale(0.98);
}


/* BUTTON SELENGKAPNYA */
.baca_selengkapnya {
  color: #000; /* Tulisan hitam */
  background-color: transparent; /* Background transparan */
  border: 2px solid #000; /* Garis pinggir hitam */
  padding: 8px 20px;
  border-radius: 60px; /* Biar agak membulat */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Efek saat hover */
.baca_selengkapnya:hover {
  background-color: #000; /* Hitam saat hover */
  color: #fff; /* Tulisan jadi putih saat hover */
}
.baca_selengkapnya_green {
  color: #ffffff; /* Tulisan hitam */
  background-color: #01b637; /* Background transparan */
  border: 2px solid #01b637; /* Garis pinggir hitam */
  padding: 10px 22px;
  border-radius: 60px; /* Biar agak membulat */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Efek saat hover */
.baca_selengkapnya_green:hover {
  background-color: #ffffff; /* Hitam saat hover */
  color: #01b637; /* Tulisan jadi putih saat hover */
}
/* PENDAFTARAN ANTRIAN */
/* Gradient background section */
.pendaftaran_antrian {
    background: white;
    padding: 60px 0;
}

/* Tombol Daftar */
.btn-daftar {
    display: inline-block;
    padding: 12px 24px;
    background-color: #28a745;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}
.btn-daftar:hover {
    background-color: #218838;
    color: #fff;
}

/* Tombol Download JKN Mobile */
.btn-jkn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #28a745;
    color: #28a745;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: transparent;
}
.btn-jkn:hover {
    background-color: #28a745;
    color: #fff;
}

/* Tombol Hero */
.hero-jkn {
    display: inline-block;
    padding: 12px 24px;
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #28a745;
}
.hero-jkn:hover {
    background-color: #51d46f;
    color: #fff;
}

/* Responsive spacing */
@media (max-width: 767.98px) {
    .pendaftaran_antrian .btn-daftar,
    .pendaftaran_antrian .btn-jkn {
        width: 100%;
    }
}

/* PAGE NOT FOUND */
/* Background dan Layout */
.page_not_found_bg {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 50px 15px;
}

/* Judul utama */
.page_not_found_title {
    font-size: 6rem;
    font-weight: bold;
    color: #00796b;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

/* Subtitle */
.page_not_found_subtitle {
    display: block;
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 15px;
}

/* Deskripsi */
.page_not_found_description {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Tombol kembali */
.page_not_found_back_button {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #00796b;
    color: #00796b;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.page_not_found_back_button:hover {
    background-color: #00796b;
    color: #fff;
}

/* Animasi masuk */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .page_not_found_title {
        font-size: 4rem;
    }
    .page_not_found_description {
        font-size: 0.95rem;
    }
}

/* STRUKTUR ORGANISASI */
#struktur_organisasi_wrapper {
    background: linear-gradient(to bottom, #e0f7e9, #ffffff);
    border: 2px dashed #000000;
    padding: 20px;
    border-radius: 10px;
}

.orgchart .node {
    border: 2px solid #000 !important;
    background-color: #fff !important;
    border-radius: 8px;
    padding: 10px !important;
    text-align: center;
}

.orgchart .node img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
}

.orgchart .node .title {
    font-weight: bold;
    color: #333;
}

.orgchart .node .content {
    font-size: 13px;
    color: #555;
}

.orgchart .lines {
    stroke: #020202 !important;
}

.orgchart {
    zoom: 1 !important;
    touch-action: auto !important;
}

.orgchart-container {
    overflow: auto !important;
}

/* Sembunyikan widget_blog di layar kecil */
@media (max-width: 767.98px) {
    #widget_blog {
        display: none;
    }
    #toggle_widget_blog_btn {
        display: block;
    }
}

/* Tombol toggle disembunyikan di desktop */
@media (min-width: 768px) {
    #toggle_widget_blog_btn {
        display: none;
    }
}

    /* Pagging Button */
    .pagging .btn {
        font-weight: bold;
        border-radius: 8px !important;
        transition: all 0.3s ease-in-out;
        padding: 8px 16px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .pagging .btn-primary {
        background: linear-gradient(45deg, #1e90ff, #00bfff);
        border: none;
        color: white;
    }

    .pagging .btn-primary:hover {
        background: linear-gradient(45deg, #0066cc, #0099cc);
        transform: scale(1.05);
    }

    .pagging .btn-outline-primary {
        border: none;
        background-color: #f5faff;
        color: #1e90ff;
        cursor: default;
    }

    .pagging .btn-outline-primary:disabled {
        opacity: 1;
    }

    .pagging .btn:disabled {
        cursor: not-allowed;
        filter: grayscale(50%);
        opacity: 0.6;
    }

    /* Responsif */
    @media (max-width: 576px) {
        .pagging .btn {
            padding: 6px 10px;
            font-size: 13px;
        }
    }

    /* Form Pencarian */
    .input-group.search {
        border: 2px solid #007bff;
        border-radius: 10px;
        overflow: hidden;
        background-color: #ffffff;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    }

    .input-group.search:focus-within {
        border-color: #0056b3;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
    }

    .input-group.search .form-control {
        border: none;
        padding: 14px 16px;
        font-size: 16px;
        background-color: transparent;
        outline: none;
        box-shadow: none;
    }

    .input-group.search .form-control::placeholder {
        color: #aaa;
        font-style: italic;
    }

    .input-group.search .btn {
        background-color: #007bff;
        color: #fff;
        border: none;
        padding: 0 20px;
        transition: background-color 0.3s ease;
    }

    .input-group.search .btn:hover {
        background-color: #0056b3;
    }

    @media (max-width: 576px) {
        .input-group.search .form-control {
            font-size: 14px;
            padding: 12px;
        }

        .input-group.search .btn {
            padding: 0 14px;
        }
    }


    /* BADGE */
    /* Style untuk container tags */
.d-flex.flex-wrap.gap-2 {
    gap: 0.75rem !important;
}

/* Base style untuk badge tag */
.badge {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.5rem 1rem !important;
    border-radius: 50px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: none;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

/* Style untuk badge tag biasa */
.bg-primary {
    background: linear-gradient(135deg, #6a8cff 0%, #4d6df1 100%) !important;
    color: white !important;
}

/* Style untuk badge tag aktif */
.bg-dark {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%) !important;
    color: white !important;
}

/* Style untuk badge jumlah */
.badge .badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem !important;
    border-radius: 50px !important;
    font-weight: 600;
    margin-left: 0.35rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2d3748 !important;
}

/* Hover effect */
.badge:not(.bg-dark):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0.9;
}

/* Style khusus untuk tombol "Semua" */
a[href="Blog"].badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .badge {
        font-size: 0.8rem;
        padding: 0.45rem 0.9rem !important;
    }
}

.tombol_berlangganan {
    font-weight: 600;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.tombol_berlangganan:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 128, 0, 0.3);
}

#ProsesBerlangganan input {
    border-radius: 10px;
    padding: 10px;
}

#ProsesBerlangganan input:focus {
    border-color: #198754;
    box-shadow: 0 0 6px rgba(25, 135, 84, 0.3);
}