.about-hero {
  display: flex;
  gap: 4rem;
  padding: 4rem 5rem;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}

.about-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  flex-shrink: 0;
  padding-right: 50rem;
}


.about-left {
  flex: 0 0 500px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  font-style: italic;
}

.about-divider {
  width: 60px;
  border: none;
  border-top: 1.5px solid #555;
  margin: 0.2rem 0;
}

.about-bio-main {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  color: #1a1a1a;
}

.about-bio-sub {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  color: #444;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid #ccc;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #333;
  width: fit-content;
  margin-top: 0.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.about-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.about-headshot-wrap {
  width: 260px;
  height: 320px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.about-headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-linkedin {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5b8dd9;
  text-decoration: none;
}

.about-linkedin:hover {
  text-decoration: underline;
}

.skills {
  padding: 2rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.skills-underline {
  width: 120px;
  border: none;
  border-top: 1.5px solid #1a1a1a;
  margin-bottom: 2.5rem;
  align-self: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 4rem;
  justify-items: center;
  margin: 0 auto;
}

.skill-item {
  position: relative;
  width: 120px;
  height: 120px;
  cursor: pointer;
}

.skill-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s;
}

.skill-icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.skill-icon span {
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  color: #444;
}

.skill-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  background: #262626;
  color: #fff;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.skill-tooltip strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
}

.skill-tooltip ul {
  padding-left: 1rem;
}

.skill-item:hover .skill-icon {
  opacity: 0;
}

.skill-item:hover .skill-tooltip {
  opacity: 1;
}

.skill-item:nth-child(4) {
  grid-column: 2;
}

.cv-download {
  padding: 0 5rem 6rem;
  display: flex;
  justify-content: center;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid #1a1a1a;
  padding: 0.8rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #1a1a1a;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.cv-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

main {
  flex: 1;
}


@media (max-width: 500px) {

  .about-hero {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .about-left {
    flex: unset;
    width: 100%;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-bio-main {
    font-size: 1rem;
  }

  .about-bio-sub {
    font-size: 0.88rem;
  }

  .about-right {
    width: 100%;
    align-items: center;
    padding-right: 0;
    margin-left: 0;
  }

  .about-headshot-wrap {
    width: 200px;
    height: 240px;
  }

  .skills {
    padding: 1.5rem 1.5rem 3rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 120px);
    gap: 2rem;
  }

  .skill-item:nth-child(4) {
    grid-column: unset;
  }

  .cv-download {
    padding: 0 1.5rem 4rem;
  }

}