* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f1ea;
  color: #222;
}

.top-bar {
  width: 100%;
  padding: 20px 32px;
  display: flex;
  justify-content: flex-end;
}

.language-button {
  padding: 8px 16px;
  border: 1px solid #222;
  background: transparent;
  color: #222;
  font-size: 14px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.language-button:hover {
  background: #222;
  color: #fff;
}

.container {
  width: min(900px, 90%);
  margin: 40px auto;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

.avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #222;
}

.basic-info h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.basic-info h2 {
  font-size: 24px;
  font-weight: 400;
  color: #666;
}

.accordion-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.accordion-header {
  width: 100%;
  padding: 22px 28px;
  border: none;
  background: #ffffff;
  color: #222;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: #f7f7f7;
}

.accordion-icon {
  font-size: 28px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 28px 28px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.project-card {
  padding-top: 4px;
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.project-card p {
  margin-bottom: 16px;
}

.project-card a {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  background: #222;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.project-card a:hover {
  opacity: 0.8;
}

@media (max-width: 640px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .basic-info h1 {
    font-size: 34px;
  }

  .basic-info h2 {
    font-size: 20px;
  }

  .avatar {
    width: 120px;
    height: 120px;
  }

  .top-bar {
    padding: 16px 20px;
  }
}