/* ============================================================
   PT BETRACOM GEMILANG NUSA — design tokens
   Tema: hero fotografis full-bleed, overlay gelap, aksen emas tipis
   Type: Space Grotesk (display) / Plus Jakarta Sans (body) / IBM Plex Mono (data)
   ============================================================ */

:root{
  --ink:        #0A1A30;   /* deep navy-black — overlay & panel gelap */
  --ink-soft:   #14294A;
  --ink-line:   rgba(255,255,255,0.14);

  --paper:      #FAF8F3;   /* warm off-white — background utama */
  --paper-2:    #FFFFFF;

  --gold:       #C9A961;   /* aksen emas — sertifikasi & garis pemisah */
  --gold-soft:  #E7D9B2;
  --rust:       #9C3F2A;   /* aksen hangat, dipakai terbatas di CTA */
  --rust-dark:  #7E3220;

  --text:       #1C232C;
  --text-soft:  #59626D;
  --text-inv:   #F6F4EC;
  --text-inv-soft: rgba(246,244,236,0.74);

  --line:       #E5E0D2;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 4px;
  --wrap: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,dl{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--font-display); margin:0; line-height:1.12; letter-spacing:-0.01em; }
p{ margin:0; }

.wrap{
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:28px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

a:focus-visible, button:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 26px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:0.92rem;
  letter-spacing:0.01em;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover{ transform:translateY(-2px); }

.btn-primary{ background:var(--rust); color:var(--text-inv); }
.btn-primary:hover{ background:var(--rust-dark); }

.btn-outline{ border-color:rgba(246,244,236,0.55); color:var(--text-inv); }
.btn-outline:hover{ border-color:var(--text-inv); background:rgba(246,244,236,0.1); }

.btn-outline-dark{ border-color:var(--ink); color:var(--ink); }
.btn-outline-dark:hover{ background:var(--ink); color:var(--text-inv); }

.btn-ghost{
  border-color:var(--ink-line);
  color:var(--text-inv);
  padding:10px 20px;
  font-size:0.86rem;
}
.btn-ghost:hover{ background:rgba(246,244,236,0.1); }

.eyebrow{
  font-family:var(--font-mono);
  font-size:0.74rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold-soft);
  margin:0 0 14px;
}
.eyebrow-dark{ color:var(--rust); }

.link-arrow{
  display:inline-block;
  margin-top:22px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:0.94rem;
  color:var(--ink);
  border-bottom:1.5px solid var(--gold);
  padding-bottom:3px;
}



/* ============================================================
   HERO — foto full-bleed dengan overlay
   ============================================================ */
.hero{
  position:relative;
  min-height:94vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color:var(--text-inv);
  padding-block:120px 135px;
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-media img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(10,20,36,0.55) 0%, rgba(10,20,36,0.35) 38%, rgba(8,16,28,0.88) 100%),
    linear-gradient(90deg, rgba(8,16,28,0.75) 0%, rgba(8,16,28,0.15) 55%);
}
.hero-inner{ position:relative; z-index:1; max-width:660px; }
.hero-title{
  font-size:clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight:700;
  margin-bottom:22px;
  text-shadow:0 2px 24px rgba(0,0,0,0.25);
}
.hero-copy{
  font-size:1.05rem;
  line-height:1.65;
  color:var(--text-inv-soft);
  max-width:540px;
  margin-bottom:36px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* ============================================================
   FLOATING CERTIFICATION CARD — signature element
   ============================================================ */
.cert-card{
  position:relative;
  z-index:2;
  margin-top:-96px;
  margin-bottom:0;
  background:var(--paper-2);
  border-radius:18px;
  box-shadow:0 40px 70px -24px rgba(10,26,48,0.4), 0 1px 0 rgba(201,169,97,0.5) inset;
  padding:38px 44px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:36px;
}
.cert-card-mark{
  width:60px; height:60px;
  color:var(--gold);
  flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background:linear-gradient(155deg, rgba(201,169,97,0.14), rgba(201,169,97,0.03));
}
.cert-card-mark svg{ width:34px; height:34px; }
.cert-card-text{
  font-size:0.98rem;
  color:var(--text);
  line-height:1.5;
  max-width:280px;
}
.cert-card-stats{
  display:grid;
  grid-template-columns:repeat(4, auto);
  gap:0;
}
.cert-card-stats div{
  padding-inline:24px;
  border-left:1px solid var(--line);
}
.cert-card-stats div:first-child{ border-left:none; padding-left:0; }
.cert-card-stats dt{
  font-family:var(--font-display);
  font-size:1.5rem;
  font-weight:700;
  color:var(--ink);
}
.cert-card-stats dd{
  margin:2px 0 0;
  font-size:0.74rem;
  color:var(--text-soft);
  white-space:nowrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about{ padding-block:110px 100px; }
.about-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
}
.about-copy h2{
  font-size:clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom:20px;
  color:var(--ink);
}
.about-copy p{
  color:var(--text-soft);
  line-height:1.7;
  margin-bottom:16px;
  max-width:520px;
}

.fact-list{ display:flex; flex-direction:column; gap:26px; }
.fact-list li{
  display:flex;
  gap:20px;
  padding-bottom:26px;
  border-bottom:1px solid var(--line);
}
.fact-list li:last-child{ border-bottom:none; padding-bottom:0; }
.fact-num{
  font-family:var(--font-mono);
  font-size:0.78rem;
  color:var(--gold);
  border:1px solid var(--gold);
  border-radius:50%;
  width:35px; height:35px;
  flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.fact-list h3{ font-size:1rem; color:var(--ink); margin-bottom:6px; }
.fact-list p{ color:var(--text-soft); font-size:0.9rem; line-height:1.6; }

/* ============================================================
   PROGRAM
   ============================================================ */
.program{ padding-block:100px; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:end;
  margin-bottom:52px;
}
.section-head h2{ font-size:clamp(1.6rem, 2.6vw, 2.1rem); color:var(--ink); }
.section-desc{ color:var(--text-soft); line-height:1.7; }

.program-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.program-card{
  background:var(--paper-2);
  padding:34px 35px;
  border-radius:14px;
  border:1px solid var(--line);
  box-shadow:0 1px 2px rgba(20,25,33,0.04);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.program-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px -16px rgba(10,26,48,0.18);
  border-color:transparent;
}
.program-tag{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:0.68rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--rust);
  border:1px solid var(--rust);
  border-radius:100px;
  padding:4px 10px;
  margin-bottom:16px;
}
.program-card h3{ font-size:1.12rem; margin-bottom:10px; color:var(--ink); }
.program-card p{ color:var(--text-soft); font-size:0.92rem; line-height:1.6; }

.program-more{ margin-top:44px; }

/* ============================================================
   ADVANTAGE
   ============================================================ */
.advantage{ background:var(--ink); color:var(--text-inv); padding-block:100px; }
.advantage-inner{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px; }
.advantage-copy h2{ font-size:clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom:18px; }
.advantage-copy p{ color:var(--text-inv-soft); line-height:1.7; max-width:420px; }

.advantage-list{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.advantage-list li{
  display:flex;
  gap:20px;
  padding:26px;
  border:1px solid var(--ink-line);
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  transition:background-color .2s ease, border-color .2s ease;
}
.advantage-list li:hover{ background:rgba(255,255,255,0.06); border-color:rgba(201,169,97,0.4); }
.advantage-num{
  font-family:var(--font-mono);
  font-size:0.78rem;
  color:var(--gold);
  flex-shrink:0;
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid rgba(201,169,97,0.4);
  display:flex; align-items:center; justify-content:center;
}
.advantage-list h3{ font-size:1.02rem; margin-bottom:6px; color:var(--text-inv); }
.advantage-list p{ color:var(--text-inv-soft); font-size:0.9rem; line-height:1.6; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial{ padding-block:90px; }
.testimonial-inner{ max-width:680px; text-align:center; margin-inline:auto; }
.quote-mark{ width:40px; height:35px; color:var(--gold); margin-inline:auto 22px; }
.testimonial-text{
  font-family:var(--font-display);
  font-size:1.4rem;
  font-weight:500;
  color:var(--ink);
  line-height:1.5;
  margin-bottom:22px;
}
.testimonial-name{ font-family:var(--font-mono); font-size:0.8rem; color:var(--text-soft); }

/* ============================================================
   CTA
   ============================================================ */
.cta{ background:var(--gold-soft); }
.cta-inner{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:56px;
  padding-block:90px;
  align-items:center;
}
.cta h2{ font-size:clamp(1.6rem, 2.6vw, 2.1rem); color:var(--ink); margin-bottom:18px; }
.cta .eyebrow{ color:var(--rust); }
.cta-copy{ color:var(--text-soft); line-height:1.7; max-width:440px; }

.cta-contact{ display:flex; flex-direction:column; gap:24px; align-items:flex-start; }
.cta-details{ display:flex; flex-direction:column; gap:8px; }
.cta-details p{ font-size:0.92rem; color:var(--text); display:flex; gap:10px; }
.cta-details span{
  font-family:var(--font-mono);
  font-size:0.68rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--rust);
  width:64px;
  flex-shrink:0;
  padding-top:2px;
}
/* PROGRAM CARDS — CSS terpisah dan responsif */
:root {
  --program-accent: #243b53;
  --program-text: #172033;
  --program-muted: #66747b;
  --program-border: #e2e8f0;
  --program-surface: #fff;
}
.program-tools { margin: 28px 0; }
.program-search {
  display: flex; align-items: center; gap: 10px;
  width: min(100%, 520px); min-height: 48px; box-sizing: border-box;
  padding: 0 14px; border: 1px solid var(--program-border);
  border-radius: 10px; background: var(--program-surface);
}
.program-search input {
  width: 100%; min-width: 0; border: 0; outline: 0;
  background: transparent; color: var(--program-text); font: inherit;
}
.program-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.filter-btn {
  padding: 9px 15px; border: 1px solid var(--program-border);
  border-radius: 999px; background: var(--program-surface);
  color: var(--program-text); font: inherit; font-size: 13px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--program-accent); border-color: var(--program-accent); color: #fff;
}
.filter-btn:focus-visible, .program-card:focus-visible {
  outline: 3px solid #7c9ab8; outline-offset: 3px;
}
#programResultCount { min-height: 18px; margin: 12px 0 0; color: var(--program-muted); font-size: 13px; }
#programGrid.program-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; align-items: stretch;
}
.program-card {
  display: flex; min-width: 0; flex-direction: column; overflow: hidden;
  border: 1px solid var(--program-border); border-radius: 14px;
  background: var(--program-surface); color: inherit; text-decoration: none;
  box-shadow: 0 4px 16px rgba(15,23,42,.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.program-card:hover {
  transform: translateY(-4px); border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15,23,42,.11);
}
.program-image { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #edf1f5; }
.program-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.program-card:hover .program-image img { transform: scale(1.045); }
.program-image.image-missing::after {
  content: "Tambahkan gambar program"; position: absolute; inset: 0;
  display: grid; place-items: center; padding: 16px; color: #64748b;
  font-size: 13px; text-align: center;
}
.program-tag {
  position: absolute; left: 13px; bottom: 13px; max-width: calc(100% - 26px);
  padding: 7px 10px; border-radius: 6px; background: rgba(255,255,255,.95);
  color: var(--program-accent); font-size: 11px; font-weight: 700; letter-spacing: .035em;
}
.program-meta { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; }
.program-meta h3 { margin: 0 0 10px; color: var(--program-text); font-size: 18px; line-height: 1.45; overflow-wrap: anywhere; }
.program-meta p { margin: 0 0 18px; color: var(--program-muted); font-size: 14px; line-height: 1.75; }
.program-detail { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--program-accent); font-size: 13px; font-weight: 700; }
.program-detail span { transition: transform .2s ease; }
.program-card:hover .program-detail span { transform: translateX(4px); }
#emptyState[hidden] { display: none !important; }

@media (max-width: 900px) {
  #programGrid.program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 560px) {
  .program-search { width: 100%; }
  .program-filters {
    flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn { flex: 0 0 auto; white-space: nowrap; }
  #programGrid.program-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .program-image { aspect-ratio: 16/9; }
  .program-meta { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .program-card, .program-image img, .program-detail span, .filter-btn { transition: none; }
  .program-card:hover { transform: none; }
}

/* =================================
   ARTIKEL K3 & HSE
================================= */

.articles {
  padding: 70px 0;
}

.articles .wrap {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* GRID ARTIKEL */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* KOTAK ARTIKEL */

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

/* GAMBAR ARTIKEL */

.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f6;
}

.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.04);
}

/* ISI ARTIKEL */

.article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.article-body small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.article-body h3 {
  margin: 12px 0;
  color: #172033;
  font-size: 18px;
  line-height: 1.5;
}

.article-body p {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}

/* TOMBOL ARTIKEL */

.article-body a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
  color: #243b53;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.article-body a:hover {
  text-decoration: underline;
}

/* TABLET */

@media (max-width: 900px) {
  .articles {
    padding: 56px 0;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* PONSEL */

@media (max-width: 560px) {
  .articles {
    padding: 45px 0;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-body {
    padding: 18px;
  }

  .article-body h3 {
    font-size: 17px;
  }
}

/* AKSESIBILITAS */

@media (prefers-reduced-motion: reduce) {
  .article-card,
  .article-image img {
    transition: none;
  }

  .article-card:hover {
    transform: none;
  }
}
/* Pembungkus Grid/Container Artikel */
#articleGrid {
  display: flex;
  gap: 20px;                 /* Jarak antar kartu */
  overflow-x: auto;          /* Memungkinkan scroll ke samping */
  scroll-snap-type: x mandatory; /* Efek snap agar berhenti pas di setiap kartu */
  padding-bottom: 15px;      /* Ruang untuk scrollbar */
  scrollbar-width: thin;     /* Memperindah tampilan scrollbar di Firefox */
}

/* Mengatur ukuran kartu agar tidak mengecil saat di-scroll */
#articleGrid .article-card {
  flex: 0 0 300px;           /* Lebar tetap per kartu (bisa diubah misal: 320px) */
  scroll-snap-align: start;  /* Titik snap saat digeser */
}
/* Atur ulang style tag <a> agar tampil bersih tanpa kotak/border */
/* Atur ulang style tag <a> agar tampil bersih tanpa kotak/border */
#articleGrid .article-body a.program-card {
  display: inline-block !important;
  background: transparent !important;   /* Menghilangkan background putih */
  border: none !important;              /* Menghilangkan garis kotak/border */
  padding: 0 !important;                /* Menghilangkan padding kotak */
  color: #1a202c !important;            /* Warna teks gelap */
  font-weight: 600 !important;          /* Tebal */
  text-decoration: none !important;     /* Tanpa garis bawah */
  margin-top: auto !important;          /* UBAH INI: Mendorong tombol mentok ke bawah */
  align-self: flex-start !important;    /* Memastikan posisi tombol tetap di sebelah kiri */
}

/* Efek saat kursor diarahkan ke teks (opsional) */
#articleGrid .article-body a.program-card:hover {
  color: #2c5282 !important;
}
/* =========================================
   PROGRAM PELATIHAN — DESAIN SEPERTI ARTIKEL
   Letakkan di bagian paling bawah file CSS
========================================= */

/* GRID PROGRAM: horizontal scroll seperti artikel */
#programGrid.program-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 16px;
  align-items: stretch;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #f1f5f9;
  -webkit-overflow-scrolling: touch;
}

/* UKURAN KARTU PROGRAM */
#programGrid .program-card {
  flex: 0 0 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;

  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);

  color: inherit;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* EFEK HOVER */
#programGrid .program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

/* GAMBAR PROGRAM */
#programGrid .program-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f6;
  flex-shrink: 0;
}

#programGrid .program-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

#programGrid .program-card:hover .program-image img {
  transform: scale(1.04);
}

/* LABEL KATEGORI */
#programGrid .program-tag {
  position: absolute;
  left: 13px;
  bottom: 13px;
  max-width: calc(100% - 26px);

  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);

  color: #243b53;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

/* ISI KARTU */
#programGrid .program-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px;
}

/* JUDUL PROGRAM */
#programGrid .program-meta h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* DESKRIPSI PROGRAM */
#programGrid .program-meta p {
  margin: 0 0 18px;
  color: #64747d;
  font-size: 14px;
  line-height: 1.8;
}

/* LINK LIHAT PROGRAM */
#programGrid .program-detail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;

  color: #172033;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

#programGrid .program-detail span {
  transition: transform 0.2s ease;
}

#programGrid .program-card:hover .program-detail span {
  transform: translateX(4px);
}

/* GAMBAR YANG BELUM TERSEDIA */
#programGrid .program-image.image-missing::after {
  content: "Tambahkan gambar program";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;

  color: #64748b;
  font-size: 13px;
  text-align: center;
}

/* TABLET */
@media (max-width: 900px) {
  #programGrid .program-card {
    flex-basis: 280px;
  }
}

/* PONSEL */
@media (max-width: 560px) {
  #programGrid.program-grid {
    gap: 16px;
  }

  #programGrid .program-card {
    flex-basis: 85%;
    max-width: 320px;
  }

  #programGrid .program-meta {
    padding: 18px;
  }

  #programGrid .program-meta h3 {
    font-size: 17px;
  }
}

/* AKSESIBILITAS */
@media (prefers-reduced-motion: reduce) {
  #programGrid .program-card,
  #programGrid .program-image img,
  #programGrid .program-detail span {
    transition: none;
  }

  #programGrid .program-card:hover {
    transform: none;
  }
}
/* =================================
   ALUMNI SECTION STYLES
================================= */
.alumni-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.alumni-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Badge Kuning */
.alumni-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffc107; /* Warna kuning */
  color: #1a202c;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.25); /* Efek glow kuning */
}

/* Tipografi Judul */
.alumni-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

/* Sorotan Biru pada Teks */
.highlight-blue {
  background-color: #e0f2fe;
  color: #0284c7;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  transform: rotate(-1.5deg); /* Sedikit dimiringkan seperti desain marker */
}

/* Subjudul */
.alumni-subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0 0 50px;
  line-height: 1.6;
}

/* =================================
   MARQUEE (ANIMASI SCROLL LOGO)
================================= */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: white;
  padding: 20px 0;
  display: flex;
}

/* Efek fade putih di sisi kiri dan kanan agar scroll terlihat halus */
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.logo-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* Trek yang menampung logo */
.logo-track {
  display: flex;
  align-items: center;
  /* Lebar total adalah (lebar item * jumlah logo asli) */
  /* Di sini diasumsikan 5 logo asli @200px = 1000px, diduplikat jadi 10 item */
  width: calc(200px * 10); 
  animation: scrollTrack 25s linear infinite;
}

/* Masing-masing kotak logo */
.logo-item {
  width: 200px; /* Lebar ruang tiap logo */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  box-sizing: border-box;
}

.logo-item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  /* Bagian filter grayscale dan opacity dihapus agar warna asli langsung muncul */
}

/* Anda juga bisa menghapus blok hover ini jika tidak diperlukan efek apa-apa saat disentuh */
.logo-item img:hover {
  transform: scale(1.05); /* Opsional: memberikan sedikit efek membesar saat mouse diarahkan */
  transition: transform 0.3s ease;
}

/* Keyframe untuk menggerakkan trek dari 0 ke kiri sejauh 5 item (set pertama) */
@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 5)); } 
}

/* Responsif Mobile */
@media (max-width: 768px) {
  .alumni-title { font-size: 28px; }
  .logo-item { width: 150px; padding: 0 15px; }
  .logo-track { width: calc(150px * 10); }
  @keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-150px * 5)); }
  }
}
/* =========================================
   FIX RESPONSIVE MOBILE — BETRACOM
   Tempel di paling bawah home1.css
========================================= */

/* Mencegah elemen melebihi viewport */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

/* HERO */
.hero {
  width: 100%;
  min-width: 0;
}

.hero-inner {
  width: 100%;
  min-width: 0;
}

.hero-title {
  overflow-wrap: break-word;
}

.hero-copy {
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 125px;
    align-items: flex-end;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.15;
    margin-bottom: 18px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    text-align: center;
  }

  /* KARTU SERTIFIKASI */
  .cert-card {
    width: 100%;
    min-width: 0;
    margin-top: -65px;
    padding: 24px 20px;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    border-radius: 16px;
  }

  .cert-card-mark {
    width: 48px;
    height: 48px;
  }

  .cert-card-text {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
  }

  .cert-card-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cert-card-stats div {
    min-width: 0;
    padding: 0 8px;
    border-left: 1px solid var(--line);
  }

  .cert-card-stats div:first-child {
    padding-left: 0;
    border-left: none;
  }

  .cert-card-stats dt {
    font-size: clamp(16px, 4.5vw, 22px);
  }

  .cert-card-stats dd {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.5;
  }

  /* TENTANG KAMI */
  .about {
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .about-copy,
  .fact-list,
  .fact-list li,
  .fact-list li > div {
    min-width: 0;
  }

  .about-copy h2 {
    font-size: 27px;
    line-height: 1.25;
  }

  .about-copy p,
  .fact-list p {
    overflow-wrap: anywhere;
  }

  /* JUDUL SECTION */
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  /* KEUNGGULAN */
  .advantage {
    padding-block: 60px;
  }

  .advantage-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .advantage-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .advantage-list li {
    min-width: 0;
    padding: 20px;
  }

  /* CTA */
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-block: 55px;
  }

  .cta-contact {
    min-width: 0;
    width: 100%;
  }

  .cta-details,
  .cta-details p {
    min-width: 0;
    max-width: 100%;
  }

  .cta-details p {
    overflow-wrap: anywhere;
  }

  /* ARTIKEL */
  .articles .wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  #articleGrid .article-card {
    flex-basis: 85%;
    min-width: 0;
  }
}

/* HP yang sangat kecil */
@media (max-width: 360px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cert-card {
    padding: 20px 14px;
  }

  .cert-card-stats div {
    padding-left: 5px;
    padding-right: 5px;
  }

  .cert-card-stats dt {
    font-size: 16px;
  }

  .hero-title {
    font-size: 29px;
  }
}
