/**
* Logis Theme CSS - Customized for DPMPTSP Kabupaten Dogiyai
* Based on Logis Template (https://preview.themewagon.com/logis-new/)
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Global Colors */
  --background-color: #ffffff;
  --default-color: #212529;
  --heading-color: #001973;
  --accent-color: #0d42ff;
  --accent-hover: #002ecc;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Nav Menu Colors */
  --nav-color: rgba(255, 255, 255, 0.85);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #0d42ff;
}

/* Color Presets */
.light-background {
  --background-color: #f7f9fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0e1d34;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #19335c;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body.logis-body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 80px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section, .section {
    scroll-margin-top: 66px;
    padding: 60px 0;
  }
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 20px 0 10px 0;
  margin-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

.section-title span {
  position: absolute;
  top: -8px;
  color: rgba(0, 25, 115, 0.06);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 800;
  font-size: 54px;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

.dark-background .section-title span {
  color: rgba(255, 255, 255, 0.05);
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  font-size: 16px;
  color: #6c757d;
}

.dark-background .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .section-title span {
    font-size: 36px;
    top: 0;
  }
  .section-title p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.header {
  background-color: transparent;
  padding: 18px 0;
  transition: all 0.4s ease-in-out;
  z-index: 997;
}

.header .logo {
  line-height: 1;
  text-decoration: none;
}

.header .logo img {
  max-height: 48px;
  margin-right: 12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.header .logo span.tagline {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #ffffff;
  background: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 24px;
  margin-left: 20px;
  border-radius: 50px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(13, 66, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: #ffffff;
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 66, 255, 0.5);
}

.scrolled .header {
  padding: 12px 0;
  background-color: rgba(14, 29, 52, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile nav toggle hidden by default on desktop */
.mobile-nav-toggle {
  display: none;
}

/* Navmenu - Desktop: Semua menu muncul secara default */
@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none !important;
  }

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex !important;
    list-style: none;
    align-items: center;
    gap: 2px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 8px 12px;
    font-size: 13.5px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 6px;
    text-decoration: none;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 11px;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: #ffffff;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 130%;
    opacity: 0;
    transition: 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: #212529;
    font-weight: 400;
    border-radius: 0;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--accent-color);
    background-color: #f1f4ff;
    padding-left: 24px;
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile (Hanya aktif saat layar mengecil) */
@media (max-width: 991px) {
  .header .logo img {
    max-height: 40px;
  }
  .header .btn-getstarted {
    margin-left: auto;
    margin-right: 12px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .mobile-nav-toggle {
    display: block !important;
    color: #ffffff;
    font-size: 28px;
    line-height: 0;
    cursor: pointer;
    transition: 0.3s;
    background: none;
    border: none;
    padding: 4px;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    inset: 70px 20px 20px 20px;
    padding: 20px 0;
    margin: 0;
    border-radius: 12px;
    background-color: #ffffff;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  }

  .navmenu a,
  .navmenu a:focus {
    color: #212529;
    padding: 12px 24px;
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
    text-decoration: none;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(13, 66, 255, 0.08);
    color: var(--accent-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 5px 0 5px 15px;
    margin: 5px 20px;
    background-color: #f8f9fa;
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    box-shadow: none;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
  }

  body.mobile-nav-active {
    overflow: hidden;
  }

  body.mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(14, 29, 52, 0.85);
    backdrop-filter: blur(5px);
  }

  body.mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Running Text Ticker Bar
--------------------------------------------------------------*/
.top-ticker-bar {
  background: rgba(0, 20, 60, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 0;
  font-size: 13px;
  color: #e0e6ed;
  position: relative;
  z-index: 998;
}

.top-ticker-bar .badge-ticker {
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}

.top-ticker-bar marquee {
  vertical-align: middle;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 90vh;
  position: relative;
  padding: 150px 0 80px 0;
  background: linear-gradient(135deg, #071120 0%, #0e1d34 50%, #102a52 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  mix-blend-mode: luminosity;
  filter: contrast(1.15) brightness(0.95);
  z-index: 1;
  pointer-events: none;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 17, 32, 0.90) 0%, rgba(14, 29, 52, 0.82) 50%, rgba(13, 66, 255, 0.65) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(247, 249, 252, 1), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(13, 66, 255, 0.2);
  border: 1px solid rgba(13, 66, 255, 0.4);
  color: #9cbaff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero h2 span.highlight {
  color: #4d7cff;
}

.hero p.lead-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Quick Search / Action Form in Hero */
.hero .form-search {
  background: #ffffff;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: stretch;
  max-width: 580px;
}

.hero .form-search .form-control {
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #212529;
  outline: none;
  box-shadow: none;
  flex: 1;
}

.hero .form-search .btn-search {
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 40px;
  border: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero .form-search .btn-search:hover {
  background: var(--accent-hover);
}

.hero .quick-links {
  margin-top: 15px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.hero .quick-links a {
  color: #79a2ff;
  margin: 0 4px;
  text-decoration: underline;
}

/* Hero Stats */
.hero .stats-row {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero .stats-item {
  text-align: center;
  padding: 10px;
}

.hero .stats-item span.number {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  font-family: var(--heading-font);
  line-height: 1;
  margin-bottom: 8px;
}

.hero .stats-item p.label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Hero Slider Carousel Frame */
.hero-slider-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-slider-card .carousel,
.hero-slider-card .carousel-inner,
.hero-slider-card .carousel-item {
  border-radius: 14px;
  overflow: hidden;
}

.hero-slider-card .carousel-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-slider-card .carousel-caption {
  background: linear-gradient(to top, rgba(14, 29, 52, 0.95), rgba(14, 29, 52, 0.2));
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px 20px;
  text-align: left;
}

.hero-slider-card .carousel-caption h5 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-slider-card .carousel-caption p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin: 0;
}

.hero-slider-card .carousel-control-prev,
.hero-slider-card .carousel-control-next {
  width: 44px;
  height: 44px;
  background: rgba(14, 29, 52, 0.7);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 10px;
  opacity: 0.8;
  transition: 0.3s;
}

.hero-slider-card .carousel-control-prev:hover,
.hero-slider-card .carousel-control-next:hover {
  background: var(--accent-color);
  opacity: 1;
}

@media (max-width: 991px) {
  .hero {
    padding: 130px 0 60px 0;
  }
  .hero h2 {
    font-size: 30px;
  }
  .hero-slider-card .carousel-item img {
    height: 260px;
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  padding-top: 30px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.featured-services .service-card {
  background: #ffffff;
  padding: 35px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.featured-services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(13, 66, 255, 0.12);
  border-color: rgba(13, 66, 255, 0.2);
}

.featured-services .service-card .icon-box {
  width: 60px;
  height: 60px;
  background: #f0f4ff;
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.featured-services .service-card:hover .icon-box {
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.08);
}

.featured-services .service-card h4.title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.featured-services .service-card p.desc {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
  flex-grow: 1;
}

.featured-services .service-card a.readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.featured-services .service-card a.readmore:hover {
  gap: 10px;
  color: var(--accent-hover);
}

/*--------------------------------------------------------------
# About Section (Latar Belakang)
--------------------------------------------------------------*/
.about .about-img-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  background: #0e1d34;
  padding: 40px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 420px;
}

.about .about-img-box .emblem-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.about .about-img-box .emblem-wrap img {
  max-width: 130px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.about .about-img-box .badge-official {
  background: rgba(13, 66, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 18px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  color: #d1deff;
}

.about .content h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 18px;
}

.about .content p {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about .content .about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.about .content .about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #2d3748;
}

.about .content .about-list li i {
  color: var(--accent-color);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/*--------------------------------------------------------------
# Visi & Misi Section
--------------------------------------------------------------*/
.visi-misi-section {
  background-color: #f7f9fc;
}

.visi-card {
  background: linear-gradient(135deg, #071328 0%, #0e1d34 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(14, 29, 52, 0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 35px;
}

.visi-card::before {
  content: "\F563";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.visi-card .visi-tag {
  display: inline-block;
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.visi-card h3 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.visi-card p.quote {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #dbe4f8;
  margin: 0;
  font-style: italic;
}

.misi-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.misi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 66, 255, 0.25);
  box-shadow: 0 10px 25px rgba(13, 66, 255, 0.08);
}

.misi-card .misi-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(13, 66, 255, 0.1);
  color: var(--accent-color);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.misi-card .misi-text {
  font-size: 15px;
  color: #2d3748;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Tupoksi Section (Tabs & Accordion)
--------------------------------------------------------------*/
.tupoksi-nav-tabs {
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
  list-style: none;
  padding: 0;
}

.tupoksi-nav-tabs .nav-link {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  color: #4a5568;
  padding: 12px 28px;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  border-radius: 0;
  transition: 0.3s;
  cursor: pointer;
}

.tupoksi-nav-tabs .nav-link:hover {
  color: var(--accent-color);
}

.tupoksi-nav-tabs .nav-link.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
  background: transparent;
}

.tupoksi-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: 0.25s;
}

.tupoksi-card:hover {
  border-color: rgba(13, 66, 255, 0.25);
  box-shadow: 0 8px 25px rgba(13, 66, 255, 0.08);
}

.tupoksi-card .badge-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tupoksi-card p {
  margin: 0;
  font-size: 15px;
  color: #2d3748;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Struktur Organisasi & Prosedur & Grafik
--------------------------------------------------------------*/
.showcase-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid #edf2f7;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.showcase-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.showcase-card:hover img {
  transform: scale(1.02);
}

.showcase-card .zoom-overlay {
  margin-top: 15px;
}

.btn-zoom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--accent-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-zoom:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

/*--------------------------------------------------------------
# Dasar Hukum Section
--------------------------------------------------------------*/
.dasar-hukum-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.dasar-hukum-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
}

.dasar-hukum-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 66, 255, 0.09);
}

.dasar-hukum-card .legal-icon {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.dasar-hukum-card h4.law-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.dasar-hukum-card p.law-desc {
  font-size: 14px;
  color: #4a5568;
  margin: 0;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Pelayanan Perizinan & Non Perizinan (Logis .services)
--------------------------------------------------------------*/
.search-pelayanan-wrap {
  max-width: 650px;
  margin: 0 auto 30px auto;
  position: relative;
}

.search-pelayanan-wrap input {
  padding: 14px 24px 14px 48px;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  width: 100%;
  transition: 0.3s;
}

.search-pelayanan-wrap input:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 6px 20px rgba(13, 66, 255, 0.15);
}

.search-pelayanan-wrap i.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #a0aec0;
}

.pelayanan-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  list-style: none;
  padding: 0;
}

.pelayanan-filter-pills button {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: #edf2f7;
  color: #4a5568;
  border: none;
  transition: 0.25s;
  cursor: pointer;
}

.pelayanan-filter-pills button.active,
.pelayanan-filter-pills button:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.permit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.permit-card {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.permit-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(13, 66, 255, 0.1);
  transform: translateY(-2px);
}

.permit-card .permit-id {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-color);
  background: rgba(13, 66, 255, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.permit-card .permit-name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  line-height: 1.4;
}

.permit-card .permit-sub {
  font-size: 12px;
  color: #718096;
  margin-top: 4px;
}

/* Non Perizinan Card */
.non-permit-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.non-permit-card h4 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.non-permit-card h4 i {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(135deg, rgba(7, 19, 40, 0.95), rgba(14, 29, 52, 0.95)), url('../asset/img/investasi-bg.png') center center/cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.call-to-action h3 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.call-to-action p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

.call-to-action .cta-btn-primary {
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 50px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(13, 66, 255, 0.4);
  text-decoration: none;
  margin: 6px;
}

.call-to-action .cta-btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.call-to-action .cta-btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 32px;
  border-radius: 50px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  text-decoration: none;
  margin: 6px;
}

.call-to-action .cta-btn-outline:hover {
  background: #ffffff;
  color: #0e1d34;
}

/*--------------------------------------------------------------
# News, Announcement & Agenda Section
--------------------------------------------------------------*/
.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(13, 66, 255, 0.1);
  border-color: rgba(13, 66, 255, 0.2);
}

.news-card .news-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card .news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.08);
}

.news-card .news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card .news-meta {
  font-size: 12px;
  color: #718096;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-card h4.news-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card h4.news-title a {
  color: var(--heading-color);
  text-decoration: none;
}

.news-card h4.news-title a:hover {
  color: var(--accent-color);
}

.news-card p.news-excerpt {
  font-size: 13px;
  color: #4a5568;
  margin-bottom: 15px;
  flex-grow: 1;
}

.news-card .news-footer {
  padding-top: 12px;
  border-top: 1px solid #f0f4f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Agenda / Pengumuman Widget Card */
.widget-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  height: 100%;
}

.widget-card .widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.widget-card .widget-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-item {
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
}

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

.widget-item .date-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 4px;
  display: block;
}

.widget-item h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.widget-item p {
  font-size: 12px;
  color: #718096;
  margin: 0;
}

/*--------------------------------------------------------------
# Running Link / Partners
--------------------------------------------------------------*/
.partners-section {
  padding: 40px 0;
  background-color: #ffffff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.partners-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  overflow-x: auto;
  padding: 10px 0;
}

.partners-wrap img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}

.partners-wrap img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: rgba(255, 255, 255, 0.85);
  background-color: #0e1d34;
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding: 70px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer .footer-about .logo img {
  max-height: 48px;
}

.footer .footer-about .logo span {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer .social-links {
  display: flex;
  gap: 10px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
  text-decoration: none;
}

.footer .social-links a:hover {
  color: #ffffff;
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

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

.footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer .footer-links ul a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer .footer-contact p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer .footer-contact strong {
  color: #ffffff;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer .copyright strong {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(13, 66, 255, 0.4);
  text-decoration: none;
}

.scroll-top i {
  font-size: 22px;
  color: #ffffff;
  line-height: 0;
}

.scroll-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: #0e1d34;
  transition: all 0.5s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader::after {
  content: "";
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
