:root {
  --navy: #102b4e;
  --blue: #145da0;
  --cyan: #19a7ce;
  --gold: #f2b544;
  --ink: #183047;
  --muted: #65778a;
  --bg: #f4f7fb;
  --white: #fff;
  --line: #e4ebf2;
  --shadow: 0 16px 45px rgba(16, 43, 78, .12);
  --header-h: 78px;
}

/* ---------- Reset & dasar ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(1160px, 92%);
  margin: auto;
}

.section {
  padding: 82px 0;
}

.bg {
  background: var(--bg);
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
  transition: .2s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px #145da033;
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid #cbd8e5;
  color: var(--navy);
  background: #fff;
}

/* =========================================================
   HEADER (top bar)
   ========================================================= */
.topbar {
  background: var(--navy);
  color: #dbe8f4;
  font-size: 12px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.site-header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  max-height: 75px;
  width: auto;
  margin-right: 10px;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex: 1;
}

.navlinks a {
  color: #222;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.navlinks a:hover,
.navlinks a.active {
  color: #0d6efd;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Dropdown menu utama */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.nav-dropdown-toggle:hover {
  background: #eef6fb;
  border-color: #cbddea;
}

.chevron {
  font-size: 16px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  min-width: 290px;
  max-height: 75vh;
  overflow-y: auto;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 40;
}

.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 12px;
  color: #40566d;
}

.dropdown-menu a:hover {
  background: #eef6fb;
  color: var(--blue);
}

.dropdown-menu a.active {
  background: #eef6fb;
  color: var(--blue);
  font-weight: 800;
}

.dropdown-heading {
  display: block;
  padding: 8px 12px 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 4px;
}

/* =========================================================
   ISI KONTEN
   ========================================================= */

/* ---- Hero (beranda) ---- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 570px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 29, 53, .93) 0%, rgba(8, 29, 53, .78) 48%, rgba(8, 29, 53, .18) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2000&q=85') center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -130px auto;
  width: 460px;
  height: 460px;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  box-shadow: 0 0 0 55px #ffffff0b, 0 0 0 110px #ffffff08;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding: 88px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffe0a0;
  background: #ffffff16;
  border: 1px solid #ffffff2b;
  padding: 8px 13px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin: 22px 0 18px;
  max-width: 680px;
}

.hero h1 span {
  color: #80dcf3;
}

.hero p {
  font-size: 16px;
  color: #e0eaf4;
  max-width: 590px;
  margin: 0 0 28px;
}

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

.hero .btn {
  padding: 14px 20px;
}

.hero .btn-outline {
  background: #ffffff12;
  color: #fff;
  border-color: #ffffff66;
}

.hero-note {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: #d5e1ed;
  font-size: 12px;
}

.hero-note span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check {
  color: #8de0b2;
  font-weight: 900;
}

/* ---- Judul halaman dalam ---- */
.page-hero {
  color: #fff;
  padding: 64px 0;
  text-align: center;
  background: linear-gradient(110deg, var(--navy), var(--blue));
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 18px 0 10px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #d5e4f1;
  font-size: 15px;
}

/* ---- Statistik ---- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 24px 10px;
}

.stat {
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border: 0;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 25px;
  line-height: 1.2;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

/* ---- Judul seksi ---- */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 38px;
}

.kicker {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 900;
}

.section-head h2 {
  font-size: clamp(27px, 3.5vw, 38px);
  line-height: 1.2;
  color: var(--navy);
  margin: 10px 0 12px;
  letter-spacing: -.7px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---- Tentang ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.photo-tag {
  position: absolute;
  right: -18px;
  bottom: 25px;
  background: #fff;
  padding: 17px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 220px;
}

.photo-tag strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.photo-tag span {
  font-size: 11px;
  color: var(--muted);
}

.about-copy h2 {
  font-size: 34px;
  line-height: 1.2;
  color: var(--navy);
  margin: 10px 0 17px;
}

.about-copy p {
  color: var(--muted);
  font-size: 14px;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 24px 0;
}

.value {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.value-icon {
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 10px;
  background: #eaf5fb;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.value b {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.value small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

/* ---- Bidang pelatihan ---- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.training-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  scroll-margin-top: 110px;
  transition: .2s;
}

.training-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.training-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.training-body {
  padding: 17px;
}

.training-body small {
  font-size: 10px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.training-body h3 {
  font-size: 15px;
  line-height: 1.35;
  color: var(--navy);
  margin: 7px 0 0;
}

/* ---- Kartu layanan ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  transition: .2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 22px;
}

.card-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--blue);
  text-transform: uppercase;
}

.card h3 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
  margin: 9px 0;
}

.card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 15px;
}

.text-link {
  font-size: 12px;
  font-weight: 900;
  color: var(--blue);
}

/* ---- Proses asesmen ---- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.process-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 23px 18px;
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 27px;
  font-weight: 900;
  color: #c4dceb;
}

.process-item h3 {
  font-size: 15px;
  color: var(--navy);
  margin: 10px 0 5px;
}

.process-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ---- Alur sertifikasi BNSP ---- */
.bnsp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: bnsp;
}

.bnsp-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px 18px;
}

.bnsp-step::before {
  counter-increment: bnsp;
  content: "0" counter(bnsp);
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eaf5fb;
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
}

.bnsp-step h3 {
  font-size: 14px;
  line-height: 1.35;
  color: var(--navy);
  margin: 13px 0 7px;
}

.bnsp-step p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.bnsp-step ul {
  padding-left: 17px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.bnsp-note {
  margin-top: 22px;
  background: #eef6fb;
  border-left: 4px solid var(--cyan);
  padding: 15px 17px;
  border-radius: 8px;
  color: #496176;
  font-size: 12px;
}

.notice {
  font-size: 11px;
  color: #7a5a1b;
  background: #fff7e6;
  border: 1px solid #f4dfae;
  padding: 12px 15px;
  border-radius: 9px;
  margin-top: 20px;
}

/* ---- Galeri ---- */
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 175px 175px;
  gap: 13px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

.gallery img:first-child {
  grid-row: span 2;
}

/* ---- Detail bidang (halaman skema) ---- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 35px;
  align-items: start;
}

.detail-grid h2 {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.detail-grid p {
  color: var(--muted);
  font-size: 14px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 16px;
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* ---- CTA ---- */
.cta {
  background: linear-gradient(110deg, var(--navy), #145da0);
  color: #fff;
  border-radius: 20px;
  padding: 42px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.cta h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.cta p {
  font-size: 13px;
  color: #d5e4f1;
  margin: 0;
}

.cta .btn {
  background: var(--gold);
  color: #182d43;
  white-space: nowrap;
}

/* ---- Kontak ---- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 35px;
}

.contact-info h2 {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
  margin: 10px 0;
}

.contact-info p {
  color: var(--muted);
  font-size: 13px;
}

.contact-line {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  align-items: center;
}

.contact-line i {
  font-style: normal;
  width: 38px;
  height: 38px;
  flex: none;
  background: #eaf5fb;
  color: var(--blue);
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.contact-line b {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.contact-line span {
  font-size: 12px;
  color: var(--muted);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 15px;
  padding: 26px;
}

.contact-form h3 {
  margin: 0 0 18px;
  color: var(--navy);
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #dce5ed;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #0b2038;
  color: #d9e5f0;
  padding: 45px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 35px;
}

.footer .brand {
  color: #fff;
}

.footer .brand small {
  color: #aebfd0;
}

.footer .brand-logo {
  background: #fff;
  border-radius: 8px;
  padding: 3px;
}

.footer-grid p,
.footer-grid a {
  font-size: 12px;
  color: #aebfd0;
}

.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  margin: 0 0 13px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-grid a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid #ffffff1c;
  margin-top: 30px;
  padding-top: 17px;
  font-size: 10px;
  color: #9eb0c2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== animasi.css — lapisan animasi untuk LSP LPK Transafe Dharma Persada ===== */

/* Progress bar scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  z-index: 9999;
  pointer-events: none
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(245, 158, 11, .5) 60%, transparent 70%);
  animation: orbFloat 14s ease-in-out infinite;
  will-change: transform
}

.hero-orb.o1 {
  width: 340px;
  height: 340px;
  top: -80px;
  right: -60px
}

.hero-orb.o2 {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: 8%;
  animation-duration: 18s;
  animation-delay: -6s;
  opacity: .25
}

.hero-orb.o3 {
  width: 180px;
  height: 180px;
  top: 35%;
  right: 30%;
  animation-duration: 11s;
  animation-delay: -3s;
  opacity: .2
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1)
  }

  33% {
    transform: translate3d(30px, -40px, 0) scale(1.08)
  }

  66% {
    transform: translate3d(-25px, 25px, 0) scale(.94)
  }
}

/* Hero masuk berurutan */
.js-anim .hero-content>* {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) forwards
}

.js-anim .hero-content>*:nth-child(1) {
  animation-delay: .1s
}

.js-anim .hero-content>*:nth-child(2) {
  animation-delay: .25s
}

.js-anim .hero-content>*:nth-child(3) {
  animation-delay: .4s
}

.js-anim .hero-content>*:nth-child(4) {
  animation-delay: .55s
}

.js-anim .hero-content>*:nth-child(5) {
  animation-delay: .7s
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none
  }
}

/* Kata "Tempat Kerja" bercahaya bergerak */
.hero h1 span {
  background: linear-gradient(100deg, currentColor 30%, #fde68a 50%, currentColor 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite
}

@keyframes shimmer {
  from {
    background-position: 120% 0
  }

  to {
    background-position: -120% 0
  }
}

/* Titik eyebrow berdenyut */
.eyebrow .dot {
  position: relative
}

.eyebrow .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2.8);
    opacity: 0
  }
}

/* Centang hero */
.hero-note .check {
  display: inline-block;
  animation: pop 2.6s ease-in-out infinite
}

.hero-note span:nth-child(2) .check {
  animation-delay: .3s
}

.hero-note span:nth-child(3) .check {
  animation-delay: .6s
}

@keyframes pop {

  0%,
  70%,
  100% {
    transform: scale(1)
  }

  85% {
    transform: scale(1.35)
  }
}

/* ---------- TOMBOL ---------- */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18)
}

.btn:active {
  transform: translateY(-1px) scale(.98)
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease
}

.btn:hover::after {
  left: 140%
}

.btn-primary {
  animation: btnGlow 3s ease-in-out infinite
}

@keyframes btnGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, .0)
  }

  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, .14)
  }
}

.text-link {
  display: inline-block;
  transition: transform .25s ease, letter-spacing .25s ease
}

.text-link:hover {
  transform: translateX(6px)
}

/* ---------- SCROLL REVEAL ---------- */
.js-anim [data-reveal] {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform
}

.js-anim [data-reveal="up"] {
  transform: translateY(40px)
}

.js-anim [data-reveal="left"] {
  transform: translateX(-60px)
}

.js-anim [data-reveal="right"] {
  transform: translateX(60px)
}

.js-anim [data-reveal="zoom"] {
  transform: scale(.9)
}

.js-anim [data-reveal].in {
  opacity: 1;
  transform: none
}

/* ---------- KARTU ---------- */
.training-card,
.card {
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease
}

.training-card:hover,
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, .18)
}

.training-card img,
.card img {
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  will-change: transform
}

.training-card:hover img,
.card:hover img {
  transform: scale(1.1)
}

.training-body small {
  transition: letter-spacing .3s ease
}

.training-card:hover .training-body small {
  letter-spacing: .06em
}

/* ---------- STATISTIK & NILAI ---------- */
.stat {
  transition: transform .3s ease, box-shadow .3s ease
}

.stat:hover {
  transform: translateY(-6px)
}

.value {
  transition: transform .3s ease
}

.value:hover {
  transform: translateX(6px)
}

.value-icon {
  transition: transform .5s ease
}

.value:hover .value-icon {
  transform: rotate(360deg) scale(1.15)
}

/* ---------- FOTO TENTANG ---------- */
.about-photo {
  overflow: hidden
}

.about-photo img {
  transition: transform 1.2s ease
}

.about-photo:hover img {
  transform: scale(1.06)
}

.photo-tag {
  animation: floatY 5s ease-in-out infinite
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden
}

.cta::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .12) 85%, transparent 100%);
  animation: spin 12s linear infinite;
  pointer-events: none
}

.cta>* {
  position: relative;
  z-index: 1
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* ---------- Aksesibilitas ---------- */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }

  .js-anim [data-reveal],
  .js-anim .hero-content>* {
    opacity: 1 !important;
    transform: none !important
  }
}

/* ===== sosmed.css — ikon sosial media footer ===== */
.footer .social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: flex-start
}

/* spesifisitas dinaikkan agar tidak ditimpa style ".footer a" bawaan */
.footer .social .social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  line-height: 1;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.footer .social .social-link i {
  display: block;
  font-size: 18px;
  line-height: 1;
  margin: 0;
  position: relative;
  z-index: 1;
  transition: transform .3s ease
}

/* lapisan warna naik dari bawah saat hover */
.footer .social .social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c, #f59e0b);
  transform: translateY(101%);
  transition: transform .3s ease;
}

.footer .social .social-link:hover,
.footer .social .social-link:focus-visible {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
  outline: none;
}

.footer .social .social-link:hover::before,
.footer .social .social-link:focus-visible::before {
  transform: translateY(0)
}

.footer .social .social-link:hover i,
.footer .social .social-link:focus-visible i {
  transform: scale(1.15) rotate(-6deg)
}

/* warna khas tiap platform */
.social-link[aria-label="Instagram"] {
  --c: #e1306c
}

.social-link[aria-label="Facebook"] {
  --c: #1877f2
}

.social-link[aria-label="YouTube"] {
  --c: #ff0000
}

.social-link[aria-label="TikTok"] {
  --c: #101010
}

/* muncul berurutan saat footer terlihat (butuh animasi.js) */
.js-anim .footer .social .social-link {
  opacity: 0;
  transform: translateY(14px) scale(.8)
}

.js-anim .footer .social.in .social-link {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * .08s)
}

.js-anim .footer .social.in .social-link:hover {
  transform: translateY(-5px);
  transition-delay: 0s
}

/* Opsional: ikon rata tengah — tambahkan class "center" pada <div class="social center"> */
.footer .social.center {
  justify-content: center
}

@media (prefers-reduced-motion:reduce) {
  .js-anim .footer .social .social-link {
    opacity: 1 !important;
    transform: none !important
  }
}

/* ===== Tombol WhatsApp mengambang (kanan halaman) ===== */
a.wa-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
  animation: waIn .7s .8s cubic-bezier(.2, .7, .2, 1) both, waBob 3.5s 1.6s ease-in-out infinite;
}

a.wa-float i {
  font-size: 32px;
  line-height: 1;
  display: block
}

a.wa-float::before {
  /* cincin berdenyut */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPing 2.2s cubic-bezier(0, 0, .2, 1) infinite;
}

a.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .6);
  animation-play-state: running, paused
}

.wa-tip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translate(10px, -50%);
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

a.wa-float:hover .wa-tip,
a.wa-float:focus-visible .wa-tip {
  opacity: 1;
  transform: translate(0, -50%)
}

@keyframes waIn {
  from {
    opacity: 0;
    transform: translateX(80px) scale(.6)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes waBob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

@keyframes waPing {

  75%,
  100% {
    transform: scale(1.7);
    opacity: 0
  }
}

@media (max-width:600px) {
  a.wa-float {
    right: 14px;
    bottom: 16px;
    width: 52px;
    height: 52px
  }

  .wa-tip {
    display: none
  }
}

@media (prefers-reduced-motion:reduce) {

  a.wa-float,
  a.wa-float::before {
    animation: none !important
  }
}

/* ===== Alamat footer ===== */
.footer .footer-address {
  font-style: normal;
  margin-top: 16px;
  display: grid;
  gap: 12px
}

.footer .footer-address .addr-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55
}

.footer .footer-address .addr-item i {
  flex: none;
  width: 18px;
  margin-top: 3px;
  text-align: center;
  color: #f59e0b
}

.footer .footer-address .addr-item a {
  display: inline;
  margin: 0;
  padding: 0
}

.footer .footer-address .addr-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .25s ease, transform .25s ease
}

.footer .footer-address .addr-map:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px)
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

  .site-header .nav {
    min-height: 70px;
    position: relative;
  }

  .menu-btn {
    display: block;
  }

  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
  }

  .navlinks.show {
    display: flex;
  }

  .navlinks a {
    padding: 12px 5px;
    border-bottom: 1px solid #eee;
  }
}

@media (max-width: 850px) {

  /* Menu: tombol hamburger membuka panel, isi dropdown langsung tampil */
  .menu-btn {
    display: block;
  }

  .navlinks {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 4% 18px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .navlinks.open {
    display: flex;
  }

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

  .dropdown-menu {
    display: block;
    position: static;
    min-width: 0;
    max-height: none;
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .about-grid,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .process,
  .bnsp-flow,
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 530px;
  }

  .about-photo img {
    height: 330px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 68px;
  }

  .topbar .container {
    justify-content: center;
  }

  .brand {
    font-size: 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 590px;
    background-position: 58% center;
  }

  .hero-content {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 14px;
  }

  .stats-grid {
    padding: 17px 5px;
  }

  .stat strong {
    font-size: 15px;
  }

  .stat span {
    font-size: 5px;
  }

  .cards,
  .bnsp-flow,
  .footer-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .training-grid {
    grid-template-columns: 1fr 1fr;
  }

  .training-card img {
    height: 110px;
  }

  .training-body {
    padding: 12px;
  }

  .training-body h3 {
    font-size: 12px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 130px 130px;
  }

  .cta {
    padding: 28px 23px;
    display: block;
  }

  .cta .btn {
    margin-top: 18px;
  }

  .photo-tag {
    right: 10px;
  }

  .copyright {
    display: block;
  }
}