@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; 
  background-color: var(--bg-dark);
  font-family: 'Inter', sans-serif;
  color: var(--text-paragraph); 
  line-height: 1.6;
}

:root {
  --primary: #e9814f;
  --primary-deep: #c4572b;
  --primary-dark: #1b1a18;
  --secondary-accent: #8a847b;
  --tertiary-accent: #5fc58f;
  --bg-dark: #121110;
  --bg-panel: #1a1917;
  --bg-card: #1b1a18;
  --bg-card-hover: #24221f;
  --text-heading: #f6f2ec;
  --text-paragraph: #aaa399;
  --text-muted: #7a746b;
  --sidebar-bg: #1a1917;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-primary: 0 0 30px rgba(233, 129, 79, 0.25);
  --glow-purple: 0 0 30px rgba(233, 129, 79, 0.2);
  --orange-grad: linear-gradient(135deg, #f0955f 0%, #e9814f 45%, #c4572b 100%);
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-heading); 
  letter-spacing: -0.02em;
}

a {
  color: var(--text-paragraph);
  text-decoration: none;
  transition: color 0.3s;
}

.text-primary {
  color: var(--primary);
}

/* ======================================= */
/* === CUSTOM CURSOR === */
/* ======================================= */
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transition: transform 0.15s ease, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, width 0.3s, height 0.3s;
}

.cursor-outline.hover {
  width: 60px;
  height: 60px;
  background: rgba(233, 129, 79, 0.08);
  border-color: var(--secondary-accent);
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-outline { display: none; }
}

/* ======================================= */
/* === SCROLL TO TOP BUTTON === */
/* ======================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fffffe;
  border: 1px solid var(--border-color);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-5px) scale(1.1);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* ======================================= */
/* === ANIMATED BACKGROUND BLOBS === */
/* ======================================= */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.10;
  animation: blob-float 20s infinite ease-in-out;
  max-width: 100vw;
  max-height: 100vh;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: #e9814f;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #c4572b;
  top: 50%;
  right: 0;
  animation-delay: -7s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: #7a3a1d;
  bottom: 0;
  left: 30%;
  animation-delay: -14s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ======================================= */
/* === NAVIGASI === */
/* ======================================= */
.menu-toggle-container {
  position: fixed;
  top: 0;
  left: 0; 
  width: 100%;
  max-width: 100vw;
  height: 70px; 
  z-index: 1010; 
  display: flex; 
  align-items: center;
  justify-content: flex-start; 
  padding: 0 25px;
  pointer-events: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease; 
  pointer-events: auto;
  padding: 12px;
  background: var(--bg-dark);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
}

.menu-toggle-container.active .menu-toggle {
  opacity: 0;
  pointer-events: none;
}

.bar {
  width: 25px;
  height: 2.5px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s ease; 
}

.sidebar-nav {
  position: fixed; 
  top: 0;
  left: -320px; 
  width: 300px; 
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px 25px;
  box-shadow: 5px 0 30px rgba(0,0,0,0.6);
  transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
  z-index: 1008; 
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid var(--border-color);
}

.sidebar-nav.active {
  left: 0; 
}

.nav-header {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 2rem;
  color: var(--text-heading);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
  padding: 5px 10px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
}

.sidebar-nav.active .close-btn {
  display: flex;
}

.close-btn:hover {
  color: var(--primary);
  transform: rotate(90deg);
  background: rgba(233, 129, 79, 0.1);
}

.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff4ea, #f0955f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-links a {
  color: var(--text-heading);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 16px; 
  display: flex;
  align-items: center;
  gap: 15px; 
  transition: all 0.3s;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.nav-links a i {
  font-size: 1.1rem;
  width: 20px; 
  text-align: center;
  color: var(--secondary-accent); 
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
  background-color: var(--bg-card-hover); 
}

.nav-links a:hover::before {
  transform: scaleY(1);
}

.nav-links a:hover i {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary) !important;
  background-color: var(--bg-card-hover);
  font-weight: 600;
}

.nav-links a.active::before {
  transform: scaleY(1);
}

.nav-links a.active i {
  color: var(--primary); 
}

.nav-social {
  margin-top: auto;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 15px;
  justify-content: center;
}

.nav-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  transition: all 0.3s;
  border: 1px solid var(--border-color);
}

.nav-social a:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.nav-copyright {
  padding-top: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1007;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ======================================= */
/* === HEADER === */
/* ======================================= */
header {
  min-height: 100vh; 
  padding: 8rem 8% 4rem;
  position: relative; 
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.header-tag i {
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
}

header h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  word-break: break-word;
  max-width: 100%;
}

.greeting {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--text-paragraph);
  display: block;
  margin-bottom: 10px;
}

.name-gradient {
  background: linear-gradient(135deg, #fff4ea 0%, #f0955f 55%, #c4572b 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease infinite;
  display: inline-block;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.job-title-container {
  margin-bottom: 20px;
}

.animated-job {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--text-heading);
}

.cursor {
  color: var(--primary); 
  animation: blink 0.7s infinite;
  font-weight: 300;
}

@keyframes blink {
  50% { opacity: 0; }
}

.header-description {
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 1.05rem;
  color: var(--text-paragraph);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  max-width: 100%;
}

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}

.primary-btn {
  background: var(--bg-dark);
  color: #fffffe;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.primary-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-card-hover);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--primary);
}

.primary-btn:hover::before {
  opacity: 1;
}

.primary-btn:hover i {
  transform: translateX(3px);
}

.outline-btn {
  background-color: transparent;
  color: var(--text-heading);
  border: 2px solid var(--border-color);
}

.outline-btn:hover {
  background-color: var(--bg-dark);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.outline-btn:hover i {
  transform: translateX(3px);
}

.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Header Socials */
.header-socials {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.social-line {
  width: 40px;
  height: 1px;
  background: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  transition: all 0.3s;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.scroll-mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 15px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ======================================= */
/* === SECTIONS === */
/* ======================================= */
section {
  padding: 6rem 8%;
  position: relative; 
  z-index: 5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
  padding-top: 20px;
}

.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--text-heading), var(--text-paragraph));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
}

/* ======================================= */
/* === ABOUT ME === */
/* ======================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 60px;
  width: 100%;
}

.profile-picture-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

.profile-picture {
  width: 250px; 
  height: 250px; 
  object-fit: cover; 
  border-radius: 50%; 
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 0 3px #888888, 
              0 20px 40px rgba(0, 0, 0, 0.5); 
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.profile-picture:hover {
  transform: scale(1.05) rotate(2deg); 
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text-paragraph);
  line-height: 1.8;
}

.about-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 30px;
  background: var(--bg-dark);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  width: 100%;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff4ea, #f0955f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sub-heading {
  text-align: center;
  color: var(--text-heading);
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.personal-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.info-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-color); 
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #666666);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-box:hover::before {
  transform: scaleX(1);
}

.info-icon-wrap {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  border-radius: 12px;
  background: rgba(233, 129, 79, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.info-box:hover .info-icon-wrap {
  background: var(--primary);
  transform: rotate(10deg) scale(1.1);
}

.info-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: color 0.3s;
}

.info-box:hover .info-icon {
  color: var(--bg-dark);
}

.info-box h3 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.info-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-heading);
  font-weight: 600;
}

/* ======================================= */
/* === TIMELINE === */
/* ======================================= */
.timeline.new-style {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px;
  width: 100%;
}

.timeline-track {
  position: absolute;
  left: 29px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-fill {
  position: absolute;
  left: 29px;
  top: 0px;
  width: 2px;
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 15px rgba(233, 129, 79, 0.3);
  border-radius: 2px;
}

.timeline-item.new-style-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
}

.timeline-dot-container {
  position: absolute;
  left: 15px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--bg-dark);
  border: 2px solid var(--secondary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timeline-dot-container i {
  color: var(--secondary-accent);
  font-size: 12px;
  opacity: 0.6;
  transition: all 0.4s;
}

.timeline-content.new-style-content {
  background: var(--bg-dark); 
  border: 1px solid var(--border-color); 
  padding: 25px;
  border-radius: 16px;
  transition: all 0.3s;
  position: relative;
}

.timeline-content.new-style-content.current {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(233, 129, 79, 0.04), rgba(233, 129, 79, 0.04));
}

.timeline-item.new-style-item:hover .timeline-content.new-style-content {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(233, 129, 79, 0.12);
  color: var(--secondary-accent);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.timeline-badge.pulse {
  background: rgba(233, 129, 79, 0.1);
  color: var(--primary);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 129, 79, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(233, 129, 79, 0); }
}

.timeline-content h4 {
  font-size: 1.2rem;
  color: var(--text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.current-badge {
  font-size: 0.7rem;
  padding: 3px 10px;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.timeline-desc {
  color: var(--text-paragraph);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ======================================= */
/* === SKILLS === */
/* ======================================= */
.skills-container-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  width: 100%;
}

.skill-card {
  background: var(--bg-dark);
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(233, 129, 79, 0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.skill-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.skill-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffffff, #888888);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover .skill-progress-bar,
.skill-progress-bar.animated {
  width: var(--progress);
}

.skill-card:hover .skill-icon {
  transform: scale(1.15) rotate(-5deg);
}

.html-icon { color: #E34F26; }
.css-icon { color: #1572B6; }
.js-icon { color: #F7DF1E; } 
.python-icon { color: #3776AB; }

/* Ikon gambar (logo aplikasi asli) */
.skill-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}
.skill-card:hover .skill-img { transform: scale(1.15) rotate(-5deg); }
.skill-img-fallback {
  width: 56px;
  height: 56px;
  margin-bottom: 15px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  position: relative;
  z-index: 2;
}


/* ======================================= */
/* === PROJECTS === */
/* ======================================= */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-paragraph);
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #fffffe;
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(233, 129, 79, 0.3);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.project-card {
  background: var(--bg-dark);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(233, 129, 79, 0.2); 
}

.project-image-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  transition: transform 0.5s;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.overlay-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fffffe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.project-card:hover .overlay-btn {
  transform: scale(1);
}

.overlay-btn:hover {
  background: var(--secondary-accent);
  color: white;
}

.project-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  background: var(--bg-dark);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(233, 129, 79, 0.2);
  z-index: 2;
}

.coming-soon-badge {
  padding: 8px 20px;
  background: rgba(100, 100, 100, 0.9);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.05em;
  animation: pulse-badge 2s ease-in-out infinite;
}

.project-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.project-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--text-paragraph);
  flex-grow: 1;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-stack span {
  background: rgba(233, 129, 79, 0.12); 
  color: var(--secondary-accent);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(233, 129, 79, 0.2);
}

.project-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-buttons .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
  flex: 1;
  justify-content: center;
}

/* ======================================= */
/* === CONTACT === */
/* ======================================= */
.contact-section {
  padding: 6rem 8% 3rem;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  width: 100%;
}

.contact-card-container {
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.contact-card-container::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(233, 129, 79, 0.06), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.contact-card-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #fff4ea, #f0955f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-card-desc {
  color: var(--text-paragraph);
  margin-bottom: 30px;
  line-height: 1.7;
}

.connect-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.connect-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 15px 18px;
  border-radius: 14px;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
  gap: 15px;
}

.connect-item:hover {
  background: rgba(233, 129, 79, 0.05);
  border-color: var(--primary);
}

.connect-icon-wrap {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.connect-icon-wrap.linkedin { background: rgba(233, 129, 79, 0.1); }
.connect-icon-wrap.instagram { background: rgba(160, 160, 160, 0.1); }
.connect-icon-wrap.github { background: rgba(255, 255, 255, 0.07); }
.connect-icon-wrap.email { background: rgba(233, 129, 79, 0.1); }

.connect-item:hover .connect-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.connect-item i {
  font-size: 1.3rem;
}

.link-info {
  flex-grow: 1;
  min-width: 0;
}

.link-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 2px;
}

.link-info span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  word-break: break-word;
}

.arrow-icon {
  font-size: 0.9rem !important;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.connect-item:hover .arrow-icon {
  transform: translateX(5px);
}

.icon-linkedin { color: #c0c0c0; }
.icon-instagram { color: #b0b0b0; }
.icon-github { color: #ffffff; }
.icon-email { color: var(--primary); }

/* Contact Form */
.contact-form {
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid var(--border-color);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text-heading);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-heading);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(233, 129, 79, 0.03);
  box-shadow: 0 0 0 3px rgba(233, 129, 79, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.copyright span {
  color: var(--primary);
  font-weight: 600;
}

/* ======================================= */
/* === ABOUT PREVIEW SECTION === */
/* ======================================= */
.about-preview-section {
  padding: 6rem 8% 4rem;
  position: relative;
  z-index: 5;
}

.about-preview-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.section-label .dot {
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

.about-preview-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.about-preview-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s;
}

.about-preview-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(233, 129, 79, 0.15);
}

.about-preview-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-paragraph);
  margin-bottom: 20px;
}

.about-preview-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-preview-meta .location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-preview-meta .location i {
  font-size: 0.9rem;
  color: var(--primary);
}

.about-preview-meta .separator {
  color: var(--text-muted);
  opacity: 0.5;
}

.about-preview-meta .status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiary-accent);
  animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ======================================= */
/* === NAVIGATION CARDS === */
/* ======================================= */
.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.nav-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(233, 129, 79, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(233, 129, 79, 0.15);
}

.nav-card:hover::before {
  opacity: 1;
}

.nav-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(233, 129, 79, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.nav-card:hover .nav-card-icon {
  background: var(--primary);
  transform: scale(1.05);
}

.nav-card-icon i {
  font-size: 1.1rem;
  color: var(--primary);
  transition: color 0.3s;
}

.nav-card:hover .nav-card-icon i {
  color: var(--bg-dark);
}

.nav-card-content {
  flex-grow: 1;
}

.nav-card-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 3px;
  font-family: 'Inter', sans-serif;
}

.nav-card-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.nav-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.nav-card-arrow i {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.nav-card:hover .nav-card-arrow {
  background: rgba(233, 129, 79, 0.2);
  transform: translate(3px, -3px);
}

.nav-card:hover .nav-card-arrow i {
  color: var(--primary);
}

/* View More Button */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-view-more:hover {
  border-color: var(--primary);
  background: rgba(233, 129, 79, 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-view-more i {
  transition: transform 0.3s;
}

.btn-view-more:hover i {
  transform: translateX(5px);
}

/* ======================================= */
/* === NEW EDUCATION SECTION === */
/* ======================================= */
.education-section-new {
  padding: 6rem 8%;
  position: relative;
  z-index: 5;
}

.education-section-new .container {
  max-width: 800px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-main {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
}

.section-big-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--text-heading);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

/* Main Badge */
.education-main-badge {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px 25px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.badge-text {
  font-weight: 500;
}

/* Large Education Card */
.education-card-large {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.education-card-large:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(233, 129, 79, 0.15);
}

.education-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.education-card-header h3 {
  font-size: 1.2rem;
  color: var(--text-heading);
  font-weight: 600;
  margin: 0;
}

.dropdown-icon {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.education-card-large:hover .dropdown-icon {
  transform: rotate(180deg);
}

.education-card-body {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.education-school {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 10px;
  font-weight: 500;
}

.education-year {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Education Cards Grid */
.education-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
/* ======================================= */
/* === EDUCATION CARDS (PROJECT STYLE) === */
/* ======================================= */
.education-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.education-card-project-style {
  background: var(--bg-dark);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.education-card-project-style:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(233, 129, 79, 0.2);
}

.education-image-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.education-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  transition: transform 0.5s;
}

.education-card-project-style:hover .education-image {
  transform: scale(1.1);
}

.education-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}

.education-badge {
  padding: 5px 12px;
  background: var(--bg-dark);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(233, 129, 79, 0.2);
  z-index: 2;
}

.education-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.education-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-heading);
  font-weight: 600;
}

.education-school-name {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.education-desc {
  font-size: 0.95rem;
  color: var(--text-paragraph);
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.6;
}

.education-year {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
  .education-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .education-image-wrap {
    height: 200px;
  }
  
  .education-content {
    padding: 20px;
  }
  
  .education-content h3 {
    font-size: 1.15rem;
  }
}

/* ======================================= */
/* === MEDIA QUERIES === */
/* ======================================= */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  section {
    padding: 4rem 5%;
  }

  header {
    padding: 6rem 5% 3rem;
    align-items: center;
    text-align: center;
  }

  .header-tag {
    align-self: center;
  }

  .header-socials {
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .header-description {
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .profile-picture {
    width: 200px; 
    height: 200px; 
  }

  .profile-decor {
    width: 230px;
    height: 230px;
  }

  .timeline-track,
  .timeline-fill {
    left: 21px;
  }

  .timeline-item.new-style-item {
    padding-left: 60px;
    margin-bottom: 30px;
  }

  .timeline-dot-container {
    left: 7px;
    width: 30px;
    height: 30px;
  }

  .scroll-indicator {
    display: none;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }

  .blob {
    filter: blur(60px);
    opacity: 0.1;
  }

  .blob-1 {
    width: 300px;
    height: 300px;
  }

  .blob-2 {
    width: 250px;
    height: 250px;
  }

  .blob-3 {
    width: 280px;
    height: 280px;
  }

  .primary-btn {
    background: var(--bg-dark);
    box-shadow: none;
  }

  .about-preview-section {
    padding: 4rem 5% 3rem;
  }

  .about-preview-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .about-preview-card {
    padding: 25px;
  }

  .about-preview-text {
    font-size: 0.95rem;
  }

  .nav-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-card {
    padding: 18px;
  }

  .nav-card-icon {
    width: 36px;
    height: 36px;
  }

  .nav-card-icon i {
    font-size: 1rem;
  }

  .nav-card-content h3 {
    font-size: 0.95rem;
  }

  .nav-card-content p {
    font-size: 0.75rem;
  }

  .nav-card-arrow {
    width: 30px;
    height: 30px;
  }

  .btn-view-more {
    width: 100%;
    justify-content: center;
  }

  .education-section-new {
    padding: 4rem 5%;
  }

  .education-card-large,
  .education-card-small {
    padding: 25px;
  }

  .education-card-header h3 {
    font-size: 1.1rem;
  }

  .education-school {
    font-size: 0.95rem;
  }

  .education-cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .education-card-small {
    min-height: 200px;
  }

  .education-section-new,
  .about-section,
  #projects {
    padding-top: 120px !important;
  }

  .section-header {
    margin-bottom: 50px;
    padding-top: 15px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .contact-card-container,
  .contact-form {
    padding: 30px 20px;
  }

  .connect-item {
    padding: 12px 15px;
  }

  .link-info h3 {
    font-size: 0.9rem;
  }

  .link-info span {
    font-size: 0.75rem;
  }
}

/* Disable animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ======================================= */
/* === FOOTER === */
/* ======================================= */
.site-footer {
  background: var(--bg-dark);
  padding: 60px 8% 30px;
  position: relative;
  z-index: 5;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  color: var(--text-paragraph);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li:not(:has(a)) {
  color: var(--text-paragraph);
  font-size: 0.95rem;
}

/* Profile Section */
.footer-profile {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.code-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
}

.footer-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}

.footer-bio {
  max-width: 600px;
  margin: 0 auto 25px;
  color: var(--text-paragraph);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(233, 129, 79, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 50px 5% 30px;
    margin-top: 60px;
  }

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

  .footer-name {
    font-size: 1.5rem;
  }

  .footer-bio {
    font-size: 0.9rem;
    padding: 0 20px;
  }

}

@media (max-width: 480px) {
  .footer-links a,
  .footer-contact li {
    font-size: 0.9rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ======================================= */
/* === TEMA CLAUDE (ORANYE HANGAT) === */
/* ======================================= */
body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(900px 420px at 50% -8%, rgba(233, 129, 79, 0.10), transparent 70%);
  background-attachment: fixed;
}

::selection { background: rgba(233, 129, 79, 0.35); color: #fff; }

/* Judul serif seperti Claude */
h1, h2,
header h1,
.about-preview-title,
.section-big-title,
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
}
header h1 { font-weight: 500; }
.greeting { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.logo-text { font-family: 'Inter', sans-serif; letter-spacing: -0.01em; }

/* Kursor: hilangkan blend difference supaya oranye tidak jadi biru */
.cursor-dot, .cursor-outline { mix-blend-mode: normal; }
.cursor-dot { background: var(--primary); }
.cursor-outline { border-color: rgba(233, 129, 79, 0.6); }
.cursor-outline.hover { background: rgba(233, 129, 79, 0.10); border-color: var(--primary); }

/* ---------- Hero (tengah, seperti beranda Claude) ---------- */
header { align-items: center; text-align: center; }
.header-tag { display: block; margin-bottom: 22px; color: var(--primary); line-height: 0; }
.hero-burst { animation: burst-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
@keyframes burst-in {
  from { transform: rotate(-90deg) scale(0.6); opacity: 0; }
  to   { transform: rotate(0) scale(1); opacity: 1; }
}
.header-description { margin-left: auto; margin-right: auto; }
.cta-buttons { justify-content: center; }
.header-socials { justify-content: center; }
.animated-job { color: var(--primary); }

/* ---------- Tombol gaya chip Claude ---------- */
.btn {
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 500;
}
.primary-btn {
  background: var(--orange-grad);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 22px rgba(196, 87, 43, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.primary-btn::before { background: rgba(255, 255, 255, 0.12); }
.primary-btn:hover { border-color: rgba(255, 255, 255, 0.25); box-shadow: 0 10px 30px rgba(196, 87, 43, 0.5); }
.outline-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
}
.outline-btn:hover { background: rgba(233, 129, 79, 0.10); border-color: rgba(233, 129, 79, 0.5); color: var(--text-heading); }

.social-icons a,
.nav-social a,
.scroll-top-btn {
  background: var(--bg-panel);
  border-color: var(--border-color);
}
.scroll-wheel { background: var(--primary); }

/* ---------- Kartu ---------- */
.about-preview-card,
.nav-card,
.skill-card {
  background: var(--bg-panel);
  border-color: var(--border-color);
}
.about-preview-card { border-radius: 22px; }
.nav-card { border-radius: 16px; }
.nav-card-icon { background: rgba(233, 129, 79, 0.12); }
.btn-view-more { border-radius: 12px; background: rgba(255, 255, 255, 0.03); }

/* ======================================= */
/* === TOP NAVBAR (BAR JENDELA) === */
/* ======================================= */
.top-navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  z-index: 1010;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 56px;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 18px;
  background: rgba(26, 25, 23, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.top-navbar.scrolled {
  background: rgba(22, 21, 19, 0.88);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.navbar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.navbar-right { justify-self: end; }

/* Bulat-bulat kecil ala jendela macOS */
.traffic-lights { display: flex; gap: 7px; align-items: center; }
.dot-red, .dot-yellow, .dot-green {
  width: 11px; height: 11px; border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, filter 0.2s;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.dot-red:hover, .dot-yellow:hover, .dot-green:hover { transform: scale(1.18); filter: brightness(1.1); }
.dot-red:hover { background: #ff5f57; }
.dot-yellow:hover { background: #febc2e; }
.dot-green:hover { background: #28c840; }

.navbar-logo { display: flex; align-items: center; gap: 8px; color: var(--text-heading); }
.logo-icon { color: var(--primary); display: inline-flex; line-height: 0; font-size: 0; }
.logo-text { font-size: 0.95rem; font-weight: 600; color: var(--text-heading); }

/* Tab halaman */
.navbar-tabs {
  display: flex; gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 13px;
}
.navbar-tabs a {
  padding: 7px 16px; border-radius: 9px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-paragraph);
  transition: background 0.2s, color 0.2s;
}
.navbar-tabs a:hover { color: var(--text-heading); background: rgba(255, 255, 255, 0.05); }
.navbar-tabs a.active { color: var(--text-heading); background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* Tombol hamburger */
.menu-toggle-new {
  width: 40px; height: 40px; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.menu-toggle-new:hover { background: rgba(233, 129, 79, 0.12); border-color: rgba(233, 129, 79, 0.45); }
.hamburger-line { width: 16px; height: 2px; background: var(--text-heading); border-radius: 2px; transition: transform 0.3s, opacity 0.3s, background 0.2s; }
.menu-toggle-new:hover .hamburger-line { background: var(--primary); }
.menu-toggle-new.active .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle-new.active .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle-new.active .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ======================================= */
/* === SIDEBAR (PANEL KIRI GAYA CLAUDE) === */
/* ======================================= */
.sidebar-overlay-new {
  position: fixed; inset: 0;
  background: rgba(8, 7, 6, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1015;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sidebar-overlay-new.active { opacity: 1; visibility: visible; }

.sidebar-nav-new {
  position: fixed;
  top: 14px; bottom: 14px; left: 14px;
  width: 320px; max-width: calc(100vw - 28px);
  transform: translateX(calc(-100% - 24px));
  opacity: 1; visibility: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px;
  background: linear-gradient(180deg, #1d1b19 0%, #181715 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1020;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.2, 1), visibility 0.4s;
}
.sidebar-nav-new.active { transform: translateX(0); visibility: visible; opacity: 1; }

.sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 2px; }
.sidebar-brand { display: flex; align-items: center; gap: 16px; }
.sidebar-logo { display: flex; align-items: center; gap: 8px; }
.close-btn-new {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-color);
  color: var(--text-paragraph); cursor: pointer; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.close-btn-new:hover { color: var(--text-heading); background: rgba(233, 129, 79, 0.14); border-color: rgba(233, 129, 79, 0.45); }

/* Kolom cari */
.sidebar-search {
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px; height: 42px;
  background: linear-gradient(90deg, rgba(233, 129, 79, 0.10), rgba(255, 255, 255, 0.03) 60%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-muted);
  transition: border-color 0.2s;
}
.sidebar-search:focus-within { border-color: rgba(233, 129, 79, 0.55); }
.sidebar-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: var(--text-heading); font: 400 0.9rem 'Inter', sans-serif;
}
.sidebar-search input::placeholder { color: var(--text-muted); }
.sidebar-search input::-webkit-search-cancel-button { display: none; }
.sidebar-search kbd {
  font: 500 0.7rem 'Inter', sans-serif; color: var(--text-muted);
  padding: 3px 6px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-color);
}

/* Tombol utama seperti "New Chat" */
.sidebar-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; border-radius: 14px;
  background: #0d0c0b; color: var(--text-heading);
  font-size: 0.92rem; font-weight: 500;
  border: 1px solid transparent;
  background-image: linear-gradient(#0d0c0b, #0d0c0b), linear-gradient(90deg, rgba(233, 129, 79, 0.9), rgba(255, 255, 255, 0.12) 55%, rgba(233, 129, 79, 0.5));
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: box-shadow 0.25s, transform 0.2s;
}
.sidebar-cta i { color: var(--primary); font-size: 0.8rem; }
.sidebar-cta:hover { color: #fff; box-shadow: 0 0 0 4px rgba(233, 129, 79, 0.12), 0 8px 24px rgba(196, 87, 43, 0.25); }

.sidebar-scroll { flex: 1; min-height: 0; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.12) transparent; }
.sidebar-group-label {
  font-size: 0.78rem; font-weight: 500; color: var(--text-muted);
  margin: 6px 4px 8px;
}
.sidebar-scroll .sidebar-group-label:not(:first-child) { margin-top: 20px; }

.nav-links-new { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.nav-item-new {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text-paragraph);
  font-size: 0.92rem; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-item-new i { width: 18px; text-align: center; font-size: 0.95rem; color: var(--text-muted); transition: color 0.2s; }
.nav-item-new:hover { background: rgba(255, 255, 255, 0.045); color: var(--text-heading); padding-left: 12px; }
.nav-item-new:hover i { color: var(--text-paragraph); }

/* Bulat kecil di kanan tiap menu */
.nav-ring {
  margin-left: auto; flex-shrink: 0;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-item-new:hover .nav-ring { border-color: var(--primary); }

.nav-item-new.active {
  color: var(--text-heading); font-weight: 600;
  background: linear-gradient(90deg, rgba(233, 129, 79, 0.30), rgba(233, 129, 79, 0.12));
  box-shadow: inset 0 0 0 1px rgba(233, 129, 79, 0.25);
}
.nav-item-new.active i { color: var(--primary); }
.nav-item-new.active::before { display: none; }
.nav-item-new.active .nav-ring {
  border-color: var(--primary);
  background: radial-gradient(circle, var(--primary) 0 38%, transparent 42%);
  box-shadow: 0 0 10px rgba(233, 129, 79, 0.5);
}

/* Sosial */
.sidebar-social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.sidebar-social-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 12px;
  color: var(--text-paragraph); font-size: 0.9rem; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.sidebar-social-list a:hover { background: rgba(255, 255, 255, 0.045); color: var(--text-heading); }
.soc-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); color: var(--text-heading); font-size: 0.9rem;
}
.soc-out { margin-left: auto; font-size: 0.7rem; color: var(--text-muted); opacity: 0; transform: translate(-3px, 3px); transition: opacity 0.2s, transform 0.2s; }
.sidebar-social-list a:hover .soc-out { opacity: 1; transform: none; color: var(--primary); }

.sidebar-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color);
  font-size: 0.8rem; color: var(--text-muted);
}

/* ======================================= */
/* === RESPONSIF NAVBAR/SIDEBAR === */
/* ======================================= */
@media (max-width: 900px) {
  .navbar-tabs { display: none; }
  .top-navbar { grid-template-columns: 1fr auto; }
}
@media (max-width: 768px) {
  .top-navbar { top: 10px; width: calc(100% - 24px); height: 54px; padding: 0 10px 0 14px; }
  .sidebar-nav-new { top: 10px; bottom: 10px; left: 10px; border-radius: 22px; }
  .traffic-lights { gap: 6px; }
  header { padding-top: 7rem; }
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hero-burst, .blob { animation: none; }
  .sidebar-nav-new, .sidebar-overlay-new { transition: none; }
}

/* ======================================= */
/* === EDUCATION TIMELINE (override) ===== */
/* ======================================= */
.education-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 70px;
  max-width: 820px;
  margin: 0 auto 30px;
  padding-left: 56px;
  position: relative;
}

/* Garis penghubung vertikal */
.education-cards-grid::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(233, 129, 79, 0.15));
  border-radius: 2px;
}

/* Card harus overflow visible supaya titik timeline tidak terpotong */
.education-card-project-style {
  overflow: visible;
}

.education-image-wrap {
  border-radius: 18px 18px 0 0;
}

/* Titik di garis */
.education-card-project-style::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px var(--bg-dark);
  z-index: 2;
  transition: all 0.3s ease;
}

/* Garis kecil dari titik ke card */
.education-card-project-style::after {
  content: "";
  position: absolute;
  left: -34px;
  top: 35px;
  width: 34px;
  height: 2px;
  background: rgba(233, 129, 79, 0.45);
}

.education-card-project-style:hover::before,
.education-card-project-style:first-child::before {
  background: var(--primary);
  box-shadow: 0 0 0 6px var(--bg-dark), var(--glow-primary);
}

@media (max-width: 768px) {
  .education-cards-grid {
    gap: 50px;
    padding-left: 38px;
  }
  .education-cards-grid::before {
    left: 9px;
  }
  .education-card-project-style::before {
    left: -37px;
    width: 14px;
    height: 14px;
  }
  .education-card-project-style::after {
    left: -23px;
    width: 23px;
  }
}
