.profile {
  float: left;
  height: 132px;
  width: 132px;
  margin-right: 24px;
  margin-bottom: 20px;
}

.profile img {
  border-radius: 6%;
}

.about-header {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-header h1 {
  margin-bottom: 4px;
}

.about-header p {
  margin-top: 0;
  color: #555;
}

.personal-info {
  clear: both;
  margin: 30px 0;
}

.details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.detail-item {
  flex: 1;
  min-width: 200px;
}

.detail-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #333;
}

.detail-item p {
  margin-top: 0;
}

section {
  margin: 30px 0;
  clear: both;
}

section h2 {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.introduction p {
  line-height: 1.6;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tech-category {
  flex: 1;
  min-width: 200px;
}

.tech-category h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #333;
}

.tech-category ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.tech-category li {
  padding: 4px 0;
}

.experience-item {
  margin-bottom: 24px;
}

.experience-item h3 {
  margin-bottom: 4px;
}

.date {
  margin: 0 0 8px 0;
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
}

.education-languages {
  display: block; /* Change from flex to block */
}

.education, .languages {
  margin-bottom: 30px;
}

.education h3, .languages h3 {
  margin-top: 20px;
  margin-bottom: 12px;
}

.education ul, .languages ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.education li {
  margin-bottom: 16px;
}

.education .degree, .languages li {
  display: block;
  font-weight: 600;
}

.education .institution, .education .years {
  display: block;
  font-size: 0.9rem;
}

.education .years {
  color: #555;
}

.approach p {
  line-height: 1.6;
}

.approach a {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .profile {
    float: none;
    margin: 0 auto 20px auto;
  }

  .about-header {
    text-align: center;
    min-height: auto;
  }
  
  .details, .tech-grid {
    flex-direction: column;
  }
}
