/*-----------------------------------*\
  #NEOBRUTALISM PORTFOLIO
  Light theme: White bg, Yellow accent, Black borders
  Inspired by: nandito gianza style
\*-----------------------------------*/

/* ===== VARIABLES ===== */
:root {
  /* Neobrutalism Colors - Light & Bold */
  --neo-yellow: #FFD700;
  --neo-pink: #FF6B9D;
  --neo-blue: #4ECDC4;
  --neo-green: #A8E6CF;
  --neo-purple: #C3B1E1;
  --neo-orange: #FFAB76;
  --neo-red: #FF6B6B;
  --neo-black: #000000;
  --neo-white: #ffffff;
  --neo-bg: #FFF9E3;
  --neo-card: #ffffff;

  /* Background */
  --bg-primary: #FFF9E3;
  --bg-secondary: #ffffff;
  --bg-dark: #FFF9E3;

  /* Mapped old variables */
  --jet: #000000;
  --onyx: #1a1a1a;
  --eerie-black-1: #ffffff;
  --eerie-black-2: #ffffff;
  --smoky-black: #FFF9E3;
  --white-1: #333333;
  --white-2: #000000;
  --orange-yellow-crayola: #FFD700;
  --vegas-gold: #FFD700;
  --light-gray: #555555;
  --light-gray-70: rgba(0, 0, 0, 0.5);
  --bittersweet-shimmer: #FF6B6B;

  /* Blog variables */
  --text-primary: #000000;
  --text-secondary: #333333;
  --card-bg: #ffffff;
  --border-color: #000000;
  --accent-color: #FFD700;
  --accent-color-alt: #4ECDC4;
  --code-bg: #FFF9E3;
  --code-color: #000000;

  /* Flat - no gradients */
  --bg-gradient-onyx: #ffffff;
  --bg-gradient-jet: #ffffff;
  --bg-gradient-yellow-1: #FFD700;
  --bg-gradient-yellow-2: #ffffff;
  --border-gradient-onyx: #ffffff;
  --text-gradient-yellow: #FFD700;

  /* Typography */
  --ff-poppins: "Space Grotesk", "Poppins", sans-serif;
  --fs-1: 28px;
  --fs-2: 20px;
  --fs-3: 18px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 12px;

  /* Font Weights */
  --fw-300: 400;
  --fw-400: 500;
  --fw-500: 600;
  --fw-600: 700;

  /* Neobrutalism Shadows - Hard, no blur */
  --shadow-1: 4px 4px 0px #000000;
  --shadow-2: 6px 6px 0px #000000;
  --shadow-3: 8px 8px 0px #000000;
  --shadow-4: 10px 10px 0px #000000;
  --shadow-5: 12px 12px 0px #000000;

  /* Transitions */
  --transition-1: 0.15s ease;
  --transition-2: 0.2s ease;
  --transition-smooth: 0.15s ease;
  --transition-bounce: 0.2s ease;
  --transition-spring: 0.2s ease;
}


/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a { text-decoration: none; }
li { list-style: none; }
img, ion-icon, a, button, time, span { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--neo-yellow);
  color: var(--neo-black);
}

:focus {
  outline: 3px solid var(--neo-black);
  outline-offset: 2px;
}

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
}

body {
  background: var(--neo-bg);
  color: var(--neo-black);
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.05' stroke-width='1.5'%3E%3C!-- Kawung pattern --%3E%3Cellipse cx='20' cy='20' rx='8' ry='12' transform='rotate(45 20 20)'/%3E%3Cellipse cx='20' cy='20' rx='8' ry='12' transform='rotate(-45 20 20)'/%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3Cellipse cx='60' cy='20' rx='8' ry='12' transform='rotate(45 60 20)'/%3E%3Cellipse cx='60' cy='20' rx='8' ry='12' transform='rotate(-45 60 20)'/%3E%3Ccircle cx='60' cy='20' r='3'/%3E%3Cellipse cx='20' cy='60' rx='8' ry='12' transform='rotate(45 20 60)'/%3E%3Cellipse cx='20' cy='60' rx='8' ry='12' transform='rotate(-45 20 60)'/%3E%3Ccircle cx='20' cy='60' r='3'/%3E%3Cellipse cx='60' cy='60' rx='8' ry='12' transform='rotate(45 60 60)'/%3E%3Cellipse cx='60' cy='60' rx='8' ry='12' transform='rotate(-45 60 60)'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='10' transform='rotate(45 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='10' transform='rotate(-45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* ===== LOADING SCREEN ===== */
.loading-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--neo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-overlay.hidden { display: none; }
.loading-container { text-align: center; }
.loading-spinner {
  width: 50px; height: 50px;
  border: 4px solid var(--neo-black);
  border-top: 4px solid var(--neo-yellow);
  border-radius: 0;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loading-text {
  color: var(--neo-black);
  font-size: var(--fs-5);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ===== UTILITIES ===== */
.sidebar,
article {
  background: var(--neo-card);
  border: 3px solid var(--neo-black);
  border-radius: 0;
  padding: 20px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.separator {
  width: 100%;
  height: 3px;
  background: var(--neo-black);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: var(--neo-yellow);
  width: 36px; height: 36px;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--neo-black);
  border: 2px solid var(--neo-black);
  box-shadow: 3px 3px 0px var(--neo-black);
}
.icon-box::before { content: none; }
.icon-box ion-icon { --ionicon-stroke-width: 40px; }

article { display: none; }
article.active { display: block; overflow: hidden; }

.h2, .h3, .h4, .h5 {
  color: var(--neo-black);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.h2 { font-size: var(--fs-1); font-weight: 700; }
.h3 { font-size: var(--fs-2); font-weight: 700; }
.h4 { font-size: var(--fs-4); font-weight: 600; }
.h5 { font-size: var(--fs-7); font-weight: 600; }

.article-title {
  position: relative;
  padding-bottom: 7px;
  margin-bottom: 30px;
}
.article-title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 5px;
  background: var(--neo-yellow);
  border-radius: 0;
}

.has-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.has-scrollbar::-webkit-scrollbar-track { background: var(--neo-bg); border: 1px solid var(--neo-black); }
.has-scrollbar::-webkit-scrollbar-thumb { background: var(--neo-yellow); border: 1px solid var(--neo-black); }
.has-scrollbar::-webkit-scrollbar-button { width: 20px; }

.content-card {
  position: relative;
  background: var(--neo-card);
  padding: 20px;
  padding-top: 50px;
  border: 3px solid var(--neo-black);
  border-radius: 0;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 1;
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}
.content-card::before { content: none; }
.content-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px var(--neo-black);
}

/* ===== MAIN LAYOUT ===== */
main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}


/* ===== SIDEBAR ===== */
.sidebar {
  margin-bottom: 15px;
  max-height: 112px;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--neo-card);
}
.sidebar.active { max-height: 405px; }

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  background: var(--neo-yellow);
  border: 3px solid var(--neo-black);
  border-radius: 0;
  box-shadow: var(--shadow-1);
}
.avatar-box img { border-radius: 0; display: block; }

.info-content .name {
  color: var(--neo-black);
  font-size: var(--fs-3);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 0;
  background: #1DA1F2;
  border: 2px solid var(--neo-black);
  box-shadow: 2px 2px 0px var(--neo-black);
  color: #fff;
  font-size: 10px;
}

.info-content .title {
  color: var(--neo-black);
  background: var(--neo-yellow);
  font-size: var(--fs-8);
  font-weight: 600;
  width: max-content;
  padding: 4px 14px;
  border-radius: 0;
  border: 2px solid var(--neo-black);
  box-shadow: 2px 2px 0px var(--neo-black);
}

.info_more-btn {
  position: absolute;
  top: -20px; right: -20px;
  border-radius: 0;
  font-size: 13px;
  color: var(--neo-black);
  background: var(--neo-pink);
  padding: 10px;
  border: 3px solid var(--neo-black);
  box-shadow: var(--shadow-1);
  transition: var(--transition-1);
  z-index: 1;
}
.info_more-btn::before { content: none; }
.info_more-btn:hover,
.info_more-btn:focus {
  background: var(--neo-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--neo-black);
}
.info_more-btn span { display: none; }

.sidebar-info_more { opacity: 0; visibility: hidden; transition: var(--transition-2); }
.sidebar.active .sidebar-info_more { opacity: 1; visibility: visible; }

.contacts-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-item { min-width: 100%; display: flex; align-items: center; gap: 16px; }
.contact-info { max-width: calc(100% - 46px); width: calc(100% - 46px); }
.contact-title {
  color: var(--neo-black);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 2px;
  font-weight: 700;
  letter-spacing: 1px;
}
.contact-info :is(.contact-link, time, address) { color: var(--neo-black); font-size: var(--fs-7); }
.contact-info address { font-style: normal; }

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  padding-left: 7px;
}
.social-item .social-link {
  color: var(--neo-black);
  font-size: 20px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neo-card);
  border: 3px solid var(--neo-black);
  box-shadow: 3px 3px 0px var(--neo-black);
  transition: var(--transition-1);
}
.social-item .social-link:hover {
  background: var(--neo-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--neo-black);
}

.visitor-count {
  font-size: var(--fs-6);
  color: var(--neo-black);
  padding: 10px 14px;
  text-align: center;
  margin: 0;
  transition: all var(--transition-1);
  border-radius: 0;
  background: var(--neo-bg);
  border: 2px solid var(--neo-black);
  box-shadow: 3px 3px 0px var(--neo-black);
}
.visitor-count:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--neo-black);
}
.visitor-count img { max-width: 100%; height: auto; border-radius: 0; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: var(--neo-yellow);
  backdrop-filter: none;
  border: 3px solid var(--neo-black);
  border-bottom: none;
  border-radius: 0;
  box-shadow: 0 -4px 0px var(--neo-black);
  z-index: 5;
}
.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}
.navbar-link {
  color: var(--neo-black);
  font-size: var(--fs-8);
  padding: 12px 14px;
  transition: all var(--transition-1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 48px; min-height: 48px;
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.navbar-link i {
  font-size: 22px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-1);
}
.navbar-link:hover,
.navbar-link:focus {
  background: var(--neo-black);
  color: var(--neo-yellow);
}
.navbar-link:hover i,
.navbar-link:focus i { transform: scale(1.1); }
.navbar-link.active {
  background: var(--neo-black);
  color: var(--neo-yellow);
  border: 2px solid var(--neo-black);
  animation: none;
}

.theme-toggle-btn {
  background: var(--neo-card);
  border: 3px solid var(--neo-black);
  color: var(--neo-black);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-1);
  margin-left: 10px;
  box-shadow: 2px 2px 0px var(--neo-black);
}
.theme-toggle-btn:hover {
  background: var(--neo-pink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px var(--neo-black);
}
.theme-toggle-btn ion-icon { width: 22px; height: 22px; }


/* ===== ABOUT ===== */
.about .article-title { margin-bottom: 20px; }
.about-text {
  color: var(--neo-black);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
}
.about-text p {
  margin-bottom: 15px;
}

/* ===== SERVICES ===== */
.service { margin-bottom: 35px; }
.service-title { margin-bottom: 20px; }
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-item {
  position: relative;
  background: var(--neo-card);
  padding: 24px;
  border-radius: 0;
  border: 3px solid var(--neo-black);
  box-shadow: var(--shadow-2);
  z-index: 1;
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}
.service-item::before { content: none; }
.service-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--neo-black);
}
.service-item:nth-child(1) { background: #FFF9E3; border-left: 8px solid var(--neo-yellow); }
.service-item:nth-child(2) { background: #FFE8EF; border-left: 8px solid var(--neo-pink); }
.service-item:nth-child(3) { background: #E8FFF8; border-left: 8px solid var(--neo-blue); }
.service-item:nth-child(4) { background: #FFF3E8; border-left: 8px solid var(--neo-orange); }
.service-item:nth-child(5) { background: #F0E8FF; border-left: 8px solid var(--neo-purple); }
.service-item:nth-child(6) { background: #E8FFE8; border-left: 8px solid var(--neo-green); }

.service-icon-box { margin-bottom: 12px; }
.service-icon-box img { margin: auto; }
.service-content-box { text-align: center; }
.service-item-title {
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neo-black);
}
.service-item-text {
  color: #333333;
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials { margin-bottom: 30px; }
.testimonials-title { margin-bottom: 20px; }
.testimonials-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px 15px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}
.testimonials-item { min-width: 100%; scroll-snap-align: center; }
.testimonials-avatar-box {
  position: absolute;
  top: 0; left: 0;
  transform: translate(15px, -25px);
  background: var(--neo-blue);
  border: 3px solid var(--neo-black);
  border-radius: 0;
  box-shadow: var(--shadow-1);
}
.testimonials-item-title { margin-bottom: 7px; }
.testimonials-text {
  color: #333333;
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== MODALS ===== */
.modal-container {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; justify-content: center; align-items: center;
  overflow-y: auto; overscroll-behavior: contain;
  z-index: 20; pointer-events: none; visibility: hidden;
}
.modal-container::-webkit-scrollbar { display: none; }
.modal-container.active { pointer-events: all; visibility: visible; }

.overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--neo-black);
  opacity: 0; visibility: hidden; pointer-events: none;
  z-index: 1; transition: var(--transition-1);
}
.overlay.active { opacity: 0.7; visibility: visible; pointer-events: all; }

.testimonials-modal {
  background: var(--neo-card);
  position: relative; padding: 20px; margin: 15px 12px;
  border: 3px solid var(--neo-black);
  border-radius: 0;
  box-shadow: var(--shadow-3);
  transform: scale(1.1); opacity: 0;
  transition: var(--transition-1); z-index: 2;
}
.modal-container.active .testimonials-modal { transform: scale(1); opacity: 1; }

.modal-close-btn {
  position: absolute; top: 12px; right: 12px;
  background: var(--neo-red);
  border: 2px solid var(--neo-black);
  border-radius: 0;
  width: 36px; height: 36px;
  display: flex; justify-content: center; align-items: center;
  color: var(--neo-white);
  font-size: 18px;
  box-shadow: 2px 2px 0px var(--neo-black);
  transition: var(--transition-1);
}
.modal-close-btn:hover,
.modal-close-btn:focus {
  background: var(--neo-yellow);
  color: var(--neo-black);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px var(--neo-black);
}
.modal-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.modal-avatar-box {
  background: var(--neo-yellow);
  width: max-content;
  border: 3px solid var(--neo-black);
  border-radius: 0;
  margin-bottom: 15px;
  box-shadow: var(--shadow-1);
}
.modal-img-wrapper > img { display: none; }
.modal-title { margin-bottom: 4px; color: var(--neo-black); }
.modal-content time { font-size: var(--fs-6); color: #555; font-weight: 600; margin-bottom: 10px; }
.modal-content p { color: #333; font-size: var(--fs-6); font-weight: var(--fw-300); line-height: 1.6; }

/* Certificate & Project Modals */
.modal {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; justify-content: center; align-items: center;
  overflow-y: auto; overscroll-behavior: contain;
  z-index: 20; pointer-events: none; visibility: hidden;
}
.modal::-webkit-scrollbar { display: none; }
.modal.active { pointer-events: all; visibility: visible; }

.modal-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--neo-black);
  opacity: 0; visibility: hidden; pointer-events: none;
  z-index: 1; transition: var(--transition-1);
}
.modal.active .modal-overlay { opacity: 0.7; visibility: visible; pointer-events: all; }

.modal-content {
  background: var(--neo-card);
  position: relative; padding: 20px; margin: 15px 12px;
  border: 3px solid var(--neo-black);
  border-radius: 0;
  box-shadow: var(--shadow-4);
  transform: scale(1.05); opacity: 0;
  transition: var(--transition-1); z-index: 2;
  max-width: 95vw; width: auto; max-height: 90vh; overflow-y: auto;
}
.modal.active .modal-content { transform: scale(1); opacity: 1; }

.modal-body { display: flex; flex-direction: column; gap: 20px; }
.modal-cert-embed, .modal-project-image {
  border: 3px solid var(--neo-black);
  border-radius: 0; overflow: hidden;
  max-width: 100%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-1);
}
.modal-cert-embed iframe, .modal-cert-embed img { width: 100%; height: auto; border: none; display: block; }
.modal-project-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-cert-info, .modal-project-info { display: flex; flex-direction: column; gap: 15px; }
.modal-cert-title, .modal-project-title { color: var(--neo-black); font-size: var(--fs-2); margin-bottom: 10px; text-transform: uppercase; font-weight: 700; }
.modal-cert-date, .modal-project-category { display: flex; align-items: center; gap: 8px; color: #555; font-size: var(--fs-6); font-weight: 600; }
.modal-cert-date ion-icon, .modal-project-category ion-icon { color: var(--neo-yellow); }
.modal-cert-description, .modal-project-description { color: #333; font-size: var(--fs-6); font-weight: var(--fw-300); line-height: 1.6; }

.modal-actions { display: flex; gap: 12px; margin-top: 15px; }
.modal-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px;
  border-radius: 0; border: 3px solid var(--neo-black);
  font-size: var(--fs-6); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: var(--transition-1); cursor: pointer;
  box-shadow: var(--shadow-1);
}
.modal-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px var(--neo-black); }
.modal-btn-primary { background: var(--neo-yellow); color: var(--neo-black); }
.modal-btn-primary:hover { background: var(--neo-blue); }
.modal-btn-secondary { background: var(--neo-card); color: var(--neo-black); }
.modal-btn-secondary:hover { background: var(--neo-pink); color: var(--neo-black); }


/* ===== CLIENTS / TECH STACK ===== */
.clients { margin-bottom: 15px; }

/* New Tech Stack Layout */
.tech-category {
  margin-bottom: 20px;
}
.tech-category-label {
  display: inline-block;
  background: var(--neo-black);
  color: var(--neo-card);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  padding-top: 20px;
  background: var(--neo-card);
  border: 2px solid var(--neo-black);
  box-shadow: 3px 3px 0px var(--neo-black);
  transition: all 0.15s ease;
  cursor: default;
  position: relative;
  overflow: visible;
}

/* Efek lakban / tape meregang di atas card + ujung bergerigi */
.tech-item::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 70%;
  height: 16px;
  z-index: 2;
  pointer-events: none;
  background-color: rgba(255, 210, 50, 0.5);
  background-image: 
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25) 0%,
      transparent 35%,
      transparent 65%,
      rgba(0, 0, 0, 0.06) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.08) 0%,
      transparent 15%,
      transparent 85%,
      rgba(0, 0, 0, 0.08) 100%
    );
  box-shadow: 
    0 3px 4px -1px rgba(0, 0, 0, 0.12),
    inset 0 -2px 3px rgba(255, 255, 255, 0.15);
  /* Ujung bergerigi kayak lakban disobek */
  clip-path: polygon(
    0% 20%, 3% 0%, 6% 30%, 9% 5%, 12% 25%,
    12% 0%, 88% 0%,
    88% 25%, 91% 5%, 94% 30%, 97% 0%, 100% 20%,
    100% 70%, 95% 90%, 85% 100%, 70% 100%, 
    50% 100%, 30% 100%, 15% 100%, 5% 90%, 0% 70%
  );
}

/* Warna lakban beda-beda tiap card */
.tech-item:nth-child(1)::before {
  background-color: rgba(255, 210, 50, 0.55);  /* kuning */
}
.tech-item:nth-child(2)::before {
  background-color: rgba(255, 120, 120, 0.45); /* merah muda */
}
.tech-item:nth-child(3)::before {
  background-color: rgba(100, 200, 255, 0.45); /* biru muda */
}
.tech-item:nth-child(4)::before {
  background-color: rgba(120, 255, 150, 0.45); /* hijau */
}
.tech-item:nth-child(5)::before {
  background-color: rgba(200, 150, 255, 0.45); /* ungu */
}
.tech-item:nth-child(6)::before {
  background-color: rgba(255, 180, 100, 0.5);  /* orange */
}
.tech-item:nth-child(7)::before {
  background-color: rgba(255, 150, 200, 0.45); /* pink */
}
.tech-item:nth-child(8)::before {
  background-color: rgba(100, 255, 220, 0.45); /* tosca */
}
.tech-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--neo-black);
  background: var(--neo-yellow);
}

/* Variasi rotasi & gerigi lakban biar natural */
.tech-item:nth-child(even)::before {
  transform: translateX(-50%) rotate(1.5deg);
  clip-path: polygon(
    0% 15%, 2% 0%, 5% 35%, 8% 0%, 11% 20%,
    11% 0%, 89% 0%,
    89% 20%, 92% 0%, 95% 35%, 98% 0%, 100% 15%,
    100% 70%, 95% 90%, 85% 100%, 70% 100%, 
    50% 100%, 30% 100%, 15% 100%, 5% 90%, 0% 70%
  );
}
.tech-item:nth-child(3n)::before {
  transform: translateX(-50%) rotate(-0.5deg);
  width: 65%;
}
.tech-item:nth-child(4n+1)::before {
  transform: translateX(-50%) rotate(2deg);
  width: 75%;
}
.tech-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tech-icon i {
  font-size: 24px;
  color: var(--neo-black);
}
.tech-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: var(--neo-black);
  letter-spacing: 0.5px;
}
.clients-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 12px; padding: 15px;
}
.clients-item-grid {
  display: flex; justify-content: center; align-items: center;
  padding: 10px;
  background: var(--neo-card);
  border: 2px solid var(--neo-black);
  border-radius: 0;
  box-shadow: 3px 3px 0px var(--neo-black);
  transition: var(--transition-1);
  position: relative; cursor: help;
}
.clients-item-grid::before { content: none; }
.clients-item-grid img, .clients-item-grid i {
  width: 100%; max-width: 28px; height: auto;
  filter: grayscale(1); transition: var(--transition-1);
  font-size: 18px; color: #555;
}
.clients-item-grid::after {
  content: attr(title);
  position: absolute; bottom: -38px; left: 50%;
  transform: translateX(-50%);
  background: var(--neo-yellow); color: var(--neo-black);
  padding: 6px 12px; border-radius: 0;
  border: 2px solid var(--neo-black);
  font-size: var(--fs-7); font-weight: 700;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity var(--transition-1); z-index: 10;
  box-shadow: 2px 2px 0px var(--neo-black);
}
.clients-item-grid:hover::after { opacity: 1; }
.clients-item-grid:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0px var(--neo-black);
  background: var(--neo-yellow);
}
.clients-item-grid:hover img, .clients-item-grid:hover i { filter: grayscale(0); color: var(--neo-black); }

.clients-list {
  display: flex; justify-content: flex-start; align-items: flex-start;
  gap: 15px; margin: 0 -15px; padding: 25px;
  overflow-x: auto; scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory; scroll-padding-inline: 25px;
}
.clients-item { min-width: 50%; scroll-snap-align: start; }
.clients-item img { width: 100%; filter: grayscale(1); transition: var(--transition-1); border: 2px solid var(--neo-black); }
.clients-item img:hover { filter: grayscale(0); }

.tech-stack-hidden { display: none; }
.tech-stack-hidden.show { display: flex; }
.tech-stack-toggle-btn {
  position: relative; display: block; margin: 15px auto 0;
  padding: 10px 24px;
  background: var(--neo-black); border: 3px solid var(--neo-black);
  border-radius: 0; color: var(--neo-yellow);
  font-size: var(--fs-6); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  cursor: pointer; transition: var(--transition-1);
  box-shadow: var(--shadow-1);
}
.tech-stack-toggle-btn::before { content: none; }
.tech-stack-toggle-btn:hover,
.tech-stack-toggle-btn:focus {
  background: var(--neo-yellow); color: var(--neo-black);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--neo-black);
}

/* ===== RESUME ===== */
.timeline { margin-bottom: 30px; }
.timeline .title-wrapper { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.timeline-list { font-size: var(--fs-6); margin-left: 45px; }
.timeline-item {
  position: relative;
  border: 3px solid var(--neo-black);
  border-radius: 0; padding: 20px;
  background: var(--neo-card);
  box-shadow: var(--shadow-1);
  transition: all 0.15s ease;
}
.timeline-item:not(:last-child) { margin-bottom: 25px; }
.timeline-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px var(--neo-black);
}
.timeline-item-title { font-size: var(--fs-6); line-height: 1.3; margin-bottom: 7px; font-weight: 700; text-transform: uppercase; color: var(--neo-black); }
.timeline-list span { color: var(--neo-black); font-weight: 600; line-height: 1.6; }
.timeline-item:not(:last-child)::before {
  content: ""; position: absolute; top: -25px; left: -50px;
  width: 3px; height: calc(100% + 50px); background: var(--neo-black);
}
.timeline-item::after {
  content: ""; position: absolute; top: 25px; left: -55px;
  height: 12px; width: 12px;
  background: var(--neo-yellow); border-radius: 0;
  border: 2px solid var(--neo-black); box-shadow: 2px 2px 0px var(--neo-black);
}
.timeline-text { color: #333; font-weight: var(--fw-300); line-height: 1.6; }
.timeline:first-of-type .timeline-item { border-left: 8px solid var(--neo-yellow); }
.timeline:last-of-type .timeline-item { border-left: 8px solid var(--neo-blue); }

/* ===== SKILLS ===== */
.skills-title { margin-bottom: 20px; }
.skills-list { padding: 20px; }
.skills-item:not(:last-child) { margin-bottom: 18px; }
.skill .title-wrapper { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.skill .title-wrapper data { color: var(--neo-black); font-size: var(--fs-7); font-weight: 700; }
.skill-progress-bg {
  background: var(--neo-bg); width: 100%; height: 14px;
  border-radius: 0; border: 2px solid var(--neo-black);
  box-shadow: 2px 2px 0px var(--neo-black);
}
.skill-progress-fill { background: var(--neo-yellow); height: 100%; border-radius: 0; }


/* ===== PORTFOLIO ===== */
.filter-list { display: none; }
.filter-select-box { position: relative; margin-bottom: 25px; }
.filter-search {
  background: var(--neo-card); color: var(--neo-black);
  width: 100%; padding: 12px 16px;
  border: 3px solid var(--neo-black); border-radius: 0;
  font-size: var(--fs-6); font-weight: var(--fw-400);
  box-shadow: var(--shadow-1); transition: box-shadow 0.15s ease;
}
.filter-search:focus { outline: none; box-shadow: 6px 6px 0px var(--neo-black); }
.filter-search::placeholder { color: #999; }

.filter-select {
  background: var(--neo-card); color: var(--neo-black);
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 12px 16px;
  border: 3px solid var(--neo-black); border-radius: 0;
  font-size: var(--fs-6); font-weight: var(--fw-400);
  box-shadow: var(--shadow-1);
}
.filter-select.active .select-icon { transform: rotate(0.5turn); }

.select-list {
  background: var(--neo-card); position: absolute;
  top: calc(100% + 6px); width: 100%; padding: 6px;
  border: 3px solid var(--neo-black); border-radius: 0;
  z-index: 2; opacity: 0; visibility: hidden; pointer-events: none;
  transition: 0.15s ease; box-shadow: var(--shadow-2);
}
.filter-select.active + .select-list { opacity: 1; visibility: visible; pointer-events: all; }
.select-item button {
  background: var(--neo-card); color: var(--neo-black);
  font-size: var(--fs-6); font-weight: var(--fw-400);
  text-transform: uppercase; letter-spacing: 0.5px;
  width: 100%; padding: 10px 12px; border-radius: 0;
  border: none; border-bottom: 1px solid #ddd;
}
.select-item button:hover { background: var(--neo-yellow); }

.project-list { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 10px; }
.project-item { display: none; }
.project-item.active { display: block; animation: scaleUp 0.2s ease forwards; }
@keyframes scaleUp { 0% { transform: scale(0.95); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.project-item > a, .project-item > .project-card-btn { width: 100%; display: block; }
.project-card-btn { text-align: left; }

.project-img {
  position: relative; width: 100%; height: 200px;
  border: 3px solid var(--neo-black); border-radius: 0;
  overflow: hidden; margin-bottom: 15px; box-shadow: var(--shadow-1);
}
.project-img::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; background: transparent;
  z-index: 1; transition: var(--transition-1);
}
.project-item > a:hover .project-img::before,
.project-item > .project-card-btn:hover .project-img::before { background: hsla(0, 0%, 0%, 0.4); }

.project-item-icon-box {
  --scale: 0.8;
  background: var(--neo-yellow); color: var(--neo-black);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px; padding: 18px; border-radius: 0;
  border: 3px solid var(--neo-black); opacity: 0;
  z-index: 1; transition: var(--transition-1); box-shadow: var(--shadow-1);
}
.project-item > a:hover .project-item-icon-box,
.project-item > .project-card-btn:hover .project-item-icon-box { --scale: 1; opacity: 1; }
.project-item-icon-box ion-icon { --ionicon-stroke-width: 50px; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-1); }
.project-item > a:hover img,
.project-item > .project-card-btn:hover img { transform: scale(1.05); }

.project-title, .project-category { margin-left: 10px; }
.project-title { color: var(--neo-black); font-size: var(--fs-5); font-weight: 700; text-transform: uppercase; line-height: 1.3; }
.project-category { color: #555; font-size: var(--fs-6); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.project-description { color: #333; font-size: var(--fs-7); line-height: 1.6; margin-left: 10px; margin-bottom: 15px; }

/* Project link button */
.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 10px 0;
  padding: 8px 14px;
  background: var(--neo-yellow);
  color: var(--neo-black);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--neo-black);
  box-shadow: 3px 3px 0px var(--neo-black);
  transition: all 0.15s ease;
  text-decoration: none;
}
.project-link-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--neo-black);
  background: var(--neo-blue);
  color: var(--neo-black);
}
/* ===== BLOG ===== */
.blog-posts { margin-bottom: 10px; overflow: hidden; }
.blog-posts-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.blog-post-item > a {
  position: relative; display: flex; flex-direction: column;
  background: var(--neo-card); height: 100%;
  box-shadow: var(--shadow-2); border-radius: 0;
  overflow: hidden; text-decoration: none; z-index: 1;
  border: 3px solid var(--neo-black); transition: all 0.15s ease;
}
.blog-post-item > a:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0px var(--neo-black); }
.blog-post-item > a::before { content: none; }

.cert-card-btn {
  position: relative; display: flex; flex-direction: column;
  background: var(--neo-card); height: 100%;
  box-shadow: var(--shadow-2); border-radius: 0;
  overflow: hidden; text-decoration: none; z-index: 1;
  border: 3px solid var(--neo-black);
  border-left: 8px solid var(--neo-yellow);
  transition: all 0.15s ease; cursor: pointer; width: 100%;
}
.cert-card-btn:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0px var(--neo-black); }
.cert-card-btn::before { content: none; }
.cert-card-btn:hover .blog-item-title { color: var(--neo-black); }

[data-page="certificate"] .blog-posts-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px;
}

.pdf-thumbnail { width: 100%; display: block; }
.blog-banner-box { width: 100%; aspect-ratio: 16 / 9; border-bottom: 3px solid var(--neo-black); overflow: hidden; }
.blog-banner-box img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-1); }
.blog-post-item > a:hover .blog-banner-box img { transform: scale(1.03); }

.blog-content { padding: 18px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.blog-meta { display: flex; justify-content: flex-start; align-items: center; gap: 7px; margin-bottom: 10px; }
.blog-meta :is(.blog-category, time) { color: #555; font-size: var(--fs-6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-meta .dot { background: var(--neo-black); width: 6px; height: 6px; border-radius: 0; }
.blog-item-title { margin-bottom: 10px; line-height: 1.3; transition: var(--transition-1); font-weight: 700; color: var(--neo-black); }
.blog-post-item > a:hover .blog-item-title { color: var(--neo-black); }
.blog-text { color: #333; font-size: var(--fs-6); font-weight: var(--fw-300); line-height: 1.6; }

.blog-loading, .blog-post-error {
  text-align: center; padding: 40px 20px;
  background: var(--neo-card); border: 3px solid var(--neo-black);
  border-radius: 0; color: #555; font-size: var(--fs-6); box-shadow: var(--shadow-1);
}
.blog-post-link { text-decoration: none; color: inherit; cursor: pointer; width: 100%; text-align: left; }
button.blog-post-link {
  display: flex; flex-direction: column;
  background: var(--neo-card); height: 100%;
  box-shadow: var(--shadow-2); border-radius: 0;
  overflow: hidden; border: 3px solid var(--neo-black);
  transition: all 0.15s ease; padding: 0;
  max-width: 100%; min-width: 0;
}
button.blog-post-link:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--neo-black);
}
button.blog-post-link:hover .blog-item-title { color: var(--neo-black); }
.blog-see-more-btn {
  display: block; margin: 30px auto 0; padding: 14px 28px;
  background: var(--neo-yellow); color: var(--neo-black);
  font-size: var(--fs-6); font-weight: 700;
  border: 3px solid var(--neo-black); border-radius: 0;
  cursor: pointer; transition: var(--transition-1);
  box-shadow: var(--shadow-2); text-transform: uppercase; letter-spacing: 1px;
}
.blog-see-more-btn:hover,
.blog-see-more-btn:focus {
  background: var(--neo-blue); transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px var(--neo-black);
}
.blog-see-more-btn:disabled { background: #ddd; color: #999; cursor: not-allowed; transform: none; box-shadow: var(--shadow-1); }

/* Blog article reader styles */
article figure {
  margin: 20px 0;
  border: 3px solid var(--neo-black);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
article figure img {
  width: 100%;
  display: block;
}
article figcaption {
  background: var(--neo-yellow);
  color: var(--neo-black);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  text-transform: uppercase;
  border-top: 2px solid var(--neo-black);
}
article pre {
  background: #1a1a2e;
  color: #fff;
  padding: 16px;
  border: 3px solid var(--neo-black);
  box-shadow: var(--shadow-1);
  overflow-x: auto;
  margin: 16px 0;
  font-family: 'Fira Code', monospace, monospace;
  font-size: 13px;
  line-height: 1.6;
}
article code {
  background: var(--neo-bg);
  padding: 2px 6px;
  border: 1px solid var(--neo-black);
  font-family: monospace;
  font-size: 0.9em;
  font-weight: 600;
}
article pre code {
  background: none;
  border: none;
  padding: 0;
}
article blockquote {
  border-left: 5px solid var(--neo-yellow);
  background: #FFF9E3;
  padding: 15px 20px;
  margin: 16px 0;
  font-style: italic;
  font-weight: 500;
}
article ol, article ul {
  margin-left: 20px;
  margin-bottom: 16px;
}
article li {
  margin-bottom: 8px;
  line-height: 1.7;
}
article h3, article h4 {
  margin-top: 24px;
  margin-bottom: 12px;
}


/* ===== CONTACT ===== */
.mapbox {
  position: relative; height: 250px; width: 100%;
  border: 3px solid var(--neo-black); border-radius: 0;
  margin-bottom: 30px; overflow: hidden; box-shadow: var(--shadow-2);
}
.mapbox figure { height: 100%; }
.mapbox iframe { width: 100%; height: 100%; border: none; }

.contact-form { margin-bottom: 10px; }
.form-title { margin-bottom: 20px; }
.input-wrapper { display: grid; grid-template-columns: 1fr; gap: 25px; margin-bottom: 25px; }
.form-input {
  color: var(--neo-black); font-size: var(--fs-6); font-weight: var(--fw-400);
  padding: 14px 18px; border: 3px solid var(--neo-black); border-radius: 0;
  outline: none; background: var(--neo-card);
  box-shadow: var(--shadow-1); transition: all var(--transition-1);
}
.form-input:focus { box-shadow: 6px 6px 0px var(--neo-black); }
.form-input::placeholder { color: #999; font-weight: var(--fw-300); }
textarea.form-input { min-height: 120px; height: 120px; resize: vertical; }

.form-btn {
  position: relative; width: 100%;
  background: var(--neo-yellow); color: var(--neo-black);
  display: flex; justify-content: center; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 0;
  border: 3px solid var(--neo-black);
  font-size: var(--fs-6); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  box-shadow: var(--shadow-2); transition: all var(--transition-1); cursor: pointer;
}
.form-btn::before { content: none; }
.form-btn ion-icon { font-size: 18px; --ionicon-stroke-width: 50px; }
.form-btn:hover {
  background: var(--neo-blue); transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px var(--neo-black);
}
.form-btn:active { transform: translate(0, 0); box-shadow: var(--shadow-1); }
.form-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-btn:disabled:hover { background: var(--neo-yellow); transform: none; box-shadow: var(--shadow-2); }

/* ===== COMMENTS ===== */
.comments-section { margin-bottom: 30px; }
.comments-title { margin-bottom: 25px; color: var(--neo-black); }
.add-comment-form {
  background: var(--neo-card); padding: 25px;
  border: 3px solid var(--neo-black); border-radius: 0;
  margin-bottom: 30px; box-shadow: var(--shadow-2);
}
.comment-form-title { font-size: var(--fs-5); margin-bottom: 20px; color: var(--neo-black); text-transform: uppercase; font-weight: 700; }
.form-group { margin-bottom: 15px; }
.comment-form textarea { resize: vertical; min-height: 100px; max-height: 200px; }

.comments-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item {
  background: var(--neo-card); padding: 20px;
  border: 3px solid var(--neo-black); border-radius: 0;
  box-shadow: var(--shadow-1); transition: var(--transition-1);
}
.comment-item:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0px var(--neo-black); }
.comment-item.pinned-comment { border: 3px solid var(--neo-yellow); border-left: 8px solid var(--neo-yellow); }
.comment-pin-badge {
  position: absolute; top: -10px; right: 20px;
  background: var(--neo-yellow); border: 2px solid var(--neo-black);
  border-radius: 0; padding: 4px 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 2px 2px 0px var(--neo-black);
}
.pin-icon { width: 16px; height: 16px; object-fit: contain; }
.comment-header { margin-bottom: 15px; }
.comment-author-info { display: flex; align-items: center; gap: 12px; }
.comment-avatar {
  width: 44px; height: 44px;
  border: 3px solid var(--neo-black); border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-5); flex-shrink: 0;
  overflow: hidden; position: relative;
  box-shadow: 2px 2px 0px var(--neo-black);
  background: var(--neo-yellow);
}
.comment-avatar .avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.comment-avatar .avatar-fallback {
  width: 100%; height: 100%; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; position: absolute; top: 0; left: 0;
}
.comment-meta { flex: 1; min-width: 0; }
.comment-author { font-size: var(--fs-6); font-weight: 700; color: var(--neo-black); margin-bottom: 4px; text-transform: uppercase; }
.comment-date { font-size: var(--fs-7); color: #555; font-weight: 600; }
.comment-text {
  color: var(--neo-black); font-size: var(--fs-5); font-weight: var(--fw-400);
  line-height: 1.8; word-break: break-word; white-space: pre-wrap;
  margin-top: 10px; padding: 12px;
  background: var(--neo-bg); border-left: 5px solid var(--neo-yellow); border-radius: 0;
}
.no-comments, .loading-text { text-align: center; color: #555; font-size: var(--fs-6); padding: 40px 20px; font-weight: 600; text-transform: uppercase; }

/* ===== PAGE TRANSITIONS ===== */
.blog-loading, .project-loading, .certificate-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; color: #555; font-weight: 600; text-transform: uppercase;
}
.blog-loading::before, .project-loading::before, .certificate-loading::before {
  content: ''; width: 20px; height: 20px;
  border: 3px solid var(--neo-black); border-top: 3px solid var(--neo-yellow);
  border-radius: 0; animation: spin 0.8s linear infinite; margin-right: 10px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}


/* ===== RESPONSIVE ===== */
@media (min-width: 450px) {
  .clients-item { min-width: calc(33.33% - 10px); }
  .clients-list-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 30px 20px; }
  .blog-posts-list { grid-template-columns: repeat(2, 1fr); }
  .sidebar, article { width: 100%; max-width: 520px; margin-inline: auto; padding: 30px; }
  .article-title { font-weight: 700; }
  .icon-box { width: 48px; height: 48px; font-size: 20px; }
  main { margin-top: 60px; margin-bottom: 100px; }
  .sidebar { max-height: 180px; margin-bottom: 30px; }
  .sidebar.active { max-height: 584px; }
  .sidebar-info { gap: 25px; }
  .avatar-box img { width: 120px; }
  .info-content .name { margin-bottom: 15px; }
  .info-content .title { padding: 5px 18px; }
  .info_more-btn { top: -30px; right: -30px; padding: 10px 15px; }
  .info_more-btn span { display: block; font-size: var(--fs-8); font-weight: 700; text-transform: uppercase; }
  .info_more-btn ion-icon { display: none; }
  .separator { margin: 32px 0; }
  .contacts-list { gap: 20px; }
  .contact-info { max-width: calc(100% - 64px); width: calc(100% - 64px); }
  .navbar-list { gap: 20px; }
  .navbar-link { --fs-8: 14px; }
  .about .article-title { margin-bottom: 20px; }
  .about-text { margin-bottom: 40px; }
  .service-item { display: flex; justify-content: flex-start; align-items: flex-start; gap: 18px; padding: 30px; }
  .service-icon-box { margin-bottom: 0; margin-top: 5px; }
  .service-content-box { text-align: left; }
  .testimonials-title { margin-bottom: 25px; }
  .testimonials-list { gap: 30px; margin: 0 -30px; padding: 30px; padding-bottom: 35px; }
  .content-card { padding: 30px; padding-top: 25px; }
  .testimonials-avatar-box { transform: translate(30px, -30px); }
  .testimonials-avatar-box img { width: 80px; }
  .testimonials-item-title { margin-bottom: 10px; margin-left: 95px; }
  .testimonials-text { line-clamp: 2; -webkit-line-clamp: 2; }
  .modal-container { padding: 20px; }
  .testimonials-modal { display: flex; justify-content: flex-start; align-items: stretch; gap: 25px; padding: 30px; }
  .modal-img-wrapper { display: flex; flex-direction: column; align-items: center; }
  .modal-avatar-box { margin-bottom: 0; }
  .modal-avatar-box img { width: 65px; }
  .modal-img-wrapper > img { display: block; flex-grow: 1; width: 35px; }
  .clients-list { gap: 50px; margin: 0 -30px; padding: 45px; scroll-padding-inline: 45px; }
  .clients-item { min-width: calc(33.33% - 35px); }
  .clients-list-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .clients-item-grid { padding: 15px; }
  .clients-item-grid img, .clients-item-grid i { max-width: 60px; font-size: 40px; }
  .modal-content { max-width: 95vw; max-height: 95vh; padding: 20px; margin: 15px auto; }
  .modal-cert-embed img { max-width: 100%; height: auto; }
}

@media (min-width: 580px) {
  .sidebar, article { width: 100%; max-width: 700px; }
  .has-scrollbar::-webkit-scrollbar-button { width: 100px; }
  .contacts-list { grid-template-columns: 1fr 1fr; gap: 30px 15px; }
  .navbar-link { --fs-8: 15px; }
  .testimonials-modal { gap: 35px; max-width: 680px; }
  .modal-avatar-box img { width: 80px; }
  .modal-content { max-width: 90vw; max-height: 85vh; padding: 25px; }
  .modal-body { flex-direction: column; }
}

@media (min-width: 768px) {
  .sidebar, article { width: 100%; max-width: 950px; }
  main { margin-bottom: 60px; }
  .main-content { position: relative; width: 100%; max-width: 950px; margin: auto; }
  .navbar {
    position: absolute; bottom: auto; top: 0; left: auto; right: 0;
    width: max-content; border: 3px solid var(--neo-black);
    padding: 0 20px; box-shadow: var(--shadow-1);
    background: var(--neo-yellow);
  }
  .navbar-list { gap: 30px; padding: 0 20px; }
  .navbar-link { font-weight: 700; }
  .service-list { grid-template-columns: 1fr 1fr; gap: 20px 25px; }
  .testimonials-item { min-width: calc(50% - 15px); }
  .clients-item { min-width: calc(25% - 38px); }
  .project-list { grid-template-columns: repeat(2, 1fr); }
  .blog-banner-box { height: 230px; }
  .modal-content { max-width: 85vw; margin: auto; }
  .modal-body { flex-direction: row; gap: 30px; }
  .modal-cert-embed { flex: 1; min-width: 400px; }
  .modal-cert-info { flex: 0 0 300px; }
  .timeline-item { padding: 15px; margin-left: -10px; }
  .timeline-list { margin-left: 35px; }
  .timeline-item:not(:last-child)::before { left: -40px; }
  .timeline-item::after { left: -43px; }
}

@media (min-width: 1024px) {
  .sidebar, article { width: auto; max-width: none; box-shadow: var(--shadow-3); }
  article { min-height: 100%; }
  main { max-width: 1200px; margin-inline: auto; display: flex; justify-content: center; align-items: flex-start; gap: 25px; padding: 0 15px; }
  .main-content { min-width: 0; width: auto; max-width: none; margin: 0; flex: 1; overflow: hidden; }
  .sidebar { position: sticky; top: 60px; max-height: none; height: auto; margin-bottom: 0; padding-top: 60px; z-index: 1; overflow: visible; flex-shrink: 0; width: 300px; }
  .sidebar-info { flex-direction: column; }
  .avatar-box img { width: 150px; }
  .info-content .name { white-space: nowrap; text-align: center; }
  .info-content .title { margin: auto; }
  .info_more-btn { display: none; }
  .sidebar-info_more { opacity: 1; visibility: visible; }
  .contacts-list { grid-template-columns: 1fr; }
  .contact-info :is(.contact-link) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .contact-info :is(.contact-link, time, address) { --fs-7: 14px; font-weight: var(--fw-300); }
  .separator:last-of-type { margin: 15px 0; opacity: 0; }
  .social-list { justify-content: center; }
  .timeline-text { max-width: 700px; }
  .project-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .project-img { height: 200px; }
}

/* ===== SKELETON LOADING ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border: 3px solid var(--neo-black);
  box-shadow: var(--shadow-1);
}
.skeleton-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-bottom: 3px solid var(--neo-black);
}
.skeleton-text {
  height: 14px;
  margin-bottom: 10px;
  border: none;
  box-shadow: none;
}
.skeleton-text.short { width: 40%; }
.skeleton-text.medium { width: 70%; }
.skeleton-text.long { width: 100%; }
.skeleton-title {
  height: 20px;
  margin-bottom: 12px;
  width: 85%;
  border: none;
  box-shadow: none;
}
.skeleton-content {
  padding: 18px;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--neo-yellow);
  border: 3px solid var(--neo-black);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--neo-black);
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--neo-black);
}
.back-to-top:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0px var(--neo-black);
}

/* ===== SWEETALERT2 ===== */
.swal-popup {
  background: var(--neo-card) !important; color: var(--neo-black) !important;
  border: 3px solid var(--neo-black) !important; border-radius: 0 !important;
  box-shadow: 8px 8px 0px var(--neo-black) !important;
  font-family: var(--ff-poppins) !important;
}
.swal-popup .swal2-title { color: var(--neo-black) !important; font-weight: 700 !important; text-transform: uppercase !important; }
.swal-popup .swal2-html-container { color: #333 !important; }
.swal-popup .swal2-icon { border-color: var(--neo-black) !important; }
.swal-confirm-btn {
  background: var(--neo-yellow) !important; color: var(--neo-black) !important;
  border: 3px solid var(--neo-black) !important; border-radius: 0 !important;
  padding: 12px 40px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 1px !important;
  box-shadow: 4px 4px 0px var(--neo-black) !important; transition: all 0.15s ease !important;
}
.swal-confirm-btn:hover {
  background: var(--neo-blue) !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px var(--neo-black) !important;
}

/*-----------------------------------*\
  #STABILO / HIGHLIGHT EFFECT
\*-----------------------------------*/

.stabilo {
  position: relative;
  display: inline;
  padding: 2px 4px;
  margin: 0 -2px;
}

.stabilo::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 60%;
  z-index: -1;
  transform: rotate(-0.5deg);
  border-radius: 2px 4px 3px 5px;
}

/* Warna stabilo kuning */
.stabilo--yellow::before {
  background: rgba(255, 230, 0, 0.35);
}

/* Warna stabilo hijau */
.stabilo--green::before {
  background: rgba(0, 255, 100, 0.25);
}

/* Warna stabilo pink */
.stabilo--pink::before {
  background: rgba(255, 100, 150, 0.3);
}

/* Warna stabilo biru */
.stabilo--blue::before {
  background: rgba(80, 180, 255, 0.3);
}

/* Warna stabilo orange */
.stabilo--orange::before {
  background: rgba(255, 165, 0, 0.35);
}

/*-----------------------------------*\
  #CUSTOM CONTEXT MENU
\*-----------------------------------*/

#custom-context-menu {
  display: none;
  position: fixed;
  z-index: 99999;
  min-width: 200px;
  background: var(--eerie-black-1, #1e1e1e);
  border: 2px solid var(--neo-black, #000);
  box-shadow: 4px 4px 0px var(--neo-black, #000);
  padding: 6px 0;
  font-family: 'Poppins', sans-serif;
}

#custom-context-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#custom-context-menu li {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #e0e0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.1s ease, color 0.1s ease;
}

#custom-context-menu li:hover {
  background: var(--neo-yellow, #ffd700);
  color: #000;
}

#custom-context-menu li i {
  width: 16px;
  text-align: center;
  font-size: 12px;
}

#custom-context-menu .separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 12px;
  padding: 0;
  cursor: default;
}

#custom-context-menu .separator:hover {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}
