:root{
  --bg:#f8f9fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow:0 12px 30px rgba(0,0,0,0.06);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter', system-ui, sans-serif;
}

body{
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

/* ================= Layout ================= */
.section{
  max-width:1100px;
  margin:auto;
  padding:90px 20px;
}

/* ================= Navigation ================= */
.nav{
  position:sticky;
  top:0;
  background:rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  z-index:100;
}

.nav-inner{
  max-width:1100px;
  margin:auto;
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.name{ font-size:18px; font-weight:600; }
.role{ font-size:13px; color:var(--muted); }
.nav a{ margin-left:20px; text-decoration:none; color:var(--text); font-size:14px; transition: 0.2s; }
.nav a:hover { color: #000; }

/* ================= Hero ================= */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#eef0f3;
  padding:10px 16px;
  border-radius:999px;
  font-size:14px;
}

.dot{ width:8px; height:8px; background:#22c55e; border-radius:50%; }

.hero-title{
  font-size: clamp(48px, 8vw, 72px);
  line-height:1.05;
  letter-spacing:-1px;
  margin:25px 0;
}

.hero-role{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:600;
  letter-spacing:3px;
  font-size:14px;
  margin-bottom:25px;
}

.line{ flex:1; height:1px; background:#000; }

.hero-text{
  max-width:520px;
  color:var(--muted);
  font-size:18px;
  margin-bottom:35px;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* ================= Buttons ================= */
.btn{
  padding:16px 26px;
  border-radius:14px;
  font-size:16px;
  cursor:pointer;
  transition:all .2s ease;
  border:none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary{ background:#000; color:#fff; }
.primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.outline{ background:#fff; border:2px solid var(--border); }
.outline:hover{ background:#f3f4f6; }

/* ================= Section Header ================= */
.section-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:30px;
}

.section-header h2{ font-size:22px; font-weight:700; }
.section-header span{ color:var(--muted); }
.section-line{ width:50px; height:2px; background:#000; }

/* ================= About ================= */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.big-heading{ font-size:42px; margin-bottom:20px; letter-spacing:-0.5px; }
.about-text{ max-width:600px; color:var(--muted); font-size:17px; }

.manifesto{
  background:#f3f4f6;
  padding:22px;
  border-radius:14px;
  margin:25px 0;
  border:1px solid var(--border);
}

/* ================= Tags / Stack ================= */
.tag-row span,
.stack-grid span{
  display:inline-block;
  background:#eef0f3;
  padding:12px 18px;
  border-radius:12px;
  margin:6px;
  font-size:14px;
  transition:all .2s ease;
}

.stack-grid{ display:flex; flex-wrap:wrap; }

/* ================= Profile Card ================= */
.profile-card{
  position:relative;
  background:#fff;
  border:2px solid #0f172a;
  border-radius:22px;
  padding:40px;
  text-align:center;
  box-shadow:var(--shadow);
}

.profile-badge{
  position:absolute;
  top:-14px;
  right:20px;
  background:#000;
  color:#fff;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
}

.profile-circle{ width:160px; height:160px; border-radius:50%; overflow:hidden; margin:auto; }
.profile-circle img{ width:100%; height:100%; object-fit:cover; }

.profile-role{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:13px;
  letter-spacing:2px;
  color:var(--muted);
}

.profile-role span{ width:30px; height:1px; background:#cbd5e1; }

/* ================= New Projects Layout (Screenshot Style) ================= */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 99px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn.active {
  background: white;
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.project-card {
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: transform 0.25s ease;
}

.project-card:hover { transform: translateY(-5px); }

.card-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.card-badge.purple { background: #faf5ff; color: #9333ea; }

.project-img { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.project-card h4 { font-size: 18px; margin-bottom: 4px; }
.project-card p { font-size: 14px; color: var(--muted); margin-bottom: 15px; flex-grow: 1; }

.project-tags { display: flex; gap: 8px; margin-bottom: 20px; }
.project-tags span { background: #f3f4f6; padding: 4px 10px; border-radius: 6px; font-size: 12px; color: var(--muted); }

.project-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-project {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-project.primary { background: #0f172a; color: white; }
.btn-project.outline { background: white; }

/* ================= GitHub & Contact ================= */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:24px;
  box-shadow:var(--shadow);
  margin-bottom:20px;
}

.github-heatmap{ width:100%; margin-top:15px; border-radius:12px; }

.contact-list{ display:flex; flex-direction:column; gap:20px; }

.contact-item{
  display:flex;
  align-items:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  box-shadow:var(--shadow);
  transition:.25s ease;
}

.contact-icon{
  width:56px; height:56px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-right:18px;
  color:#fff;
}

.contact-icon.gmail{ background: #EA4335;}
.contact-icon.linkedin{ background: #0A66C2;}
.contact-icon.x{ background: #000000;}
.contact-icon.instagram{ background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.contact-icon.github{ background: #181717;}

.contact-content{ flex:1; }
.contact-content h4{ font-size:18px; }
.contact-content p{ color:var(--muted); font-size:14px; }
.contact-arrow{ color:var(--muted); }

.quick-card {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px; /* Matches the rounded corners in your image */
  padding: 50px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  
  /* Centering Logic */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quick-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.quick-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

/* Specific styling for the black centered button */
.quick-card .btn.primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 16px;
  background: #000;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.quick-card .btn.primary:hover {
  transform: translateY(-2px);
}

/* Ensure the Lucide icon size is correct */
.quick-card .btn i {
  width: 18px;
  height: 18px;
}

.footer{ text-align:center; padding:50px 20px; color:var(--muted); }

/* ================= Scroll Animation ================= */
.reveal{ opacity:0; transform:translateY(40px); transition:all .8s ease; }
.reveal.active{ opacity:1; transform:none; }

@media(max-width:768px){
  .hero-title{ font-size:48px; }
  .about-grid{ grid-template-columns:1fr; }
}

/* Experience Timeline Styles */
.experience-timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--border);
  margin-bottom: 40px;
}

.experience-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

/* Timeline Dot */
.experience-card::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--bg);
  border: 4px solid #000;
  border-radius: 50%;
  z-index: 1;
}

.exp-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.exp-title-row h3 { font-size: 20px; font-weight: 700; }
.exp-date { font-size: 14px; color: var(--muted); }

.exp-subtitle-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 20px;
}

.exp-role { font-weight: 600; color: var(--text); }
.exp-location { color: var(--muted); }

.exp-description {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 15px;
}

.exp-bullets {
  list-style: none;
  margin-bottom: 20px;
}

.exp-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}

.exp-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-tags span {
  background: #f3f4f6;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  color: var(--muted);
}

/* GitHub Activity Card */
.github-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.github-stats {
  margin: 15px 0;
  font-size: 14px;
}

.github-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  transition: color 0.2s;
}

.github-link:hover { color: #000; }
