:root{
	--red:#c91f1f;
	--dark-red:#b21616;
	--banner-red:#b71c1c;
	--banner-blue:#0f4fa8;

    --navy:      #0a1628;
    --navy-mid:  #132040;
    --primary:   #1a4fad;
    --primary-lt:#2563eb;
    --accent:    #f59e0b;
    --accent-lt: #fbbf24;
    --danger:    #dc2626;
    --success:   #16a34a;
    --bg:        #f1f5f9;
    --surface:   #ffffff;
    --surface-2: #f8fafc;
    --text:      #0f172a;
    --muted:     #64748b;
    --border:    #e2e8f0;
    --radius-sm: 8px;
    --radius:    0.50rem;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:    0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

p{
    font-size: 12px;
}
body { 
	font-family: 'Plus Jakarta Sans', sans-serif; 
	background:#f6f6f6; 
}
.navbar-custom {
  background-color: #fff; /* atau warna sesuai tema kamu */
  transition: all 0.3s ease-in-out;
  z-index: 1030; /* Pastikan selalu di atas */
}

/* Efek hover pada link */
.navbar-custom .nav-link {
  font-weight: 500;
  color: #333;
  position: relative;
}

.navbar-custom .nav-link:hover {
  color: #007bff;
}

.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #007bff;
  transition: 0.3s;
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

.navbar {
	background-color: #007bff; 
}

.navbar-nav .nav-link {
	color: white !important;
	font-weight: 500;
	position: relative;
	padding-bottom: 5px;
}

/* garis bawah animasi saat hover */
.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background-color: #11d4f1; 
	transition: width 0.3s ease-in-out;
}

.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-link.active {
  color: #f3da00 !important; /* Ubah warna jadi biru */
  font-weight: 600; /* Tebalkan tulisan */
}

.navbar-nav .nav-link:hover {
	color: #11d4f1 !important;
}

.dropdown-toggle::after {
	display: none; 
}

.nav-item i {
	margin-left: 5px;
	font-size: 14px;
}

.nav-item a {
	margin-left: 5px;
	font-size: 14px;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, .7);
    z-index: 9000;
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.berita-modal {
  z-index: 2000 !important;
}

.modal-backdrop {
  z-index: 1999 !important;
  background: rgba(0, 0, 0, 0.7);
}

/* ==== ANIMASI & STYLE UMUM UNTUK SEMUA MODAL ==== */
.modal-content {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    border: none;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease-in-out;
    position: relative;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Judul Modal */
.title_model_hd_page {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 12px 15px;
    /* border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px); */
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    margin: -1px -1px 15px -1px;
    background: linear-gradient(135deg, #0d6efd, #17a2b8);
    box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.3);
}

.title_model_hd_page i {
    margin-right: 8px;
}

/* Body Modal */
.modal-body {
    padding: 20px 25px;
    max-height: 70vh;
    overflow-y: auto;
    color: #333;
}

.modal-body h5 {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #333;
    border-left: 4px solid #0d6efd;
    padding-left: 8px;
    font-size: 1.1rem;
}

/* List Style */
.modal-body ol {
    /* margin-left: 25px; */
    margin-bottom: 15px;
}

.modal-body ol li {
    padding: 4px 0;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.modal-body ol li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #0d6efd;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Footer */
.modal-footer {
    border-top: none;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
}

.modal-footer .btn {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    font-weight: bold;
    padding: 8px 20px;
    transition: all 0.3s ease-in-out;
}

/* Button Styles */
.modal-footer .btn-primary {
    background: linear-gradient(135deg, #0d6efd, #007bff);
    border: none;
}
.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: scale(1.05);
}

.modal-footer .btn-danger {
    background-color: #dc3545;
    border: none;
}
.modal-footer .btn-danger:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

.modal-footer .btn-success {
    background: linear-gradient(135deg, #198754, #28a745);
    border: none;
}
.modal-footer .btn-success:hover {
    background: linear-gradient(135deg, #157347, #1e7e34);
    transform: scale(1.05);
}

/* Input Field Styling */
.nisn-input {
    width: 100%;
    padding: 10px 15px;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    border: 1px solid #ced4da;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

.nisn-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
}

.tag_title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* Alert Style */
.modal-body .alert {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    background: #e8f6f9;
}

/* Scrollbar Custom */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
}
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Ikon Animasi (Opsional untuk Modal Input) */
.warning-icon {
    position: absolute;
    top: 8px;
  	right: 1%;
    transform: translateX(-50%);
    background: #dc3545;
    color: #fff;
    font-size: 28px;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}
/* end modal */

/* Tombol utama */
.card-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 25px 15px;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Ikon */
.card-button .icon {
    font-size: 2rem;
    transition: transform 0.3s ease-in-out;
}

/* Efek hover: membesar sedikit + bayangan + ikon bergerak */
.card-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.card-button:hover .icon {
    transform: translateY(-3px) scale(1.1);
}

/* Efek klik */
.card-button:active {
    transform: scale(0.97);
}

/* Efek "glow" */
.bg-primary.card-button:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.7);
}

.bg-danger.card-button:hover {
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.7);
}

.bg-warning.card-button:hover {
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.7);
}

/* Animasi masuk */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s forwards ease-in-out;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
  max-width: 1320px !important;
}

.bg-content {
	background-color: #fff;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-bottom: 30px;
	box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2);
    border-radius: 0.50rem 0.50rem .50rem .50rem !important;
}
.btn-head {
	background-color: #ffffff00;
	color: #fff;
	border: 1px solid #fff;
}
.text-white {
  color: #fff;
}
.fa-shopping-cart{
	font-size: 20px;
}
.texh-cart{
	position: relative;
	font-size: 12px;
	top: -37px;
	left: 11px;
	color: #c91f1f;
	background-color: #fff;
	padding: 0 2px;
  	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	border: 2px solid #c91f1f;
}

/* Banner area */
.promo-title {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    text-shadow: 
        3px 3px 8px rgba(0, 0, 0, 0.8),
        0px 0px 12px rgba(0, 123, 255, 0.7);
}

.promo-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.7),
        0px 0px 8px rgba(255, 193, 7, 0.8);
}

.promo-desc {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-shadow: 
        1px 1px 5px rgba(0, 0, 0, 0.6),
        0px 0px 6px rgba(40, 167, 69, 0.7);
}

/* ========================== */
/* ANIMASI GLOW BERDENYUT */
/* ========================== */
@keyframes glowPulseBlue {
    0% { text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0px 0px 6px rgba(0, 123, 255, 0.4); }
    50% { text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0px 0px 20px rgba(0, 123, 255, 1); }
    100% { text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0px 0px 6px rgba(0, 123, 255, 0.4); }
}

@keyframes glowPulseYellow {
    0% { text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0px 0px 4px rgba(255, 193, 7, 0.5); }
    50% { text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0px 0px 15px rgba(255, 193, 7, 1); }
    100% { text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0px 0px 4px rgba(255, 193, 7, 0.5); }
}

@keyframes glowPulseGreen {
    0% { text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6), 0px 0px 4px rgba(40, 167, 69, 0.5); }
    50% { text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6), 0px 0px 14px rgba(40, 167, 69, 1); }
    100% { text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6), 0px 0px 4px rgba(40, 167, 69, 0.5); }
}

/* Terapkan animasi */
.glow-pulse {
    animation: glowPulseBlue 2s infinite ease-in-out;
}
.glow-pulse-yellow {
    animation: glowPulseYellow 2s infinite ease-in-out;
}
.glow-pulse-green {
    animation: glowPulseGreen 2s infinite ease-in-out;
}

.hero {
	background: transparent;
	padding-bottom: 10px ;
    padding-top: 30px;
}
.promo-card {
	background: #ffffff;
    border-radius: .50rem .50rem .50rem .50rem !important;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.promo-inner {
	position: relative;
	display: flex;
	align-items: center;
}

/* Left slider area */
/* Hero Slide Images */
.hero-slide-images {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 8s ease;
  transform: scale(1.05);
}

.hero-slide-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Overlay gelap di atas gambar agar teks tetap terbaca */
.hero-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.20) 100%
  );
}

/* Pastikan konten hero berada di atas overlay */
.hero-bg-grid,
.hero-blob,
.hero-slide,
.hero-visual,
.hero-dots {
  position: relative;
  z-index: 2;
}
.no_pad{
	padding-left: 0;
	padding-right: 0;
}
.full_no_pad{
	padding: 0;
}

/* Animasi kedip cursor */
@keyframes blink {
	0% { border-color: transparent; }
	50% { border-color: black; }
	100% { border-color: transparent; }
}
.typing {
	border-right: 2px solid black;
	animation: blink 0.7s infinite;
	padding-left: 10px;
}

/* circular badge */
.badge-disc {
	position: absolute;
	left: 22px;
	top: 28px;
	width: 90px;
	height: 90px;
	background: linear-gradient(135deg,#003268,#007bff);
	border-radius: 50%;
	color: #fff;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	text-align:center;
	box-shadow: 0 6px 12px rgba(0,0,0,0.18);
	font-weight:700;
}
.badge-disc img {
	width: 55px;
  	margin-top: 10px;}
.badge-disc small { display:block; font-size:12px; opacity:.9; }
.badge-disc .big { font-size:28px; line-height:1; }

/* slider arrows */
.slide-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width:42px;
	height:42px;
	border-radius:50%;
	background:rgba(0,0,0,0.35);
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
}
.slide-arrow.left { left:8px; }
.slide-arrow.right { right:8px; }

/* Right promo panel */
.promo-panel {
	width: 32%;
	min-height: 420px;
	padding: 18px;
	display:flex;
	align-items:center;
	justify-content:center;
	/* background: linear-gradient(135deg, #578642 0%, #375827 100%); */
	background-image: url('/image/bg_biru.jpg');
	color:#fff;
	text-align:center;
	position:relative;
  border-radius: 0 .50rem .50rem 0 !important;
}
.promo-panel h3 {
	font-size:28px;
	margin-bottom:6px;
	font-weight:800;
	letter-spacing: .4px;
}
.promo-panel p { margin:0; font-size:18px; opacity:.95; }

/* Animasi fade-in */
	.fade-in {
		opacity: 0;
		transform: translateY(20px);
		animation: fadeIn 0.8s ease-out forwards;
	}
	@keyframes fadeIn {
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

/* STATISTIK CARD */
    .stats-card {
      	display: flex;
		align-items: center;
		background: #fff;
		border-radius: .50rem !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		padding: 15px;
		/* margin-bottom: 15px; */
		transition: transform 0.3s ease;
    }
    .stats-card:hover {
      	transform: scale(1.05);
    }
    .stats-card i {
      font-size: 2rem;
      /* margin-bottom: 15px; */
    }

/* bottom contact strip inside banner */
.banner-contacts {
	background: rgba(0,0,0,0.06);
	padding: 10px 14px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
	font-size:14px;
}
.contact-left { display:flex; gap:18px; align-items:center; }
.contact-item { display:flex; align-items:center; gap:8px; color:#fff; }
.contact-item i { font-size:18px; }

.input-group-append {
	background-color: #fff;
	border-top-right-radius: 5px;
  	border-bottom-right-radius: 5px;
	height: 35px;
  	margin-top: 2px;
}

.container_body.footer{
    border-top: 1px solid #E6E7E8;
    background-color: #E6E7E8;
    padding: 0px;
}

.footer .bg_footer_cop{
    background-color: #0a1628;
    padding: 10px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
}

/* berita */
.news-container {
	box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
	background: white;
	overflow: hidden;
	border-radius: 0.50rem;
    /* border: 1px solid rgba(0, 0, 0, 0.19); */
}
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0ba000;
    font-size: 14px;
    color: white;
    padding: 10px 15px;
    font-weight: 600;
    /* margin-bottom: 15px; */
    border-radius: .50rem .50rem 0 0 !important;
}

.news-header i {
    margin-right: 5px;
}

.news-header .news-link {
    color: white;
    text-decoration: none;
    /* font-weight: 600; */
}

.news-header .news-link:hover {
    text-decoration: underline;
}
.news-card {
	display: flex;
	margin-bottom: 15px;
	border: 1px solid #eee;
	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	overflow: hidden;
	background: white;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.news-card img {
	width: 150px;
	object-fit: cover;
}
.news-card .news-content {
	padding: 10px;
}
.news-main{
	padding: 10px 10px 10px 25px;
	background-color: #fff;
	box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2);
	/* border: 1px solid rgba(0,0,0,0.2); */
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.news-main a {
	text-decoration: none;
	color: #212529;
}
.news-main img {
	width: 100%;
	height: 167px;
	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	object-fit: cover;
}
.news-title {
	font-weight: bold;
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.news-meta {
	font-size: 12px;
	color: #666;
	margin-bottom: 8px;
}
.news-content-left{
	/* background-color: #f3f3f3; */
	/* box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2); */
	/* border: 1px solid rgba(0,0,0,0.2); */
	padding: 0 10px 0 0;
	border-radius: 0.50rem;
}
.news-content-right{
	/* background-color: #f3f3f3; */
	/* box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2); */
	/* border: 1px solid rgba(0,0,0,0.2); */
	padding : 0 0 0 10px;
	border-radius: 0.50rem;
}
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efek hover item */
.hover-item {
  transition: all 0.3s ease;
  cursor: pointer;
}
.hover-item:hover {
  background-color: #f6fff6;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 128, 0, 0.15);
  border-left: 4px solid #28a745;
}

/* Card header agar lebih menonjol */
.card {
    border-radius: 0.50rem !important;
}
.card-header {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: .50rem .50rem 0 0 !important;
}

.card-header a {
    font-size: 14px;
    font-weight: 600;
}

/* Gambar agar rapi */
.list-group-item img {
  object-fit: cover;
  width: 100px;
  height: 66px;
  border-radius: 6px;
}

.galeri-container {
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
  background: white;
  overflow: hidden;
  border-radius: 0.50rem;
}

.galeri-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  background: #0ba000;
  color: #000;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: .50rem .50rem 0 0 !important;
}

.galeri-header a {
  color: #000;
  text-decoration: none;
  /* font-weight: bold; */
}

.galeri-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 170px;
  background: #fff;
  padding-top: 10px;
}

.galeri-track {
  display: flex;
  gap: 15px;
  animation: scroll-left 25s linear infinite;
}

.galeri-slider:hover .galeri-track {
  animation-play-state: paused; /* ✅ berhenti saat hover */
}

.galeri-track img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.galeri-track img:hover {
  transform: scale(1.05); /* ✅ efek zoom kecil saat gambar dihover */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.list-group-item {
  position: relative;
  display: block;
  padding: 10px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.125);
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(0, 0, 0, 0.125);
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}
.news-sidebar{
	padding: 0;
	background-color: #f3f3f3;
	/* box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2); */
	border-left: 1px solid rgba(0,0,0,0.2);
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.news-sidebar img {
	width: 100px;
	height: 70px;
	object-fit: cover;
	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	margin-right: 10px;
}
.news-item {
	display: flex;
	/* margin-bottom: 15px; */
}
.news-item h6 {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}
.news-item .news-meta {
	font-size: 0.75rem;
	margin-top: 3px;
}
.news-section h3 {
	border-bottom: 3px solid #ddd;
	padding-bottom: 5px;
	margin-bottom: 20px;
	font-weight: bold;
}
.rounded {
  border-radius: .50rem !important;
}
.list-group-items {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,.125) !important;
}

.sidebar-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.sidebar-hd {
  padding: 14px 18px;
  font-weight: 800; font-size: 12px;
  display: flex; align-items: center; gap: 9px;
  letter-spacing: .3px;
  border-bottom: 1px solid var(--border);
}

.sidebar-hd-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-body { padding: 16px 18px; }

/* PROFILE CARD */
.profile-center {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.profile-avatar {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary-lt), var(--navy));
  border-radius: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 30px; color: #fff; font-weight: 900;
  box-shadow: 0 8px 24px rgba(37,99,235,.25);
  margin-bottom: 10px;
}

.profile-name { font-size: 13px; font-weight: 800; }
.profile-npsn { font-size: 11px; color: var(--muted); }

.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px; color: var(--text); font-weight: 500;
  transition: all .2s;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--primary-lt); padding-left: 5px; }

.sidebar-link-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(37,99,235,.08);
  color: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

/* MINI CALENDAR */
.mini-cal { padding: 16px 18px; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-nav-title { font-size: 14px; font-weight: 800; }
.cal-nav-btn {
  width: 28px; height: 28px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted); transition: all .2s;
}
.cal-nav-btn:hover { background: var(--primary-lt); color: #fff; border-color: var(--primary-lt); }

.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; text-align: center; }
.cal-day-name { font-size: 10px; color: var(--muted); font-weight: 700; padding: 4px 0; }
.cal-day {
  font-size: 12px; padding: 6px 2px;
  border-radius: 8px; cursor: pointer;
  transition: all .2s; font-weight: 500;
}
.cal-day:hover { background: var(--surface-2); }
.cal-day.today { background: var(--primary-lt); color: #fff; font-weight: 800; }
.cal-day.has-event { position: relative; }
.cal-day.has-event::after { content:''; position:absolute; bottom:2px; left:50%; transform:translateX(-50%); width:4px; height:4px; background:var(--accent); border-radius:50%; }
.cal-day.empty { color: transparent; pointer-events: none; }

/* ─── TOPBAR ─────────────────────────────────── */
.topbar {
  background: var(--navy);
  /* background: #007bff; */
  color: #fff;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-logo-img {
    width: 48px;       /* Sesuaikan ukuran */
    height: 48px;
    object-fit: contain;
    border-radius: 4px; /* Opsional, hapus jika tidak perlu */
}

.topbar-text-main { font-weight: 800; font-size: 15px; letter-spacing: -.2px; }
.topbar-text-sub  { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 400; }

.topbar-nav { display: flex; align-items: center; gap: 2px; }

.topbar-nav a {
  color: rgba(255,255,255,.7);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  transition: all .2s;
  position: relative;
}

.topbar-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topbar-nav a.active { color: var(--accent); }

.topbar-action {
  background: linear-gradient(135deg, var(--primary-lt), var(--primary));
  color: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .2s;
  margin-left: 8px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.topbar-action:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.45); }

.hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 22px; cursor: pointer; padding: 6px;
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  height: 89.3vh;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  /* background-image: url("/image/upload/slide2.jpg"); */
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.12) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .5;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: floatBlob 8s ease-in-out infinite;
}
.hero-blob-1 { width: 500px; height: 500px; background: var(--primary-lt); top: -200px; right: -100px; }
.hero-blob-2 { width: 350px; height: 350px; background: var(--accent); bottom: -100px; left: -50px; animation-delay: -4s; }

@keyframes floatBlob {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-20px) scale(1.05); }
}

.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 80px;
  opacity: 0;
  transition: opacity .9s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active { opacity: 1; }

.hero-content { position: relative; z-index: 2; max-width: 620px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: var(--accent-lt);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-content h1 span { color: var(--accent); }

.hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.hero-btn-primary {
  background: linear-gradient(135deg, var(--primary-lt), var(--primary));
  color: #fff; border: none;
  padding: 13px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(37,99,235,.4);
  transition: all .25s;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,.5); }

.hero-btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: 13px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all .25s;
}
.hero-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

.hero-visual {
  position: absolute;
  right: 60px; top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 2;
  opacity: .9;
}

.hero-stat-pill {
  background: rgb(10, 22, 40);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  color: #fff;
  transition: all .3s;
}
.hero-stat-pill:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.hero-stat-pill .val { font-size: 30px; font-weight: 900; font-family: 'Playfair Display', serif; color: var(--accent); }
.hero-stat-pill .lbl { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 4px; font-weight: 500; }
.hero-stat-pill.span2 { grid-column: span 2; }

.hero-dots {
  position: absolute; bottom: 28px; left: 80px;
  display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  height: 4px; border-radius: 4px;
  background: rgba(255,255,255,.3);
  cursor: pointer; border: none;
  transition: all .35s;
  width: 20px;
}
.hero-dot.active { background: var(--accent); width: 40px; }

/* ─── BREAKING NEWS ──────────────────────────── */
.breaking {
  background: #ffff;
  display: flex; align-items: stretch;
  overflow: hidden;
  box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2);
}

.breaking-label {
  background: var(--danger);
  color: #fff;
  padding: 10px 18px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; white-space: nowrap;
}

.breaking-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.breaking-text {
  padding: 10px 18px;
  font-size: 13px; font-weight: 500;
  color: #666;
  display: flex; align-items: center;
  border-left: 1px solid rgba(255,255,255,.08);
}
.breaking-cursor { display: inline-block; width: 2px; height: 13px; background: var(--accent); margin-left: 2px; animation: blink .7s infinite; vertical-align: middle; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ================================================
   MOBILE MENU OVERLAY
   ================================================ */
.mobile-menu {
    position: fixed;
    top: 0; left: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: left .3s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    overflow: hidden;
}
.mobile-menu.open {
    left: 0;
}

/* Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}
.mobile-menu-backdrop.show {
    display: block;
}

/* ================================================
   HEADER MOBILE MENU
   ================================================ */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    flex-shrink: 0;
}
.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-menu-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.mobile-brand-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.mobile-brand-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.75);
}
.mobile-menu-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
}
.mobile-menu-close:hover {
    background: rgba(255,255,255,0.3);
}

/* ================================================
   TOMBOL CEK KELULUSAN
   ================================================ */
.mobile-menu-kelulusan {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mobile-btn-kelulusan {
    width: 100%;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mobile-btn-kelulusan:hover {
    opacity: 0.9;
}

/* ================================================
   NAV LINKS
   ================================================ */
.mobile-nav-links {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

/* Item navigasi utama */
.mobile-nav-item {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 12px;
    padding: 13px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: background .2s;
    width: 100%;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
}
.mobile-nav-item:hover {
    background: #f0f7ff;
    color: #1976d2;
}
.mobile-nav-item i:first-child {
    color: #2196f3;
    width: 18px;
    text-align: center;
    font-size: 15px;
}

/* ================================================
   ACCORDION SUBMENU
   ================================================ */
.mobile-nav-accordion {
    border-bottom: 1px solid #f5f5f5;
}
.mobile-accordion-toggle {
    border-bottom: none !important;
}
.mobile-accordion-toggle.open {
    background: #f0f7ff;
    color: #1976d2;
}
.mobile-caret {
    font-size: 12px;
    color: #aaa;
    transition: transform .3s ease;
    flex-shrink: 0;
}
.mobile-accordion-toggle.open .mobile-caret {
    transform: rotate(180deg);
    color: #1976d2;
}

/* Body accordion */
.mobile-accordion-body {
    display: none;
    background: #f8faff;
    border-top: 1px solid #e3f2fd;
}
.mobile-accordion-body.open {
    display: block;
}

/* Sub item */
.mobile-sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px 11px 28px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    border-bottom: 1px solid #eef4ff;
    transition: background .2s;
}
.mobile-sub-item:last-child {
    border-bottom: none;
}
.mobile-sub-item:hover {
    background: #e3f2fd;
    color: #1976d2;
}
.mobile-sub-item .dd-icon {
    width: 30px;
    height: 30px;
    background: #e3f2fd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2196f3;
    font-size: 13px;
}
.mobile-sub-item .dd-info {
    flex: 1;
}
.mobile-sub-item .dd-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.mobile-sub-item .dd-desc {
    font-size: 11px;
    color: #888;
    margin-top: 1px;
}

/* Divider */
.mobile-divider {
    height: 1px;
    background: #dce8ff;
    margin: 4px 0;
}

/* ─── SCROLL TOP ──────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: #fff; border: 2px solid rgba(255,255,255,.1);
  border-radius: 12px; font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  display: none; align-items: center; justify-content: center;
  transition: all .25s; z-index: 800;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--primary-lt); border-color: var(--primary-lt); transform: translateY(-3px); }

/* ─── LIGHTBOX ───────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  justify-content: center; align-items: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 40px; height: 40px; border-radius: 10px;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.lightbox-close:hover { background: var(--danger); border-color: var(--danger); }

/* ─── ANIMATIONS ──────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── DROPDOWN SUBMENU ─── */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; }
.nav-item > a .caret {
  font-size: 10px; transition: transform .25s;
  color: rgba(255,255,255,.5); display: inline-block;
}
.nav-item:hover > a .caret { transform: rotate(180deg); color: var(--accent-lt); }
.nav-item:hover > a { color: #fff; background: rgba(255,255,255,.08); }

.dropdown {
  position: absolute; top: calc(100% + 4px);
  left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; min-width: 240px; padding: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  pointer-events: none;
  z-index: 9;
}
/* Bridge transparan: menutup gap antara navbar dan dropdown */
.dropdown::after {
  content: '';
  position: absolute;
  top: -14px;       /* tinggi bridge = menutup gap */
  left: 0; right: 0;
  height: 14px;
  background: transparent;
}
.dropdown::before {
  content: ''; position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 7px;
  background: var(--navy-mid);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.dropdown-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px;
  color: rgba(255,255,255,.75); font-size: 12.5px; font-weight: 600;
  transition: all .18s; cursor: pointer;
}
.dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.dropdown-item:hover .dd-icon { background: var(--primary-lt); color: #fff; }
.dropdown-item:hover .dd-arrow { opacity: 1; transform: translateX(0); }
.dd-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; transition: all .18s; color: var(--accent-lt);
}
.dd-info { flex: 1; }
.dd-label { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.dd-desc { font-size: 10.5px; color: rgba(255,255,255,.4); margin-top: 1px; font-weight: 400; }
.dd-arrow { font-size: 10px; color: rgba(255,255,255,.3); opacity: 0; transform: translateX(-4px); transition: all .18s; }
.dropdown-divider { height: 1px; background: rgba(255,255,255,.07); margin: 4px 6px; }

.bt-slide {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 999;
}

/* ── FAB GROUP ─────────────────────────────────────────── */
.hero-fab-group {
  position: absolute;
  bottom: 20px;          /* naik sedikit dari breaking news */
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.hero-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.hero-fab i {
  font-size: 16px;
  flex-shrink: 0;
}

/* Warna masing-masing tombol */
.fab-kelulusan {
  background: rgba(34, 197, 94, 0.85);   /* hijau */
  color: #fff;
}

.fab-alumni {
  background: rgba(59, 130, 246, 0.85);  /* biru */
  color: #fff;
}

.hero-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  filter: brightness(1.1);
}

.hero-fab:active {
  transform: translateY(0) scale(0.97);
}

.toggle-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .toggle-switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 24px;
        margin: 0;
    }
    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    .toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color: #ccc;
        border-radius: 24px;
        transition: .3s;
    }
    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        border-radius: 50%;
        transition: .3s;
    }
    .toggle-switch input:checked + .toggle-slider {
        background-color: #28a745;
    }
    .toggle-switch input:checked + .toggle-slider:before {
        transform: translateX(20px);
    }
    .toggle-switch input:disabled + .toggle-slider {
        opacity: 0.5;
        cursor: not-allowed;
    }
    .toggle-label {
        font-size: 12px;
        font-weight: 500;
        min-width: 70px;
        text-align: left;
        color: #555;
    }

    /* Overlay */
#popupKelulusan {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Box utama */
#popupKelulusan .popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: visible;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

/* Header */
#popupKelulusan .popup-header {
    background: linear-gradient(90deg, #2196f3, #1976d2);
    border-radius: 12px 12px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Icon warning */
#popupKelulusan .popup-warning-icon {
    position: absolute;
    top: -18px;
    right: -14px;
    width: 48px;
    height: 48px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    z-index: 3;
}

/* Body */
#popupKelulusan .popup-body {
    padding: 20px 20px 8px;
}

/* Info box */
#popupKelulusan .popup-info-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

/* Countdown */
#popupKelulusan .countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
#popupKelulusan .cd-item {
    background: #1565c0;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
    flex: 1;
    max-width: 80px;
}

/* List himbauan */
#popupKelulusan .popup-list-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
#popupKelulusan .popup-list-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#popupKelulusan .popup-list-box li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}
#popupKelulusan .popup-list-box li:last-child {
    margin-bottom: 0;
}

/* Footer tombol */
#popupKelulusan .popup-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
#popupKelulusan .popup-footer button {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#popupKelulusan .btn-tutup   { background: #e53935; color: #fff; }
#popupKelulusan .btn-mengerti { background: #388e3c; color: #fff; }

#inputnis {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Box utama */
#inputnis .popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: visible;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

/* Header */
#inputnis .popup-header {
    background: linear-gradient(90deg, #2196f3, #1976d2);
    border-radius: 12px 12px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Icon warning */
#inputnis .popup-warning-icon {
    position: absolute;
    top: -18px;
    right: -14px;
    width: 48px;
    height: 48px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    z-index: 3;
}

/* Body */
#inputnis .popup-body {
    padding: 20px 20px 8px;
}

/* Info box */
#inputnis .popup-info-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

/* Countdown */
#inputnis .countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
#inputnis .cd-item {
    background: #1565c0;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
    flex: 1;
    max-width: 80px;
}

/* List himbauan */
#inputnis .popup-list-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
#inputnis .popup-list-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#inputnis .popup-list-box li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}
#inputnis .popup-list-box li:last-child {
    margin-bottom: 0;
}

/* Footer tombol */
#inputnis .popup-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
#inputnis .popup-footer button {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#inputnis .btn-tutup   { background: #e53935; color: #fff; }
#inputnis .btn-mengerti { background: #388e3c; color: #fff; }

#warning {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Box utama */
#warning .popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: visible;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

/* Header */
#warning .popup-header {
    background: linear-gradient(90deg, #2196f3, #1976d2);
    border-radius: 12px 12px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Icon warning */
#warning .popup-warning-icon {
    position: absolute;
    top: -18px;
    right: -14px;
    width: 48px;
    height: 48px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    z-index: 3;
}

/* Body */
#warning .popup-body {
    padding: 20px 20px 8px;
}

/* Info box */
#warning .popup-info-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

/* Countdown */
#warning .countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
#warning .cd-item {
    background: #1565c0;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
    flex: 1;
    max-width: 80px;
}

/* List himbauan */
#warning .popup-list-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
#warning .popup-list-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#warning .popup-list-box li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}
#warning .popup-list-box li:last-child {
    margin-bottom: 0;
}

/* Footer tombol */
#warning .popup-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
#warning .popup-footer button {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#warning .btn-tutup   { background: #e53935; color: #fff; }
#warning .btn-mengerti { background: #388e3c; color: #fff; }

/* ================================================
   CONTAINER UTAMA
   ================================================ */
.container_home.singel {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 16px;
}

.bg_left_home,
.bg_list_home,
.list_home,
.view_singel {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* ================================================
   KARTU SURAT
   ================================================ */
.bg_det_ormas {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 40px 48px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);

    /* Garis dekoratif atas biru */
    border-top: 6px solid #232323;
}

/* ================================================
   KOP SURAT
   ================================================ */
.kop-surat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 3px double #232323;
    margin-bottom: 20px;
}
.kop-surat img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.kop-surat-text {
    text-align: center;
}
.kop-surat-text .nama-sekolah {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.kop-surat-text .alamat-sekolah {
    font-size: 12px;
    color: #555;
    margin-top: 3px;
}

/* ================================================
   JUDUL SURAT
   ================================================ */
.title_list {
    font-family: 'Times New Roman', Times, serif;
    color: #1a1a2e;
}

/* Judul utama */
.bg_det_ormas > .title_list:first-of-type {
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    letter-spacing: 1px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Sub judul tahun */
.bg_det_ormas > .title_list:nth-of-type(2) {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 20px;
}

/* ================================================
   ISI SURAT
   ================================================ */
.det_text {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.view_text {
    display: flex;
    align-items: flex-start;
    padding: 6px 0 !important;
    border-bottom: 0.5px dashed #ddd !important;
    width: 100% !important;
    margin: 0 !important;
}
.view_text:last-child {
    border-bottom: none !important;
}

.text_left {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    width: 100% !important;
    padding: 0 !important;
}

/* Kolom label (Nama, NISN, dll) */
.col-sm-2.text_left {
    min-width: 170px;
    max-width: 170px;
    color: #555;
    font-style: italic;
}

/* Kolom nilai */
.col-sm-10.text_left {
    flex: 1;
    color: #1a1a2e;
    font-weight: 600;
}

/* ================================================
   STATUS KELULUSAN
   ================================================ */
[line="ket_lulusan"] {
    font-family: 'Times New Roman', Times, serif;
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center;
    color: #1a1a2e;
    margin: 20px 0;
    padding: 16px;
    border: 2px solid #232323;
    border-radius: 4px;
    background: #e4e4e4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ================================================
   TANDA TANGAN
   ================================================ */
.ttd-section {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 16px;
}
.ttd-box {
    text-align: center;
    min-width: 200px;
}
.ttd-box .ttd-kota {
    font-family: 'Times New Roman', Times, serif;
    font-size: 13px;
    color: #333;
    margin-bottom: 60px;
}
.ttd-box .ttd-nama {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    border-top: 1px solid #333;
    padding-top: 6px;
}
.ttd-box .ttd-jabatan {
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    color: #555;
}

/* ================================================
   TOMBOL KEMBALI
   ================================================ */
.btn-kembali-wrap {
    text-align: center;
    margin: 20px 0 8px;
}
.btn-kembali-wrap .btn {
    font-size: 13px;
    padding: 8px 24px;
    border-radius: 4px;
}

/* ================================================
   ALERT NISN TIDAK DITEMUKAN
   ================================================ */
.alert.alert-warning {
    border-radius: 4px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
}

/* ================================================
   NOMOR SURAT (opsional)
   ================================================ */
.no-surat {
    font-family: 'Times New Roman', Times, serif;
    font-size: 13px;
    color: #555;
    text-align: center;
    margin-bottom: 16px;
}

/* ── Tablet (max 576px) ── */
@media (max-width: 576px) {
    #popupKelulusan {
        padding: 12px;
    }
    #popupKelulusan .popup-warning-icon {
        width: 40px;
        height: 40px;
        top: -14px;
        right: -10px;
    }
    #popupKelulusan .popup-header span:last-child {
        font-size: 14px;
    }
    #popupKelulusan .popup-body {
        padding: 16px 14px 8px;
    }
    #popupKelulusan .cd-item {
        min-width: 48px;
        padding: 6px 8px;
    }
    #popupKelulusan .cd-item span:first-child {
        font-size: 18px !important;
    }
    #popupKelulusan .popup-footer {
        padding: 0 14px 16px;
    }
    #popupKelulusan .popup-footer button {
        font-size: 13px;
        padding: 9px 12px;
    }
}

/* ================================================
   RESPONSIVE — max 768px
   ================================================ */
@media (max-width: 768px) {
    .bg_det_ormas {
        padding: 28px 24px;
    }
    .kop-surat {
        flex-direction: column;
        gap: 10px;
    }
    .kop-surat img {
        width: 56px;
        height: 56px;
    }
    .kop-surat-text .nama-sekolah {
        font-size: 15px;
    }
    .col-sm-2.text_left {
        min-width: 130px;
        max-width: 130px;
    }
    [line="ket_lulusan"] {
        font-size: 22px !important;
        padding: 12px;
        letter-spacing: 1px;
    }
    .ttd-section {
        justify-content: center;
    }
}

/* ================================================
   RESPONSIVE — max 480px
   ================================================ */
@media (max-width: 480px) {
    .bg_det_ormas {
        padding: 20px 16px;
        border-top-width: 4px;
    }
    .view_text {
        flex-direction: column;
        gap: 2px;
        padding: 8px 0 !important;
    }
    .col-sm-2.text_left {
        min-width: 100%;
        max-width: 100%;
        font-style: normal;
        color: #777;
        font-size: 12px;
    }
    .col-sm-10.text_left {
        font-size: 14px;
    }
    [line="ket_lulusan"] {
        font-size: 18px !important;
        letter-spacing: 0.5px;
    }
    .kop-surat-text .nama-sekolah {
        font-size: 14px;
    }
    .ttd-box .ttd-kota {
        margin-bottom: 50px;
    }
}

/* ── Mobile kecil (max 360px) ── */
@media (max-width: 360px) {
    #popupKelulusan .popup-header {
        padding: 12px 14px;
    }
    #popupKelulusan .popup-list-box li {
        font-size: 12px;
    }
    #popupKelulusan .cd-item {
        min-width: 40px;
    }
    #popupKelulusan .cd-item span:first-child {
        font-size: 16px !important;
    }
}

@media (max-width: 640px) {
  .topbar { height: 60px; padding: 0 16px; }
  .topbar-text-main { font-size: 13px; }
  .topbar-nav, .topbar-action { display: none; }
  .hamburger { display: block; }

  .hero { height: 300px; }
  .hero-slide { padding: 0 24px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { display: none; }
  .hero-btns { gap: 8px; }
  .hero-dots { left: 24px; }

  .stats-strip { grid-template-columns: 1fr; gap: 10px; }
  .action-strip { gap: 8px; }
  .action-btn-inner { padding: 14px 12px; gap: 10px; }
  .action-btn-text { font-size: 12px; }
  .action-btn-sub { display: none; }

  .news-featured-wrap { grid-template-columns: 1fr; }
  .news-featured { border-right: none; border-bottom: 1px solid var(--border); }

  .two-col { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .wrapper { padding: 20px 14px; }
  .news-content-left {padding-right: 0;}
  .news-content-right {padding-left: 0;}
  .mb-news {margin-bottom: 1.5rem !important;}

  .hero-fab-group {
    bottom: 10px;
    right: 16px;
    flex-direction: column;
    gap: 10px;
  }

  .hero-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;       /* kotak membulat */
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  .hero-fab i {
    font-size: 20px;
  }

  /* Sembunyikan teks label di mobile */
  .fab-label {
    display: none;
  }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .hero-slide { padding: 0 40px; }
}
@media (max-width: 991px) {
	.slider-area { width: 100%; }
	.promo-panel { width: 100%; margin-top:12px; }
	.promo-inner { flex-direction: column; padding: 12px; }
	.badge-disc { left:12px; top:16px; transform: none; }
	.promo-card { padding:8px; }
}

/* Agar dropdown terbuka saat hover */
@media (min-width: 992px) {
	.navbar .nav-item.dropdown:hover .dropdown-menu {
		display: block;
	}
}