/* Import Google Font Public Sans */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;900&display=swap');
body, .lobster, header, h1, h2, h3, p {
  font-family: 'Poppins', 'Public Sans', Arial, sans-serif;
}

/* Mobile Frame & Header Custom */
.device-mobile-frame {
  border-radius: 1.2rem;
}
.device-mobile {
  width: 25rem !important;
}

/* Navbar Adjustments */
.navbar-absolute-top {
  top: 100px;
}
.navbar .nav-item:hover > .nav-link,
.nav-item a.nav-link.active {
  color: var(--color-primary) !important;
  font-weight: 500;
}
.dropdown-item:focus,
.dropdown-item:hover {
  font-weight: 600;
  color: var(--color-primary);
}
.navbar-expand-lg.navbar-end .navbar-transparent {
  background-color: white !important;
  padding: 0 10px;
  border-radius: 5px;
}

/* Header Styling */
header.header-top {
  position: absolute;
  z-index: 9999;
  min-width: 100%;
  background: 
  linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), 
  url('/img/back_bpsdm.png') no-repeat center center !important;
  background-size: 100% auto !important;
  background-blend-mode: lighten;
}
header.header-top .logo {
  float: left;
  margin: 10px 5px 0 0;
  height: 75px;
}
header.header-top .title {
  margin: 12px 0 0 0;
}
header.header-top .kanan {
  float: right;
  text-align: right;
  margin: 10px;
  background: transparent;
}
header.header-top .kanan h1 {
  font-size: 30px;
}
header.header-top .kanan h3 {
  margin-bottom: 4px;
  color: var(--color-primary);
}
header.header-top .kanan p {
  font-size: 10px;
  margin-top: 2px;
  padding: 5px 13px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 2px;
  font-weight: bold;
}
header.header-top h1 {
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: #21223d;
  margin: 0;
}
header.header-top h2 {
  font-weight: 500;
  font-size: 15px;
  color: #21223d;
  margin: 0;
}
header.header-top h2.hitam {
  color: #333;
}
header.header-top h3 {
  font-weight: 400;
  font-size: 12px;
  color: #21223d;
  margin: 2px 0 0 0;
}
header.header-top p {
  font-weight: 400;
  font-size: 11px;
  color: #333;
}

/* Badge & Button Styling */
.badge-action {
  background: var(--color-primary);
}
.badge-action:hover {
  background: var(--color-secondary);
}
.btn-primary:hover {
  color: #fff;
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Utility */
.text-bold {
  font-weight: 600;
}
.date {
  color: var(--color-secondary);
  font-size: 10px;
  line-height: 20px;
}
a:hover {
  color: var(--color-secondary);
}

/* ------------- BKPSDM Revisi Modern ------------- */

/* Card Layanan */
.layanan-card, .card, .album-card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  background: #fff;
  padding: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.layanan-card:hover, .card:hover, .album-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.17);
  transform: translateY(-4px) scale(1.02);
}

/* Judul Section */
.section-title, h2.section-title, .judul-section, .album-title, .info-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #24304A;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

/* Sub Judul */
h3, .subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #283148;
}

/* Konten Utama */
.main-content, .content-section {
  padding: 32px 0;
}

@media (max-width: 767px) {
  .main-content, .content-section {
    padding: 16px 0;
  }
  .layanan-card, .card, .album-card {
    padding: 12px;
    margin-bottom: 14px;
  }
}

/* Teks & Kontras */
body, p, .deskripsi {
  color: #232c3d;
  font-size: 15px;
  line-height: 1.6;
}

/* Tombol dan Link */
.btn, .btn-primary {
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover, .btn-action:hover {
  background-color: #1a6ce3 !important;
  color: #fff !important;
}

/* Album Photo Card */
.album-card img {
  border-radius: 10px;
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: #f7f8fa;
  border-top: 1px solid #e5e7ea;
  color: #24304A !important;
  padding: 32px 0 24px 0 !important;
  font-size: 15px;
}
footer a {
  color: #1a6ce3;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Spasi Section Lebih Rapi */
.section {
  margin-bottom: 32px;
}

/* Untuk spacing bawah yang terlalu besar */
.mb-big {
  margin-bottom: 24px !important;
}

/* Responsive Judul */
@media (max-width: 500px) {
  .section-title, h2.section-title {
    font-size: 1.4rem !important;
  }
}

/* Fix: Hilangkan space kosong bawah */
.empty-section {
  display: none;
}

.container-video {
  background-color: #1356c9;
}

.timeline-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap
}

.timeline-steps .timeline-step {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 1rem
}

@media (min-width:768px) {
  .timeline-steps .timeline-step:not(:last-child):after {
    content: "";
    display: block;
    border-top: .25rem dotted #1356c9;
    width: 3.46rem;
    position: absolute;
    left: 7.5rem;
    top: .3125rem
  }

  .timeline-steps .timeline-step:not(:first-child):before {
    content: "";
    display: block;
    border-top: .25rem dotted #1356c9;
    width: 3.8125rem;
    position: absolute;
    right: 7.5rem;
    top: .3125rem
  }
}

.timeline-steps .timeline-content {
  width: 10rem;
  text-align: center
}

.timeline-steps .timeline-content .inner-circle {
  border-radius: 1.5rem;
  height: 1rem;
  width: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1356c9
}

.timeline-steps .timeline-content .inner-circle:before {
  content: "";
  background-color: #1356c9;
  display: inline-block;
  height: 3rem;
  width: 3rem;
  min-width: 3rem;
  border-radius: 6.25rem;
  opacity: .5
}

.card-body-satker {
  background-size: cover;
  background-position: center;
  min-height: 170px;
}

.black-ops-one-h1 {
  font-family: 'Poppins', 'Public Sans', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.layanan-container {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  background-image: url('/img/pattern-bg.png'); /* jika pakai motif latar */
  background-size: cover;
}
.layanan-container h2, .layanan-container h3 {
  font-weight: bold;
}
.layanan-container img {
  display: block;
  margin: 0 auto;
}

.parallax {
  background-image: url('img/parallax_bg2.png');
  min-height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.swiper-slide {
  width: 100vw;
  max-width: 100%;
  min-height: 530px;
  background-size: cover;
  background-position: center;
  padding: 0 !important;
}

.js-swiper-main {
  /* default padding, supaya di desktop dan mobile tidak nabrak */
  padding-top: 100px; /* Ganti 100px dengan tinggi header-mu */
}

@media (min-width: 768px) {
  .js-swiper-main {
    padding-top: 100px; /* Desktop, tinggi header biasanya lebih besar */
  }
}
@media (max-width: 767.98px) {
  .js-swiper-main {
    min-height: auto;
    padding-top: 80px; /* Mobile, tinggi header biasanya lebih kecil */
  }
}
body, html {
  overflow-x: hidden;
}
.parallax {
  background-image: url(img/parallax_bg2.jpg);
  min-height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

}
