/* ============================================================
   RIZQI ARDIANSYAH — PORTFOLIO
   Design direction: "Systems Console" — blueprint navy + signal
   amber, terminal-style labels, dashboard-style stat readouts.
   Reflects a backend/infra-leaning fullstack engineer identity
   (Linux VPS admin, API integrations, national-scale systems).
   ============================================================ */

/* ==================== RESET & VARIABLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* base */
  --ink: #0e1b2e; /* deep blueprint navy — dark sections */
  --ink-soft: #16283f; /* card bg on dark */
  --ink-softer: #1d3350; /* hover/border on dark */
  --paper: #f7f6f2; /* light section bg */
  --paper-alt: #efeee6; /* alternate light bg */
  --line: #dedcd0; /* hairline border on light */
  --line-dark: rgba(255, 255, 255, 0.12);

  /* text */
  --text: #101b28;
  --slate: #5b6472; /* secondary text on light */
  --slate-inv: #a9b4c4; /* secondary text on dark */

  /* accents */
  --amber: #e2993d; /* signal / primary accent */
  --amber-dim: #c17f2a;
  --teal: #1f9c9c; /* secondary accent */
  --teal-soft: rgba(31, 156, 156, 0.12);
  --green: #3fa66b; /* status: available/operational */
  --white: #ffffff;

  /* shape */
  --radius: 10px;
  --radius-lg: 22px;
  --shadow: 0 12px 34px rgba(14, 27, 46, 0.08);
  --shadow-hover: 0 20px 46px rgba(14, 27, 46, 0.14);

  /* type */
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.accent-text {
  color: var(--amber);
}

/* terminal-style eyebrow used above every section heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(31, 156, 156, 0.25);
  padding: 6px 14px 6px 10px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.section--dark .eyebrow {
  color: var(--amber);
  background: rgba(226, 153, 61, 0.12);
  border-color: rgba(226, 153, 61, 0.3);
}

.section--dark .eyebrow::before {
  background: var(--amber);
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--slate);
  font-size: 16px;
}

.section--dark .section-header p {
  color: var(--slate-inv);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(226, 153, 61, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(226, 153, 61, 0.38);
  background: #ecab52;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline.on-light {
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline.on-light:hover {
  border-color: var(--ink);
  background: var(--paper-alt);
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(14, 27, 46, 0);
  transition: all 0.3s ease;
  padding: 22px 0;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(14, 27, 46, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo a span {
  color: var(--amber);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 34px;
}

.nav-link {
  text-decoration: none;
  color: var(--slate-inv);
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--amber);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--amber);
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.nav-cta:hover {
  background: #ecab52;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--ink);
  padding: 130px 0 80px;
  overflow: hidden;
}

/* blueprint grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 30% 20%,
    black 40%,
    transparent 90%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(
    circle,
    rgba(226, 153, 61, 0.16) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1 {
  font-size: 54px;
  line-height: 1.08;
  margin-bottom: 10px;
  color: var(--white);
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--amber);
  margin-bottom: 22px;
}

.hero-role::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--amber);
}

.hero-content > p {
  font-size: 16.5px;
  color: var(--slate-inv);
  margin-bottom: 34px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.meta-item {
  font-family: var(--font-mono);
}

.meta-item .meta-label {
  display: block;
  font-size: 11px;
  color: var(--slate-inv);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.meta-item .meta-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}

/* ---- Signature element: engineer status console ---- */
.console-card {
  background: var(--ink-soft);
  border: 1px solid var(--ink-softer);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.console-topbar .console-path {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate-inv);
}

.console-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.console-photo {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--ink-softer);
  background: var(--ink-softer);
}

.console-name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 18px;
  margin-bottom: 4px;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(63, 166, 107, 0.5);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 166, 107, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(63, 166, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 166, 107, 0);
  }
}

.console-stats {
  display: grid;
  gap: 1px;
  background: var(--ink-softer);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-softer);
}

.console-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink-soft);
  padding: 13px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.console-stat-row .k {
  color: var(--slate-inv);
}

.console-stat-row .v {
  color: var(--white);
  font-weight: 500;
  text-align: right;
}

/* ==================== ABOUT SECTION ==================== */
.about {
  padding: 110px 0;
  background: var(--paper);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.about-info h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

.about-info p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 15.5px;
}

.contact-info {
  margin: 26px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 14.5px;
}

.contact-item i {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--paper-alt);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--paper-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.25s;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--ink);
  color: var(--amber);
  transform: translateY(-3px);
}

.education-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.education-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.education-card > * {
  position: relative;
  z-index: 1;
}

.education-card h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--slate-inv);
  margin-bottom: 22px;
  text-transform: uppercase;
  font-weight: 500;
}

.education-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--white);
}

.education-item p {
  color: var(--slate-inv);
  font-size: 14px;
  margin-bottom: 10px;
}

.year,
.gpa {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 5px;
  margin-right: 8px;
}

.year {
  background: rgba(226, 153, 61, 0.15);
  color: var(--amber);
}

.gpa {
  background: rgba(63, 166, 107, 0.15);
  color: var(--green);
}

.leadership-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.leadership-item h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-inv);
  margin-bottom: 12px;
  font-weight: 500;
}

.leadership-item p {
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--slate-inv);
  padding-left: 14px;
  position: relative;
}

.leadership-item p::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* ==================== SKILLS SECTION ==================== */
.skills {
  padding: 110px 0;
  background: var(--paper-alt);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.skill-category {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition:
    border-color 0.25s,
    transform 0.25s;
}

.skill-category:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.skill-category-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.skill-category-head .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skill-category h3 {
  font-size: 15.5px;
  font-weight: 600;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-item {
  font-family: var(--font-mono);
  background: var(--paper-alt);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text);
  transition: all 0.25s;
}

.skill-item:hover {
  background: var(--ink);
  color: var(--amber);
}

/* ==================== EXPERIENCE / TIMELINE ==================== */
.experience {
  padding: 110px 0;
  background: var(--paper);
}

.timeline {
  position: relative;
  max-width: 900px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
  text-align: right;
  padding-top: 4px;
}

.timeline-dot {
  position: absolute;
  left: 126px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--amber);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-left: 30px;
}

.timeline-content h3 {
  font-size: 17.5px;
  margin-bottom: 4px;
}

.timeline-content h4 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 12px;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.timeline-content li:last-child {
  margin-bottom: 0;
}

.timeline-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
  padding: 110px 0;
  background: var(--ink);
  position: relative;
}

.project-case {
  background: var(--ink-soft);
  border: 1px solid var(--ink-softer);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 26px;
}

.project-case:last-child {
  margin-bottom: 0;
}

.case-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.case-heading .case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--amber);
  background: rgba(226, 153, 61, 0.12);
  border: 1px solid rgba(226, 153, 61, 0.28);
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.case-heading h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 6px;
}

.case-heading .case-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-inv);
}

.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.case-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin-bottom: 12px;
}

.case-col p {
  color: var(--slate-inv);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.case-col ul {
  list-style: none;
}

.case-col li {
  color: var(--slate-inv);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
}

.case-col li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 12px;
}

.case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.case-tech span {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ink-softer);
  color: var(--slate-inv);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11.5px;
}

/* --- Photo evidence slider (placeholder frames, swap for real screenshots) --- */
.case-slider {
  position: relative;
}

.shot-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-softer);
  background: var(--ink);
  position: relative;
}

.shot-frame .shot-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--ink-softer);
}

.shot-frame .shot-bar span:not(.slider-counter) {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.slider-counter {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate-inv);
  letter-spacing: 0.02em;
}

.slider-viewport {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.shot-placeholder {
  aspect-ratio: 16/11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 14px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 10px
  );
}

.shot-placeholder i {
  font-size: 18px;
  color: var(--slate-inv);
  opacity: 0.6;
}

.shot-placeholder span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate-inv);
  line-height: 1.5;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/11;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 27, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  z-index: 2;
  font-size: 12px;
  padding: 0;
}

.slider-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.25s ease,
    width 0.25s ease;
}

.slider-dot.active {
  background: var(--amber);
  width: 18px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
  padding: 110px 0;
  background: var(--paper);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-content > p {
  color: var(--slate);
  margin-bottom: 30px;
  font-size: 15.5px;
}

.contact-list-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-list-item i {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-list-item .fa-whatsapp {
  color: #25d366;
}

.contact-list-item h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin-bottom: 4px;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
}

.contact-link:hover {
  color: var(--amber-dim);
}

.contact-link i {
  font-size: 11px;
  opacity: 0.5;
}

.contact-form {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.contact-form-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.contact-form-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.contact-form-bar .path {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate-inv);
  margin-left: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-inv);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--ink-soft);
  border: 1px solid var(--ink-softer);
  border-radius: 8px;
  font-family: inherit;
  color: var(--white);
  transition: all 0.25s;
  font-size: 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-inv);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(226, 153, 61, 0.15);
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--ink);
  color: white;
  padding: 56px 0 24px;
  border-top: 1px solid var(--line-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo a {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
}

.footer-logo a span {
  color: var(--amber);
}

.footer-logo p {
  color: var(--slate-inv);
  font-size: 13.5px;
  margin-top: 10px;
  max-width: 280px;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  color: var(--slate-inv);
  font-weight: 500;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--slate-inv);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--amber);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: var(--ink-soft);
  border: 1px solid var(--ink-softer);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.footer-bottom {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--slate-inv);
  font-size: 13px;
  font-family: var(--font-mono);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
  }

  .console-card {
    max-width: 420px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .case-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 300px;
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    transition: right 0.35s ease;
    gap: 26px;
    z-index: 999;
    padding: 40px;
    border-left: 1px solid var(--line-dark);
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-role {
    font-size: 14px;
  }

  .hero-meta {
    gap: 22px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about,
  .skills,
  .experience,
  .projects,
  .contact {
    padding: 70px 0;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-date {
    text-align: left;
    padding-top: 0;
  }

  .timeline-dot {
    left: 2px;
    top: 4px;
  }

  .timeline-content {
    margin-left: 24px;
  }

  .project-case {
    padding: 24px;
  }

  .case-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 26px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .container {
    padding: 0 18px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .console-card {
    padding: 20px;
  }
}

.slider-btn {
  z-index: 100;
  pointer-events: auto;
}

.slider-viewport {
  overflow: hidden;
}
