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

/***********************************************************/
body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: #f9fafb;
  color: #111827;
}

/***********************************************************/
.header div {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #3b82f6, #4c1d96);
  color: white;
}
.header h1 {
  font-size: 30px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.header a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.header a:hover {
  opacity: 0.8;
}

/***********************************************************/
.layout {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
}
.sidebar {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/***********************************************************/
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.card-body {
  padding: 1.25rem;
}
.profile-img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
}
.subtitle {
  color: #4b5563;
}
.info-list {
  margin-top: 1rem;
  list-style: none;
  color: #374151;
}
.info-list a {
  text-decoration: none;
}

/***********************************************************/
.skill-group {
  margin-top: 1rem;
  list-style: none;
}
.skill-group ul{
  list-style: none;
}
.entry {
  margin-top: 1.25rem;
}
.date {
  color: #16a34a;
  font-style: italic;
  font-size: 0.9rem;
}

/***********************************************************/
.button-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}
.primary {
  background: #2563eb;
  color: white;
}
.outline {
  border: 2px solid #2563eb;
  color: #2563eb;
}

/***********************************************************/
.footer {
  background: linear-gradient(to right, #3b82f6, #581c87);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}
.footer p {
  margin-top: 0.5rem;
  color: #e5e7eb;
}
.copyright {
  font-size: 0.85rem;
}

/***********************************************************/
@media (max-width: 650px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .header div {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .nav ul {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
  }
  .button-row {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  body {
    font-size: 0.95rem;
  }
  .header h1 {
    font-size: 1.75rem;
  }
  .layout {
    padding: 1rem;
  }
  .card-body {
    padding: 1rem;
  }
}
