/* CSS Internal - Desain Imajinasi */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #000000;
  /* Hitam untuk teks utama dan elemen kuat */
  --secondary-color: #333333;
  /* Abu-abu gelap untuk teks sekunder */
  --light-gray: #f9f9f9;
  /* Latar belakang section ringan */
  --border-color: #e0e0e0;
  /* Warna border halus */
  --white-color: #ffffff;
  /* Warna putih */
  --accent-color: #4CAF50;
  /* Aksen warna hijau lembut, bisa diganti */
  --text-on-accent: #ffffff;
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white-color);
  color: var(--primary-color);
  line-height: 1.7;
  /* Sedikit lebih renggang */
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
  /* Padding sisi sedikit lebih besar */
}

/* Header */
header {
  background-color: var(--white-color);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

header .logo {
  padding-right: 250px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  /* Jarak navigasi lebih luas */
}

header nav ul li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 8px;
  /* Lebih banyak ruang untuk underline */
}

header nav ul li a:hover {
  color: var(--primary-color);
}

header nav ul li a.active {
  color: var(--primary-color);
  font-weight: 600;
}

header nav ul li a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  /* Garis lebih tebal */
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Hamburger Menu (Hidden by default on desktop) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section (Dipertahankan mirip referensi asli) */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 81px);
  padding: 80px 20px;
  gap: 100px;
  background-color: var(--white-color);
}

.hero-content {
  max-width: 600px;
  text-align: left;
}

.hero-content h1 {
  font-size: 3.2rem;
  /* Lebih besar lagi */
  font-weight: 800;
  /* Lebih tebal */
  margin-bottom: 20px;
  line-height: 1.15;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.4rem;
  /* Lebih besar */
  color: var(--secondary-color);
  margin-bottom: 50px;
  /* Tambahkan transisi untuk teks berganti */
  transition: opacity 0.7s ease-in-out;
}

/* Kelas untuk efek fade */
.hero-content p.fade-out {
  opacity: 0;
}

.hero-content p.fade-in {
  opacity: 1;
}


.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lihat-button {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 15px 45px;
  /* Padding lebih besar */
  border-radius: 10px;
  /* Lebih bulat */
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.lihat-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  /* Efek sedikit naik */
  box-shadow: var(--shadow-light);
}

.social-icons {
  display: flex;
  gap: 25px;
}

.social-icons a {
  color: var(--primary-color);
  font-size: 1.7rem;
  /* Lebih besar */
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: black;
  /* Berubah warna ke aksen */
  transform: translateY(-2px);
}

.hero-image {
  width: 340px;
  /* Sedikit lebih besar */
  height: 380px;
  border-radius: 25px;
  /* Lebih bulat lagi */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-medium);
  /* Menambahkan bayangan */
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  display: block;
}

/* General Section Styling */
section {
  padding: 120px 0;
  /* Padding lebih besar untuk setiap section */
  text-align: center;
}

section:nth-child(even) {
  background-color: var(--light-gray);
}

section h2 {
  font-size: 3.2rem;
  /* Ukuran heading section lebih besar */
  font-weight: 700;
  margin-bottom: 80px;
  /* Jarak ke konten lebih lega */
  position: relative;
  display: inline-block;
  color: var(--primary-color);
}

section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -20px;
  /* Jarak lebih jauh dari teks */
  transform: translateX(-50%);
  width: 90px;
  /* Lebih panjang */
  height: 6px;
  /* Lebih tebal */
  background-color: black;
  /* Warna aksen */
  border-radius: 3px;
}

/* Showcase Project Section */
#portofolio .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  /* Min-width lebih besar */
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-item {
  background-color: var(--white-color);
  border-radius: 15px;
  /* Lebih bulat */
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  text-align: left;
  transition: all 0.3s ease;
}

.project-item:hover {
  transform: translateY(-10px);
  /* Efek naik lebih jauh */
  box-shadow: var(--shadow-strong);
  /* Bayangan lebih kuat */
}

.project-item img {
  width: 100%;
  height: 240px;
  /* Lebih tinggi */
  object-fit: cover;
  display: block;
  /* Grayscale by default */
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
}

.project-item:hover img {
  filter: grayscale(0%);
  /* Color on hover */
}

/* Style untuk project yang awalnya tersembunyi */
.project-item.hidden {
  display: none;
}

.project-info {
  padding: 30px;
}

.project-info h3 {
  font-size: 1.8rem;
  /* Lebih besar */
  margin-bottom: 15px;
  color: var(--primary-color);
}

.project-info p {
  font-size: 1.1rem;
  /* Lebih besar */
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.project-info a {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.project-info a:hover {
  background-color: var(--secondary-color);
}

/* "Lihat Semua" Button */
.view-all-projects-button-container {
  margin-top: 60px;
  text-align: center;
  /* Pastikan tombol ada di tengah */
}

.view-all-projects-button {
  background-color: black;
  color: var(--white-color);
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.view-all-projects-button:hover {
  background-color: #388E3C;
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

/* Tentang Saya Section */
#tentang {
  background-color: var(--white-color);
}

#tentang .about-content {
  display: flex;
  align-items: center;
  gap: 70px;
  /* Jarak lebih besar */
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  /* Teks default ke kiri */
}

#tentang .about-image {
  flex: 0 0 380px;
  /* Fixed width for the image */
  text-align: center;
  position: relative;
  padding: 20px;
  /* Tambahkan padding untuk border yang unik */
  border: 2px solid var(--border-color);
  /* Border eksternal */
  border-radius: 20px;
  /* Border radius */
}

#tentang .about-image::before {
  /* Dekorasi di sekitar gambar */
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  border-top: 5px solid black;
  border-left: 5px solid black;
  border-radius: 10px 0 0 0;
}

#tentang .about-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  border-bottom: 5px solid black;
  border-right: 5px solid black;
  border-radius: 0 0 10px 0;
}

#tentang .about-image img {
  width: 100%;
  max-width: 320px;
  /*Ukurangambardidalamborder*/
  height: auto;
  border-radius: 10px;
  /*Border-radiusuntukgambarasli*/
  display: block;
  margin: 0 auto;
  box-shadow: var(--shadow-medium);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

#tentang .about-text {
  flex: 1;
}

#tentang .about-text p {
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Skills section (new) */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.skill-item {
  background-color: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  color: var(--primary-color);
  box-shadow: var(--shadow-light);
  transition: transform 0.2s ease;
}

/* .skill-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
} */

.skill-item:hover {
  transform: translateY(-5px);
  background-color: black;
  color: var(--text-on-accent);
}



/* Feedback Client Section */
#feedback {
  background-color: var(--light-gray);
}

#feedback .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  /* Jarak antar testimonial */
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-item {
  background-color: var(--white-color);
  padding: 40px;
  /* Padding lebih besar */
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  /* Untuk quote icon */
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.testimonial-item .quote-icon {
  font-size: 3rem;
  color: black;
  margin-bottom: 20px;
  opacity: 0.7;
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--secondary-color);
  font-size: 1.1rem;
  line-height: 1.7;
}

.testimonial-item .client-info {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.15rem;
}

.testimonial-item .client-info span {
  display: block;
  font-size: 0.95rem;
  color: #777;
  font-weight: 400;
  margin-top: 5px;
}

/* Pengalaman Section */
#pengalaman .experience-list {
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  padding-left: 30px;
  /* Ruang untuk timeline */
}

#pengalaman .experience-list::before {
  /* Garis timeline */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
}

.experience-item {
  margin-bottom: 50px;
  /* Jarak lebih besar */
  position: relative;
  padding-left: 30px;
  /* Jarak dari garis timeline */
}

.experience-item::before {
  /* Lingkaran pada timeline */
  content: '';
  position: absolute;
  left: -12px;
  /* Setengah dari width/height + lebar garis */
  top: 5px;
  width: 24px;
  height: 24px;
  background-color: black;
  border: 4px solid var(--white-color);
  /* Agar terlihat melayang di atas garis */
  border-radius: 50%;
  z-index: 1;
}

.experience-item:last-child {
  margin-bottom: 0;
}

.experience-item h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.experience-item .company-name {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.experience-item .duration {
  font-size: 1rem;
  color: #777;
  margin-bottom: 20px;
}

.experience-item ul {
  list-style: none;
  /* Hilangkan bullet default */
  margin-left: 0;
  color: var(--secondary-color);
}

.experience-item ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  position: relative;
  padding-left: 25px;
  /* Ruang untuk custom bullet */
}

.experience-item ul li::before {
  /* Custom bullet point */
  content: "\f00c";
  /* Font Awesome checkmark */
  font-family: "Font Awesome 5 Free";
  /* Font Awesome family */
  font-weight: 900;
  /* For solid icons */
  color: black;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.9rem;
}

/* ======================== */
/* SECTION SERTIFIKAT */
/* ======================== */
#sertifikat {
  padding: 80px 0;
  background-color: #f9f9f9;
}

#sertifikat h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #333;
  font-weight: 700;
}

.sertifikat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.sertifikat-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sertifikat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sertifikat-item img {
  width: 100%;
  height: 180px;
  /* Tinggi gambar sertifikat */
  object-fit: cover;
  display: block;
}

.sertifikat-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.sertifikat-info h3 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: #4a4a4a;
  font-weight: 600;
}

.sertifikat-info .institusi {
  font-size: 1rem;
  color: #666;
  margin-bottom: 5px;
}

.sertifikat-info .tanggal {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  margin-bottom: 15px;
}

.sertifikat-info a {
  display: inline-block;
  margin-top: auto;
  /* Mendorong tombol ke bawah */
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.sertifikat-info a:hover {
  color: #0056b3;
}

.sertifikat-info a i {
  margin-left: 5px;
  font-size: 0.9rem;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  #sertifikat h2 {
    font-size: 2rem;
  }

  .sertifikat-grid {
    grid-template-columns: 1fr;
  }
}

/* Kontak Section */
#kontak .contact-content {
  display: flex;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
  /* Align form and info to top */
}

#kontak .contact-form-container {
  flex: 2;
  /* Form mengambil lebih banyak ruang */
  background-color: var(--white-color);
  padding: 45px;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  text-align: left;
}

#kontak form .form-group {
  margin-bottom: 25px;
}

#kontak form label {
  display: block;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.05rem;
}

#kontak form input[type="text"],
#kontak form input[type="email"],
#kontak form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--primary-color);
  background-color: #fcfcfc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#kontak form input[type="text"]:focus,
#kontak form input[type="email"]:focus,
#kontak form textarea:focus {
  border-color: black;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  /* Aksen warna fokus */
}

#kontak form textarea {
  resize: vertical;
  min-height: 160px;
  /* Lebih tinggi */
}

#kontak form button {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 16px 35px;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#kontak form button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

#kontak .contact-info-block {
  flex: 1;
  /* Info kontak mengambil sisa ruang */
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 20px;
  /* Agar sejajar dengan form */
}

.contact-info-item {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.contact-info-item i {
  font-size: 2.2rem;
  color: black;
  flex-shrink: 0;
  /* Jangan menyusut */
}

.contact-info-item .info-text h4 {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-info-item .info-text p,
.contact-info-item .info-text a {
  font-size: 1rem;
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-info-item .info-text a:hover {
  text-decoration: underline;
}


/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95rem;
  margin-top: 100px;
  /* Jarak lebih jauh dari section terakhir */
}

/* --- CSS untuk Fungsi Baca Lebih Banyak (Read More) --- */

/* Kelas default: Membatasi tampilan teks */
.project-info p.description-text {
  /* Batasi tinggi berdasarkan jumlah baris (misal: 6 baris * line-height) */
  /* Menggunakan line-clamp untuk browser modern (Webkit) */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  /* Batas 6 baris */
  overflow: hidden;
  text-overflow: ellipsis;
  /* Menambahkan titik-titik di akhir */
  transition: max-height 0.3s ease-out;
  /* max-height digunakan sebagai fallback dan saat memperluas */
  max-height: 11.7em;
  /* Contoh: 6 baris * 1.7 line-height * 1.15rem font-size */
}

/* Kelas untuk tampilan penuh ketika tombol "Lihat Lebih Banyak" diklik */
.project-info p.description-text.expanded {
  -webkit-line-clamp: unset;
  /* Hapus batasan baris */
  max-height: 500px;
  /* Atur nilai besar untuk menampilkan semua teks */
}

/* Style untuk tombol "Lihat Lebih Banyak" */
.read-more-btn {
  display: block;
  /*Awalnyadisembunyikan*/
  margin-top: 10px;
  color: rgb(0, 0, 0);
  /*GantidenganwarnaaksenAnda*/
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.read-more-btn:hover {
  color: var(--secondary-color);
}

.tech-stack {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
}

.tech-stack strong {
  color: #3e3e3e;
}

.tech-stack::before {
  content: "⚙️ ";
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: #ffffff;
  /* warna merah khas Tailwind rose-600 */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.btn-detail:hover {
  color: #ffffff;
  /* sedikit lebih gelap saat hover */
}


/* Responsive Design - Media Queries */

/* For screens smaller than 1024px */
@media (max-width: 1024px) {
  .hero {
    gap: 60px;
    padding: 60px 20px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-image {
    width: 280px;
    height: 280px;
  }

  section h2 {
    font-size: 2.8rem;
  }

  #tentang .about-content {
    gap: 50px;
  }

  #kontak .contact-content {
    flex-direction: column;
  }

  #kontak .contact-form-container {
    width: 100%;
  }

  #kontak .contact-info-block {
    width: 100%;
    flex-direction: row;
    /* Kembali ke baris untuk info kontak */
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .contact-info-item {
    flex-basis: calc(50% - 10px);
    /* Dua kolom */
  }
}


.mobile-block {
  display: none;
  /* default disembunyikan */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  color: white;
  font-size: 24px;
  font-family: Arial, sans-serif;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* For screens smaller than 768px (Typical tablet portrait and large mobile landscape) */
/* Untuk screens lebih kecil dari 768px (Mobile) */

/* --- CSS Tambahan untuk Hamburger Menu (Navigasi Mobile) --- */

/* Tampilan navigasi saat aktif di mobile */
header nav.active {
  display: block !important;
  position: absolute;
  top: 100%;
  /* Turunkan menu di bawah header */
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  /* Latar belakang menu */
  box-shadow: var(--shadow-medium);
  z-index: 999;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
}

header nav.active ul {
  flex-direction: column;
  /* Ubah list menjadi vertikal */
  gap: 15px;
  padding: 0 25px;
}

header nav.active ul li {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}

header nav.active ul li:last-child {
  border-bottom: none;
}

header nav.active ul li a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

@media (max-width: 768px) {

  /* Pastikan nav disembunyikan di bawah 1024px, sebelum 768px */

  header nav {
    display: none;
    /* Sembunyikan Nav Desktop secara default */
  }

  .menu-toggle {
    display: block;
    /* Tampilkan Hamburger Icon */
  }

  /* --- Konten Utama Header & Hero (Penyesuaian Umum) --- */
  header .logo {
    padding-right: 200px;
    /* Hapus padding agar lebih responsif */
    font-size: 1rem;
  }

  header nav {
    display: none;
    /* Sembunyikan navigasi desktop */
  }

  .menu-toggle {
    display: block;
    /* Tampilkan menu hamburger */
  }

  .hero {
    /* Ubah tata letak hero menjadi vertikal */
    text-align: left;
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: auto;
    height: 90vh;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
    align-items: start;
    text-align: left;
    /* Pindah konten ke bawah gambar */
  }

  .hero-content h1 {
    font-size: 2.3rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
  }


  .hero-actions {
    justify-content: center;
    gap: 20px;
  }

  .hero-image {
    display: none;
    /* Pindah gambar ke atas */
  }

  section {
    padding: 80px 0;
    /* Padding section dikurangi */
  }

  section h2 {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  /* --- Modifikasi Horizontal Scroll untuk Project, Feedback, Sertifikat --- */

  /* Container untuk Project (Portofolio) */
  #portofolio .projects-grid {
    /* Ganti grid dengan flexbox untuk scroll horizontal */
    display: flex;
    overflow-x: scroll;
    /* Aktifkan horizontal scroll */
    overflow-y: hidden;
    padding: 10px 25px 25px 25px;
    /* Tambahkan padding agar card terlihat penuh */
    gap: 20px;
    max-width: none;
    margin: 0;
    scroll-snap-type: x mandatory;
    /* Opsi tambahan: Agar card berhenti tepat */
    -webkit-overflow-scrolling: touch;
    /* Meningkatkan momentum scroll di iOS */
  }

  .project-item {
    /* Definisikan lebar card agar tidak melebar */
    flex: 0 0 80vw;
    /* Card mengambil 80% dari viewport width */
    max-width: 900px;
    /* Batasi lebar maksimum */
    scroll-snap-align: start;
    /* Opsi tambahan: Posisikan card di awal snap */
    margin-left: 0;
    /* Hapus margin yang tidak perlu */
  }

  .project-item .project-info p {
    text-align: justify;
    font-size: 14px;
  }

  .project-item .project-info h3 {
    font-size: 20px;

  }

  /* Container untuk Feedback Client */
  #feedback .testimonials-grid {
    /* Ganti grid dengan flexbox untuk scroll horizontal */
    display: flex;
    overflow-x: scroll;
    /* Aktifkan horizontal scroll */
    overflow-y: hidden;
    padding: 10px 25px 25px 25px;
    gap: 20px;
    max-width: none;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-item {
    /* Definisikan lebar card agar tidak melebar */
    flex: 0 0 85vw;
    /* Card mengambil 85% dari viewport width */
    max-width: 320px;
    scroll-snap-align: start;
    text-align: left;
    /* Teks di card testimonial lebih baik rata kiri */
  }

  /* Container untuk Sertifikat */
  .sertifikat-grid {
    /* Ganti grid dengan flexbox untuk scroll horizontal */
    display: flex;
    overflow-x: scroll;
    /* Aktifkan horizontal scroll */
    overflow-y: hidden;
    padding: 10px 25px 25px 25px;
    gap: 20px;
    max-width: none;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .sertifikat-item {
    /* Definisikan lebar card agar tidak melebar */
    flex: 0 0 80vw;
    /* Card mengambil 80% dari viewport width */
    max-width: 300px;
    scroll-snap-align: start;
  }


  /* --- Penyesuaian Section Lain --- */


  #tentang .about-content {
    flex-direction: column;
    /* Ubah tata letak menjadi vertikal */
    text-align: center;
    gap: 40px;
    text-align: justify;


  }

  #tentang .about-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 10px;
    /* Kurangi padding border unik */
  }

  #tentang .about-image img {
    max-width: 100%;
  }

  #tentang .about-image::before,
  #tentang .about-image::after {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }

  #tentang .about-text {
    padding: 0 10px;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    /* Kolom skill lebih kecil */
    gap: 15px;
  }

  /* Pengalaman */
  #pengalaman .experience-list {
    padding-left: 20px;
  }

  .experience-item {
    padding-left: 20px;
    margin-bottom: 40px;
  }

  .experience-item::before {
    left: -10px;
    width: 20px;
    height: 20px;
  }

  /* Kontak */
  #kontak .contact-form-container {
    padding: 30px;
  }

  #kontak .contact-info-block {
    flex-direction: column;
    /* Info kontak kembali ke vertikal di mobile */
    gap: 20px;
  }

  .contact-info-item {
    flex-basis: 100%;
    /* Satu kolom penuh */
    padding: 20px;
  }

  /* Hilangkan blok pesan yang memaksa desktop */
  /* Pastikan Anda menghapus .mobile-block dari HTML jika ingin menampilkan konten */
  /* Jika Anda ingin konten ditampilkan, HAPUS blok ini: */
  /*
    .mobile-block {
        display: none !important;
    }
    body > *:not(.mobile-block) {
        display: block !important;
    }
    */

  .mobile-block {
    display: none;
  }

}

/* Penyesuaian tambahan untuk card yang tidak terkena media query sebelumnya */
.project-item img {
  height: 180px;
  /* Kurangi tinggi gambar project di mobile */
}