* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #0D1117;  
  color: #e6edf3;        
}

.layout.two-col {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}

.sidebar {
  position: sticky;
  top: 32px;
  align-self: start;
}

.content { width: 100%; }

/* ===== Profile (left) ===== */
.profile { text-align: left; margin: 0; }

.avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 12px;
  display: block;
  margin: 0 auto;  
}

.profile h1 { font-size: 28px; margin: 8px 0 4px; color: #e6edf3;; }

.location {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.95rem; color: #999999;
}

.location .icon { width: 16px; height: 16px; }

/* Social icons */
.socials { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.socials a { display: inline-block; }
.social-icon { width: 28px; transition: transform .2s ease; }
.social-icon:hover { transform: scale(1.08); }

/* Bio & skills chips */
.bio {
  font-size: 1rem; margin: 14px 0; color: #d1d5db; max-width: 100%;
}

.skills { margin-top: 10px; }
.skills span {
  color: #ffffff;
  background-color: #403678;
  padding: 6px 10px;
  margin: 4px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-block;
  font-weight: 600;
}

/* ===== Projects (right) ===== */
.projects h3 {
  font-size: 22px; font-weight: 700; color: #e6edf3;
  margin-bottom: 16px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.project-link {
  text-decoration: none; color: inherit; display: block;
  transition: transform .2s ease;
}

.project-card {
  background: #161b22;             /* darker card background */
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 1rem 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.project-card h4, .project-card h3 { margin: 2px 4px 6px; font-size: 18px; color: #ffffff; }
.project-card .category { margin: 0 4px; font-size: 13px; color: #9C93EB; }
.project-card p { font-size: 14px; color: #d1d5db; margin: 10px 4px 12px; }

.project-card .tags { margin-top: 10px; padding-bottom: 4px; }
.project-card .tags span {
  background: #6D64B5; color: #fff; padding: 4px 10px;
  margin: 4px 6px 0 0; border-radius: 8px; font-size: 0.8rem; display: inline-block;
}

.skills-section {
  margin-top: 1.5rem;
  text-align: left; 
}

.skills-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff; 
}


@media (max-width: 900px) {
  .layout.two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sidebar { position: static; }
  .profile { text-align: center; }
  .socials { justify-content: center; }
}
.project-card {
  overflow: hidden;   
}
.project-image {
  width: 100%;        
  height: 160px;      
  object-fit: cover;  
  border-radius: 6px; 
  margin-bottom: 10px;}
