
:root{
  --bg:#070a12;--panel:#0c111d;--panel2:#101726;--text:#eef3ff;--muted:#8e9bb4;
  --line:rgba(145,165,200,.14);--accent:#63f5b1;--accent2:#57a7ff;--max:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;overflow-x:hidden}
a{color:inherit;text-decoration:none}.container{width:min(var(--max),calc(100% - 48px));margin:auto}
.noise{position:fixed;inset:0;pointer-events:none;opacity:.035;z-index:5;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E")}
.grid-bg{position:fixed;inset:0;pointer-events:none;opacity:.45;background-image:linear-gradient(rgba(87,167,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(87,167,255,.035) 1px,transparent 1px);background-size:50px 50px;mask-image:linear-gradient(to bottom,black,transparent 85%);z-index:-1}
.nav-wrap{position:sticky;top:0;z-index:20;background:rgba(7,10,18,.72);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;letter-spacing:.08em}.brand>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(99,245,177,.35);color:var(--accent);font:600 12px "JetBrains Mono";background:rgba(99,245,177,.05)}.brand b{font-size:17px}.brand b span,.footer b span{color:var(--accent)}
.nav-links{display:flex;gap:31px;font-size:13px;color:#aeb9cc}.nav-links a:hover{color:var(--accent)}.nav-cta{font-size:12px;border:1px solid var(--line);padding:10px 15px;border-radius:8px}.nav-cta span{color:var(--accent);margin-left:7px}
.menu-btn{display:none;background:none;border:0}.menu-btn span{display:block;width:23px;height:2px;background:var(--text);margin:5px}
.hero{min-height:680px;display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;padding-top:55px}.eyebrow,.section-no,.mini-label{font:600 11px "JetBrains Mono";letter-spacing:.16em;color:var(--accent)}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 14px var(--accent);margin-right:9px}
h1{font-size:clamp(43px,6vw,76px);line-height:1.02;letter-spacing:-.055em;margin:22px 0}.hero h1 span,h2 span{color:var(--accent)}.hero-text{max-width:620px;color:var(--muted);font-size:16px}.hero-text strong{color:var(--text)}
.hero-actions{display:flex;gap:12px;margin:30px 0 22px}.btn{display:inline-flex;align-items:center;gap:20px;padding:13px 18px;border-radius:8px;border:1px solid var(--line);font-size:13px;font-weight:600;transition:.25s}.btn.primary{background:var(--accent);color:#04120b;border-color:var(--accent)}.btn.primary:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(99,245,177,.15)}.btn.ghost:hover{border-color:rgba(99,245,177,.5);color:var(--accent)}.social-row{display:flex;gap:23px;color:#77849c;font:500 11px "JetBrains Mono"}.social-row a:hover{color:var(--text)}
.hero-terminal{position:relative}.terminal-glow{position:absolute;width:280px;height:280px;right:8%;top:12%;background:var(--accent2);filter:blur(100px);opacity:.1}.terminal{position:relative;border:1px solid rgba(110,140,180,.2);border-radius:13px;background:#090e18;box-shadow:0 35px 100px rgba(0,0,0,.35);overflow:hidden;transform:perspective(1000px) rotateY(-5deg)}.terminal-top{height:43px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px;padding:0 16px;color:#66748d;font:11px "JetBrains Mono"}.terminal-top>b{margin-left:auto;font-size:8px;letter-spacing:4px}.dots{display:flex;gap:5px}.dots i{width:7px;height:7px;border-radius:50%;background:#3d485d}.terminal-body{padding:29px 27px 36px;font:12px/2 "JetBrains Mono";color:#9ba9be;min-height:315px}.prompt{color:var(--accent)}.path{color:var(--accent2)}.output{color:#d8e1ee;margin:3px 0 13px 0;padding-left:14px}.cursor{color:var(--accent);animation:blink 1s infinite}@keyframes blink{50%{opacity:0}}.orbit{position:absolute;border:1px solid rgba(99,245,177,.12);border-radius:50%;pointer-events:none}.orbit-a{width:430px;height:430px;right:-80px;top:-70px}.orbit-b{width:570px;height:570px;right:-150px;top:-140px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0}.stats div{display:flex;align-items:center;gap:15px;padding:0 25px;border-right:1px solid var(--line)}.stats div:first-child{padding-left:0}.stats div:last-child{border:0}.stats strong{font:600 22px "JetBrains Mono";color:var(--accent)}.stats span{font-size:11px;color:#7e8aa0;line-height:1.4}
.section{padding-top:125px}.section-head{display:flex;align-items:baseline;gap:18px;margin-bottom:45px}.section-head h2{font-size:36px;letter-spacing:-.04em}.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center}.about-card{display:flex;align-items:center;gap:22px;padding:22px;border:1px solid var(--line);background:linear-gradient(135deg,rgba(99,245,177,.035),rgba(87,167,255,.02));border-radius:12px}.profile-placeholder{width:85px;height:85px;display:grid;place-items:center;border-radius:9px;background:#111a2b;border:1px solid rgba(99,245,177,.18);font:600 20px "JetBrains Mono";color:var(--accent)}.about-card h3{margin:4px 0 2px;font-size:17px}.about-card p,.about-copy p{color:var(--muted);font-size:13px}.about-copy .lead{font-size:24px;line-height:1.4;color:#dfe7f3;margin-bottom:18px}.facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.facts span{font:11px "JetBrains Mono";color:#8c99ad;border:1px solid var(--line);padding:8px 11px;border-radius:6px}
.skills-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.skill-card,.cert-card,.project{border:1px solid var(--line);background:rgba(12,17,29,.7);border-radius:10px;padding:24px;transition:.3s}.skill-card:hover,.cert-card:hover,.project:hover{border-color:rgba(99,245,177,.28);transform:translateY(-3px)}.icon{color:var(--accent);font:600 20px "JetBrains Mono";margin-bottom:20px}.skill-card h3,.cert-card h3,.project h3{font-size:16px;margin-bottom:7px}.skill-card p,.cert-card p,.project p{color:var(--muted);font-size:12px;min-height:58px}.bar{height:2px;background:#182234;margin-top:18px}.bar i{display:block;height:100%;background:var(--accent)}
.cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.cert-card{display:flex;gap:18px}.cert-logo{min-width:52px;height:52px;border-radius:7px;background:#111a29;display:grid;place-items:center;color:var(--accent);font:600 10px "JetBrains Mono";border:1px solid var(--line)}.text-btn{border:0;background:none;color:var(--accent);font:11px "JetBrains Mono";cursor:pointer;margin-top:10px}.edit-note{font-size:11px;color:#637087;margin-top:17px;font-family:"JetBrains Mono"}
.timeline{border-left:1px solid var(--line);margin-left:8px}.timeline-item{position:relative;display:grid;grid-template-columns:160px 1fr;gap:30px;padding:0 0 45px 35px}.timeline-item:before{content:"";position:absolute;left:-4px;top:4px;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 14px rgba(99,245,177,.7)}.year{font:600 10px "JetBrains Mono";color:var(--accent)}.timeline-item h3{font-size:17px}.timeline-item p{color:#a2aec0;font-size:12px;margin:3px 0 7px}.timeline-item small{color:#68758a;font-size:11px}
.platforms{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.platforms a{display:grid;grid-template-columns:45px 1fr;column-gap:13px;padding:20px;border:1px solid var(--line);border-radius:9px;background:rgba(12,17,29,.6)}.platforms a:hover{border-color:rgba(99,245,177,.3)}.platforms b{grid-row:span 2;display:grid;place-items:center;background:#111a29;border-radius:6px;color:var(--accent);font:600 11px "JetBrains Mono"}.platforms span{font-size:13px;font-weight:600}.platforms small{color:#68758a;font-size:10px}
.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.project{min-height:275px}.project-top{display:flex;justify-content:space-between;color:var(--accent);font:11px "JetBrains Mono";margin-bottom:55px}.project-top a{border:1px solid var(--line);width:29px;height:29px;display:grid;place-items:center;border-radius:6px}.project h3{font-size:19px}.project p{min-height:75px}.tags{display:flex;gap:7px;flex-wrap:wrap}.tags span{font:10px "JetBrains Mono";color:#8492a8;background:#101827;padding:5px 8px;border-radius:4px}
.contact{margin-top:125px;margin-bottom:110px;padding:60px;border:1px solid var(--line);border-radius:14px;background:radial-gradient(circle at 85% 40%,rgba(99,245,177,.07),transparent 35%),#0b101b;display:flex;align-items:end;justify-content:space-between;gap:30px}.contact h2{font-size:46px;line-height:1.05;letter-spacing:-.05em;margin:15px 0}.contact p{color:var(--muted);font-size:13px}.big{padding:17px 21px;white-space:nowrap}
.footer{border-top:1px solid var(--line);padding:30px 0 40px;display:flex;justify-content:space-between;gap:30px}.footer b{font-size:16px}.footer p,.footer-right{color:#66738a;font-size:10px}.footer-right{display:flex;align-items:center;gap:25px}.footer-right a:hover{color:var(--accent)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);display:none;place-items:center;padding:20px;z-index:50}.modal.open{display:grid}.modal-box{position:relative;width:min(520px,100%);background:#0b111d;border:1px solid rgba(99,245,177,.22);border-radius:12px;padding:35px;box-shadow:0 30px 90px #000}.modal-box h3{font-size:25px;margin:10px 0}.modal-box p{color:var(--muted);font-size:13px;margin-bottom:25px}.modal-close{position:absolute;right:15px;top:12px;border:0;background:none;color:#8d99aa;font-size:26px;cursor:pointer}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:900px){.nav-links,.nav-cta{display:none}.menu-btn{display:block}.nav{position:relative}.nav-links.open{display:flex;position:absolute;top:76px;left:0;right:0;background:#080c15;border-bottom:1px solid var(--line);padding:20px 24px;flex-direction:column;gap:17px}.hero{grid-template-columns:1fr;gap:40px;min-height:auto;padding:90px 0}.hero-terminal{max-width:650px;width:100%;margin:auto}.stats{grid-template-columns:repeat(2,1fr);gap:20px}.stats div:nth-child(2){border:0}.skills-grid,.cert-grid,.projects{grid-template-columns:1fr 1fr}.platforms{grid-template-columns:1fr 1fr}.about-grid{grid-template-columns:1fr;gap:35px}.contact{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.container{width:min(100% - 30px,var(--max))}.nav{height:66px}.hero{padding:70px 0 80px}.hero h1{font-size:45px}.hero-actions{flex-wrap:wrap}.stats{grid-template-columns:1fr 1fr}.stats div{padding:0 10px}.section{padding-top:90px}.section-head{margin-bottom:30px}.section-head h2{font-size:29px}.skills-grid,.cert-grid,.projects,.platforms{grid-template-columns:1fr}.timeline-item{grid-template-columns:1fr;gap:7px}.contact{margin-top:90px;margin-bottom:80px;padding:32px 22px}.contact h2{font-size:37px}.footer{flex-direction:column}.footer-right{flex-direction:column;align-items:flex-start;gap:10px}.terminal{transform:none}.orbit{display:none}}


/* ===== HERO PROFILE ===== */
.hero-profile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:530px;text-align:center}
.profile-ring{position:relative;width:310px;height:310px;border-radius:50%;padding:8px;background:conic-gradient(from 0deg,var(--accent),rgba(99,245,177,.08),var(--accent2),rgba(99,245,177,.08),var(--accent));animation:profileSpin 10s linear infinite;box-shadow:0 0 35px rgba(99,245,177,.13),0 0 90px rgba(87,167,255,.08)}
.profile-ring:before{content:"";position:absolute;inset:-12px;border:1px solid rgba(99,245,177,.18);border-radius:50%;box-shadow:0 0 25px rgba(99,245,177,.08);animation:profilePulse 3s ease-in-out infinite}
.profile-photo{width:100%;height:100%;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 50% 35%,#1c2940,#0b111d 70%);border:8px solid #080c14;position:relative;z-index:2}
.profile-photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo-fallback{display:none;width:100%;height:100%;place-items:center;color:var(--accent);font:600 46px "JetBrains Mono";letter-spacing:.04em}
.profile-status{margin-top:28px;border:1px solid rgba(99,245,177,.2);background:rgba(99,245,177,.045);border-radius:999px;padding:7px 12px;color:#93a1b5;font:600 9px "JetBrains Mono";letter-spacing:.14em}
.profile-status span{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:7px;box-shadow:0 0 10px var(--accent)}
.hero-profile h2{font-size:29px;letter-spacing:-.04em;margin:13px 0 0}
.profile-role{font-size:14px;color:var(--accent);font-weight:600;margin-top:2px}
.profile-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.profile-meta span{font:10px "JetBrains Mono";color:#78869d;border:1px solid var(--line);background:rgba(12,17,29,.6);padding:6px 9px;border-radius:5px}
.profile-line{width:90px;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);margin:18px auto 10px;opacity:.5}
.profile-caption{font:11px "JetBrains Mono";color:#66758c}
.profile-orbit{position:absolute;border:1px solid rgba(99,245,177,.11);border-radius:50%;pointer-events:none}
.orbit-one{width:430px;height:430px;animation:orbitFloat 7s ease-in-out infinite}
.orbit-two{width:570px;height:570px;animation:orbitFloat 9s ease-in-out infinite reverse}
@keyframes profileSpin{to{transform:rotate(360deg)}}
@keyframes profilePulse{50%{transform:scale(1.04);opacity:.45}}
@keyframes orbitFloat{50%{transform:scale(1.025) rotate(8deg);opacity:.55}}
.hero-profile:hover .profile-ring{animation-duration:4s;box-shadow:0 0 45px rgba(99,245,177,.2),0 0 110px rgba(87,167,255,.11)}
@media(max-width:900px){.hero-profile{min-height:500px}.profile-ring{width:275px;height:275px}.orbit-one{width:380px;height:380px}.orbit-two{width:480px;height:480px}}
@media(max-width:600px){.hero-profile{min-height:440px}.profile-ring{width:235px;height:235px}.hero-profile h2{font-size:25px}.orbit-one{width:310px;height:310px}.orbit-two{width:390px;height:390px}}


/* ===== PROFILE CARD — INSPIRED BY THE PROVIDED REFERENCE ===== */
.hero-profile-card{
  position:relative;
  width:min(520px,100%);
  margin-left:auto;
  border:1px solid rgba(125,150,190,.18);
  border-radius:24px;
  overflow:visible;
  background:linear-gradient(180deg,rgba(14,20,34,.96),rgba(8,12,21,.98));
  box-shadow:0 35px 90px rgba(0,0,0,.38),0 0 60px rgba(99,245,177,.045);
}
.profile-cover{
  height:150px;
  position:relative;
  overflow:hidden;
  border-radius:24px 24px 0 0;
  background:radial-gradient(circle at 75% 40%,rgba(99,245,177,.16),transparent 28%),linear-gradient(135deg,#111a2a,#0a101c 62%,#0d1725);
  border-bottom:1px solid var(--line);
}
.cover-grid{
  position:absolute;inset:0;opacity:.48;
  background-image:linear-gradient(rgba(99,245,177,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(99,245,177,.06) 1px,transparent 1px);
  background-size:30px 30px;
  mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent);
}
.cover-label{
  position:absolute;left:24px;top:20px;
  font:600 9px "JetBrains Mono";letter-spacing:.17em;color:#8290a7;
}
.cover-orb{position:absolute;border:1px solid rgba(99,245,177,.15);border-radius:50%}
.cover-orb.orb-a{width:250px;height:250px;right:-30px;top:-115px}
.cover-orb.orb-b{width:180px;height:180px;right:70px;top:-75px;border-color:rgba(87,167,255,.13)}
.profile-main{position:relative;padding:0 32px 30px;text-align:center}
.profile-avatar-wrap{position:absolute;left:50%;top:-77px;transform:translateX(-50%);z-index:3}
.profile-avatar-ring{
  width:154px;height:154px;border-radius:50%;padding:5px;
  background:conic-gradient(from 180deg,var(--accent),#1c2e42,var(--accent2),#17283c,var(--accent));
  box-shadow:0 0 0 7px rgba(8,12,21,.72),0 0 35px rgba(99,245,177,.18);
}
.profile-avatar{
  width:100%;height:100%;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 50% 35%,#26364d,#0b111d 70%);
  border:5px solid #080c14;
}
.profile-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.photo-fallback{display:none;width:100%;height:100%;place-items:center;color:var(--accent);font:600 35px "JetBrains Mono"}
.online-dot{
  position:absolute;right:10px;bottom:9px;width:17px;height:17px;border-radius:50%;
  background:var(--accent);border:4px solid #0a0f18;box-shadow:0 0 13px rgba(99,245,177,.7);
}
.profile-actions{display:flex;justify-content:space-between;padding-top:21px}
.profile-actions a{
  display:inline-flex;align-items:center;gap:8px;color:#8c98ac;font-size:11px;font-weight:600;
  padding:8px 10px;border-radius:7px;transition:.2s;
}
.profile-actions a:hover{color:var(--accent);background:rgba(99,245,177,.05)}
.profile-actions a span{color:var(--accent)}
.profile-identity{padding-top:56px}
.profile-identity .profile-status{display:inline-flex;align-items:center;margin:0;padding:6px 10px;font-size:8px}
.profile-identity h2{font-size:34px;line-height:1.1;letter-spacing:-.045em;margin:12px 0 4px}
.profile-location{color:#8491a6;font:11px "JetBrains Mono";margin-bottom:14px}
.profile-role{font-size:15px;color:#e3eaf4;font-weight:600;margin-top:3px}
.profile-university{font-size:12px;color:#768399;margin-top:2px}
.profile-stats{
  display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0 18px;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.profile-stats div{padding:17px 8px;border-right:1px solid var(--line)}
.profile-stats div:last-child{border-right:0}
.profile-stats strong{display:block;color:var(--text);font:600 18px "JetBrains Mono"}
.profile-stats span{display:block;color:#6e7b91;font-size:10px;margin-top:2px}
.profile-tags{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-bottom:20px}
.profile-tags span{font:9px "JetBrains Mono";color:#8d9aaf;background:#101827;border:1px solid var(--line);padding:6px 8px;border-radius:5px}
.profile-more{
  display:flex;align-items:center;justify-content:center;gap:14px;width:100%;
  padding:13px 16px;border:1px solid rgba(99,245,177,.18);border-radius:9px;
  color:var(--accent);background:rgba(99,245,177,.045);font-size:12px;font-weight:600;
  transition:.25s;
}
.profile-more:hover{background:rgba(99,245,177,.09);border-color:rgba(99,245,177,.35);transform:translateY(-2px)}
.profile-more span{font-size:16px}
@media(max-width:900px){
  .hero-profile-card{margin:auto;max-width:520px}
}
@media(max-width:600px){
  .hero-profile-card{border-radius:18px}
  .profile-cover{height:125px;border-radius:18px 18px 0 0}
  .profile-main{padding-left:20px;padding-right:20px}
  .profile-avatar-ring{width:136px;height:136px}
  .profile-avatar-wrap{top:-68px}
  .profile-identity{padding-top:50px}
  .profile-identity h2{font-size:29px}
}

/* FINAL OVERRIDE: old terminal is intentionally disabled */
.hero .hero-terminal{display:none!important}
.hero .hero-profile{display:none!important}
.hero-profile-card{display:block!important}

/* ===== HERO V5: PROFILE-ONLY LAYOUT ===== */
.hero{
  min-height:calc(100vh - 76px);
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:54px 0 70px;
}
.hero-copy{display:none!important}
.hero-profile-card{
  width:min(760px,100%)!important;
  margin:0 auto!important;
}
.profile-cover{height:185px}
.profile-main{padding-left:42px;padding-right:42px;padding-bottom:38px}
.profile-avatar-wrap{top:-91px}
.profile-avatar-ring{width:182px;height:182px}
.profile-identity{padding-top:72px}
.profile-identity h2{font-size:38px}
.profile-role{font-size:16px}
.profile-university{font-size:13px}
.profile-stats{margin-top:30px}
.profile-stats strong{font-size:20px}
.profile-tags{margin-top:2px}
.profile-more{max-width:360px;margin:0 auto}
@media(max-width:900px){
  .hero{min-height:auto;padding:65px 0 80px}
  .hero-profile-card{width:min(650px,100%)!important}
}
@media(max-width:600px){
  .hero{padding:42px 0 60px}
  .hero-profile-card{width:100%!important}
  .profile-cover{height:140px}
  .profile-main{padding-left:20px;padding-right:20px;padding-bottom:26px}
  .profile-avatar-wrap{top:-75px}
  .profile-avatar-ring{width:150px;height:150px}
  .profile-identity{padding-top:61px}
  .profile-identity h2{font-size:30px}
}

/* ===== V6: DEEP DARK / SOFT PROFILE GLOW ===== */
:root{
  --bg:#030507;
  --panel:#080b10;
  --panel2:#0c1118;
  --text:#f1f4f7;
  --muted:#7f8998;
  --line:rgba(170,185,205,.11);
  --accent:#75e6ad;
  --accent2:#6798d9;
}

/* deeper black atmosphere */
body{
  background:
    radial-gradient(circle at 50% 8%,rgba(55,70,88,.055),transparent 34%),
    #030507;
}
.grid-bg{
  opacity:.28;
  background-image:
    linear-gradient(rgba(130,150,175,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(130,150,175,.025) 1px,transparent 1px);
}

/* darker profile card */
.hero-profile-card{
  background:linear-gradient(180deg,#0a0d12 0%,#06080c 100%)!important;
  border-color:rgba(160,175,195,.13)!important;
  box-shadow:0 35px 100px rgba(0,0,0,.55),0 0 70px rgba(0,0,0,.25)!important;
}
.profile-cover{
  background:
    radial-gradient(circle at 78% 35%,rgba(103,152,217,.09),transparent 28%),
    linear-gradient(135deg,#0d1219,#05070a 72%)!important;
}

/* soft, calm glow around the profile photo */
.profile-avatar-wrap{
  filter:drop-shadow(0 0 10px rgba(117,230,173,.13))
         drop-shadow(0 0 24px rgba(103,152,217,.08));
}
.profile-avatar-ring{
  background:
    conic-gradient(
      from 210deg,
      rgba(117,230,173,.9),
      rgba(117,230,173,.22),
      rgba(103,152,217,.62),
      rgba(117,230,173,.16),
      rgba(117,230,173,.9)
    )!important;
  box-shadow:
    0 0 0 7px rgba(3,5,7,.88),
    0 0 18px rgba(117,230,173,.12),
    0 0 38px rgba(103,152,217,.07)!important;
  animation:none!important;
}
.profile-avatar{
  background:#090d13!important;
  border-color:#05070a!important;
}
.profile-avatar-wrap:after{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(117,230,173,.07) 0%,rgba(117,230,173,.025) 38%,transparent 68%);
  filter:blur(7px);
  z-index:-1;
  pointer-events:none;
}
.online-dot{
  background:#75e6ad!important;
  box-shadow:0 0 8px rgba(117,230,173,.45)!important;
}

/* quieter UI accents */
.profile-status{
  background:rgba(117,230,173,.025)!important;
  border-color:rgba(117,230,173,.12)!important;
}
.profile-tags span{
  background:#0b1016!important;
}
.profile-more{
  background:rgba(117,230,173,.025)!important;
  border-color:rgba(117,230,173,.13)!important;
}

/* ===== V7: PURE BLACK + DEEP NAVY + PHOTO HALO ===== */
:root{
  --bg:#000000;
  --panel:#05070b;
  --panel2:#080d16;
  --text:#f5f7fa;
  --muted:#778397;
  --line:rgba(122,145,176,.12);
  --accent:#79e7b0;
  --accent2:#416b9e;
}

html,body{background:#000!important}
body{
  background:
    radial-gradient(ellipse at 50% 0%,rgba(7,18,32,.42),transparent 42%),
    #000!important;
}
.grid-bg{
  opacity:.18!important;
  background-image:
    linear-gradient(rgba(54,88,125,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(54,88,125,.055) 1px,transparent 1px)!important;
}

/* pure black card with a very subtle navy depth */
.hero-profile-card{
  background:
    linear-gradient(180deg,#06090e 0%,#000 100%)!important;
  border:1px solid rgba(72,99,133,.2)!important;
  box-shadow:
    0 40px 100px rgba(0,0,0,.8),
    0 0 80px rgba(12,32,55,.14)!important;
}
.profile-cover{
  background:
    radial-gradient(circle at 78% 35%,rgba(42,83,126,.18),transparent 29%),
    linear-gradient(135deg,#090f18 0%,#020407 75%)!important;
}

/* profile image: calm halo, navy shadow + soft green rim */
.profile-avatar-wrap{
  filter:
    drop-shadow(0 0 8px rgba(71,112,158,.18))
    drop-shadow(0 0 24px rgba(71,112,158,.10))!important;
}
.profile-avatar-ring{
  background:
    conic-gradient(
      from 205deg,
      #6ee3aa 0deg,
      rgba(110,227,170,.28) 65deg,
      #315d8b 145deg,
      rgba(49,93,139,.22) 220deg,
      #6ee3aa 310deg,
      #6ee3aa 360deg
    )!important;
  box-shadow:
    0 0 0 7px #000,
    0 0 10px rgba(110,227,170,.16),
    0 0 28px rgba(49,93,139,.14),
    0 0 55px rgba(49,93,139,.06)!important;
  animation:none!important;
}
.profile-avatar{
  background:#020406!important;
  border:5px solid #000!important;
}
.profile-avatar-wrap:after{
  content:"";
  position:absolute;
  inset:-25px;
  border-radius:50%;
  background:
    radial-gradient(circle,
      rgba(74,119,163,.11) 0%,
      rgba(74,119,163,.055) 32%,
      rgba(74,119,163,.018) 48%,
      transparent 69%);
  filter:blur(8px);
  z-index:-1;
  pointer-events:none;
}
.online-dot{
  background:#79e7b0!important;
  box-shadow:
    0 0 5px rgba(121,231,176,.65),
    0 0 12px rgba(121,231,176,.22)!important;
  border-color:#000!important;
}

/* navy details */
.profile-status{
  background:rgba(50,88,125,.055)!important;
  border-color:rgba(75,116,158,.17)!important;
}
.profile-tags span{
  background:#050a11!important;
  border-color:rgba(67,96,130,.16)!important;
}
.profile-more{
  background:linear-gradient(180deg,rgba(45,77,109,.09),rgba(12,25,39,.05))!important;
  border-color:rgba(77,119,161,.2)!important;
}
.cover-grid{
  opacity:.35!important;
  background-image:
    linear-gradient(rgba(72,109,145,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(72,109,145,.07) 1px,transparent 1px)!important;
}
.cover-orb{border-color:rgba(67,104,143,.17)!important}

/* ===== V8: MERRIWEATHER TYPOGRAPHY ===== */
body{
  font-family:"Merriweather",Georgia,serif!important;
}
h1,h2,h3,h4,h5,h6,
.brand,.nav-links,.nav-cta,.btn,
.profile-status,.profile-location,.profile-tags,
.profile-more,.profile-stats span,.profile-stats strong,
.cover-label,.section-no,.mini-label,.facts span,
.social-row,.edit-note,.year,.tags span,
.text-btn,.footer-right,.footer p{
  font-family:"Merriweather",Georgia,serif!important;
}

/* Keep technical micro-copy in a monospace face for the cyber identity. */
.eyebrow,
.terminal,
.prompt,
.path,
.output,
.cursor{
  font-family:"JetBrains Mono",monospace!important;
}

/* Merriweather needs slightly more breathing room. */
.hero-profile-card h2{
  font-weight:900;
  letter-spacing:-.035em;
}
.profile-role{
  font-weight:700;
}
.profile-university,
.profile-location{
  letter-spacing:.01em;
}

/* ===== V9: FORCE MERRIWEATHER ===== */
html body,
html body *{
  font-family:"Merriweather", Georgia, serif;
}

.eyebrow,
.terminal,
.terminal *,
.prompt,
.path,
.output,
.cursor,
.cover-label{
  font-family:"JetBrains Mono", monospace!important;
}

.profile-identity h2,
.hero h1,
.section-head h2,
.skill-card h3,
.cert-card h3,
.project h3,
.contact h2,
.footer b{
  font-family:"Merriweather", Georgia, serif!important;
  font-weight:900;
}


/* ===== CERTIFICATES: 21-CARD ARCHIVE ===== */
.section-subtitle{
  color:#69768a;
  font-size:11px;
  margin-top:7px;
  max-width:620px;
}
.cert-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:-18px 0 22px;
  color:#778397;
  font-size:11px;
}
.cert-toolbar b{color:var(--accent);font-family:"Merriweather",Georgia,serif}
.cert-hint{font-size:10px;color:#59667a}
.certificates-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.certificate-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(72,99,133,.17);
  border-radius:12px;
  background:linear-gradient(180deg,#070b11,#020304);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.certificate-card:hover{
  transform:translateY(-5px);
  border-color:rgba(117,231,176,.28);
  box-shadow:0 18px 45px rgba(0,0,0,.35),0 0 25px rgba(55,93,128,.07);
}
.certificate-image{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/10;
  padding:0;
  border:0;
  background:#05080d;
  cursor:pointer;
  overflow:hidden;
}
.certificate-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#05080d;
  transition:transform .45s ease,filter .35s ease;
}
.certificate-card:hover .certificate-image img{
  transform:scale(1.035);
  filter:brightness(.72);
}
.certificate-overlay{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  padding:9px 11px;
  border:1px solid rgba(117,231,176,.2);
  border-radius:7px;
  background:rgba(0,0,0,.7);
  backdrop-filter:blur(8px);
  color:#b8f3d4;
  font:600 9px "JetBrains Mono",monospace;
  letter-spacing:.03em;
  opacity:0;
  transform:translateY(5px);
  transition:.25s;
}
.certificate-card:hover .certificate-overlay{opacity:1;transform:none}
.certificate-missing{
  display:none !important;
  position:absolute;
  inset:0;
  place-items:center;
  align-content:center;
  gap:6px;
  color:#647188;
  background:
    radial-gradient(circle at 50% 35%,rgba(55,93,128,.12),transparent 45%),
    #04070b;
}
.certificate-missing b{
  color:var(--accent);
  font:700 25px "Merriweather",Georgia,serif;
}
.certificate-missing small{
  font:9px "JetBrains Mono",monospace;
  color:#59667a;
}
.certificate-missing.show{display:grid !important}
.certificate-image img.missing{display:none}
.certificate-info{
  display:grid;
  grid-template-columns:32px 1fr;
  gap:10px;
  padding:15px;
  text-align:left;
}
.certificate-number{
  color:#466887;
  font:600 10px "JetBrains Mono",monospace;
  padding-top:3px;
}
.certificate-info h3{
  font:700 14px "Merriweather",Georgia,serif;
  color:#edf2f7;
  margin:0 0 5px;
}
.certificate-info p{
  margin:0;
  color:#69768a;
  font-size:10px;
  line-height:1.5;
}
.edit-note code{
  color:#94a2b8;
  background:#080d14;
  border:1px solid rgba(72,99,133,.13);
  border-radius:4px;
  padding:2px 5px;
  font-family:"JetBrains Mono",monospace;
}
@media(max-width:900px){
  .certificates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .cert-toolbar{align-items:flex-start;gap:10px;flex-direction:column}
  .certificates-grid{grid-template-columns:1fr}
}

/* === Premium certificate frames — visual only === */
.certificate-card{
  position:relative;
  border:1px solid rgba(103,139,171,.24);
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(8,14,22,.96),rgba(1,4,8,.98));
  box-shadow:
    0 18px 45px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(255,255,255,.018);
  overflow:hidden;
}
.certificate-card::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(105,153,190,.12);
  border-radius:12px;
  pointer-events:none;
  z-index:4;
}
.certificate-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  pointer-events:none;
  background:
    linear-gradient(135deg,rgba(117,231,176,.42),transparent 18%,transparent 78%,rgba(66,118,165,.32)),
    radial-gradient(circle at 50% 0%,rgba(86,139,180,.13),transparent 38%);
  opacity:.7;
}
.certificate-image{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  aspect-ratio:16/10;
  padding:22px;
  border:0;
  border-radius:15px 15px 0 0;
  background:
    linear-gradient(180deg,rgba(7,12,18,.9),rgba(2,5,9,.98));
  cursor:zoom-in;
  overflow:hidden;
}
.certificate-image::before{
  content:"";
  position:absolute;
  inset:17px;
  border:1px solid rgba(117,231,176,.18);
  border-radius:9px;
  box-shadow:
    0 0 0 1px rgba(30,60,83,.22),
    inset 0 0 24px rgba(42,82,112,.08);
  pointer-events:none;
  z-index:2;
}
.certificate-image::after{
  content:"";
  position:absolute;
  top:17px;
  left:17px;
  width:34px;
  height:34px;
  border-top:2px solid rgba(117,231,176,.55);
  border-left:2px solid rgba(117,231,176,.55);
  border-radius:8px 0 0 0;
  pointer-events:none;
  z-index:3;
}
.certificate-image img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#05080d;
  border-radius:8px;
  transition:transform .45s ease,filter .35s ease;
}
.certificate-card:hover{
  border-color:rgba(117,231,176,.34);
  box-shadow:
    0 22px 55px rgba(0,0,0,.42),
    0 0 32px rgba(48,107,92,.08),
    inset 0 0 0 1px rgba(117,231,176,.04);
}
.certificate-card:hover .certificate-image img{
  transform:scale(1.018);
  filter:brightness(.98);
}
/* Remove the old hover button/label completely. */
.certificate-overlay{display:none !important;}
.certificate-image{cursor:zoom-in;}
.certificate-info{
  position:relative;
  z-index:5;
  border-top:1px solid rgba(96,128,158,.12);
}


/* Certificate gallery: image-only presentation */
.certificate-info,
.certificate-overlay,
.certificate-card > .certificate-info,
.certificate-card > .certificate-overlay {
  display:none !important;
}
.certificate-card {
  padding:0 !important;
}
.certificate-image {
  margin:0 !important;
  border-radius:16px !important;
}

/* V21 — Five-column certificates + single traveling light line */
.certificates-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.certificates-grid .certificate-card {
  --certificate-angle: 0deg;
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: visible;
  isolation: isolate;
  background: #020507;
  box-shadow: 0 8px 24px rgba(0,0,0,.40);
  animation: certificateOrbit 8s linear infinite;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* The actual effect: one thin light stroke travels around the frame. */
.certificates-grid .certificate-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: 14px;
  padding: 2px;
  background: conic-gradient(
    from var(--certificate-angle),
    transparent 0deg 330deg,
    rgba(108, 219, 244, .10) 334deg,
    rgba(108, 219, 244, .85) 342deg,
    rgba(178, 108, 255, .95) 350deg,
    rgba(178, 108, 255, .22) 356deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* Very soft halo that follows the same single moving stroke. */
.certificates-grid .certificate-card::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: 17px;
  padding: 5px;
  background: conic-gradient(
    from var(--certificate-angle),
    transparent 0deg 330deg,
    rgba(94, 210, 238, .05) 337deg,
    rgba(94, 210, 238, .28) 344deg,
    rgba(166, 93, 255, .22) 351deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: blur(5px);
  opacity: .9;
  pointer-events: none;
}

.certificates-grid .certificate-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1600 / 1132;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #020507;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: inset 0 0 18px rgba(0,20,32,.18);
}

.certificates-grid .certificate-image::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(154, 221, 235, .055);
  border-radius: 11px;
  pointer-events: none;
  z-index: 3;
}

.certificates-grid .certificate-image::after {
  content: none;
}

.certificates-grid .certificate-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
  display: block;
  background: #000;
}

.certificates-grid .certificate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.52);
}

@keyframes certificateOrbit {
  0%   { --certificate-angle: 0deg; }
  100% { --certificate-angle: 360deg; }
}

@property --certificate-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@media (max-width: 1100px) {
  .certificates-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .certificates-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

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

@media (prefers-reduced-motion: reduce) {
  .certificates-grid .certificate-card { animation: none; }
  .certificates-grid .certificate-card { --certificate-angle: 0deg; }
}

/* V22 — Premium horizontal certificate carousel inspired by the reference */
.certificate-carousel{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  margin:6px -18px 0;
}
.certificate-viewport{
  flex:1;
  min-width:0;
  overflow-x:auto;
  overflow-y:visible;
  scroll-behavior:smooth;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
  padding:14px 18px 18px;
}
.certificate-viewport::-webkit-scrollbar{display:none}
.certificate-track{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:14px;
  width:max-content;
  min-width:100%;
}
.certificate-track .certificate-card{
  flex:0 0 calc((100vw - 2 * clamp(28px, 7vw, 120px) - 4 * 14px) / 5);
  width:calc((100vw - 2 * clamp(28px, 7vw, 120px) - 4 * 14px) / 5);
  max-width:none;
  scroll-snap-align:center;
  transform:scale(.965);
  transition:transform .5s ease, box-shadow .5s ease, filter .5s ease;
}
.certificate-track .certificate-card.is-active{
  transform:scale(1.025);
  z-index:4;
}
.certificate-track .certificate-card::before{
  background:conic-gradient(from var(--certificate-angle),
    transparent 0deg 318deg,
    rgba(93,218,246,.08) 327deg,
    rgba(104,224,255,.9) 338deg,
    rgba(171,91,255,1) 350deg,
    rgba(171,91,255,.16) 357deg,
    transparent 360deg);
  filter:drop-shadow(0 0 4px rgba(98,213,244,.55));
}
.certificate-track .certificate-card::after{
  inset:-7px;
  padding:7px;
  background:conic-gradient(from var(--certificate-angle),
    transparent 0deg 320deg,
    rgba(91,211,243,.03) 330deg,
    rgba(91,211,243,.22) 340deg,
    rgba(165,89,255,.18) 351deg,
    transparent 360deg);
  filter:blur(7px);
  opacity:.72;
}
.certificate-track .certificate-image{
  aspect-ratio:1600/1132;
  border-radius:11px;
}
.certificate-track .certificate-image img{border-radius:10px}
.certificate-track .certificate-card:hover{
  transform:scale(1.045) translateY(-2px);
  box-shadow:0 18px 40px rgba(0,0,0,.48),0 0 18px rgba(94,210,238,.08);
}
.certificate-nav{
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(107,205,239,.24);
  background:rgba(4,10,17,.88);
  color:#c8e9f5;
  display:grid;
  place-items:center;
  font:24px/1 "Merriweather",serif;
  cursor:pointer;
  z-index:10;
  box-shadow:0 0 18px rgba(75,190,232,.08), inset 0 0 12px rgba(70,120,160,.08);
  transition:.3s ease;
}
.certificate-nav:hover{
  border-color:rgba(116,222,248,.65);
  box-shadow:0 0 22px rgba(71,201,238,.22), inset 0 0 12px rgba(70,120,160,.12);
  color:#fff;
  transform:scale(1.06);
}
.certificate-dots{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:2px 0 0;
}
.certificate-dots button{
  width:6px;height:6px;padding:0;border:0;border-radius:50%;
  background:#294052;cursor:pointer;transition:.3s ease;
}
.certificate-dots button.active{
  width:20px;border-radius:99px;
  background:linear-gradient(90deg,#5bd9f5,#a65bff);
  box-shadow:0 0 10px rgba(88,213,244,.35);
}
@media(max-width:1100px){
  .certificate-track .certificate-card{flex-basis:calc((100vw - 2 * 42px - 3 * 14px) / 4);width:calc((100vw - 2 * 42px - 3 * 14px) / 4)}
}
@media(max-width:900px){
  .certificate-track .certificate-card{flex-basis:calc((100vw - 2 * 34px - 2 * 14px) / 3);width:calc((100vw - 2 * 34px - 2 * 14px) / 3)}
}
@media(max-width:650px){
  .certificate-carousel{margin-left:-8px;margin-right:-8px;gap:6px}
  .certificate-viewport{padding-left:8px;padding-right:8px}
  .certificate-track .certificate-card{flex-basis:calc((100vw - 2 * 30px - 14px) / 2);width:calc((100vw - 2 * 30px - 14px) / 2)}
  .certificate-nav{width:32px;height:32px;flex-basis:32px;font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .certificate-track .certificate-card::before,.certificate-track .certificate-card::after{animation:none!important}
  .certificate-viewport{scroll-behavior:auto}
}

/* =========================================================
   V23 — Category tabs + true traveling light around each certificate
   ========================================================= */
.certificate-category-bar{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
  margin:2px 0 18px;
}
.certificate-tab{
  appearance:none;
  border:1px solid rgba(71,112,151,.26);
  background:rgba(5,11,18,.72);
  color:#a9b7c9;
  padding:9px 16px;
  border-radius:9px;
  font:500 10px "JetBrains Mono",monospace;
  letter-spacing:.01em;
  cursor:pointer;
  transition:border-color .3s ease,box-shadow .3s ease,color .3s ease,background .3s ease,transform .3s ease;
}
.certificate-tab span{color:#5f7289}
.certificate-tab:hover{
  color:#eaf8ff;
  border-color:rgba(86,197,235,.45);
  box-shadow:0 0 16px rgba(63,177,222,.08);
  transform:translateY(-1px);
}
.certificate-tab.active{
  color:#e8fbff;
  border-color:rgba(92,213,247,.9);
  background:linear-gradient(135deg,rgba(52,170,222,.10),rgba(155,78,255,.10));
  box-shadow:0 0 10px rgba(78,205,245,.22),0 0 24px rgba(148,77,255,.10),inset 0 0 12px rgba(85,203,240,.05);
}
.certificate-tab.active span{color:#9deeff}
.certificate-filter-meta{
  display:flex;
  justify-content:flex-end;
  color:#66758b;
  font:500 9px "JetBrains Mono",monospace;
  margin:-5px 2px 12px;
}
.certificate-filter-meta b{color:#91dff4}
.certificate-category-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  width:100%;
}
.certificate-category-grid .certificate-card{
  position:relative;
  min-width:0;
  overflow:visible;
  isolation:isolate;
  border:0 !important;
  border-radius:12px;
  background:#020507;
  box-shadow:0 8px 24px rgba(0,0,0,.40);
  animation:none !important;
  transition:transform .35s ease,box-shadow .35s ease;
}
/* A single bright segment physically rotates around the border. */
.certificate-category-grid .certificate-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:0;
  padding:2px;
  border-radius:14px;
  background:conic-gradient(
    from 0deg,
    transparent 0deg 322deg,
    rgba(82,211,246,.08) 329deg,
    rgba(92,219,250,.95) 340deg,
    rgba(174,91,255,1) 350deg,
    rgba(174,91,255,.16) 357deg,
    transparent 360deg
  );
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  animation:certificateLightTravel 4.6s linear infinite;
  pointer-events:none;
  filter:drop-shadow(0 0 3px rgba(77,211,246,.72));
}
/* The same segment gets a very restrained soft halo. */
.certificate-category-grid .certificate-card::after{
  content:"";
  position:absolute;
  inset:-6px;
  z-index:-1;
  padding:6px;
  border-radius:18px;
  background:conic-gradient(
    from 0deg,
    transparent 0deg 323deg,
    rgba(70,206,242,.03) 333deg,
    rgba(70,206,242,.28) 342deg,
    rgba(165,86,255,.22) 351deg,
    transparent 360deg
  );
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  animation:certificateLightTravel 4.6s linear infinite;
  filter:blur(5px);
  opacity:.8;
  pointer-events:none;
}
.certificate-category-grid .certificate-image{
  position:relative;
  z-index:1;
  width:100%;
  aspect-ratio:1600/1132;
  padding:0;
  margin:0;
  border:0;
  border-radius:11px;
  background:#000;
  overflow:hidden;
  cursor:zoom-in;
  box-shadow:inset 0 0 14px rgba(0,15,26,.18);
}
.certificate-category-grid .certificate-image::before{
  content:"";
  position:absolute;
  inset:1px;
  z-index:3;
  border:1px solid rgba(169,229,246,.07);
  border-radius:10px;
  pointer-events:none;
}
.certificate-category-grid .certificate-image img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:10px;
  background:#000;
}
.certificate-category-grid .certificate-card:hover{
  transform:translateY(-2px) scale(1.012);
  box-shadow:0 15px 34px rgba(0,0,0,.48);
}
@keyframes certificateLightTravel{
  to{transform:rotate(360deg)}
}
@media(max-width:1100px){
  .certificate-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:900px){
  .certificate-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:650px){
  .certificate-category-bar{gap:7px;margin-bottom:14px;}
  .certificate-tab{padding:8px 11px;font-size:9px;}
  .certificate-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
}
@media(max-width:430px){
  .certificate-category-grid{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
  .certificate-category-grid .certificate-card::before,
  .certificate-category-grid .certificate-card::after{animation:none!important;}
}


/* ===== Certificates section: centered + uppercase ===== */
#certifications .section-head{
  justify-content:center;
  text-align:center;
}

#certifications .section-head > div{
  text-align:center;
}

#certifications .section-head h2{
  text-transform:uppercase;
}

#certifications .section-subtitle{
  margin-left:auto;
  margin-right:auto;
  text-transform:uppercase;
}

#certifications .certificate-category-bar{
  justify-content:center;
}

#certifications .certificate-tab{
  text-transform:uppercase;
}


/* ===== TECHNICAL SKILLS: uppercase headings ===== */
#skills .section-head h2,
#skills .skill-card h3{
  text-transform:uppercase;
}


/* ===== About & Technical Skills: centered uppercase headings ===== */
#about .section-head,
#skills .section-head{
  justify-content:center;
  text-align:center;
}

#about .section-head h2,
#skills .section-head h2{
  text-transform:uppercase;
}

#about .section-head .section-no,
#skills .section-head .section-no{
  text-transform:uppercase;
}

/* Learning / education icon */
#about .learning-icon{
  display:grid;
  place-items:center;
  font-size:2.35rem;
  line-height:1;
}

#about .about-card h3,
#about .about-card p,
#about .mini-label{
  text-transform:uppercase;
}


/* ===== Professional cybersecurity / technology icon ===== */
#about .learning-icon{
  display:grid;
  place-items:center;
}

#about .learning-icon svg{
  width:46px;
  height:46px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  color:var(--accent, #9ff0c2);
}

#about .facts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

#about .facts span{
  text-transform:uppercase;
}


/* ===== Profile identity + social links ===== */
.profile-identity h2{
  text-transform:uppercase;
  letter-spacing:.02em;
}

.profile-identity .profile-location,
.profile-identity .profile-role,
.profile-identity .profile-university,
.profile-status{
  text-transform:uppercase;
}

.profile-socials{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin:20px auto 4px;
}

.profile-socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 13px;
  border:1px solid rgba(150,180,220,.16);
  border-radius:7px;
  background:rgba(10,15,24,.58);
  color:#9db4d5;
  font-family:'JetBrains Mono',monospace;
  font-size:10px;
  letter-spacing:.08em;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease;
}

.profile-socials a:hover{
  transform:translateY(-2px);
  border-color:rgba(159,240,194,.5);
  color:#9ff0c2;
  background:rgba(159,240,194,.05);
}

.profile-actions a{
  text-transform:uppercase;
}


/* ===== Premium social buttons ===== */
.profile-socials{
  gap:10px;
  margin:22px auto 8px;
}

.profile-socials a{
  position:relative;
  overflow:hidden;
  min-width:96px;
  padding:9px 15px;
  border:1px solid rgba(130,165,205,.22);
  border-radius:9px;
  background:linear-gradient(180deg,rgba(17,25,38,.82),rgba(7,11,18,.78));
  color:#b9cbe2;
  box-shadow:0 0 0 rgba(159,240,194,0), inset 0 1px 0 rgba(255,255,255,.035);
  letter-spacing:.12em;
  transition:transform .25s ease,border-color .25s ease,color .25s ease,
             box-shadow .25s ease,background .25s ease;
}

.profile-socials a::before{
  content:"";
  position:absolute;
  top:0;
  left:-70%;
  width:55%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(159,240,194,.10),transparent);
  transform:skewX(-20deg);
  transition:left .55s ease;
}

.profile-socials a:hover{
  transform:translateY(-3px);
  border-color:rgba(159,240,194,.48);
  color:#9ff0c2;
  background:linear-gradient(180deg,rgba(20,35,40,.9),rgba(8,14,20,.86));
  box-shadow:0 0 18px rgba(159,240,194,.09), inset 0 0 14px rgba(159,240,194,.025);
}

.profile-socials a:hover::before{
  left:125%;
}

/* ===== Verified badge beside the name ===== */
.profile-name{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  flex-wrap:wrap;
}

.verified-badge{
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:50%;
  background:linear-gradient(135deg,#8ff0bb,#5fd9aa);
  color:#07120d;
  font-family:Arial,sans-serif;
  font-size:13px;
  font-weight:900;
  line-height:1;
  box-shadow:0 0 10px rgba(111,232,175,.28),0 0 22px rgba(111,232,175,.10);
  transform:translateY(1px);
}


/* ===== Animated black verification badge ===== */
.profile-name{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.verified-badge{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:25px;
  height:25px;
  flex:0 0 25px;
  transform:translateY(1px);
  filter:drop-shadow(0 0 7px rgba(0,0,0,.65));
}

.verified-badge::before,
.verified-badge::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.45);
  animation:verifiedRipple 2.4s ease-out infinite;
  pointer-events:none;
}

.verified-badge::after{
  animation-delay:1.2s;
}

.verified-badge svg{
  position:relative;
  z-index:2;
  width:25px;
  height:25px;
  overflow:visible;
}

.verified-badge .badge-wave{
  fill:#050505;
  stroke:rgba(255,255,255,.16);
  stroke-width:1;
}

.verified-badge .badge-check{
  fill:none;
  stroke:#fff;
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:42;
  stroke-dashoffset:42;
  animation:verifiedCheck 2.4s ease-in-out infinite;
}

@keyframes verifiedCheck{
  0%,18%{stroke-dashoffset:42;opacity:.35}
  42%,72%{stroke-dashoffset:0;opacity:1}
  88%,100%{stroke-dashoffset:0;opacity:.75}
}

@keyframes verifiedRipple{
  0%{transform:scale(.82);opacity:0}
  18%{opacity:.45}
  70%,100%{transform:scale(1.7);opacity:0}
}

/* ===== Uploaded profile photo ===== */
.profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 28%;
  display:block;
}


/* ===== Education & Journey: centered uppercase presentation ===== */
#education .section-head{
  justify-content:center;
  text-align:center;
}

#education .section-head h2,
#education .timeline,
#education .timeline-item,
#education .timeline-item h3,
#education .timeline-item p,
#education .timeline-item small,
#education .timeline-item .year{
  text-transform:uppercase;
}


/* ===== Learning Platforms ===== */
#learning-platforms .section-head{
  justify-content:center;
  text-align:center;
}

#learning-platforms .section-head h2{
  text-transform:uppercase;
}

#learning-platforms .platforms{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}

#learning-platforms .platform-card{
  min-height:128px;
  padding:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  overflow:hidden;
  text-decoration:none;
  border:1px solid rgba(130,165,205,.18);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(14,21,32,.82),rgba(7,11,18,.82));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

#learning-platforms .platform-card:hover{
  transform:translateY(-4px);
  border-color:rgba(159,240,194,.42);
  box-shadow:0 0 22px rgba(159,240,194,.08),inset 0 0 18px rgba(159,240,194,.025);
}

#learning-platforms .platform-logo{
  width:100%;
  height:76px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:8px;
  background:#000;
}

#learning-platforms .platform-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

#learning-platforms .platform-card > span{
  color:#c3d1e5;
  font-family:'JetBrains Mono',monospace;
  font-size:10px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
}

@media (max-width: 900px){
  #learning-platforms .platforms{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 520px){
  #learning-platforms .platforms{
    grid-template-columns:1fr;
  }
}

/* ===== Contact + browser tab polish ===== */
#contact .section-no,
#contact h2,
#contact p,
#contact .btn{
  text-transform:uppercase;
}
#contact p{
  max-width:760px;
  line-height:1.9;
  letter-spacing:.025em;
}




#learning-platforms .platform-marquee{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:24px 0 28px;
  margin-top:8px;
  isolation:isolate;
}
#learning-platforms .platform-marquee::before,
#learning-platforms .platform-marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:110px;
  z-index:10;
  pointer-events:none;
}
#learning-platforms .platform-marquee::before{
  left:0;
  background:linear-gradient(90deg,#05070a 0%,rgba(5,7,10,0) 100%);
}
#learning-platforms .platform-marquee::after{
  right:0;
  background:linear-gradient(270deg,#05070a 0%,rgba(5,7,10,0) 100%);
}
#learning-platforms .platform-track{
  display:flex;
  align-items:center;
  gap:34px;
  width:max-content;
  animation:learningPlatformsMove 30s linear infinite;
  will-change:transform;
}
#learning-platforms .platform-marquee:hover .platform-track{
  animation-play-state:paused;
}
#learning-platforms .platform-card{
  position:relative;
  flex:0 0 180px;
  width:180px;
  height:180px;
  display:grid;
  place-items:center;
  padding:7px;
  border:0;
  border-radius:50%;
  background:transparent;
  text-decoration:none;
  overflow:visible;
  transition:transform .3s ease,filter .3s ease;
}
#learning-platforms .platform-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  padding:3px;
  background:conic-gradient(
    from 0deg,
    rgba(159,240,194,.10),
    rgba(159,240,194,1) 18%,
    rgba(255,255,255,.25) 31%,
    rgba(159,240,194,.12) 48%,
    rgba(159,240,194,.95) 72%,
    rgba(159,240,194,.10) 100%
  );
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:learningRingSpin 5s linear infinite;
  filter:drop-shadow(0 0 7px rgba(159,240,194,.38));
}
#learning-platforms .platform-card::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:50%;
  border:1px solid rgba(159,240,194,.14);
  border-top-color:rgba(159,240,194,.65);
  border-left-color:rgba(159,240,194,.25);
  animation:learningOrbit 8s linear infinite reverse;
  pointer-events:none;
}
#learning-platforms .platform-logo{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  border-radius:50%;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#000;
  border:1px solid rgba(159,240,194,.25);
  box-shadow:
    inset 0 0 25px rgba(159,240,194,.06),
    0 0 13px rgba(159,240,194,.12);
}
#learning-platforms .platform-logo img{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  object-position:center;
}
#learning-platforms .platform-card:hover{
  transform:scale(1.08);
  filter:drop-shadow(0 0 14px rgba(159,240,194,.28));
}
@keyframes learningPlatformsMove{
  from{transform:translateX(0);}
  to{transform:translateX(calc(-50% - 17px));}
}
@keyframes learningRingSpin{
  to{transform:rotate(360deg);}
}
@keyframes learningOrbit{
  to{transform:rotate(360deg);}
}
@media(max-width:700px){
  #learning-platforms .platform-track{gap:22px;animation-duration:24s}
  #learning-platforms .platform-card{
    flex-basis:148px;
    width:148px;
    height:148px;
  }
  #learning-platforms .platform-marquee::before,
  #learning-platforms .platform-marquee::after{width:58px}
}
@media(prefers-reduced-motion:reduce){
  #learning-platforms .platform-track,
  #learning-platforms .platform-card::before,
  #learning-platforms .platform-card::after{animation:none}
}



#learning-platforms .platform-fixed{
  position:relative;
  width:100%;
  padding:22px 0 30px;
  overflow:visible;
}

#learning-platforms .platform-fixed .platform-track{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:center;
  justify-items:center;
  gap:26px;
  width:100%;
  animation:none !important;
  transform:none !important;
}

#learning-platforms .platform-fixed .platform-card{
  position:relative;
  width:176px;
  height:176px;
  flex:none;
  display:grid;
  place-items:center;
  padding:7px;
  border:0;
  border-radius:50%;
  background:transparent;
  overflow:visible;
  transition:transform .28s ease,filter .28s ease;
}

#learning-platforms .platform-fixed .platform-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  padding:3px;
  background:conic-gradient(
    from 0deg,
    rgba(159,240,194,.18) 0deg,
    rgba(159,240,194,.92) 65deg,
    rgba(255,255,255,.32) 105deg,
    rgba(159,240,194,.16) 165deg,
    rgba(159,240,194,.88) 240deg,
    rgba(159,240,194,.14) 310deg,
    rgba(159,240,194,.75) 350deg
  );
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:platformGlowSpin 7s linear infinite;
  filter:drop-shadow(0 0 5px rgba(159,240,194,.28));
}

#learning-platforms .platform-fixed .platform-card::after{
  content:"";
  position:absolute;
  inset:-9px;
  border-radius:50%;
  border:1px solid rgba(159,240,194,.10);
  box-shadow:0 0 12px rgba(159,240,194,.08);
  animation:platformGlowPulse 3s ease-in-out infinite;
  pointer-events:none;
}

#learning-platforms .platform-fixed .platform-logo{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
  background:#000;
  border:1px solid rgba(159,240,194,.22);
  box-shadow:
    inset 0 0 25px rgba(159,240,194,.05),
    0 0 9px rgba(159,240,194,.10);
}

#learning-platforms .platform-fixed .platform-logo img{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  object-position:center;
}

#learning-platforms .platform-fixed .platform-card:hover{
  transform:translateY(-5px) scale(1.05);
  filter:drop-shadow(0 0 14px rgba(159,240,194,.25));
}

#learning-platforms .platform-fixed .platform-card:hover::before{
  animation-duration:2.8s;
  filter:drop-shadow(0 0 9px rgba(159,240,194,.45));
}

@keyframes platformGlowSpin{
  to{transform:rotate(360deg);}
}

@keyframes platformGlowPulse{
  0%,100%{opacity:.55;transform:scale(.99);}
  50%{opacity:1;transform:scale(1.025);}
}

@media(max-width:900px){
  #learning-platforms .platform-fixed .platform-track{
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:28px;
  }
}

@media(max-width:520px){
  #learning-platforms .platform-fixed .platform-track{
    grid-template-columns:1fr;
    row-gap:24px;
  }
  #learning-platforms .platform-fixed .platform-card{
    width:158px;
    height:158px;
  }
}

@media(prefers-reduced-motion:reduce){
  #learning-platforms .platform-fixed .platform-card::before,
  #learning-platforms .platform-fixed .platform-card::after{
    animation:none;
  }
}


/* Simple, lightweight certificate cards */
#certifications .certificate-category-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
#certifications .certificate-text-card {
  min-width: 0;
  padding: 20px 22px !important;
  border: 1px solid rgba(145,165,200,.18) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, rgba(14,21,39,.98), rgba(8,13,28,.98)) !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  overflow: hidden;
}
#certifications .certificate-text-card::before,
#certifications .certificate-text-card::after { display: none !important; }
#certifications .certificate-text-top {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-bottom: 13px;
}
#certifications .certificate-number {
  color: #71839e; font: 600 10px "JetBrains Mono", monospace;
}
#certifications .certificate-status {
  color: #c4d5e8; font: 500 10px "JetBrains Mono", monospace;
  border: 1px solid rgba(145,165,200,.2); border-radius: 999px;
  padding: 5px 10px; background: rgba(145,165,200,.06);
}
#certifications .certificate-text-card h3 {
  color: #eef3ff; font: 600 15px/1.5 "Merriweather", Georgia, serif;
  margin: 0 0 9px; overflow-wrap: anywhere;
}
#certifications .certificate-text-card .certificate-provider {
  color: #718de2; font: 500 10px "JetBrains Mono", monospace;
  text-transform: uppercase; letter-spacing: .06em; margin: 0;
}
#certifications .certificate-text-footer {
  display:flex; justify-content:space-between; gap:8px;
  margin-top: 18px; padding-top: 10px;
  border-top: 1px solid rgba(145,165,200,.13);
  color:#718096; font: 9px "JetBrains Mono", monospace;
}
@media (max-width: 640px) {
  #certifications .certificate-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 8px !important; }
  #certifications .certificate-text-card { padding: 11px 10px !important; border-radius: 9px !important; }
  #certifications .certificate-text-top { margin-bottom: 8px; gap: 4px; }
  #certifications .certificate-number, #certifications .certificate-status { font-size: 8px; }
  #certifications .certificate-status { padding: 3px 5px; }
  #certifications .certificate-text-card h3 { font-size: 10px; line-height: 1.45; margin-bottom: 6px; }
  #certifications .certificate-text-card .certificate-provider { font-size: 8px; }
  #certifications .certificate-text-footer { margin-top: 10px; padding-top: 7px; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #certifications .certificate-text-card { transition: none !important; }
}


/* Digital certificate cards: lightweight, static presentation */
#certifications .certificate-text-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 168px;
  background: linear-gradient(135deg, rgba(14,21,39,.98), rgba(10,18,38,.98)) !important;
}
#certifications .certificate-text-card h3 {
  font-family: inherit;
  font-size: clamp(12px, 1.25vw, 16px);
  font-weight: 650;
  line-height: 1.5;
}
#certifications .certificate-number {
  display: inline-flex; align-items: center; gap: 6px;
  color: #8293b1; letter-spacing: .06em;
}
#certifications .certificate-seal {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid rgba(89,211,255,.35); border-radius: 6px;
  color: #59d3ff; background: rgba(89,211,255,.08); font-size: 12px;
}
#certifications .certificate-status { white-space: nowrap; }
#certifications .certificate-text-card .certificate-provider {
  color: #8297e8; font-size: 10px; letter-spacing: .07em;
}
#certifications .certificate-text-footer { letter-spacing: .035em; }
@media (max-width: 640px) {
  #certifications .certificate-text-card { min-height: 132px; }
  #certifications .certificate-number { font-size: 7px; letter-spacing: 0; }
  #certifications .certificate-seal { width: 15px; height: 15px; font-size: 9px; }
  #certifications .certificate-status { font-size: 7px; padding: 3px 4px; }
  #certifications .certificate-text-card h3 { font-size: 9px; line-height: 1.4; }
  #certifications .certificate-text-card .certificate-provider { font-size: 7px; overflow-wrap: anywhere; }
  #certifications .certificate-text-footer { font-size: 6px; }
}

/* Certificate cards — harmonized with the portfolio theme */
#certifications .certificate-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
#certifications .certificate-text-card {
  position: relative;
  min-height: 170px;
  padding: 20px 22px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(12,17,29,.94), rgba(16,23,38,.82)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018) !important;
  transition: border-color .25s ease, background .25s ease !important;
}
#certifications .certificate-text-card::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  opacity: .8;
}
#certifications .certificate-text-card::after { display: none !important; }
#certifications .certificate-text-card:hover {
  transform: none !important;
  border-color: rgba(99,245,177,.35) !important;
  background: linear-gradient(135deg, rgba(15,24,39,.98), rgba(16,27,43,.92)) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
}
#certifications .certificate-text-top { margin-bottom: 14px; }
#certifications .certificate-number {
  color: var(--accent);
  font: 600 10px "JetBrains Mono", monospace;
  letter-spacing: .07em;
}
#certifications .certificate-seal {
  width: 20px; height: 20px;
  border: 1px solid rgba(99,245,177,.25);
  border-radius: 6px;
  color: var(--accent);
  background: rgba(99,245,177,.07);
}
#certifications .certificate-status {
  color: #9eabc0;
  border: 1px solid var(--line);
  background: rgba(87,167,255,.055);
  border-radius: 6px;
  font: 500 9px "JetBrains Mono", monospace;
  padding: 4px 8px;
}
#certifications .certificate-text-card h3 {
  color: var(--text);
  font: 600 15px/1.5 Inter, system-ui, sans-serif;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
#certifications .certificate-text-card .certificate-provider {
  color: var(--accent2);
  font: 500 10px/1.5 "JetBrains Mono", monospace;
  letter-spacing: .055em;
  margin: 0;
}
#certifications .certificate-text-footer {
  margin-top: 16px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: #68758a;
  font: 9px "JetBrains Mono", monospace;
  letter-spacing: .035em;
}
@media (max-width: 640px) {
  #certifications .certificate-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 8px !important; }
  #certifications .certificate-text-card { min-height: 145px; padding: 11px 9px !important; border-radius: 8px !important; }
  #certifications .certificate-text-top { align-items: flex-start; margin-bottom: 8px; gap: 4px; }
  #certifications .certificate-number { font-size: 7px; letter-spacing: 0; }
  #certifications .certificate-seal { width: 15px; height: 15px; font-size: 9px; flex: 0 0 auto; }
  #certifications .certificate-status { font-size: 7px; padding: 3px 4px; }
  #certifications .certificate-text-card h3 { font-size: 10px; line-height: 1.4; margin-bottom: 6px; }
  #certifications .certificate-text-card .certificate-provider { font-size: 7px; overflow-wrap: anywhere; }
  #certifications .certificate-text-footer { margin-top: 9px; padding-top: 6px; font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  #certifications .certificate-text-card { transition: none !important; }
}



/* Projects section */
#projects .section-head {
  justify-content: center;
  text-align: center;
}

.portfolio-project {
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(14, 20, 34, .96),
    rgba(8, 12, 21, .98)
  );
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.portfolio-project-cover {
  display: block;
  width: 100%;
  height: auto;
}

.portfolio-project-body {
  padding: 24px;
  text-align: center;
}

.portfolio-project-body h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.portfolio-project-body .profile-more:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .portfolio-project {
    border-radius: 12px;
  }

  .portfolio-project-body {
    padding: 18px;
  }
}