* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  color: #222;
}

.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  gap: 30px;
}

.profile-card {
  width: 320px;
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}

.content {
  flex: 1;
  background-color: white;
  padding: 30px;
  border-radius: 16px;
}

.profile-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}

.profile-card h1 {
  margin: 25px 0 5px;
  font-size: 22px;
}

.profile-card h2 {
  margin: 5px 0 15px;
  font-size: 16px;
  color: #666;
}

.profile-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  margin-top: 40px;
}

.social-links {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.social-links a {
  text-decoration: none;
  color: #333;
  margin-bottom: 12px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.social-links a i {
  font-size: 16px;
}

.social-links a:hover {
  background-color: #f0f0f0;
}

.fa-github {
  color: #000;
}

.fa-linkedin {
  color: #0a66c2;
}

.fa-envelope {
  color: #d44638;
}

.content section {
  margin-bottom: 35px;
}

.content h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #111;
}

.content p {
  line-height: 1.6;
  color: #444;
}

.project-card {
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  background-color: #ffffff;
  transition: 0.2s;
}

.project-card h3 {
  margin-top: 0;
  font-size: 20px;
}

.project-card span {
  display: inline-block;
  margin: 5px 5px 0 0;
  padding: 6px 10px;
  background-color: #eef2ff;
  border-radius: 20px;
  font-size: 13px;
}

.project-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  transition: 0.2s;
}

.project-links {
  margin-top: 15px;
}

.project-links a {
  display: inline-block;
  margin-right: 10px;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  background-color: #111;
  color: white;
  transition: 0.2s;
}

.project-links a:hover {
  background-color: #333;
}

.navbar {
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.navbar a:hover {
  color: #000;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    margin: 20px auto;
    padding: 15px;
  }

  .profile-card {
    width: 100%;
  }

  .content {
    width: 100%;
  }

  .profile-card img {
    width: 100px;
    height: 100px;
  }

  .content h2 {
    font-size: 22px;
  }

  .project-card h3 {
    font-size: 18px;
  }

  .project-links a {
    margin-bottom: 8px;
  }
}

.project-screenshots {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.project-screenshots p {
  margin-bottom: 10px;
  font-weight: 600;
  color: #374151;
}

.screenshot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.screenshot-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: #f3f4f6;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.screenshot-links a:hover {
  background-color: #e5e7eb;
}