section.header {
  width: 100%;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

header {
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); */
  margin-bottom: -50px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  section.header {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

.avatar-container {
  flex-shrink: 0;
  text-align: center;
  margin: 0 auto;
}

.avatar-img {
  width: 250px;
  height: 250px;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-content {
  text-align: center;
  max-width: 700px;
}
@media (max-width: 768px) {
  .text-content {
    max-width: 450px;
    padding: 0 20px;
  }
}

.avatar-info {
  /* color: #999; */
  color: #2f3a68;
}

.avatar-info p {
  align-items: center;
  text-align: left;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
}

.avatar-info .emoji {
  width: 24px;
  font-size: 1.2em;
}



@media (min-width: 768px) {
  .text-content {
    text-align: left;
  }
}

.name {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.125rem;
  color: #777;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* header for other pages */

.hero-header {
  position: relative;
  width: 100vw; /* Full viewport width */
  height: 350px;             
  left: 50%;
  right: 50%;
  margin-left: -50vw;        /* Center align full-width outside container */
  margin-right: -50vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 30px;
  color: white;
  text-align: center;
  overflow: hidden;
}

/* .hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 4rem 2rem;
} */

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
}


