/* ═══════════════════════════════════════
   MICROSOFT FLUENT DESIGN THEME
   Segoe UI · Microsoft Blue · Light/White
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;500;600;700&display=swap');

:root {
  /* Microsoft Surface / Background layers */
  --bg-deep:   #f3f2f1;
  --bg-base:   #faf9f8;
  --bg-card:   #fff3b2;
  --bg-raised: #f8f8f8;
  --bg-hover:  #f3f2f1;

  /* Microsoft Blue spectrum */
  --blue-vivid: #0078d4;
  --blue-mid:   #106ebe;
  --blue-light: #2b88d8;
  --blue-pale:  #deecf9;

  /* Fluent accent */
  --cyan:       #0078d4;
  --cyan-light: #106ebe;
  --cyan-pale:  #deecf9;
  --cyan-dim:   rgba(0,120,212,0.08);

  /* Text scale — Microsoft ink */
  --text-1:   #201f1e;
  --text-2:   #323130;
  --text-3:   #605e5c;
  --text-4:   #a19f9d;
  --text-5:   #c8c6c4;

  /* Borders & shadows — Fluent depth */
  --border:     rgba(0,0,0,0.1);
  --border-2:   rgba(0,0,0,0.06);
  --glow-blue:  0 4px 24px rgba(0,120,212,0.14);
  --glow-cyan:  0 4px 16px rgba(0,120,212,0.1);

  /* Status */
  --green:  #107c10;
  --red:    #d13438;
  --yellow: #ffaa44;

  --ff: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.22s var(--ease);
}

/* ═══════════════════════════════════════ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-2);
  font-family: var(--ff);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
::selection { background: rgba(0,120,212,0.18); color: var(--text-1); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--blue-vivid); border-radius: 2px; }

/* ═══════════════════════════════════════
   MICROSOFT ANIMATED BACKGROUND
   Windows 11 Fluent / geometric tiles
═══════════════════════════════════════ */
.bg-wrap {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}

/* Subtle dot grid — Windows wallpaper vibe */
.scan-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,120,212,0.07) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Microsoft logo-inspired floating tiles */
.ms-tile {
  position: absolute; border-radius: 4px; opacity: 0;
  animation: tileFloat 18s ease-in-out infinite;
}
.ms-tile-1 { width:48px; height:48px; top:12%; left:8%;  background:rgba(0,120,212,0.08); animation-delay:0s;   animation-duration:14s; }
.ms-tile-2 { width:28px; height:28px; top:12%; left:12%; background:rgba(0,178,148,0.08); animation-delay:.2s;  animation-duration:14s; }
.ms-tile-3 { width:48px; height:48px; top:18%; left:8%;  background:rgba(255,185,0,0.08);  animation-delay:.2s;  animation-duration:14s; }
.ms-tile-4 { width:28px; height:28px; top:18%; left:12%; background:rgba(209,52,56,0.08);  animation-delay:.4s;  animation-duration:14s; }

.ms-tile-5 { width:52px; height:52px; bottom:18%; right:7%;  background:rgba(0,120,212,0.07); animation-delay:4s;   animation-duration:17s; }
.ms-tile-6 { width:30px; height:30px; bottom:18%; right:13%; background:rgba(0,178,148,0.07); animation-delay:4.2s; animation-duration:17s; }
.ms-tile-7 { width:52px; height:52px; bottom:24%; right:7%;  background:rgba(255,185,0,0.07);  animation-delay:4.2s; animation-duration:17s; }
.ms-tile-8 { width:30px; height:30px; bottom:24%; right:13%; background:rgba(209,52,56,0.07);  animation-delay:4.4s; animation-duration:17s; }

/* A third set, center-ish */
.ms-tile-9  { width:36px; height:36px; top:55%; left:5%;  background:rgba(0,120,212,0.05); animation-delay:8s;  animation-duration:20s; }
.ms-tile-10 { width:20px; height:20px; top:55%; left:9%;  background:rgba(0,178,148,0.05); animation-delay:8.2s;animation-duration:20s; }
.ms-tile-11 { width:36px; height:36px; top:60%; left:5%;  background:rgba(255,185,0,0.05);  animation-delay:8.2s;animation-duration:20s; }
.ms-tile-12 { width:20px; height:20px; top:60%; left:9%;  background:rgba(209,52,56,0.05);  animation-delay:8.4s;animation-duration:20s; }

@keyframes tileFloat {
  0%   { opacity:0; transform:translateY(8px) scale(0.96); }
  10%  { opacity:1; }
  90%  { opacity:1; }
  100% { opacity:0; transform:translateY(-8px) scale(1.02); }
}

/* Soft blue gradient wash — top left */
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.orb-1 { width:700px; height:700px; top:-220px; left:-180px; background:radial-gradient(circle, rgba(0,120,212,0.09) 0%, transparent 65%); }
.orb-2 { width:500px; height:500px; bottom:-80px; right:-100px; background:radial-gradient(circle, rgba(0,178,148,0.06) 0%, transparent 65%); }
.orb-3 { width:300px; height:300px; top:40%; left:50%; background:radial-gradient(circle, rgba(0,120,212,0.04) 0%, transparent 65%); animation: orbFloat 14s ease-in-out infinite; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-30px)} }

/* Scan line replaced with a thin blue sweep */
.scan-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,120,212,0.22) 50%, transparent 100%);
  animation: scanMove 12s linear infinite;
  opacity: 0.5;
}
@keyframes scanMove { 0%{top:-2px} 100%{top:100vh} }

/* ═══════════════════════════════════════ NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  transition: var(--transition);
}
nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.08);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }

/* ── Logo slot: 3D rotating company logos ── */
.logo-slot {
  position: relative;
  width: 42px;
  height: 38px;
  perspective: 200px;
  flex-shrink: 0;
  cursor: default;
}

.logo-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotateY(-90deg);
  animation: logoSpin 9s ease-in-out infinite;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Each face staggers by 3s (9s total cycle ÷ 3 logos) */
.logo-ms     { animation-delay: 0s;  }
.logo-ibm    { animation-delay: 3s;  }
.logo-nuance { animation-delay: 6s;  }

/* IBM face is wider — let it overflow cleanly */
.logo-ibm    { width: 60px; left: -9px; }
.logo-nuance { width: 68px; left: -13px; }

@keyframes logoSpin {
  0%   { opacity: 0; transform: rotateY(-90deg) scale(0.85); }
  8%   { opacity: 1; transform: rotateY(0deg)   scale(1); }
  28%  { opacity: 1; transform: rotateY(0deg)   scale(1); }
  36%  { opacity: 0; transform: rotateY(90deg)  scale(0.85); }
  100% { opacity: 0; transform: rotateY(-90deg) scale(0.85); }
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-name {
  font-size: 14px; font-weight: 600; color: var(--text-1);
  letter-spacing: 0.04em; line-height: 1;
}
.nav-at-company {
  font-size: 10px; font-weight: 400; color: var(--blue-vivid);
  letter-spacing: 0.04em; line-height: 1;
  transition: opacity 0.3s ease;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 6px 12px; font-size: 13px; font-weight: 400;
  color: var(--text-3); letter-spacing: 0.01em; border-radius: 4px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-1); background: var(--bg-hover); }
.nav-links a.active { color: var(--blue-vivid); }
.nav-hire {
  padding: 7px 20px !important;
  background: var(--blue-vivid) !important; color: #fff !important;
  border: none !important; border-radius: 4px !important;
  font-weight: 600 !important; letter-spacing: 0.03em !important;
  transition: var(--transition) !important;
  box-shadow: 0 2px 8px rgba(0,120,212,0.28) !important;
}
.nav-hire:hover {
  background: var(--blue-mid) !important;
  box-shadow: 0 4px 16px rgba(0,120,212,0.4) !important;
  transform: translateY(-1px) !important;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-3); transition: var(--transition); }
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 899;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 12px 5% 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 0; font-size: 15px; color: var(--text-3);
  border-bottom: 1px solid var(--border-2); letter-spacing: 0.02em;
}
.mobile-nav a:last-child { border-bottom: none; color: var(--blue-vivid); font-weight: 600; padding-top: 18px; }

/* ═══════════════════════════════════════ LAYOUT */
section { position: relative; z-index: 1; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 110px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; color: var(--blue-vivid);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--blue-vivid); border-radius: 1px; }
.section-title {
  font-size: clamp(26px,3.5vw,40px); font-weight: 300;
  color: var(--text-1); line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.01em;
}
.section-title strong { font-weight: 700; }
.section-rule {
  width: 36px; height: 3px; border-radius: 2px; margin: 18px 0;
  background: var(--blue-vivid);
}
.section-sub { font-size: 15px; font-weight: 300; color: var(--text-3); line-height: 1.85; max-width: 560px; }

/* Reveal */
.reveal { opacity:0; transform:translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity:1; transform:translateY(0); }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}
.d4{transition-delay:.32s} .d5{transition-delay:.40s}

/* ═══════════════════════════════════════ BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 28px; border-radius: 4px;
  background: var(--blue-vivid);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  transition: var(--transition); box-shadow: 0 2px 8px rgba(0,120,212,0.3);
}
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,120,212,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 28px; border-radius: 4px;
  border: 1px solid var(--blue-vivid); color: var(--blue-vivid);
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  transition: var(--transition); background: transparent;
}
.btn-outline:hover { background: var(--cyan-pale); }

/* ═══════════════════════════════════════ HERO */
#hero {
  min-height: 100vh; padding: 100px 0 80px;
  display: flex; align-items: center;
  background: #ffffff;
}
.hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 70px; align-items: center; }

.hero-status {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(16,124,16,0.07); border: 1px solid rgba(16,124,16,0.2);
  border-radius: 4px; padding: 6px 16px; margin-bottom: 26px;
  font-size: 12px; font-weight: 500; color: var(--green); letter-spacing: 0.04em;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: clamp(38px,5.5vw,64px); font-weight: 700; line-height: 1.05;
  color: var(--text-1); letter-spacing: -0.02em; margin-bottom: 6px;
}
.hero-sub {
  font-size: clamp(18px,2.2vw,26px); font-weight: 300; color: var(--text-3);
  letter-spacing: 0; margin-bottom: 22px; line-height: 1.3;
}
.hero-role-line {
  font-size: 14px; font-weight: 400; color: var(--blue-vivid);
  letter-spacing: 0.03em; margin-bottom: 22px; height: 22px;
}
.cursor { animation: cur 1s infinite; }
@keyframes cur { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: 15px; font-weight: 300; color: var(--text-3); line-height: 1.9;
  max-width: 500px; margin-bottom: 34px;
}
.hero-desc strong { font-weight: 600; color: var(--text-2); }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats { display: flex; border-top: 1px solid var(--border-2); padding-top: 34px; gap: 0; }
.hs { flex: 1; }
.hs + .hs { border-left: 1px solid var(--border-2); padding-left: 28px; }
.hs-num {
  font-size: 28px; font-weight: 700; color: var(--text-1);
  line-height: 1; letter-spacing: -0.02em;
}
.hs-num sup { font-size: 14px; color: var(--blue-vivid); vertical-align: super; font-weight: 600; }
.hs-label { font-size: 11px; font-weight: 400; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }

/* Hero card — Microsoft product card style */
.hero-card {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0078d4 0%, #00a4ef 50%, #7fba00 100%);
}
.card-label {
  font-size: 10px; font-weight: 700; color: var(--blue-vivid);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.card-label::after { content: ''; flex: 1; height: 1px; background: var(--border-2); }
.cert-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--border-2); }
.cert-row:last-child { border-bottom: none; }
.cert-box {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 6px;
  background: var(--cyan-pale); border: 1px solid rgba(0,120,212,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.cr-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.cr-sub  { font-size: 10px; font-weight: 400; color: var(--text-4); margin-top: 1px; }
.cr-pill {
  margin-left: auto; font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 3px;
  background: var(--cyan-pale); color: var(--blue-vivid); border: 1px solid rgba(0,120,212,0.2);
}

/* ═══════════════════════════════════════ ABOUT */
#about { background: var(--bg-base); }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: start; }
.about-portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 8px;
  background: linear-gradient(160deg, #deecf9, #f3f2f1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,120,212,0.1);
}
.portrait-initials {
  font-size: 80px; font-weight: 700; line-height: 1;
  color: rgba(0,120,212,0.1); user-select: none; letter-spacing: -0.04em;
}
.portrait-scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,120,212,0.03) 3px, rgba(0,120,212,0.03) 4px);
  pointer-events: none;
}
.portrait-tl {
  position: absolute; top: 0; left: 0; width: 44px; height: 44px;
  border-top: 2px solid var(--blue-vivid); border-left: 2px solid var(--blue-vivid);
  border-radius: 8px 0 0 0;
}
.portrait-br {
  position: absolute; bottom: 0; right: 0; width: 44px; height: 44px;
  border-bottom: 2px solid var(--blue-vivid); border-right: 2px solid var(--blue-vivid);
  border-radius: 0 0 8px 0;
}
.about-chip {
  position: absolute; bottom: 22px; left: -18px;
  background: #ffffff; border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1); white-space: nowrap;
}
.chip-num { font-size: 22px; font-weight: 700; color: var(--blue-vivid); line-height: 1; }
.chip-txt { font-size: 10px; font-weight: 500; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.about-text p { font-size: 15px; font-weight: 300; color: var(--text-3); line-height: 1.9; margin-bottom: 14px; }
.about-text p strong { font-weight: 600; color: var(--text-2); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 28px; }
.info-cell {
  padding: 12px 14px; border-radius: 6px;
  background: #ffffff; border: 1px solid var(--border-2);
  transition: var(--transition);
}
.info-cell:hover { border-color: rgba(0,120,212,0.3); box-shadow: 0 2px 8px rgba(0,120,212,0.08); }
.ic-label { font-size: 10px; font-weight: 600; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px; }
.ic-val   { font-size: 13px; font-weight: 500; color: var(--text-2); }
.ic-val.open { color: var(--green); }

/* ═══════════════════════════════════════ SKILLS */
#skills { background: #ffffff; }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.skill-card {
  background: #ffffff; border: 1px solid var(--border-2);
  border-radius: 8px; padding: 22px 20px; transition: var(--transition);
}
.skill-card:hover {
  border-color: rgba(0,120,212,0.3); background: #ffffff;
  transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,120,212,0.1);
}
.sk-icon { font-size: 24px; margin-bottom: 12px; }
.sk-name {
  font-size: 11px; font-weight: 700; color: var(--text-1);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 400; color: var(--text-3);
  background: var(--bg-deep); border: 1px solid var(--border-2);
  padding: 4px 10px; border-radius: 3px; transition: var(--transition);
}
.tag:hover { background: var(--cyan-pale); border-color: rgba(0,120,212,0.2); color: var(--blue-vivid); }
.tag-hi {
  background: var(--cyan-pale); border-color: rgba(0,120,212,0.2);
  color: var(--blue-mid); font-weight: 500;
}

/* ═══════════════════════════════════════ EXPERIENCE */
#experience { background: var(--bg-base); }
.timeline { margin-top: 52px; position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--blue-vivid), rgba(0,120,212,0.1) 90%, transparent);
  border-radius: 1px;
}
.tl-item { position: relative; margin-bottom: 40px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -38px; top: 10px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #ffffff; border: 2px solid var(--blue-vivid);
  box-shadow: 0 0 0 3px rgba(0,120,212,0.12);
}
.tl-card {
  background: #ffffff; border: 1px solid var(--border-2);
  border-radius: 8px; padding: 24px 26px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.tl-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue-vivid);
  border-radius: 8px 0 0 8px; opacity: 0; transition: var(--transition);
}
.tl-card:hover::before { opacity: 1; }
.tl-card:hover { border-color: rgba(0,120,212,0.2); box-shadow: 0 4px 24px rgba(0,120,212,0.08); }
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.tl-role { font-size: 15px; font-weight: 600; color: var(--text-1); }
.tl-period {
  font-size: 11px; font-weight: 500; color: var(--blue-vivid);
  background: var(--cyan-pale); border: 1px solid rgba(0,120,212,0.18);
  padding: 4px 12px; border-radius: 3px; white-space: nowrap; letter-spacing: 0.03em;
}
.tl-company { font-size: 13px; font-weight: 500; color: var(--blue-light); margin-bottom: 16px; }
.tl-company em { font-style: normal; font-weight: 300; color: var(--text-4); }
.tl-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tl-list li { display: flex; gap: 10px; font-size: 14px; font-weight: 300; color: var(--text-3); line-height: 1.7; }
.tl-list li::before { content: '›'; color: var(--blue-vivid); flex-shrink: 0; font-size: 15px; line-height: 1.6; }
.tl-list li strong { font-weight: 600; color: var(--text-2); }

/* ═══════════════════════════════════════ PROJECTS */
#projects { background: #ffffff; }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 52px; }
.proj-card {
  background: #ffffff; border: 1px solid var(--border-2);
  border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
  transition: var(--transition);
}
.proj-card:hover {
  border-color: rgba(0,120,212,0.25); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,120,212,0.1), 0 2px 8px rgba(0,0,0,0.06);
}
.proj-thumb {
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  font-size: 44px; position: relative; overflow: hidden;
}
.proj-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(255,255,255,0.08));
}
.proj-thumb .scan-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.03) 3px, rgba(255,255,255,0.03) 4px);
}
.featured-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--blue-vivid); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px;
}
.proj-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.proj-cat {
  font-size: 10px; font-weight: 700; color: var(--blue-vivid);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 6px;
}
.proj-title { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; line-height: 1.4; }
.proj-desc { font-size: 13px; font-weight: 300; color: var(--text-3); line-height: 1.75; margin-bottom: 14px; flex: 1; }
.proj-tech { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.proj-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--blue-vivid);
  letter-spacing: 0.03em; padding-top: 12px; border-top: 1px solid var(--border-2);
  margin-top: auto; transition: var(--transition);
}
.proj-link:hover { color: var(--blue-mid); }
.proj-link::after { content: ' ›'; font-size: 14px; }
.proj-card.wide { grid-column: span 2; }
.wide .proj-inner { display: grid; grid-template-columns: 1fr 1fr; }
.wide .proj-thumb { aspect-ratio: auto; }

/* ═══════════════════════════════════════ CERTIFICATIONS */
#certifications { background: var(--bg-base); }
.certs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 48px; }
.cert-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: #ffffff; border: 1px solid var(--border-2);
  border-radius: 8px; padding: 16px; transition: var(--transition);
}
.cert-card:hover { border-color: rgba(0,120,212,0.25); box-shadow: 0 4px 16px rgba(0,120,212,0.08); }
.cert-icon-box {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 6px;
  background: var(--cyan-pale); border: 1px solid rgba(0,120,212,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.cert-title  { font-size: 13px; font-weight: 500; color: var(--text-1); margin-bottom: 4px; line-height: 1.4; }
.cert-issuer { font-size: 11px; font-weight: 400; color: var(--blue-vivid); }

/* ═══════════════════════════════════════ EDUCATION */
#education { background: #ffffff; }
.edu-card {
  margin-top: 42px; background: #ffffff;
  border: 1px solid var(--border); border-radius: 8px; padding: 36px 38px;
  display: flex; align-items: flex-start; gap: 26px;
  box-shadow: 0 4px 24px rgba(0,120,212,0.08);
  position: relative; overflow: hidden;
}
.edu-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0078d4, #00a4ef, #7fba00, #ffb900);
}
.edu-icon-box {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 10px;
  background: var(--cyan-pale); border: 1px solid rgba(0,120,212,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.edu-degree { font-size: 17px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.edu-school { font-size: 14px; font-weight: 500; color: var(--blue-vivid); margin-bottom: 4px; }
.edu-meta   { font-size: 13px; font-weight: 300; color: var(--text-4); }
.edu-projs  { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; }
.edu-proj   {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 300; color: var(--text-3);
}
.edu-proj::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-vivid); flex-shrink: 0; }

/* ═══════════════════════════════════════ CONTACT */
#contact { background: var(--bg-base); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.c-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border-2);
}
.c-item:first-child { border-top: 1px solid var(--border-2); }
.c-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px;
  background: var(--cyan-pale); border: 1px solid rgba(0,120,212,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.c-label { font-size: 10px; font-weight: 600; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.c-value { font-size: 14px; font-weight: 500; color: var(--text-2); }
.c-value a { color: var(--blue-vivid); transition: var(--transition); }
.c-value a:hover { color: var(--blue-mid); }
.avail-box {
  margin-top: 24px; background: #ffffff; border: 1px solid var(--border);
  border-radius: 8px; padding: 18px 20px;
}
.avail-title { font-size: 10px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.avail-tags  { display: flex; flex-wrap: wrap; gap: 8px; }
/* Form */
.cf { display: flex; flex-direction: column; gap: 14px; }
.fl { display: block; font-size: 10px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.fi, .ft {
  width: 100%; padding: 10px 14px;
  background: #ffffff; border: 1px solid var(--border);
  border-radius: 4px; color: var(--text-1); font-family: var(--ff);
  font-size: 14px; font-weight: 300; outline: none; resize: none; transition: var(--transition);
}
.fi:focus, .ft:focus {
  border-color: var(--blue-vivid);
  box-shadow: 0 0 0 2px rgba(0,120,212,0.15);
}
.fi::placeholder, .ft::placeholder { color: var(--text-5); }
.ft { height: 120px; }
.fs {
  padding: 12px; border: none; border-radius: 4px; cursor: pointer;
  background: var(--blue-vivid);
  color: #fff; font-family: var(--ff); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  transition: var(--transition); box-shadow: 0 2px 8px rgba(0,120,212,0.3);
}
.fs:hover { background: var(--blue-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,120,212,0.4); }

/* ═══════════════════════════════════════ FOOTER */
footer {
  background: var(--text-1); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0; text-align: center;
}
.footer-logo { font-size: 18px; font-weight: 700; color: #ffffff; letter-spacing: 0.04em; margin-bottom: 20px; }
.footer-logo span { color: #00a4ef; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-nav a:hover { color: #00a4ef; }
.footer-line { width: 36px; height: 2px; background: var(--blue-vivid); margin: 0 auto 24px; border-radius: 1px; }
.footer-copy { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.35); }

/* Scroll top */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--blue-vivid); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; cursor: pointer;
  opacity: 0; box-shadow: 0 2px 12px rgba(0,120,212,0.4);
  transition: var(--transition);
}
#scrollTop.show { opacity: 1; }
#scrollTop:hover { background: var(--blue-mid); transform: translateY(-2px); }

/* ═══════════════════════════════════════ RESPONSIVE */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;}.hero-card{display:none;}
  .about-grid{grid-template-columns:1fr;}.about-portrait{max-width:260px;}
  .skills-grid{grid-template-columns:1fr 1fr;}
  .projects-grid{grid-template-columns:1fr 1fr;}.proj-card.wide{grid-column:span 2;}
  .certs-grid{grid-template-columns:1fr 1fr;}
  .contact-grid{grid-template-columns:1fr;gap:48px;}
}
@media (max-width:640px){
  .nav-links{display:none;}.hamburger{display:flex;}
  .section-pad{padding:72px 0;}
  .skills-grid{grid-template-columns:1fr;}
  .projects-grid{grid-template-columns:1fr;}.proj-card.wide{grid-column:span 1;}
  .wide .proj-inner{grid-template-columns:1fr;}
  .certs-grid{grid-template-columns:1fr;}
  .edu-card{flex-direction:column;padding:24px;}
  .hero-stats{flex-direction:column;gap:18px;}
  .hs+.hs{border-left:none;padding-left:0;border-top:1px solid var(--border-2);padding-top:18px;}
  .timeline{padding-left:24px;}.tl-dot{left:-30px;}
}
