/* Critical small set of styles extracted from index.html for faster local rendering */
body { font-family: 'Heebo', 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; color:#222; }
.navbar { border-bottom: 1px solid rgba(0,0,0,0.05); }
.container { max-width: 1140px; }
.btn-primary { background:#1591DC; border-color:#1591DC; }

:root {
    --fab-offset: 20px;
    --fab-bottom-safe: calc(env(safe-area-inset-bottom, 0px) + 25px);
}
.fab-group {
    position: fixed;
    right: var(--fab-offset);
    bottom: var(--fab-bottom-safe);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.fab-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 14px;
}
.fab-item:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); color: #fff; }
.fab-wa { background: #25D366; }
.fab-wa:hover { background: #128C7E; }
.fab-register { background: #1591DC; }
.fab-register:hover { background: #1178BB; }
.fab-icon { width: 28px; height: 28px; display: inline-grid; place-items: center; background: rgba(255,255,255,0.2); border-radius: 999px; font-size: 16px; }

@media (max-width: 576px) {
    .fab-item { padding: 10px 14px; font-size: 12px; }
    .fab-label { font-size: 12px; }
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1999;
    width: 45px;
    height: 45px;
    border-radius: 45px;
    background: #1591DC;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.back-to-top:hover { background: #1178BB; transform: translateY(-3px); }

.skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; left: 0; width: auto; height: auto; background: #fff; padding: 8px 12px; z-index: 3000; border: 1px solid #ccc; border-radius: 4px; color: #111; }

/* Mega menu styles for Program Pelatihan */
.mega-menu { min-width: 720px; background: linear-gradient(180deg, #0b2b3a 0%, #042033 100%); border-radius: 10px; border: 0; box-shadow: 0 10px 30px rgba(2,15,28,0.5); }
.mega-menu .mega-title { color: #ffd66a; font-size: 14px; margin-bottom: 6px; }
.mega-menu .dropdown-item { color: #e6f0f6; padding: 4px 0; }
.mega-menu .dropdown-item:hover { color: #fff; background: transparent; }
.navbar .nav-link.dropdown-toggle { position: relative; }
.navbar .dropdown-menu { border-radius: 8px; }

@media (max-width: 991px) {
    .mega-menu { min-width: 100%; }
}

/* Hover effects for navbar and dropdown items */
.navbar .nav-link { transition: color .15s ease, transform .12s ease; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: #1591DC; transform: translateY(-2px); text-decoration: none; }
.navbar .nav-link.active { color: #1591DC; }

.dropdown-menu .dropdown-item { transition: color .12s ease, background .12s ease; border-radius: 4px; }
.dropdown-menu .dropdown-item:hover, .mega-menu .dropdown-item:hover { color: #fff; background: #1591DC; padding-left: 8px; }

/* Improve dropdown toggle arrow visibility */
.navbar .dropdown-toggle::after { transition: transform .12s ease; }
.navbar .nav-item:hover > .dropdown-toggle::after { transform: translateY(-2px); }

/* Trust indicator styles */
.trust-item { background: transparent; border-radius: 8px; transition: transform .12s ease, box-shadow .12s ease; }
.trust-item:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(2,15,28,0.12); }
.trust-icon { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(21,145,220,0.06); }
.trust-text { font-weight: 600; margin-top: 6px; }

@media (max-width: 576px) {
    .trust-icon { width: 44px; height: 44px; }
}

/* Hasil section: balanced list styles */
.hasil-list li { min-height: 48px; }
.hasil-list i { font-size: 20px; }
.hasil-list span { line-height: 1.45; display: block; }


/* ===== MOBILE FIX NAVBAR & SPACING ===== */
@media (max-width: 991.98px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    padding: 0 12px !important;
  }

  .navbar-brand {
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 18px !important;
  }

  .navbar-toggler {
    margin-right: 0 !important;
  }

  #navbarCollapse {
    background: #fff;
    padding: 12px 16px 18px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .navbar-collapse .d-flex.ms-lg-3,
  .navbar-collapse .d-flex.ms-lg-3 .btn {
    width: 100%;
    max-width: 100%;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar .nav-link {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f1f1;
  }

  .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    display: none;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 8px 16px !important;
    background: #f8f9fa !important;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  .mega-menu {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .mega-menu .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mega-menu .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mega-menu .col-6,
  .mega-menu .col-md-3 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 12px;
  }

  .mega-title {
    color: #1591DC !important;
    margin: 8px 0 4px;
    font-size: 15px;
  }

  .dropdown-item {
    color: #333 !important;
    padding: 8px 0 !important;
    white-space: normal;
  }

  .d-flex.ms-lg-3 {
    padding: 12px 16px 0;
  }

  .d-flex.ms-lg-3 .btn {
    width: 100%;
  }

  .container,
  .container-xxl,
  .container-fluid {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .hero-section h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-section .lead {
    font-size: 0.95rem;
  }

  .hero-section .btn {
    width: 100%;
    margin: 0 0 12px 0 !important;
  }

  .hero-section .btn:last-child {
    margin-bottom: 0 !important;
  }

  .p-4 {
    padding: 20px !important;
  }

  .display-5 {
    font-size: 30px;
  }

  #program-populer .row.g-4 > .col-12,
  #solusi-kebutuhan .row.g-4 > .col-12 {
    margin-bottom: 1.5rem;
  }

  #program-populer .row.g-4 > .col-12:last-child,
  #solusi-kebutuhan .row.g-4 > .col-12:last-child {
    margin-bottom: 0;
  }

  #program-populer a.text-decoration-none {
    display: block;
    min-height: 44px;
  }

  #program-populer a.text-decoration-none .p-4,
  #solusi-kebutuhan .p-4 {
    min-height: 44px;
  }

  #trust-indicator .row.g-4 > .col-6 {
    margin-bottom: 1.5rem;
  }

  #trust-indicator .row.g-4 > .col-6:last-child {
    margin-bottom: 0;
  }

  #trust-indicator i.fa-2x {
    margin-bottom: 1rem;
  }

  #trust-indicator .small.text-muted,
  #trust-indicator .h5 {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  #cta-large .btn {
    width: 100%;
    margin: 0 0 10px 0 !important;
  }
}

/* Custom full-bleed and section title styling */
.container-fluid.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.full-bleed-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 0;
  padding-right: 0;
}
.full-bleed-card {
  max-width: 980px;
  width: 100%;
}
.section-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(21,145,220,0.08);
  color: #1591DC !important;
}
.section-title.bg-white {
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.section-title + h2 {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .navbar .dropdown {
    width: 100%;
  }

  .navbar .dropdown-menu.show-mobile {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }
}

@media (max-width: 991.98px) {  
  .navbar-collapse {  
    padding-left: 16px;  
    padding-right: 16px;  
  }  
}
#cta-large .btn {  
  width: 100%;  
  margin-bottom: 10px;  
}
@media (max-width: 575.98px) {
  .hero-section h1.display-5 {
    font-size: 28px;
    line-height: 1.25;
  }
}
@media (max-width: 375px) {
  .whatsapp-float {
    right: 8px;
    bottom: 8px;
  }
}
@media (max-width: 575.98px){
  footer ul li {
    padding: 6px 0;
  }

  .whatsapp-float {
    right: 8px;
    bottom: 8px;
  }
}
/* ===== FOOTER PROGRAM 2 KOLM MOBILE ===== */
@media (max-width: 575.98px) {
  .footer-program ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 kolom */
    gap: 8px 12px; /* jarak antar item */
    padding-left: 0;
  }

  .footer-program ul li {
    padding: 4px 0;
  }
}
/* ===== FOOTER 4 KOLM DESKTOP, 2 KOLM MOBILE ===== */
@media (max-width: 767.98px) {
  .footer-program ul,
  .footer-training ul,
  .footer-info ul,
  .footer-area ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 kolom di mobile */
    gap: 6px 12px;
    padding-left: 0;
  }

  .footer-program ul li,
  .footer-training ul li,
  .footer-info ul li,
  .footer-area ul li {
    padding: 4px 0;
  }

  .footer-info .btn {
    width: 100%; /* CTA full-width di mobile */
  }
}

/* ===== MOBILE FIX NAVBAR & SPACING ===== */
@media (max-width: 991.98px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    padding: 0 12px !important;
  }

  .navbar-brand {
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 18px !important;
  }

  .navbar-toggler {
    margin-right: 0 !important;
  }

  #navbarCollapse {
    background: #fff;
    padding: 12px 0 18px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar .nav-link {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f1f1;
  }

  .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    display: none;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 8px 16px !important;
    background: #f8f9fa !important;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  .mega-menu {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .mega-menu .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mega-menu .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mega-menu .col-6,
  .mega-menu .col-md-3 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 12px;
  }

  .mega-title {
    color: #0d6efd !important;
    margin: 8px 0 4px;
    font-size: 15px;
  }

  .dropdown-item {
    color: #333 !important;
    padding: 8px 0 !important;
    white-space: normal;
  }

  .d-flex.ms-lg-3 {
    padding: 12px 16px 0;
  }

  .d-flex.ms-lg-3 .btn {
    width: 100%;
  }

  .container,
  .container-xxl,
  .container-fluid {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .hero-section h1 {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero-section .btn {
    width: 100%;
    margin: 0 0 10px 0 !important;
  }

  .p-4 {
    padding: 20px !important;
  }

  .display-5 {
    font-size: 30px;
  }

  #cta-large .btn {
    width: 100%;
    margin: 0 0 10px 0 !important;
  }
}
/* Grid & Card spacing */
.program-populer .card {
  margin-bottom: 16px;
  padding-top: 12px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-populer .card-img-top {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background-color: #f8fafc;
}

.program-populer .card-body {
  display: flex;
  flex-direction: column;
}

.program-populer .card-body .d-flex {
  margin-top: auto;
}

.program-populer .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Mobile 1 kolom */
@media (max-width: 767.98px) {
  .program-populer .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .program-populer .card {
    width: 100%;
  }

  .program-populer .btn {
    width: 100%;
  }
}

/* Icon styling */
.program-populer i {
  color: #007bff;
}