/* KTE - DEV | Screenshot-like UI */
:root{
  --bg:#eef0f5;
  --paper:#ffffff;
  --line:#e6e9f2;
  --text:#1f2937;
  --muted:#6b7280;
  --primary:#2563EB;
  --primary2:#1E40AF;
  --soft:#e9f1ff;
  --radius:18px;
  --shadow:0 16px 40px rgba(17,24,39,0.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}

/* Mobile topbar */
.m-topbar{display:none;position:sticky;top:0;z-index:60;background:rgba(255,255,255,0.78);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);padding:10px 12px;align-items:center;justify-content:space-between;gap:10px}
.m-brand{display:flex;align-items:center;gap:10px;font-weight:900}
.m-cta{text-decoration:none;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));padding:10px 12px;border-radius:14px;font-weight:900}
.m-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:18px}
.m-btn.close{display:none}

/* Layout grid */
.shell{display:grid;grid-template-columns:280px 1fr 76px;gap:14px;max-width:1250px;margin:18px auto;padding:0 14px}

/* Left sidebar */
.left{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;position:sticky;top:14px;height:calc(100vh - 28px);overflow:auto}
.left-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.brand{display:flex;align-items:center;gap:10px}
.dot{width:10px;height:10px;border-radius:999px;background:linear-gradient(135deg,var(--primary),#60A5FA);box-shadow:0 0 0 6px rgba(37,99,235,0.14)}
.btxt{font-weight:900;letter-spacing:.3px}

.profile{padding:12px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#fff,#fbfcff)}
.avatar{width:86px;height:86px;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:var(--soft)}
.avatar img{width:100%;height:100%;object-fit:cover}
.name{margin-top: 0px;font-weight:900}
.role{margin-top:2px;color:var(--muted);font-size:13px}

.social{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.social a{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;text-decoration:none;color:var(--text);border:1px solid var(--line);background:#fff}
.social a:hover{border-color:rgba(37,99,235,0.45);box-shadow:0 10px 22px rgba(37,99,235,0.12)}

.mini-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.mini{border:1px solid var(--line);border-radius:14px;background:#fff;padding:10px}
.mini .k{font-size:12px;color:var(--muted)}
.mini .v{margin-top:4px;font-weight:900;font-size:13px}
.badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:var(--soft);border:1px solid rgba(37,99,235,0.20);color:var(--primary2)}

.panel{margin-top:12px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:12px}
.panel h4{margin:0 0 8px;font-size:14px}
.bullets{margin:0;padding-left:18px;color:var(--muted);font-size:13px}
.bullets li{margin:6px 0}

.meter{margin:10px 0}
.lbl{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);font-weight:600}
.bar{height:10px;border-radius:999px;background:#f3f4f6;border:1px solid var(--line);overflow:hidden;margin-top:7px}
.bar span{display:block;height:100%;width:0%;background:linear-gradient(135deg,var(--primary),#60A5FA);border-radius:999px;transition:width 1.1s ease}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;font-weight:900;padding:12px 14px;border-radius:14px;text-decoration:none;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 14px 28px rgba(37,99,235,0.18);transition:transform .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0) scale(.99)}
.btn.ghost{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:none}
.btn.full{width:100%;margin-top:12px}

.left-nav{display:grid;gap:8px;margin-top:12px}
.lnk{text-decoration:none;color:var(--text);font-weight:900;padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:#fff}
.lnk.active{background:var(--soft);border-color:rgba(37,99,235,0.25);color:var(--primary2)}
.left-foot{margin-top:12px;color:var(--muted);text-align:center;font-size:12px}

/* Center paper */
.center{min-width:0}
.paper{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}

/* Hero */
.hero{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:10px;padding:26px;background:linear-gradient(180deg,#fff,#fbfcff);border-bottom:1px solid var(--line)}
.hero h1{margin:0;font-size:36px;line-height:1.12}
.accent{color:var(--primary)}
.sub{font-weight:800;color:#111827}
.p{margin:12px 0 0;color:var(--muted);max-width:520px}
.actions{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.chips{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}
.chip{font-size:12px;font-weight:900;color:var(--primary2);background:var(--soft);border:1px solid rgba(37,99,235,0.22);padding:7px 10px;border-radius:999px}

.photo{height:100%;display:grid;place-items:center;border-radius:18px;background:radial-gradient(500px 250px at 50% 20%,rgba(37,99,235,0.20),transparent 60%)}
.photo img{max-width:100%;height:auto;display:block}

/* floating shapes */
.float{position:absolute;width:10px;height:10px;border-radius:3px;background:rgba(37,99,235,0.22);border:1px solid rgba(37,99,235,0.28)}
.f1{top:18px;left:30px;border-radius:999px;width:8px;height:8px}
.f2{top:34px;left:320px;transform:rotate(20deg)}
.f3{top:76px;left:520px;border-radius:999px}
.f4{top:120px;right:210px;transform:rotate(14deg)}
.f5{top:160px;right:70px;border-radius:999px;width:8px;height:8px}

/* Sections */
.sec{padding:22px 26px}
.sec + .sec{border-top:1px solid var(--line)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}
.sec-head h2{margin:0;font-size:22px}
.muted{color:var(--muted)}
.small{font-size:12px}
.code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}

/* Services */
.svc{margin-top:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.svc-card{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fff;transition:transform .18s ease,border-color .18s ease}
.svc-card:hover{transform:translateY(-2px);border-color:rgba(37,99,235,0.35)}
.ico{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:var(--soft);border:1px solid rgba(37,99,235,0.22);color:var(--primary2);font-weight:900}
.svc-card h3{margin:10px 0 6px;font-size:16px}
.svc-card p{margin:0;color:var(--muted);font-size:13px}
.svc-card.highlight{background:linear-gradient(135deg,var(--soft),#fff)}
.more{display:inline-block;margin-top:10px;text-decoration:none;color:var(--primary);font-weight:900}
.more:hover{text-decoration:underline}

/* Pricing */
.prices{margin-top:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.price{border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px}
.price h3{margin:10px 0 8px;font-size:26px}
.price ul{margin:0 0 14px;padding-left:18px;color:var(--muted);font-size:13px}
.price li{margin:7px 0}
.tag{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f3f4f6;border:1px solid var(--line);font-weight:900;font-size:12px}
.price.pop{border-color:rgba(37,99,235,0.35);background:linear-gradient(180deg,var(--soft),#fff)}

/* Contact */
.contact{margin-top:14px;display:grid;grid-template-columns:1.2fr .8fr;gap:12px}
.form{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fff}
label{display:grid;gap:6px;margin:10px 0}
label span{font-size:12px;color:var(--muted);font-weight:700}
input,textarea{width:100%;padding:12px 12px;border-radius:14px;border:1px solid var(--line);background:#fbfcff;outline:none;font-family:inherit}
input:focus,textarea:focus{border-color:rgba(37,99,235,0.45);box-shadow:0 0 0 6px rgba(37,99,235,0.10)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.row.btns{grid-template-columns:auto auto;justify-content:flex-start}
.card{border:1px solid var(--line);border-radius:18px;padding:14px;background:linear-gradient(180deg,#fff,#fbfcff)}
.card h3{margin:0}
.kv{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff}
.kv span{color:var(--muted);font-size:12px}
.note{margin-top:10px}

/* Footer */
.foot{border-top:1px solid var(--line);padding:14px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#fbfcff}
.foot a{text-decoration:none;color:var(--primary);font-weight:900}
.foot a:hover{text-decoration:underline}

/* Right toolbar */
.right{position:sticky;top:14px;height:calc(100vh - 28px);display:flex;align-items:flex-start;justify-content:center;pointer-events:none}
.rbar{pointer-events:auto}
.rbar{background:var(--paper);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow);padding:10px 8px;display:flex;flex-direction:column;gap:10px;margin-top:10px}
.rbtn{width:44px;height:44px;border-radius:999px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:16px}
.rbtn:hover{border-color:rgba(37,99,235,0.35);box-shadow:0 10px 18px rgba(37,99,235,0.10)}
.rbtn.active{background:var(--soft);border-color:rgba(37,99,235,0.25);color:var(--primary2)}
.rsep{height:1px;background:var(--line);margin:4px 6px}

/* Overlay */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,0.35);opacity:0;pointer-events:none;transition:opacity .18s ease;z-index:70}
.overlay.show{opacity:1;pointer-events:auto}

/* Responsive */
@media (max-width:1100px){
  .shell{grid-template-columns:260px 1fr 70px}
  .svc{grid-template-columns:repeat(2,1fr)}
  .prices{grid-template-columns:repeat(2,1fr)}
  .contact{grid-template-columns:1fr}
  .hero{grid-template-columns:1fr}
}
@media (max-width:860px){
  .m-topbar{display:flex}
  .shell{grid-template-columns:1fr;margin:0;max-width:none;padding:12px}
  .left{position:fixed;left:12px;top:64px;height:calc(100vh - 76px);width:320px;transform:translateX(-120%);transition:transform .18s ease;z-index:80}
  .left.open{transform:translateX(0)}
  .m-btn.close{display:inline-grid}
  .right{display:none}
}
@media (max-width:560px){
  .svc{grid-template-columns:1fr}
  .prices{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .row.btns{grid-template-columns:1fr}
  .hero h1{font-size:30px}
}


/* Logo + typing */
.logo{width:34px;height:34px;border-radius:12px;display:block}
.m-brand .logo{width:30px;height:30px;border-radius:10px}
.hero-badge{
  position:absolute; top:16px; right:16px;
  display:flex; align-items:center; gap:10px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.85);
  border:1px solid var(--line);
}
.hero-badge img{width:26px;height:26px;border-radius:10px}
.hero-badge span{font-weight:900; font-size:12px; color:var(--primary2)}
.caret{
  display:inline-block;
  margin-left:4px;
  animation: blink 1s step-end infinite;
  color: var(--primary2);
  font-weight:900;
}
@keyframes blink{ 50%{opacity:0} }




/* Simple hero image styling (requested) */
.photo img{
  border-radius: 10px !important;
  border: 1px solid rgba(17,24,39,0.12);
  box-shadow: 0 12px 28px rgba(17,24,39,0.10);
}


/* Left mini cards: stable + clean */
.mini-cards{
  grid-auto-rows: 74px;
}
.mini{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}
.mini .v{
  display:flex;
  align-items:center;
  gap:8px;
}
.mini .v.badge{
  justify-content:center;
}

/* Skill bars: subtle pattern mix */
.bar{
  background:
    repeating-linear-gradient(135deg, rgba(37,99,235,0.06) 0 10px, rgba(37,99,235,0.02) 10px 20px),
    #f3f4f6;
}

/* Tighter spacing */
.panel{padding:12px}
.meter{margin:9px 0}

/* Keep scrollbar stable */
.left{scrollbar-gutter: stable;}


/* View Projects button (double border outline, not full width) */
.btn.outline{
  width: auto;
  margin-top: 10px;
  background: transparent;
  color: var(--primary2);
  border: 2px solid rgba(37,99,235,0.45);
  box-shadow: none;
  position: relative;
  padding: 11px 14px;
}
.btn.outline::after{
  content:"";
  position:absolute;
  inset: 4px;
  border-radius: 12px;
  border: 1px solid rgba(96,165,250,0.45);
  pointer-events:none;
}

/* Projects section */
.projects{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.p-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:14px;
}
.p-card h3{margin:0 0 6px;font-size:16px}
.plink{
  display:inline-block;
  margin-top:10px;
  text-decoration:none;
  color: var(--primary);
  font-weight:900;
}
.plink:hover{text-decoration:underline}

@media (max-width:1100px){
  .projects{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width:560px){
  .projects{grid-template-columns: 1fr;}
}


/* Section header spacing when subtitle removed */
.sec-head{align-items: baseline;}


/* Clear SVG icons for services */
.ico.svg{
  color: var(--primary2);
}
.ico.svg svg{
  width: 22px;
  height: 22px;
  display:block;
}


/* Projects hover + Visit Now button */
.p-card{
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.p-card:hover{
  transform: translateY(-2px);
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 16px 34px rgba(37,99,235,0.10);
}
.pbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  text-decoration:none;
  font-weight:900;
  color: var(--primary2);
  background: var(--soft);
  border: 1px solid rgba(37,99,235,0.22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pbtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37,99,235,0.14);
}


/* Make View Projects same width as View CV */
.btn.outline{
  width: 100% !important;
  text-align: center;
}



