/* Navigation Bar */
.top-nav {
  padding: 20px 0 0px;
  z-index: 2;
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0073e6;
}

/* Home button icon */
.home-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transform: translateY(-15px);
}

/* Headings */
h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 12px;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 16px; /* ⬅️ Slightly more top margin */
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
  color: #555; /* ⬅️ Slightly lighter for better contrast */
}

h4 {
  font-size: 18px;
  font-weight: 500; /* ⬅️ Slightly lighter for cleaner look */
  margin: 24px 0 6px; /* ⬅️ More top margin between projects */
  color: #222;
}

/* Paragraph and List Text */
p, li {
  font-size: 16px;
  line-height: 1.7; /* ⬅️ Slightly increased line spacing */
  color: #333;       /* ⬅️ Darker for better readability */
  font-family: "Segoe UI", "Helvetica", sans-serif;
}

/* List */
ul {
  margin: 0 0 24px 24px;
  padding: 0;
}

li {
  margin-bottom: 6px;
}

/* =========================
   Page Layout Styles
   ========================= */
.page-container {
  display: flex;
  justify-content: center;
}

.page-content {
  width: 100%;
  text-align: left;
  margin-left: 220px;
}

.page-text {
  flex: 2;
}

.profile-pic {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin: 20px auto 0;
  display: block;
}
