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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  min-height: 100vh;
  background: #f4f6f9;
  color: #333;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: #1e1e2f;
  color: white;
  padding: 30px 20px;
  flex-shrink: 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  text-align: center;
}

.sidebar .profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.sidebar h2 {
  font-size: 1.5em;
  margin-bottom: 8px;
}

.sidebar p {
  font-size: 0.9em;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #bbb;
}

/* Social Links */
.sidebar .social-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.sidebar .social-links li {
  margin: 10px 0;
}

.sidebar .social-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s;
}

.sidebar .social-links a:hover {
  color: #007bff;
}

/* Navigation */
.sidebar nav {
  margin-top: 25px;
}

.sidebar nav a {
  display: block;
  padding: 12px;
  margin-bottom: 10px;
  background: #2c2c3e;
  border-radius: 6px;
  text-decoration: none;
  color: #ccc;
  transition: background 0.3s, color 0.3s;
}

.sidebar nav a.active,
.sidebar nav a:hover {
  background: #007bff;
  color: white;
}

/* Content */
.content {
  margin-left: 280px;
  padding: 40px;
  flex: 1;
}

.content h1 {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #007bff;
}

.content h2 {
  font-size: 1.4em;
  margin: 20px 0 10px;
  color: #444;
}

.content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Buttons */
.button {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}

.button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Project Cards */
.project {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

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

.project h3 {
  margin-bottom: 8px;
  color: #007bff;
}

.project p {
  font-size: 0.95em;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .content {
    margin-left: 0;
    padding: 20px;
  }
}
