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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #16161f;
  --neon: #00f5c4;
  --neon2: #00c9f5;
  --accent: #7c3aed;
  --text: #e8e8f0;
  --muted: #6b6b80;
  --border: rgba(255,255,255,0.07);
  --card: rgba(255,255,255,0.03);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--neon); border-radius: 2px; }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 68px;
  background: rgba(10,10,15,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--neon);
  text-decoration: none;
}
.logo span { color: var(--text); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--neon);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--neon); }

.nav-hire {
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon) !important;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-hire:hover { background: var(--neon) !important; color: var(--bg) !important; }
.nav-hire::after { display: none !important; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── SECTIONS ── */
section {
  min-height: 100vh;
  padding: 120px 60px 80px;
  position: relative;
}

/* ── HERO ── */
#home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 100px;
  padding-bottom: 80px;
  padding-left: 160px;
  padding-right: 60px;
}

.hero-left { flex: 1; max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,245,196,0.08);
  border: 1px solid rgba(0,245,196,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--neon);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-greeting {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 8px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--text);
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-name .highlight { color: var(--neon); display: block; }

.hero-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-title span { color: var(--neon2); font-weight: 600; }

.hero-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.5s ease both;
}

.btn-primary {
  background: var(--neon);
  color: var(--bg);
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,245,196,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--neon); color: var(--neon); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  animation: fadeUp 0.6s 0.6s ease both;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--neon);
  letter-spacing: 1px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO RIGHT – PROFILE ── */
.hero-right {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-right: 120px;
  animation: fadeIn 0.8s 0.3s ease both;
}

.profile-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px dashed rgba(0,245,196,0.4);
  animation: spinRing 12s linear infinite;
}
.profile-ring::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  width: 12px; height: 12px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--neon);
  transform: translateX(-50%);
}
@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.profile-glow-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(0,245,196,0.18), rgba(0,201,245,0.10) 60%, transparent 80%);
  box-shadow: 0 0 80px rgba(0,245,196,0.22), 0 0 140px rgba(0,245,196,0.08);
}

.profile-photo {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0,245,196,0.5);
  box-shadow: 0 0 40px rgba(0,245,196,0.25);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.profile-photo img {
  width: 90%;
  height: 360px;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  position: absolute;
  top: 0;
  left: 6%;
}

.profile-avatar-placeholder {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: var(--neon);
  letter-spacing: 2px;
  opacity: 0.6;
}

.profile-badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  background: var(--bg3);
  border: 1px solid rgba(0,245,196,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.72rem;
  color: var(--neon);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.profile-socials {
  display: flex;
  gap: 12px;
}

.profile-social-link {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.profile-social-link:hover {
  border-color: rgba(0,245,196,0.5);
  background: rgba(0,245,196,0.06);
  transform: translateY(-3px);
}
.profile-social-link svg {
  width: 18px; height: 18px;
  fill: var(--muted);
  transition: fill 0.2s;
}
.profile-social-link:hover svg { fill: var(--neon); }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 60px; }
.section-tag {
  font-size: 0.75rem;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1;
}
.section-title .dim { color: var(--muted); }
.section-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
  margin-top: 16px;
}

/* ── ABOUT ── */
#about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.about-text p strong { color: var(--text); font-weight: 600; }

.hobby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.hobby-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}
.hobby-card:hover { border-color: rgba(0,245,196,0.3); }
.hobby-icon {
  font-size: 1.4rem;
  width: 40px; height: 40px;
  background: rgba(0,245,196,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hobby-name { font-size: 0.85rem; color: var(--text); font-weight: 500; }

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.info-value { font-size: 0.9rem; color: var(--text); font-weight: 500; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,245,196,0.1);
  border: 1px solid rgba(0,245,196,0.2);
  color: var(--neon);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
}

/* ── SKILLS ── */
.skills-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.skill-category-title {
  font-size: 0.75rem;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.skill-item { margin-bottom: 20px; }
.skill-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-name { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.skill-pct { font-size: 0.8rem; color: var(--neon); font-family: 'Courier New', monospace; }
.skill-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tech-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.tech-card:hover { border-color: rgba(0,245,196,0.4); transform: translateY(-3px); }
.tech-card:hover i { color: var(--neon); }
.tech-card:hover .tech-name { color: var(--neon); }

.tech-card i {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
  text-align: center;
  color: var(--muted); 
  transition: color 0.2s;
}
.tech-name { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* ── PROJECTS ── */
#projects { background: var(--bg2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(0,245,196,0.3); }

.project-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.4s ease;
}
.project-card:hover .project-thumb-img {
  transform: scale(1.05);
}

.project-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,10,15,0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.project-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(10,10,15,0.75);
  border: 1px solid rgba(0,245,196,0.3);
  color: var(--neon);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.project-body { padding: 20px; }
.project-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.project-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.project-stack { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.stack-tag {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: #a78bfa;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
}
.project-links { display: flex; gap: 12px; }
.project-link {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.project-link:hover { color: var(--neon); }

.figma-link { color: #a78bfa; }
.figma-link:hover { color: #c4b5fd; }
.figma-link svg { flex-shrink: 0; }

.project-link-disabled {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.4;
  font-style: italic;
  cursor: default;
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}
.page-btn:hover { border-color: var(--neon); color: var(--neon); }
.page-btn.active { background: var(--neon); border-color: var(--neon); color: var(--bg); font-weight: 700; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-btn:disabled:hover { border-color: var(--border); color: var(--muted); }

/* ── RESUME ── */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.resume-section-title {
  font-size: 0.75rem;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.resume-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.timeline-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 8px; height: 8px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon);
}
.timeline-item::after {
  content: '';
  position: absolute;
  left: 3.5px; top: 18px;
  width: 1px;
  height: calc(100% + 8px);
  background: var(--border);
}
.timeline-item:last-child::after { display: none; }
.timeline-period { font-size: 0.72rem; color: var(--neon); font-family: 'Courier New', monospace; letter-spacing: 1px; margin-bottom: 4px; }
.timeline-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.timeline-place { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.timeline-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

.cert-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s;
}
.cert-item:hover { border-color: rgba(0,245,196,0.3); }
.cert-icon {
  width: 36px; height: 36px;
  background: rgba(0,245,196,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.cert-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.cert-org { font-size: 0.75rem; color: var(--muted); }
.resume-download { margin-top: 40px; text-align: center; }

/* ── CONTACT ── */
#contact { background: var(--bg2); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info-text { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 40px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(0,245,196,0.08);
  border: 1px solid rgba(0,245,196,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.contact-item-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-item-value { font-size: 0.9rem; color: var(--text); }

.form-group { margin-bottom: 20px; }
.form-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: rgba(0,245,196,0.5); }
.form-textarea { height: 130px; resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-text { font-size: 0.8rem; color: var(--muted); }
.footer-text span { color: var(--neon); }
.footer-socials { display: flex; gap: 12px; }
.footer-social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.footer-social-link:hover { border-color: var(--neon); background: rgba(0,245,196,0.06); }
.footer-social-link svg { width: 15px; height: 15px; fill: var(--muted); transition: fill 0.2s; }
.footer-social-link:hover svg { fill: var(--neon); }

/* ── BG GLOWS ── */
.bg-glow {
  position: fixed;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,245,196,0.04), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  top: -200px; right: -200px;
  z-index: 0;
}
.bg-glow2 {
  position: fixed;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  bottom: 10%; left: -100px;
  z-index: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */

/* Tablet landscape – 1200px */
@media (max-width: 1200px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reset padding hero supaya ga terlalu shift */
  #home {
    padding-left: 60px;
    padding-right: 60px;
  }
  .hero-right {
    flex: 0 0 380px;
    padding-right: 0;
  }
  .profile-wrapper { width: 320px; height: 320px; }
  .profile-photo { width: 320px; height: 320px; }
  .profile-photo img { height: 320px; }
}

/* Tablet portrait – 900px */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-hire { border: none; padding: 12px 0; }
  .nav-toggle { display: flex; }

  section { padding: 100px 32px 60px; }

  /* Hero stack vertikal — reset semua custom padding */
  #home {
    flex-direction: column-reverse;
    padding: 100px 32px 60px;
    align-items: center;
    text-align: center;
    gap: 32px;
    min-height: auto;
  }
  .hero-left { max-width: 600px; width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; gap: 40px; }

  /* ⬇ INI KUNCINYA: reset padding-right & flex hero-right */
  .hero-right {
    flex: none;
    width: 100%;
    align-items: center;
    padding-right: 0;        /* hapus padding-right: 120px dari desktop */
  }

  .profile-wrapper { width: 300px; height: 300px; }
  .profile-photo { width: 300px; height: 300px; }
  .profile-photo img { height: 300px; }
  .profile-badge { right: 0; bottom: 4px; }

  .about-grid,
  .skills-wrapper,
  .resume-grid,
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
}

/* Mobile – 600px */
@media (max-width: 600px) {
  section { padding: 90px 20px 50px; }

  /* Hero: reset semua padding custom, pakai padding section standar */
  #home {
    flex-direction: column-reverse;
    padding: 90px 20px 50px;
    align-items: center;
    text-align: center;
    gap: 24px;
    min-height: auto;
  }

  .hero-left { width: 100%; }
  .hero-name { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .hero-badge { font-size: 0.7rem; }
  .hero-desc { font-size: 0.9rem; max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; justify-content: center; }

  /* ⬇ Reset padding-right dan besarkan foto profil di mobile */
  .hero-right {
    flex: none;
    width: 100%;
    align-items: center;
    padding-right: 0;        /* hapus padding-right: 120px dari desktop */
    gap: 20px;
  }

  /* Foto profil mobile: besar dan proporsional */
  .profile-wrapper { width: 260px; height: 260px; }
  .profile-photo { width: 260px; height: 260px; }
  .profile-photo img { height: 260px; }
  .profile-badge { right: 0; font-size: 0.65rem; padding: 5px 10px; }
  .profile-socials { gap: 10px; }
  .profile-social-link { width: 40px; height: 40px; }

  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hobby-grid { grid-template-columns: 1fr 1fr; }
  .skills-wrapper { gap: 32px; }
  .section-title { font-size: 2.4rem; }
}