@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/quicksand-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
      Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-skills: "Inter", ui-sans-serif, system-ui, sans-serif;

    --bg: #0d1117;
    --surface: #161b22;
    --surface-2: #1e293b;
    --white: #161b22;

    --text: #e5e7eb;
    --text-strong: #ffffff;
    --text-muted: #9ca3af;

    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-width: 1px;

    --purple: #7c3aed;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --green: #10b981;

    --primary: #7c3aed;
    --secondary: #3b82f6;
    --accent: #10b981;
    --pink-light: #ec4899;
    --orange: #06b6d4;
    --red: #ec4899;
    --red-soft: #ec4899;
    --yellow: #3b82f6;

    --grad: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);

    --shadow-offset: 0px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
    --glow: 0 0 24px rgba(124, 58, 237, 0.35);

    --radius: 14px;
    --radius-sm: 10px;

    --work-rail: 15%;
}

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

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
  background: var(--white);
    border-left: 1px solid #000;
}

::-webkit-scrollbar-thumb {
  background: var(--yellow);
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: 3px 0 0 #000;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

::-webkit-scrollbar-thumb:active {
  background: var(--pink);
    box-shadow: var(--shadow-lg);
}

::-webkit-scrollbar-corner {
  background: var(--white);
    border-left: 1px solid #000;
    border-top: 1px solid #000;
}

* {
  scrollbar-width: auto;
    scrollbar-color: var(--yellow) var(--white);
}

body {
  font-family: var(--font-display);
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

.page-wrapper {
  background:
      radial-gradient(
        ellipse at top left,
        rgba(255, 255, 255, 0.9) 0%,
        transparent 35%
      ),
      radial-gradient(
        ellipse at top right,
        rgba(255, 255, 255, 0.9) 0%,
        transparent 35%
      ),
      radial-gradient(
        ellipse at bottom left,
        rgba(255, 255, 255, 0.9) 0%,
        transparent 35%
      ),
      radial-gradient(
        ellipse at bottom right,
        rgba(255, 255, 255, 0.9) 0%,
        transparent 35%
      ),
      repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.025) 0px,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 20px
      ),
      repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.025) 0px,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 20px
      ),
      var(--bg);
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      20px 20px,
      20px 20px,
      100%;
    border: 1px solid var(--border);
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    overflow: visible;
    position: relative;
}

body::-webkit-scrollbar {
  width: 16px;
    background: var(--white);
}

body::-webkit-scrollbar-track {
  background: var(--white);
}

body::-webkit-scrollbar-thumb {
  background: var(--border);
    border: 1px solid var(--border);
}

body::-webkit-scrollbar-thumb:hover {
  background: #6b6b6b;
}

body {
  scrollbar-width: thin;
    scrollbar-color: var(--border) var(--white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  opacity: 0;
    animation: none;
}

.section.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.container {
  position: relative;
    z-index: 10;
}

.container {
  max-width: 100%;
    margin: 0;
    padding: 2rem 3rem;
}

.header {
  display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.avatar {
  width: 120px;
    height: 120px;
    border-radius: 50%;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.name {
  font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.location {
  font-size: 1rem;
    color: var(--text);
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn {
  padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: var(--border-width) solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section {
  margin-bottom: 3rem;
}

#about {
  margin-top: 4rem;
}

.section-title {
  font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow-md);
}

.section-title-center {
  font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem 2rem;
    background: var(--yellow);
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow-md);
    display: block;
    position: relative;
    opacity: 1 !important;
}

@keyframes bounce {
  0%,
100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%,
100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.1);
  }
}

.card {
  background: var(--white);
    border: var(--border-width) solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.text {
  font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.text:last-child {
  margin-bottom: 0;
}

.company {
  font-size: 1.125rem;
    font-family: var(--font-display);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company i {
  color: var(--accent);
}

.badge {
  padding: 0.5rem 1rem;
    background: var(--primary);
    border: var(--border-width) solid var(--border);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.badge i {
  font-size: 0.875rem;
}

#developer_profile {
  margin-bottom: 8rem;
}

.btn-view-all {
  display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    border: var(--border-width) solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-all:hover {
  transform: translateY(-2px);
    box-shadow: 0 0 0 var(--border);
}

#work {
  padding-top: 3rem;
}

body {
  background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  background: var(--bg);
    border: none;
}

.card {
  background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.section-title-center {
  color: var(--text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title,
.section-title-center {
  background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.btn-view-all {
  background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--glow);
}

.btn-view-all:hover {
  transform: translateY(-2px);
    box-shadow:
      var(--glow),
      var(--shadow-lg);
}

.badge {
  background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: none;
}

::-webkit-scrollbar-track,
body::-webkit-scrollbar,
body::-webkit-scrollbar-track {
  background: var(--bg);
    border: none;
}

::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--surface-2);
    border: none;
    border-radius: 8px;
    box-shadow: none;
}

.section-title {
  position: relative;
}

.section-title::after {
  content: "";
    display: block;

    width: 100%;
    height: 4px;
    margin-top: 12px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6, transparent);
    border-radius: 999px;
    box-shadow:
      0 0 10px rgba(124, 58, 237, 0.6),
      0 0 20px rgba(59, 130, 246, 0.25);
}

.section-title-center::after {
  margin-left: auto;
    margin-right: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple);
    outline-offset: 3px;
    border-radius: 6px;
}

.text,
.about-text {
  color: var(--text-muted);
}

.section-title,
.section-title-center {
  background: linear-gradient(
      100deg,
      #ffffff 0%,
      #ffffff 25%,
      #8b5cf6 70%,
      #3b82f6 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    background-size: 100% 100%;
    width: fit-content;
}

.section-title-center {
  margin-left: auto;
    margin-right: auto;
}

.section-title-center {
  display: block;
    width: 100%;

    text-align: center;
    padding: 0.85rem 2.25rem;
    border: 2px solid #8b5cf6;
    border-radius: 14px;
    box-shadow:
      inset 0 0 0 999px rgba(124, 58, 237, 0.08),
      0 0 0 1px rgba(139, 92, 246, 0.15),
      0 0 26px rgba(124, 58, 237, 0.28);
}

.section-title-center::after {
  display: none;
}

.time-period {
  display: inline-block;
    padding: 5px 10px;
    margin-bottom: 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.profiles-grid {
  max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px 40px;
    justify-items: center;
}

.profiles-grid {
  max-width: 952px;
    gap: 24px;

    padding-top: 1.5rem;
}

a,
button {
  touch-action: manipulation;
}

body {
  overscroll-behavior-y: contain;
}

::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
    border: none;
}

::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #3b82f6;
    border: none;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}

::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #60a5fa;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.95);
}

::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active {
  background: #93c5fd;
    box-shadow: 0 0 14px rgba(147, 197, 253, 1);
}

::-webkit-scrollbar-corner {
  background: transparent;
    border: none;
}

*,
body {
  scrollbar-width: thin;
    scrollbar-color: #3b82f6 transparent;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
    overflow-x: hidden;
  }

  .page-wrapper {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }

  .section-title-center {
    font-size: 1.75rem;
    padding: 0.75rem 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .name {
    font-size: 2rem;
  }

  .header {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .avatar {
    width: 100px;
    height: 100px;
  }

  .location {
    justify-content: center;
  }

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

  .container {
    margin-left: 0;
    padding: 1rem;
  }

  .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 1100px) {
  .profiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 550px) {
  .profiles-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img,
svg,
video,
canvas,
table {
  max-width: 100%;
}

p,
li,
h1,
h2,
h3,
h4,
td,
th,
.text {
  overflow-wrap: break-word;
}

@media (max-width: 480px) {

  .section {
    padding-left: 0;
    padding-right: 0;
  }

  .card {
    padding: 1.25rem;
  }
}

.loader-overlay {
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    z-index: 99999;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
}

.loader-overlay.hidden {
  opacity: 0;
    visibility: hidden;
}

.loader-shapes {
  position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.loader-shape-svg {
  position: absolute;
    animation: float-deco 3s ease-in-out infinite;
}

.loader-shape-1 {
  top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.loader-shape-2 {
  top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.loader-shape-3 {
  bottom: 20%;
    left: 15%;
    animation-delay: 1s;
}

.loader-wrapper {
  display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.loader-letter {
  font-size: 6rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: letter-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

.loader-letter:nth-child(1) {
  background: var(--cyan);
    animation-delay: 0.1s;
}

.loader-letter:nth-child(2) {
  background: var(--pink);
    animation-delay: 0.2s;
}

.loader-progress-bar {
  width: 300px;
    height: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.loader-progress-fill {
  height: 100%;
    background: var(--yellow);
    width: 0%;
    animation: progress-fill 0.8s ease-out forwards;
    animation-delay: 0.3s;
    position: relative;
}

.loader-progress-fill::after {
  content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--border);
}

@keyframes letter-pop {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes progress-fill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes float-deco {
  0%,
100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.loader-letter {
  font-family: var(--font-display);
}

.loader-overlay {
  background: var(--bg);
}

.loader-letter {
  background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    color: var(--text-strong);
    box-shadow: var(--glow);
}

.loader-progress-bar {
  background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: none;
}

.loader-progress-fill {
  background: var(--grad);
}

.loader-overlay {
  background:
      radial-gradient(
        ellipse at 50% 50%,
        rgba(30, 41, 59, 0.55) 0%,
        rgba(13, 17, 23, 0.95) 60%
      ),
      #0d1117;
    overflow: hidden;
}

.loader-overlay::before {
  content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160vmax;
    height: 160vmax;
    margin-top: -80vmax;
    margin-left: -80vmax;
    background: conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(124, 58, 237, 0.55) 30deg,
      rgba(59, 130, 246, 0.5) 60deg,
      transparent 105deg,
      transparent 175deg,
      rgba(6, 182, 212, 0.28) 205deg,
      rgba(124, 58, 237, 0.5) 240deg,
      transparent 290deg
    );
    filter: blur(50px);
    animation: loader-sweep 6s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.loader-overlay::after {
  content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: 1;
}

@keyframes loader-sweep {
  to {
    transform: rotate(360deg);
  }
}

.loader-shapes {
  z-index: 2;
}

.loader-wrapper,
.loader-progress-bar {
  z-index: 3;
}

.loader-letter,
.loader-letter:nth-child(1),
.loader-letter:nth-child(2) {
  background: linear-gradient(
      145deg,
      rgba(30, 41, 59, 0.7),
      rgba(13, 17, 23, 0.95)
    );
    border: 2px solid var(--purple);
    border-radius: 18px;
    color: #ffffff;
    text-shadow:
      0 0 12px rgba(124, 58, 237, 0.9),
      0 0 30px rgba(124, 58, 237, 0.5);
    box-shadow:
      0 0 22px rgba(124, 58, 237, 0.45),
      inset 0 0 22px rgba(124, 58, 237, 0.15);
}

.loader-letter:nth-child(2) {
  border-color: var(--blue);
    text-shadow:
      0 0 12px rgba(59, 130, 246, 0.9),
      0 0 30px rgba(59, 130, 246, 0.5);
    box-shadow:
      0 0 22px rgba(59, 130, 246, 0.45),
      inset 0 0 22px rgba(59, 130, 246, 0.15);
}

.loader-progress-bar {
  width: 180px;
    height: 8px;
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.25);
}

.loader-progress-fill {
  background: linear-gradient(90deg, #7c3aed, #3b82f6, #06b6d4);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.7);
}

.loader-progress-fill::after {
  width: 2px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.loader-overlay::before {
  animation-duration: 3s;
}

.loader-wrapper::before,
.loader-wrapper::after {
  content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.loader-wrapper::before {
  width: 320px;
    height: 320px;
    margin: -160px 0 0 -160px;
    background: conic-gradient(
      from 0deg,
      transparent 0deg 250deg,
      rgba(124, 58, 237, 0.15) 280deg,
      #7c3aed 330deg,
      #c4b5fd 355deg,
      transparent 360deg
    );
    -webkit-mask: radial-gradient(
      farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 3px)
    );
    mask: radial-gradient(
      farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 3px)
    );
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.9));
    animation: loader-ring-spin 1.4s linear infinite;
}

.loader-wrapper::after {
  width: 386px;
    height: 386px;
    margin: -193px 0 0 -193px;
    background: conic-gradient(
      from 0deg,
      transparent 0deg 265deg,
      rgba(59, 130, 246, 0.15) 290deg,
      #3b82f6 335deg,
      #a5f3fc 357deg,
      transparent 360deg
    );
    -webkit-mask: radial-gradient(
      farthest-side,
      transparent calc(100% - 2px),
      #000 calc(100% - 2px)
    );
    mask: radial-gradient(
      farthest-side,
      transparent calc(100% - 2px),
      #000 calc(100% - 2px)
    );
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.9));
    animation: loader-ring-spin 2.2s linear infinite reverse;
}

@keyframes loader-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-letter {
  animation:
      letter-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
      neon-flicker 2.4s steps(1, end) 0.9s infinite;
}

@keyframes neon-flicker {
  0%,
  38%,
  44%,
  56%,
  100% {
    opacity: 1;
  }
  40%,
  47% {
    opacity: 0.55;
  }
  42%,
  53% {
    opacity: 0.85;
  }
}

.loader-progress-bar::after {
  content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.55) 50%,
      transparent 100%
    );
    width: 40%;
    animation: loader-shine 1.1s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes loader-shine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(370%);
  }
}

.loader-shape-svg {
  opacity: 0.55;
    filter: drop-shadow(0 0 14px rgba(124, 58, 237, 0.7));
}

.loader-shape-2 {
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.7));
}

.loader-shape-3 {
  filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.7));
}

.loader-overlay {
  background:
      radial-gradient(
        ellipse 60% 45% at 22% 28%,
        rgba(124, 58, 237, 0.28),
        transparent 70%
      ),
      radial-gradient(
        ellipse 55% 40% at 78% 72%,
        rgba(59, 130, 246, 0.24),
        transparent 70%
      ),
      radial-gradient(
        ellipse 40% 30% at 65% 20%,
        rgba(6, 182, 212, 0.12),
        transparent 70%
      ),
      radial-gradient(ellipse at 50% 50%, #0b1020 0%, #05070d 100%);
}

.loader-overlay::before {
  filter: blur(70px);
    opacity: 0.55;
    animation-duration: 24s;
}

.loader-overlay::after {
  background-image:
      radial-gradient(1px 1px at 8% 14%, #fff, transparent),
      radial-gradient(1px 1px at 17% 62%, #fff, transparent),
      radial-gradient(1px 1px at 24% 31%, #c7d2fe, transparent),
      radial-gradient(1px 1px at 31% 82%, #fff, transparent),
      radial-gradient(1px 1px at 39% 9%, #fff, transparent),
      radial-gradient(1px 1px at 44% 48%, #a5f3fc, transparent),
      radial-gradient(1px 1px at 52% 74%, #fff, transparent),
      radial-gradient(1px 1px at 58% 22%, #fff, transparent),
      radial-gradient(1px 1px at 63% 91%, #ddd6fe, transparent),
      radial-gradient(1px 1px at 69% 55%, #fff, transparent),
      radial-gradient(1px 1px at 76% 12%, #fff, transparent),
      radial-gradient(1px 1px at 81% 68%, #c7d2fe, transparent),
      radial-gradient(1px 1px at 87% 37%, #fff, transparent),
      radial-gradient(1px 1px at 93% 85%, #fff, transparent),
      radial-gradient(1px 1px at 97% 24%, #a5f3fc, transparent),
      radial-gradient(1px 1px at 4% 47%, #fff, transparent),
      radial-gradient(1px 1px at 13% 93%, #fff, transparent),
      radial-gradient(1px 1px at 35% 66%, #fff, transparent),
      radial-gradient(1px 1px at 48% 5%, #ddd6fe, transparent),
      radial-gradient(1px 1px at 72% 79%, #fff, transparent);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.7;
    animation: star-twinkle 3.4s ease-in-out infinite;
    z-index: 1;
}

.loader-shapes {
  z-index: 1;
    background-image:
      radial-gradient(2px 2px at 11% 26%, #fff, transparent),
      radial-gradient(2px 2px at 28% 71%, #e0e7ff, transparent),
      radial-gradient(2px 2px at 41% 18%, #fff, transparent),
      radial-gradient(2px 2px at 56% 88%, #fff, transparent),
      radial-gradient(2px 2px at 67% 34%, #a5f3fc, transparent),
      radial-gradient(2px 2px at 79% 59%, #fff, transparent),
      radial-gradient(2px 2px at 89% 15%, #ddd6fe, transparent),
      radial-gradient(2px 2px at 95% 76%, #fff, transparent),
      radial-gradient(2px 2px at 20% 45%, #fff, transparent),
      radial-gradient(2px 2px at 63% 6%, #fff, transparent);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: star-twinkle 2.1s ease-in-out infinite reverse;
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.loader-shape-svg svg {
  display: none;
}

.loader-shape-svg {
  width: 160px;
    height: 2px;
    border-radius: 2px;
    opacity: 0;
    filter: none;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(199, 210, 254, 0.5) 55%,
      #ffffff 100%
    );
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
    animation: shooting-star 2.6s ease-in infinite;
}

.loader-shape-svg::after {
  content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.9);
}

.loader-shape-1 {
  --angle: 18deg;
    top: 12%;
    left: -18%;
    right: auto;
    bottom: auto;
    animation-delay: 0s;
}

.loader-shape-2 {
  --angle: 32deg;
    top: 30%;
    left: -18%;
    right: auto;
    bottom: auto;
    animation-delay: 0.9s;
    animation-duration: 3.1s;
}

.loader-shape-3 {
  --angle: 45deg;
    top: 8%;
    left: -18%;
    right: auto;
    bottom: auto;
    animation-delay: 1.7s;
    animation-duration: 2.2s;
}

@keyframes shooting-star {
  0% {
    opacity: 0;
    transform: rotate(var(--angle)) translateX(0);
  }
  8% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--angle)) translateX(140vmax);
  }
}

.loader-shape-4 {
  --angle: 24deg;
    top: -6%;
    left: -18%;
    right: auto;
    bottom: auto;
    animation-delay: 0.4s;
    animation-duration: 2.9s;
}

.loader-shape-5 {
  --angle: 38deg;
    top: 20%;
    left: -22%;
    right: auto;
    bottom: auto;
    width: 110px;
    opacity: 0;
    animation-delay: 1.3s;
    animation-duration: 3.4s;
}

.loader-shape-6 {
  --angle: 15deg;
    top: 45%;
    left: -18%;
    right: auto;
    bottom: auto;
    width: 200px;
    animation-delay: 2.1s;
    animation-duration: 2.4s;
}

.loader-shape-7 {
  --angle: 52deg;
    top: 2%;
    left: -12%;
    right: auto;
    bottom: auto;
    width: 120px;
    animation-delay: 0.7s;
    animation-duration: 3.6s;
}

.loader-shape-8 {
  --angle: 29deg;
    top: 58%;
    left: -20%;
    right: auto;
    bottom: auto;
    width: 140px;
    animation-delay: 2.6s;
    animation-duration: 2.7s;
}

.loader-shape-9 {
  --angle: 41deg;
    top: 36%;
    left: -15%;
    right: auto;
    bottom: auto;
    width: 90px;
    animation-delay: 1.9s;
    animation-duration: 3.9s;
}

.loader-shape-5,
.loader-shape-9 {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
}

.loader-shape-5::after,
.loader-shape-9::after {
  width: 3px;
    height: 3px;
    margin-top: -1.5px;
    box-shadow: 0 0 7px 1px rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .loader-letter {
    font-size: 4rem;
    width: 90px;
    height: 90px;
  }

  .loader-wrapper {
    gap: 1rem;
  }

  .loader-progress-bar {
    width: 220px;
    height: 16px;
  }

  .loader-shape-svg svg {
    width: 60px;
    height: 60px;
  }

}

@media (max-width: 768px) {
  .loader-progress-bar {
    width: 140px;
    height: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-overlay::before {
    animation: none;
  }
}

@media (max-width: 768px) {
  .loader-wrapper::before {
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
  }

  .loader-wrapper::after {
    width: 290px;
    height: 290px;
    margin: -145px 0 0 -145px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-wrapper::before,
  .loader-wrapper::after,
  .loader-progress-bar::after {
    animation: none;
  }

  .loader-letter {
    animation: letter-pop 0.6s ease forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-overlay::after,
  .loader-shapes,
  .loader-shape-svg {
    animation: none;
  }

  .loader-shape-svg {
    opacity: 0;
  }
}

.nav-brand,
.nav-link,
.nav-cta {
  font-family: var(--font-display);
}

.navbar {
  background: var(--yellow);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    position: sticky;
    top: 15px;
    margin: 15px 15px 0;
    transition: transform 0.3s ease;
}

.navbar.navbar-hidden {
  transform: translateY(-120%);
}

.nav-content {
  max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.nav-brand {
  font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    background: var(--cyan);
    border: var(--border-width) solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.nav-brand:hover {
  transform: translateY(-2px);
    box-shadow: 0 0 0 var(--border);
}

.nav-right {
  display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
  padding: 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::after {
  content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    border-radius: 2px;
    background: var(--red-soft);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--border);
}

.nav-link.active {
  color: var(--border);
}

.nav-cta {
  padding: 0.5rem 1rem;
    background: var(--cyan);
    border: var(--border-width) solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
    box-shadow: 0 0 0 var(--border);
}

.footer-nav-compact {
  display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav-compact a {
  color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-nav-compact a:hover {
  opacity: 1;
    color: var(--primary);
}

.navbar {
  background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.navbar {
  background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);

    border: 1px solid #8b5cf6;
    border-radius: 16px;
    box-shadow:
      0 0 0 1px rgba(139, 92, 246, 0.12),
      0 8px 30px rgba(0, 0, 0, 0.55),
      0 0 26px rgba(124, 58, 237, 0.12);
}

.nav-brand {
  background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-brand {
  border: 2px solid #8b5cf6;
    border-radius: 12px;
    padding: 0.35rem 0.7rem;
    box-shadow:
      inset 0 0 0 999px rgba(124, 58, 237, 0.08),
      0 0 0 1px rgba(139, 92, 246, 0.15),
      0 0 16px rgba(124, 58, 237, 0.22);
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
}

.nav-brand:hover {
  border-color: #a78bfa;
    box-shadow:
      inset 0 0 0 999px rgba(124, 58, 237, 0.16),
      0 0 0 1px rgba(167, 139, 250, 0.3),
      0 0 24px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.nav-cta {
  background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
    box-shadow:
      var(--glow),
      var(--shadow-lg);
}

.nav-link {
  color: var(--text-strong);
}

.nav-link:hover,
.nav-link.active {
  color: #c4b5fd;
}

.nav-link::after {
  background: var(--grad);
}

.footer-nav-compact a {
  color: var(--text-muted);
}

.footer-nav-compact a:hover {
  color: var(--text-strong);
}

@media (prefers-reduced-motion: reduce) {
  .nav-link::after {
    transition: none;
  }
}

@media (max-width: 768px) {
  .nav-right {
    gap: 0.5rem;
  }

  .nav-link {
    display: none;
  }

  .nav-cta {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    min-height: 36px;
  }

  .navbar {
    margin: 10px 10px 0;
  }
}

@media (max-width: 768px) {
  .footer-nav-compact {
    gap: 1rem;
  }

  .footer-nav-compact a {
    font-size: 0.85rem;
  }
}

.hero {
  min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
    max-width: 100%;
    margin: 0;
}

.hero-content {
  display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-left {
  display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-greeting {
  font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--cyan);
    margin: 0;
}

.hero-name {
  font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.hero-name-highlight {
  position: relative;
    display: inline-block;
}

.hero-name-highlight::after {
  content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 5px;
    background: var(--cyan);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hero-underline-draw 0.9s ease-out forwards;
    animation-delay: 0.9s;
}

@keyframes hero-underline-draw {
  to {
    transform: scaleX(1);
  }
}

.hero-description {
  font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 60ch;
    margin: 0;
}

.hero-social {
  display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    position: relative;
}

.social-btn {
  width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: var(--border-width) solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
    box-shadow: 0 0 0 var(--border);
}

.hero-cta-container {
  display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-cta,
.btn-resume {
  display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: var(--border-width) solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    width: fit-content;
}

.btn-cta:hover,
.btn-resume:hover {
  transform: translateY(-2px);
    box-shadow: 0 0 0 var(--border);
}

.btn-cta {
  background: var(--cyan);
}

.btn-resume {
  background: var(--white);
}

.btn-resume:hover {
  background: var(--yellow);
}

.paper-tear {
  width: 100%;
    position: relative;
    overflow: hidden;
}

.paper-tear-top {
  margin-top: -1px;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}

.paper-tear svg {
  display: block;
    width: 100%;
    height: 30px;
}

.hero-right {
  position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
  position: relative;
    display: inline-block;
}

.hero-photo {
  width: 400px;
    height: 400px;
    object-fit: cover;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--accent);
    position: relative;
    z-index: 2;
    transform-origin: right top;
    transform: rotate(0deg);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-photo.tilted {
  transform: rotate(-3deg);
}

.tape-sticker {
  position: absolute;
    top: -15px;
    right: 40px;
    width: 100px;
    height: 40px;
    background: rgba(255, 217, 61, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    transform: rotate(15deg);
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tape-sticker::before {
  content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-50%);
}

.tape-sticker::after {
  content: "";
    position: absolute;
    top: 30%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
}

.deco-code {
  position: absolute;
    top: -30px;
    left: -50px;
    z-index: 3;
    animation: float-slow 4s ease-in-out infinite;
    filter: drop-shadow(6px 6px 0 var(--border));
}

.deco-terminal {
  position: absolute;
    top: 20%;
    right: -50px;
    z-index: 3;
    animation: bounce-gentle 2.8s ease-in-out infinite;
    filter: drop-shadow(5px 5px 0 var(--border));
}

.deco-terminal.falling {
  animation: fall-bounce 1.4s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

.deco-floppy {
  position: absolute;
    bottom: 30px;
    left: -70px;
    z-index: 3;
    transform: rotate(-12deg);
    animation: pop-out 3.5s ease-in-out infinite;
    filter: drop-shadow(5px 5px 0 var(--border));
}

@keyframes fall-bounce {
  0% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(var(--fall-distance));
  }
  75% {
    transform: translateY(calc(var(--fall-distance) - 30px));
  }
  85% {
    transform: translateY(calc(var(--fall-distance) - 5px));
  }
  92% {
    transform: translateY(calc(var(--fall-distance) - 15px));
  }
  100% {
    transform: translateY(calc(var(--fall-distance) - 10px));
  }
}

.tech-badges {
  display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.tech-badge {
  font-family: var(--font-display);
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: var(--border-width) solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.tech-badge:hover {
  transform: translateY(-2px);
    box-shadow: 0 0 0 var(--border);
}

@keyframes float-slow {
  0%,
100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(5deg);
  }
}

@keyframes bounce-gentle {
  0%,
100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pop-out {
  0% {
    transform: translateX(-15px) rotate(-12deg);
  }
  50% {
    transform: translateX(0) rotate(-12deg);
  }
  100% {
    transform: translateX(-15px) rotate(-12deg);
  }
}

.highlight {
  padding: 0.1rem 0.5rem;
    font-weight: 600;
    border-radius: 3px;
    display: inline-block;
    margin: 0.25rem 0.1rem;
    position: relative;
    background: transparent;
    z-index: 1;
}

.highlight::before {
  content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(var(--highlight-progress, 0%) + 2px);
    height: calc(100% + 4px);
    z-index: -1;
    border-radius: 3px;
}

.highlight[data-direction="right"]::before {
  left: auto;
    right: -2px;
}

.highlight-blue::before {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.highlight-purple::before {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.highlight-pink::before {
  background: linear-gradient(135deg, #ec4899, #d946ef);
}

.highlight-green::before {
  background: linear-gradient(135deg, #059669, #10b981);
}

.highlight-cyan::before {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.hero-name {
  color: var(--text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-name-highlight,
.hero-name-dot {
  background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-greeting {
  color: var(--purple);
}

.btn-cta {
  background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--glow);
}

.btn-cta:hover {
  transform: translateY(-2px);
    box-shadow:
      var(--glow),
      var(--shadow-lg);
}

.btn-resume,
.social-btn {
  background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: none;
}

.btn-resume:hover,
.social-btn:hover {
  transform: translateY(-2px);
    background: var(--surface-2);
    border-color: var(--purple);
    box-shadow: var(--glow);
}

.tech-badge {
  background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: none;
}

.paper-tear {
  display: none;
}

.hero-name-highlight::after {
  background: var(--grad);
    height: 4px;
    border-radius: 999px;
}

.btn-resume {
  background: rgba(124, 58, 237, 0.06);
    color: var(--text-strong);

    border: 2px solid #8b5cf6;
    box-shadow:
      0 0 0 1px rgba(139, 92, 246, 0.15),
      0 0 18px rgba(124, 58, 237, 0.18);
}

.btn-resume:hover {
  background: rgba(124, 58, 237, 0.16);
    border-color: #a78bfa;
    box-shadow:
      0 0 0 1px rgba(167, 139, 250, 0.35),
      0 0 28px rgba(124, 58, 237, 0.45);
    transform: translateY(-2px);
}

.social-btn {
  background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: var(--text-strong);
    box-shadow: none;
}

.social-btn:hover {
  transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.7);
    box-shadow:
      0 0 20px rgba(124, 58, 237, 0.3),
      0 0 34px rgba(59, 130, 246, 0.18);
}

.tape-sticker {
  display: none;
}

.hero-image-wrapper::before {
  content: "";
    position: absolute;
    inset: -12%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.4), transparent 60%),
      radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.32), transparent 60%);
    filter: blur(38px);
    z-index: 0;
    pointer-events: none;
}

.hero-photo {
  background: linear-gradient(160deg, #1e293b 0%, #0d1117 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    box-shadow:
      var(--shadow-lg),
      0 0 40px rgba(124, 58, 237, 0.18);
}

.deco-code {
  filter: drop-shadow(0 6px 18px rgba(124, 58, 237, 0.45));
}

.deco-terminal {
  filter: drop-shadow(0 6px 18px rgba(59, 130, 246, 0.45));
}

.deco-floppy {
  filter: drop-shadow(0 6px 18px rgba(6, 182, 212, 0.4));
}

.tech-badge {
  background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text);
    box-shadow: none;
}

.tech-badge:hover {
  transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.25);
}

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

.hero-description {
  color: #e5e7eb;
    opacity: 1;
}

.hero-description b {
  color: var(--text-strong);
    font-weight: 700;
}

.hero-image-wrapper {
  background: #161b22;
    border: 2px solid #ffffff;
    border-radius: 4px;

    padding: 0;

    overflow: visible;
    line-height: 0;
    transform: rotate(-2deg);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.45),
      0 0 30px rgba(124, 58, 237, 0.18);
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
}

.hero-image-wrapper:hover {
  transform: rotate(0deg) translateY(-5px);
    box-shadow:
      0 25px 50px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(59, 130, 246, 0.25);
}

.hero-photo {
  display: block;

    border: none;

    border-radius: 2px;
    box-shadow: none;
    transform: none;
    transform-origin: center;
}

.hero-photo.tilted {
  transform: none;
}

.hero-image-wrapper::before {
  inset: -14%;
    border-radius: 12px;
    filter: blur(44px);
    opacity: 0.75;
}

.deco-code,
.deco-terminal,
.deco-floppy {
  width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;

    border: 2px solid rgba(255, 255, 255, 0.75);
    background-clip: padding-box;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 10px 25px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(124, 58, 237, 0.25);
    z-index: 5;

    filter: none;
    transition: box-shadow 0.3s ease;
}

.deco-code {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
}

.deco-floppy {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.deco-terminal {
  background: linear-gradient(135deg, #3b82f6, #7c3aed);
}

.deco-code svg,
.deco-terminal svg,
.deco-floppy svg {
  width: 38px;
    height: 38px;
    color: #ffffff;
}

.deco-code:hover,
.deco-terminal:hover,
.deco-floppy:hover {
  border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 15px 35px rgba(0, 0, 0, 0.5),
      0 0 35px rgba(59, 130, 246, 0.4);
}

.tech-badge {
  background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: var(--text-strong);
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.tech-badge:nth-child(1) i {
  color: #a78bfa;
}

.tech-badge:nth-child(2) i {
  color: #60a5fa;
}

.tech-badge:nth-child(3) i {
  color: #22d3ee;
}

.tech-badge:nth-child(4) i {
  color: #34d399;
}

.tech-badge:nth-child(5) i {
  color: #f472b6;
}

.tech-badge:nth-child(6) i {
  color: #fbbf24;
}

.tech-badge:hover {
  transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 18px rgba(124, 58, 237, 0.3);
}

.hero-image-wrapper::before {
  content: "";
    position: absolute;
    inset: -22px;
    border-radius: 20px;

    background: conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(124, 58, 237, 0.85) 45deg,
      rgba(59, 130, 246, 0.85) 90deg,
      rgba(6, 182, 212, 0.4) 130deg,
      transparent 190deg,
      transparent 360deg
    );
    filter: blur(30px);
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    animation: hero-light-orbit 7s linear infinite;
}

.hero-image-wrapper::after {
  content: "";
    position: absolute;
    inset: -14%;
    border-radius: 16px;
    background:
      radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.28), transparent 60%),
      radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.22), transparent 60%);
    filter: blur(44px);
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

@keyframes hero-light-orbit {
  to {
    transform: rotate(360deg);
  }
}

.hero-image-wrapper::before,
.hero-image-wrapper::after,
.deco-code,
.deco-terminal,
.deco-floppy {
  will-change: transform;
}

.hero-idle .hero-image-wrapper::before,
.hero-idle .hero-image-wrapper::after {
  animation-play-state: paused;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-name {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .hero-content {
    gap: 2rem;
  }

  .hero-greeting {
    font-size: 1.5rem;
  }

  .hero-name {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-photo {
    width: 250px;
    height: 250px;
  }

  .hero-image-wrapper {
    display: flex;
    justify-content: center;
  }

  .deco-code {
    display: none;
  }

  .deco-terminal {
    display: none;
  }

  .deco-floppy {
    display: none;
  }

  .tape-sticker {
    right: 30px;
    top: -10px;
    width: 80px;
    height: 30px;
  }

  .tech-badges {
    gap: 0.75rem;
  }

  .tech-badge {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }

  .hero-cta-container {
    gap: 1rem;
    align-items: center;
  }

  .paper-tear-top svg {
    height: 20px;
  }

  .hero-cta-container {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-wrapper::before {
    animation: none;
    opacity: 0.6;
  }
}

.timeline-item {
  opacity: 0;
    animation: none;
}

.timeline-item.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.journey-section {
  padding-top: 2rem;
    margin-bottom: 3rem;
}

.journey-container {
  display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0;
    position: relative;
}

.timeline-header {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: var(--border-width) solid var(--border);
    position: sticky;
    top: -25px;
    background: var(--yellow);
    z-index: 10;
}

.timeline-header::before,
.timeline-header::after {
  content: "";
    flex: 0 1 22px;
    min-width: 8px;
    height: 3px;
    background: var(--border);
}

.timeline-header i {
  flex: none;
    font-size: 0.9em;
    color: var(--border);
}

.timeline-list {
  display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item-flat {
  display: flex;
    gap: 1rem;
    position: relative;

    cursor: default;
    transition: transform 0.2s ease;
}

.timeline-item-flat[data-country] {
  cursor: pointer;
}

.timeline-item-flat:hover {
  transform: translateX(5px);
}

.timeline-item-flat:hover .timeline-dot {
  background: var(--yellow);
    transform: scale(1.3);
}

.timeline-dot {
  min-width: 12px;
    width: 12px;
    height: 12px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 50%;
    margin-top: 0.25rem;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}

.timeline-item-flat:not(:last-child) .timeline-dot::after {
  content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: var(--border);
    opacity: 0.3;
}

.timeline-content-flat {
  flex: 1;
}

.timeline-title {
  font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.timeline-date {
  font-size: 0.85rem;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.timeline-description {
  font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-location {
  font-size: 0.85rem;
    color: var(--text);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
}

.timeline-location i {
  color: var(--primary);
}

#journey-map {
  width: 100%;
    height: 600px;
    border: none;
}

.map-overlay-lines {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0.25;
}

.neo-marker {
  background: transparent;
    border: none;
}

.neo-marker-label {
  position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-70%);
    background: var(--yellow);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 2px 6px;
    font-weight: 700;
    font-size: 9px;
    white-space: nowrap;
    font-family: var(--font-display);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.neo-marker-pin {
  width: 20px;
    height: 20px;
    background: var(--yellow);
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    position: relative;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

.neo-marker-pin::after {
  content: "";
    width: 7px;
    height: 7px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.neo-marker-pin-current {
  width: 26px;
    height: 26px;
    background: var(--yellow);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

.neo-marker-pin-current::after {
  width: 10px;
    height: 10px;
    border: 1px solid var(--border);
}

.neo-marker-label-current {
  background: var(--yellow);
    font-size: 10px;
    padding: 3px 8px;
    box-shadow: var(--shadow-md);
}

.leaflet-control-zoom {
  border: none !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
  background: var(--white) !important;
    color: var(--text) !important;
    font-weight: 700;
    font-size: 20px !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-md) !important;
    width: 45px !important;
    height: 45px !important;
    line-height: 37px !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
}

.leaflet-control-zoom a:first-child {
  border-radius: 8px !important;
}

.leaflet-control-zoom a:last-child {
  margin-bottom: 0 !important;
    border-radius: 8px !important;
}

.leaflet-control-zoom a:hover {
  background: var(--yellow) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 0 var(--border) !important;
}

.leaflet-control-home {
  border: none !important;
    box-shadow: none !important;
    margin-top: 15px !important;
}

.leaflet-control-home a {
  background: var(--white) !important;
    color: var(--text) !important;
    font-weight: 700;
    font-size: 20px !important;
    width: 45px !important;
    height: 45px !important;
    line-height: 37px !important;
    display: block;
    text-align: center;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-md) !important;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease !important;
}

.leaflet-control-home a:hover {
  background: var(--cyan) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 0 var(--border) !important;
}

.leaflet-control-attribution {
  display: none !important;
}

.timeline {
  display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    margin-left: 2rem;
}

.timeline::before {
  content: "";
    position: absolute;
    left: -2rem;
    top: 0;
    bottom: 0;
    width: var(--border-width);
    background: var(--border);
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
    left: calc(-2rem - 8px);
    top: 1.5rem;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: var(--border-width) solid var(--border);
    transform: rotate(45deg);
}

.timeline-content {
  margin-bottom: 0;
}

.edu-timeline {
  position: relative;

    width: calc(100% - 40px);
    max-width: 1328px;
    margin: 0 auto;

    padding: 0.75rem 0 1rem 0;
}

.timeline-header {
  color: var(--text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.timeline-header {
  background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.timeline-header {
  border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.timeline-header::before,
.timeline-header::after {
  display: none;
}

.timeline-description {
  color: var(--text-muted);
    opacity: 1;
}

.leaflet-control-zoom a,
.leaflet-control-home a {
  border: 2px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32) !important;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease !important;
}

.leaflet-control-zoom a:hover,
.leaflet-control-home a:hover,
.leaflet-control-zoom a:active,
.leaflet-control-home a:active {
  background: var(--white) !important;
    color: var(--text) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    transform: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32) !important;
}

.leaflet-control-zoom a:focus-visible,
.leaflet-control-home a:focus-visible {
  border-color: #8b5cf6 !important;
    box-shadow:
      0 0 0 1px rgba(139, 92, 246, 0.22),
      0 4px 14px rgba(0, 0, 0, 0.32) !important;
}

.neo-marker-pin {
  background: var(--pin-colour, #161b22);
    border: none;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.9),
      0 0 10px var(--pin-colour, transparent),
      0 4px 12px rgba(0, 0, 0, 0.45);
}

.neo-marker-pin::after {
  background: #ffffff;
    border: none;
}

.neo-marker-pin-current {
  background: #0d1117;
    border: none;
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 0 5px rgba(255, 255, 255, 0.28),
      0 6px 16px rgba(0, 0, 0, 0.5);
}

.neo-marker-pin-current::after {
  background: #ffffff;
    border: none;
}

.neo-marker-label,
.neo-marker-label-current {
  background: var(--pin-colour, #161b22);
    color: var(--pin-ink, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.journey-section {
  position: relative;
    width: 100%;
    padding: 100px 5%;
    background: #0d1117;
    color: #ffffff;
    overflow: hidden;
}

.journey-header {
  text-align: center;
    margin-bottom: 60px;
}

.journey-header h2 {
  margin: 0;

    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.journey-header h2 span {
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.journey-container {
  display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(500px, 1.5fr);
    gap: 20px;
    max-width: 1450px;
    margin: auto;

    perspective: none;
    min-height: 0;
    align-items: start;
}

.timeline-card {
  position: relative;
    padding: 30px;
    background: rgba(22, 27, 34, 0.85);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 20px;
    box-shadow:
      0 0 0 1px rgba(124, 58, 237, 0.28),
      0 0 16px rgba(124, 58, 237, 0.38),
      0 0 40px rgba(124, 58, 237, 0.22),
      0 0 80px rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(10px);
}

.timeline-title {
  display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    position: static;
    background: transparent;
    margin: 0;
    text-align: left;
}

.timeline-title h3 {
  margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.timeline {
  position: relative;
    margin-top: 30px;
    padding-left: 10px;
}

.timeline::before {
  content: "";
    position: absolute;

    left: 35px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6, #06b6d4, #ec4899);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.timeline-item {
  position: relative;
    display: flex;
    gap: 25px;
    min-height: 125px;
    margin-bottom: 10px;
}

.timeline-dot {
  position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111827;
    font-size: 20px;
    border: 2px solid #7c3aed;
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.45);

    min-width: 52px;
    margin-top: 0;
}

.timeline-item.blue .timeline-dot {
  border-color: #3b82f6;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
}

.timeline-item.cyan .timeline-dot {
  border-color: #06b6d4;
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.45);
}

.timeline-item.pink .timeline-dot {
  border-color: #ec4899;
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.45);
}

.timeline-content {
  padding-top: 2px;
}

.timeline-content h3 {
  margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.timeline-content p {
  margin: 0;
    color: #9ca3af;
    font-size: 14px;
}

.journey-map {
  position: relative;
    min-height: 650px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.45);
    background:
      radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08), transparent 55%),
      #0b1220;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.08);
}

#journey-map {
  width: 100%;
    height: 650px;
    border-radius: 10px;
}

.journey-container {
  display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1450px;
    margin: auto;
    position: relative;
}

.journey-timeline {
  background: rgba(22, 27, 34, 0.85);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 10px;
    box-shadow:
      0 0 0 1px rgba(124, 58, 237, 0.28),
      0 0 16px rgba(124, 58, 237, 0.38),
      0 0 40px rgba(124, 58, 237, 0.22),
      0 0 80px rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    height: 600px;
    position: relative;
    overflow-y: auto;
}

.journey-timeline-back {
  display: none;
    height: 600px;
    align-items: center;
    justify-content: center;
    background: #161b22;
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.journey-cover-svg {
  width: 100%;
    height: 100%;
    border-radius: 10px;
}

.journey-map-container {
  height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;

    border: 1px solid rgba(124, 58, 237, 0.5);
    background: #0b1220;
    box-shadow:
      0 0 0 1px rgba(124, 58, 237, 0.28),
      0 0 16px rgba(124, 58, 237, 0.38),
      0 0 40px rgba(124, 58, 237, 0.22),
      0 0 80px rgba(124, 58, 237, 0.1);
}

#journey-map {
  width: 100%;

    height: 100%;

    border-radius: 9px;
}

.journey-timeline .timeline-item {
  gap: 16px;
    min-height: 0;
    margin-bottom: 22px;
}

.journey-timeline .timeline-dot {
  width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 17px;
}

.journey-timeline .timeline::before {
  left: 31px;
}

.journey-timeline .timeline-content h3 {
  font-size: 16px;
}

.timeline-title {
  position: relative;
    justify-content: center;
    text-align: center;
    padding-bottom: 18px;

    border-bottom: none;
}

.timeline-title::after {
  content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed, #3b82f6, transparent);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.timeline-dot i {
  color: #ffffff;
    font-size: 18px;
    line-height: 1;
}

.journey-timeline .timeline-dot i {
  font-size: 16px;
}

.timeline::before {
  display: none;
}

.timeline-item:not(:last-child)::before {
  content: "";
    position: absolute;

    left: 21px;
    top: 22px;

    height: calc(100% + 22px);
    width: 2px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
    z-index: 0;
}

.timeline-item.purple::before {
  background: linear-gradient(180deg, #7c3aed, #3b82f6);
}

.timeline-item.blue::before {
  background: linear-gradient(180deg, #3b82f6, #06b6d4);
}

.timeline-item.cyan::before {
  background: linear-gradient(180deg, #06b6d4, #ec4899);
}

.timeline-item.pink::before {
  background: linear-gradient(180deg, #ec4899, #ec4899);
}

.journey-header h2 {
  display: block;
    width: 100%;
    padding: 1rem 2rem;

    border: 2px solid #8b5cf6;
    border-radius: 14px;
    box-shadow:
      inset 0 0 0 999px rgba(124, 58, 237, 0.07),
      0 0 0 1px rgba(139, 92, 246, 0.15),
      0 0 26px rgba(124, 58, 237, 0.28);
}

.journey-timeline,
.journey-timeline-back {
  will-change: transform;
}

.timeline-item-flat {
  touch-action: manipulation;
}

.timeline-item:nth-child(13n + 1) {
  --tl-accent: #7c3aed;
    --tl-accent-rgb: 124, 58, 237;
    --tl-next: #3b82f6;
}

.timeline-item:nth-child(13n + 2) {
  --tl-accent: #3b82f6;
    --tl-accent-rgb: 59, 130, 246;
    --tl-next: #06b6d4;
}

.timeline-item:nth-child(13n + 3) {
  --tl-accent: #06b6d4;
    --tl-accent-rgb: 6, 182, 212;
    --tl-next: #10b981;
}

.timeline-item:nth-child(13n + 4) {
  --tl-accent: #10b981;
    --tl-accent-rgb: 16, 185, 129;
    --tl-next: #f59e0b;
}

.timeline-item:nth-child(13n + 5) {
  --tl-accent: #f59e0b;
    --tl-accent-rgb: 245, 158, 11;
    --tl-next: #ec4899;
}

.timeline-item:nth-child(13n + 6) {
  --tl-accent: #ec4899;
    --tl-accent-rgb: 236, 72, 153;
    --tl-next: #8b5cf6;
}

.timeline-item:nth-child(13n + 7) {
  --tl-accent: #8b5cf6;
    --tl-accent-rgb: 139, 92, 246;
    --tl-next: #0ea5e9;
}

.timeline-item:nth-child(13n + 8) {
  --tl-accent: #0ea5e9;
    --tl-accent-rgb: 14, 165, 233;
    --tl-next: #14b8a6;
}

.timeline-item:nth-child(13n + 9) {
  --tl-accent: #14b8a6;
    --tl-accent-rgb: 20, 184, 166;
    --tl-next: #84cc16;
}

.timeline-item:nth-child(13n + 10) {
  --tl-accent: #84cc16;
    --tl-accent-rgb: 132, 204, 22;
    --tl-next: #f97316;
}

.timeline-item:nth-child(13n + 11) {
  --tl-accent: #f97316;
    --tl-accent-rgb: 249, 115, 22;
    --tl-next: #f43f5e;
}

.timeline-item:nth-child(13n + 12) {
  --tl-accent: #f43f5e;
    --tl-accent-rgb: 244, 63, 94;
    --tl-next: #6366f1;
}

.timeline-item:nth-child(13n + 13) {
  --tl-accent: #6366f1;
    --tl-accent-rgb: 99, 102, 241;
    --tl-next: #7c3aed;
}

.timeline-item .timeline-dot {
  border-color: var(--tl-accent);
    box-shadow: 0 0 18px rgba(var(--tl-accent-rgb), 0.45);
}

.timeline-item::before {
  background: linear-gradient(180deg, var(--tl-accent), var(--tl-next));
    box-shadow: 0 0 10px rgba(var(--tl-accent-rgb), 0.4);
}

.timeline-item:last-child::before {
  background: linear-gradient(180deg, var(--tl-accent), transparent);
}

@media (max-width: 768px) {
  .journey-map {
    grid-template-columns: 1fr;
  }

  .journey-section {
    padding-top: 1.25rem;
    margin-bottom: 2rem;
  }

  .timeline-header {
    margin: -1rem -1rem 1rem -1rem;
    padding: 1rem 1rem 0.75rem 1rem;
    top: -1px;
  }
}

@media (min-width: 1001px) {
  .journey-container {
      display: grid;
      grid-template-columns: 400px 1fr;
      gap: 0;
      align-items: stretch;
      perspective: 2000px;
      position: relative;
      min-height: 600px;
    }
}

@media (max-width: 900px) {
  .edu-timeline {
      padding-left: 2.5rem;
    }
}

@media (max-width: 768px) {
  .timeline {
      margin-left: 1rem;
    }

  .timeline::before {
      left: -1rem;
    }

  .timeline-marker {
      left: calc(-1rem - 8px);
    }
}

@media (max-width: 1000px) {
  .journey-container {
      grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
  .journey-section {
      padding: 70px 20px;
    }

  .timeline-card {
      padding: 20px;
    }

  .timeline-content h3 {
      font-size: 16px;
    }
}

@media (min-width: 1001px) {
  .journey-container {
      grid-template-columns: 420px 1fr;
      gap: 0;
      align-items: stretch;
      perspective: 2000px;
      min-height: 600px;
    }

  .journey-timeline {
      grid-column: 1;
      grid-row: 1;
      transform-origin: right center;
      transition: transform 0.1s ease-out;
      transform: rotateY(180deg);
    }

  .journey-timeline-back {
      display: flex !important;
      position: absolute;
      left: 0;
      top: 0;
      width: 420px;
      height: 600px;
      z-index: 100;
      pointer-events: none;
      transform-origin: right center;
      transition: transform 0.1s ease-out;
    }

  .journey-cover-svg {
      transform: scaleX(-1);
    }

  .journey-map-container {
      grid-column: 2;
      z-index: 1;
    }
}

.work-list {
  position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    max-width: 100%;

    padding-top: 2rem;
}

.work-card {
  position: relative;

    padding-left: 2.5rem;

    margin-left: calc(var(--work-rail) + 2.25rem);

    width: 75%;
    max-width: calc(100% - var(--work-rail) - 2.25rem);

    box-shadow: var(--shadow-md);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
}

.work-dot {
  position: absolute;
    left: -2.25rem;
    top: 2rem;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 1px solid var(--border);
    z-index: 2;

    transition: transform 0.2s ease;
}

.work-card:not(:last-child)::after {
  content: "";
    position: absolute;
    left: -2.25rem;
    top: calc(2rem + 10px);
    height: calc(100% + 1.5rem);
    width: 4px;
    transform: translateX(-50%);
    background-image: radial-gradient(
      circle,
      var(--border) 0 1.8px,
      transparent 2px
    );
    background-size: 4px 14px;
    background-repeat: repeat-y;
    z-index: 1;
    transition: transform 0.2s ease;
}

.work-card::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: var(--accent);
}

.work-card:nth-child(4n + 2)::before {
  background: var(--blue);
}

.work-card:nth-child(4n + 3)::before {
  background: var(--pink-light);
}

.work-card:nth-child(4n + 4)::before {
  background: var(--cyan);
}

.work-card:hover {
  transform: translate(-2px, -2px);
    box-shadow: var(--shadow-md);
}

.work-card:hover .work-dot,
.work-card:hover:not(:last-child)::after {
  transform: translateX(-50%) translate(2px, 2px);
}

.work-card-header {
  display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.work-card-heading {
  min-width: 0;
}

.work-role {
  font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.work-company {
  font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

.work-card-meta {
  display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;

    flex-shrink: 0;
    text-align: right;
}

.work-duration {
  font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.75;
    white-space: nowrap;
}

.work-type {
  display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.4;
    white-space: nowrap;
}

.work-card .timeline-description {
  margin-bottom: 0;
}

.work-card .timeline-location {
  margin-top: 0.75rem;
}

.work-card[data-country] {
  cursor: pointer;
}

.work-card {
  background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.work-role {
  color: var(--text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.work-company,
.work-duration {
  color: var(--text-muted);
    opacity: 1;
}

.work-card::before {
  background: var(--grad);
}

.work-dot {
  border-color: var(--border-strong);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.work-type {
  background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: none;
}

.work-card:not(:last-child)::after {
  background-image: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.35) 0 1.8px,
      transparent 2px
    );
}

.work-dot {
  background: var(--grad);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.work-card::before {
  background: var(--grad);
}

.work-dot {
  width: 7px;
    height: 7px;
    top: calc(2rem + 7.5px);
    border-radius: 50%;
    background: #ffffff;
    border: none;
    z-index: 2;
    box-shadow:
      0 0 0 3px var(--dot-colour),
      0 0 0 6px #0d1117,

      0 0 0 8.5px var(--dot-colour),
      0 0 22px var(--dot-glow);
}

.work-card:not(:last-child)::after {
  top: calc(2rem + 11px);
    height: calc(100% + 1.5rem - 1px);
}

.work-dot {
  --dot-colour: var(--accent);
    --dot-glow: rgba(16, 185, 129, 0.5);
}

.work-card:nth-child(4n + 2) .work-dot {
  --dot-colour: var(--blue);
    --dot-glow: rgba(59, 130, 246, 0.5);
}

.work-card:nth-child(4n + 3) .work-dot {
  --dot-colour: var(--pink-light);
    --dot-glow: rgba(236, 72, 153, 0.5);
}

.work-card:nth-child(4n + 4) .work-dot {
  --dot-colour: var(--cyan);
    --dot-glow: rgba(6, 182, 212, 0.5);
}

.work-card:nth-child(4n + 1)::before {
  background: var(--purple);
}

.work-card:nth-child(4n + 1) .work-dot {
  --dot-colour: var(--purple);
    --dot-glow: rgba(124, 58, 237, 0.5);
}

.work-card {
  background: #161b22;
    border: none;
    border-radius: 20px;
    box-shadow:
      0 12px 35px rgba(0, 0, 0, 0.45),
      0 0 20px rgba(124, 58, 237, 0.2),
      0 0 50px rgba(124, 58, 237, 0.08);
}

.work-card:hover {
  transform: translate(-2px, -2px);
    box-shadow:
      0 18px 45px rgba(0, 0, 0, 0.5),
      0 0 28px rgba(124, 58, 237, 0.3),
      0 0 60px rgba(124, 58, 237, 0.12);
}

.work-card::before {
  border-radius: 20px 0 0 20px;
}

.work-card {
  --card-accent: #7c3aed;
    --card-accent-text: #a78bfa;
    --card-accent-rgb: 124, 58, 237;
}

.work-card:nth-child(4n + 2) {
  --card-accent: #3b82f6;
    --card-accent-text: #60a5fa;
    --card-accent-rgb: 59, 130, 246;
}

.work-card:nth-child(4n + 3) {
  --card-accent: #ec4899;
    --card-accent-text: #f9a8d4;
    --card-accent-rgb: 236, 72, 153;
}

.work-card:nth-child(4n + 4) {
  --card-accent: #06b6d4;
    --card-accent-text: #67e8f9;
    --card-accent-rgb: 6, 182, 212;
}

.work-card::before,
.work-card:nth-child(4n + 1)::before,
.work-card:nth-child(4n + 2)::before,
.work-card:nth-child(4n + 3)::before,
.work-card:nth-child(4n + 4)::before {
  background: var(--card-accent);
}

.work-card .work-dot {
  --dot-colour: var(--card-accent);
    --dot-glow: rgba(var(--card-accent-rgb), 0.5);
}

.work-company {
  color: var(--card-accent-text);
    opacity: 1;
}

.work-type {
  color: var(--card-accent-text);
    border-color: var(--card-accent);
    background: rgba(var(--card-accent-rgb), 0.12);
}

.work-company {
  position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.work-company::after {
  content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: var(--card-accent);
    box-shadow: 0 0 10px rgba(var(--card-accent-rgb), 0.5);
}

.work-card {
  --card-accent-dark: #4c1d95;
}

.work-card:nth-child(4n + 2) {
  --card-accent-dark: #1e40af;
}

.work-card:nth-child(4n + 3) {
  --card-accent-dark: #9d174d;
}

.work-card:nth-child(4n + 4) {
  --card-accent-dark: #0e7490;
}

.work-card::before,
.work-card:nth-child(4n + 1)::before,
.work-card:nth-child(4n + 2)::before,
.work-card:nth-child(4n + 3)::before,
.work-card:nth-child(4n + 4)::before {
  background: linear-gradient(
      180deg,
      var(--card-accent-dark) 0%,
      var(--card-accent) 55%,
      var(--card-accent-text) 100%
    );
}

.work-card {
  box-shadow:
      0 12px 35px rgba(0, 0, 0, 0.45),
      0 0 20px rgba(var(--card-accent-rgb), 0.2),
      0 0 50px rgba(var(--card-accent-rgb), 0.08);
}

.work-card:hover {
  box-shadow:
      0 18px 45px rgba(0, 0, 0, 0.5),
      0 0 28px rgba(var(--card-accent-rgb), 0.32),
      0 0 60px rgba(var(--card-accent-rgb), 0.14);
}

.work-card {
  border: 2px solid transparent;
    border-radius: 20px;
    background:
      linear-gradient(#161b22, #161b22) padding-box,
      linear-gradient(
          180deg,
          var(--card-accent-dark) 0%,
          var(--card-accent) 55%,
          var(--card-accent-text) 100%
        )
        border-box;
}

.work-card::before {
  border-radius: 18px 0 0 18px;
}

.work-card {
  touch-action: manipulation;
}

.work-points {
  margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.work-points li {
  margin-bottom: 0.6rem;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.65;
}

.work-points li:last-child {
  margin-bottom: 0;
}

.work-points li::marker {
  color: var(--card-accent);
    font-size: 1.1em;
}

.work-points li b,
.work-points li strong {
  color: var(--card-accent-text);
    font-weight: 600;
}

.work-list {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.9rem;
  overscroll-behavior-y: auto;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14px,
    #000 calc(100% - 16px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14px,
    #000 calc(100% - 16px),
    transparent 100%
  );
}

.work-viewall-wrapper {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
}

.work-viewall-wrapper[hidden] {
  display: none;
}

.work-viewall-wrapper .btn-view-all {
  background: linear-gradient(135deg, #c4b5fd 0%, #93c5fd 100%);
  color: #1e1b4b;
  box-shadow: 0 0 24px rgba(196, 181, 253, 0.3);
}

.work-viewall-wrapper .btn-view-all:hover {
  box-shadow:
    0 0 24px rgba(196, 181, 253, 0.3),
    var(--shadow-lg);
}

@media (max-height: 700px) {
  .work-list {
    max-height: 520px;
  }
}

@media (max-width: 1024px) {
  .work-list {
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .work-list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.work-card::before {
  display: none;
}

.work-card {
  background:

      linear-gradient(
          180deg,
          var(--card-accent-dark) 0%,
          var(--card-accent) 55%,
          var(--card-accent-text) 100%
        )
        padding-box,
       linear-gradient(#161b22, #161b22)
        padding-box,

        linear-gradient(
          180deg,
          var(--card-accent-dark) 0%,
          var(--card-accent) 55%,
          var(--card-accent-text) 100%
        )
        border-box;
    background-size:
      10px 100%,
      auto,
      auto;
    background-position:
      left top,
      0 0,
      0 0;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

@media (max-width: 768px) {
  .work-list {
    gap: 1.25rem;
  }

  .work-card {
    padding-left: 1.75rem;
    margin-left: 2.5rem;
    width: auto;
  }

  .work-card::before {
    width: 7px;
  }

  .work-card-header {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .work-card-meta {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
  }

  .work-role {
    font-size: 1.1rem;
  }

  .work-dot {
    left: -1.5rem;
    top: 1.6rem;
    width: 16px;
    height: 16px;
    border-width: 1px;
  }

  .work-card:not(:last-child)::after {
    left: -1.5rem;
    top: calc(1.6rem + 8px);
    height: calc(100% + 1.25rem);
  }
}

@media (max-width: 768px) {
  .work-dot {
    top: calc(1.6rem + 5px);
    width: 6px;
    height: 6px;
    border: none;
    box-shadow:
          0 0 0 2.5px var(--dot-colour),
          0 0 0 5px #0d1117,
          0 0 0 7px var(--dot-colour),
          0 0 16px var(--dot-glow);
  }
}

@media (max-width: 768px) {
  .work-card {
    background-size:
          7px 100%,
          auto,
          auto;
  }
}

@media (max-width: 1024px) {

  .work-card {
    margin-left: 3.5rem;
    width: auto;
    max-width: none;
  }

}

.skill-box {
  opacity: 0;
    animation: none;
}

.skill-box.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

#skills {
  margin-top: 8rem;
    margin-bottom: 8rem;
}

.skills-grid-modern {
  display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.skill-box {
  background: var(--white);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    grid-column: span 2;
    position: relative;
    overflow: hidden;
}

.skill-box::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.skill-box:nth-child(1)::before {
  background: var(--cyan);
}

.skill-box:nth-child(2)::before {
  background: var(--yellow);
}

.skill-box:nth-child(3)::before {
  background: var(--pink);
}

.skill-box:nth-child(4)::before {
  background: var(--accent);
}

.skill-box:nth-child(5)::before {
  background: var(--cyan);
}

.skill-box:nth-child(6)::before {
  background: var(--pink);
}

.skill-box:nth-child(7)::before {
  background: var(--yellow);
}

.skill-box:nth-child(8)::before {
  background: var(--pink);
}

.skill-box:nth-child(7),
.skill-box:nth-child(8) {
  grid-column: span 3;
}

.skill-box:hover {
  transform: translateY(-2px);
    box-shadow: 0 0 0 var(--border);
}

.skill-box-header {
  display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.skill-icon-large {
  font-size: 3rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.skill-box:nth-child(1) .skill-icon-large {
  color: var(--cyan);
}

.skill-box:nth-child(2) .skill-icon-large {
  color: var(--yellow);
}

.skill-box:nth-child(3) .skill-icon-large {
  color: var(--pink);
}

.skill-box:nth-child(4) .skill-icon-large {
  color: var(--accent);
}

.skill-box:nth-child(5) .skill-icon-large {
  color: var(--cyan);
}

.skill-box:nth-child(6) .skill-icon-large {
  color: var(--accent);
}

.skill-box:nth-child(7) .skill-icon-large {
  color: var(--yellow);
}

.skill-box:nth-child(8) .skill-icon-large {
  color: var(--pink);
}

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

.skill-box-title {
  font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.skill-box .tech-tags {
  display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

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

.skill-box .tag {
  display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--pill-border, rgba(255, 255, 255, 0.16));
    background: var(--pill-bg, rgba(255, 255, 255, 0.06));
    color: var(--pill-fg, #e5e7eb);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    cursor: default;
    position: relative;
    box-shadow: none;
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease;
}

.skill-box .tag {
  font-family: var(--font-skills);
    font-weight: 600;
}

.skill-box .tag:hover {
  transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: var(--pill-bg-hover, var(--pill-bg));
}

.skill-box .tag i {
  font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.skill-box .tag:hover i {
  transform: scale(1.1);
}

.tag--html {
  --pill-bg: rgba(185, 92, 31, 0.16);
    --pill-fg: #f4b891;
    --pill-border: rgba(185, 92, 31, 0.42);
    --pill-bg-hover: rgba(185, 92, 31, 0.28);
}

.tag--css {
  --pill-bg: rgba(29, 78, 216, 0.16);
    --pill-fg: #96aff8;
    --pill-border: rgba(29, 78, 216, 0.42);
    --pill-bg-hover: rgba(29, 78, 216, 0.28);
}

.tag--js {
  --pill-bg: rgba(146, 114, 12, 0.16);
    --pill-fg: #fdd34f;
    --pill-border: rgba(146, 114, 12, 0.42);
    --pill-bg-hover: rgba(146, 114, 12, 0.28);
}

.tag--react {
  --pill-bg: rgba(14, 116, 144, 0.16);
    --pill-fg: #51d6fa;
    --pill-border: rgba(14, 116, 144, 0.42);
    --pill-bg-hover: rgba(14, 116, 144, 0.28);
}

.tag--tailwind {
  --pill-bg: rgba(15, 118, 110, 0.16);
    --pill-fg: #3ff4e6;
    --pill-border: rgba(15, 118, 110, 0.42);
    --pill-bg-hover: rgba(15, 118, 110, 0.28);
}

.tag--java {
  --pill-bg: rgba(185, 28, 28, 0.16);
    --pill-fg: #f68d8d;
    --pill-border: rgba(185, 28, 28, 0.42);
    --pill-bg-hover: rgba(185, 28, 28, 0.28);
}

.tag--python {
  --pill-bg: rgba(67, 56, 202, 0.16);
    --pill-fg: #a7a2ec;
    --pill-border: rgba(67, 56, 202, 0.42);
    --pill-bg-hover: rgba(67, 56, 202, 0.28);
}

.tag--cpp {
  --pill-bg: rgba(109, 40, 217, 0.16);
    --pill-fg: #bd9af4;
    --pill-border: rgba(109, 40, 217, 0.42);
    --pill-bg-hover: rgba(109, 40, 217, 0.28);
}

.tag--c {
  --pill-bg: rgba(126, 34, 206, 0.16);
    --pill-fg: #ca99f5;
    --pill-border: rgba(126, 34, 206, 0.42);
    --pill-bg-hover: rgba(126, 34, 206, 0.28);
}

.tag--mongodb {
  --pill-bg: rgba(21, 128, 61, 0.16);
    --pill-fg: #54ef8e;
    --pill-border: rgba(21, 128, 61, 0.42);
    --pill-bg-hover: rgba(21, 128, 61, 0.28);
}

.tag--sql {
  --pill-bg: rgba(162, 28, 175, 0.16);
    --pill-fg: #ea85f4;
    --pill-border: rgba(162, 28, 175, 0.42);
    --pill-bg-hover: rgba(162, 28, 175, 0.28);
}

.tag--vscode {
  --pill-bg: rgba(3, 105, 161, 0.16);
    --pill-fg: #52c2ff;
    --pill-border: rgba(3, 105, 161, 0.42);
    --pill-bg-hover: rgba(3, 105, 161, 0.28);
}

.tag--git {
  --pill-bg: rgba(190, 18, 60, 0.16);
    --pill-fg: #fc829f;
    --pill-border: rgba(190, 18, 60, 0.42);
    --pill-bg-hover: rgba(190, 18, 60, 0.28);
}

.tag--github {
  --pill-bg: rgba(37, 99, 235, 0.16);
    --pill-fg: #91b3fd;
    --pill-border: rgba(37, 99, 235, 0.42);
    --pill-bg-hover: rgba(37, 99, 235, 0.28);
}

.tag--figma {
  --pill-bg: rgba(190, 24, 93, 0.16);
    --pill-fg: #f88bb8;
    --pill-border: rgba(190, 24, 93, 0.42);
    --pill-bg-hover: rgba(190, 24, 93, 0.28);
}

.tag--sketch {
  --pill-bg: rgba(161, 98, 7, 0.16);
    --pill-fg: #ffba56;
    --pill-border: rgba(161, 98, 7, 0.42);
    --pill-bg-hover: rgba(161, 98, 7, 0.28);
}

.tag--msoffice {
  --pill-bg: rgba(4, 120, 87, 0.16);
    --pill-fg: #2affc3;
    --pill-border: rgba(4, 120, 87, 0.42);
    --pill-bg-hover: rgba(4, 120, 87, 0.28);
}

.tag--shopify {
  --pill-bg: rgba(77, 124, 15, 0.16);
    --pill-fg: #a8f543;
    --pill-border: rgba(77, 124, 15, 0.42);
    --pill-bg-hover: rgba(77, 124, 15, 0.28);
}

.tag--wireframing {
  --pill-bg: rgba(180, 83, 9, 0.16);
    --pill-fg: #ffab6b;
    --pill-border: rgba(180, 83, 9, 0.42);
    --pill-bg-hover: rgba(180, 83, 9, 0.28);
}

.tag--prototyping {
  --pill-bg: rgba(5, 150, 105, 0.16);
    --pill-fg: #49ffc7;
    --pill-border: rgba(5, 150, 105, 0.42);
    --pill-bg-hover: rgba(5, 150, 105, 0.28);
}

.tag--userresearch {
  --pill-bg: rgba(147, 51, 234, 0.16);
    --pill-fg: #c992fb;
    --pill-border: rgba(147, 51, 234, 0.42);
    --pill-bg-hover: rgba(147, 51, 234, 0.28);
}

.tag--visualdesign {
  --pill-bg: rgba(219, 39, 119, 0.16);
    --pill-fg: #f599c2;
    --pill-border: rgba(219, 39, 119, 0.42);
    --pill-bg-hover: rgba(219, 39, 119, 0.28);
}

.tag--accessibility {
  --pill-bg: rgba(20, 184, 166, 0.16);
    --pill-fg: #7ffaed;
    --pill-border: rgba(20, 184, 166, 0.42);
    --pill-bg-hover: rgba(20, 184, 166, 0.28);
}

.tag--nodejs {
  --pill-bg: rgba(4, 120, 87, 0.16);
    --pill-fg: #2affc3;
    --pill-border: rgba(4, 120, 87, 0.42);
    --pill-bg-hover: rgba(4, 120, 87, 0.28);
}

.tag--selenium {
  --pill-bg: rgba(154, 52, 18, 0.16);
    --pill-fg: #f88762;
    --pill-border: rgba(154, 52, 18, 0.42);
    --pill-bg-hover: rgba(154, 52, 18, 0.28);
}

.tag--jest {
  --pill-bg: rgba(159, 18, 57, 0.16);
    --pill-fg: #f8668f;
    --pill-border: rgba(159, 18, 57, 0.42);
    --pill-bg-hover: rgba(159, 18, 57, 0.28);
}

.tag--postman {
  --pill-bg: rgba(194, 65, 12, 0.16);
    --pill-fg: #ffa27c;
    --pill-border: rgba(194, 65, 12, 0.42);
    --pill-bg-hover: rgba(194, 65, 12, 0.28);
}

.tag--default {
  --pill-bg: rgba(234, 88, 12, 0.16);
    --pill-fg: #ffb58f;
    --pill-border: rgba(234, 88, 12, 0.42);
    --pill-bg-hover: rgba(234, 88, 12, 0.28);
}

.skill-box {
  background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.skill-box {
  position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
}

.skill-box::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad);
    opacity: 0.9;
    z-index: 1;
}

.skill-box:nth-child(3n)::before {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.skill-box:hover {
  transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow:
      var(--shadow-lg),
      0 0 28px rgba(124, 58, 237, 0.22);
}

.skill-box-title {
  color: var(--text-strong);
    letter-spacing: -0.01em;
}

.skill-icon-large {
  color: var(--purple);
}

.skill-box:hover .skill-icon-large {
  color: var(--blue);
}

.tag--excel {
  --pill-bg: rgba(33, 163, 102, 0.16);
    --pill-fg: #22a769;
    --pill-border: rgba(33, 163, 102, 0.42);
    --pill-bg-hover: rgba(33, 163, 102, 0.28);
}

.tag--powerbi {
  --pill-bg: rgba(242, 200, 17, 0.16);
    --pill-fg: #f2c811;
    --pill-border: rgba(242, 200, 17, 0.42);
    --pill-bg-hover: rgba(242, 200, 17, 0.28);
}

.tag--tableau {
  --pill-bg: rgba(233, 118, 39, 0.16);
    --pill-fg: #e97627;
    --pill-border: rgba(233, 118, 39, 0.42);
    --pill-bg-hover: rgba(233, 118, 39, 0.28);
}

.tag--pandas {
  --pill-bg: rgba(155, 89, 208, 0.16);
    --pill-fg: #ae79d9;
    --pill-border: rgba(155, 89, 208, 0.42);
    --pill-bg-hover: rgba(155, 89, 208, 0.28);
}

.tag--numpy {
  --pill-bg: rgba(77, 171, 207, 0.16);
    --pill-fg: #4dabcf;
    --pill-border: rgba(77, 171, 207, 0.42);
    --pill-bg-hover: rgba(77, 171, 207, 0.28);
}

.tag--matplotlib {
  --pill-bg: rgba(42, 127, 184, 0.16);
    --pill-fg: #3d97d3;
    --pill-border: rgba(42, 127, 184, 0.42);
    --pill-bg-hover: rgba(42, 127, 184, 0.28);
}

.tag--plotly {
  --pill-bg: rgba(99, 110, 250, 0.16);
    --pill-fg: #7c85fb;
    --pill-border: rgba(99, 110, 250, 0.42);
    --pill-bg-hover: rgba(99, 110, 250, 0.28);
}

.tag--statistics {
  --pill-bg: rgba(20, 184, 166, 0.16);
    --pill-fg: #14b8a6;
    --pill-border: rgba(20, 184, 166, 0.42);
    --pill-bg-hover: rgba(20, 184, 166, 0.28);
}

.tag--datacleaning {
  --pill-bg: rgba(16, 185, 129, 0.16);
    --pill-fg: #10b981;
    --pill-border: rgba(16, 185, 129, 0.42);
    --pill-bg-hover: rgba(16, 185, 129, 0.28);
}

.tag--eda {
  --pill-bg: rgba(6, 182, 212, 0.16);
    --pill-fg: #06b6d4;
    --pill-border: rgba(6, 182, 212, 0.42);
    --pill-bg-hover: rgba(6, 182, 212, 0.28);
}

.tag--dataviz {
  --pill-bg: rgba(14, 165, 233, 0.16);
    --pill-fg: #0ea5e9;
    --pill-border: rgba(14, 165, 233, 0.42);
    --pill-bg-hover: rgba(14, 165, 233, 0.28);
}

.tag--kpi {
  --pill-bg: rgba(245, 158, 11, 0.16);
    --pill-fg: #f59e0b;
    --pill-border: rgba(245, 158, 11, 0.42);
    --pill-bg-hover: rgba(245, 158, 11, 0.28);
}

.tag--flask {
  --pill-bg: rgba(148, 163, 184, 0.16);
    --pill-fg: #94a3b8;
    --pill-border: rgba(148, 163, 184, 0.42);
    --pill-bg-hover: rgba(148, 163, 184, 0.28);
}

.tag--restapi {
  --pill-bg: rgba(139, 92, 246, 0.16);
    --pill-fg: #a079f8;
    --pill-border: rgba(139, 92, 246, 0.42);
    --pill-bg-hover: rgba(139, 92, 246, 0.28);
}

.tag--manualtesting {
  --pill-bg: rgba(244, 63, 94, 0.16);
    --pill-fg: #f55772;
    --pill-border: rgba(244, 63, 94, 0.42);
    --pill-bg-hover: rgba(244, 63, 94, 0.28);
}

.tag--usabilitytesting {
  --pill-bg: rgba(236, 72, 153, 0.16);
    --pill-fg: #ee5aa3;
    --pill-border: rgba(236, 72, 153, 0.42);
    --pill-bg-hover: rgba(236, 72, 153, 0.28);
}

.tag--testcase {
  --pill-bg: rgba(132, 204, 22, 0.16);
    --pill-fg: #84cc16;
    --pill-border: rgba(132, 204, 22, 0.42);
    --pill-bg-hover: rgba(132, 204, 22, 0.28);
}

.tag--bugreporting {
  --pill-bg: rgba(239, 68, 68, 0.16);
    --pill-fg: #f16060;
    --pill-border: rgba(239, 68, 68, 0.42);
    --pill-bg-hover: rgba(239, 68, 68, 0.28);
}

.tag--jira {
  --pill-bg: rgba(38, 132, 255, 0.16);
    --pill-fg: #4092ff;
    --pill-border: rgba(38, 132, 255, 0.42);
    --pill-bg-hover: rgba(38, 132, 255, 0.28);
}

.tag--sdlc {
  --pill-bg: rgba(99, 102, 241, 0.16);
    --pill-fg: #8486f4;
    --pill-border: rgba(99, 102, 241, 0.42);
    --pill-bg-hover: rgba(99, 102, 241, 0.28);
}

.tag--stlc {
  --pill-bg: rgba(168, 85, 247, 0.16);
    --pill-fg: #b772f8;
    --pill-border: rgba(168, 85, 247, 0.42);
    --pill-bg-hover: rgba(168, 85, 247, 0.28);
}

.tag--uidesign {
  --pill-bg: rgba(217, 70, 239, 0.16);
    --pill-fg: #dd59f1;
    --pill-border: rgba(217, 70, 239, 0.42);
    --pill-bg-hover: rgba(217, 70, 239, 0.28);
}

.tag--designthinking {
  --pill-bg: rgba(251, 191, 36, 0.16);
    --pill-fg: #fbbf24;
    --pill-border: rgba(251, 191, 36, 0.42);
    --pill-bg-hover: rgba(251, 191, 36, 0.28);
}

.tag--adobexd {
  --pill-bg: rgba(255, 97, 246, 0.16);
    --pill-fg: #ff61f6;
    --pill-border: rgba(255, 97, 246, 0.42);
    --pill-bg-hover: rgba(255, 97, 246, 0.28);
}

@media (max-width: 1024px) {
  .skills-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .skill-box {
    grid-column: span 1;
  }

  .skill-box:nth-child(7),
  .skill-box:nth-child(8) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .skill-box {
    padding: 1.5rem;
  }

  .skill-box:hover {
    transform: translateY(-2px);
  }

  .skill-icon-large {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .skills-grid,
  .skills-grid-modern {
    grid-template-columns: 1fr;
  }

  .skill-box {
    grid-column: 1 / -1;
  }

  .skill-box:nth-child(7),
  .skill-box:nth-child(8) {
    grid-column: 1 / -1;
  }
}

.tag--flask {
  --pill-bg: rgba(75, 85, 99, 0.16);
  --pill-fg: #808d9f;
  --pill-border: rgba(75, 85, 99, 0.42);
  --pill-bg-hover: rgba(75, 85, 99, 0.28);
}

.tag--groq {
  --pill-bg: rgba(245, 80, 54, 0.16);
  --pill-fg: #f65d45;
  --pill-border: rgba(245, 80, 54, 0.42);
  --pill-bg-hover: rgba(245, 80, 54, 0.28);
}

.tag--llama {
  --pill-bg: rgba(15, 157, 157, 0.16);
  --pill-fg: #10a6a6;
  --pill-border: rgba(15, 157, 157, 0.42);
  --pill-bg-hover: rgba(15, 157, 157, 0.28);
}

.edu-card-heading {
  font-family: var(--font-display);
}

#education {
  margin-bottom: 8rem;
}

.edu-card-header {
  display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.edu-card-heading {
  flex: 1;
    min-width: 0;
}

.education-title {
  font-size: 1.3rem;
    font-weight: 700;

    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.education-course {
  font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.35;
    opacity: 0.9;

    margin-bottom: 0.55rem;
}

.education-school {
  font-size: 1rem;
    font-family: var(--font-display);
    color: var(--text);
    opacity: 0.85;
}

.edu-card-badge {
  flex-shrink: 0;

    background: var(--accent);

    border-radius: 999px;

    border-width: 1px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    line-height: 1;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.12);
}

.education-location {
  font-size: 0.95rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.education-location--link {
  width: fit-content;
    display: inline-flex;
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.education-location--link:hover,
.education-location--link:focus-visible {
  color: var(--red);
}

.education-location-ext {
  font-size: 0.75em;
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.education-location--link:hover .education-location-ext {
  transform: translate(2px, -2px);
    opacity: 1;
}

.edu-path-svg {
  position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.edu-path {
  stroke: var(--border);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 2 14;
    opacity: 0.85;
}

.edu-footprints {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.edu-footprint {
  position: absolute;
    width: 20px;
    height: 28px;
    translate: -50% -50%;
    scale: 0.4;
    rotate: calc(var(--edu-base-rotate, 180deg) + var(--foot-rotate, 0deg));
    opacity: 0;
    transition:
      opacity 0.35s ease,
      scale 0.35s ease;
    color: #8a8a8a;
}

.edu-footprint svg {
  width: 100%;
    height: 100%;
    display: block;
}

.edu-footprint--right {
  scale: -0.4 0.4;
}

.edu-footprint--visible {
  opacity: 0.55;
    scale: 1;
}

.edu-footprint--visible.edu-footprint--right {
  scale: -1 1;
}

.edu-nodes {
  position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.edu-node {
  position: relative;
    display: flex;
    width: 100%;
    padding: 2rem 0;
    min-height: 140px;
    align-items: center;
}

.edu-node:first-child {
  padding-top: 0.5rem;
}

.edu-node--left {
  justify-content: flex-start;
}

.edu-node--right {
  justify-content: flex-end;
}

.edu-node-dot {
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: var(--white);
    border: var(--border-width) solid var(--border);
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s ease;
}

.edu-node--current .edu-node-dot {
  width: 28px;
    height: 28px;
    background: var(--accent);
    border-color: var(--border);
    animation: edu-current-pulse 2.2s ease-in-out infinite;
}

@keyframes edu-current-pulse {
  0%,
100% {

    box-shadow:
      0 0 0 4px rgba(168, 230, 207, 0.7),
      0 0 12px 3px rgba(168, 230, 207, 0.55);
  }
  50% {

    box-shadow:
      0 0 0 14px rgba(168, 230, 207, 0),
      0 0 22px 8px rgba(168, 230, 207, 0.12);
  }
}

.edu-node-dot--origin {
  background: var(--border);
    width: 16px;
    height: 16px;
}

.edu-card {
  position: relative;
    overflow: hidden;

    width: 620px;
    max-width: calc(50% - 44px);

    border-radius: 10px;

    box-shadow: var(--shadow-md);
    font-family: var(--font-display);
    opacity: 0;
    transform: translateY(50px);
    transition:
      opacity 0.7s ease,
      transform 0.7s ease;
    display: flex;
    flex-direction: column;

    gap: 1.6rem;
}

.edu-card::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;

    background: var(--accent);
}

.edu-node:nth-child(3n + 1) .edu-card::before,
.edu-node:nth-child(3n + 1) .edu-card-badge {
  background: var(--accent);
}

.edu-node:nth-child(3n + 2) .edu-card::before,
.edu-node:nth-child(3n + 2) .edu-card-badge {
  background: var(--orange);
}

.edu-node:nth-child(3n + 3) .edu-card::before,
.edu-node:nth-child(3n + 3) .edu-card-badge {
  background: var(--pink-light);
}

.edu-node--visible .edu-card {
  opacity: 1;
    transform: translateY(0);
}

.edu-node--current .edu-card {
  border-width: 1px;

    box-shadow: var(--shadow-md);
}

.edu-origin-node {
  justify-content: center;
    padding-top: 1rem;

    padding-bottom: 0.5rem;
}

.education-section {
  margin-bottom: 1.5rem;
}

.edu-origin-text {
  font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.5px;
    color: var(--text);
    opacity: 0;
    margin-top: 4rem;
    transform: translateY(20px);
    transition:
      opacity 0.7s ease,
      transform 0.7s ease;
}

.edu-origin-node.edu-node--visible .edu-origin-text {
  opacity: 1;
    transform: translateY(0);
}

.edu-card {
  background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.education-title {
  color: var(--text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.education-location,
.education-school {
  color: var(--text-muted);
    opacity: 1;
}

.edu-card::before {
  background: var(--grad);
}

.edu-node-dot {
  border-color: var(--border-strong);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.edu-card-badge {
  background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: none;
}

.edu-path {
  stroke: rgba(124, 58, 237, 0.55);
    opacity: 1;
}

.edu-footprint {
  color: rgba(255, 255, 255, 0.28);
}

.edu-origin-text {
  color: var(--text-muted);
}

.edu-card::before {
  background: var(--grad);
}

.edu-node {
  --edu-accent: #10b981;
    --edu-accent-rgb: 16, 185, 129;
}

.edu-node:nth-child(3n + 2) {
  --edu-accent: #06b6d4;
    --edu-accent-rgb: 6, 182, 212;
}

.edu-node:nth-child(3n + 3) {
  --edu-accent: #ec4899;
    --edu-accent-rgb: 236, 72, 153;
}

.edu-node:nth-child(3n + 1) .edu-card::before,
.edu-node:nth-child(3n + 2) .edu-card::before,
.edu-node:nth-child(3n + 3) .edu-card::before {
  background: var(--edu-accent);
}

.edu-card .education-school {
  color: var(--edu-accent);
    opacity: 1;
    font-weight: 700;
}

.edu-card .education-location i {
  color: var(--edu-accent);
}

.edu-node {
  --edu-accent-text: #34d399;
}

.edu-node:nth-child(3n + 2) {
  --edu-accent-text: #67e8f9;
}

.edu-node:nth-child(3n + 3) {
  --edu-accent-text: #f9a8d4;
}

.edu-card-badge {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;

    background: rgba(var(--edu-accent-rgb), 0.55);
    border: 1px solid var(--edu-accent);
    border-radius: 999px;
    color: #ffffff;

    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow:
      0 0 12px rgba(var(--edu-accent-rgb), 0.28),
      inset 0 0 10px rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.edu-card-badge:hover {
  background: rgba(var(--edu-accent-rgb), 0.62);
    box-shadow:
      0 0 18px rgba(var(--edu-accent-rgb), 0.45),
      inset 0 0 12px rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.edu-card .education-location--link:hover {
  color: var(--text-muted);
}

.edu-card .education-location--link:hover .education-location-ext {
  transform: none;
    opacity: 0.65;
}

.edu-card .education-location--link:hover i:not(.education-location-ext) {
  color: var(--edu-accent);
}

.edu-card .education-location--link:focus-visible {
  color: var(--edu-accent);
    outline: 2px solid var(--edu-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.edu-card-badge {
  background: rgba(var(--edu-accent-rgb), 0.65);
    border: 2px solid var(--edu-accent);
    box-shadow:
      0 0 0 1px rgba(var(--edu-accent-rgb), 0.35),
      0 0 12px rgba(var(--edu-accent-rgb), 0.55),
      0 0 26px rgba(var(--edu-accent-rgb), 0.3),
      inset 0 0 12px rgba(255, 255, 255, 0.1);
}

.edu-card-badge:hover {
  background: rgba(var(--edu-accent-rgb), 0.65);
    box-shadow:
      0 0 0 1px rgba(var(--edu-accent-rgb), 0.5),
      0 0 18px rgba(var(--edu-accent-rgb), 0.75),
      0 0 38px rgba(var(--edu-accent-rgb), 0.4),
      inset 0 0 12px rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.edu-footprint {
  color: rgba(124, 58, 237, 0.9);
    filter:
      drop-shadow(0 0 6px rgba(124, 58, 237, 0.75))
      drop-shadow(0 0 14px rgba(124, 58, 237, 0.4));
}

.edu-path {
  stroke: rgba(124, 58, 237, 0.95);
    opacity: 1;
}

.edu-path-svg {
  filter:
      drop-shadow(0 0 5px rgba(124, 58, 237, 0.8))
      drop-shadow(0 0 12px rgba(124, 58, 237, 0.45));
}

.edu-node {
  --edu-accent-dark: #065f46;
}

.edu-node:nth-child(3n + 2) {
  --edu-accent-dark: #0e7490;
}

.edu-node:nth-child(3n + 3) {
  --edu-accent-dark: #9d174d;
}

.edu-card {
  border: 2px solid transparent;
    background:
      linear-gradient(#161b22, #161b22) padding-box,
      linear-gradient(
          180deg,
          var(--edu-accent-dark) 0%,
          var(--edu-accent) 50%,

          rgba(var(--edu-accent-rgb), 0) 100%
        )
        border-box;
}

.edu-node-dot {
  width: 10px;
    height: 10px;
    background: var(--edu-accent);
    border: none;
    box-shadow:
      0 0 0 4px #0d1117,
      0 0 0 6px var(--edu-accent-text),
      0 0 14px rgba(var(--edu-accent-rgb), 0.65);
}

.edu-node--current .edu-node-dot {
  width: 13px;
    height: 13px;
    background: var(--edu-accent);
    border: none;
}

@keyframes edu-current-pulse {
  0%,
100% {
    box-shadow:
      0 0 0 4px #0d1117,
      0 0 0 6px var(--edu-accent-text),
      0 0 0 9px rgba(var(--edu-accent-rgb), 0.45),
      0 0 16px rgba(var(--edu-accent-rgb), 0.7);
  }
  50% {
    box-shadow:
      0 0 0 4px #0d1117,
      0 0 0 6px var(--edu-accent-text),
      0 0 0 18px rgba(var(--edu-accent-rgb), 0),
      0 0 24px rgba(var(--edu-accent-rgb), 0.25);
  }
}

.edu-card {
  overflow: visible;
}

.edu-card::before {
  top: -2px;
    left: -2px;
    right: -2px;
    width: auto;

    border-radius: 10px 10px 0 0;
}

.edu-footprint {
  color: #7c3aed;
    filter:
      drop-shadow(0 0 4px rgba(124, 58, 237, 0.95))
      drop-shadow(0 0 10px rgba(124, 58, 237, 0.8))
      drop-shadow(0 0 22px rgba(124, 58, 237, 0.5));
}

.edu-footprint--visible {
  animation: footprint-shimmer 2.6s ease-in-out infinite;
}

@keyframes footprint-shimmer {
  0%,
100% {
    filter:
      drop-shadow(0 0 4px rgba(124, 58, 237, 0.95))
      drop-shadow(0 0 10px rgba(124, 58, 237, 0.8))
      drop-shadow(0 0 22px rgba(124, 58, 237, 0.5));
  }
  50% {
    filter:
      drop-shadow(0 0 6px rgba(139, 92, 246, 1))
      drop-shadow(0 0 16px rgba(124, 58, 237, 0.9))
      drop-shadow(0 0 34px rgba(124, 58, 237, 0.65));
  }
}

.edu-card::before {
  display: none;
}

.edu-card {
  background:
      linear-gradient(var(--edu-accent), var(--edu-accent)) border-box,
      linear-gradient(#161b22, #161b22) padding-box,
      linear-gradient(
          180deg,
          var(--edu-accent-dark) 0%,
          var(--edu-accent) 50%,
          rgba(var(--edu-accent-rgb), 0) 100%
        )
        border-box;
    background-size:
      100% 6px,
      auto,
      auto;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position:
      0 0,
      0 0,
      0 0;
}

.edu-footprint {
  color: rgba(124, 58, 237, 0.95);
    filter:
      drop-shadow(0 0 5px rgba(124, 58, 237, 0.8))
      drop-shadow(0 0 12px rgba(124, 58, 237, 0.45));
}

.edu-footprint--visible {
  animation: footprint-shimmer 2.6s ease-in-out infinite;
}

@keyframes footprint-shimmer {
  0%,
  100% {
    filter:
      drop-shadow(0 0 5px rgba(124, 58, 237, 0.8))
      drop-shadow(0 0 12px rgba(124, 58, 237, 0.45));
  }
  50% {
    filter:
      drop-shadow(0 0 9px rgba(139, 92, 246, 1))
      drop-shadow(0 0 22px rgba(124, 58, 237, 0.7));
  }
}

.edu-card-badge {
  background: rgba(var(--edu-accent-rgb), 0.16);
    border: 1px solid rgba(var(--edu-accent-rgb), 0.5);
    color: #ffffff;
    box-shadow: none;
}

.edu-card-badge:hover {
  background: rgba(var(--edu-accent-rgb), 0.24);
    border-color: var(--edu-accent);
    box-shadow: none;
    transform: none;
}

.edu-node {
  --edu-badge-bg: #153431;
}

.edu-node:nth-child(3n + 2) {
  --edu-badge-bg: #13343e;
}

.edu-node:nth-child(3n + 3) {
  --edu-badge-bg: #382235;
}

.edu-card-badge {
  border: 1px solid transparent;
    background:
      linear-gradient(var(--edu-badge-bg), var(--edu-badge-bg)) padding-box,
      linear-gradient(
          180deg,
          var(--edu-accent-dark) 0%,
          var(--edu-accent) 50%,
          var(--edu-accent-text) 100%
        )
        border-box;
    box-shadow: none;
}

.edu-card-badge:hover {
  background:
      linear-gradient(var(--edu-badge-bg), var(--edu-badge-bg)) padding-box,
      linear-gradient(
          180deg,
          var(--edu-accent) 0%,
          var(--edu-accent-text) 50%,
          var(--edu-accent-text) 100%
        )
        border-box;
    box-shadow: none;
    transform: none;
}

.edu-origin-node {
  position: relative;
    display: flex;

    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.edu-node-dot--origin {
  display: block;
    position: static;
    transform: none;
}

.edu-origin-row::before,
.edu-origin-row::after {
  content: "";
    height: 2px;
    flex: 1 1 0;
    max-width: 240px;
    border-radius: 999px;
}

.edu-origin-row::before {
  background: linear-gradient(
      90deg,
      rgba(124, 58, 237, 0) 0%,
      rgba(124, 58, 237, 0.45) 45%,
      #a78bfa 100%
    );
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.edu-origin-row::after {
  background: linear-gradient(
      90deg,
      #a78bfa 0%,
      rgba(124, 58, 237, 0.45) 55%,
      rgba(124, 58, 237, 0) 100%
    );
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.edu-origin-text {
  display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    white-space: nowrap;
}

.edu-origin-text::before,
.edu-origin-text::after {
  content: "";
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow:
      0 0 0 3px rgba(124, 58, 237, 0.22),
      0 0 12px rgba(124, 58, 237, 0.8);
}

.edu-origin-row {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.edu-origin-row::before {
  background: linear-gradient(
      90deg,
      rgba(var(--edu-accent-rgb), 0) 0%,
      rgba(var(--edu-accent-rgb), 0.45) 45%,
      var(--edu-accent-text) 100%
    );
    box-shadow: 0 0 10px rgba(var(--edu-accent-rgb), 0.4);
}

.edu-origin-row::after {
  background: linear-gradient(
      90deg,
      var(--edu-accent-text) 0%,
      rgba(var(--edu-accent-rgb), 0.45) 55%,
      rgba(var(--edu-accent-rgb), 0) 100%
    );
    box-shadow: 0 0 10px rgba(var(--edu-accent-rgb), 0.4);
}

.edu-origin-text::before,
.edu-origin-text::after {
  background: var(--edu-accent-text);
    box-shadow:
      0 0 0 3px rgba(var(--edu-accent-rgb), 0.22),
      0 0 12px rgba(var(--edu-accent-rgb), 0.8);
}

.edu-origin-text {
  color: #ffffff;
}

.edu-footprints {
  --foot-dir: 1;
}

.edu-footprint {
  translate: -50% calc(-50% - 10px * var(--foot-dir, 1));

    transition:
      opacity 0.35s ease,
      scale 0.35s ease,
      translate 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      rotate 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);

    transition-delay: 0ms;
}

.edu-footprint--visible {
  translate: -50% -50%;

    transition-delay: var(--foot-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .edu-node--current .edu-node-dot {
    animation: none;
    box-shadow:
          0 0 0 5px rgba(168, 230, 207, 0.55),
          0 0 12px 3px rgba(168, 230, 207, 0.4);
  }
}

@media (max-width: 900px) {
  .edu-path-svg {
    left: -2rem;
  }

  .edu-footprints {
    left: -2rem;
  }

  .edu-node,
  .edu-node--left,
  .edu-node--right {
    justify-content: flex-start;
  }

  .edu-node-dot {
    left: -2rem;
  }

  .edu-card {
    width: 100%;
  }

  .edu-origin-node {
    justify-content: flex-start;
    padding-left: 0.5rem;
  }
}

@media (max-width: 768px) {
  .education-title {
    font-size: 1.1rem;
  }

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

  .education-location {
    font-size: 0.85rem;
  }

  .edu-card {
    padding: 1.25rem;
  }

  .edu-card-header {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-node--current .edu-node-dot {
    animation: none;
    box-shadow:
          0 0 0 4px #0d1117,
          0 0 0 6px var(--edu-accent-text),
          0 0 0 9px rgba(var(--edu-accent-rgb), 0.4),
          0 0 16px rgba(var(--edu-accent-rgb), 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-footprint--visible {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-footprint--visible {
    animation: none;
  }
}

@media (max-width: 768px) {
  .edu-origin-node {
    gap: 10px;
  }

  .edu-origin-row::before,
  .edu-origin-row::after {
    max-width: 70px;
  }

  .edu-origin-text {
    gap: 10px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-footprint,
  .edu-footprint--visible {
    translate: -50% -50%;
    transition:
          opacity 0.2s ease,
          scale 0.2s ease;
    transition-delay: 0ms;
  }
}

.project-stack-tag {
  display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--pill-border, rgba(255, 255, 255, 0.16));
    background: var(--pill-bg, rgba(255, 255, 255, 0.06));
    color: var(--pill-fg, #e5e7eb);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    cursor: default;
    position: relative;
    box-shadow: none;
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease;
}

.project-stack-tag:hover {
  transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: var(--pill-bg-hover, var(--pill-bg));
}

#projects {
  margin-bottom: 8rem;
}

.projects-container-compact {
  width: 100%;
}

.projects-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 380px));
    justify-content: center;
    gap: 3rem 2.5rem;
    max-width: 1260px;
    margin: 0 auto;
    padding: 1.5rem 1rem 1rem;
}

.projects-viewall-wrapper {
  display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.projects-viewall-wrapper[hidden] {
  display: none;
}

.projects-page-container {
  max-width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.projects-page-back {
  display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease;
}

.projects-page-back:hover {
  transform: translateX(-4px);
}

.projects-page-title {
  font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.projects-table-wrapper {
  overflow-x: auto;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow-lg);
}

.projects-table {
  width: 100%;
    border-collapse: collapse;
}

.projects-table th {
  text-align: left;
    padding: 0.9rem 1.1rem;
    background: var(--cyan);
    border-bottom: var(--border-width) solid var(--border);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.projects-table-desc {
  min-width: 260px;
    max-width: 420px;
    line-height: 1.55;
    white-space: normal;
}

.projects-table td {
  padding: 1.1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    vertical-align: middle;
}

.projects-table tr:last-child td {
  border-bottom: none;
}

.projects-table tr:hover td {
  background: rgba(102, 217, 239, 0.15);
}

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

.projects-table-link {
  display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.projects-table-link:hover {
  border-color: var(--border);
}

.projects-table-link i {
  font-size: 0.75rem;
}

.projects-table-link-empty {
  opacity: 0.4;
}

.project-card,
.projects-table-wrapper {
  background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.projects-page-title {
  color: var(--text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.projects-table th {
  background: var(--surface-2);
    color: var(--text-strong);
    border-bottom: 1px solid var(--border);
}

.projects-table td {
  border-bottom: 1px solid var(--border);
    color: var(--text);
}

.projects-page-back {
  color: var(--text-muted);
}

.projects-page-back:hover {
  color: var(--text-strong);
}

.projects-table-link {
  color: var(--blue);
}

.projects-table-link-empty {
  color: var(--text-muted);
}

.projects-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.project-card {
  position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
}

.project-card:hover {
  border-color: rgba(124, 58, 237, 0.45);
    box-shadow:
      var(--shadow-lg),
      0 0 28px rgba(124, 58, 237, 0.22);
}

.project-card-desc {
  color: var(--text-muted);
}

.project-card-name {
  color: var(--text-strong);
}

.project-card-field {
  color: var(--blue);
}

.projects-page-title {
  background: linear-gradient(
      100deg,
      #ffffff 0%,
      #ffffff 25%,
      #8b5cf6 70%,
      #3b82f6 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    background-size: 100% 100%;
    width: fit-content;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .projects-page-container {
    padding: 2rem 1.25rem 3rem;
  }

  .projects-page-title {
    font-size: 1.75rem;
  }

  .projects-table th,
  .projects-table td {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
}

.project-card {
  --proj-accent: #7c3aed;
  --proj-accent-rgb: 124, 58, 237;

  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.55), rgba(13, 17, 23, 0.95)) padding-box,
    linear-gradient(
        140deg,
        rgba(var(--proj-accent-rgb), 0.35) 0%,
        var(--proj-accent) 30%,
        rgba(var(--proj-accent-rgb), 0.3) 62%,
        var(--proj-accent) 100%
      )
      border-box;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.5);
}

.project-card:nth-child(4n + 2) {
  --proj-accent: #3b82f6;
  --proj-accent-rgb: 59, 130, 246;
}

.project-card:nth-child(4n + 3) {
  --proj-accent: #ec4899;
  --proj-accent-rgb: 236, 72, 153;
}

.project-card:nth-child(4n + 4) {
  --proj-accent: #06b6d4;
  --proj-accent-rgb: 6, 182, 212;
}

.project-card-image {
  position: relative;
  align-self: center;
  width: 100%;
  padding-left: 0.9rem;
  overflow: hidden;
  background: rgba(var(--proj-accent-rgb), 0.08);
  border-right: 1px solid rgba(var(--proj-accent-rgb), 0.28);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-image-placeholder {
  width: 100%;
  aspect-ratio: 1200 / 648;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(var(--proj-accent-rgb), 0.5);
}

.project-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.6rem;
}

.project-card-name {
  position: relative;
  padding-bottom: 0.7rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
}

.project-card-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: var(--proj-accent);
  box-shadow: 0 0 10px rgba(var(--proj-accent-rgb), 0.5);
}

.project-card-field {
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(var(--proj-accent-rgb), 0.5);
  border-radius: 6px;
  background: rgba(var(--proj-accent-rgb), 0.14);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.project-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-muted);
}

.project-points {
  margin: 0 0 0.5rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.project-points li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.project-points li:last-child {
  margin-bottom: 0;
}

.project-points li::marker {
  color: var(--proj-accent);
}

.project-card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(var(--proj-accent-rgb), 0.2);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.project-link i {
  font-size: 0.95rem;
}

.project-link--github {
  background: #6e5494;
}

.project-link--github:hover {
  background: #58427a;
  box-shadow: 0 0 14px rgba(110, 84, 148, 0.55);
  color: #ffffff;
}

.project-link--live {
  background: #047857;
}

.project-link--live:hover {
  background: #065f46;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

.project-link--drive {
  background: #b45309;
}

.project-link--drive:hover {
  background: #92400e;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
  color: #ffffff;
}

.projects-table-points {
  margin: 0;
  padding-left: 1.1rem;
}

.projects-table-points li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.projects-table-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.projects-table-links .project-link {
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
}

@media (max-width: 820px) {
  .project-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card-image {
    min-height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(var(--proj-accent-rgb), 0.28);
  }
}

.project-gallery {
  --shot-ratio: 1200 / 648;

  position: relative;
  width: 100%;
  aspect-ratio: var(--shot-ratio);
  overflow: hidden;
  background: rgba(13, 17, 23, 0.55);
}

.project-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.project-shot.is-active {
  opacity: 1;
  visibility: visible;
}

.project-card-image img.project-shot {
  object-fit: contain;
}

@media (min-width: 821px) {
  .project-card-image {
    align-self: stretch;
    display: flex;
    padding: 0 0.9rem;
    background: transparent;
  }

  .project-card-image .project-gallery {
    background: transparent;
  }

  .project-card-image .project-gallery,
  .project-card-image .project-card-image-placeholder {
    flex: 1;
    aspect-ratio: auto;
    min-height: 240px;
  }
}

.project-shot-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.72);
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    background 0.25s ease;
}

.project-card-image:hover .project-shot-nav,
.project-shot-nav:focus-visible {
  opacity: 1;
}

.project-shot-nav:hover {
  background: var(--proj-accent);
}

.project-shot-nav--prev {
  left: 10px;
}

.project-shot-nav--next {
  right: 10px;
}

.project-shot-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.project-shot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.25s ease;
}

.project-shot-dot.is-active {
  background: var(--proj-accent);
  box-shadow: 0 0 8px rgba(var(--proj-accent-rgb), 0.7);
}

@media (max-width: 820px) {
  .project-shot-nav {
    opacity: 1;
  }
}

.project-gallery.is-zoomable {
  cursor: zoom-in;
}

.project-gallery.is-zoomable:focus-visible {
  outline: 2px solid var(--proj-accent);
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 5vw;
  background: rgba(5, 7, 13, 0.92);
  backdrop-filter: blur(6px);
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox-img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border: 2px solid rgba(124, 58, 237, 0.5);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.project-lightbox-close,
.project-lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.85);
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.project-lightbox-close:hover,
.project-lightbox-nav:hover {
  background: #7c3aed;
}

.project-lightbox-close {
  top: 3vh;
  right: 3vw;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.project-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
}

.project-lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.project-lightbox-nav--prev {
  left: 2vw;
}

.project-lightbox-nav--next {
  right: 2vw;
}

.project-lightbox-nav[hidden] {
  display: none;
}

.project-lightbox-counter {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.85);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.project-lightbox-counter[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .project-lightbox {
    padding: 2vh 3vw;
  }

  .project-lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

.project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-card-icons {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.project-link--icon {
  flex-shrink: 0;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  gap: 0;
  border-radius: 10px;
  line-height: 1;
}

.project-link--icon i {
  font-size: 1.1rem;
  line-height: 1;
}

.profile-card {
  width: 250px;
    height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(
      145deg,
      rgba(30, 41, 59, 0.55),
      rgba(13, 17, 23, 0.95)
    );

    border: 1px solid var(--accent);
    border-radius: 18px;
    overflow: hidden;
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
}

.profile-icon {
  width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 42px;
    border: 2px solid var(--accent);
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.06),
      rgba(13, 17, 23, 0.8)
    );
    box-shadow: 0 0 15px var(--glow);
    transition: all 0.35s ease;
}

.profile-icon img[src*="simple-icons"] {
  filter: brightness(0) invert(1);
}

.profile-icon img {
  object-fit: contain;
}

.profile-card h3 {
  margin-top: 25px;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
}

.card-line {
  width: 150px;
    height: 3px;
    border-radius: 20px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    position: relative;
}

.card-line::after {
  content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
    box-shadow: 0 0 8px var(--accent);
}

.profile-card:hover {
  transform: translateY(-10px) scale(0.3);
    border-color: var(--accent);
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.5),
      0 0 30px var(--glow);
}

.profile-card:hover .profile-icon {
  transform: scale(0.5);
    box-shadow:
      0 0 25px var(--accent),
      inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.profile-card.github {
  --accent: #3b82f6;
    --glow: rgba(59, 130, 246, 0.3);
}

.profile-card.leetcode {
  --accent: #a855f7;
    --glow: rgba(168, 85, 247, 0.3);
}

.profile-card.geeks {
  --accent: #06b6d4;
    --glow: rgba(6, 182, 212, 0.3);
}

.profile-card.code360 {
  --accent: #f59e0b;
    --glow: rgba(245, 158, 11, 0.3);
}

.profile-card {
  overflow: visible;
}

.profile-icon,
.profile-card h3,
.card-line {
  position: relative;
    z-index: 2;
}

.profile-card {
  width: 220px;
    height: 180px;
    padding: 2rem 1.5rem;
}

.profile-icon {
  width: 64px;
    height: 64px;
    font-size: 28px;
}

.profile-icon img {
  width: 30px;
    height: 30px;
}

.profile-card h3 {
  margin-top: 12px;
    margin-bottom: 12px;
    font-size: 16px;
}

.card-line {
  width: 80px;
    height: 1px;
    box-shadow: 0 0 6px var(--accent);
}

.card-line::after {
  right: -2px;
    width: 4px;
    height: 4px;
    box-shadow: 0 0 5px var(--accent);
}

.profile-card:hover {
  transform: none;
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.5),
      0 0 14px var(--glow),
      0 0 20px var(--glow),
      0 0 30px var(--glow);
}

.profile-card:hover .profile-icon {
  transform: none;
    box-shadow:
      0 0 12px var(--accent),
      inset 0 0 15px rgba(255, 255, 255, 0.05);
}

@media (max-width: 800px) {
  .profile-card {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 550px) {
  .profile-card {
    width: 280px;
  }
}

@media (max-width: 800px) {
  .profile-card {
    width: 100%;
    max-width: 220px;
  }
}

@media (max-width: 550px) {
  .profile-card {
    width: 220px;
  }
}

#contact {
  margin-bottom: 0;
}

.contact-container-compact {
  max-width: 900px;
    margin: 0 auto;
}

.contact-intro {
  font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;

    color: #5f5f5f;
    opacity: 1;
}

.contact-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
    gap: 24px;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-card {
  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    min-height: 180px;
    background: var(--white);
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--text);
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    transform-origin: center center;
}

.contact-card::before {
  content: "";
    position: absolute;
    top: -12px;
    right: 5px;
    width: 70px;
    height: 30px;
    background: rgba(255, 217, 61, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    pointer-events: none;
    transform: rotate(15deg);
    transition: transform 0.3s ease;
}

.contact-card:nth-child(1)::before {
  transform: rotate(15deg);
}

.contact-card:nth-child(2)::before {
  transform: rotate(15deg);
}

.contact-card:nth-child(1):hover::before {
  transform: rotate(17deg) translateY(10px);
}

.contact-card:nth-child(2):hover::before {
  transform: rotate(14deg) translateY(10px);
}

.contact-card::after {
  content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.contact-card:nth-child(1):hover::after {
  transform: rotate(2deg) translateY(10px);
}

.contact-card:nth-child(2):hover::after {
  transform: rotate(-1deg) translateY(10px);
}

.contact-card:nth-child(1) {
  background: var(--surface);
    transform: none;
}

.contact-card:nth-child(2) {
  background: var(--surface);
    transform: none;
}

.contact-card:hover {
  transform: rotate(0deg) translateY(-10px);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.contact-card i {
  font-size: 2.5rem;
    color: var(--text);
    margin-top: 1rem;
}

.contact-card:hover i {
  color: var(--text);
    transform: rotate(-5deg);
}

.contact-card span {
  font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

.contact-card {
  background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.contact-intro {
  color: var(--text-muted);
    opacity: 1;
}

.contact-card {
  position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow:
      var(--shadow-lg),
      0 0 28px rgba(124, 58, 237, 0.22);
}

.contact-card span {
  color: var(--text-strong);
}

.contact-card i {
  color: var(--purple);
}

.contact-card:hover i {
  color: var(--blue);
}

.contact-card.linkedin {
  border-color: rgba(124, 58, 237, 0.6);
    box-shadow:
      0 15px 35px rgba(0, 0, 0, 0.45),
      0 0 30px rgba(124, 58, 237, 0.18);
}

.contact-card.linkedin i {
  color: #a78bfa;
}

.contact-card.linkedin:hover {
  border-color: #7c3aed;
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(124, 58, 237, 0.35);
}

.contact-card.gmail {
  border-color: rgba(59, 130, 246, 0.6);
    box-shadow:
      0 15px 35px rgba(0, 0, 0, 0.45),
      0 0 30px rgba(59, 130, 246, 0.18);
}

.contact-card.gmail i {
  color: #60a5fa;
}

.contact-card.gmail:hover {
  border-color: #3b82f6;
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(59, 130, 246, 0.35);
}

.contact-card.linkedin {
  --accent: #7c3aed;
    --glow: rgba(124, 58, 237, 0.3);
}

.contact-card.gmail {
  --accent: #3b82f6;
    --glow: rgba(59, 130, 246, 0.3);
}

.contact-card {
  width: 220px;
    height: 180px;
    min-height: 0;
    padding: 2rem 1.5rem;
    gap: 0;
    background: linear-gradient(
      145deg,
      rgba(30, 41, 59, 0.55),
      rgba(13, 17, 23, 0.95)
    );
    border: 1px solid var(--accent);
    border-radius: 18px;
    overflow: visible;
    box-shadow:
      0 15px 35px rgba(0, 0, 0, 0.45),
      0 0 18px var(--glow);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
}

.contact-card::before,
.contact-card::after {
  content: none;
}

.contact-card i,
.contact-card.linkedin i,
.contact-card.gmail i {
  width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 28px;
    color: #ffffff;
    border: 2px solid var(--accent);
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.06),
      rgba(13, 17, 23, 0.8)
    );
    box-shadow: 0 0 15px var(--glow);
    transition: all 0.35s ease;
    position: relative;
    z-index: 2;
}

.contact-card span {
  margin: 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    position: relative;
    z-index: 2;
}

.contact-card:hover,
.contact-card.linkedin:hover,
.contact-card.gmail:hover {
  transform: none;
    border-color: var(--accent);
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.5),
      0 0 18px var(--glow);
}

.contact-card:hover i {
  transform: none;
    color: #ffffff;
    box-shadow:
      0 0 12px var(--accent),
      inset 0 0 15px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .contact-intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
    min-height: 160px;
  }

  .contact-card::before {
    width: 55px;
    height: 24px;
    top: -10px;
    right: 5px;
  }

  .contact-card::after {
    width: 40px;
    right: 5px;
    top: 3px;
  }

  .contact-card:nth-child(1):hover::before {
    transform: rotate(17deg) translateY(10px);
  }

  .contact-card:nth-child(2):hover::before {
    transform: rotate(14deg) translateY(10px);
  }

  .contact-card:nth-child(1):hover::after {
    transform: rotate(2deg) translateY(10px);
  }

  .contact-card:nth-child(2):hover::after {
    transform: rotate(-1deg) translateY(10px);
  }

  .contact-card i {
    font-size: 2rem;
  }

  .contact-card span {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .contact-card {
    width: 100%;
  }
}

.footer-brand-compact strong {
  font-family: var(--font-display);
}

.footer {
  margin-top: 3rem;
    padding: 2rem 2rem 1.5rem;
    background: var(--white);
    border-top: var(--border-width) solid var(--border);
    transition: all 0.3s ease;
}

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

.footer-main {
  display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: var(--border-width) solid var(--border);
}

.footer-brand-compact {
  display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-brand-compact strong {
  font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand-compact span {
  font-size: 0.875rem;
    opacity: 0.7;
}

.footer-bottom-compact {
  display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-compact span {
  font-family: var(--font-display);
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-brand-compact span {
  color: var(--text-muted);
    opacity: 1;
}

.footer {
  background: transparent;
    border-top: 1px solid var(--border);
}

.footer-bottom-compact span {
  color: var(--text-muted);
}

.footer-brand-compact strong {
  background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem 1rem;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-bottom-compact {
    flex-direction: column;
    text-align: center;
    padding-top: 1rem;
  }
}

#achievements {
  margin-bottom: 8rem;
}

.achievements-container {
  width: 100%;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  justify-content: center;
  gap: 1.25rem 1rem;
  max-width: 1204px;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
}

.achievement-card {
  --ach-accent: #7c3aed;
  --ach-accent-rgb: 124, 58, 237;

  --cert-ratio: 1600 / 1131;

  aspect-ratio: var(--cert-ratio);
  perspective: 1400px;
  cursor: pointer;
  outline: none;
}

.achievement-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.achievement-card:hover .achievement-inner,
.achievement-card:focus-visible .achievement-inner,
.achievement-card.is-flipped .achievement-inner {
  transform: rotateY(180deg);
}

.achievement-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 3px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.55), rgba(13, 17, 23, 0.95)) padding-box,
    linear-gradient(
        140deg,
        rgba(var(--ach-accent-rgb), 0.35) 0%,
        var(--ach-accent) 30%,
        rgba(var(--ach-accent-rgb), 0.3) 62%,
        var(--ach-accent) 100%
      )
      border-box;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.achievement-back {
  transform: rotateY(180deg);
}

.achievement-card:focus-visible .achievement-face {
  box-shadow:
    0 0 0 3px rgba(var(--ach-accent-rgb), 0.6),
    0 14px 34px rgba(0, 0, 0, 0.45);
}

.achievement-media {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.4rem;
  overflow: hidden;
  background: rgba(var(--ach-accent-rgb), 0.08);
}

.achievement-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.achievement-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: rgba(var(--ach-accent-rgb), 0.55);
}

.achievement-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.05rem 1.1rem;
  height: 100%;
  overflow-y: auto;
}

.achievement-type {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  background: var(--type-bg, #7c3aed);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
}

.achievement-card--achievement {
  --type-bg: #db2777;
}

.achievement-card--certification {
  --type-bg: #2563eb;
}

.achievement-card--license {
  --type-bg: #047857;
}

.achievement-title {
  position: relative;
  padding-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-strong);
}

.achievement-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: var(--ach-accent);
  box-shadow: 0 0 10px rgba(var(--ach-accent-rgb), 0.5);
}

.achievement-issuer {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ach-accent);
}

.achievement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.achievement-meta i {
  margin-right: 0.3rem;
  font-size: 0.75rem;
}

.achievement-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  background: var(--ach-accent);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  transition:
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.achievement-link:hover {
  filter: brightness(0.85);
  box-shadow: 0 0 14px rgba(var(--ach-accent-rgb), 0.5);
  color: #ffffff;
}

.achievement-link i {
  font-size: 0.7rem;
}

.achievements-viewall-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.achievements-viewall-wrapper[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .achievement-inner {
    transition: none;
  }
}

.achievement-zoom {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(13, 17, 23, 0.82);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    background 0.25s ease;
}

.achievement-card:hover .achievement-zoom,
.achievement-zoom:focus-visible {
  opacity: 1;
}

.achievement-zoom:hover {
  background: var(--ach-accent);
}

.achievement-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.achievement-view {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.achievement-view:hover {
  background: var(--ach-accent);
  filter: none;
}

@media (max-width: 768px) {
  .achievement-zoom {
    opacity: 1;
  }
}

#blogs {
  margin-bottom: 8rem;
}

.blogs-container {
  width: 100%;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  justify-content: center;
  gap: 1.25rem 1rem;
  max-width: 1204px;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
}

.blog-card {
  --blog-accent: #7c3aed;
  --blog-accent-rgb: 124, 58, 237;
  --blog-ratio: 3 / 2;

  aspect-ratio: var(--blog-ratio);
  perspective: 1600px;
  cursor: pointer;
  outline: none;
}

.blog-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.blog-card:hover .blog-inner,
.blog-card:focus-visible .blog-inner,
.blog-card.is-flipped .blog-inner {
  transform: rotateY(180deg);
}

.blog-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 3px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.55), rgba(13, 17, 23, 0.95)) padding-box,
    linear-gradient(
        140deg,
        rgba(var(--blog-accent-rgb), 0.35) 0%,
        var(--blog-accent) 30%,
        rgba(var(--blog-accent-rgb), 0.3) 62%,
        var(--blog-accent) 100%
      )
      border-box;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.blog-back {
  transform: rotateY(180deg);
}

.blog-card:focus-visible .blog-face {
  box-shadow:
    0 0 0 3px rgba(var(--blog-accent-rgb), 0.6),
    0 14px 34px rgba(0, 0, 0, 0.45);
}

.blog-card--medium {
  --blog-accent: #06b6d4;
  --blog-accent-rgb: 6, 182, 212;
}

.blog-card--geeksforgeeks {
  --blog-accent: #10b981;
  --blog-accent-rgb: 16, 185, 129;
}

.blog-card--hashnode {
  --blog-accent: #3b82f6;
  --blog-accent-rgb: 59, 130, 246;
}

.blog-card--devto {
  --blog-accent: #a855f7;
  --blog-accent-rgb: 168, 85, 247;
}

.blog-card--linkedin {
  --blog-accent: #2563eb;
  --blog-accent-rgb: 37, 99, 235;
}

.blog-media {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.4rem;
  overflow: hidden;
  background: rgba(var(--blog-accent-rgb), 0.08);
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.blog-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: rgba(var(--blog-accent-rgb), 0.55);
}

.blog-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.2rem 1.2rem;
  height: 100%;
  overflow-y: auto;
}

.blog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.blog-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  background: rgba(var(--blog-accent-rgb), 0.16);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-meta i {
  margin-right: 0.3rem;
  font-size: 0.72rem;
}

.blog-title {
  position: relative;
  padding-bottom: 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
}

.blog-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--blog-accent);
  box-shadow: 0 0 10px rgba(var(--blog-accent-rgb), 0.5);
}

.blog-excerpt {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-tag {
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(var(--blog-accent-rgb), 0.4);
  border-radius: 999px;
  background: rgba(var(--blog-accent-rgb), 0.12);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: fit-content;
  margin: auto auto 0;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  background: var(--blog-accent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  transition:
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-link:hover {
  filter: brightness(0.85);
  box-shadow: 0 0 14px rgba(var(--blog-accent-rgb), 0.5);
  color: #ffffff;
}

.blog-link i {
  font-size: 0.62rem;
}

.blogs-viewall-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.blogs-viewall-wrapper[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .blogs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-inner {
    transition: none;
  }
}
