* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background-color: #e0f2fe;
  min-height: 100vh;
}

.navbar {
  background: white;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-pic {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
  margin: 0;
}

.profile-info p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}

.nav-button.active {
  background: #2563eb;
  color: white;
}

.nav-button:not(.active) {
  color: #374151;
}

.nav-button:not(.active):hover {
  color: #2563eb;
  background: #dbeafe;
}

.main-content {
  padding-top: 5rem;
  max-width: 1024px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.home-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  background-image: url("hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem;
  border-radius: 0.5rem;
  position: relative;
}

.home-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0.5rem;
  z-index: 1;
}

.home-header > * {
  position: relative;
  z-index: 2;
}

.large-profile-pic {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.large-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-info {
  flex: 1;
}

.home-info h1 {
  font-size: 1.875rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.5rem;
}

.home-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 1rem;
}

.contact-info {
  color: #374151;
  margin-bottom: 1.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.contact-icon {
  color: #2563eb;
  margin-right: 0.5rem;
}

.bio {
  color: #374151;
  line-height: 1.6;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.5rem;
}

.education-item {
  margin-bottom: 1rem;
}

.education-item.highlight {
  background: #dbeafe;
  padding: 1rem;
  border-radius: 0.5rem;
}

.education-item.highlight .cert-name {
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.education-item.highlight .cert-date {
  color: #2563eb;
  font-weight: 500;
  margin: 0;
}

.education-item:not(.highlight) .cert-name {
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.education-item:not(.highlight) .cert-date {
  color: #6b7280;
  margin: 0;
}

.company-section {
  margin-bottom: 2rem;
}

.company-name {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.company-period {
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 1rem;
}

.role-section {
  margin-left: 1rem;
  margin-bottom: 1.5rem;
}

.role-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.role-period {
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.role-duties {
  color: #374151;
}

.role-duties li {
  margin-bottom: 0.5rem;
  list-style: none;
  position: relative;
  padding-left: 1rem;
}

.role-duties li:before {
  content: "•";
  color: #2563eb;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.references {
  text-align: center;
  padding: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.personal-content {
  color: #374151;
  line-height: 1.6;
}

.personal-content p {
  margin-bottom: 1rem;
}

a[href^="mailto:"] {
    color: #374151;
    text-decoration: none;
}

a[href^="mailto:"]:hover {
    color: #2563eb;
    text-decoration: underline;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0.5rem;
  }

  .nav-button {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }

  .home-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .large-profile-pic {
    width: 6rem;
    height: 6rem;
  }

  .large-profile-pic-text {
    font-size: 2rem;
  }
}