  /* ===== RESET & VARIABEL ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  :root {
    --bg: #02020f;
    --panel: #0e0e16;
    --card: #15151d;
    --blue: #1a1aff;
    --text: #ffffff;
    --glow: 0 0 18px rgba(26, 26, 255, 0.45);
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.5;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  img {
    display: block;
    max-width: 100%;
  }
  h1,
  h2,
  h3,
  h4 {
    font-family: "Lexend", sans-serif;
  }
  .container {
    width: min(1200px, 100% - 80px);
    margin-inline: auto;
  }
  .center {
    text-align: center;
  }
  .eyebrow {
    color: var(--blue);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
  }
  h2 {
    font-size: 1.9rem;
    letter-spacing: 1px;
  }

  /* ===== BUTTON ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    border: 0;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    color: #fff;
    border-radius: 4px;
  }
  .btn-blue {
    background: var(--blue);
  }
  .btn-dark {
    background: #000;
    border: 2px solid #3a3a45;
    box-shadow: var(--glow);
  }

  /* ===== NAVBAR ===== */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 6.6%;
    background: var(--bg);
    border-bottom: 3px solid #0a0a5a;
    box-shadow: 0 2px 14px rgba(26, 26, 255, 0.4);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .logo {
    font-size: 1.9rem;
    font-weight: 800;
  }
  .logo span {
    color: var(--blue);
  }
  .navbar nav {
    display: flex;
    gap: 42px;
    margin-right: auto;
    margin-left: 18%;
  }
  .navbar nav a {
    font-weight: 600;
    font-size: 1rem;
  }
  .navbar nav a.active {
    color: var(--blue);
  }
  .nav-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2a2a8a;
  }

  /* ===== HERO ===== */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0 50px;
  }
  .hero-text {
    max-width: 620px;
  }
  .hero h1 {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 3.6rem;
    line-height: 1;
    letter-spacing: -2px;
    margin: 4px 0 20px;
  }
  .hero h1 span {
    color: var(--blue);
  }
  .hero-desc {
    font-size: 1rem;
    max-width: 520px;
  }
  .hero-btns {
    display: flex;
    gap: 32px;
    margin: 26px 0;
  }
  .sapik {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: #fff;
  }
  .sapik span {
    margin-right: 10px;
  }
  .sapik a {
    font-size: 1.7rem;

  }
  .hero-img img {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1a9a;
    box-shadow: 0 0 40px 6px rgba(26, 26, 255, 0.6);
  }

  /* ===== ABOUT ===== */
  .about-box {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--panel);
    border: 2px solid #12127a;
    box-shadow: 0 0 22px rgba(26, 26, 255, 0.35);
    padding: 50px 50px 50px 55px;
    border-radius: 10px;
  }
  .about-img {
    position: relative;
    flex: 0 0 410px;
  }
  .about-img img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    margin-left: 20px;
    border-right: 4px solid #777;
    border-top: 4px solid #777;
  }
  .blue-bar {
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 125px;
    background: var(--blue);
    z-index: 1;
  }
  .signature {
    position: absolute;
    left: 5px;
    bottom: -42px;
    font-family: "Brush Script MT", cursive;
    font-style: italic;
    font-size: 2.3rem;
    color: var(--blue);
  }
  .about-text h2 {
    font-size: 1.85rem;
    line-height: 1.5;
    margin: 2px 0 10px;
  }
  .dot {
    color: var(--blue);
  }
  .about-desc {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }
  .about-info {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
  }
  .info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
  }
  .info i {
    color: var(--blue);
    font-size: 1.7rem;
  }

  /* ===== HOBBY ===== */
  .services {
    padding: 50px 0 40px;
    text-align: center;
  }
  .services h2 {
    margin-bottom: 22px;
  }
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }
  .card {
    background: var(--card);
    border-radius: 14px;
    border-top: 3px solid #12127a;
    box-shadow: 0 -2px 10px rgba(26, 26, 255, 0.3);
  }
  .service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 24px 22px 20px;
    height: 192px;
  }
  .service > i {
    color: var(--blue);
    font-size: 1.3rem;
  }
  .service p {
    margin-top: 18px;
  }
  .service a {
    margin-top: auto;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
  }

  /* ===== SKILLS ===== */
  .skills {
    background: var(--panel);
    padding: 28px 0 50px;
  }
  .skills-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .skills-left {
    flex: 0 0 470px;
  }
  .skills-left h2 {
    margin-bottom: 12px;
  }
  .skill {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  .skill span {
    width: 98px;
    font-weight: 500;
  }
  .bar {
    flex: 1;
    height: 5px;
    background: #ccc;
    border-radius: 3px;
  }
  .bar i {
    display: block;
    height: 100%;
    background: var(--blue);
    border-radius: 3px;
    box-shadow: 0 0 8px var(--blue);
  }
  .skill b {
    width: 42px;
    font-size: 1.05rem;
  }
  .stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    align-self: center;
    margin-top: 40px; /* makin besar angkanya, makin turun */
  }
  .stat {
    background: #15151d;
    border: 1px solid #2a2a35;
    text-align: center;
    padding: 20px 10px;
    border-radius: 10px;
  }
  .stat i {
    color: var(--blue);
    font-size: 2rem;
  }
  .stat h3 {
    font-size: 1.6rem;
    margin: 10px 0 4px;
  }
  .stat p {
    font-size: 0.95rem;
  }

  /* ===== PROJECTS ===== */
  .projects {
    padding: 56px 0 40px;
  }
  .projects .grid-4 {
    gap: 4px;
  }
  .project {
    background: #101014;
    border-radius: 8px;
  }
  .project img {
    width: 100%;
    height: 128px;
    object-fit: cover;
  }
  .project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
  }
  .project-info h4 {
    font-size: 1.1rem;
  }
  .project-info p {
    font-size: 0.9rem;
  }
  .project-info a {
    color: #6a6aff;
    font-size: 1.3rem;
    border: 2px solid #6a6aff;
    border-radius: 3px;
    padding: 2px 5px;
  }

  /* ===== HOBI ===== */
  .hobby {
    padding: 40px 0 30px;
  }
  .hobby h2 {
    margin-bottom: 20px;
  }
  .testi-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 30px;
  }
  .testi-list {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    margin: 0 40px;
    padding: 28px 0;
    touch-action: pan-y;
  }
  .testi-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease;
    will-change: transform;
  }
  .testi-track.no-anim .quote {
    transition: none;
  }
  .testi-track img {
    -webkit-user-drag: none;
  }
  .quote {
    flex: 0 0 calc((100% - 32px) / 3);
    position: relative;
    user-select: none;
    transform: scale(0.92);
    opacity: 0.5;
    filter: blur(2px);
    transition:
      transform 0.5s ease,
      opacity 0.5s ease,
      filter 0.5s ease,
      box-shadow 0.5s ease;
    border: 0;
    box-shadow: none;
    border-radius: 5px;
    height: 220px;
    padding: 23px 38px 28px;
    display: flex;
    flex-direction: column;
  }
  .quote > i {
    color: var(--blue);
    font-size: 1.5rem;
  }
  .quote p {
    margin: 6px 0 0 30px;
  }
  .person {
    margin-top: auto;
    margin-left: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .person img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #555;
  }
  .person h4 {
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .person span {
    font-size: 0.95rem;
  }
  .arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    border: 0;
    color: #fff;
    cursor: pointer;
    box-shadow: var(--glow);
    flex-shrink: 0;
  }
  .quote.is-center {
    transform: scale(1.06);
    opacity: 1;
    filter: none;
    z-index: 2;
    box-shadow:
      0 0 0 2px var(--blue),
      0 0 28px rgba(26, 26, 255, 0.55);
  }
  .dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }
  .dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
  }
  .dots i.on {
    background: var(--blue);
  }

  /* ===== CONTACT ===== */
  .contact {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 36px 60px 40px;
    min-height: 260px;
    background:
      linear-gradient(rgba(20, 10, 50, 0.55), rgba(20, 10, 50, 0.65)),
      url("gambar2.jpeg") center/cover;
  }
  .contact-text {
    flex: 0 0 440px;
  }
  .contact-text h2 {
    font-size: 1.9rem;
    line-height: 1.5;
    margin: 4px 0 14px;
  }
  .contact-text .contact-desc {
    font-size: 0.95rem;
  }
  .contact-form {
    width: 372px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .contact-form .row {
    display: flex;
    gap: 5px;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    background: rgba(40, 40, 50, 0.9);
    border: 1px solid #44444f;
    color: #fff;
    padding: 10px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
  }
  .contact-form textarea {
    height: 90px;
    resize: none;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #fff;
  }
  .contact-form .btn {
    position: absolute;
    right: -218px;
    bottom: 0;
    padding: 12px 16px;
    gap: 12px;
  }

  /* ===== FOOTER ===== */
  footer {
    background: #1a1a1c;
    text-align: center;
    padding: 28px 0 32px;
    font-size: 0.95rem;
  }
  footer p {
    text-decoration: underline;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1000px) {
    .navbar nav {
      display: none;
    }
    .navbar {
      justify-content: space-between;
    }
    .hero,
    .about-box,
    .skills-wrap,
    .contact {
      flex-direction: column;
      text-align: left;
    }
    .hero h1 {
      font-size: 2.6rem;
    }
    .hero-img img {
      width: 280px;
      height: 280px;
    }
    .about-img,
    .skills-left,
    .contact-text {
      flex: none;
      width: 100%;
    }
    .about-info {
      flex-direction: column;
    }
    .grid-4,
    .stats {
      grid-template-columns: repeat(2, 1fr);
    }
    .testi-list {
      margin: 0 10px;
    }
    .quote {
      flex: 0 0 100%;
      transform: none;
      opacity: 1;
      filter: none;
    }
    .quote.is-center {
      transform: none;
      box-shadow: none;
    }
    .testi-wrap {
      padding: 0 10px;
    }
    .contact {
      padding: 40px 24px 90px;
    }
    .contact-form {
      width: 100%;
    }
    .contact-form .btn {
      right: 0;
      bottom: -62px;
    }
  }

  /* ===== TAMBAHAN UNTUK JAVASCRIPT ===== */
  .bar i {
    transition: width 1.2s ease;
  }
  .dots i {
    cursor: pointer;
    transition: background 0.2s;
  }
  .menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    margin-left: 16px;
  }
  .form-msg {
    position: absolute;
    left: 0;
    bottom: -34px;
    font-size: 0.9rem;
    color: #ff8a8a;
  }
  .form-msg.ok {
    color: #7dff9b;
  }
  .navbar nav a:hover {
    color: var(--blue);
  }

  @media (max-width: 1000px) {
    .menu-toggle {
      display: block;
    }
    .navbar {
      position: sticky;
      flex-wrap: wrap;
    }
    .navbar nav {
      display: none;
      flex-direction: column;
      gap: 14px;
      width: 100%;
      margin: 16px 0 0;
      order: 5;
    }
    .navbar.open nav {
      display: flex;
    }
    .nav-avatar {
      margin-left: auto;
    }
    .form-msg {
      bottom: -100px;
    }
  }

  /* ===== TRANSISI TOMBOL & EFEK KLIK ===== */
  .btn,
  .arrow,
  .menu-toggle,
  .project-info a {
    position: relative;
    overflow: hidden; /* supaya ripple tidak keluar dari tombol */
    -webkit-tap-highlight-color: transparent;
    transition:
      transform 0.2s ease,
      box-shadow 0.25s ease,
      background 0.25s ease,
      filter 0.25s ease,
      color 0.25s ease;
  }
  .btn {
    user-select: none;
  }
  /* hover: tombol naik sedikit + menyala */
  .btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
    box-shadow: 0 8px 22px rgba(26, 26, 255, 0.55);
  }
  /* ditekan: mengecil */
  .btn:active {
    transform: translateY(0) scale(0.94);
    box-shadow: 0 0 8px rgba(26, 26, 255, 0.5);
    transition-duration: 0.08s;
  }
  .arrow:hover {
    transform: scale(1.12);
    filter: brightness(1.2);
  }
  .arrow:active {
    transform: scale(0.88);
    transition-duration: 0.08s;
  }
  .menu-toggle:active {
    transform: scale(0.88);
  }
  .project-info a:hover {
    background: rgba(106, 106, 255, 0.25);
    transform: translateY(-2px);
  }
  .project-info a:active {
    transform: scale(0.85);
    transition-duration: 0.08s;
  }

  /* link & ikon yang bisa diklik */
  .navbar nav a,
  .logo,
  .follow a,
  .service a,
  .dots i {
    -webkit-tap-highlight-color: transparent;
    transition:
      transform 0.2s ease,
      color 0.25s ease,
      opacity 0.25s ease,
      background 0.25s ease;
  }
  .navbar nav a:active,
  .logo:active {
    transform: scale(0.92);
    transition-duration: 0.08s;
  }
  .follow a:hover {
    transform: translateY(-4px);
    color: var(--blue);
  }
  .follow a:active {
    transform: scale(0.85);
    transition-duration: 0.08s;
  }
  .service a:hover {
    transform: translateX(5px);
    filter: brightness(1.4);
  }
  .service a:active {
    transform: translateX(5px) scale(0.92);
    transition-duration: 0.08s;
  }
  .dots i:hover {
    transform: scale(1.5);
  }
  .dots i:active {
    transform: scale(0.8);
    transition-duration: 0.08s;
  }

  /* ripple (riak air) di dalam tombol */
  .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
    animation: ripple 0.6s ease-out forwards;
  }
  @keyframes ripple {
    to {
      transform: scale(1);
      opacity: 0;
    }
  }

  /* gelombang air saat klik di mana saja */
  .water-ring,
  .water-drop {
    position: fixed;
    z-index: 9998;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .water-ring {
    box-sizing: border-box;
    border: 3px solid rgba(175, 195, 255, 0.85);
    box-shadow:
      0 0 14px rgba(26, 26, 255, 0.45),
      inset 0 0 14px rgba(120, 150, 255, 0.3);
    opacity: 0;
  }
  .water-drop {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 35% 30%, #fff, rgba(150, 170, 255, 0.8));
    box-shadow: 0 0 12px rgba(26, 26, 255, 0.7);
  }

  @media (prefers-reduced-motion: reduce) {
    .btn,
    .arrow,
    .menu-toggle,
    .project-info a,
    .navbar nav a,
    .logo,
    .follow a,
    .service a,
    .dots i {
      transition: none;
    }
    .ripple,
    .water-ring,
    .water-drop {
      display: none;
    }
  }

  /* ===== PERMUKAAN AIR (genangan) ===== */
  .water-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    /* lapisan tipis air: semburat biru + kilau miring seperti pantulan cahaya */
    background:
      linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.035) 50%, transparent 62%),
      linear-gradient(160deg, rgba(60, 90, 255, 0.06) 0%, rgba(20, 40, 160, 0.03) 45%, rgba(90, 130, 255, 0.07) 100%);
  }
  .water-layer canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
  @media (prefers-reduced-motion: reduce) {
    .water-layer {
      display: none;
    }
  }

  /* ===== NAVBAR TRANSPARAN SAAT DISCROLL ===== */
  .navbar {
    transition:
      background-color 0.35s ease,
      box-shadow 0.35s ease,
      backdrop-filter 0.35s ease;
  }
  .navbar.scrolled {
    background-color: rgba(2, 2, 15, 0.7); /* makin kecil angka 0.7 makin transparan */
    -webkit-backdrop-filter: blur(10px);    /* konten di belakang agak buram supaya menu tetap terbaca */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 14px rgba(26, 26, 255, 0.25);
  }
  /* menu HP yang sedang terbuka tetap hampir solid supaya mudah dibaca */
  .navbar.scrolled.open {
    background-color: rgba(2, 2, 15, 0.94);
  }

  /* ===== INFO KONTAK (WhatsApp & email) ===== */
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 40px;
    margin-top: 14px;
    font-size: 0.9rem;
  }
  .contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
    transition:
      transform 0.2s ease,
      color 0.25s ease;
  }
  .contact-info i {
    font-size: 1.15rem;
  }
  .contact-info .info-email {
    flex-basis: 100%; /* email di baris sendiri, di bawah dua nomor WhatsApp */
  }
  .contact-info a:hover {
    color: #9db4ff;
    transform: translateY(-2px);
  }
  .contact-info a:active {
    transform: scale(0.95);
    transition-duration: 0.08s;
  }
  @media (prefers-reduced-motion: reduce) {
    .contact-info a {
      transition: none;
    }
  }

  /* memusatkan kartu di bagian Hobby */
  .hobby-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* ini yang bikin kartunya di tengah */
  }
  .hobby-grid .card {
    flex: 1 1 260px;   /* lebar minimal 260px, boleh melebar mengisi ruang */
    max-width: 414px;  /* lebar maksimal kartu (sama dengan yang sekarang) */
  }

  /* ===== LOGO PADA KOTAK STATISTIK ===== */
  .stat .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px; /* sama dengan tinggi baris ikon pesawat sebelumnya, supaya teks di bawahnya tidak bergeser */
  }
  .stat .logo svg {
    height: 2rem; /* tinggi sama dengan ikon lain (32px); lebar mengikuti bentuk logo */
    width: auto;
    display: block;
  }
  .stat .logo-html i { color: #e34f26; }
  .stat .logo-css i { color: #1572b6; }

  /* ===== LOGO HITAM-PUTIH: semua logo jadi putih (kotak statistik berlatar gelap) ===== */
  .stat .logo-html i,
  .stat .logo-css i {
    color: #fff;
  }
  .logo-figma path {
    fill: #fff;
    stroke: var(--card); /* garis tipis berwarna latar kotak, supaya kelima bentuk Figma tetap terpisah */
    stroke-width: 1.5;
  }
  .logo-canva circle {
    fill: #fff;
  }
  .logo-canva path {
    stroke: var(--card); /* huruf C jadi "lubang" gelap di lingkaran putih */
  }

  /* ===== KARTU PROJECT BISA DIKLIK (membuka halaman detail) ===== */
.project.is-clickable {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.project.is-clickable:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(26, 26, 255, 0.35);
  background: #15151f;
}
.project.is-clickable:active {
  transform: translateY(-2px) scale(0.99);
}
.project.is-clickable:focus-visible {
  outline: 2px solid #6a6aff;
  outline-offset: 3px;
}

/* ===== KARTU SERTIFIKAT BISA DIKLIK (kartu tengah membuka halaman detail) ===== */
.testi-track .quote {
  cursor: pointer;
}
.testi-track .quote:focus-visible {
  outline: 2px solid #6a6aff;
  outline-offset: 4px;
}
@media (min-width: 1001px) {
  .quote.is-center:hover {
    transform: scale(1.09); /* kartu tengah sedikit membesar saat kursor di atasnya */
  }
}

/* sembunyikan tombol panah kiri-kanan di slider */
.testi-wrap .arrow {
  display: none;
}