/* ========================
   VARIABEL WARNA & FONT
   ======================== */
:root {
  --primary-blue: #3852B4;  /* Biru utama brand kamu */
  --bg-white: #FEFEFA;      /* Background putih */
  --text-dark: #33353A;     /* Warna teks utama */
  --accent-gray: #B0B5C0;   /* Abu-abu untuk elemen sekunder */
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* ========================
   RESET — hapus style bawaan browser
   ======================== */
* {
  margin: 0;          /* Hapus jarak luar bawaan */
  padding: 0;         /* Hapus jarak dalam bawaan */
  box-sizing: border-box; /* Padding tidak menambah ukuran elemen */
}

body {
  font-family: 'Segoe UI', sans-serif; /* Font utama */
  background-color: var(--bg-white);   /* Gunakan variabel! */
  color: var(--text-dark);
  line-height: 1.6;
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
  position: fixed;        /* Navbar selalu di atas walau di-scroll */
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px var(--shadow-color); /* Bayangan tipis */
  z-index: 999;           /* Pastikan navbar selalu di atas elemen lain */
  padding: 1rem 0;
}

.nav-container {
  max-width: 1100px;      /* Lebar maksimal konten */
  margin: 0 auto;         /* Pusatkan secara horizontal */
  padding: 0 2rem;
  display: flex;          /* Susun item secara horizontal */
  justify-content: space-between; /* Logo kiri, menu kanan */
  align-items: center;    /* Sejajarkan secara vertikal */
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  /* Gradasi warna pada teks nama */
  background: linear-gradient(135deg, var(--primary-blue), #1a237e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  list-style: none;       /* Hapus bullet point */
  display: flex;
  gap: 2rem;              /* Jarak antar menu */
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease; /* Animasi perubahan warna */
}

.nav-menu a:hover {
  color: var(--primary-blue); /* Warna saat di-hover */
}

/* Tombol hamburger (HP) — hidden dulu di desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

/* ========================
   HERO SECTION
   ======================== */
.hero-section {
  background-color: var(--bg-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;              /* Dua kolom sejajar */
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

/* ========================
   KOLOM KIRI
   ======================== */
.hero-left {
  flex: 1;                    /* Ambil sisa ruang yang tersedia */
  display: flex;
  flex-direction: column;
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--accent-gray);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.hero-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-blue), #1a237e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent-gray);
  margin-bottom: 1.5rem;
}

.separator {
  color: var(--primary-blue);
  margin: 0 0.5rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-dark);
  max-width: 520px;
  line-height: 1.8;
}

/* ========================
   KOLOM KANAN
   ======================== */
.hero-right {
  flex-shrink: 0;             /* Jangan mengecil */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Lingkaran luar — border biru bergradasi */
.hero-photo-ring {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 5px;               /* Jarak antara border dan foto */
  background: linear-gradient(135deg, var(--primary-blue), #1a237e, #0d1357);
  box-shadow: 0 8px 32px rgba(56, 82, 180, 0.35);
}

/* Foto itu sendiri */
.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;          /* Foto tidak distorsi walau ukuran beda */
  object-position: center top;/* Fokus ke bagian atas (wajah) */
  display: block;
}

/* Gradasi gelap di bagian bawah foto */
.hero-photo-overlay {
  position: absolute;
  bottom: 5px;                /* Sesuaikan dengan padding ring */
  left: 5px;
  right: 5px;
  height: 45%;                /* Setengah bawah foto */
  border-radius: 0 0 100% 100%; /* Ikuti bentuk lingkaran bagian bawah */
  background: linear-gradient(
    to top,
    rgba(26, 35, 126, 0.55),  /* Biru gelap di bawah */
    transparent               /* Transparan ke atas */
  );
  pointer-events: none;       /* Overlay tidak menghalangi klik */
}

/* Tombol di bawah foto */
.hero-buttons {
  display: flex;
  flex-direction: row;     /* Tombol susun ke bawah di bawah foto */
  align-items: center;
  gap: 0.85rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 200px;               /* Lebar seragam agar tombol simetris */
  text-align: center;
}

.btn-work {
  background-color: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
}

.btn-work:hover {
  background-color: #2a3d9a;
  transform: translateY(-1.5px);
}

.btn-cv {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-cv:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

/* ========================
   RESPONSIVE — layar kecil / HP
   ======================== */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column-reverse; /* Foto di atas, teks di bawah */
    text-align: center;
    gap: 2rem;
  }

  .hero-photo-ring {
    width: 200px;
    height: 200px;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-buttons {
    flex-direction: row;            /* Tombol sejajar di HP */
    justify-content: center;
  }

  .btn {
    width: auto;
  }
}

/* ========================
   ABOUT SECTION
   ======================== */
.about-section {
  background-color: var(--primary-blue); /* Background biru! */
  min-height: 100vh;          /* Full satu halaman */
  display: flex;
  align-items: center;        /* Konten di tengah vertikal */
  padding: 5rem 0;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;         /* Semua teks rata tengah */
}

/* Label kecil "Get to know me" */
.about-label {
  font-size: 0.85rem;
  letter-spacing: 3px;        /* Jarak huruf lebar — efek elegan */
  text-transform: uppercase;  /* Huruf kapital semua */
  color: rgba(255, 255, 255, 0.55); /* Putih transparan */
  margin-bottom: 0.75rem;
}

/* Judul "About Me" */
.about-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.font-italic-yellow {
  font-family: 'Playfair Display', serif; /* Menggunakan Playfair */
  font-style: italic;                    /* Versi Italic */
  color: #FFD700;                        /* Warna Kuning Emas agar kontras di atas Biru [cite: 885] */
  font-weight: 400;                      /* Tidak terlalu tebal agar terlihat elegan */
  margin-right: 10px;                    /* Jarak kecil dengan kata berikutnya */
}

/* Garis dekoratif di bawah judul */
.about-divider {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin: 0 auto 3rem; /* auto = pusatkan secara horizontal */
}

/* Wrapper paragraf */
.about-content {
  max-width: 750px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column; /* Susun paragraf ke bawah */
  gap: 1.25rem;
}

/* Tiap paragraf teks */
.about-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85); /* Putih sedikit transparan */
  line-height: 1.9;
  text-align: left;               /* Paragraf rata kiri */
}

/* Kata yang ingin ditonjolkan */
.highlight {
  color: white;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4); /* Garis bawah halus */
  padding-bottom: 1px;
}

/* Angka/statistik yang ingin ditonjolkan */
.highlight-stat {
  color: #FFD700;   /* Warna emas agar kontras di atas biru */
  font-weight: 700;
}

/* ========================
   STAT CARDS
   ======================== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolom sama rata */
  gap: 1rem;
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12); /* Putih transparan — efek frosted */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);          /* Naik saat di-hover */
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}

/* ========================
   KEYWORD TAGS
   ======================== */
.about-keywords {
  display: flex;
  flex-wrap: wrap;        /* Wrap ke baris baru kalau tidak cukup */
  justify-content: center;
  gap: 0.75rem;
}

.keyword-tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;    /* Pill shape */
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.keyword-tag:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* --- Section Skills --- */
.skills-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.skills-heading {
  font-family: 'Segoe UI', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary-blue);
  margin-bottom: 50px;
}

.highlight-expertise {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #FFD700;
  margin-left: 10px;
}

/* --- Grid Layout --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  /* Memastikan card sama tinggi dalam satu baris */
  align-items: stretch; 
}

/* --- REVISI Styling Card --- */
.skill-card {
  background-color: var(--primary-blue);
  color: white;
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  
  /* KUNCI RATA ATAS & TENGAH */
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
  min-height: 250px;
}

.skill-card:hover {
  transform: translateY(-10px);
}

/* KUNCI H3 RATA ATAS */
.skill-card h3 {
  margin-top: 0; 
  margin-bottom: 25px;
  font-size: 1.4rem;
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
  padding-bottom: 10px;
  width: 100%; /* Agar garis bawah memenuhi lebar konten */
}

/* --- REVISI Skill Tags (Kapsul/Pil) --- */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center; /* Meratakan pil di tengah */
}

.skill-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1); /* Putih transparan agar serasi dengan card biru */
  color: white;
  padding: 6px 18px;
  border-radius: 50px; /* Bentuk Kapsul/Pil Sempurna */
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

/* EFEK SAAT DIPENCET & HOVER */
.skill-badge:active {
  transform: translateY(-5px); /* Sedikit naik saat dipencet */
  background-color: #FFD700;   /* Berubah warna kuning serupa expertise */
  border-color: #FFD700;
  color: #333;                 /* Teks gelap agar kontras di warna kuning */
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.skill-badge:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #FFD700;
}

/* ========================
   EXPERIENCE SECTION
   ======================== */

.experience-section {
  background-color: var(--bg-white);
  padding: 80px 0 100px;
  text-align: center;
}

.experience-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Label kecil */
.exp-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gray);
  margin-bottom: 0.75rem;
}

/* Judul Section */
.exp-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Garis dekoratif (reuse dari about) */
.exp-divider {
  width: 60px;
  height: 4px;
  background: var(--primary-blue);
  opacity: 0.3;
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}

/* ========================
   TAB NAVIGATION
   ======================== */
.exp-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.exp-tab {
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  border: 2px solid #d0d6ea;
  background: transparent;
  color: var(--accent-gray);
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.exp-tab:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(56, 82, 180, 0.05);
}

.exp-tab.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(56, 82, 180, 0.3);
}

/* ========================
   PANEL (konten tab)
   ======================== */
.exp-panel {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
  animation: fadeSlideUp 0.35s ease;
}

.exp-panel.active {
  display: flex;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================
   EXPERIENCE CARD
   ======================== */
.exp-card {
  background: #ffffff;
  border: 1.5px solid #e4e8f5;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(56, 82, 180, 0.12);
  border-color: var(--primary-blue);
}

/* ---- Card Header ---- */
.exp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.exp-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

/* ---- Logo ---- */
.exp-logo-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #e4e8f5;
  background: #f4f6fd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder logo kalau belum ada gambar */
.exp-logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue), #1a237e);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Judul & Institusi ---- */
.exp-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.exp-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.35;
}

.exp-org {
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin: 0;
}

/* ---- Tanggal ---- */
.exp-date {
  flex-shrink: 0;
  background: #f0f3fc;
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  border: 1px solid #d0d8f0;
  white-space: nowrap;
  align-self: flex-start;
}

/* ---- Garis tipis pemisah ---- */
.exp-divider-card {
  height: 1px;
  background: #edf0f8;
  margin: 1rem 0;
}

/* ---- Bullet Points ---- */
.exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.exp-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
}

.exp-bullets li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ============================
   ORGANIZATIONAL TIMELINE
   Tambahkan ke bagian bawah style.css,
   tepat setelah bagian .exp-bullets
   ============================ */

/* Wrapper timeline dalam satu card */
.org-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Satu baris item posisi */
.org-timeline-item {
  display: grid;
  grid-template-columns: 16px 2px 1fr;
  gap: 0 14px;
  position: relative;
}

/* Titik bulat pada garis */
.org-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-blue);
  border: 2.5px solid #d0d8f0;
  flex-shrink: 0;
  margin-top: 3px;
  z-index: 1;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.exp-card:hover .org-timeline-dot {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* Konten di sebelah kanan garis */
.org-timeline-content {
  padding-bottom: 1.4rem;
}

/* Row: nama jabatan + periode */
.org-timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

/* Nama jabatan */
.org-timeline-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

/* Periode jabatan */
.org-timeline-period {
  flex-shrink: 0;
  background: #f0f3fc;
  color: var(--primary-blue);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid #d0d8f0;
  white-space: nowrap;
  line-height: 1.5;
}

/* Bullet dalam timeline (override sedikit spacing) */
.org-bullets {
  margin-top: 0;
}

.org-bullets li {
  font-size: 0.88rem;
  color: #666;
}

/* Responsive: di HP period turun ke bawah nama jabatan */
@media (max-width: 600px) {
  .org-timeline-header {
    flex-direction: column;
    gap: 0.35rem;
  }

  .org-timeline-item {
    grid-template-columns: 14px 2px 1fr;
    gap: 0 10px;
  }
}


/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .exp-card-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .exp-date {
    align-self: flex-start;
  }

  .exp-tabs {
    gap: 0.6rem;
  }

  .exp-tab {
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
  }
}


/* ============================
   CERTIFICATIONS SECTION
   Tambahkan ke bagian bawah style.css
   ============================ */

.cert-section {
  background-color: var(--primary-blue);
  padding: 80px 0 100px;
  text-align: center;
}

.cert-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Label kecil */
.cert-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

/* Judul section */
.cert-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

/* Garis dekoratif */
.cert-divider {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  margin: 0 auto 3rem;
}

/* Grid kartu — 3 kolom */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1060px;
  margin: 0 auto;
}

/* Kartu individual */
.cert-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Nama sertifikasi */
.cert-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

/* Lembaga pemberi — Playfair italic kuning */
.cert-issuer {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.88rem;
  color: #FFD700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* Deskripsi singkat */
.cert-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  flex: 1;           /* Agar semua card punya tinggi seragam */
  margin-bottom: 1.1rem;
}

/* Tombol pill */
.cert-btn {
  display: inline-block;
  padding: 0.42rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: auto;
}

.cert-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFD700;
  color: #FFD700;
}

/* Responsive */
@media (max-width: 900px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cert-grid { grid-template-columns: 1fr; }
}

/* ============================
   MY BLOGS SECTION
   Tambahkan ke bagian bawah style.css
   ============================ */

.blogs-section {
  background-color: var(--bg-white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.blogs-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header row */
.blogs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.blogs-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gray);
  margin-bottom: 0.5rem;
}

.blogs-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
}

/* "Blogs" dalam italic kuning — Playfair */
.blogs-heading-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: #FFD700;
  -webkit-text-stroke: 0.5px #e6b800;
}

/* Garis dekoratif */
.blogs-divider {
  width: 60px;
  height: 4px;
  background: var(--primary-blue);
  opacity: 0.25;
  border-radius: 2px;
  margin: 0.6rem 0 2.2rem;
}

/* Tombol navigasi panah */
.blogs-nav {
  display: flex;
  gap: 0.6rem;
  align-self: flex-end;
  padding-bottom: 4px;
}

.blog-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d0d6ea;
  background: transparent;
  color: var(--primary-blue);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.blog-nav-btn:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.blog-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ============================
   SCROLLABLE TRACK
   ============================ */
.blogs-track-wrapper {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.blogs-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ============================
   BLOG CARD — BASE
   ============================ */
.blog-card {
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  min-width: 0;
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-card:hover { transform: translateY(-6px); }

/* Dekorasi lingkaran pojok */
.card-deco {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: -30px;
  right: -25px;
  pointer-events: none;
}

/* ---- BIRU ---- */
.blog-card.blue {
  background: var(--primary-blue);
  box-shadow: 0 6px 24px rgba(56, 82, 180, 0.2);
}
.blog-card.blue:hover { box-shadow: 0 12px 32px rgba(56, 82, 180, 0.32); }
.blog-card.blue .blog-source-tag { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.2); }
.blog-card.blue .blog-title  { color: #ffffff; }
.blog-card.blue .blog-role   { color: #FFD700; }
.blog-card.blue .blog-desc   { color: rgba(255,255,255,0.72); }
.blog-card.blue .blog-btn    { border-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.9); }
.blog-card.blue .blog-btn:hover { background: rgba(255,255,255,0.15); border-color: #FFD700; color: #FFD700; }
.blog-card.blue .card-deco   { background: rgba(255,255,255,0.06); }

/* ---- KUNING ---- */
.blog-card.yellow {
  background: #FFF8DC;
  border: 1.5px solid #f0d060;
  box-shadow: 0 6px 24px rgba(240,200,60,0.15);
}
.blog-card.yellow:hover { box-shadow: 0 12px 32px rgba(240,200,60,0.28); }
.blog-card.yellow .blog-source-tag { background: rgba(255,215,0,0.18); color: #8a6500; border-color: rgba(255,200,0,0.4); }
.blog-card.yellow .blog-title  { color: #2a2a2a; }
.blog-card.yellow .blog-role   { color: #c47f00; }
.blog-card.yellow .blog-desc   { color: #555; }
.blog-card.yellow .blog-btn    { border-color: #d4a500; color: #8a6500; }
.blog-card.yellow .blog-btn:hover { background: #FFD700; border-color: #FFD700; color: #33353A; }
.blog-card.yellow .card-deco   { background: rgba(255,215,0,0.12); }

/* ---- PUTIH ---- */
.blog-card.white {
  background: #ffffff;
  border: 1.5px solid #e4e8f5;
  box-shadow: 0 6px 24px rgba(56,82,180,0.08);
}
.blog-card.white:hover { box-shadow: 0 12px 32px rgba(56,82,180,0.15); border-color: var(--primary-blue); }
.blog-card.white .blog-source-tag { background: #f0f3fc; color: var(--primary-blue); border-color: #d0d8f0; }
.blog-card.white .blog-title  { color: var(--text-dark); }
.blog-card.white .blog-role   { color: #c47f00; }
.blog-card.white .blog-desc   { color: #666; }
.blog-card.white .blog-btn    { border-color: #d0d6ea; color: var(--primary-blue); }
.blog-card.white .blog-btn:hover { background: var(--primary-blue); border-color: var(--primary-blue); color: white; }
.blog-card.white .card-deco   { background: rgba(56,82,180,0.04); }

/* ============================
   KONTEN CARD
   ============================ */

/* Source tag */
.blog-source-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

/* Judul */
.blog-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.55rem;
}

/* Role — Playfair italic */
.blog-role {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

/* Deskripsi */
.blog-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.2rem;
}

/* Tombol pill */
.blog-btn {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid;
  background: transparent;
  font-size: 0.77rem;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

/* ============================
   DOT INDICATOR
   ============================ */
.blogs-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2rem;
}

.blog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d6ea;
  cursor: pointer;
  transition: all 0.25s ease;
}

.blog-dot.active {
  background: var(--primary-blue);
  width: 22px;
  border-radius: 4px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .blog-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
}

@media (max-width: 580px) {
  .blog-card { flex: 0 0 85%; }
  .blogs-track-wrapper {
    -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%);
    mask-image: linear-gradient(to right, black 75%, transparent 100%);
  }
}


/* ============================
       PROJECTS SECTION
       ============================ */
    .projects-section {
      background-color: var(--bg-white);
      padding: 80px 0 100px;
    }
 
    .projects-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 2rem;
      text-align: center;
    }
 
    .projects-label {
      font-size: 0.85rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--accent-gray);
      margin-bottom: 0.75rem;
    }
 
    .projects-heading {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      color: var(--text-dark);
      margin-bottom: 1rem;
    }
 
    .projects-divider {
      width: 60px;
      height: 4px;
      background: var(--primary-blue);
      opacity: 0.25;
      border-radius: 2px;
      margin: 0 auto 3rem;
    }
 
    /* ============================
       PROJECTS GRID
       ============================ */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.3rem;
      text-align: left;
    }
 
    /* ============================
       PROJECT CARD
       ============================ */
    .project-card {
      background: var(--primary-blue);
      border-radius: 16px;
      padding: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 6px 24px rgba(56, 82, 180, 0.2);
      position: relative;
    }
 
    .project-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 14px 36px rgba(56, 82, 180, 0.32);
    }
 
    /* Stripe tipis di atas — topik */
    .project-topic-bar {
      background: rgba(0, 0, 0, 0.18);
      padding: 0.45rem 1.3rem;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.7);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
 
    /* Body kartu */
    .project-body {
      padding: 1.3rem 1.4rem 1.2rem;
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 0;
    }
 
    /* Judul */
    .project-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.4;
      margin-bottom: 0.4rem;
    }
 
    /* Jabatan / kontribusi — Playfair italic kuning */
    .project-role {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 0.85rem;
      font-weight: 400;
      color: #FFD700;
      margin-bottom: 0.75rem;
    }
 
    /* Deskripsi */
    .project-desc {
      font-size: 0.82rem;
      color: rgba(255, 255, 255, 0.72);
      line-height: 1.65;
      flex: 1;
      margin-bottom: 1.1rem;
    }
 
    /* Tags */
    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      margin-bottom: 1.2rem;
    }
 
    .project-tag {
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 0.85);
      font-size: 0.68rem;
      font-weight: 600;
      padding: 0.25rem 0.7rem;
      border-radius: 50px;
      letter-spacing: 0.03em;
    }
 
    /* Footer kartu — link github & live */
    .project-links {
      display: flex;
      gap: 0.75rem;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      padding-top: 1rem;
      flex-wrap: wrap;
    }
 
    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.78rem;
      font-weight: 600;
      text-decoration: none;
      color: rgba(255, 255, 255, 0.85);
      border: 1.5px solid rgba(255, 255, 255, 0.3);
      padding: 0.35rem 0.9rem;
      border-radius: 50px;
      transition: all 0.25s ease;
      letter-spacing: 0.02em;
    }
 
    .project-link:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: #FFD700;
      color: #FFD700;
    }
 
    .project-link.live {
      background: rgba(255, 215, 0, 0.12);
      border-color: rgba(255, 215, 0, 0.4);
      color: #FFD700;
    }
 
    .project-link.live:hover {
      background: #FFD700;
      color: var(--primary-blue);
      border-color: #FFD700;
    }
 
    /* Dekorasi sudut */
    .project-card::after {
      content: '';
      position: absolute;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: rgba(255,255,255,0.05);
      top: -20px;
      right: -20px;
      pointer-events: none;
    }
 
    /* Responsive */
    @media (max-width: 900px) {
      .projects-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 580px) {
      .projects-grid { grid-template-columns: 1fr; }
    }
 
    /* ============================
       FOOTER
       ============================ */
    .site-footer {
      background: linear-gradient(135deg, #2a3d9a 0%, var(--primary-blue) 45%, #1a237e 100%);
      padding: 60px 0 0;
      position: relative;
      overflow: hidden;
    }
 
    /* Decorative blobs */
    .site-footer::before {
      content: '';
      position: absolute;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: rgba(255,255,255,0.04);
      top: -80px;
      left: -80px;
      pointer-events: none;
    }
 
    .site-footer::after {
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: rgba(255,215,0,0.05);
      bottom: 80px;
      right: -60px;
      pointer-events: none;
    }
 
    .footer-main {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 2rem 50px;
      display: grid;
      grid-template-columns: 1.4fr 0.8fr 1fr;
      gap: 3rem;
      position: relative;
      z-index: 1;
    }
 
    /* ---- Kolom Kiri: Identitas ---- */
    .footer-brand {}
 
    .footer-name {
      font-size: 1.5rem;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 0.4rem;
      letter-spacing: -0.01em;
    }
 
    .footer-tagline {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.6);
      line-height: 1.7;
      margin-bottom: 1.5rem;
      max-width: 280px;
    }
 
    /* Kotak sosial media kecil */
    .footer-socials {
      display: flex;
      gap: 0.7rem;
    }
 
    .footer-social-box {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      color: rgba(255,255,255,0.8);
      font-size: 1rem;
      transition: all 0.25s ease;
    }
 
    .footer-social-box:hover {
      background: #FFD700;
      border-color: #FFD700;
      color: var(--primary-blue);
      transform: translateY(-3px);
    }
 
    /* ---- Kolom Tengah: Navigation ---- */
    .footer-nav-title,
    .footer-contact-title {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #FFD700;
      margin-bottom: 1.2rem;
    }
 
    .footer-nav-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }
 
    .footer-nav-links a {
      text-decoration: none;
      font-size: 0.9rem;
      color: rgba(255,255,255,0.72);
      transition: color 0.25s ease;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
 
    .footer-nav-links a::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      flex-shrink: 0;
      transition: background 0.25s ease;
    }
 
    .footer-nav-links a:hover { color: #ffffff; }
    .footer-nav-links a:hover::before { background: #FFD700; }
 
    /* ---- Kolom Kanan: Contact ---- */
    .footer-contact-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
 
    .footer-contact-links li a {
      text-decoration: none;
      font-size: 0.88rem;
      color: rgba(255,255,255,0.72);
      display: flex;
      align-items: center;
      gap: 0.6rem;
      transition: color 0.25s ease;
    }
 
    .footer-contact-links li a:hover { color: #FFD700; }
 
    .contact-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      flex-shrink: 0;
      transition: all 0.25s ease;
    }
 
    .footer-contact-links li a:hover .contact-icon {
      background: rgba(255,215,0,0.15);
      border-color: rgba(255,215,0,0.4);
    }
 
    /* ---- Garis bawah ---- */
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 1.2rem 2rem;
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 1;
    }
 
    .footer-copy {
      font-size: 0.78rem;
      color: rgba(255,255,255,0.42);
      text-align: center;
      line-height: 1.7;
    }
 
    .footer-copy span {
      color: rgba(255,255,255,0.6);
    }
 
    /* Responsive footer */
    @media (max-width: 900px) {
      .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
    }
    @media (max-width: 580px) {
      .footer-main { grid-template-columns: 1fr; gap: 2rem; }
      .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    }
/* ============================================================
   MOBILE FIXES — Perbaikan responsivitas menyeluruh
   ============================================================ */

/* ---- 1. HAMBURGER MENU — animasi & mobile nav ---- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transition: right 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #edf0f8;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
  }

  /* Overlay gelap saat menu terbuka */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 999;
  }

  .nav-overlay.open {
    display: block;
  }

  /* Animasi hamburger → X */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ---- 2. HERO — perbaikan tombol & teks di mobile ---- */
@media (max-width: 480px) {
  .hero-section {
    padding-top: 70px;
    padding-bottom: 2rem;
  }

  .hero-container {
    padding: 0 1.25rem;
    gap: 1.5rem;
  }

  .hero-photo-ring {
    width: 170px;
    height: 170px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.7rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    font-size: 0.85rem;
    padding: 0.85rem 1.5rem;
  }

  .hero-title {
    font-size: 1.05rem;
  }

  .hero-desc {
    font-size: 0.92rem;
  }
}

/* ---- 3. ABOUT — stat cards 2 kolom di mobile ---- */
@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section {
    padding: 3.5rem 0;
  }

  .about-container {
    padding: 0 1.25rem;
  }

  .about-text {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}

/* ---- 4. SKILLS — 1 kolom di mobile ---- */
@media (max-width: 580px) {
  .skills-grid {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
  }

  .skill-card {
    min-height: unset;
    padding: 1.5rem 1.25rem;
  }

  .skills-section {
    padding: 3rem 0;
  }
}

/* ---- 5. EXPERIENCE — tab & card perbaikan ---- */
@media (max-width: 480px) {
  .experience-section {
    padding: 3rem 0 4rem;
  }

  .experience-container {
    padding: 0 1.25rem;
  }

  .exp-tabs {
    gap: 0.5rem;
  }

  .exp-tab {
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
  }

  .exp-card {
    padding: 1.25rem 1rem;
  }

  .exp-card-header {
    flex-direction: column;
    gap: 0.6rem;
  }

  .exp-date {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  .exp-role {
    font-size: 0.95rem;
  }

  .exp-org {
    font-size: 0.78rem;
  }

  .exp-bullets li {
    font-size: 0.85rem;
  }

  .org-timeline-item {
    grid-template-columns: 12px 2px 1fr;
    gap: 0 8px;
  }

  .org-timeline-role {
    font-size: 0.88rem;
  }

  .org-timeline-period {
    font-size: 0.58rem;
  }
}

/* ---- 6. CERTIFICATIONS ---- */
@media (max-width: 480px) {
  .cert-section {
    padding: 3rem 0 4rem;
  }

  .cert-container {
    padding: 0 1.25rem;
  }

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

  .cert-card {
    padding: 1.25rem 1rem;
  }
}

/* ---- 7. BLOGS — header & nav di mobile ---- */
@media (max-width: 580px) {
  .blogs-section {
    padding: 3rem 0 4rem;
  }

  .blogs-container {
    padding: 0 1.25rem;
  }

  .blogs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blogs-nav {
    align-self: flex-start;
  }

  /* Blog card lebih lebar agar mudah dibaca */
  .blog-card {
    flex: 0 0 88%;
    padding: 1.3rem 1.25rem 1.2rem;
  }

  .blog-title {
    font-size: 0.92rem;
  }
}

/* ---- 8. PROJECTS ---- */
@media (max-width: 480px) {
  .projects-section {
    padding: 3rem 0 4rem;
  }

  .projects-container {
    padding: 0 1.25rem;
  }

  .project-body {
    padding: 1.1rem 1rem 1rem;
  }

  .project-title {
    font-size: 0.95rem;
  }
}

/* ---- 9. FOOTER — wrapping teks link kontak ---- */
@media (max-width: 580px) {
  .footer-main {
    padding: 0 1.25rem 2.5rem;
  }

  .footer-name {
    font-size: 1.2rem;
  }

  .footer-contact-links li a {
    font-size: 0.78rem;
    word-break: break-all;
  }

  .footer-tagline {
    font-size: 0.8rem;
    max-width: 100%;
  }

  .footer-bottom {
    padding: 1rem 1.25rem;
  }
}

/* ---- 10. GLOBAL — padding section konsisten di HP ---- */
@media (max-width: 480px) {
  .about-container,
  .experience-container,
  .cert-container,
  .blogs-container,
  .projects-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Judul section lebih kecil di HP sangat kecil */
  .about-heading,
  .exp-heading,
  .cert-heading,
  .blogs-heading,
  .projects-heading,
  .skills-heading {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
}
