/* ==========================================================================
   EMAN DIKY RIO PRATAMA PORTFOLIO — CLEAN LIGHT MODERN DESIGN SYSTEM
   Default Theme: Bright, Elegant, Clean Slate with Soft Ambient Spotlight Glow
   ========================================================================== */

:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', monospace;

  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Light Theme (Default - Bright, Crisp, Ultra-Modern) */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-subtle: #e2e8f0;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent: #4f46e5;
  --accent-light: #6366f1;
  --accent-emerald: #059669;
  --accent-amber: #d97706;

  --border: rgba(15, 23, 42, 0.1);
  --border-hover: rgba(15, 23, 42, 0.22);

  --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);

  --bg-pattern:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79, 70, 229, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 90% 60%, rgba(14, 165, 233, 0.08), transparent),
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}

/* Dark Theme (Optional Switch) */
[data-theme="dark"] {
  --bg-main: #09090b;
  --bg-surface: #121215;
  --bg-surface-hover: #1c1c21;
  --bg-subtle: #27272a;

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --border: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.28);

  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);

  --bg-pattern:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 90% 60%, rgba(168, 85, 247, 0.08), transparent),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: var(--bg-pattern);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

/* SVG Base Styling */
svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.icon-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.btn-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.mini-svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.mini-svg.green {
  color: var(--accent-emerald);
}

.mini-svg.amber {
  color: var(--accent-amber);
}

.group-icon {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.btn-link-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform var(--transition);
}

.btn-link:hover .btn-link-svg {
  transform: translate(2px, -2px);
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
  position: relative;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-main);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}

.btn-icon:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

[data-theme="dark"] .navbar {
  background-color: rgba(9, 9, 11, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

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

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--border-hover);
}

[data-theme="light"] .icon-dark {
  display: block;
}

[data-theme="light"] .icon-light {
  display: none;
}

[data-theme="dark"] .icon-dark {
  display: none;
}

[data-theme="dark"] .icon-light {
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background-color: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-heading {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 35px;
  background-color: var(--border);
}

/* Minimal Code Card (Always crisp Dark Slate Window for Code Syntax Pop) */
.minimal-code-card {
  background-color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #f8fafc;
}

.card-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-topbar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-r {
  background-color: #ef4444;
}

.dot-y {
  background-color: #f59e0b;
}

.dot-g {
  background-color: #10b981;
}

.card-filename {
  margin-left: auto;
  font-size: 0.75rem;
  color: #94a3b8;
}

.card-code pre {
  line-height: 1.7;
  color: #cbd5e1;
  overflow-x: auto;
}

.token-kw {
  color: #f472b6;
  font-weight: 600;
}

.token-var {
  color: #38bdf8;
}

.token-key {
  color: #c084fc;
}

.token-str {
  color: #34d399;
}

.card-footer {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.pill-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.feature-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.box-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.box-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   SKILLS SECTION
   -------------------------------------------------------------------------- */
.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skills-group {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.group-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: inline-block;
  transition: all var(--transition);
}

.skill-tag.active {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   PROJECTS SECTION
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.filter-chip:hover,
.filter-chip.active {
  background-color: var(--text-primary);
  color: var(--bg-main);
  border-color: transparent;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.project-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.project-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.project-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.meta-cat {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-year {
  color: var(--text-muted);
}

.project-name {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.project-tech span {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
}

.btn-link {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  transition: color var(--transition);
}

.btn-link:hover {
  color: var(--accent);
}

/* Project Visual Mockups */
.project-visual {
  height: 180px;
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.visual-header {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.v-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  margin-right: 4px;
}

.v-stats-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.v-stat-card {
  flex: 1;
  background: var(--bg-surface);
  padding: 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.v-stat-card b {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.v-graph {
  height: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.v-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

.mockup-mob {
  align-items: center;
}

.v-phone {
  width: 140px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
  text-align: center;
}

.v-amt {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.v-pill-row {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.v-btn-icon {
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

.mockup-term {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: #0f172a;
  border-radius: 8px;
  padding: 0.75rem;
  color: #cbd5e1;
}

.t-line {
  margin-bottom: 0.3rem;
}

.t-green {
  color: var(--accent-emerald);
}

.t-ok {
  color: #34d399;
}

.t-info {
  color: #38bdf8;
}

.v-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.v-c-box {
  background: var(--bg-surface);
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  border: 1px solid var(--border);
}

.v-c-box div {
  height: 40px;
  background: var(--bg-subtle);
  border-radius: 3px;
  margin-bottom: 0.3rem;
}

/* --------------------------------------------------------------------------
   EXPERIENCE SECTION
   -------------------------------------------------------------------------- */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  box-shadow: var(--shadow-card);
}

.timeline-period {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.role-title {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.company-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.role-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.role-stack {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.role-stack span {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.q-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.q-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.q-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.q-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.q-val:hover {
  color: var(--accent);
}

.social-pills {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.social-pills a {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.social-pills a:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* Simple Form */
.simple-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-feedback {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.5rem;
}

.form-feedback.success {
  color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.2rem;
}

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

.scroll-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.scroll-top-btn:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   MODAL & TOAST SYSTEM
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 650px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: translateY(15px);
  transition: transform var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.modal-head h2 {
  font-size: 1.75rem;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.modal-card h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  margin-top: 1.25rem;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modal-list li::before {
  content: "• ";
  color: var(--accent-emerald);
  font-weight: bold;
}

.modal-tech-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.modal-tech-tags span {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: var(--bg-main);
  border: 1px solid var(--border);
}

.modal-footer-actions {
  display: flex;
  gap: 1rem;
}

/* Toast */
.toast-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
}

.toast {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: var(--shadow-card);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .about-grid,
  .skills-wrapper {
    grid-template-columns: 1fr;
  }

  .project-item {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .hero-heading {
    font-size: 2.3rem;
  }

  .contact-box {
    padding: 1.75rem;
  }
}

.timeline-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.media-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.05);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-item:hover img {
  transform: scale(1.05);
}

/* Styling Galeri Foto Dokumentasi Pengalaman */
.timeline-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.media-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
  background: var(--bg-card-secondary, rgba(0, 0, 0, 0.05));
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-item:hover img {
  transform: scale(1.05);
}