/* ==========================================================================
   Reset & Dasar
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f4f6f9;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigasi
   ========================================================================== */
header {
  background-color: #1e293b;
  color: #ffffff;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

header h1 {
  font-size: 1.6rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Main Content & Kartu Section
   ========================================================================== */
main {
  margin: 30px auto;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

h2 {
  color: #0f172a;
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

/* ==========================================================================
   Section Profil Diri
   ========================================================================== */
.profile-wrapper {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #3b82f6;
}

.bio-details {
  flex: 1;
  min-width: 250px;
}

.bio-details h3 {
  font-size: 1.3rem;
  color: #1e293b;
}

.subtitle {
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
}

.bio-list {
  list-style: none;
  margin-top: 15px;
}

.bio-list li {
  margin-bottom: 5px;
}

/* ==========================================================================
   Section Tabel
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  margin-top: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 12px 15px;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: #f1f5f9;
  color: #334155;
  font-weight: 600;
}

tbody tr:hover {
  background-color: #f8fafc;
}

/* ==========================================================================
   Section Links & Footer
   ========================================================================== */
.links-list {
  margin-top: 10px;
  padding-left: 20px;
}

.links-list li {
  margin-bottom: 8px;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px 0;
  background-color: #1e293b;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 40px;
}