body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background-image: url("https://github.com/dhemsonjanpilapiltubod-creator/Portfolio/blob/main/first.jpeg?raw=true");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: 260px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 245, 0.92);
  z-index: -1;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-image: url("https://github.com/dhemsonjanpilapiltubod-creator/Portfolio/blob/main/second.jpg?raw=true");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 40px 20px 20px;
  z-index: 1000;
}

.header-content {
  max-width: 900px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
}

.header-text h1 {
  margin: 0;
  font-size: 2.2rem;
}

.header-text p {
  margin-top: 8px;
  font-size: 1.1rem;
  opacity: 0.9;
}

nav {
  position: fixed;
  top: 200px;
  width: 100%;
  background: #1f2937;
  padding: 10px;
  text-align: center;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

nav a:hover {
  text-decoration: underline;
}

section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  scroll-margin-top: 260px;
}

section h2 {
  margin-bottom: 15px;
  color: #111827;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

footer {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

@media (max-width: 600px) {
  body { padding-top: 300px; }
  .header-content { justify-content: center; text-align: center; }
  nav { top: 240px; }
  section { scroll-margin-top: 300px; }
}
