/* ==========================================================================
   1. LAYOUT UTAMA & LATAR BELAKANG HALAMAN
   ========================================================================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #edf2f7; 
  color: #333;
}

header {
  background-image: url('wallpaper.jpeg'); 
  background-size: auto;         
  background-repeat: repeat;     
  background-position: top left;
  color: white;
  text-align: center;
  position: relative;
  padding: 35px 20px;            
  box-sizing: border-box;
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 48, 63, 0.75); 
  z-index: 1;
}

header .header-content {
  display: flex;
  flex-direction: row;        
  align-items: center;
  justify-content: center;
  gap: 15px;                  
  position: relative;
  z-index: 2; 
  width: 100%;
}

header .profile-img-header {
  width: 60px; 
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3182ce; 
}

header .header-text {
  text-align: left;           
}

header h1 {
  margin: 0;
  font-size: 2.2em;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); 
}

header p {
  margin: 2px 0 0 0;
  color: #cbd5e0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.navbar {
  background: #1a202c; 
  text-align: center;
  padding: 10px;
  position: relative;
  z-index: 10;
}

.nav-btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: #a0aec0;
  margin: 0 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #4a5568;
  color: white;
}

.nav-btn.active {
  background: #3182ce; 
  color: white;
  font-weight: bold;
}

.content {
  padding: 35px;
  background: white;
  width: 90%;
  max-width: 1150px; 
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

h2 {
  color: #2d3748;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
  margin-top: 20px;
}

ul {
  padding-left: 20px;
  line-height: 1.7;
}

ul li {
  margin-bottom: 15px;
}

/* Gaya Gambar Profil Bulat Besar (ABOUT PAGE) */
.avatar-wrapper {
  text-align: center;
  margin-bottom: 25px;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%; 
  object-fit: cover;
  border: 5px solid #3182ce; 
  box-shadow: 0 0 15px rgba(49, 130, 206, 0.3);
}

/* ==========================================================================
   2. REKABENTUK KAD PROFIL BARU (HOME PAGE / INDEX.HTML)
   ========================================================================== */
.home-card {
  max-width: 800px;
  margin: 10px auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.home-banner {
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  height: 140px;
}

.home-profile-body {
  padding: 0 40px 40px 40px;
  text-align: left;
}

.home-avatar-container {
  margin-top: -75px;
  display: inline-block;
  margin-bottom: 15px;
}

.home-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ffffff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.home-name {
  font-size: 2.1em;
  font-weight: 800;
  color: #1a202c;
  margin: 0;
}

.home-title {
  font-size: 1.15em;
  color: #4a5568;
  font-weight: 600;
  margin: 5px 0 20px 0;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tag-pill {
  background-color: #ebf8ff;
  color: #2b6cb0;
  padding: 8px 16px;
  font-size: 0.88em;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid #cee8ff;
}

.home-bio {
  font-size: 1.05em;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 30px;
}

.home-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.home-bullets li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1.02em;
  color: #2d3748;
}

.home-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: #1976d2;
  font-weight: bold;
}

.home-actions {
  display: flex;
  gap: 15px;
  border-top: 1px solid #edf2f7;
  padding-top: 25px;
}

/* ==========================================================================
   3. DESIGN KAD ORIGINAL & LAYOUT SEBELAH-MENYEBELAH
   ========================================================================== */
.edu-card-main {
  width: 100%;
  box-sizing: border-box;
  margin: 10px auto;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.edu-main-title {
  color: #0066cc; 
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center; 
}

.showcase-flex-container {
  display: flex;
  flex-direction: row;  
  gap: 40px;            
  align-items: flex-start;
}

.video-container {
  flex: 1.1;            
  max-width: 380px;     
  text-align: center;
}

.showcase-video, .edu-side-img {
  width: 100%;        
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  object-fit: cover;
}

.experience-container {
  flex: 1.9;            
}

.edu-list-item {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  gap: 20px;
}

.edu-icon-box {
  width: 55px; height: 55px;
  background-color: #ebf8ff; color: #2b6cb0; 
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4em; flex-shrink: 0;
}

.edu-details {
  display: flex; flex-direction: column; gap: 4px; width: 100%;
}

.edu-details h4 { margin: 0; font-size: 1.1em; color: #2d3748; text-align: left;}
.edu-school { margin: 0; color: #4a5568; font-weight: 600; font-size: 0.95em; text-align: left;}
.edu-year { margin: 0; color: #a0aec0; font-size: 0.85em; text-align: left;}

.skills-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

/* ==========================================================================
   4. CONTACT FORM & PERSONAL DETAILS CARD
   ========================================================================== */
.personal-details-card {
  max-width: 580px; margin: 10px auto 40px auto; padding: 30px;
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; text-shadow: none; text-align: center;
}

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

.details-table { width: 100%; margin-top: 10px; border-collapse: collapse; }
.details-table tr { border-bottom: 1px solid #edf2f7; }
.details-table td { padding: 12px 6px; text-align: left; }
.label-column { font-weight: bold; color: #4a5568; width: 35%; }

.feedback-card {
  max-width: 580px; margin: 20px auto; padding: 35px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px;
}

.feedback-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: bold; text-align: left; }
.form-group input, .form-group textarea { padding: 12px; border: 1px solid #cbd5e0; border-radius: 10px; }

.submit-btn {
  background-color: #1565c0; color: white; border: none; padding: 14px; font-weight: bold; border-radius: 30px; cursor: pointer;
}

/* FOOTER DENGAN AYAT DISCLAIMER */
footer {
  background: #2d3748;
  color: white;
  text-align: center;
  padding: 25px 15px;
  margin-top: 40px;
  font-size: 0.9em;
  line-height: 1.6;
}

@media (max-width: 950px) {
  .showcase-flex-container { flex-direction: column; align-items: center; }
  .video-container { max-width: 100%; }
}