/* =========================================================
   ROOT VARIABLES & RESET
   ========================================================= */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
}

[data-bs-theme="dark"] {
  --bg-primary: #0b1120;
  --bg-secondary: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --navbar-bg: rgba(11, 17, 32, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 10%, var(--accent-soft) 0%, transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(96, 165, 250, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

a { text-decoration: none; color: var(--accent); transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
::selection { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: #fff; }

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent), 0 0 30px rgba(37, 99, 235, 0.5);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.custom-navbar {
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding: 0.9rem 0;
}

.custom-navbar.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover { transform: scale(1.03); }

.brand-icon { color: var(--accent); font-weight: 800; }
.text-accent { color: var(--accent); }

.navbar .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.navbar-toggler { color: var(--text-primary); padding: 0.25rem 0.5rem; }
.navbar-toggler:focus { box-shadow: none; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(20deg);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section { position: relative; background: var(--bg-primary); overflow: hidden; }

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-section::after {
  content: '</>';
  position: absolute;
  bottom: 15%; left: 5%;
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-greeting {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  background: linear-gradient(270deg, var(--accent), #60a5fa, #a78bfa, var(--accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

[data-bs-theme="dark"] .hero-name {
  background: linear-gradient(270deg, var(--accent), #60a5fa, #a78bfa, var(--accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 8s ease infinite;
}

.hero-role {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  min-height: 1.8rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.typing-cursor {
  color: var(--accent);
  font-weight: 300;
  animation: blink 0.8s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.typing-text { color: var(--accent); font-weight: 700; position: relative; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary-custom:hover::before { left: 100%; }

.btn-primary-custom:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

/* =========================================================
   HERO AVATAR
   ========================================================= */
.hero-avatar-wrapper {
  position: relative;
  display: inline-block;
  max-width: 380px;
  width: 100%;
}

.hero-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 4px solid var(--accent);
  position: relative;
  z-index: 2;
  animation: morphBlob 8s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.3), 0 0 80px rgba(37, 99, 235, 0.15);
}

@keyframes morphBlob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.avatar-ring {
  position: absolute;
  inset: -15px;
  border: 2px dashed var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: spinRing 20s linear infinite;
  z-index: 1;
  box-shadow: 0 0 30px var(--accent-soft);
}

@keyframes spinRing { to { transform: rotate(360deg); } }

.scroll-down {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounceDown 2s infinite;
  z-index: 2;
}

.scroll-down:hover { color: var(--accent); }

@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* =========================================================
   SECTION UMUM
   ========================================================= */
.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.3rem 1rem;
  background: var(--accent-soft);
  border-radius: 50px;
  box-shadow: 0 0 20px var(--accent-soft);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.section-divider {
  width: 60px; height: 4px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, transparent 60%, rgba(37, 99, 235, 0.25));
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image { transform: scale(1.05); }

.about-heading { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.about-text { color: var(--text-secondary); margin-bottom: 1rem; }

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-stat::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.about-stat:hover::before { opacity: 1; }

.about-stat:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-stat i {
  font-size: 1.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

.about-stat .counter {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 0.4rem 0 0.2rem;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
}

/* =========================================================
   SKILLS
   ========================================================= */
.skill-group-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-primary); }

.skill-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--accent-soft);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  margin-bottom: 1.5rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  transition: left 0.5s ease;
}

.skill-card:hover::before { left: 100%; }

.skill-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15), 0 0 0 1px var(--accent);
}

.skill-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.skill-card-header i { font-size: 1.5rem; color: var(--accent); }
.skill-card-header h5 { font-size: 1rem; font-weight: 600; margin: 0; flex: 1; margin-left: 0.75rem; }

.skill-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-badge { transform: scale(1.05); }

.badge-learning { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.badge-familiar { background: rgba(59, 130, 246, 0.15); color: var(--accent); }
.badge-project { background: rgba(16, 185, 129, 0.15); color: #059669; }

[data-bs-theme="dark"] .badge-learning { color: #fbbf24; }
[data-bs-theme="dark"] .badge-familiar { color: #60a5fa; }
[data-bs-theme="dark"] .badge-project { color: #34d399; }

.skill-desc { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* =========================================================
   PROJECTS
   ========================================================= */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2), 0 0 0 1px var(--accent);
  border-color: var(--accent);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-secondary);
}

.project-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image { transform: scale(1.08); }

.project-featured-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; flex: 1; }

.project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }

.tech-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
}

.project-features { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.85rem; color: var(--text-secondary); }
.project-features li { display: flex; align-items: flex-start; gap: 0.4rem; margin-bottom: 0.25rem; }
.project-features li i { color: var(--accent); font-size: 0.75rem; margin-top: 0.35rem; }

.project-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }

.btn-project {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
}

.btn-project:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-project.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-project.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(139, 92, 246, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 2rem; }

/* =========================================================
   CERTIFICATES
   ========================================================= */
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18), 0 0 0 1px var(--accent);
  border-color: var(--accent);
}

.cert-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-secondary);
}

.cert-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.cert-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cert-issuer { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 0.25rem; }
.cert-year { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.cert-desc { font-size: 0.85rem; color: var(--text-secondary); flex: 1; margin-bottom: 0.75rem; }

/* =========================================================
   EDUCATION TIMELINE
   ========================================================= */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -30px; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-secondary);
  animation: timelinePulse 3s infinite;
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
  transform: translateX(8px) scale(1.01);
}

.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.timeline-content h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.timeline-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.timeline-content p:last-child { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

/* =========================================================
   JOURNEY
   ========================================================= */
.journey-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
}

.journey-card:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
  transform: translateY(-6px);
}

.journey-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.journey-header i { font-size: 1.75rem; color: var(--accent); }
.journey-header h4 { font-size: 1.1rem; font-weight: 700; margin: 0; }

.journey-list { list-style: none; padding: 0; margin: 0; }

.journey-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--border-color);
  margin-left: 0.5rem;
}

.journey-list li::before {
  content: '';
  position: absolute;
  left: -7px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
}

.journey-list li.done::before { background: var(--accent); border-color: var(--accent); }
.journey-list li.done { color: var(--text-primary); font-weight: 500; }
.journey-list li.current { color: var(--accent); font-weight: 600; }

.journey-list li.current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* =========================================================
   CAREER GOAL
   ========================================================= */
.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.career-text { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 1rem; }

.goal-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: var(--accent-soft);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.goal-item:hover { transform: translateX(5px); }
.goal-item i { color: var(--accent); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  color: var(--text-primary);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.contact-card:hover i { transform: scale(1.2) rotate(-5deg); }
.contact-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.contact-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; word-break: break-word; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
}

.footer-content { text-align: center; }
.footer-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.footer-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

.footer-socials { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }

.footer-socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
}

.footer-copy { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* =========================================================
   MODAL
   ========================================================= */
.custom-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--border-color);
}

.custom-modal .modal-header { border-bottom: 1px solid var(--border-color) !important; }
.custom-modal .modal-title { font-size: 1.1rem; font-weight: 700; }

.modal-backdrop.show {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.7;
}

/* =========================================================
   TOAST
   ========================================================= */
.custom-toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.custom-toast .toast-header {
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
}

.custom-toast .toast-body { color: var(--text-secondary); font-size: 0.9rem; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 25px; right: 25px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4), 0 0 0 0 var(--accent-soft);
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6), 0 0 0 8px var(--accent-soft);
}

/* =========================================================
   ANIMASI REVEAL
   ========================================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-md);
  }

  .hero-name, .hero-greeting, .hero-role, .hero-desc { text-align: center; }
  .hero-role { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .section { padding: 70px 0; }
  .career-card { padding: 1.75rem; }
}

@media (max-width: 575.98px) {
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 2.5rem; }
  .career-card { padding: 1.5rem; }
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
  .timeline { padding-left: 25px; }
  .timeline-dot { left: -25px; width: 15px; height: 15px; }
  .hero-section::after { font-size: 4rem; bottom: 10%; }
}

.text-muted-custom { color: var(--text-muted); }

/* =========================================================
   SCROLLBAR
   ========================================================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), #60a5fa);
  border-radius: 5px;
}
