
    :root {
      --bg: #0f172a;
      --bg-soft: #111827;
      --card: #0b1220;
      --text: #e5e7eb;
      --muted: #94a3b8;
      --brand: #22d3ee;
      --brand-2: #7c3aed;
      --accent: #10b981;
      --line: #1f2937;
      --shadow: 0 10px 30px rgba(0, 0, 0, .25);
      --radius: 16px;
    }

    [data-theme="light"] {
      --bg: #f8fafc;
      --bg-soft: #ffffff;
      --card: #ffffff;
      --text: #0f172a;
      --muted: #475569;
      --brand: #0ea5e9;
      --brand-2: #6366f1;
      --accent: #16a34a;
      --line: #e5e7eb;
      --shadow: 0 10px 30px rgba(2, 6, 23, .12);
    }

    .text-gradient {
  background: linear-gradient(135deg, #a2b3cd, #6610f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


    figure {
      position: relative;
      width: 300px;
      height: 200px;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      cursor: pointer;
    }

    figure img {
      width: 100%;
      height: 100%;
      /* object-fit: cover; */
      display: block;
      transition: transform 0.4s ease;
    }

    figure:hover img {
      transform: scale(1.1);
    }

    figcaption {
      position: absolute;
      bottom: 20px;
      left: -100%;
      width: 100%;
      text-align: center;
      color: white;
      font-size: 1.5em;
      font-weight: bold;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
      transition: left 0.6s ease;
    }

    figure:hover figcaption {
      left: 0;
    }

    /* Tambahan responsive lebih kecil */
    @media (max-width: 768px) {

      .grid-3,
      .grid-4,
      .stats {
        grid-template-columns: 1fr 1fr;
        /* jadi 2 kolom di tablet */
      }

      .masonry {
        columns: 2 150px;
        /* galeri jadi 2 kolom */
      }

      figure {
        width: 100%;
        height: auto;
      }

      figcaption {
        font-size: 1.2em;
      }
    }

    @media (max-width: 480px) {

      .grid-3,
      .grid-4,
      .stats {
        grid-template-columns: 1fr;
        /* jadi 1 kolom di hp */
      }

      .masonry {
        columns: 1;
        /* galeri jadi 1 kolom */
      }

      .title {
        font-size: 24px;
      }

      .sec-head {
        flex-direction: column;
        align-items: flex-start;
      }

      .cta {
        flex-direction: column;
        width: 100%;
      }

      .cta .btn {
        width: 100%;
        /* tombol full width */
        text-align: center;
      }
    }


    * {
      box-sizing: border-box
    }

    html,
    body {
      margin: 0;
      padding: 0;
      font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--text);
      background: var(--bg);
      scroll-behavior: smooth
    }

    img {
      max-width: 100%;
      display: block
    }

    a {
      text-decoration: none;
      color: inherit
    }

    .container {
      max-width: 1100px;
      margin-inline: auto;
      padding: 0 18px
    }

    /* Navbar */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: color-mix(in hsl, var(--bg), transparent 10%);
      backdrop-filter: saturate(150%) blur(10px);
      border-bottom: 1px solid var(--line)
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 12px 0
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700
    }

    .logo {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      display: grid;
      place-items: center;
      color: #fff;
      box-shadow: var(--shadow)
    }

    .nav-links {
      display: flex;
      gap: 18px
    }

    .nav-links a {
      padding: 10px 12px;
      border-radius: 12px;
      color: var(--muted)
    }

    .nav-links a:hover {
      background: var(--line)
    }

    .hamburger {
      display: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 12px;
      border: 1px solid var(--line)
    }

    /* Toggle dark mode */
    .toggle {
      display: flex;
      align-items: center;
      gap: 8px
    }

    .switch {
      position: relative;
      width: 54px;
      height: 28px;
      background: var(--line);
      border-radius: 999px;
      cursor: pointer;
      border: 1px solid var(--line)
    }

    .knob {
      position: absolute;
      inset: 3px auto 3px 3px;
      height: 22px;
      width: 22px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      transition: transform .25s ease
    }

    [data-theme="light"] .knob {
      transform: translateX(0)
    }

    [data-theme="dark"] .knob {
      transform: translateX(26px)
    }

    /* Hero */
    .hero {
      position: relative;
      overflow: hidden;
      background: radial-gradient(1200px 600px at 10% -10%, color-mix(in hsl, var(--brand), transparent 70%), transparent),
        radial-gradient(900px 500px at 110% 10%, color-mix(in hsl, var(--brand-2), transparent 70%), transparent);
    }

    .hero .wrap {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 28px;
      align-items: center;
      padding: 60px 0
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      background: color-mix(in hsl, var(--bg), transparent 15%)
    }

    .title {
      font-size: clamp(28px, 5vw, 48px);
      line-height: 1.1;
      margin: 14px 0 8px
    }

    .subtitle {
      color: var(--muted);
      max-width: 60ch
    }

    .cta {
      display: flex;
      gap: 12px;
      margin-top: 22px;
      flex-wrap: wrap
    }

    .btn {
      padding: 12px 16px;
      border-radius: 12px;
      border: 1px solid var(--line);
      font-weight: 600
    }

    .btn.brand {
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      color: #fff;
      border: none;
      box-shadow: var(--shadow)
    }

    .btn.ghost:hover {
      background: var(--line)
    }

    .hero-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow)
    }


    section {
      padding: 60px 0;
      border-top: 1px solid var(--line)
    }

    .sec-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 22px
    }

    .sec-title {
      font-size: clamp(22px, 3.2vw, 32px)
    }

    .sec-desc {
      color: var(--muted)
    }

    .grid {
      display: grid;
      gap: 16px
    }

    .grid-3 {
      grid-template-columns: repeat(3, 1fr)
    }

    .grid-4 {
      grid-template-columns: repeat(4, 1fr)
    }

    .card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 16px;
      transition: transform .15s ease, box-shadow .15s ease
    }

    .card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow)
    }

    .card h3 {
      margin: 8px 0 6px;
      font-size: 18px
    }

    .muted {
      color: var(--muted)
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px
    }

    .stat {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
      text-align: center
    }

    .stat .num {
      font-size: 28px;
      font-weight: 700
    }

    .masonry {
      columns: 3 260px;
      column-gap: 14px
    }

    .masonry figure {
      break-inside: avoid;
      margin: 0 0 14px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: hidden
    }

    .masonry .ph {
      aspect-ratio: 4/3;
      background: linear-gradient(135deg, color-mix(in hsl, var(--brand), transparent 35%), color-mix(in hsl, var(--brand-2), transparent 35%));
      display: grid;
      place-items: center;
      color: #fff;
      font-weight: 600
    }

    footer {
      padding: 30px 0;
      border-top: 1px solid var(--line);
      color: var(--muted)
    }

    .hide {
      display: none
    }

    .tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 999px;
      background: color-mix(in hsl, var(--bg), transparent 10%);
      border: 1px solid var(--line);
      font-size: 12px;
      color: var(--muted)
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border: 1px dashed var(--line);
      border-radius: 999px;
      color: var(--muted)
    }

    .icon {
      width: 18px;
      height: 18px
    }

    .hamburger {
      width: 30px;
      height: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }

    /* garis-garis */
    .hamburger span {
      display: block;
      height: 3px;
      background: #333;
      border-radius: 3px;
    }

    @media (max-width: 920px) {
      .hero .wrap {
        grid-template-columns: 1fr
      }

      .nav-links {
        display: none
      }

      .hamburger {
        display: inline-flex
      }
    }

    /* --- Hero Section Mobile --- */
    @media (max-width: 768px) {
      .hero .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
      }

      .hero .title {
        font-size: 1.6rem;
        /* lebih kecil biar pas */
        line-height: 1.3;
      }

      .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
      }

      .hero .cta {
        flex-direction: column;
        gap: 10px;
      }

      .hero .cta .btn {
        width: 100%;
        /* full width di HP */
      }

      .hero-card {
        width: 100%;
        text-align: left;
      }

      .btn.brand {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
      }

      .hamburger {
        width: 40px;
        /* lebih besar */
        height: 32px;
        /* lebih tinggi */
      }

      .hamburger span {
        height: 4px;
        /* tebal garis */
      }
    }

    /* --- Grid Section Mobile --- */
    @media (max-width: 768px) {

      .grid-3,
      .grid-4 {
        grid-template-columns: 1fr;
        /* jadi 1 kolom */
        gap: 16px;
      }

      .stats {
        grid-template-columns: 1fr 1fr;
        /* biar tetap 2 di tablet */
        gap: 12px;
      }
    }

    @media (max-width: 480px) {
      .stats {
        grid-template-columns: 1fr;
        /* 1 kolom full di hp kecil */
        text-align: center;
      }
    }

    /* --- Kontak Form Mobile --- */
    @media (max-width: 768px) {
      #kontak .grid-3 {
        grid-template-columns: 1fr;
        /* form & card jadi ke bawah */
      }

      #kontak form,
      #kontak .card {
        width: 100%;
      }
    }

    .brand-text {
      color: #000;
    }

    html[data-theme="dark"] .brand-text {
      color: #fff;
    }

    .btn.ghost:hover {
      background: var(--primary-color, #c6c8cb);
      color: #fff;
    }

    /* Dark mode */
    [data-theme="dark"] .btn.ghost {
      border-color: #ffffffcc;
      /* putih agak transparan */
      color: #ffffffcc;
    }

    [data-theme="dark"] .btn.ghost:hover {
      background: #ffffffcc;
      /* jadi putih agak transparan */
      color: #000;
      /* biar teks kebaca */
    }

    /* Navbar links - default (mode terang) */
    .navbar-nav .nav-link {
      color: #000;
      /* hitam */
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
      color: var(--primary-color, #007bff);
    }

    /* Navbar links - dark mode */
    [data-theme="dark"] .navbar-nav .nav-link {
      color: #fff;
      /* putih */
    }

    [data-theme="dark"] .navbar-nav .nav-link:hover {
      color: var(--primary-color, #4dabf7);
    }

    /* Judul H3 - default */
    h3 {
      color: #000;
      font-weight: 600;
    }

    /* Judul H3 - dark mode */
    [data-theme="dark"] h3 {
      color: #fff;
    }

    .navbar-toggler {
      border: none;
      background: transparent;
      padding: 0.25rem 0.5rem;
    }

    /* default (light mode) hamburger icon - stroke hitam */
    .navbar-toggler-icon {
      /* Data URI SVG harus URL-encoded; perhatikan tanda %23 untuk # */
      background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
    }

    /* dark mode: ubah stroke jadi putih agar terlihat */
    html[data-theme="dark"] .navbar-toggler-icon {
      background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .brand-text {
      color: #000;
      /* default light */
      font-weight: 700;
    }

    html[data-theme="dark"] .brand-text {
      color: #fff;
    }

    .btn.ghost {
      border: 1.5px solid var(--line);
      color: var(--muted);
      background: transparent;
      padding: 10px 14px;
      border-radius: 12px;
      transition: all .18s ease;
    }

    .btn.ghost:hover {
      background: color-mix(in hsl, var(--brand), white 10%);
      color: #fff;
    }

    html[data-theme="dark"] .btn.ghost {
      border-color: rgba(255, 255, 255, 0.14);
      color: rgba(255, 255, 255, 0.92);
    }

    html[data-theme="dark"] .btn.ghost:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #000;
    }

    .navbar .nav-link {
      color: #000 !important;
      font-weight: 500;
    }

    html[data-theme="dark"] .navbar .nav-link {
      color: #fff !important;
    }

    /* Konten heading */
    h3 {
      color: #0f172a;
    }

    html[data-theme="dark"] h3 {
      color: #fff;
    }

    html[data-theme="dark"] .navbar .navbar-nav .nav-link {
      color: #fff !important;
    }

    /* === Section Visi Misi === */
    .visi-misi {
      padding: 60px 0;
      border-top: 1px solid var(--line);
    }

    .visi-misi .section-title {
      text-align: center;
      font-size: clamp(22px, 3.2vw, 32px);
      font-weight: 700;
      margin-bottom: 30px;
      color: var(--text);
    }

    .visi-misi .card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .visi-misi h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--text);
    }

    .visi-misi p {
      color: var(--muted);
      line-height: 1.6;
    }

    .visi-misi ul {
      padding-left: 18px;
      margin: 0;
    }

    .visi-misi ul li {
      margin-bottom: 10px;
      color: var(--muted);
      line-height: 1.6;
      position: relative;
    }

    .visi-misi ul li::before {
      content: "✔";
      color: var(--brand-2);
      font-weight: bold;
      position: absolute;
      left: -20px;
    }