 body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      line-height: 1.6;
      color: #333;
      background: #fafafa;
    }

   header {
  background: #007BFF;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center; /* Center all items vertically */
  justify-content: space-between;
  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

header h2 {
  margin: 0;
  font-weight: normal;
  font-size: 1rem;
  opacity: 0.9;
}

/* group title + subtitle together */
.header-brand {
  display: flex;
  align-items: center; /* Center profile pic and text vertically */
}

.header-brand div {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center the name and title vertically */
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 18px;
  object-fit: cover;
  border: 2px solid #007BFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: none; /* remove blur if any */
}

.profile-pic:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
  filter: none; /* ensure no blur on hover */
}

/* Navigation styling */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin: 0 10px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 6px 8px;
}

nav a:hover {
  text-decoration: underline;
}

    section {
      padding: 40px 20px;
      max-width: 1000px;
      margin: auto;
      background: white;
      margin-bottom: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    h2 {
      color: #007BFF;
      margin-top: 0;
    }

    ul {
      padding-left: 20px;
    }

    .skills span {
      display: inline-block;
      background: #007BFF;
      color: #fff;
      padding: 6px 12px;
      margin: 5px;
      border-radius: 5px;
      font-size: 0.9rem;
    }

    footer {
      text-align: center;
      background: #f4f4f4;
      padding: 20px;
      font-size: 0.9rem;
    }

    footer p {
      margin: 0;
    }


    /* Responsive */
    @media (max-width: 768px) {
      nav ul li {
        display: block;
        margin: 10px 0;
      }
    }