/* ═══════════════════════════════════════════
   PARAM NAHATA PORTFOLIO — style.css
   Cyber-Fluid Theme · Dark Mode
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --primary:#00F0FF; --secondary:#39FF14; --tertiary:#7000FF;
  --surface:#080B12; --surface2:#0E1420; --surface3:#141B28;
  --on-surface:#E8EDF5; --muted:#5A6580;
  --font-head:'Poppins',sans-serif; --font-body:'Space Grotesk',sans-serif; --font-mono:'Courier New',monospace;
  --radius-sm:8px; --radius-lg:16px; --radius-xl:24px;
  --transition:all .3s cubic-bezier(.4,0,.2,1);
  --glow-primary:0 0 40px rgba(0,240,255,.15); --glow-green:0 0 40px rgba(57,255,20,.15);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;font-size:16px;}
body{background:var(--surface);color:var(--on-surface);font-family:var(--font-body);overflow-x:hidden;}
#bgCanvas{position:fixed;inset:0;z-index:0;pointer-events:none;}
section,nav,footer,.ad-banner,.ad-mid{position:relative;z-index:1;}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4{font-family:var(--font-head);line-height:1.15;}
a{color:inherit;text-decoration:none;}
p{line-height:1.7;color:rgba(232,237,245,.75);}

/* ── UTILITIES ── */
.container{max-width:1200px;margin:0 auto;padding:0 2rem;}
.gradient-text{background:linear-gradient(135deg,var(--primary),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.section{padding:6rem 0;}
.eyebrow{font-family:var(--font-mono);font-size:.8rem;color:var(--primary);letter-spacing:.15em;margin-bottom:1rem;opacity:.85;}
.section-title{font-size:clamp(2rem,4vw,3rem);margin-bottom:1.5rem;}
.section-sub{color:var(--muted);max-width:600px;margin-bottom:3rem;}
.reveal{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}

/* ── BUTTONS ── */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.75rem;border-radius:50px;font-family:var(--font-body);font-size:.9rem;font-weight:600;cursor:pointer;border:none;transition:var(--transition);}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--secondary));color:#080B12;}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,240,255,.3);}
.btn-ghost{background:transparent;border:1px solid rgba(0,240,255,.3);color:var(--primary);}
.btn-ghost:hover{background:rgba(0,240,255,.07);transform:translateY(-2px);}
.btn-sm{padding:.55rem 1.2rem;font-size:.8rem;}

/* ── AD ZONES (hidden until ad slot approved by admin) ── */
.ad-top,.ad-mid,.ad-banner{display:none!important;}
.ad-slot-active{display:flex!important;} /* admin enables this class per-slot */
.ad-label{font-family:var(--font-mono);font-size:.65rem;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;}

/* ── NAVBAR ── */
.navbar{position:fixed;top:0;width:100%;z-index:999;padding:1rem 2rem;transition:var(--transition);}
.navbar.scrolled{background:rgba(8,11,18,.85);backdrop-filter:blur(16px);border-bottom:1px solid rgba(0,240,255,.08);padding:.7rem 2rem;}
.nav-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:2rem;}
.nav-logo{font-family:var(--font-mono);font-size:1.3rem;font-weight:700;color:var(--primary);margin-right:auto;}
.logo-bracket{color:var(--secondary);}
.nav-links{display:flex;list-style:none;gap:2rem;}
.nav-link{font-size:.88rem;font-weight:500;color:var(--muted);transition:var(--transition);position:relative;}
.nav-link::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:1px;background:var(--primary);transition:width .3s;}
.nav-link:hover,.nav-link.active{color:var(--primary);}
.nav-link:hover::after,.nav-link.active::after{width:100%;}
.nav-admin{color:var(--tertiary)!important;}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:.5rem;}
.hamburger span{width:24px;height:2px;background:var(--on-surface);border-radius:2px;transition:var(--transition);}

/* ── STATUS BAR ── */
.status-bar{display:inline-flex;align-items:center;gap:.75rem;background:rgba(0,240,255,.05);border:1px solid rgba(0,240,255,.15);border-radius:50px;padding:.45rem 1.1rem;font-family:var(--font-mono);font-size:.72rem;color:var(--muted);margin-bottom:1.25rem;flex-wrap:wrap;}
.status-dot{width:8px;height:8px;background:var(--secondary);border-radius:50%;animation:pulse 2s infinite;flex-shrink:0;}
.status-text{color:var(--secondary);font-weight:700;}
.status-sep{color:rgba(90,101,128,.4);}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(57,255,20,.4);}50%{box-shadow:0 0 0 6px rgba(57,255,20,0);}}

/* ── HERO ── */
.hero{min-height:100vh;display:flex;align-items:center;padding:8rem 2rem 4rem;overflow:hidden;}
.hero-glow{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;}
.glow-primary{width:500px;height:500px;background:rgba(0,240,255,.06);top:-100px;right:-100px;}
.glow-tertiary{width:400px;height:400px;background:rgba(112,0,255,.06);bottom:-100px;left:-50px;}
.hero-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;width:100%;}
.hero-left{display:flex;flex-direction:column;gap:0;}
.hero-title{font-size:clamp(3rem,6vw,5rem);line-height:1.05;margin-bottom:.5rem;}

/* ── TYPING ── */
.hero-role{font-size:1.05rem;color:var(--muted);margin-bottom:1.25rem;font-family:var(--font-mono);}
.typing-wrap{display:inline-block;}
.typing-text{color:var(--primary);}
.typing-cursor{display:inline-block;color:var(--primary);animation:blink 1s infinite;}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:0;}}

/* ── HERO TERMINAL ── */
.hero-terminal{margin-top:1.5rem;background:var(--surface2);border:1px solid rgba(0,240,255,.12);border-radius:var(--radius-lg);overflow:hidden;max-width:480px;}
.terminal-bar{display:flex;align-items:center;gap:.5rem;padding:.6rem 1rem;background:rgba(0,0,0,.3);}
.terminal-title{font-family:var(--font-mono);font-size:.75rem;color:var(--muted);margin-left:auto;}
.dot{width:12px;height:12px;border-radius:50%;}
.dot-r{background:#FF5F56;}.dot-y{background:#FFBD2E;}.dot-g{background:#27C93F;}
.terminal-code{padding:1.25rem;font-family:var(--font-mono);font-size:.82rem;line-height:1.8;overflow-x:auto;}
.t-kw{color:#c792ea;}.t-var{color:var(--primary);}.t-str{color:var(--secondary);}.t-num{color:#f78c6c;}

/* ── HERO RIGHT / PHOTO ── */
.hero-right{display:flex;flex-direction:column;align-items:center;gap:2rem;}
.photo-frame{position:relative;width:340px;height:340px;display:flex;align-items:center;justify-content:center;}
.photo-glow-ring{position:absolute;inset:-12px;border-radius:50%;border:2px solid var(--primary);animation:rotateRing 8s linear infinite;background:conic-gradient(var(--primary),var(--secondary),var(--tertiary),var(--primary));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),white calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),white calc(100% - 3px));}
@keyframes rotateRing{to{transform:rotate(360deg);}}
.hero-photo{width:300px;height:300px;border-radius:50%;object-fit:cover;object-position:top;border:4px solid rgba(0,240,255,.2);animation:photoFloat 4s ease-in-out infinite,photoFlip 8s ease-in-out infinite;}
@keyframes photoFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-12px);}}
@keyframes photoFlip{0%,40%,100%{transform:rotateY(0);}50%,90%{transform:rotateY(180deg);}}
.photo-orbit{position:absolute;inset:0;}
.orbit-chip{position:absolute;background:var(--surface2);border:1px solid rgba(0,240,255,.2);border-radius:50px;padding:.35rem .8rem;font-size:.72rem;font-family:var(--font-mono);color:var(--primary);animation:orbitFloat 3s ease-in-out infinite;}
.chip-1{top:5%;left:50%;transform:translateX(-50%);}
.chip-2{top:50%;right:-8%;animation-delay:.5s;}
.chip-3{bottom:5%;left:50%;transform:translateX(-50%);animation-delay:1s;}
.chip-4{top:50%;left:-8%;animation-delay:1.5s;}
@keyframes orbitFloat{0%,100%{transform:translateY(0)translateX(-50%)}50%{transform:translateY(-8px)translateX(-50%)}}
.orbit-chip.chip-2,.orbit-chip.chip-4{transform:none!important;}
.hero-stats{display:flex;gap:2rem;justify-content:center;}
.hstat{text-align:center;}
.hstat-n{font-size:1.8rem;font-weight:800;font-family:var(--font-head);}
.hstat-l{display:block;font-size:.75rem;color:var(--muted);font-family:var(--font-mono);}

/* ── ABOUT ── */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start;}
.about-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;}
.about-timeline{display:flex;flex-direction:column;gap:1rem;}
.tl-item{display:grid;grid-template-columns:80px 1fr;gap:1rem;align-items:start;}
.tl-year{font-family:var(--font-mono);font-size:.72rem;color:var(--primary);padding-top:.2rem;}
.tl-item div b{font-size:.9rem;}
.tl-item div p{font-size:.8rem;color:var(--muted);margin-top:.15rem;}

/* ── PROJECTS BENTO GRID ── */
.projects-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1.25rem;}
.project-card{position:relative;background:var(--surface2);border:1px solid rgba(0,240,255,.08);border-radius:var(--radius-xl);padding:1.75rem;overflow:hidden;transition:var(--transition);display:flex;flex-direction:column;}
.project-card::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,240,255,.03),transparent 60%);pointer-events:none;transition:opacity .4s;}
.project-card:hover{border-color:rgba(0,240,255,.28);transform:translateY(-5px);box-shadow:0 20px 50px rgba(0,0,0,.3),0 0 0 1px rgba(0,240,255,.06);}
.project-card.featured{grid-column:span 12;background:linear-gradient(120deg,rgba(0,240,255,.07) 0%,rgba(57,255,20,.03) 50%,var(--surface2) 100%);border-color:rgba(0,240,255,.16);display:grid;grid-template-columns:1fr auto;grid-template-rows:auto;gap:0 2rem;align-items:start;}
.project-card.featured .project-body{display:flex;flex-direction:column;gap:.6rem;}
.project-card.featured .featured-side{display:flex;flex-direction:column;justify-content:space-between;gap:1.5rem;min-width:200px;}
.project-card.span4{grid-column:span 4;}
.project-card.span6{grid-column:span 6;}
.project-card.span3{grid-column:span 3;}
.project-glow{position:absolute;top:-60px;right:-60px;width:200px;height:200px;background:radial-gradient(circle,rgba(0,240,255,.1),transparent 70%);pointer-events:none;transition:transform .6s;}
.project-card:hover .project-glow{transform:scale(1.2);}
.project-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;}
.project-tag{font-family:var(--font-mono);font-size:.64rem;letter-spacing:.04em;padding:.3rem .75rem;border-radius:50px;border:1px solid;}
.project-tag.live{color:var(--secondary);background:rgba(57,255,20,.08);border-color:rgba(57,255,20,.2);}
.project-tag.enterprise{color:var(--primary);background:rgba(0,240,255,.08);border-color:rgba(0,240,255,.2);}
.project-tag.dev{color:#FFBD2E;background:rgba(255,189,46,.07);border-color:rgba(255,189,46,.2);}
.project-tag.default{color:var(--muted);background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08);}
.project-links{display:flex;gap:.4rem;}
.project-links a{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:50%;color:var(--muted);font-size:.8rem;transition:all .2s;}
.project-links a:hover{background:rgba(0,240,255,.1);border-color:var(--primary);color:var(--primary);transform:scale(1.1);}
.project-card h3{font-size:1rem;color:var(--on-surface);line-height:1.35;}
.project-card.featured h3{font-size:1.4rem;}
.project-card p{font-size:.83rem;line-height:1.72;flex:1;}
.tech-stack{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.85rem;}
.chip{background:rgba(0,240,255,.06);border:1px solid rgba(0,240,255,.14);color:var(--primary);padding:.22rem .6rem;border-radius:50px;font-size:.69rem;font-family:var(--font-mono);transition:background .2s;white-space:nowrap;}
.chip:hover{background:rgba(0,240,255,.13);}
/* Featured card side-panel stats */
.featured-stats{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;}
.fstat{background:rgba(0,0,0,.15);border:1px solid rgba(0,240,255,.1);border-radius:var(--radius-sm);padding:.85rem;text-align:center;}
.fstat strong{display:block;font-size:1.4rem;font-weight:800;font-family:var(--font-head);color:var(--primary);}
.fstat span{font-size:.65rem;color:var(--muted);font-family:var(--font-mono);}
.featured-actions{display:flex;flex-direction:column;gap:.6rem;}
/* View all link */
.proj-view-all{display:inline-flex;align-items:center;gap:.5rem;margin-top:2.5rem;font-family:var(--font-mono);font-size:.8rem;color:var(--primary);border-bottom:1px solid rgba(0,240,255,.3);padding-bottom:.2rem;transition:all .25s;text-decoration:none;}
.proj-view-all:hover{gap:.9rem;border-color:var(--primary);}
@media(max-width:900px){.project-card.featured,.project-card.span4,.project-card.span6,.project-card.span3{grid-column:1/-1;}
.project-card.featured{grid-template-columns:1fr;}.project-card.featured .featured-side{min-width:unset;}}
@media(max-width:600px){.projects-grid{gap:.85rem;}

} /* close @media 600px */

/* ── SKILL CARDS (screenshot style) ── */
.skill-cards-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem;}
.skill-card{position:relative;background:var(--surface2);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius-lg);padding:2rem;overflow:hidden;transition:var(--transition);}
.skill-card:hover{border-color:rgba(0,240,255,.2);transform:translateY(-4px);}
.skill-card-icon{font-size:2rem;font-weight:900;font-family:var(--font-mono);margin-bottom:1rem;display:block;line-height:1;}
.skill-card-ghost{position:absolute;bottom:-10px;right:-10px;font-size:6rem;opacity:.04;line-height:1;pointer-events:none;}
.skill-card-title{font-size:.95rem;font-weight:800;letter-spacing:.08em;margin-bottom:1rem;font-family:var(--font-head);}
.skill-card-chips{display:flex;flex-wrap:wrap;gap:.4rem;}
.skill-card-chips span{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:rgba(232,237,245,.7);padding:.25rem .7rem;border-radius:50px;font-size:.75rem;}
.certs-banner{display:flex;align-items:center;gap:1.25rem;background:linear-gradient(135deg,rgba(0,240,255,.05),rgba(57,255,20,.05));border:1px solid rgba(0,240,255,.15);border-radius:var(--radius-lg);padding:1.5rem 2rem;}
.certs-icon{font-size:2rem;flex-shrink:0;}
.certs-banner b{font-size:1rem;}
.certs-banner div{font-size:.85rem;color:var(--muted);}

/* ── BLOG PREVIEW ── */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.blog-card{background:var(--surface2);border:1px solid rgba(0,240,255,.08);border-radius:var(--radius-lg);padding:1.5rem;transition:var(--transition);cursor:pointer;}
.blog-card:hover{border-color:rgba(0,240,255,.25);transform:translateY(-4px);}
.blog-card-tag{font-family:var(--font-mono);font-size:.65rem;color:var(--primary);margin-bottom:.75rem;display:block;}
.blog-card h3{font-size:1rem;margin-bottom:.5rem;}
.blog-card p{font-size:.82rem;color:var(--muted);margin-bottom:1rem;}
.blog-card-meta{font-size:.72rem;color:var(--muted);font-family:var(--font-mono);}

/* ── TESTIMONIALS / ACHIEVEMENTS ── */
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.testimonial-card{background:var(--surface2);border:1px solid rgba(0,240,255,.08);border-radius:var(--radius-lg);padding:1.75rem;transition:var(--transition);}
.testimonial-card:hover{border-color:rgba(0,240,255,.2);transform:translateY(-4px);}
.quote{font-size:.88rem;line-height:1.7;margin-bottom:1.5rem;}
.testimonial-author{display:flex;align-items:center;gap:1rem;}
.avatar{width:44px;height:44px;border-radius:50%;background:var(--surface3);display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0;}
.testimonial-author b{font-size:.88rem;}
.testimonial-author span{font-size:.75rem;color:var(--muted);}

/* ── CONTACT ── */
.contact-links{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2.5rem;}
.contact-link-card{display:flex;align-items:center;gap:.85rem;padding:1.1rem 1.25rem;background:rgba(255,255,255,.03);border:1px solid rgba(0,240,255,.1);border-radius:var(--radius-lg);text-decoration:none;color:var(--on-surface);transition:var(--transition);}
.contact-link-card:hover{border-color:var(--primary);background:rgba(0,240,255,.06);transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,240,255,.1);}
.contact-icon{font-size:1.4rem;flex-shrink:0;}
.contact-link-card b{display:block;font-size:.85rem;margin-bottom:.1rem;}
.contact-link-card span{font-family:var(--font-mono);font-size:.72rem;color:var(--muted);}
.contact-form{display:flex;flex-direction:column;gap:1.25rem;max-width:700px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;}
.form-group{display:flex;flex-direction:column;gap:.5rem;}
.form-group label{font-size:.82rem;color:var(--muted);font-family:var(--font-mono);}
.form-group input,.form-group textarea{background:var(--surface2);border:1px solid rgba(0,240,255,.12);border-radius:var(--radius-sm);padding:.9rem 1.1rem;color:var(--on-surface);font-family:var(--font-body);font-size:.9rem;transition:var(--transition);outline:none;resize:vertical;}
.form-group input:focus,.form-group textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(0,240,255,.08);}

/* ── FOOTER ── */
.footer{padding:2.5rem 0;border-top:1px solid rgba(0,240,255,.07);}
.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;}
.footer-copy{font-size:.8rem;color:var(--muted);}
.footer-links{display:flex;gap:1.5rem;}
.footer-links a{font-size:.82rem;color:var(--muted);transition:color .2s;}
.footer-links a:hover{color:var(--primary);}

/* ── CONTACT AVATAR ── */
.hero-avatar{width:100px;height:100px;border-radius:50%;border:3px solid var(--primary);box-shadow:0 0 24px rgba(0,240,255,.4);object-fit:cover;}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:2rem;}
  .hero-right{order:-1;}
  .photo-frame{width:240px;height:240px;}
  .hero-photo{width:210px;height:210px;}
  .projects-grid{grid-template-columns:1fr 1fr;}
  .project-card.featured{grid-column:1/-1;}
}
@media(max-width:768px){
  .about-grid,.testimonials-grid,.contact-links{grid-template-columns:1fr;}
  .skill-cards-grid,.blog-grid{grid-template-columns:1fr;}
  .projects-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .nav-links{display:none;position:fixed;inset:0;background:rgba(8,11,18,.97);flex-direction:column;align-items:center;justify-content:center;gap:2rem;font-size:1.2rem;}
  .nav-links.open{display:flex;}
  .hamburger{display:flex;}
  .hero{padding:6rem 1.5rem 3rem;}
}
@media(max-width:480px){
  .hero-title{font-size:2.8rem;}
  .hero-cta{flex-direction:column;}
  .btn{justify-content:center;}
  .contact-links{grid-template-columns:1fr;}
}

/* ══════════════════════════════════
   LIGHT MODE — Premium & Vibrant
══════════════════════════════════ */
body.light{
  --primary:#0088BB; --secondary:#15A34A; --tertiary:#7C3AED;
  --surface:#EEF3FF; --surface2:#FFFFFF; --surface3:#E0E9F8;
  --on-surface:#0D1117; --muted:#5C6680;
  background:var(--surface);color:var(--on-surface);
}
/* Base text */
body.light p{color:rgba(13,17,23,.72);}
body.light h1,body.light h2,body.light h3,body.light h4{color:#0D1117;}
body.light .gradient-text{background:linear-gradient(135deg,#0088BB,#15A34A);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
body.light #bgCanvas{opacity:.05;}

/* Navbar */
body.light .navbar.scrolled{background:rgba(238,243,255,.96);border-bottom:1px solid rgba(0,136,187,.1);box-shadow:0 2px 20px rgba(0,0,0,.07);}
body.light .nav-link{color:#374151;}
body.light .nav-link:hover,body.light .nav-link.active{color:#0088BB;}
body.light .nav-logo .logo-bracket{color:#15A34A;}
body.light .hamburger span{background:#0D1117;}
body.light .nav-links{background:rgba(238,243,255,.98);}
body.light .theme-toggle{border-color:rgba(0,136,187,.2);color:#374151;}
body.light .theme-toggle:hover{background:rgba(0,136,187,.08);}
body.light .eyebrow{color:#0088BB;}

/* Hero */
body.light .status-bar{background:rgba(0,136,187,.06);border-color:rgba(0,136,187,.22);}
body.light .status-dot{background:#15A34A;box-shadow:0 0 8px rgba(21,163,74,.5);}
body.light .hero-glow{opacity:.06;}
body.light .hstat-n{color:#0088BB;}
body.light .hstat-l{color:#5C6680;}

/* Terminal */
body.light .hero-terminal{background:#fff;border-color:rgba(0,136,187,.15);box-shadow:0 8px 32px rgba(0,0,0,.08);}
body.light .terminal-bar{background:rgba(0,0,0,.04);border-bottom:1px solid rgba(0,0,0,.06);}
body.light .terminal-code{color:#1e293b;}
body.light .t-str{color:#16a34a;}body.light .t-kw{color:#7c3aed;}body.light .t-var{color:#0891b2;}

/* Project Cards — Premium light */
body.light .project-card{background:#fff;border-color:rgba(0,136,187,.12);box-shadow:0 2px 16px rgba(0,0,0,.06);}
body.light .project-card::before{background:linear-gradient(135deg,rgba(0,136,187,.04),transparent);}
body.light .project-card:hover{border-color:rgba(0,136,187,.32);box-shadow:0 16px 40px rgba(0,136,187,.15);transform:translateY(-6px);}
body.light .project-card.featured{background:linear-gradient(120deg,rgba(0,136,187,.07),rgba(21,163,74,.04),#fff);border-color:rgba(0,136,187,.2);}
body.light .project-glow{background:radial-gradient(circle,rgba(0,136,187,.12),transparent 70%);}
body.light .project-card h3{color:#0D1117;}
body.light .project-tag.live{color:#15A34A;background:rgba(21,163,74,.08);border-color:rgba(21,163,74,.2);}
body.light .project-tag.enterprise{color:#0088BB;background:rgba(0,136,187,.08);border-color:rgba(0,136,187,.2);}
body.light .project-tag.dev{color:#D97706;background:rgba(217,119,6,.08);border-color:rgba(217,119,6,.2);}
body.light .project-links a{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:#5C6680;}
body.light .project-links a:hover{background:rgba(0,136,187,.1);border-color:#0088BB;color:#0088BB;}
body.light .chip{background:rgba(0,136,187,.07);border-color:rgba(0,136,187,.18);color:#0088BB;}
body.light .chip:hover{background:rgba(0,136,187,.13);}
body.light .fstat{background:rgba(0,136,187,.05);border-color:rgba(0,136,187,.15);}
body.light .fstat strong{color:#0088BB;}

/* Skill cards */
body.light .skill-card{background:#fff;border-color:rgba(0,136,187,.1);box-shadow:0 2px 12px rgba(0,0,0,.05);}
body.light .skill-card:hover{border-color:rgba(0,136,187,.25);box-shadow:0 8px 24px rgba(0,136,187,.1);}
body.light .skill-card-chips span{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:#374151;}
body.light .certs-banner{background:linear-gradient(135deg,rgba(0,136,187,.07),rgba(21,163,74,.05));border-color:rgba(0,136,187,.2);}

/* Blog cards */
body.light .blog-card{background:#fff;border-color:rgba(0,136,187,.1);box-shadow:0 2px 12px rgba(0,0,0,.05);}
body.light .blog-card:hover{border-color:rgba(0,136,187,.28);box-shadow:0 8px 24px rgba(0,136,187,.12);}
body.light .blog-card-tag{color:#0088BB;}

/* Testimonials */
body.light .testimonial-card{background:#fff;border-color:rgba(0,136,187,.1);box-shadow:0 2px 12px rgba(0,0,0,.05);}
body.light .testimonial-card:hover{box-shadow:0 8px 24px rgba(0,136,187,.1);}

/* Contact */
body.light .contact-link-card{background:#fff;border-color:rgba(0,136,187,.12);box-shadow:0 2px 8px rgba(0,0,0,.04);}
body.light .contact-link-card:hover{border-color:#0088BB;box-shadow:0 8px 24px rgba(0,136,187,.14);}
body.light .form-group input,body.light .form-group textarea,body.light .form-group select{background:#fff;border-color:rgba(0,136,187,.2);color:#0D1117;box-shadow:inset 0 1px 3px rgba(0,0,0,.04);}
body.light .form-group input:focus,body.light .form-group textarea:focus{border-color:#0088BB;box-shadow:0 0 0 3px rgba(0,136,187,.1);}
body.light .form-group label{color:#5C6680;}

/* Footer stays dark — good contrast */
body.light .footer{background:rgba(8,12,28,.97);border-top:1px solid rgba(0,136,187,.1);}
body.light .footer p,body.light .footer a{color:rgba(255,255,255,.6);}

/* About page */
body.light .tl-item div p{color:#6B7280;}
body.light .about-timeline .tl-item{background:#fff;}

/* Inner pages */
body.light .page-hero{background:linear-gradient(180deg,rgba(0,136,187,.04),transparent);}
body.light .service-card,.body.light .price-card,.body.light .step{background:#fff;}
body.light .svc-desc{color:#5C6680;}

/* Admin panel */
body.light .login-card,.body.light .modal-card{background:#fff;border-color:rgba(0,136,187,.15);}
body.light select{background:#fff;color:#0D1117;border-color:rgba(0,136,187,.2);}

/* ── THEME TOGGLE ── */
.theme-toggle{background:none;border:1px solid rgba(0,240,255,.2);border-radius:50px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem;transition:all .3s;flex-shrink:0;color:var(--on-surface);}
.theme-toggle:hover{background:rgba(0,240,255,.1);border-color:var(--primary);}
body.light .theme-toggle{border-color:rgba(0,0,0,.15);}
body.light .theme-toggle:hover{background:rgba(0,0,0,.06);}

/* ── ADMIN SECRET LINK (hidden in footer) ── */
.admin-secret{opacity:.04;font-size:.6rem;color:var(--muted);transition:opacity .4s;user-select:none;}
.admin-secret:hover{opacity:.4;}

/* ── BLOG / PROJECT CARD IMAGE ── */
.card-image{width:100%;height:180px;object-fit:cover;border-radius:var(--radius-sm);margin-bottom:1rem;display:block;}
.card-image-placeholder{width:100%;height:140px;background:linear-gradient(135deg,var(--surface3),var(--surface2));border-radius:var(--radius-sm);margin-bottom:1rem;display:flex;align-items:center;justify-content:center;font-size:2rem;color:var(--muted);}

/* ── PROJECT PAGE ── */
.proj-full-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.proj-card{background:var(--surface2);border:1px solid rgba(0,240,255,.08);border-radius:var(--radius-lg);overflow:hidden;transition:var(--transition);cursor:pointer;text-decoration:none;color:inherit;display:block;}
.proj-card:hover{border-color:rgba(0,240,255,.25);transform:translateY(-5px);box-shadow:0 20px 40px rgba(0,0,0,.25);}
.proj-card-img{width:100%;height:180px;object-fit:cover;background:var(--surface3);display:flex;align-items:center;justify-content:center;font-size:2.5rem;}
.proj-card-body{padding:1.5rem;}
.proj-status{font-family:var(--font-mono);font-size:.65rem;padding:.2rem .6rem;border-radius:50px;margin-bottom:.75rem;display:inline-block;}
.proj-status.live{background:rgba(57,255,20,.1);color:var(--secondary);}
.proj-status.dev{background:rgba(255,189,46,.08);color:#FFBD2E;}
.proj-status.complete{background:rgba(0,240,255,.08);color:var(--primary);}
.proj-card-body h3{font-size:1rem;margin-bottom:.5rem;}
.proj-card-body p{font-size:.82rem;color:var(--muted);margin-bottom:1rem;}

/* ── CERTIFICATES PAGE ── */
.certs-filter-grid{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem;}
.cert-full-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.cert-card{background:var(--surface2);border:1px solid rgba(0,240,255,.07);border-radius:var(--radius-lg);overflow:hidden;transition:var(--transition);position:relative;}
.cert-card:hover{border-color:rgba(0,240,255,.2);transform:translateY(-4px);}
.cert-card-img{width:100%;height:160px;object-fit:cover;background:linear-gradient(135deg,var(--surface3),var(--surface2));display:flex;align-items:center;justify-content:center;font-size:3rem;}
.cert-card-img img{width:100%;height:100%;object-fit:cover;}
.cert-card-body{padding:1.25rem;}
.cert-badge{font-family:var(--font-mono);font-size:.65rem;color:var(--primary);background:rgba(0,240,255,.07);padding:.2rem .6rem;border-radius:50px;margin-bottom:.6rem;display:inline-block;}
.cert-card-body h3{font-size:.9rem;margin-bottom:.25rem;}
.cert-card-body p{font-size:.78rem;color:var(--muted);}
.cert-card-footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;border-top:1px solid rgba(0,240,255,.05);font-size:.72rem;color:var(--muted);font-family:var(--font-mono);}

/* ── PAGE HERO (shared inner pages) ── */
.page-hero{padding:9rem 0 4rem;border-bottom:1px solid rgba(0,240,255,.07);}

@media(max-width:900px){
  .proj-full-grid,.cert-full-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  .proj-full-grid,.cert-full-grid{grid-template-columns:1fr;}
  .nav-links{gap:1.2rem;font-size:1rem;}
}
