* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: #f5f5f5;
  color: #333;
  overflow: hidden;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 20px 0 40px 0;
}

.container {
  display: flex;
  height: 100vh;
}

/* Panel Trái - 1/3 màn hình */
.left-panel {
  width: 25%;
  background-color: #fde047;
  color: #333;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #f59e0b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  text-align: center;
}

.profile-info h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.profile-info h2 {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.85;
}

.contact-details {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 2;
  text-align: left;
  display: inline-block;
}

.contact-details p {
  color: #333;
  font-weight: 500;
}

.contact-details strong {
  font-weight: 700;
  margin-right: 5px;
}

.contact-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.link-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f59e0b;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background-color: #333;
  color: white;
}

/* Panel Phải - 2/3 màn hình */
.right-panel {
  width: 75%;
  padding: 40px 10%;
  background-color: #f0f2f5;
  overflow-y: scroll;
}

.summary-section {
  margin-bottom: 40px;
}

.summary-section h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.section-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
}

.summary-section p {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.summary-section p:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.section-title {
  margin-bottom: 30px;
  display: block;
  width: fit-content;
}

.project-card {
  display: flex;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  overflow: visible;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 195px;
  position: relative;
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background-color: #fde047;
  border-radius: 2px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.project-image {
  width: 35%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-style: italic;
  font-size: 0.9rem;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  width: 65%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-info h3 {
  margin-bottom: 6px;
  color: #333;
  font-size: 1.1rem;
}

.tech-stack {
  margin-bottom: 8px;
}

.tech-stack span {
  display: inline-block;
  background-color: #fde047;
  color: #333;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  margin-right: 6px;
  margin-bottom: 6px;
  font-weight: 600;
}

.project-info p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.btn-view {
  text-decoration: none;
  color: #f59e0b;
  font-weight: bold;
  font-size: 0.85rem;
  align-self: flex-start;
}

.btn-view:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .left-panel,
  .right-panel {
    width: 100%;
    height: auto;
  }
  .right-panel {
    max-height: 60vh;
  }
  .project-card {
    flex-direction: column;
    height: auto;
  }
  .project-image,
  .project-info {
    width: 100%;
  }
  .project-image {
    height: 150px;
  }
}
