@import "tailwindcss";

:root {
  --bg: #000000;
  --bg2: #000000;
  --card: #03071d;
  --border: rgba(99, 179, 237, 0.12);
  --blue: #63b3ed;
  --purple: #b794f4;
  --green: #68d391;
  --orange: #f6ad55;
  --pink: #fc8181;
  --text: #ccd6f6;
  --muted: #8892b0;
  --white: #e6f1ff;
  --grey: #A1A1AA;
  --glow-blue: rgba(99, 179, 237, 0.15);
  --glow-purple: rgba(183, 148, 244, 0.12);
  --paper: #f5f0e8;
  --border: rgba(245, 240, 232, 0.1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ========== NAVBAR ========== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  transition: all .4s
}

#nav.solid {
  background: rgba(7, 6, 10, .85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border)
}

.logo {
  font-family: 'Fira Code', monospace;
  font-size: 1.4rem;
  letter-spacing: .05em;
  color: var(--paper)
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none
}

.nav-links a {
  font-size: .78rem;
  color: rgba(245, 240, 232, .5);
  text-decoration: none;
  letter-spacing: .1em;
  transition: color .2s;
  cursor: none;
  position: relative
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width .3s
}

.nav-links a:hover,
.nav-links a.act {
  color: var(--paper)
}

.nav-links a:hover::after,
.nav-links a.act::after {
  width: 100%
}

/* ========== BLUR BLOBS ========== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.blob-blue {
  background: rgba(99, 179, 237, 0.08);
  width: 600px;
  height: 600px;
}

.blob-purple {
  background: rgba(183, 148, 244, 0.07);
  width: 500px;
  height: 500px;
}

/* ── PROJECTS ── */
#projects {
  padding: 8rem 3rem;
  background: #0a0910
}

.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem
}

.sec-tag {
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem
}

.sec-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold)
}

.sec-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1
}

.proj-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px
}

/* mobile */
@media (max-width: 768px) {
  .proj-grid {
    display: unset;
  }
}


.pcard {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: none
}

.pcard:first-child {
  grid-row: span 2
}

.pcard-inner {
  width: 100%;
  height: 100%;
  min-height: 300px;
  position: relative;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1)
}

.pcard:first-child .pcard-inner {
  min-height: 620px
}

.pcard:hover .pcard-inner {
  transform: scale(1.03)
}

.pcard-bg {
  position: absolute;
  inset: 0;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1)
}

.pcard:hover .pcard-bg {
  transform: scale(1.08)
}

.p-bg1 {
  background: linear-gradient(135deg, #1a0a3d, #4c1d95, #7c3aed 80%, #c9a84c)
}

.p-bg2 {
  background: linear-gradient(135deg, #0a1a0a, #14532d, #4ade80 90%)
}

.p-bg3 {
  background: linear-gradient(135deg, #1c0014, #831843, #e879a0 80%)
}

.pcard-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(7, 6, 10, .9) 0%, rgba(7, 6, 10, .2) 50%, transparent)
}

.p-num {
  font-size: .65rem;
  letter-spacing: .2em;
  color: rgba(245, 240, 232, .35);
  margin-bottom: .5rem
}

.p-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: .4rem;
  line-height: 1.2
}

.pcard:not(:first-child) .p-name {
  font-size: 1.2rem
}

.p-cat {
  font-size: .72rem;
  color: rgba(245, 240, 232, .45);
  margin-bottom: 1rem
}

.p-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap
}

.p-tag {
  font-size: .62rem;
  padding: .25rem .7rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 168, 76, .25);
  color: var(--gold);
  background: rgba(201, 168, 76, .07)
}

.pcard-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 240, 232, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(245, 240, 232, .4);
  transition: all .3s;
  transform: rotate(0deg)
}

.pcard:hover .pcard-arrow {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(45deg)
}


/* ========== HERO ========== */
#home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
  gap: 40px;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-greeting {
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.hero-name {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-name span {
  color: var(--blue);
}

.hero-role {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-role .typed-text {
  color: var(--purple);
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.btn-fill {
  padding: 14px 28px;
  background: var(--blue);
  color: #04071d;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 24px rgba(99, 179, 237, 0.3);
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 179, 237, 0.5);
}

.btn-outline {
  padding: 14px 28px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(99, 179, 237, 0.1);
  transform: translateY(-2px);
}

/* Code card */
.hero-right {
  position: relative;
  z-index: 2;
}

.code-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 2;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 179, 237, 0.06);
}

.code-card .dot-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.code-card .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-r {
  background: #ff5f56;
}

.dot-y {
  background: #ffbd2e;
}

.dot-g {
  background: #27c93f;
}

.kw {
  color: var(--purple);
}

.fn {
  color: var(--blue);
}

.str {
  color: var(--orange);
}

.prop {
  color: var(--pink);
}

.bool {
  color: var(--purple);
}

.num {
  color: var(--green);
}

.cm {
  color: var(--muted);
  font-style: italic;
}

.br {
  color: #fff;
}

/* ========== SECTION BASE ========== */
section {
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.sec-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.sec-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 2px;
  margin-bottom: 56px;
}

/* ========== ABOUT ========== */
#about {
  background: var(--bg2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.about-text p span {
  color: var(--blue);
  font-weight: 600;
}

.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img-box {
  width: 300px;
  height: 300px;
  border-radius: 16px;
  border: 2px solid var(--blue);
  box-shadow: 0 0 40px rgba(99, 179, 237, 0.2), inset 0 0 40px rgba(99, 179, 237, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: var(--card);
  position: relative;
  z-index: 2;
}

.about-img-box::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(99, 179, 237, 0.2);
  border-radius: 16px;
  z-index: -1;
}

/* ========== EXPERIENCE ========== */
#experience {
  background: var(--bg);
}

.exp-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.exp-scroll::-webkit-scrollbar {
  height: 4px;
}

.exp-scroll::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 2px;
}

.exp-card {
  min-width: 320px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px 24px;
  transition: all 0.35s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.exp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 179, 237, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.exp-card:hover::before {
  transform: scaleX(1);
}

.exp-date {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--blue);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.exp-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.exp-co {
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 14px;
}

.exp-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.exp-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(99, 179, 237, 0.1);
  border: 1px solid rgba(99, 179, 237, 0.2);
  border-radius: 100px;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== SKILLS ========== */
#skills {
  background: var(--bg2);
}

.skills-outer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.skill-cat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.3s;
}

.skill-cat:hover {
  border-color: rgba(99, 179, 237, 0.3);
  transform: translateY(-4px);
}

.skill-cat-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-cat-title::before {
  content: '//';
  color: var(--muted);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-chip {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--text);
  transition: all 0.25s;
  cursor: default;
}

.skill-chip:hover {
  background: rgba(99, 179, 237, 0.1);
  border-color: var(--blue);
  color: var(--blue);
}

/* ========== PROJECTS ========== */
#projects {
  background: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.proj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 179, 237, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.proj-code {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  background: rgba(4, 7, 29, 0.6);
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.proj-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  align-items: center;
}

.proj-link {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}

.proj-link:hover {
  color: var(--purple);
}

/* ========== CERTIFICATIONS ========== */

/* Magic Wall */
.fake-magicwall {
  background: #181818;
  float: right;
  width: 52vw;
  height: 100vh;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
  row-gap: 0px;
  column-gap: 0px;
  overflow-y: auto;
}

/* Hide scrollbar */
.auto-scroll::-webkit-scrollbar {
  display: none;
}

.auto-scroll {
  scrollbar-width: none;

}

/* Grid items */
.magic-wall_item {
  position: relative;
  opacity: 0.8;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.fake-magicwall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover effect */
.magic-wall_item:hover {
  transform: scale(1.14);
  cursor: pointer;
  opacity: 1;
}

/* Quick View */
.qView {
  color: #4e4a85;
  text-decoration: none;
  font-size: 13px;
}

.qView:hover {
  color: #fff;
  cursor: pointer;
}

/* tablet */
@media (max-width: 1024px) {

  .fake-magicwall {
    width: 60vw;
    grid-template-columns: repeat(2, 1fr);
  }

  .container.project-page .text-zone {
    left: 8vw;
    right: 35vw;
    width: 40vw;
  }

  .container.project-page .text-zone h1 {
    font-size: 50px;
    width: 100%;
  }
}

/* mobile */
@media (max-width: 768px) {

  .page {
    position: relative;
    height: auto;
  }

  .fake-magicwall {
    width: 100%;
    height: 50vh;
    float: none;
    grid-template-columns: repeat(2, 1fr);
  }

  .container.project-page .text-zone {
    position: relative;
    top: auto;
    transform: none;
    left: 0;
    right: 0;
    width: 90%;
    margin: 20px auto;
    display: block;
    text-align: center;
  }

  .container.project-page .text-zone h1 {
    font-size: 35px;
    left: 0;
  }

  .tags {
    left: 20px;
    font-size: 14px;
  }
}

/* small mobile */
@media (max-width: 480px) {

  .fake-magicwall {
    grid-template-columns: 1fr;
    height: 40vh;
  }

  .container.project-page .text-zone h1 {
    font-size: 28px;
  }

  .container.project-page .text-zone p {
    font-size: 13px;
  }

  .magic-wall_item:hover {
    transform: scale(1.05);
    /* reduce zoom for small screens */
  }
}

@media (max-width: 768px) {
  .magic-wall_item:hover {
    transform: none;
  }
}



/* ========== EDUCATION ========== */
#education {
  background: var(--bg);
}

.edu-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 750px;
}

.edu-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 30px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: all 0.3s;
}

.edu-item:hover {
  border-color: rgba(99, 179, 237, 0.3);
  transform: translateX(6px);
}

.edu-year {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--blue);
  min-width: 100px;
  padding-top: 4px;
}

.edu-deg {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.edu-school {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========== CONTACT ========== */
#contact {
  background: var(--bg2);
}

.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

.contact-wrap .sec-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-wrap p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 24px 0 44px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 0.5px solid var(--blue);
  color: var(--white);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 48px;
  transition: all 0.3s;
}

.contact-email:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);

}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s;
  color: var(--text);
  align-items: center;
  padding: 12px;
  width: fit-content;

}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.2s;
  color: var(--text);
}

.social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 179, 237, 0.15);
}

.social-links:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 179, 237, 0.15);
}

/* ========== FOOTER ========== */
footer {
  padding: 15px 60px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

footer span {
  color: var(--blue);
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.in {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.in {
  opacity: 1;
  transform: translateX(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 72px 24px;
  }

  #home {
    grid-template-columns: 1fr;
    padding: 120px 24px 72px;
  }

  .hero-right {
    display: none;
  }

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

  .about-img-wrap {
    display: none;
  }

  .skills-outer {
    grid-template-columns: 1fr 1fr;
  }

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

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .skills-outer {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.marquee-wrap {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
  width: max-content
}

.marquee-track:hover {
  animation-play-state: paused
}

@keyframes scroll {
  to {
    transform: translateX(-50%)
  }
}

.marquee-item {
  font-size: .75rem;
  color: var(--fg3);
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: .6rem
}

.marquee-item::after {
  content: '·';
  color: var(--green)
}

/*cursor*/
#bc {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -60%);
  transition: transform .08s
}

#bc svg {
  width: 52px;
  height: 52px;
  transition: width .2s, height .2s
}

body.hov #bc svg {
  width: 72px;
  height: 72px
}

.wing {
  transform-origin: 50% 80%;
  animation: flap .35s ease-in-out infinite alternate
}

.wing-r {
  transform-origin: 50% 80%;
  animation: flap .35s ease-in-out infinite alternate-reverse
}

@keyframes flap {
  from {
    transform: scaleX(1) rotateY(0deg)
  }

  to {
    transform: scaleX(.25) rotateY(60deg)
  }
}

#bc-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9998
}

.dust {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  animation: dustFade 1.2s ease-out forwards
}

@keyframes dustFade {
  0% {
    opacity: .9;
    transform: translate(-50%, -50%) scale(1)
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -150%) scale(0)
  }
}

/* experience */
#resume {
  background: var(--bg);
}

.resume-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.timeline-section-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.timeline-items {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 6px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  transform: rotate(45deg);
}

.ti-date {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.ti-role {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.ti-company {
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}

.ti-desc {
  font-size: 12px;
  color: #4a6070;
  line-height: 1.7;
}

.resume-section-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.skill-bars {
  margin-bottom: 3rem;
}

.skill-bar-item {
  margin-bottom: 1.2rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 0.4rem;
}

.skill-bar-name {
  color: var(--text);
}

.skill-bar-pct {
  color: var(--muted);
}

.bar-track {
  height: 3px;
  background: var(--border);
}

.bar-fill {
  height: 3px;
  background: var(--cyan);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-fill.animate {
  width: var(--pct);
}

.resume-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.resume-card p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.resume-card .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
}