html, body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #2c2f48;
  color: #fff;
  min-height: 100vh;
  overflow-y: auto;
}

/* Optional if you're using <main> */
main {
  padding: 20px;
  padding-bottom: 300px;
  box-sizing: border-box;
}

main section:first-child h2 {
  margin-top: 0;
}

header {
  padding: 30px 20px 10px;
  text-align: center;
}
header img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid #fff;
}
header h1 {
  font-size: 32px;
  margin: 0;
}
header p {
  margin-bottom: 10px; /* reduce spacing below description */
  font-size: 16px;
  color: #bbb;
}

nav {
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 1000;
  flex-wrap: wrap;
  gap: 10px;
}
nav a {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
nav a:hover {
  background: rgba(255,255,255,0.15);
}

section {
  display: none;
  padding: 40px 20px 80px;
  margin: 0 auto;
  max-width: 800px;
  box-sizing: border-box;
}
section.active {
  display: block;
}
section h2 {
  margin-top: 10px; /* reduce default heading top space */
  font-size: 28px;
  margin-bottom: 20px;
  color: #f48fb1;
  letter-spacing: 2px;
  text-align: center;
}
section p,
section a {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 10px;
  display: block;
}

.work-list {
  font-size: 16px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.resume-form {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}
.resume-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
.resume-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
}
.resume-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: #f48fb1;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.resume-form button:hover {
  background: #e53981;
}

#download-link {
  display: none;
  margin-top: 20px;
  text-align: center;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f1f1f;
  color: #bbb;
  text-align: center;
  padding: 4px 0;
  font-size: 11px;
  border-top: 1px solid #444;
  z-index: 999;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.social-icons a {
  color: #f48fb1;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  header img {
    width: 100px;
    height: 100px;
  }
  header h1 {
    font-size: 24px;
  }
  header p {
    font-size: 14px;
  }

  nav {
    flex-direction: column;
    align-items: center;
    bottom: 100px;
  }
  nav a {
    font-size: 16px;
    width: 90%;
    margin: 4px auto;
    text-align: center;
  }

  section h2 {
    font-size: 22px;
  }
  section p {
    font-size: 14px;
  }
}

/* Base nav styling */
.menu-toggle {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #f48fb1;
  color: white;
  font-size: 18px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  z-index: 1001;
  cursor: pointer;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.1);
  position: fixed;
  bottom: 50px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-nav a {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile styles */
@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background: #2c2f48;
    position: fixed;
    bottom: 100px;
    left: 10px;
    right: 10px;
    padding: 15px;
    border-radius: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
}
