
/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --bg: #060d1a;
  --bg2: #0b1628;
  --bg3: #0f1f35;
  --cyan: #00e5ff;
  --cyan2: #00b4cc;
  --purple: #8b5cf6;
  --purple2: #6d28d9;
  --green: #10b981;
  --text: #f0f6ff;
  --text2: #8ba3c7;
  --text3: #4d6a8a;
  --border: rgba(0,229,255,0.12);
  --card: rgba(11,22,40,0.85);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
[data-theme="light"] {
  --bg: #f0f4ff;
  --bg2: #e4eaf8;
  --bg3: #dae2f5;
  --text: #0a1428;
  --text2: #3d5478;
  --text3: #7a95bc;
  --border: rgba(0,140,180,0.22);
  --card: rgba(224,232,248,0.92);
  --cyan: #00c8e8;
  --cyan2: #009ab5;
  --purple: #5b21b6;
  --purple2: #4c1d95;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Smooth theme transition — targeted, not global ── */
/* Applied only to the properties that actually change with theme */
body,
nav,
.card, .pf-card, .service-card, .about-pillar, .diff-item, .al-item,
.info-card, .contact-card, .modal-box,
.tool-tag, .soft-chip, .dept-pill, .platform-pill, .tag, .pf-cat-badge,
.section-title, .section-tag, h1, h2, h3, h4, p, span, a, li,
.btn-outline, .social-link, .contact-social, .view-btn, .pf-btn,
.hero-badge, .hero-avatar, .theme-btn,
.identity-line-lg, .identity-line-sm, .identity-pillar,
.about-stats-strip, .ast-item, .ap-chip, .al-item,
.footer-name, .footer-links a, .footer-copy,
.edu-logo, .status-badge, .in-progress-badge,
.exp-role, .exp-org, .exp-date, .exp-list li,
.project-card, .portfolio-grid, .pf-card,
footer, section {
  transition:
    background-color 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    color            0.8s cubic-bezier(0.4, 0, 0.2, 1),
    border-color     0.9s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow       0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
/* SVG elements that change stroke/fill with theme */
.hero-symbols svg, .hero-symbols line, .hero-symbols path,
.hero-symbols rect, .hero-symbols circle, .hero-symbols polyline,
.hero-symbols ellipse, .ecg-path {
  transition: stroke 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              fill   0.9s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════
   ANIMATED BACKGROUND
═══════════════════════════════════════════ */
.bg-orbs {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18;
  animation: orb-float 20s infinite ease-in-out;
}
[data-theme="light"] .orb { opacity: 0.12; }
.orb-1 { width: 600px; height: 600px; background: var(--cyan); top: -200px; left: -200px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--purple); bottom: -150px; right: -150px; animation-delay: -7s; }
.orb-3 { width: 400px; height: 400px; background: #00bfff; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -14s; opacity: 0.08; }
[data-theme="light"] .orb-3 { opacity: 0.06; }
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-30px,40px) scale(0.95); }
}

/* ECG PULSE LINE */
.ecg-line {
  position: fixed; bottom: 0; left: 0; width: 100%; height: 60px;
  z-index: 1; pointer-events: none; opacity: 0.22; overflow: hidden;
}
[data-theme="light"] .ecg-line { opacity: 0.35; }
[data-theme="light"] .ecg-path { stroke: #007aad !important; }
.ecg-svg {
  position: absolute; left: 0; top: 0;
  width: 5120px; height: 60px;
}
@keyframes ecg-move {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-2560px); }
}
.ecg-path { animation: ecg-move 22s linear infinite; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%; height: 70px;
  background: rgba(6,13,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
[data-theme="light"] nav { background: rgba(240,244,255,0.85); }
.nav-logo {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--cyan); letter-spacing: -1px;
}
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--text2); text-transform: uppercase;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--cyan); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { transform: scaleX(1); }
.theme-btn {
  background: var(--border); border: 1px solid var(--border); border-radius: 20px;
  width: 44px; height: 24px; cursor: pointer; position: relative; flex-shrink: 0;
  transition: background 0.3s;
}
.theme-btn::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--cyan); transition: transform 0.3s;
}
[data-theme="light"] .theme-btn::after { transform: translateX(20px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 5% 60px; position: relative; z-index: 2;
  gap: 5rem;
}
.hero-left { flex: 1; max-width: 600px; display: flex; flex-direction: column; justify-content: center; }
.hero-top {
  display: flex; align-items: center; gap: 1.4rem; margin-bottom: 2rem;
}
.hero-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--cyan);
  position: relative; flex-shrink: 0; overflow: hidden;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-avatar .avatar-initials { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--cyan); }
.hero-avatar::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(0,229,255,0.35);
  animation: avatar-ring 3s infinite linear;
}
@keyframes avatar-ring {
  0%{box-shadow: 0 0 0 0 rgba(0,229,255,0.35)} 50%{box-shadow: 0 0 0 8px rgba(0,229,255,0)} 100%{box-shadow: 0 0 0 0 rgba(0,229,255,0)}
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan);
  letter-spacing: 0.15em; text-transform: uppercase;
  background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2);
  padding: 6px 14px; border-radius: 20px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.3} }
.hero-name {
  font-family: var(--font-display); font-weight: 800;
  line-height: 1; letter-spacing: -2px; margin-bottom: 1.4rem;
}
.name-first {
  display: block;
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1.15; padding-bottom: 10px; overflow: visible !important;
  background: linear-gradient(135deg, var(--cyan) 30%, var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.name-rest {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text2);
  margin-top: 0.55rem;
  padding-left: 0.1em;
}
.hero-bio {
  color: var(--text2); font-size: 1.05rem; line-height: 1.75;
  max-width: 520px; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan); color: #060d1a; font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em;
  padding: 12px 24px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,229,255,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--cyan); font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em;
  padding: 12px 24px; border-radius: 50px; border: 1.5px solid var(--cyan); cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(0,229,255,0.08); transform: translateY(-2px); }
.hero-socials { display: flex; gap: 1rem; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,229,255,0.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text2);
  transition: all 0.2s;
}
.social-link:hover { background: rgba(0,229,255,0.12); color: var(--cyan); transform: translateY(-3px); border-color: var(--cyan); }
.hero-right {
  flex: 1.3; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; position: relative; min-height: 480px;
}

/* ── Floating background symbols ── */
.hero-symbols {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: visible;
}
.sym {
  position: absolute;
}
/* Individual float keyframes — tiny drift, different axes */
@keyframes float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes float-b { 0%,100%{transform:translateY(0) translateX(0)} 50%{transform:translateY(5px) translateX(3px)} }
@keyframes float-c { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-4px) rotate(3deg)} }
@keyframes float-d { 0%,100%{transform:translateY(0) translateX(0)} 50%{transform:translateY(4px) translateX(-3px)} }
@keyframes float-e { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-5px) scale(1.04)} }
@keyframes float-f { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
@keyframes float-g { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-3px) rotate(-2deg)} }

/* Symbol opacity via CSS — adapts to theme */
.sym { opacity: 0; } /* start hidden, animation reveals to final opacity */

/* Dark mode final opacities */
.sym-syringe  { --sym-op: 0.32; }
.sym-chip     { --sym-op: 0.28; }
.sym-terminal { --sym-op: 0.30; }
.sym-meter    { --sym-op: 0.28; }
.sym-sigma    { --sym-op: 0.30; }
.sym-code     { --sym-op: 0.28; }
.sym-resistor { --sym-op: 0.30; }
.sym-pi       { --sym-op: 0.28; }
.sym-wave     { --sym-op: 0.28; }

/* Light mode — stronger/darker so visible on light bg */
[data-theme="light"] .sym-syringe  { --sym-op: 0.28; }
[data-theme="light"] .sym-chip     { --sym-op: 0.25; }
[data-theme="light"] .sym-terminal { --sym-op: 0.26; }
[data-theme="light"] .sym-meter    { --sym-op: 0.25; }
[data-theme="light"] .sym-sigma    { --sym-op: 0.28; }
[data-theme="light"] .sym-code     { --sym-op: 0.24; }
[data-theme="light"] .sym-resistor { --sym-op: 0.26; }
[data-theme="light"] .sym-pi       { --sym-op: 0.26; }
[data-theme="light"] .sym-wave     { --sym-op: 0.25; }
[data-theme="light"] .exp-featured { background: linear-gradient(135deg, var(--card) 0%, rgba(0,180,204,0.03) 100%); }
[data-theme="light"] .exp-feat-stat { background: rgba(0,180,204,0.06); border-color: rgba(0,180,204,0.2); }
[data-theme="light"] .dept-acc-body { background: rgba(0,0,0,0.03); }

@keyframes sym-appear {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: var(--sym-op, 0.2); transform: scale(1); }
}

/* ── Symbol color CSS variables — theme-aware ── */
:root {
  --sym-c: #00e5ff;   /* cyan strokes */
  --sym-p: #8b5cf6;   /* purple strokes */
  --sym-c-fill: #00e5ff;
  --sym-p-fill: #8b5cf6;
}
[data-theme="light"] {
  --sym-c: #0077aa;
  --sym-p: #5b21b6;
  --sym-c-fill: #0077aa;
  --sym-p-fill: #5b21b6;
}
/* Override all hardcoded SVG colors inside symbols */
.hero-symbols [stroke="#00e5ff"] { stroke: var(--sym-c) !important; }
.hero-symbols [fill="#00e5ff"]   { fill:   var(--sym-c-fill) !important; }
.hero-symbols [stroke="#8b5cf6"] { stroke: var(--sym-p) !important; }
.hero-symbols [fill="#8b5cf6"]   { fill:   var(--sym-p-fill) !important; }
/* Also fix the text element inside chip */
.hero-symbols text[fill="#8b5cf6"] { fill: var(--sym-p) !important; }
.hero-symbols text[fill="#00e5ff"] { fill: var(--sym-c) !important; }
/* ECG line also theme-aware */
.ecg-path [stroke="#00e5ff"] { stroke: var(--sym-c) !important; }

/* Scattered organic positions — 9 symbols */
.sym-syringe  { top: 4%;  right: 10%; animation: sym-appear 1s 0.5s ease forwards, float-a 9s  1.5s ease-in-out infinite; }
.sym-sigma    { top: 11%; right: 1%;  animation: sym-appear 1s 0.7s ease forwards, float-e 11s 1.7s ease-in-out infinite; }
.sym-pi       { top: 17%; right: 32%; animation: sym-appear 1s 1.1s ease forwards, float-b 12s 2.1s ease-in-out infinite; }
.sym-chip     { top: 25%; right: 20%; animation: sym-appear 1s 0.8s ease forwards, float-b 8s  1.8s ease-in-out infinite; }
.sym-code     { top: 40%; right: 2%;  animation: sym-appear 1s 1.4s ease forwards, float-f 8s  2.4s ease-in-out infinite; }
.sym-terminal { top: 54%; right: 16%; animation: sym-appear 1s 1.0s ease forwards, float-c 10s 2.0s ease-in-out infinite; }
.sym-wave     { top: 62%; right: 32%; animation: sym-appear 1s 1.6s ease forwards, float-a 10s 2.6s ease-in-out infinite; }
.sym-meter    { top: 67%; right: 1%;  animation: sym-appear 1s 1.2s ease forwards, float-d 7s  2.2s ease-in-out infinite; }
.sym-resistor { top: 80%; right: 12%; animation: sym-appear 1s 0.9s ease forwards, float-g 9s  1.9s ease-in-out infinite; }

/* ── Identity Panel ── */
.hero-identity { width: 100%; position: relative; z-index: 1; max-width: 520px; }
.identity-phrase {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 2.8rem;
}
/* ── Slogan entrance animations ── */
@keyframes line-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer-sweep {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes accent-glow {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(0,229,255,0)); }
  50%       { filter: drop-shadow(0 0 18px rgba(0,229,255,0.45)); }
}

.identity-line-sm {
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--text3); letter-spacing: 0.22em; text-transform: uppercase;
  line-height: 2;
  opacity: 0;
  animation: line-in 0.55s ease forwards;
}
.identity-line-sm:nth-child(1) { animation-delay: 0.3s; }
.identity-line-sm:nth-child(3) { animation-delay: 0.9s; }

.identity-line-lg {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -1.5px; color: var(--text);
  line-height: 1.0;
  opacity: 0;
  animation: line-in 0.65s cubic-bezier(0.22,1,0.36,1) forwards;
}
.identity-line-lg:nth-child(2) { animation-delay: 0.6s; }
.identity-line-lg:nth-child(4) { animation-delay: 1.2s; }

.identity-line-lg.identity-accent {
  background: linear-gradient(
    90deg,
    var(--cyan) 0%,
    var(--purple) 40%,
    #fff 55%,
    var(--cyan) 70%,
    var(--purple) 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: line-in 0.65s cubic-bezier(0.22,1,0.36,1) 1.2s forwards,
             shimmer-sweep 6s linear 2s infinite,
             accent-glow   6s ease   2s infinite;
}
.identity-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  margin-bottom: 2.2rem; opacity: 0.25;
}
.identity-pillars {
  display: flex; align-items: flex-start; gap: 0; flex-wrap: nowrap;
}
.identity-pillar {
  display: flex; flex-direction: column; gap: 5px;
  flex: 1; padding-left: 1.1rem;
  border-left: 2px solid rgba(0,229,255,0.15);
  transition: border-color 0.3s;
}
.identity-pillar:hover { border-color: var(--cyan); }
.identity-pillar:first-child { border-left: none; padding-left: 0; }
.ip-icon { font-size: 1.5rem; line-height: 1; }
.ip-label {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.3px;
}
.ip-sub {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--text3); letter-spacing: 0.05em;
}
.identity-sep {
  font-family: var(--font-mono); font-size: 1rem; color: var(--text3);
  align-self: center; padding: 0 0.7rem; flex-shrink: 0; opacity: 0.35;
}

/* ═══════════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════════ */
section { padding: 60px 5% 50px; position: relative; z-index: 2; }
#hero { padding-top: 100px; padding-bottom: 60px; }
#skills { padding-top: 90px; padding-bottom: 80px; }
#experience { padding-top: 80px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-tag::before { content: '//'; color: var(--text3); }
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem);
  font-weight: 800; letter-spacing: -1px; margin-bottom: 0.5rem;
  line-height: 1.1;
}
.section-title span { color: var(--cyan); }
.section-sub { color: var(--text2); font-size: 1rem; margin-bottom: 3rem; max-width: 560px; }
.divider { width: 60px; height: 3px; background: linear-gradient(90deg,var(--cyan),var(--purple)); border-radius: 2px; margin: 1rem 0 2.5rem; }

/* ═══════════════════════════════════════════
   CARDS
═══════════════════════════════════════════ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { color: var(--text2); font-size: 0.9rem; line-height: 1.6; }

/* TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
  border: 1px solid rgba(0,229,255,0.25); color: var(--cyan);
  background: rgba(0,229,255,0.05);
}
.tag.purple { border-color: rgba(139,92,246,0.3); color: var(--purple); background: rgba(139,92,246,0.05); }
.tag.green { border-color: rgba(16,185,129,0.3); color: #10b981; background: rgba(16,185,129,0.05); }
.tag.orange { border-color: rgba(251,146,60,0.3); color: #fb923c; background: rgba(251,146,60,0.05); }

/* VIEW BUTTON */
.view-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--cyan); background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.2);
  padding: 7px 16px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s; margin-top: 1rem;
}
.view-btn:hover { background: rgba(0,229,255,0.12); border-color: var(--cyan); }

/* ═══════════════════════════════════════════
   ABOUT SECTION — REDESIGNED
═══════════════════════════════════════════ */
.about-new-grid {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: start;
}

/* ── Left: Identity Panel ── */
.about-statement {
  margin-bottom: 2.2rem;
}
.about-statement .st-label {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text3);
  letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 0.6rem;
}
.about-statement .st-headline {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: var(--text);
}
.about-statement .st-headline span { color: var(--cyan); }

/* Stats strip */
.about-stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-bottom: 2rem;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.ast-item {
  padding: 14px 10px; text-align: center;
  border-right: 1px solid var(--border);
  background: rgba(0,229,255,0.02);
  transition: background 0.2s;
}
.ast-item:last-child { border-right: none; }
.ast-item:hover { background: rgba(0,229,255,0.06); }
.ast-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: var(--cyan); line-height: 1; display: block;
}
.ast-lbl {
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; display: block;
}

/* Domain pillars */
.about-pillars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; }
.about-pillar {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.about-pillar::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
}
.about-pillar.p-clinical::before { background: var(--cyan); }
.about-pillar.p-data::before    { background: var(--purple); }
.about-pillar.p-freelance::before { background: #10b981; }
.about-pillar:hover { border-color: rgba(0,229,255,0.3); transform: translateX(2px); }
.ap-header { display: flex; align-items: center; gap: 10px; }
.ap-icon { font-size: 1.2rem; flex-shrink: 0; }
.ap-title {
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 700;
  flex: 1;
}
.ap-badge {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em;
  padding: 2px 8px; border-radius: 20px;
}
.p-clinical .ap-badge { color: var(--cyan); background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2); }
.p-data .ap-badge    { color: var(--purple); background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2); }
.p-freelance .ap-badge { color: #10b981; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ap-chip {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--text3);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 5px;
}

/* Languages (keep but compact) */
.about-langs { display: flex; gap: 1rem; flex-wrap: wrap; }
.al-item {
  flex: 1; min-width: 140px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px;
}
.al-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.al-flag { font-size: 1.1rem; }
.al-name { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; }
.al-level { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text3); letter-spacing: 0.05em; text-transform: uppercase; }
.al-bar { height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; margin-top: 6px; }
.al-fill { height: 100%; border-radius: 2px; }

/* Closing signature */
.about-signature {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(0,229,255,0.04), rgba(139,92,246,0.04));
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
}
.sig-text {
  font-size: 0.95rem; line-height: 1.75; color: var(--text2);
  font-style: italic; margin-bottom: 0.8rem;
}
.sig-name {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--cyan); letter-spacing: 0.05em;
}

/* ── Right: Bio + Differentiators + Services ── */
.about-bio-text {
  font-size: 1.02rem; line-height: 1.8; color: var(--text2); margin-bottom: 2rem;
}
.about-bio-text strong { color: var(--text); font-weight: 600; }

.about-differentiators {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem;
}
.diff-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.diff-item:hover { border-color: rgba(0,229,255,0.25); }
.diff-icon {
  font-size: 1.1rem; flex-shrink: 0; margin-top: 1px;
}
.diff-text { font-size: 0.88rem; color: var(--text2); line-height: 1.5; }
.diff-text strong { color: var(--text); font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px;
  transition: all 0.3s;
}
.service-card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-3px); }
.service-card .s-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.service-card h4 { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; margin-bottom: 0.25rem; }
.service-card p { font-size: 0.78rem; color: var(--text2); line-height: 1.5; }

/* ═══════════════════════════════════════════
   EDUCATION SECTION
═══════════════════════════════════════════ */
.edu-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.edu-header { display: flex; align-items: center; gap: 16px; margin-bottom: 1.2rem; }
.edu-logo {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #1a3050, #0d2040);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--cyan);
  flex-shrink: 0;
}
.edu-meta h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.edu-meta p { color: var(--text2); font-size: 0.88rem; }
.edu-stats { display: flex; gap: 1.5rem; margin: 1.2rem 0; flex-wrap: wrap; }
.edu-stat { text-align: center; }
.edu-stat .n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--cyan); }
.edu-stat .l { font-size: 0.72rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; }
.depi-card { background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(0,229,255,0.04)); border: 1px solid rgba(139,92,246,0.2); }
.status-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.68rem; color: #10b981; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); padding: 3px 10px; border-radius: 20px; margin-bottom: 0.5rem; }
.status-badge::before { content:''; width:5px; height:5px; border-radius:50%; background:#10b981; animation:pulse 2s infinite; }

/* DEPI module list */
.depi-modules {
  display: flex; flex-direction: column; gap: 5px; margin: 1rem 0;
}
.depi-mod {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--text3);
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.depi-mod:last-child { border-bottom: none; }
.depi-mod .mod-n {
  color: var(--purple); font-weight: 600; flex-shrink: 0; width: 24px;
}

/* BSU training progress */
.bsu-training {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.bsu-training-label {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; display: block;
}
.bsu-dept-row {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.bsu-dept {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--cyan);
  background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.18);
  padding: 3px 10px; border-radius: 6px;
}

/* ═══════════════════════════════════════════
   SKILLS SECTION — TABBED DESIGN
═══════════════════════════════════════════ */

/* Tab bar */
.sk-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sk-tab {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  padding: 10px 20px; border-radius: 30px;
  border: 1.5px solid var(--border); cursor: pointer;
  background: transparent; color: var(--text2);
  transition: all 0.25s;
}
.sk-tab:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,255,0.04); }
.sk-tab.active {
  background: var(--cyan); color: #060d1a; border-color: var(--cyan);
}
.sk-tab-icon { font-size: 1rem; }

/* Panels */
.sk-panels { position: relative; }
.sk-panel { display: none; }
.sk-panel.active { display: block; }

/* Subsection */
.sk-subsection { margin-bottom: 2.2rem; }
.sk-sub-label {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 8px;
}
.sk-sub-label::after { content:''; flex:1; height:1px; background:var(--border); }

/* Card grid */
.skill-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
}
.sk-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 9px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.sk-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.sk-card-top { display: flex; align-items: center; gap: 11px; }
.sk-icon-wrap {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.sk-cyan   .sk-icon-wrap { background: rgba(0,229,255,0.1);  border: 1px solid rgba(0,229,255,0.2); }
.sk-purple .sk-icon-wrap { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); }
.sk-green  .sk-icon-wrap { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }
.sk-card:hover.sk-cyan   { border-color: rgba(0,229,255,0.35); }
.sk-card:hover.sk-purple { border-color: rgba(139,92,246,0.35); }
.sk-card:hover.sk-green  { border-color: rgba(16,185,129,0.35); }
.sk-name-wrap { flex: 1; min-width: 0; }
.sk-name { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; line-height: 1.3; }
.sk-pct  { font-family: var(--font-mono); font-size: 0.68rem; margin-top: 2px; }
.sk-cyan   .sk-pct { color: var(--cyan); }
.sk-purple .sk-pct { color: var(--purple); }
.sk-green  .sk-pct { color: #10b981; }
.sk-bar { height: 3px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.sk-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.3s cubic-bezier(0.25,1,0.5,1); }
.sk-cyan   .sk-fill { background: linear-gradient(90deg, var(--cyan2), var(--cyan)); }
.sk-purple .sk-fill { background: linear-gradient(90deg, var(--purple2), var(--purple)); }
.sk-green  .sk-fill { background: linear-gradient(90deg, #059669, #10b981); }

/* Keyword cloud */
.sk-keyword-cloud {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.sk-kw {
  font-family: var(--font-mono); font-size: 0.68rem;
  padding: 4px 11px; border-radius: 6px;
  border: 1px solid var(--border); color: var(--text3);
  background: rgba(255,255,255,0.02); transition: all 0.2s;
}
.sk-kw:hover { color: var(--text2); border-color: rgba(255,255,255,0.12); }
.sk-kw-cyan   { border-color: rgba(0,229,255,0.18); color: rgba(0,229,255,0.7); }
.sk-kw-purple { border-color: rgba(139,92,246,0.18); color: rgba(139,92,246,0.7); }
.sk-kw-green  { border-color: rgba(16,185,129,0.18); color: rgba(16,185,129,0.7); }

/* ═══════════════════════════════════════════
   EXPERIENCE SECTION — REDESIGNED
═══════════════════════════════════════════ */
.exp-featured {
  background: linear-gradient(135deg, var(--card) 0%, rgba(0,229,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  position: relative; overflow: hidden;
  margin-bottom: 3rem;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.exp-featured:hover { border-color: rgba(0,229,255,0.3); box-shadow: 0 16px 48px rgba(0,229,255,0.06); }
.exp-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--cyan));
  background-size: 200% 100%; animation: shimmer-line 4s linear infinite;
}
@keyframes shimmer-line {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.exp-feat-left { display: flex; flex-direction: column; }
.exp-feat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--cyan);
  background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 1rem; width: fit-content;
}
.exp-feat-badge::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--cyan); animation: pulse 2s infinite; }
.exp-feat-role {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 0.35rem;
}
.exp-feat-org { color: var(--cyan); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.exp-feat-date { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text3); margin-bottom: 1rem; }
.exp-feat-desc { font-size: 0.87rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.2rem; }

/* Right column */
.exp-feat-right { display: flex; flex-direction: column; gap: 1.2rem; }
.exp-feat-stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.exp-feat-stat {
  background: rgba(0,229,255,0.04); border: 1px solid rgba(0,229,255,0.12);
  border-radius: 10px; padding: 14px 12px; text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.exp-feat-stat:hover { background: rgba(0,229,255,0.08); border-color: rgba(0,229,255,0.25); }
.exp-feat-stat .efn {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--cyan); display: block; line-height: 1;
}
.exp-feat-stat .efl {
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; display: block;
}

/* Responsibility list — styled by category */
.exp-resp-list { list-style: none; padding: 0; }
.exp-resp-list li {
  font-size: 0.83rem; color: var(--text2); padding: 7px 0 7px 18px;
  position: relative; line-height: 1.55;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.exp-resp-list li:last-child { border-bottom: none; }
.exp-resp-list li::before { content:'▸'; position:absolute; left:0; color:var(--cyan); font-size:0.6rem; top:10px; }
.exp-resp-list li strong { color: var(--text); font-weight: 600; }

/* Timeline section */
.exp-timeline-header {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 2rem; display: flex; align-items: center; gap: 10px;
}
.exp-timeline-header::after { content:''; flex:1; height:1px; background:var(--border); }

.exp-timeline { position: relative; padding-left: 36px; }
.exp-timeline::before {
  content: ''; position: absolute; left: 11px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, var(--purple) 0%, #f59e0b 50%, var(--cyan) 100%);
  opacity: 0.5;
}
.exp-tl-item { position: relative; margin-bottom: 1.8rem; }
.exp-tl-item:last-child { margin-bottom: 0; }

.exp-tl-dot {
  position: absolute; left: -29px; top: 16px;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800; color: #060d1a;
  box-shadow: 0 0 0 3px var(--bg);
  z-index: 1;
}
.exp-tl-dot.purple { background: var(--purple); box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(139,92,246,0.4); }
.exp-tl-dot.amber  { background: #f59e0b; box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(245,158,11,0.4); }
.exp-tl-dot.cyan   { background: var(--cyan); box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(0,229,255,0.4); }

.exp-tl-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 22px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.exp-tl-item:nth-child(1) .exp-tl-card { border-left-color: var(--purple); }
.exp-tl-item:nth-child(2) .exp-tl-card { border-left-color: #f59e0b; }
.exp-tl-item:nth-child(3) .exp-tl-card { border-left-color: var(--cyan); }
.exp-tl-card:hover { transform: translateX(5px); box-shadow: -4px 0 20px rgba(0,0,0,0.15); }
.exp-tl-item:nth-child(1) .exp-tl-card:hover { border-color: rgba(139,92,246,0.4); }
.exp-tl-item:nth-child(2) .exp-tl-card:hover { border-color: rgba(245,158,11,0.4); }
.exp-tl-item:nth-child(3) .exp-tl-card:hover { border-color: rgba(0,229,255,0.4); }

.exp-tl-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.exp-tl-role { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.exp-tl-date {
  font-family: var(--font-mono); font-size: 0.63rem; color: var(--text3);
  white-space: nowrap; flex-shrink: 0; margin-top: 3px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 4px;
}
.exp-tl-org { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.8rem; }
.exp-tl-org.purple { color: var(--purple); }
.exp-tl-org.amber  { color: #f59e0b; }
.exp-tl-org.cyan   { color: var(--cyan); }
.exp-tl-list { list-style: none; padding: 0; margin-bottom: 0.8rem; }
.exp-tl-list li {
  font-size: 0.83rem; color: var(--text2); padding: 3px 0 3px 16px;
  position: relative; line-height: 1.55;
}
.exp-tl-list li::before { content:'▸'; position:absolute; left:0; color:var(--text3); font-size:0.6rem; top:5px; }
.exp-tl-list li strong { color: var(--text); font-weight: 600; }

/* Department Accordion */
.dept-accordion { display: flex; flex-direction: column; gap: 5px; margin-bottom: 1.2rem; }
.dept-acc-item {
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: border-color 0.25s;
}
.dept-acc-item.open { border-color: rgba(0,229,255,0.4); }
.dept-acc-btn {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: rgba(0,229,255,0.03);
  cursor: pointer; border: none; text-align: left;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  color: var(--text); transition: background 0.2s;
}
.dept-acc-btn:hover { background: rgba(0,229,255,0.07); }
.dept-acc-btn .dept-icon { font-size: 0.95rem; flex-shrink: 0; }
.dept-acc-btn .dept-name { flex: 1; }
.dept-acc-arrow { font-size: 0.6rem; color: var(--text3); transition: transform 0.25s; flex-shrink: 0; }
.dept-acc-item.open .dept-acc-arrow { transform: rotate(180deg); }
.dept-acc-body { display: none; padding: 12px 14px; background: rgba(0,0,0,0.12); }
.dept-acc-item.open .dept-acc-body { display: block; }
.dept-acc-devices {
  font-family: var(--font-mono); font-size: 0.67rem;
  color: var(--text2); line-height: 1.8; margin-bottom: 8px;
}
.dept-acc-brands {
  font-family: var(--font-mono); font-size: 0.64rem; color: var(--text3);
  border-top: 1px solid var(--border); padding-top: 7px; margin-top: 7px;
}
.dept-acc-brands span { color: var(--cyan); font-weight: 600; }

/* ═══════════════════════════════════════════
   PROJECTS & PORTFOLIO — UNIFIED SECTION
═══════════════════════════════════════════ */
.proj-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.proj-tab {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  padding: 9px 18px; border-radius: 30px;
  border: 1.5px solid var(--border); cursor: pointer;
  background: transparent; color: var(--text2); transition: all 0.25s;
}
.proj-tab:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,255,0.04); }
.proj-tab.active { background: var(--cyan); color: #060d1a; border-color: var(--cyan); }
.proj-panels .proj-panel { display: none; }
.proj-panels .proj-panel.active { display: block; }
.proj-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem;
}
.proj-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.proj-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,0.3); box-shadow: 0 14px 35px rgba(0,0,0,0.25); }
.proj-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.proj-card-icon { font-size: 2rem; }
.proj-card-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.proj-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.proj-card p { color: var(--text2); font-size: 0.86rem; line-height: 1.65; flex: 1; }
/* Portfolio item card (simpler, no icon) */
.pf-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.3s, border-color 0.3s;
}
.pf-card:hover { transform: translateY(-3px); border-color: rgba(0,229,255,0.25); }
.pf-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pf-icon { font-size: 1.6rem; flex-shrink: 0; }
.pf-meta { flex: 1; }
.pf-id { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text3); letter-spacing: 0.1em; }
.pf-title { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; line-height: 1.3; margin-top: 2px; }
.pf-cat-badge {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 6px; flex-shrink: 0; white-space: nowrap;
}
.pf-cat-badge.excel   { color: #10b981; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); }
.pf-cat-badge.cv      { color: var(--cyan); background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.2); }
.pf-cat-badge.linkedin{ color: #60a5fa; background: rgba(96,165,250,0.06); border: 1px solid rgba(96,165,250,0.2); }
.pf-cat-badge.ppt     { color: var(--purple); background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.2); }
.pf-cat-badge.research{ color: #fb923c; background: rgba(251,146,60,0.06); border: 1px solid rgba(251,146,60,0.2); }
.pf-desc { font-size: 0.82rem; color: var(--text2); line-height: 1.6; flex: 1; }
.pf-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.pf-status { font-family: var(--font-mono); font-size: 0.62rem; padding: 2px 8px; border-radius: 5px; }
.pf-status.delivered { color: #10b981; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.15); }
.pf-status.adopted   { color: var(--cyan); background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.15); }
.pf-status.self      { color: var(--purple); background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.15); }
.pf-lang { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text3); }

/* ═══════════════════════════════════════════
   PORTFOLIO SECTION (FREELANCE)
═══════════════════════════════════════════ */
#portfolio { background: rgba(0,0,0,0.12); }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.5rem; }
.pf-btn {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 8px 18px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text3);
  background: rgba(255,255,255,0.02); cursor: pointer; transition: all 0.2s;
}
.pf-btn:hover, .pf-btn.active {
  border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,255,0.06);
}
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.pf-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
}
.pf-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,0.3); box-shadow: 0 12px 35px rgba(0,0,0,0.3); }
.pf-card[style*="none"] { display: none; }
.pf-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pf-icon { font-size: 1.8rem; flex-shrink: 0; }
.pf-meta { flex: 1; }
.pf-id { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text3); letter-spacing: 0.1em; }
.pf-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; line-height: 1.25; margin-top: 3px; }
.pf-cat-badge {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 6px;
  flex-shrink: 0; white-space: nowrap;
}
.pf-cat-badge.excel { color: #10b981; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); }
.pf-cat-badge.cv { color: var(--cyan); background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.2); }
.pf-cat-badge.linkedin { color: #60a5fa; background: rgba(96,165,250,0.06); border: 1px solid rgba(96,165,250,0.2); }
.pf-cat-badge.ppt { color: var(--purple); background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.2); }
.pf-cat-badge.research { color: #fb923c; background: rgba(251,146,60,0.06); border: 1px solid rgba(251,146,60,0.2); }
.pf-desc { font-size: 0.83rem; color: var(--text2); line-height: 1.6; flex: 1; }
.pf-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.pf-status {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 6px;
}
.pf-status.delivered { color: #10b981; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.15); }
.pf-status.adopted { color: var(--cyan); background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.15); }
.pf-status.self { color: var(--purple); background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.15); }
.pf-lang {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--text3);
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.contact-card .cc-icon { font-size: 1.5rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(0,229,255,0.06); border-radius: 10px; flex-shrink: 0; }
.contact-card .cc-label { font-size: 0.72rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-card .cc-value { font-size: 0.88rem; color: var(--text); font-weight: 500; }
.contact-socials { display: flex; flex-direction: column; gap: 12px; margin-top: 1.5rem; }
.social-group-label {
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 2px;
}
.social-group-row { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-social {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  color: var(--text2); transition: all 0.2s; position: relative;
}
.contact-social:hover { background: rgba(0,229,255,0.08); color: var(--cyan); border-color: var(--cyan); transform: translateY(-3px); }
/* Social brand colors on hover */
.contact-social.cs-whatsapp:hover { background: rgba(37,211,102,0.1); border-color: #25d366; color: #25d366; }
.contact-social.cs-facebook:hover { background: rgba(24,119,242,0.1); border-color: #1877f2; color: #1877f2; }
.contact-social.cs-instagram:hover { background: rgba(228,64,95,0.1); border-color: #e4405f; color: #e4405f; }
.contact-social.cs-telegram:hover { background: rgba(0,136,204,0.1); border-color: #0088cc; color: #0088cc; }
.contact-social.cs-upwork:hover { background: rgba(20,164,77,0.1); border-color: #14a44d; color: #14a44d; }
.contact-social.cs-fiverr:hover { background: rgba(29,191,115,0.1); border-color: #1dbf73; color: #1dbf73; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.78rem; font-weight: 500; color: var(--text2); letter-spacing: 0.03em; }
.form-group input, .form-group textarea {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,0.08); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { align-self: flex-start; }
.form-note { font-size: 0.78rem; color: var(--text3); margin-top: 8px; line-height: 1.6; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: rgba(0,0,0,0.3); border-top: 1px solid var(--border);
  padding: 40px 5%; text-align: center; position: relative; z-index: 2;
}
.footer-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.footer-name span { color: var(--cyan); }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin: 1rem 0; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--text3); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-size: 0.78rem; color: var(--text3); }

/* ═══════════════════════════════════════════
   MODAL
═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; max-width: 820px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  padding: 36px; transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: sticky; top: 0; float: right; margin-bottom: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  cursor: pointer; font-size: 1.2rem; color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.modal-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; clear: both; }
.modal-sub { color: var(--text2); font-size: 0.9rem; margin-bottom: 2rem; }
.dept-block { margin-bottom: 1.8rem; }
.dept-block h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 8px; }
.dept-block ul { list-style: none; padding: 0; }
.dept-block ul li { font-size: 0.88rem; color: var(--text2); padding: 3px 0 3px 16px; position: relative; }
.dept-block ul li::before { content:'▸'; position:absolute; left:0; color:var(--cyan); font-size:0.65rem; top:5px; }
.modal-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .modal-two-col { grid-template-columns: 1fr; } }

/* Leadership Timeline */
.leadership-timeline { position: relative; padding-left: 24px; }
.leadership-timeline::before { content:''; position:absolute; left:7px; top:0; bottom:0; width:2px; background: linear-gradient(180deg, var(--cyan), var(--purple)); }
.lt-item { position: relative; margin-bottom: 2rem; }
.lt-dot { position:absolute; left:-24px; top:4px; width:14px; height:14px; border-radius:50%; background: var(--cyan); border: 2px solid var(--bg2); }
.lt-dot.purple { background: var(--purple); }
.lt-dot.green { background: var(--green); }
.lt-year { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text3); margin-bottom: 4px; }
.lt-role { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.lt-list { list-style: none; padding: 0; }
.lt-list li { font-size: 0.85rem; color: var(--text2); padding: 2px 0 2px 14px; position: relative; }
.lt-list li::before { content:'▸'; position:absolute; left:0; color:var(--purple); font-size:0.65rem; top:4px; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 600px) { .modal-two-col { grid-template-columns: 1fr; } }

/* ═══════════════════════════════
   TABLET — 900px
═══════════════════════════════ */
@media (max-width: 900px) {

  /* NAV */
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--bg2); flex-direction: column; align-items: center; padding: 24px; gap: 1.2rem; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  /* HERO */
  #hero { flex-direction: column; padding: 90px 5% 40px; gap: 2rem; }
  .hero-right { max-width: 100%; min-height: auto; }
  .hero-symbols { display: none; }
  .identity-pillars { justify-content: flex-start; gap: 1.2rem; }
  .name-first { font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .identity-line-lg { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* ABOUT */
  .about-new-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats-strip { grid-template-columns: repeat(3, 1fr); }
  .about-pillars { gap: 0.8rem; }

  /* EDUCATION */
  .edu-grid { grid-template-columns: 1fr; }

  /* SKILLS */
  .sk-tabs { gap: 6px; }
  .sk-tab { padding: 8px 14px; font-size: 0.78rem; }
  .skill-cards-grid { grid-template-columns: repeat(2, 1fr); }

  /* EXPERIENCE */
  
  .exp-feat-stat-row { grid-template-columns: repeat(4, 1fr); }

  /* PROJECTS */
  .proj-tabs { gap: 6px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }

  /* CONTACT */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* FOOTER */
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
}

/* ═══════════════════════════════
   MOBILE — 480px
═══════════════════════════════ */
@media (max-width: 480px) {

  section { padding: 48px 4% 40px; }
  #skills { padding-top: 64px; }
  #experience { padding-top: 64px; }

  /* HERO */
  #hero { padding: 80px 4% 32px; gap: 1.6rem; }
  .hero-top { flex-wrap: wrap; gap: 0.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; justify-content: center; }
  .hero-badge { font-size: 0.62rem; padding: 5px 12px; }
  .name-first { font-size: clamp(3rem, 16vw, 4.5rem); letter-spacing: -2px; }
  .name-rest { font-size: 1rem; letter-spacing: 0.15em; }
  .hero-bio { font-size: 0.87rem; }
  .identity-line-lg { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .identity-pillars { flex-direction: row; flex-wrap: wrap; gap: 0.8rem; }
  .identity-pillar { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 0.8rem; width: 100%; }
  .identity-pillar:first-child { border-top: none; padding-top: 0; }

  /* SECTION TITLES */
  .section-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }

  /* ABOUT */
  .about-stats-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ast-num { font-size: 1.4rem; }
  .about-pillars { gap: 6px; }
  .ap-chips { gap: 5px; }
  .ap-chip { font-size: 0.62rem; }
  .about-bio-text { font-size: 0.87rem; }
  .diff-item { gap: 10px; }
  .diff-icon { font-size: 1.2rem; }

  /* EDUCATION */
  .edu-stats { gap: 1rem; }
  .edu-stat .n { font-size: 1.3rem; }
  .depi-modules { gap: 3px; }
  .depi-mod { font-size: 0.65rem; }

  /* SKILLS */
  .sk-tabs { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; gap: 6px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .sk-tab { white-space: nowrap; flex-shrink: 0; padding: 7px 12px; font-size: 0.72rem; }
  .sk-tab-label { display: none; }
  .sk-tab-icon { font-size: 1.1rem; }
  .skill-cards-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sk-card { padding: 11px 12px; }
  .sk-name { font-size: 0.72rem; }
  .sk-pct { font-size: 0.62rem; }
  .sk-icon-wrap { width: 28px; height: 28px; font-size: 0.85rem; }
  .sk-keyword-cloud { gap: 5px; }
  .sk-kw { font-size: 0.63rem; padding: 3px 8px; }
  .sk-sub-label { font-size: 0.62rem; }

  /* EXPERIENCE */
  .exp-featured { padding: 20px; gap: 1.4rem; }
  .exp-feat-role { font-size: 1.1rem; }
  .exp-feat-stat-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .exp-feat-stat { padding: 10px 8px; }
  .exp-feat-stat .efn { font-size: 1.3rem; }
  .exp-feat-stat .efl { font-size: 0.55rem; }
  .dept-acc-btn { font-size: 0.75rem; padding: 9px 12px; }
  .dept-acc-devices { font-size: 0.63rem; }
  .exp-resp-list li { font-size: 0.78rem; }
  .exp-timeline { padding-left: 26px; }
  .exp-tl-dot { width: 14px; height: 14px; left: -22px; }
  .exp-tl-card { padding: 14px 16px; }
  .exp-tl-role { font-size: 0.88rem; }
  .exp-tl-list li { font-size: 0.78rem; }

  /* PROJECTS */
  .proj-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .proj-tab { white-space: nowrap; flex-shrink: 0; font-size: 0.75rem; padding: 7px 12px; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card { padding: 18px; }
  .proj-card h3 { font-size: 0.95rem; }
  .proj-card p { font-size: 0.83rem; }
  .pf-card { padding: 14px; }
  .pf-title { font-size: 0.85rem; }
  .pf-desc { font-size: 0.8rem; }
  .portfolio-filters { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .pf-btn { white-space: nowrap; flex-shrink: 0; }

  /* CONTACT */
  .contact-card { padding: 12px 14px; }
  .cc-value { font-size: 0.82rem; word-break: break-all; }
  .social-group-row { gap: 6px; }
  .contact-social { width: 38px; height: 38px; border-radius: 10px; }
  .contact-form { gap: 10px; }
  .form-group input, .form-group textarea { font-size: 0.88rem; }

  /* MODALS */
  .modal-box { padding: 20px; border-radius: 12px; max-height: 85vh; }
  .modal-title { font-size: 1.05rem; }
  .dept-block h4 { font-size: 0.82rem; }
  .dept-block li { font-size: 0.78rem; }

  /* FOOTER */
  .footer-name { font-size: 1.2rem; }
  .footer-links { gap: 0.6rem; font-size: 0.8rem; }
}

/* ═══════════════════════════════
   SMALL MOBILE — 360px
═══════════════════════════════ */
@media (max-width: 360px) {
  .name-first { font-size: clamp(2.5rem, 17vw, 3.5rem); }
  .skill-cards-grid { grid-template-columns: 1fr; }
  .exp-feat-stat-row { grid-template-columns: repeat(2, 1fr); }
  .about-stats-strip { grid-template-columns: repeat(3, 1fr); }
  .social-group-row { gap: 5px; }
  .contact-social { width: 34px; height: 34px; }
}

/* ═══════════════════════════════════════════
   NEW EFFECTS — Custom Cursor
═══════════════════════════════════════════ */
html { cursor: none; }
body { cursor: auto; }
a { cursor: pointer; }

.cursor-dot { display: none !important;
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 1.5px solid rgba(0,229,255,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s, background 0.15s;
}
.cursor-dot.hover { width: 12px; height: 12px; }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--cyan); background: rgba(0,229,255,0.06); }
.cursor-ring.click { width: 30px; height: 30px; border-width: 3px; }
[data-theme="light"] .cursor-dot { display: none !important; background: #0077aa; }
[data-theme="light"] .cursor-ring { border-color: rgba(0,119,170,0.5); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } html, body, a { cursor: auto; } }

/* ═══════════════════════════════════════════
   NEW EFFECTS — Scroll Progress Bar
═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1001;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--cyan));
  background-size: 200% 100%; animation: shimmer-line 4s linear infinite;
  width: 0%; transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════
   NEW EFFECTS — Preloader
═══════════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--cyan) 30%, var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: preloader-pulse 1.5s ease-in-out infinite;
}
.preloader-text {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text3);
  letter-spacing: 3px; text-transform: uppercase;
}
@keyframes preloader-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ═══════════════════════════════════════════
   NEW EFFECTS — Noise Texture Overlay
═══════════════════════════════════════════ */
.noise-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}
[data-theme="light"] .noise-overlay { opacity: 0.03; }

/* ═══════════════════════════════════════════
   NEW EFFECTS — Particle Canvas
═══════════════════════════════════════════ */
#particle-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}

/* ═══════════════════════════════════════════
   NEW EFFECTS — 3D Card Tilt
═══════════════════════════════════════════ */
.tilt-card { transform-style: preserve-3d; transition: transform 0.15s ease; }
.tilt-card .card-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,229,255,0.06), transparent 40%);
}
.tilt-card:hover .card-glow { opacity: 1; }

/* ═══════════════════════════════════════════
   NEW EFFECTS — Directional Reveals
═══════════════════════════════════════════ */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════
   NEW EFFECTS — Enhanced Skill Bar Shimmer
═══════════════════════════════════════════ */
.sk-fill { position: relative; overflow: hidden; }
.sk-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: bar-shimmer 2s infinite;
}
@keyframes bar-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ═══════════════════════════════════════════
   NEW EFFECTS — Completed Badge
═══════════════════════════════════════════ */
.completed-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.68rem; color: #10b981;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
  padding: 3px 10px; border-radius: 20px;
}
.completed-badge::before { content: '✓'; font-weight: 700; }

/* ═══════════════════════════════════════════
   NEW EFFECTS — Counter
═══════════════════════════════════════════ */
.counter { display: inline-block; font-variant-numeric: tabular-nums; }

/* ═══════════════════════════════════════════
   NEW EFFECTS — Magnetic Buttons
═══════════════════════════════════════════ */
.magnetic { transition: transform 0.2s ease; }

/* ═══════════════════════════════════════════
   ACCESSIBILITY — Reduced Motion
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-dot, .cursor-ring { display: none !important; }
  #particle-canvas { display: none !important; }
}

/* ═══════════════════════════════════════════
   ENHANCED RESPONSIVE — Large Tablet (1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-left { max-width: 100%; }
  .hero-right { max-width: 100%; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .about-new-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   ENHANCED RESPONSIVE — Tablet Fix (768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .hero-avatar { width: 90px; height: 90px; }
  .hero-avatar img { width: 100%; height: 100%; }
  .proj-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .edu-grid { grid-template-columns: 1fr; }
  
  .exp-feat-stat-row { grid-template-columns: repeat(2, 1fr); }
  .about-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .about-pillars { flex-direction: column; }
  .identity-pillars { flex-direction: column; gap: 0.8rem; }
  .identity-pillar { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 0.8rem; }
  .identity-pillar:first-child { border-top: none; }
}

/* ═══════════════════════════════════════════
   ENHANCED RESPONSIVE — Mobile Polish (480px)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-avatar { width: 75px; height: 75px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .about-lang-bars { grid-template-columns: 1fr; }
  .skill-cards-grid { grid-template-columns: 1fr; }
  nav .nav-container { padding: 0 14px; }
  .logo { font-size: 1.2rem; }
  .scroll-progress { height: 2px; }
  .modal-box { margin: 8px; padding: 16px; border-radius: 10px; max-height: 90vh; }
  .modal-close { top: 8px; right: 8px; width: 28px; height: 28px; font-size: 1rem; }
  .depi-modules { grid-template-columns: 1fr; }
  .exp-tl-card { padding: 12px 14px; }
  .contact-card { padding: 10px 12px; }
  .footer-name { font-size: 1.1rem; }
  .pre-uni-strip { font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════
   ENHANCED RESPONSIVE — Small Mobile (320px)
═══════════════════════════════════════════ */
@media (max-width: 320px) {
  body { font-size: 14px; }
  .name-first { font-size: 2.2rem !important; }
  .name-rest { font-size: 0.85rem; }
  .section-title { font-size: 1.5rem !important; }
  .hero-avatar { width: 65px; height: 65px; }
  section { padding: 36px 3% 32px; }
  .btn-primary, .btn-outline { font-size: 0.82rem; padding: 10px 16px; }
}

/* ═══════════════════════════════════════════
   GLOBAL — Ensure images responsive
═══════════════════════════════════════════ */
img { max-width: 100%; height: auto; }
.hero-avatar img { border-radius: 50%; object-fit: cover; object-position: center bottom; transform-origin: center bottom; transform: scale(1.4); }

/* ═══════════════════════════════════════════
   FIX — Modal close button z-index & position
═══════════════════════════════════════════ */
.modal-close {
  position: sticky;
  top: 0;
  z-index: 10;
  float: right;
}

/* ═══════════════════════════════════════════
   About Photo Section
═══════════════════════════════════════════ */
.about-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,229,255,0.08);
}

/* ═══════════════════════════════════════════
   Experience Photo
═══════════════════════════════════════════ */
.exp-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  margin: 0.8rem 0;
}

/* ═══════════════════════════════════════════
   Project Modals — Detail View
═══════════════════════════════════════════ */
.proj-actions {
  display: flex;
  gap: 8px;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}
.proj-actions a,
.proj-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,229,255,0.06);
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.proj-actions a:hover,
.proj-actions button:hover {
  background: rgba(0,229,255,0.12);
  border-color: var(--cyan);
}
/* ═══════════════════════════════════════════
   ABOUT COMPACT SECTION
═══════════════════════════════════════════ */
.about-compact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left: Photo */
.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.about-photo-compact {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}
.about-photo-wrapper:hover .about-photo-compact {
  transform: scale(1.05);
}
.about-photo-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(0deg, rgba(10,5,25,0.4) 0%, rgba(10,5,25,0) 50%);
  pointer-events: none;
}

/* Left: Stats */
.about-stats-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.asc-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.3s ease;
}
.asc-item:hover {
  border-color: rgba(0,229,255,0.3);
}
.asc-n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
  margin-bottom: 4px;
}
.asc-l {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Right: Text */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-lead {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text1);
  letter-spacing: -1px;
}
.about-body-text {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Right: Pillars */
.about-pillars-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar-c {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.pc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.pillar-c h4 {
  font-size: 0.9rem;
  color: var(--text1);
  margin-bottom: 4px;
}
.pillar-c p {
  font-size: 0.8rem;
  color: var(--text3);
  line-height: 1.4;
}

/* Right: Quote */
.about-quote-compact {
  position: relative;
  padding-left: 1.5rem;
}
.quote-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  border-radius: 3px;
}
.about-quote-compact p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.6;
}
.about-quote-compact span {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text3);
}

@media (max-width: 900px) {
  .about-compact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-left {
    flex-direction: row;
    align-items: center;
  }
  .about-photo-wrapper {
    width: 200px;
  }
  .about-stats-compact {
    flex: 1;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .about-left {
    flex-direction: column;
  }
  .about-photo-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .about-stats-compact {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .about-pillars-compact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pillar-c {
    flex-direction: row;
    align-items: center;
  }
}/* ═══════════════════════════════════════════
   FIXES BASED ON LATEST FEEDBACK
═══════════════════════════════════════════ */
.hero-avatar {
  width: 200px !important;
  height: 200px !important;
}

#education {
  margin-top: 6rem !important;
}

.dept-accordion {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.2rem !important;
  align-items: start;
}

@media (max-width: 900px) {
  .dept-accordion {
    grid-template-columns: 1fr !important;
  }
}
.proj-actions button {
  background: var(--cyan) !important;
  color: var(--bg) !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3) !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}
.proj-actions button:hover {
  transform: translateY(-2px) !important; position: relative; z-index: 50;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5) !important;
}:root {
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-body) !important;
  font-size: 17.5px !important;
}

.st-title {
  font-size: clamp(6.5rem, 11vw, 9.5rem) !important;
}

.st-headline {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem) !important;
}

.nav-links a {
  font-size: 0.95rem !important;
}

/* Make ECG pulse slightly thicker and taller */
.ecg-path {
  stroke-width: 2.5px !important;
}
.ecg-line {
  height: 80px !important; 
}.reveal { transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important; }
.reveal-left { transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important; }
.reveal-right { transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important; }
/* Enhanced Accordion Arrow */
.dept-acc-arrow {
  font-size: 1.1rem !important;
  color: var(--cyan) !important;
  transition: transform 0.3s ease;
  font-weight: 800;
}
.dept-acc-btn:hover .dept-acc-arrow {
  transform: translateY(3px);
}
.dept-acc-item.open .dept-acc-arrow {
  transform: rotate(180deg);
}.proj-actions button {
  position: relative !important;
  z-index: 100 !important;
  transform: translateZ(30px) !important;
}
.proj-actions button * {
  pointer-events: none !important;
}


/* ═══════════════════════════════════════════
   ULTRA MOBILE OPTIMIZATION (Fixing long scroll)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 1. Compact Hero Side Details */
  .identity-pillars { 
    flex-direction: row !important; 
    flex-wrap: nowrap !important; 
    justify-content: space-between !important; 
    gap: 5px !important; 
    background: rgba(0,229,255,0.03);
    padding: 10px !important;
    border-radius: 8px;
  }
  .identity-pillar { 
    border-top: none !important; 
    border-left: 1px solid var(--border) !important; 
    padding-top: 0 !important; 
    padding-left: 8px !important; 
    width: auto !important; 
    flex: 1;
  }
  .identity-pillar:first-child { border-left: none !important; padding-left: 0 !important; }
  .ip-icon { font-size: 1.1rem !important; }
  .ip-label { font-size: 0.75rem !important; }
  .ip-desc { font-size: 0.6rem !important; }

  /* 2. Horizontal Swipe for Freelance Cards (Prevents 22 vertical cards) */
  .portfolio-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px !important;
    padding-bottom: 15px !important; /* Space for scrollbar */
  }
  .pf-card {
    min-width: 85% !important;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* 3. Horizontal Swipe for About Pillars */
  .about-pillars {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px !important;
    padding-bottom: 10px !important;
  }
  .ap-card {
    min-width: 80% !important;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  /* 4. Compact Paddings */
  section { padding: 40px 4% 30px !important; }
  .hero-right { margin-top: 0 !important; }
}

/* Custom Scrollbar for Swipeable Areas on Mobile */
@media (max-width: 768px) {
  .portfolio-grid::-webkit-scrollbar, .about-pillars::-webkit-scrollbar {
    height: 4px;
  }
  .portfolio-grid::-webkit-scrollbar-track, .about-pillars::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
  }
  .portfolio-grid::-webkit-scrollbar-thumb, .about-pillars::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 4px;
  }
}
