/* ===== RESET & BASE ===== */
*{margin:0;padding:0;box-sizing:border-box;}
:root{
  --primary:#6366f1;--primary-light:#818cf8;--secondary:#06b6d4;
  --accent:#8b5cf6;--success:#10b981;--warning:#f59e0b;
  --bg:#f0f4ff;--bg2:#e8eeff;
  --navbar-bg: rgba(240,244,255,0.85);
  --surface:rgba(255,255,255,0.72);
  --surface-border: rgba(255,255,255,0.9);
  --text:#1e1b4b;--text2:#4338ca;--text3:#6b7280;
  --border:rgba(99,102,241,0.15);
  --shadow:0 8px 32px rgba(99,102,241,0.12);
  --radius:16px;--radius-sm:10px;
  --font-main:'Inter',sans-serif;--font-heading:'Outfit',sans-serif;
  --circle-bg:#eee;
}

[data-theme="dark"]{
  --bg:#0b0f19;--bg2:#151b2d;
  --navbar-bg: rgba(11,15,25,0.85);
  --surface:rgba(21,27,45,0.72);
  --surface-border: rgba(255,255,255,0.06);
  --text:#f1f5f9;--text2:#a5b4fc;--text3:#94a3b8;
  --border:rgba(99,102,241,0.25);
  --shadow:0 8px 32px rgba(0,0,0,0.3);
  --circle-bg: rgba(255,255,255,0.1);
}
html{scroll-behavior:smooth;scroll-padding-top:80px;}
body{font-family:var(--font-main);background:var(--bg);color:var(--text);overflow-x:hidden;line-height:1.6;}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar{width:6px;}
::-webkit-scrollbar-track{background:var(--bg);}
::-webkit-scrollbar-thumb{background:linear-gradient(var(--primary),var(--accent));border-radius:3px;}

/* ===== NAVBAR ===== */
#navbar{position:fixed;top:0;left:0;right:0;z-index:999;padding:0 2rem;
  background:var(--navbar-bg);backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);transition:all .3s;}
#navbar.scrolled{padding:.2rem 2rem;box-shadow:var(--shadow);}
.nav-container{max-width:1200px;margin:0 auto;height:70px;display:flex;align-items:center;gap:2rem;}
.nav-logo{font-family:var(--font-heading);font-size:1.6rem;font-weight:900;text-decoration:none;letter-spacing:-1px;display:flex;align-items:center;gap:4px;}
.logo-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;}
.logo-ring{position:absolute;inset:0;border-radius:50%;border:2px solid transparent;background:linear-gradient(135deg,var(--primary),var(--accent),var(--secondary)) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:destination-out;mask-composite:exclude;animation:spin-ring 4s linear infinite;}
.logo-text{font-family:var(--font-heading);font-size:1rem;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-1px;position:relative;z-index:1;}
.logo-accent{-webkit-text-fill-color:transparent;background:linear-gradient(135deg,var(--accent),var(--secondary));-webkit-background-clip:text;background-clip:text;}
.logo-dot{font-family:var(--font-heading);font-size:2rem;font-weight:900;background:linear-gradient(135deg,var(--accent),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1;animation:dot-pulse 2s ease-in-out infinite;}
@keyframes spin-ring{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}
@keyframes dot-pulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.6;transform:scale(1.3);}}
.nav-logo:hover .logo-badge{transform:scale(1.1);transition:transform .3s;}
.nav-logo:hover .logo-ring{animation-duration:1s;}
.dot{color:var(--accent);}
.nav-links{display:flex;list-style:none;gap:.25rem;margin-left:auto;}
.nav-link{display:block;padding:.5rem .85rem;text-decoration:none;color:var(--text3);font-weight:500;font-size:.9rem;border-radius:8px;transition:all .2s;position:relative;}
.nav-link:hover,.nav-link.active{color:var(--primary);background:rgba(99,102,241,.08);}
.nav-link.active::after{content:'';position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:20px;height:2px;background:var(--primary);border-radius:2px;}
.nav-cta{padding:.55rem 1.4rem;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;text-decoration:none;border-radius:25px;font-weight:600;font-size:.85rem;white-space:nowrap;transition:all .3s;box-shadow:0 4px 15px rgba(99,102,241,.3);}
.nav-cta:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(99,102,241,.4);}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px;}
.hamburger span{display:block;width:24px;height:2px;background:var(--primary);border-radius:2px;transition:all .3s;}

/* ===== GLASS CARD ===== */
.glass-card{background:var(--surface);backdrop-filter:blur(16px);border:1px solid var(--surface-border);border-radius:var(--radius);box-shadow:var(--shadow);transition:transform .3s,box-shadow .3s;}
.glass-card:hover{transform:translateY(-4px);box-shadow:0 16px 48px rgba(99,102,241,.24);}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 2rem;border-radius:30px;font-weight:600;font-size:.95rem;text-decoration:none;transition:all .3s;cursor:pointer;border:none;}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;box-shadow:0 6px 20px rgba(99,102,241,.35);}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(99,102,241,.45);}
.btn-outline{border:2px solid var(--primary);color:var(--primary);background:rgba(99,102,241,.05);}
.btn-outline:hover{background:var(--primary);color:#fff;transform:translateY(-3px);}

/* ===== GRADIENT TEXT ===== */
.gradient-text{background:linear-gradient(135deg,var(--primary),var(--accent),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.highlight{background:linear-gradient(135deg,var(--primary),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:700;}

/* ===== SECTIONS ===== */
.section{padding:100px 0;}
.container{max-width:1200px;margin:0 auto;padding:0 2rem;}
.section-header{text-align:center;margin-bottom:3.5rem;}
.section-tag{display:inline-block;padding:.35rem 1.2rem;background:rgba(99,102,241,.1);color:var(--primary);border-radius:20px;font-size:.8rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:1rem;}
.section-title{font-family:var(--font-heading);font-size:clamp(2rem,4vw,2.8rem);font-weight:800;color:var(--text);line-height:1.2;}
.section-sub{color:var(--text3);margin-top:.8rem;font-size:1.05rem;}

/* ===== HERO ===== */
.hero{min-height:100vh;display:flex;align-items:center;justify-content:space-between;padding:100px 2rem 60px;max-width:1200px;margin:0 auto;gap:3rem;position:relative;overflow:hidden;}
.hero-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;}
.orb{position:absolute;border-radius:50%;filter:blur(80px);opacity:.35;}
.orb1{width:600px;height:600px;background:radial-gradient(circle,#a5b4fc,#c7d2fe);top:-200px;right:-100px;}
.orb2{width:500px;height:500px;background:radial-gradient(circle,#bfdbfe,#ddd6fe);bottom:-100px;left:-100px;}
.orb3{width:400px;height:400px;background:radial-gradient(circle,#99f6e4,#bfdbfe);top:40%;left:40%;}
.orb4{width:300px;height:300px;background:radial-gradient(circle,#fde68a,#fbcfe8);top:10%;left:30%;}
.grid-overlay{position:absolute;inset:0;background-image:linear-gradient(rgba(99,102,241,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(99,102,241,.04) 1px,transparent 1px);background-size:50px 50px;}

.hero-content{flex:1;max-width:580px;}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem 1.2rem;background:rgba(255,255,255,.8);border:1px solid rgba(16,185,129,.3);border-radius:20px;font-size:.82rem;font-weight:600;color:#065f46;margin-bottom:1.5rem;backdrop-filter:blur(10px);}
.badge-dot{width:8px;height:8px;background:#10b981;border-radius:50%;animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.5);}50%{box-shadow:0 0 0 8px rgba(16,185,129,0);}}

.hero-name{font-family:var(--font-heading);font-size:clamp(2.8rem,6vw,4.5rem);font-weight:900;line-height:1.05;color:var(--text);margin-bottom:.75rem;}
.hero-roles{margin-bottom:1.2rem;font-size:1.3rem;font-weight:600;color:var(--primary);min-height:2rem;}
.hero-tagline{font-size:1.05rem;color:var(--text3);line-height:1.7;margin-bottom:2rem;max-width:480px;}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2.5rem;}
.hero-stats{display:flex;align-items:center;gap:1.5rem;}
.stat{text-align:center;}
.stat-num{display:block;font-family:var(--font-heading);font-size:1.8rem;font-weight:800;color:var(--primary);}
.stat-label{font-size:.78rem;color:var(--text3);font-weight:500;}
.stat-divider{width:1px;height:36px;background:var(--border);}

.hero-visual{flex:0 0 420px;position:relative;display:flex;align-items:center;justify-content:center;height:420px;}
.avatar-ring{position:absolute;border-radius:50%;border:2px dashed;}
.ring1{width:260px;height:260px;border-color:rgba(99,102,241,.25);animation:spin 20s linear infinite;}
.ring2{width:320px;height:320px;border-color:rgba(139,92,246,.15);animation:spin 30s linear infinite reverse;}
.ring3{width:380px;height:380px;border-color:rgba(6,182,212,.1);animation:spin 40s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}
.avatar-circle{width:200px;height:200px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 20px 60px rgba(99,102,241,.4);}
.avatar-initials{font-family:var(--font-heading);font-size:4rem;font-weight:900;color:#fff;letter-spacing:-2px;}
.avatar-glow{position:absolute;inset:-10px;border-radius:50%;background:radial-gradient(circle,rgba(99,102,241,.3),transparent 70%);animation:glow 3s ease-in-out infinite alternate;}
@keyframes glow{from{opacity:.5;}to{opacity:1;}}
.float-chip{position:absolute;top:50%;left:50%;margin-top:-15px;margin-left:-70px;padding:.5rem 1rem;background:rgba(255,255,255,.85);backdrop-filter:blur(10px);border-radius:25px;font-size:.78rem;font-weight:600;color:var(--text);border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 15px rgba(99,102,241,.12);white-space:nowrap;}
.chip1{animation:orbit1 20s linear infinite;}
.chip2{animation:orbit2 20s linear infinite;}
.chip3{animation:orbit3 20s linear infinite;}
.chip4{animation:orbit4 20s linear infinite;}
@keyframes orbit1{0%{transform:rotate(0deg) translateX(190px) rotate(0deg);}100%{transform:rotate(360deg) translateX(190px) rotate(-360deg);}}
@keyframes orbit2{0%{transform:rotate(90deg) translateX(190px) rotate(-90deg);}100%{transform:rotate(450deg) translateX(190px) rotate(-450deg);}}
@keyframes orbit3{0%{transform:rotate(180deg) translateX(190px) rotate(-180deg);}100%{transform:rotate(540deg) translateX(190px) rotate(-540deg);}}
@keyframes orbit4{0%{transform:rotate(270deg) translateX(190px) rotate(-270deg);}100%{transform:rotate(630deg) translateX(190px) rotate(-630deg);}}

.scroll-down{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.4rem;text-decoration:none;animation:bounce 2s infinite;}
.scroll-arrow{width:24px;height:24px;border-right:2px solid var(--primary);border-bottom:2px solid var(--primary);transform:rotate(45deg);border-radius:2px;}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0);}50%{transform:translateX(-50%) translateY(8px);}}

/* ===== ABOUT ===== */
.about-section{background:linear-gradient(180deg,transparent,rgba(99,102,241,.03),transparent);}
.about-grid{display:grid;grid-template-columns:1fr 2fr 1fr;gap:1.5rem;}
.about-card{padding:2rem;}
.about-icon{font-size:2.5rem;margin-bottom:1rem;}
.about-card h3{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-bottom:.75rem;color:var(--text);}
.about-card p{color:var(--text3);line-height:1.7;margin-bottom:.75rem;font-size:.93rem;}
.tag-pill{display:inline-block;padding:.25rem .75rem;background:rgba(99,102,241,.1);color:var(--primary);border-radius:12px;font-size:.78rem;font-weight:600;margin-top:.3rem;}
.card-hr{border:none;border-top:1px solid var(--border);margin:1rem 0;}
.about-bio p{margin-bottom:1rem;}
.about-links{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.2rem;}
.social-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1.2rem;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;text-decoration:none;border-radius:20px;font-size:.82rem;font-weight:600;transition:all .3s;}
.social-btn svg{width:16px;height:16px;}
.social-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(99,102,241,.35);}
.focus-list{list-style:none;display:flex;flex-direction:column;gap:.65rem;}
.focus-list li{display:flex;align-items:center;gap:.65rem;color:var(--text3);font-size:.9rem;}
.focus-dot{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));flex-shrink:0;}

/* ===== SKILLS ===== */
.skills-section{background:linear-gradient(135deg,rgba(99,102,241,.03),rgba(6,182,212,.03));}
.skills-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:1.5rem;}
.skill-category{padding:1.8rem;}
.skill-cat-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.2rem;}
.skill-icon{font-size:1.8rem;}
.skill-cat-header h3{font-family:var(--font-heading);font-size:1.1rem;font-weight:700;color:var(--text);}
.skill-tags{display:flex;flex-wrap:wrap;gap:.5rem;}
.skill-tag{padding:.35rem .9rem;border-radius:20px;font-size:.8rem;font-weight:600;transition:all .2s;}
.skill-tag.tier1{background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(139,92,246,.15));color:var(--primary);border:1px solid rgba(99,102,241,.2);}
.skill-tag.tier2{background:rgba(6,182,212,.1);color:#0891b2;border:1px solid rgba(6,182,212,.2);}
.skill-tag:hover{transform:translateY(-2px);}

.proficiency-section{padding:2rem 2.5rem;}
.prof-title{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-bottom:1.5rem;color:var(--text);}
.prof-bars{display:flex;flex-direction:column;gap:1.2rem;}
.prof-item{}
.prof-label{display:flex;justify-content:space-between;font-size:.88rem;font-weight:600;color:var(--text);margin-bottom:.45rem;}
.prof-bar{height:8px;background:rgba(99,102,241,.1);border-radius:4px;overflow:hidden;}
.prof-fill{height:100%;border-radius:4px;width:0;background:var(--c,var(--primary));transition:width 1.5s cubic-bezier(.4,0,.2,1);}

/* ===== EXPERIENCE ===== */
.exp-section{background:linear-gradient(180deg,transparent,rgba(139,92,246,.03),transparent);}
.timeline{position:relative;padding-left:2.5rem;}
.timeline::before{content:'';position:absolute;left:.75rem;top:0;bottom:0;width:2px;background:linear-gradient(var(--primary),var(--accent),var(--secondary));}
.timeline-item{position:relative;margin-bottom:2rem;}
.timeline-dot{position:absolute;left:-2.1rem;top:1.8rem;width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));border:3px solid white;box-shadow:0 0 0 3px rgba(99,102,241,.2);}
.timeline-card{padding:2rem;}
.exp-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:1rem;margin-bottom:.75rem;}
.exp-header h3{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;color:var(--text);}
.exp-company{color:var(--text3);font-size:.9rem;margin-top:.2rem;}
.exp-date{font-size:.82rem;font-weight:600;color:var(--primary);background:rgba(99,102,241,.1);padding:.35rem .9rem;border-radius:15px;white-space:nowrap;}
.exp-badge{display:inline-block;padding:.2rem .75rem;border-radius:12px;font-size:.75rem;font-weight:700;margin-bottom:1rem;}
.exp-badge.current{background:rgba(16,185,129,.12);color:#065f46;border:1px solid rgba(16,185,129,.2);}
.exp-list{list-style:none;display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.2rem;}
.exp-list li{padding-left:1.2rem;position:relative;color:var(--text3);font-size:.9rem;line-height:1.6;}
.exp-list li::before{content:'→';position:absolute;left:0;color:var(--primary);}
.exp-tags{display:flex;flex-wrap:wrap;gap:.5rem;}
.exp-tags span{padding:.25rem .75rem;background:rgba(99,102,241,.08);color:var(--primary);border-radius:12px;font-size:.75rem;font-weight:600;}

/* ===== PROJECTS ===== */
.projects-section{background:linear-gradient(135deg,rgba(6,182,212,.03),rgba(99,102,241,.03));}
.projects-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;}
.project-card{overflow:hidden;padding:0;}
.project-img{height:180px;display:flex;align-items:center;justify-content:center;position:relative;}
.p-img1{background:linear-gradient(135deg,#667eea,#764ba2);}
.p-img2{background:linear-gradient(135deg,#f093fb,#f5576c);}
.project-overlay{position:absolute;inset:0;background:rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;}
.project-emoji{font-size:4.5rem;filter:drop-shadow(0 4px 20px rgba(0,0,0,.3));}
.project-body{padding:1.8rem;}
.project-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;}
.project-date{font-size:.78rem;color:var(--text3);}
.project-status{font-size:.75rem;font-weight:700;padding:.25rem .75rem;border-radius:12px;background:rgba(99,102,241,.1);color:var(--primary);}
.project-status.live{background:rgba(16,185,129,.1);color:#065f46;}
.project-body h3{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-bottom:.75rem;color:var(--text);}
.project-body p{color:var(--text3);font-size:.9rem;line-height:1.6;margin-bottom:1rem;}
.project-highlights{list-style:none;display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.2rem;}
.project-highlights li{color:var(--text3);font-size:.85rem;line-height:1.5;}
.project-tech{display:flex;flex-wrap:wrap;gap:.45rem;}
.project-tech span{padding:.25rem .7rem;background:rgba(99,102,241,.08);color:var(--primary);border-radius:10px;font-size:.75rem;font-weight:600;}

/* ===== ACHIEVEMENTS ===== */
.achievements-section{background:linear-gradient(180deg,transparent,rgba(245,158,11,.03),transparent);}
.achievements-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.achieve-card{padding:2rem;text-align:center;}
.achieve-icon{font-size:3rem;margin-bottom:1rem;}
.achieve-card h3{font-family:var(--font-heading);font-size:1.05rem;font-weight:700;margin-bottom:.6rem;color:var(--text);}
.achieve-card p{color:var(--text3);font-size:.88rem;line-height:1.6;margin-bottom:1rem;}
.achieve-tag{display:inline-block;padding:.3rem .9rem;background:linear-gradient(135deg,rgba(99,102,241,.1),rgba(139,92,246,.1));color:var(--primary);border-radius:15px;font-size:.75rem;font-weight:700;}
.achieve-tag-link{text-decoration:none;transition:all .25s;cursor:pointer;}
.achieve-tag-link:hover{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;transform:translateY(-2px);box-shadow:0 6px 18px rgba(99,102,241,.35);}

/* ===== CONTACT ===== */
.contact-section{background:linear-gradient(135deg,rgba(99,102,241,.04),rgba(6,182,212,.04));}
.contact-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem;margin-bottom:2rem;}
.contact-card{padding:1.2rem .5rem;text-align:center;min-width:0;width:100%;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;}
.contact-icon{font-size:1.8rem;margin-bottom:.4rem;line-height:1;}
.contact-card h3{font-family:var(--font-heading);font-size:.82rem;font-weight:700;margin-bottom:.35rem;color:var(--text);white-space:nowrap;}
.contact-link{color:var(--primary);text-decoration:none;font-size:.7rem;font-weight:500;transition:color .2s;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;}
.contact-link:hover{color:var(--accent);}

/* Resume card — same white look as other cards, just a subtle glowing border */
.resume-card{border:1.5px solid rgba(99,102,241,0.35);animation:resume-glow 3s ease-in-out infinite alternate;}
@keyframes resume-glow{0%{border-color:rgba(99,102,241,0.3);box-shadow:0 0 8px rgba(99,102,241,.15);}100%{border-color:rgba(139,92,246,0.6);box-shadow:0 0 20px rgba(139,92,246,.25);}}
.resume-download-link{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;padding:.35rem .7rem;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff!important;border-radius:20px;font-size:.72rem;font-weight:700;transition:all .3s;white-space:nowrap;max-width:100%;}
.resume-download-link:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 6px 18px rgba(99,102,241,.4);color:#fff!important;}

.contact-cta{padding:2.5rem;text-align:center;}
.contact-cta h3{font-family:var(--font-heading);font-size:1.4rem;font-weight:700;margin-bottom:.75rem;color:var(--text);}
.contact-cta p{color:var(--text3);max-width:560px;margin:0 auto 1.5rem;line-height:1.7;}

/* ===== FOOTER ===== */
.footer{padding:2rem;background:rgba(255,255,255,.5);border-top:1px solid var(--border);backdrop-filter:blur(10px);}
.footer-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;}
.footer-logo{font-family:var(--font-heading);font-size:1.3rem;font-weight:900;color:var(--primary);}
.footer p{color:var(--text3);font-size:.85rem;}
.footer-links{display:flex;gap:1.5rem;}
.footer-links a{color:var(--text3);text-decoration:none;font-size:.85rem;transition:color .2s;}
.footer-links a:hover{color:var(--primary);}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .about-grid{grid-template-columns:1fr 1fr;}
  .about-bio{grid-column:1/-1;order:-1;}
  .achievements-grid{grid-template-columns:repeat(2,1fr);}
  .hero-visual{flex:0 0 340px;height:340px;}
  .ring1{width:210px;height:210px;}
  .ring2{width:260px;height:260px;}
  .ring3{width:310px;height:310px;}
}
@media(max-width:768px){
  .hero{flex-direction:column;text-align:center;padding-top:100px;}
  .hero-visual{display:none;}
  .hero-actions{justify-content:center;}
  .hero-stats{justify-content:center;}
  .about-grid{grid-template-columns:1fr;}
  .skills-grid{grid-template-columns:1fr;}
  .projects-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:repeat(3,1fr);}
  .achievements-grid{grid-template-columns:1fr;}
  .nav-links{display:none;position:fixed;top:70px;left:0;right:0;background:rgba(240,244,255,.95);backdrop-filter:blur(20px);flex-direction:column;padding:1rem;border-bottom:1px solid var(--border);}
  .nav-links.open{display:flex;}
  .hamburger{display:flex;}
  .nav-cta{display:none;}
  .timeline{padding-left:1.5rem;}
  .timeline-dot{left:-1.4rem;}
}
@media(max-width:480px){
  .contact-grid{grid-template-columns:repeat(2,1fr);}
  .exp-header{flex-direction:column;}
  .hero-name{font-size:2.4rem;}
}

/* ===== NEW STYLES ===== */
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  z-index: 2;
}
.inline-icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  vertical-align: middle;
}
.tech-icon {
  display: inline-flex;
  align-items: center;
  padding: .25rem .7rem;
  background: rgba(99,102,241,.08);
  color: var(--primary);
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 600;
}
.skill-3d-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-right: 10px;
}
.skill-cat-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-left: auto;
}
.skill-cat-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
  justify-content: flex-start;
}
.skill-icon { display: none; } /* hide old emojis */


/* Updated Project Image Styles */
.project-img {
  height: 220px; /* slightly taller for better image display */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
/* Remove gradient backgrounds and emojis from projects */
.p-img1 {
  background-image: url("assets/learning-blocks.png");
}
.p-img2 {
  background-image: url("assets/cheating-detection.png");
}
.p-img3 {
  background-image: url("https://images.unsplash.com/photo-1596526131083-e8c633c948d2?q=80&w=800&auto=format&fit=crop");
}
.project-overlay .project-emoji {
  display: none;
}

/* Circular Chart Styles for Core Proficiencies (3rd image request) */
.prof-bars {
  display: none; /* Hide old bars */
}
.circular-charts-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 80%;
  max-height: 250px;
}
.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}
.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-out;
}
.circular-chart:hover .circle {
   stroke-width: 3.8;
}
.percentage {
  fill: #666;
  font-family: var(--font-heading);
  font-size: 0.5em;
  text-anchor: middle;
}
.skill-label {
  fill: var(--text);
  font-family: var(--font-main);
  font-size: 0.2em;
  font-weight: 600;
  text-anchor: middle;
}
.chart-wrapper {
  position: relative;
  width: 150px;
  text-align: center;
}
.chart-details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  pointer-events: none;
  font-size: 0.8rem;
  width: 120%;
  z-index: 10;
}
.chart-wrapper:hover .chart-details {
  opacity: 1;
}

/* Updated 4th Image Request (Boxed icons) */
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 10px;
  border-radius: 12px;
  min-width: 70px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}
.tech-icon-box img {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}
.tech-icon-box span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}


/* Additional styles for Circular Charts tooltip */
.chart-wrapper {
  position: relative;
  width: 150px;
  text-align: center;
}
.chart-details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  pointer-events: none;
  font-size: 0.8rem;
  width: 120%;
  z-index: 10;
}
.chart-wrapper:hover .chart-details {
  opacity: 1;
}

/* Updated 4th Image Request (Boxed icons) */
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 10px;
  border-radius: 12px;
  min-width: 70px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}
.tech-icon-box img {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}
.tech-icon-box span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}


/* Ensure all skill tag images look identical in size and do not stretch */
.skill-tag img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  margin-bottom: 8px;
}



/* Additional Dark Mode Overrides */
[data-theme="dark"] .hero-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}
[data-theme="dark"] .badge-dot {
  background: #34d399;
}
[data-theme="dark"] .float-chip {
  background: var(--bg2);
  border-color: var(--surface-border);
  color: var(--text);
}
[data-theme="dark"] .timeline-dot {
  border-color: var(--bg);
}
[data-theme="dark"] .footer {
  background: rgba(11, 15, 25, 0.5);
}
[data-theme="dark"] .chart-details {
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border);
}
[data-theme="dark"] .tech-icon-box {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .circular-chart .percentage {
  fill: #f1f5f9 !important;
}
[data-theme="dark"] .circular-chart .percentage-sign {
  fill: #94a3b8 !important;
}
[data-theme="dark"] .circular-chart .skill-label {
  fill: #94a3b8 !important;
}

/* Improve Mobile Navigation links background in dark mode */
@media(max-width:768px){
  [data-theme="dark"] .nav-links {
    background: rgba(11, 15, 25, 0.95);
  }
}

