/* style.css — modern LinkedIn-inspired profile */

:root{
  --bg:#f3f6f8;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#0a66c2;
  --accent-2:#1f6feb;
  --shadow: 0 6px 18px rgba(16,24,40,0.06);
  --radius:10px;
  --max-width:1200px;
}

*{box-sizing:border-box}
body{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:#111827;
  margin:0;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{max-width:var(--max-width);margin:28px auto;padding:0 20px;}

/* Header */
.site-header{
  background: linear-gradient(180deg, rgba(10,102,194,0.06), rgba(10,102,194,0.02));
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
  margin-bottom:18px;
}
.header-inner{display:flex;gap:20px;align-items:flex-start}
.profile-portrait img, #profile-photo{width:120px;height:120px;border-radius:14px;object-fit:contain;border:4px solid #fff;box-shadow:0 6px 20px rgba(2,6,23,0.08)}

.profile-intro h1{margin:6px 0;font-size:26px;display:flex;align-items:center;gap:8px}
.headline{color:var(--muted);margin:6px 0 10px;font-size:15px}
.contact-row{display:flex;gap:10px;margin:8px 0}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:8px 12px;border-radius:8px;text-decoration:none;font-weight:600;font-size:14px}
.btn.ghost{background:#fff;color:var(--accent);border:1px solid rgba(10,102,194,0.12)}

/* Summary */
.summary{margin-top:12px;color:#374151;line-height:1.45;max-width:65%}

/* Main layout */
.main-grid{display:grid;grid-template-columns: 1fr 404px;gap:20px;align-items:start}
.card{background:var(--card);padding:18px;border-radius:12px;box-shadow:var(--shadow)}

/* Experience */
.card.experience h2{margin-top:0;color:var(--accent)}
.job{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid #f1f5f9}
.job:last-child{border-bottom:0}
.job-left img{width:72px;height:72px;border-radius:10px;object-fit:contain}
.job-main h3{margin:0;font-size:18px}
.job-meta{color:var(--muted);font-size:13px;margin-top:6px}
.job-summary{margin-top:8px;color:#374151}

/* Toggle & details */
.toggle{margin-top:8px;background:transparent;border:0;color:var(--accent);cursor:pointer;font-weight:600}
.job-details{margin-top:10px;padding-left:6px;color:#374151}
.hidden{display:none}

/* Right column internals */
.right-column .card-inner{margin-bottom:16px}
.right-column h2{margin-top:0;color:var(--accent)}
.edu{display:flex;gap:12px;}
.edu img{width:56px;height:56px;border-radius:8px;object-fit:contain;margin-top:35px;}
.edu-info .meta{color:var(--muted);font-size:13px;margin-top:4px}
.tags{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none;margin:6px 0}
.tags li{background:#eef6ff;color:var(--accent);padding:6px 10px;border-radius:999px;font-weight:600;font-size:13px}

/* small text and footer */
.small{font-size:13px;color:var(--muted);line-height:1.4}
.contact-small .small a{color:var(--accent);text-decoration:none}
.site-footer{text-align:center;color:var(--muted);margin-top:20px;padding:12px 0}
.footel-link{color:var(--muted);margin:6px 0 10px;font-size:15px}

/* Responsive */
@media (max-width:900px){
  .main-grid{grid-template-columns:1fr; padding-bottom:30px}
  .summary{max-width:100%}
  .header-inner{flex-direction:column;align-items:center;text-align:center}
  .container{padding:0 16px}
}