:root {
  --header-offset: 92px;
  --container-w: 1180px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --space-1: 0.5rem;
  --space-2: 0.8rem;
  --space-3: 1.1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --bg: #05070f;
  --bg-soft: #0e1630;
  --surface: rgba(13, 20, 43, 0.5);
  --surface-border: rgba(255, 255, 255, 0.15);
  --text: #e8edff;
  --muted: #a5b2d9;
  --primary: #31dea6;
  --secondary: #4f8fff;
  --pink: #ff5faa;
  --shadow: 0 10px 22px rgba(3, 8, 22, 0.34), 0 16px 30px rgba(4, 9, 24, 0.24);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  --fab-whatsapp-bg: linear-gradient(145deg, #25d366, #119a43);
  --fab-whatsapp-fg: #ffffff;
  --fab-neutral-bg: rgba(16, 24, 48, 0.76);
  --fab-neutral-fg: #e8edff;
  --fab-border: rgba(255, 255, 255, 0.2);
}

body.light-mode {
  --bg: #edf2ff;
  --bg-soft: #dce8ff;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-border: rgba(41, 57, 93, 0.18);
  --text: #0f1f42;
  --muted: #3f4f79;
  --primary: #0f9f7b;
  --secondary: #1d66da;
  --pink: #d03388;
  --shadow: 0 8px 18px rgba(32, 56, 106, 0.16), 0 14px 26px rgba(39, 68, 126, 0.12);
  --shadow-glow: 0 0 0 1px rgba(43, 72, 140, 0.08);
  --fab-whatsapp-bg: linear-gradient(145deg, #1dbb59, #0e8a3b);
  --fab-whatsapp-fg: #f7fffb;
  --fab-neutral-bg: rgba(255, 255, 255, 0.86);
  --fab-neutral-fg: #102247;
  --fab-border: rgba(30, 54, 104, 0.18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 8px);
}
/* 
body {
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  font-size: clamp(15px, 0.55vw + 13px, 17px);
  color: var(--text);
  background: radial-gradient(circle at 15% 15%, #1e2f5f 0%, transparent 25%),
              radial-gradient(circle at 85% 10%, #242860 0%, transparent 32%),
              radial-gradient(circle at 50% 85%, #1f4c57 0%, transparent 27%),
              var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
  transition: background 0.4s ease, color 0.4s ease;
  --mx: 50%;
  --my: 50%;
} */
body{
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  font-size: clamp(15px, 0.55vw + 13px, 17px);
  color: var(--text);

  background:
  radial-gradient(circle at 10% 20%, rgba(79,143,255,0.25) 0%, transparent 30%),
  radial-gradient(circle at 90% 10%, rgba(49,222,166,0.20) 0%, transparent 35%),
  radial-gradient(circle at 50% 85%, rgba(255,95,170,0.18) 0%, transparent 35%),
  var(--bg);

  line-height: 1.6;
  overflow-x: hidden;
  
}

body::after{
content:"";

position:fixed;
inset:-200px;

background:
radial-gradient(circle at 20% 30%, rgba(79,143,255,0.35), transparent 40%),
radial-gradient(circle at 80% 20%, rgba(49,222,166,0.30), transparent 40%),
radial-gradient(circle at 40% 80%, rgba(255,95,170,0.25), transparent 40%);

filter:blur(90px);

z-index:-2;

animation:auroraMove 20s ease-in-out infinite alternate;
}
@keyframes auroraMove{

0%{
transform:translate(0,0) scale(1);
}

50%{
transform:translate(-40px,30px) scale(1.1);
}

100%{
transform:translate(40px,-20px) scale(1.05);
}

}
body.menu-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: -2;
}

body::before {
  width: min(44vw, 560px);
  height: min(44vw, 560px);
  background: rgba(79, 143, 255, 0.18);
  top: -12%;
  right: -8%;
  animation: drift 18s ease-in-out infinite alternate;
}

body::after {
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  background: rgba(49, 222, 166, 0.14);
  bottom: -10%;
  left: -8%;
  animation: drift 15s ease-in-out infinite alternate-reverse;
}

::selection {
  background: color-mix(in oklab, var(--primary) 62%, white 38%);
  color: #041015;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--primary) 70%, white 30%);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: -60px;
  z-index: 120;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: #ffffff;
  color: #041015;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.8rem;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0%;
  z-index: 90;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 16px rgba(79, 143, 255, 0.5);
}

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--fab-whatsapp-fg);
  background: var(--fab-whatsapp-bg);
  border: 1px solid color-mix(in oklab, var(--fab-border) 65%, #0f8f3f 35%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22), 0 0 18px rgba(37, 211, 102, 0.34);
  z-index: 70;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), 0 0 24px rgba(37, 211, 102, 0.42);
  filter: saturate(1.07);
}

.back-to-top {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--fab-border);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: var(--fab-neutral-fg);
  background:
    radial-gradient(120% 120% at 15% 12%, rgba(255, 255, 255, 0.18) 0%, transparent 52%),
    var(--fab-neutral-bg);
  box-shadow: 0 8px 18px rgba(7, 12, 28, 0.24), 0 0 14px rgba(79, 143, 255, 0.2);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 70;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px rgba(7, 12, 28, 0.3), 0 0 20px rgba(79, 143, 255, 0.28);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 18, 0.45);
  backdrop-filter: blur(5px);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.section {
  width: min(var(--container-w), 94vw);
  margin: 0 auto;
height:  auto;
  /* padding: clamp(3.3rem, 5.5vw, 4.6rem) 0 1.25rem; */
  padding: clamp(1rem, 2vw, 1rem) 0 0.8rem;
  scroll-margin-top: calc(var(--header-offset) + 8px);
}

body.custom-cursor-enabled,
body.custom-cursor-enabled * {
  cursor: none !important;
}

main {
  width: 100%;
}

.noscript-note {
  text-align: center;
  margin: 0.6rem auto 1.2rem;
  color: var(--muted);
}

.section-focus {
  animation: sectionFlash 0.7s ease;
}

.section.in-view .section-title {
  background: linear-gradient(100deg, var(--text), color-mix(in oklab, var(--secondary) 45%, var(--text) 55%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 1.8vw + 1rem, 2.45rem);
  letter-spacing: 0.005em;
  margin-bottom: 1.15rem;
  line-height: 1.15;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.section-header p,
.meta {
  color: var(--muted);
}

.glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--shadow-glow);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.site-header {
  position: sticky;
  top: 0.7rem;
  width: min(var(--container-w), 92vw);
  margin: 0.7rem auto 0;
  padding: 0.78rem 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  isolation: isolate;
}

.site-header.scrolled {
  background: color-mix(in oklab, var(--surface) 90%, black 10%);
  border-color: color-mix(in oklab, var(--surface-border) 70%, var(--secondary) 30%);
  box-shadow: 0 8px 18px rgba(7, 12, 26, 0.22);
}

.logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease, background-color 0.25s ease;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--text);
  background: linear-gradient(130deg, rgba(49, 222, 166, 0.22), rgba(79, 143, 255, 0.24));
  border: 1px solid var(--surface-border);
}

.header-actions {
  display: flex;
  gap: 0.6rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
}

.theme-toggle {
  background: linear-gradient(135deg, rgba(49, 222, 166, 0.18), rgba(79, 143, 255, 0.18));
}

body.light-mode .theme-toggle {
  background: linear-gradient(135deg, rgba(15, 159, 123, 0.16), rgba(29, 102, 218, 0.16));
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: calc(100svh - var(--header-offset));
  display: grid;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
}

.hero-content {
  position: relative;
}

.hero-line {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  animation: heroLineIn 0.72s cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.hero-content .eyebrow.hero-line { animation-delay: 0.08s; }
.hero-content h1.hero-line { animation-delay: 0.16s; }
.hero-content h2.hero-line { animation-delay: 0.24s; }
.hero-content .tagline.hero-line { animation-delay: 0.32s; }

.eyebrow {
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.65rem, 7.4vw, 5.15rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 0.22rem;
  text-shadow: 0 18px 42px rgba(4, 10, 28, 0.36);
}

.hero h2 {
  font-size: clamp(1.3rem, 3.2vw, 2.15rem);
  color: var(--muted);
  font-weight: 700;
}

.hero-title-glow {
  text-shadow: 0 0 26px rgba(13, 69, 166, 0.38);
}

.tagline {
  margin: 1rem 0 0.8rem;
  max-width: 58ch;
  min-height: 1.6em;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.hero-proof span {
  border: 1px solid color-mix(in oklab, var(--surface-border) 68%, var(--secondary) 32%);
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.resume-download-count {
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 0.24rem 0.56rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-kpis {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: min(520px, 100%);
}

.hero-kpis article {
  border: 1px solid color-mix(in oklab, var(--surface-border) 70%, var(--secondary) 30%);
  border-radius: 12px;
  padding: 0.52rem 0.62rem;
  background: rgba(255, 255, 255, 0.04);
}

.hero-kpis strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
}

.hero-kpis span {
  color: var(--muted);
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn::after {
  content: "";
  position: absolute;
  top: -220%;
  left: -45%;
  width: 40%;
  height: 520%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.45s ease;
}

.btn:hover::after {
  left: 120%;
}

.btn-primary {
  background: linear-gradient(130deg, var(--primary), #1bbfca);
  color: #02110d;
  box-shadow: 0 8px 18px rgba(27, 191, 202, 0.26);
}

.btn-secondary {
  background: linear-gradient(130deg, var(--secondary), #7c63ff);
  color: #eef3ff;
  box-shadow: 0 8px 18px rgba(89, 120, 255, 0.26);
}

.btn-glass {
  border-color: var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-parallax-layer {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
  opacity: 0.55;
  transition: transform 0.22s ease;
}

.hero-parallax-layer.layer-a {
  width: 190px;
  height: 190px;
  left: 2%;
  top: 16%;
  background: radial-gradient(circle, rgba(49, 222, 166, 0.34) 0%, rgba(49, 222, 166, 0) 72%);
}

.hero-parallax-layer.layer-b {
  width: 240px;
  height: 240px;
  right: 0%;
  top: 30%;
  background: radial-gradient(circle, rgba(79, 143, 255, 0.34) 0%, rgba(79, 143, 255, 0) 72%);
}

.hero-parallax-layer.layer-c {
  width: 160px;
  height: 160px;
  right: 22%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(255, 95, 170, 0.26) 0%, rgba(255, 95, 170, 0) 72%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}

.orb-one {
  width: 210px;
  height: 210px;
  top: 3%;
  left: 7%;
  background: rgba(49, 222, 166, 0.45);
}

.orb-two {
  width: 250px;
  height: 250px;
  right: 0;
  bottom: 4%;
  background: rgba(79, 143, 255, 0.38);
  animation-delay: 1.2s;
}

.hero-card {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: min(370px, 92%);
  padding: 1.2rem;
  border: 1px solid color-mix(in oklab, var(--surface-border) 64%, var(--secondary) 36%);
  background:
    radial-gradient(120% 110% at 12% 8%, rgba(49, 222, 166, 0.12) 0%, rgba(49, 222, 166, 0) 56%),
    radial-gradient(120% 110% at 88% 92%, rgba(79, 143, 255, 0.18) 0%, rgba(79, 143, 255, 0) 58%),
    var(--surface);
  box-shadow: 0 18px 34px rgba(5, 10, 28, 0.36);
}

.hero-profile-image-wrap {
  width: 110px;
  height: 110px;
  margin-bottom: 0.7rem;
}

.hero-profile-image,
.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface-border);
}

.hero-placeholder {
  display: none;
}

.hero-card p {
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.36rem;
}

.hero-card h3 {
  line-height: 1.35;
}

.hero-card-meta {
  margin-top: 0.68rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.hero-card-meta span {
  border: 1px solid color-mix(in oklab, var(--surface-border) 72%, var(--secondary) 28%);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.about-grid,
.skills-grid,
.contact-grid,
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem;
}

.skills-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.95rem;
  margin: 0.25rem 0 1.05rem;
}

.bento-card {
  padding: 1rem 1rem 1.05rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.skills-bento .bento-card:nth-child(1) {
  grid-column: span 6;
}

.skills-bento .bento-card:nth-child(2),
.skills-bento .bento-card:nth-child(3) {
  grid-column: span 3;
}

.bento-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 143, 255, 0.3) 0%, rgba(79, 143, 255, 0) 70%);
}

.bento-primary {
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(79, 143, 255, 0.22) 0%, rgba(79, 143, 255, 0) 60%),
    radial-gradient(120% 100% at 0% 100%, rgba(49, 222, 166, 0.15) 0%, rgba(49, 222, 166, 0) 62%),
    var(--surface);
}

.bento-label {
  display: inline-flex;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 0.18rem 0.56rem;
  margin-bottom: 0.45rem;
}

.bento-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.bento-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.bento-counter {
  margin-top: 0.62rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: color-mix(in oklab, var(--text) 72%, var(--secondary) 28%);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.05rem 0 1.15rem;
}

.skills-tags span {
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 0.27rem 0.62rem;
  font-size: 0.79rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.experience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.about-grid article,
.skills-grid article,
.github-card,
.contact-grid > *,
.experience-grid article {
  padding: 1.2rem;
}

.skills-grid h3,
.about-grid h3,
.experience-grid h3,
.github-card h3,
.contact-links h3 {
  font-size: clamp(1.05rem, 1.1vw + 0.72rem, 1.42rem);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.profile-card {
  text-align: center;
}

.profile-image-frame {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.7rem;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: none;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(140deg, var(--primary), var(--pink));
}

.journey {
  margin-top: 0.5rem;
  color: var(--muted);
}

.about-story-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(79, 143, 255, 0.18) 0%, rgba(79, 143, 255, 0) 56%),
    radial-gradient(120% 110% at 0% 100%, rgba(49, 222, 166, 0.12) 0%, rgba(49, 222, 166, 0) 58%),
    var(--surface);
}

.about-kicker {
  display: inline-flex;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.about-intro {
  color: color-mix(in oklab, var(--text) 88%, var(--muted) 12%);
  margin-bottom: 0.65rem;
}

.about-points {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.about-points li {
  border: 1px solid color-mix(in oklab, var(--surface-border) 72%, var(--secondary) 28%);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-profile-card {
  text-align: center;
  background:
    radial-gradient(120% 100% at 85% 0%, rgba(79, 143, 255, 0.14) 0%, rgba(79, 143, 255, 0) 58%),
    var(--surface);
}

.about-role {
  font-size: 1.02rem;
  margin-top: 0.18rem;
}

.about-quick-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.about-quick-grid article {
  border: 1px solid color-mix(in oklab, var(--surface-border) 72%, var(--secondary) 28%);
  border-radius: 12px;
  padding: 0.5rem 0.55rem;
  background: rgba(255, 255, 255, 0.03);
}

.about-quick-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.about-quick-grid strong {
  font-size: 0.88rem;
}

.experience-grid ul {
  margin-top: 0.8rem;
  padding-left: 1rem;
}

.experience-grid li {
  margin-bottom: 0.4rem;
}

.skill-list {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.62rem;
}

.skills-lead {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.skill-item {
  padding: 0.68rem 0.74rem 0.74rem;
  border: 1px solid color-mix(in oklab, var(--surface-border) 72%, var(--secondary) 28%);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.skill-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--surface-border) 45%, var(--primary) 55%);
  background: rgba(255, 255, 255, 0.05);
}

.skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.skill-head span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.skill-head strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in oklab, var(--text) 72%, var(--secondary) 28%);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.bar {
  margin-top: 0.5rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.bar > span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0) 30%),
    linear-gradient(90deg, color-mix(in oklab, var(--primary) 88%, #63ffdc 12%), color-mix(in oklab, var(--secondary) 82%, #9ec0ff 18%));
  position: relative;
  animation: skillFill 1.3s ease both;
}

.bar > span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(35%, -50%);
  border-radius: 50%;
  background: #b5d7ff;
  box-shadow: 0 0 0 4px rgba(181, 215, 255, 0.2);
}

@keyframes skillFill {
  from { width: 0; }
  to { width: var(--value); }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
}

.services-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-card,
.testimonial-card {
  padding: 1rem;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, rgba(49, 222, 166, 0.22), rgba(79, 143, 255, 0.2));
  border: 1px solid color-mix(in oklab, var(--surface-border) 65%, var(--secondary) 35%);
  margin-bottom: 0.55rem;
}

.service-card h3,
.testimonial-card strong {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.service-card p,
.testimonial-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 0.96rem;
  margin-bottom: 0.6rem;
}

.testimonial-meta {
  display: grid;
  gap: 0.08rem;
}

.project-spotlight {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  padding: 0.9rem;
  margin-bottom: 0.9rem;
  border-radius: 20px;
  background:
    radial-gradient(120% 110% at 100% 0%, rgba(79, 143, 255, 0.2) 0%, rgba(79, 143, 255, 0) 56%),
    radial-gradient(110% 100% at 0% 100%, rgba(49, 222, 166, 0.14) 0%, rgba(49, 222, 166, 0) 56%),
    var(--surface);
}

.spotlight-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--surface-border) 68%, var(--secondary) 32%);
}
/* 
.spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
} */
 .spotlight-media {
  height: 420px;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-content h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  margin-bottom: 0.3rem;
}

.spotlight-eyebrow {
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.spotlight-content p {
  color: var(--muted);
}

.spotlight-stats,
.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.projects-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.36rem 0.78rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.project-filter-chip em {
  font-style: normal;
  font-size: 0.72rem;
  min-width: 1.25rem;
  padding: 0.08rem 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.project-filter-chip.is-active {
  color: var(--text);
  border-color: color-mix(in oklab, var(--surface-border) 42%, var(--primary) 58%);
  background: linear-gradient(130deg, rgba(49, 222, 166, 0.22), rgba(79, 143, 255, 0.2));
}

.project-filter-chip.is-active em {
  background: rgba(4, 10, 24, 0.42);
}

.project-search-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  min-width: min(100%, 320px);
}

.project-search-wrap i {
  color: var(--muted);
  font-size: 0.8rem;
}

#projectSearchInput {
  border: 0;
  background: transparent;
  padding: 0;
  outline: none;
}

.projects-more {
  margin-top: 0.65rem;
  display: flex;
  justify-content: center;
}

.project-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--surface-border);
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(79, 143, 255, 0.18) 0%, rgba(79, 143, 255, 0) 50%),
    radial-gradient(120% 100% at 0% 100%, rgba(49, 222, 166, 0.14) 0%, rgba(49, 222, 166, 0) 54%),
    var(--surface);
  box-shadow: 0 12px 28px rgba(4, 8, 22, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  isolation: isolate;
  transition: transform 0.26s ease, border-color 0.22s ease, box-shadow 0.26s ease, filter 0.26s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(49, 222, 166, 0.55), rgba(79, 143, 255, 0.45), rgba(255, 95, 170, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -42%;
  width: 72%;
  height: 210%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
  transition: left 0.55s ease, opacity 0.28s ease;
  opacity: 0.7;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: color-mix(in oklab, var(--surface-border) 48%, var(--secondary) 52%);
  box-shadow: 0 22px 42px rgba(5, 10, 28, 0.42), 0 0 0 1px rgba(49, 222, 166, 0.3);
  filter: saturate(1.08);
}

.project-card:hover::before {
  opacity: 0.85;
}

.project-card:hover::after {
  left: 112%;
  opacity: 1;
}

.project-card:focus-within {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 22px 42px rgba(5, 10, 28, 0.42), 0 0 0 1px rgba(49, 222, 166, 0.3);
}

.project-card:active {
  transform: translateY(-2px) scale(0.985);
  box-shadow: 0 10px 22px rgba(6, 10, 26, 0.28), 0 0 0 1px rgba(79, 143, 255, 0.3);
}

.project-card.featured {
  grid-column: span 4;
  display: block;
  min-height: auto;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.06) contrast(1.06);
  transform: scale(1.001);
  transition: transform 0.55s ease, filter 0.35s ease;
}

.project-card.featured img {
  height: 100%;
  min-height: auto;
}

.project-content {
  padding: 0.9rem 0.9rem 0.95rem;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.42rem;
}

.project-content h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-bottom: 0.15rem;
  font-size: clamp(1.02rem, 1.65vw, 1.22rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.project-content p {
  margin-bottom: 0.28rem;
  font-size: 0.9rem;
  color: color-mix(in oklab, var(--text) 88%, var(--muted) 12%);
  line-height: 1.5;
}

.stack {
  color: var(--muted);
  font-size: 0.88rem;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.project-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.project-insight-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid color-mix(in oklab, var(--surface-border) 76%, var(--secondary) 24%);
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: rgba(255, 255, 255, 0.04);
}

.project-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: linear-gradient(135deg, rgba(11, 18, 42, 0.86), rgba(21, 36, 74, 0.78));
  border: 1px solid color-mix(in oklab, var(--surface-border) 65%, var(--secondary) 35%);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 8px 18px rgba(5, 10, 24, 0.28);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin: 0.55rem 0 0.25rem;
}

.meta-pill {
  padding: 0.2rem 0.48rem;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid color-mix(in oklab, var(--surface-border) 76%, var(--secondary) 24%);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.project-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--surface-border);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  margin-bottom: 0.55rem;
}

.project-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: color-mix(in oklab, var(--bg-soft) 86%, black 14%);
}

.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0.3) 100%);
}

.project-cover::before {
  content: "";
  position: absolute;
  inset: auto -18% -52% auto;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 143, 255, 0.34) 0%, rgba(79, 143, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.project-card:hover .project-cover img,
.project-card:focus-within .project-cover img {
  transform: scale(1.05);
  filter: saturate(1.12) contrast(1.07);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-status {
  font-size: 0.8rem;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.project-actions .btn {
  min-width: 96px;
  border-radius: 12px;
  font-weight: 700;
  border-width: 1px;
  padding: 0.5rem 0.72rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.project-actions .btn:hover {
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.project-actions .btn.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

.github-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.05rem;
  align-items: stretch;
}

.github-graph-card {
  min-height: 100%;
}

.github-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.github-chip {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  color: var(--muted);
  font-size: 0.8rem;
}

.github-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.28rem;
}

.stat-value {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.stat-card.wide {
  grid-column: span 2;
}

.graph-image {
  width: 100%;
  border-radius: 12px;
  margin-top: 0.8rem;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.02);
  min-height: 210px;
  object-fit: cover;
}

.contact-grid form {
  display: grid;
  gap: 0.6rem;
}

label {
  color: var(--muted);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  padding: 0.72rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(49, 222, 166, 0.45);
  border-color: transparent;
}

input.is-invalid,
textarea.is-invalid {
  border-color: #ff6c8d;
  outline: 2px solid rgba(255, 108, 141, 0.3);
}

#formStatus {
  color: var(--primary);
  font-size: 0.9rem;
}

#formStatus.error {
  color: #ff8aa4;
}

#contactSubmitBtn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.contact-links {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.4rem;
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(79, 143, 255, 0.16) 0%, rgba(79, 143, 255, 0) 56%),
    radial-gradient(120% 100% at 0% 100%, rgba(49, 222, 166, 0.12) 0%, rgba(49, 222, 166, 0) 58%),
    var(--surface);
}

.contact-links h3 {
  margin-bottom: 0.15rem;
}

.contact-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.contact-links a {
  width: 100%;
  border: 1px solid color-mix(in oklab, var(--surface-border) 70%, var(--secondary) 30%);
  border-radius: 12px;
  padding: 0.62rem 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.contact-links a i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(49, 222, 166, 0.24), rgba(79, 143, 255, 0.24));
  color: color-mix(in oklab, var(--text) 84%, white 16%);
  font-size: 0.9rem;
}

.contact-links a span {
  overflow-wrap: anywhere;
}

.contact-links a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--surface-border) 45%, var(--primary) 55%);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.project-modal.is-open {
  display: block;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.72);
  backdrop-filter: blur(4px);
}

.project-modal-card {
  position: relative;
  width: min(760px, 92vw);
  max-height: 84vh;
  overflow: auto;
  margin: 8vh auto 0;
  padding: 1.1rem;
  border-radius: 18px;
  z-index: 2;
}

.project-modal-close {
  position: sticky;
  top: 0;
  float: right;
}

.project-modal-summary {
  color: var(--muted);
  margin: 0.25rem 0 0.8rem;
}

.project-modal-body {
  display: grid;
  gap: 0.6rem;
}

.project-modal-gallery {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.project-modal-main-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: color-mix(in oklab, var(--bg-soft) 86%, black 14%);
  position: relative;
}

.project-modal-main-image {
  width: 100%;
  max-height: min(38vh, 320px);
  object-fit: cover;
}

.project-modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--surface-border) 62%, var(--secondary) 38%);
  background: rgba(8, 14, 32, 0.72);
  color: var(--text);
  display: grid;
  place-items: center;
  z-index: 2;
}

.project-modal-nav-btn.prev {
  left: 0.45rem;
}

.project-modal-nav-btn.next {
  right: 0.45rem;
}

.project-modal-nav-btn:disabled {
  opacity: 0.4;
}

.project-modal-thumbs {
  display: flex;
  gap: 0.42rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
}

.project-modal-thumb {
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  flex: 0 0 88px;
  height: 58px;
}

.project-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-thumb.is-active {
  border-color: color-mix(in oklab, var(--surface-border) 42%, var(--primary) 58%);
  box-shadow: 0 0 0 1px rgba(49, 222, 166, 0.3);
}

.project-modal-body article {
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
}

.project-modal-body h4 {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

body.modal-open {
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #03050a;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-line {
  width: 200px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  background-size: 200% 100%;
  animation: scan 1.1s linear infinite;
}

.loader p {
  margin-top: 0.8rem;
  color: #cad5fa;
}

.cursor-dot,
.cursor-outline {
  position: fixed;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
}

.cursor-outline {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.22s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: skeletonShift 1.25s linear infinite;
}

/* Skeleton only for async blocks (Projects + GitHub) */
#projects .skeleton,
#github .skeleton {
  min-height: 190px;
  border-radius: var(--radius-md);
}

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

@keyframes scan {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sectionFlash {
  0% { filter: brightness(1); }
  30% { filter: brightness(1.08); }
  100% { filter: brightness(1); }
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28px, -26px) scale(1.08); }
}

@keyframes skeletonShift {
  to { transform: translateX(100%); }
}

@keyframes heroLineIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

@media (max-width: 1020px) {
  html {
    scroll-snap-type: none;
  }

  .section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .hero,
  .about-grid,
  .skills-grid,
  .services-grid,
  .testimonials-grid,
  .github-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .skills-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-bento .bento-card:nth-child(1) {
    grid-column: span 2;
  }

  .skills-bento .bento-card:nth-child(2),
  .skills-bento .bento-card:nth-child(3) {
    grid-column: span 1;
  }

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

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

  .projects-controls {
    align-items: stretch;
  }

  .project-search-wrap {
    width: 100%;
  }

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

  .project-card,
  .project-card.featured {
    grid-column: span 1;
    display: block;
    min-height: auto;
  }

  .project-card.featured img,
  .project-card img {
    height: 100%;
    min-height: auto;
  }

  #mainNav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 60;
    padding: 0 0.4rem;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.7rem;
    border-radius: 14px;
    border: 1px solid var(--surface-border);
    background: color-mix(in oklab, var(--surface) 92%, black 8%);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
    animation: navSlideIn 0.22s ease;
  }

  .nav-links a {
    width: 100%;
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    min-height: auto;
    padding-top: 4.4rem;
  }

  .hero-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .github-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1021px) {
  .section {
    min-height: calc(100svh - var(--header-offset));
  }
}

@media (max-width: 680px) {
  .section {
    padding-top: 3.4rem;
  }

  .btn {
    width: 100%;
  }

  .site-header {
    top: 0.4rem;
    width: min(var(--container-w), 92vw);
    margin: 0.4rem auto 0;
    padding: 0.7rem 0.82rem;
  }

  .project-card img {
    height: 100%;
  }

  .hero-proof {
    gap: 0.35rem;
  }

  .hero-proof span {
    font-size: 0.74rem;
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }

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

  .skills-bento .bento-card:nth-child(1),
  .skills-bento .bento-card:nth-child(2),
  .skills-bento .bento-card:nth-child(3) {
    grid-column: span 1;
  }

  .github-stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card.wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .cursor-dot,
  .cursor-outline,
  #particleCanvas {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}
.resume-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;

  padding: 12px 26px;

  border-radius: 14px;

  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .02em;

  text-decoration: none;

  color:#041015;

  background:
  linear-gradient(135deg,var(--primary),var(--secondary));

  border:1px solid color-mix(in oklab,var(--primary) 60%,white 40%);

  box-shadow:
  0 10px 22px rgba(4,10,26,0.35),
  0 0 18px rgba(49,222,166,0.35);

  overflow:hidden;

  transition:
  transform .25s ease,
  box-shadow .25s ease,
  filter .25s ease;
}

/* icon */
.resume-btn svg{
  transition: transform .3s ease;
}

/* hover */
.resume-btn:hover{
  transform: translateY(-3px) scale(1.04);

  box-shadow:
  0 18px 35px rgba(4,10,26,0.45),
  0 0 25px rgba(79,143,255,0.45);

  filter: brightness(1.05);
}

/* icon move */
.resume-btn:hover svg{
  transform: translateY(3px);
}

/* shine animation */
.resume-btn::before{
content:"";
position:absolute;

top:-220%;
left:-40%;

width:40%;
height:500%;

transform:rotate(18deg);

background:linear-gradient(
90deg,
transparent,
rgba(255,255,255,.6),
transparent
);

transition:left .5s ease;
}

.resume-btn:hover::before{
left:120%;
}

/* ripple effect */
.resume-btn::after{
content:"";

position:absolute;

width:0;
height:0;

border-radius:50%;

background:rgba(255,255,255,0.4);

top:50%;
left:50%;

transform:translate(-50%,-50%);

transition:width .6s,height .6s;
}

.resume-btn:active::after{
width:260px;
height:260px;
}

/* click effect */
.resume-btn:active{
transform: scale(.95);
}

/* icon circle */
.btn-icon{
display:flex;
align-items:center;
justify-content:center;

width:32px;
height:32px;

border-radius:50%;

background:rgba(255,255,255,0.2);
}
/* profile image container */
.hero-profile-image-wrap{
  position: relative;
  display: inline-block;
}

/* profile image */
.hero-profile-image{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid rgba(255,255,255,0.15);

  box-shadow:
    0 8px 30px rgba(0,0,0,0.35),
    0 0 0 6px rgba(255,255,255,0.04),
    0 0 40px rgba(0,255,200,0.25);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* hover effect */
.hero-profile-image:hover{
  transform: scale(1.08);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.45),
    0 0 0 8px rgba(255,255,255,0.05),
    0 0 60px rgba(0,255,200,0.35);
}

/* glow background */
.hero-profile-image-wrap::before{
  content:"";
  position:absolute;
  inset:-15px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(0,255,200,0.25), transparent 70%);
  z-index:-1;
  filter: blur(15px);
}
.about-profile-card{
  padding:40px 30px;
  border-radius:20px;
  background:linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  text-align:center;
}

/* profile image */
.profile-image-frame img{
  width:90px;
  height:90px;
  border-radius:50%;
  border:3px solid rgba(255,255,255,0.2);
  box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

/* grid */
.about-quick-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-top:25px;
}

/* cards */
.about-quick-grid article{
  padding:16px;
  border-radius:14px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  transition:all .3s ease;
}

/* hover */
.about-quick-grid article:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,0.08);
  border-color:#00e5a8;
}

/* label */
.about-quick-grid span{
  font-size:12px;
  opacity:.7;
}

/* skill */
.about-quick-grid strong{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:18px;
  margin-top:6px;
}

/* icons */
.about-quick-grid strong i{
  font-size:20px;
}
.journey{
font-size:13px;
opacity:.7;
margin-top:6px;
}
.about-quick-grid article{
  padding:16px;
  border-radius:14px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);

  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;

  transition:all .3s ease;
}

.about-quick-grid strong{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:18px;
  margin-top:6px;
}
@media (max-width:900px){

.about-quick-grid{
  grid-template-columns:repeat(2,1fr);
}

}
@media (max-width:600px){

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

.about-quick-grid article{
  padding:14px;
}

.about-quick-grid strong{
  font-size:16px;
}

}
@media (max-width:680px){

.resume-btn{
  width:100%;
  justify-content:center;
  padding:12px;
  font-size:14px;
}

}
/* .glass{
  background:linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,0.08);

  border-radius:18px;

  box-shadow:
  0 10px 30px rgba(0,0,0,0.35);
} */
.about-profile-card{
background:
radial-gradient(
120% 100% at 85% 0%,
rgba(79,143,255,0.16) 0%,
rgba(79,143,255,0) 60%
),
radial-gradient(
120% 100% at 0% 100%,
rgba(49,222,166,0.12) 0%,
rgba(49,222,166,0) 60%
),
var(--surface);
}

.experience-grid ul{
margin-top:10px;
padding-left:18px;
}

.experience-grid li{
margin-bottom:8px;
color:var(--muted);
line-height:1.6;
}

/* timeline container */

.timeline{
position:relative;
/* max-width:fit-content; */
/* padding-left:10px; */
margin-top:40px;
}

/* vertical line */

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

left:30px;
top:0;
bottom:0;
margin-top: 10px;
width:4px;

background:linear-gradient(
180deg,
var(--primary),
var(--secondary)
);

box-shadow:
0 0 12px rgba(49,222,166,0.6),
0 0 24px rgba(79,143,255,0.4);
}

/* timeline item */

.timeline-item{
position:relative;
margin-bottom:60px;
}

/* glow dot */

.timeline-dot{
position:absolute;

left:32px;
top:8px;

transform:translateX(-50%);

width:18px;
height:18px;

border-radius:50%;

background:var(--primary);

box-shadow:
0 0 0 6px rgba(49,222,166,0.2),
0 0 18px rgba(49,222,166,0.8);

animation:pulseDot 2s infinite;
}

/* card */

.timeline-content{
margin-left:60px;

padding:26px;

border-radius:18px;

transition:
transform .35s ease,
box-shadow .35s ease,
border-color .35s ease;
}

/* hover effect */

.timeline-content:hover{

transform:translateY(-8px);

box-shadow:
0 25px 50px rgba(0,0,0,0.45),
0 0 0 1px rgba(49,222,166,0.3);

}

/* list */

.timeline-content ul{
margin-top:10px;
padding-left:20px;
}

.timeline-content li{
margin-bottom:8px;
color:var(--muted);
line-height:1.6;
}

/* reveal animation */

.timeline-item{
opacity:0;
transform:translateY(80px);
animation:timelineReveal 1s ease forwards;
}

.timeline-item:nth-child(1){animation-delay:.2s;}
.timeline-item:nth-child(2){animation-delay:.4s;}
.timeline-item:nth-child(3){animation-delay:.6s;}

/* reveal keyframe */

@keyframes timelineReveal{

0%{
opacity:0;
transform:translateY(80px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

/* dot pulse */

@keyframes pulseDot{

0%{
box-shadow:
0 0 0 0 rgba(49,222,166,.6),
0 0 20px rgba(49,222,166,.8);
}

70%{
box-shadow:
0 0 0 16px rgba(49,222,166,0),
0 0 30px rgba(49,222,166,.5);
}

100%{
box-shadow:
0 0 0 0 rgba(49,222,166,0),
0 0 20px rgba(49,222,166,.8);
}

}
@media (max-width:700px){


.timeline::before{
left:22px;
}

.timeline-dot{
left:24px;
}

.timeline-content{
margin-left:50px;
}

}
.timeline::before{
background:linear-gradient(
180deg,
#31dea6,
#4f8fff,
#31dea6
);

background-size:100% 200%;

animation:timelineGlow 6s linear infinite;
}

@keyframes timelineGlow{

0%{background-position:0% 0%;}
100%{background-position:0% 200%;}

}
.service-card{
position:relative;
padding:22px;
border-radius:18px;

background:
radial-gradient(
120% 100% at 100% 0%,
rgba(79,143,255,0.18),
transparent 60%
),
radial-gradient(
120% 100% at 0% 100%,
rgba(49,222,166,0.14),
transparent 60%
),
var(--surface);

border:1px solid var(--surface-border);

transition:
transform .35s ease,
box-shadow .35s ease,
border-color .35s ease;
}
.service-card:hover{
transform:translateY(-8px) scale(1.02);

border-color:rgba(49,222,166,0.35);

box-shadow:
0 25px 50px rgba(0,0,0,0.45),
0 0 0 1px rgba(49,222,166,0.25);
}
