/* ===================================
   RESET & BASE STYLES
   =================================== */

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Global offset for sticky tabs */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f5f5;
  color: #1c1d1f;
  line-height: 1.5;
}


/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ===================================
   HERO SECTION
   =================================== */

.hero-wrapper {
  background-color: #f5f5f5;
  padding: 32px 0 48px;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6a6f73;
  margin-bottom: 32px;

  /* --- TAMBAHAN PENTING --- */
  flex-wrap: wrap;
  /* Agar teks turun ke bawah jika kepentok layar */
}

.breadcrumb-home {
  font-size: 18px;
  color: #6a6f73;
}

.breadcrumb-separator {
  color: #6a6f73;
}

.breadcrumb a {
  color: #6a6f73;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Provider Logo */
.provider-logo {
  margin-bottom: 16px;
}

.provider-logo img {
  height: 40px;
}

/* Course Title & Subtitle */
h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1c1d1f;
  max-width: 900px;
}

.subtitle {
  font-size: 18px;
  color: #1c1d1f;
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 900px;
}

/* Instructor Section */
.instructors {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.instructor-avatars {
  display: flex;
  margin-right: 12px;
}

.instructor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -12px;
  background: #5624d0;
}

.instructor-avatar:first-child {
  margin-left: 0;
}

.instructor-text {
  font-size: 14px;
  color: #1c1d1f;
}

.instructor-text strong {
  font-weight: 600;
}

.instructor-text a {
  color: #0056d2;
  text-decoration: underline;
}

/* Call to Action Section */
.cta-section {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.enroll-btn {
  background: #0056d2;
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.enroll-btn:hover {
  background: #004bb5;
}

.trial-text {
  font-size: 14px;
  color: #6a6f73;
}

.detail-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* 1. Sudah Dibeli (Premium Calm Gray with Green Indicator) */
.detail-status-badge.purchased {
  background: rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #334155;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.detail-status-badge.purchased i {
  color: #10b981;
  /* Premium Success Green */
  font-size: 14px;
}

/* 2. Price Value (Calm & Clear) */
.detail-price-value {
  font-size: 22px;
  font-weight: 500;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 3. Free Badge (Calm & Clear) */
.detail-status-badge.free {
  background: rgba(255, 255, 255, 0.95);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-status-badge.free i {
  color: #6b7280;
  font-size: 14px;
}

/* Platform Badge */
.coursera-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6a6f73;
}

.coursera-plus {
  color: #0056d2;
  font-weight: 600;
}

.coursera-badge a {
  color: #0056d2;
  text-decoration: underline;
}


/* ===================================
   INFO CARDS SECTION
   =================================== */

.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1c1d1f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars {
  color: #b4690e;
  font-size: 18px;
}

.rating-number {
  font-size: 18px;
  font-weight: 600;
  color: #1c1d1f;
}

.reviews-count {
  font-size: 14px;
  color: #6a6f73;
}

.info-card-desc {
  font-size: 14px;
  color: #6a6f73;
  line-height: 1.5;
}

.info-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  border-radius: 50%;
  font-size: 10px;
  cursor: help;
}


/* ===================================
   CONTENT SECTIONS
   =================================== */

.content-section {
  background: #fff;
  padding: 64px 0;
}

.content-section h2 {
  font-size: 32px;
  font-weight: 400;
  color: #1c1d1f;
  margin-bottom: 32px;
}

/* What You'll Learn Grid */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.learn-item {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #1c1d1f;
}

.learn-item::before {
  content: '✓';
  flex-shrink: 0;
  color: #1e8e3e;
  font-weight: 700;
  font-size: 18px;
}

/* Course Includes Grid */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
}

.include-icon {
  flex-shrink: 0;
  font-size: 20px;
}


/* ===================================
   CODING EXERCISES SECTION
   =================================== */



.coding-section {
  margin: 36px 0;
  /* rapat antar section */
  position: relative;
}

.coding-box {
  position: relative;
  background: #f8f9fa;
  border-radius: 14px;
  padding: 20px 32px;
  /* jauh lebih kecil dari sebelumnya */
  overflow: visible;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.coding-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  /* kolom gambar lebih kecil */
  align-items: center;
  gap: 24px;
  /* jarak antar kolom lebih rapat */
  position: relative;
}

.coding-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  /* lebih ringkas */
  letter-spacing: -0.3px;
}

.coding-content p {
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.5;
  margin-bottom: 10px;
}

.coding-content p strong {
  color: #1a1a1a;
  font-weight: 600;
}

.coding-content a {
  color: #0066cc;
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.coding-content a:hover {
  color: #004b99;
}

/* Wrapper gambar */
.coding-image-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  /* dari flex-start → flex-end */
  height: 100%;
  transform: scaleX(-1);
}

.coding-image {
  width: 240px;
  height: auto;
  display: block;
  /* hilangkan jarak bawah bawaan img */
  position: relative;
  right: 5px;
  bottom: 0;
  object-fit: cover;
  transition: transform 0.3s ease;
  z-index: 10;
}

.coding-image:hover {
  transform: scale(1.02);
}

/* Responsif */
@media (max-width: 992px) {
  .coding-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .coding-box {
    padding: 28px 24px;
  }

  .coding-image {
    position: static;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

  .coding-image-wrapper {
    justify-content: center;
  }
}





/* ===================================
   COURSE CONTENT / ACCORDION
   =================================== */

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.content-meta {
  font-size: 14px;
  color: #6a6f73;
}

.expand-btn {
  color: #0056d2;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.expand-btn:hover {
  text-decoration: underline;
}

/* Accordion Styles */
.accordion {
  border: 1px solid #d1d7dc;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #d1d7dc;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-head {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.accordion-head:hover {
  background: #f7f9fa;
}

.accordion-title {
  font-weight: 600;
  font-size: 16px;
  color: #1c1d1f;
  display: flex;
  align-items: center;
  gap: 12px;
}

.accordion-info {
  font-size: 14px;
  color: #6a6f73;
}

.toggle-icon {
  font-size: 14px;
  transition: transform 0.2s ease;
}

/* Accordion Body */
.accordion-body {
  display: none;
  padding: 0 24px 20px 56px;
  color: #333;
  line-height: 1.6;
}

.accordion-body.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.accordion-body li {
  list-style-type: disc;
  margin-bottom: 6px;
  margin-left: 16px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================= */
/* Bingkai mirip DigiCode Card */
/* ============================= */
.info-box {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Headings */
.info-box h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.info-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Requirements List */
.requirements-list {
  margin-left: 20px;
  margin-bottom: 30px;
}

.requirements-list li {
  font-size: 16px;
  color: #5a5a5a;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Paragraphs */
.description-section p {
  font-size: 16px;
  color: #5a5a5a;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Show more link */
.show-more {
  color: #0056d2;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  margin-top: 10px;
}

/* Responsif */



/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 992px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .coding-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* --- CONTAINER & LAYOUT --- */
  .container {
    padding: 0 16px;
    /* Padding kiri-kanan lebih tipis di HP */
  }

  /* --- HERO SECTION --- */
  .hero-wrapper {
    padding: 24px 0 32px;
  }

  .info-box,
  .learn-section-box {
    padding: 24px 16px !important;
    /* Padding kanan-kiri dikecilkan */
    width: 100%;
    box-sizing: border-box;
    /* Pastikan padding dihitung dalam width */
    overflow: hidden;
    /* Potong apa pun yang maksa keluar */
  }

  h1 {
    font-size: 28px;
    /* Perkecil judul */
    margin-bottom: 16px;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Tombol Daftar jadi lebar penuh (Full Width) agar mudah ditekan */
  .cta-section {
    flex-direction: column;
    align-items: stretch;
    /* Tombol melebar */
    gap: 12px;
  }

  .enroll-btn {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 18px;
    /* Font tombol lebih besar */
  }

  .trial-text {
    text-align: center;
    font-size: 13px;
  }

  /* --- INFO CARDS (Kotak-kotak kecil) --- */
  /* Ubah dari 4 kolom menjadi 2 kolom, lalu 1 kolom di layar sangat kecil */
  .info-cards {
    grid-template-columns: 1fr 1fr;
    /* 2 Kolom di Tablet/HP Besar */
    gap: 12px;
    padding: 20px;
    margin-top: 0;
    /* Hilangkan efek tumpuk negatif biar rapi */
  }

  /* --- CONTENT SECTION (About & Learn) --- */
  .content-section {
    padding: 32px 0;
  }

  .learn-section-box {
    padding: 24px 20px;
    /* Kurangi padding box */
  }

  .learn-section-box h2 {
    font-size: 1.25rem;
  }

  /* List "Apa yang dipelajari" jadi 1 kolom */
  .learn-grid {
    /* Ubah jadi 1 kolom agar teks punya ruang penuh */
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;

    /* Pastikan tidak melebar melebihi parent */
    width: 100%;
    box-sizing: border-box;
  }

  .includes-grid {
    grid-template-columns: 1fr;
    /* Icon-icon jadi 1 kolom */
    gap: 20px;
  }

  /* --- CODING EXERCISES --- */
  .coding-box {
    padding: 24px 20px;
  }

  .coding-grid {
    grid-template-columns: 1fr;
    /* Gambar tumpuk ke bawah/atas */
    gap: 20px;
  }

  .coding-image {
    display: none;
    /* Opsi: Sembunyikan gambar di HP agar fokus ke teks, atau taruh di bawah */
    /* Jika ingin tetap ada: width: 100%; height: auto; */
  }

  /* --- COURSE STRUCTURE (Modul) --- */
  .course-structure-wrapper {
    margin-top: 30px;
  }

  .course-structure-container {
    padding: 24px 16px;
    /* Kiri-kanan lebih tipis */
    width: 100%;
    box-sizing: border-box;
  }

  /* Header Module agar tidak berantakan */
  .module-header {
    flex-direction: column;
    /* Judul di atas, status di bawah */
    align-items: flex-start;
    /* Rata kiri */
    gap: 12px;
    position: relative;
    /* Untuk konteks */
  }

  .module-left {
    width: 100%;
    align-items: flex-start;
    /* Pastikan nomor dan teks sejajar atas */
  }

  .module-info h3 {
    font-size: 15px;
    /* Sesuaikan font judul */
    line-height: 1.4;
  }

  .module-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* Sebar elemen ke kiri dan kanan */
    align-items: center;

    /* Geser sedikit ke kanan agar sejajar dengan teks judul (melewati nomor urut) */
    padding-left: 38px;
    box-sizing: border-box;
    padding-left: 0 !important;
    margin-top: 8px;
    /* Beri jarak sedikit dari judul modul */
  }

  .status-badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  .lesson-url {
    display: block;
    /* Agar anchor tag mengisi lebar */
    width: 100%;
  }

  .lesson-list {
    padding-left: 0;
    /* Hapus indentasi desktop */
    margin-top: 16px;
    width: 100%;
  }

  /* Lesson Item di Mobile */
  .lesson-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    padding: 12px;
  }

  .lesson-left {
    width: 100%;
    gap: 12px;
  }

  .lesson-right {
    align-self: flex-end;
    font-size: 12px;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .lesson-info strong {
    font-size: 14px;
    line-height: 1.4;
    display: block;
  }

  /* --- INFO BOX BAWAH (Persyaratan) --- */
  .info-box {
    padding: 24px 20px;
    margin-top: 20px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .learn-item {
    /* Biarkan teks turun ke bawah (wrap) secara alami */
    display: flex;
    align-items: flex-start;
    /* Icon check tetap di atas */
    gap: 10px;

    font-size: 14px;
    /* Perkecil font sedikit biar muat */
    line-height: 1.5;

    /* Mencegah teks keluar jalur */
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }

  .learn-item::before {
    flex-shrink: 0;
    /* Icon tidak boleh menyusut */
    font-size: 16px;
    margin-top: 2px;
    /* Sejajarkan dengan baris pertama teks */
  }
}

@media (max-width: 400px) {
  .info-cards {
    grid-template-columns: 1fr;
    /* Jadi 1 kolom memanjang ke bawah */
  }

  .module-meta {
    margin-left: 0;
    /* Reset margin */
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 28px;
  }

  .coding-content h3 {
    font-size: 24px;
  }

  .content-section h2 {
    font-size: 24px;
  }
}


.learn-section-box {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px 40px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.learn-section-box h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #1c1d1f;
}

.about-digicode {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 32px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px 40px;
  margin-bottom: 32px;
}

.learn-item::before {
  content: "✓";
  color: #0056d2;
  margin-right: 8px;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.include-icon {
  font-size: 20px;
  flex-shrink: 0;
}








/* ============================== */
/* STRUCTURE WRAPPER — ALIGN SAME AS REQUIREMENTS BOX */
/* ============================== */
.course-structure-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  background: transparent;
}

/* Bingkai besar putih agar sejajar dengan "Persyaratan & Deskripsi" */
.course-structure-container {
  border-radius: 12px;
  padding: 40px 60px;
  width: 100%;
  max-width: 1150px;
  /* <-- samakan dengan lebar info-box Persyaratan */
  box-sizing: border-box;
}

/* ============================== */
/* COURSE STRUCTURE INSIDE */
/* ============================== */
.course-structure {
  font-family: "Poppins", sans-serif;
  color: #1f2937;
  width: 100%;
}

.course-structure h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.course-structure p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* ============================== */
/* MODULE CARD */
/* ============================== */
.module-card {
  border-radius: 10px;
  border: 1px solid #f1f1f1;
  padding: 16px 20px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
}

.module-card:hover {
  background: #f3f4f6;
}

/* Header module */
.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}

.module-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-number {
  background: #2563eb;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  border-radius: 6px;
}

.module-info h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.module-info p {
  margin: 1px 0 0;
  font-size: 12px;
  color: #6b7280;
}

/* Meta kanan (status dan jumlah lesson) */
.module-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  background: #111827;
  color: #fff;
  border-radius: 5px;
  font-size: 10.5px;
  padding: 3px 6px;
}

.lesson-count {
  font-size: 11.5px;
  color: #6b7280;
}

/* ============================== */
/* LESSON LIST */
/* ============================== */
.lesson-list {
  margin-top: 10px;
}

.lesson-item {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ececec;
  padding: 8px 12px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lesson-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lesson-left i {
  color: #2563eb;
  font-size: 14px;
}

.lesson-info {
  display: flex;
  flex-direction: column;
}

.lesson-info strong {
  font-size: 13px;
  font-weight: 500;
}

.lesson-info p {
  font-size: 11.5px;
  color: #6b7280;
  margin: 0;
}

.required-badge {
  background: #ef4444;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
}

.lesson-right {
  font-size: 11.5px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lesson-right i {
  color: #6b7280;
  font-size: 12px;
}



/* ============================== */
/* ANIMASI EXPANDABLE LESSON */
/* ============================== */
.module-card {
  transition: all 0.3s ease;
}

.module-header {
  cursor: pointer;
  transition: background 0.2s ease;
}

.module-header:hover {
  background: #f3f4f6;
}

.toggle-icon {
  color: #6b7280;
  font-size: 13px;
  transition: transform 0.3s ease;
}

.module-card.active .toggle-icon {
  transform: rotate(180deg);
}

/* Animasi munculnya lesson */
.lesson-list {
  overflow: hidden;
  transition: all 0.3s ease;
}

.lesson-list.show {
  display: block !important;
  animation: expandFade 0.35s ease;
}

.lesson-url {
  text-decoration: none;
}

@keyframes expandFade {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}







/* update terbaru 14/03/2026 */



.course-overview-section {
  padding: 40px 0 12px;
  background: #fff;
}

.course-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid #d9dee7;
  padding-bottom: 10px;
  margin-bottom: 28px;
}

.tab-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
}

.tab-link.active {
  background: #eef3fb;
  color: #0b57d0;
}

.tab-link:hover {
  background: #f5f7fb;
}

.overview-block {
  margin-bottom: 32px;
}

.overview-block h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #111827;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.learn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.learn-item i {
  margin-top: 4px;
  color: #1d4ed8;
  font-size: 14px;
  flex-shrink: 0;
}

.learn-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef2f7;
  color: #1f2937;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.2;
}

.tag-pill.show-more {
  background: transparent;
  padding: 8px 0;
  text-decoration: underline;
  font-weight: 400;
  cursor: pointer;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 4px;
}

.detail-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 18px;
}

.linkedin-icon {
  color: #0a66c2;
}

.detail-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #111827;
}

.detail-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

@media (max-width: 768px) {
  .course-overview-section {
    padding: 32px 0 8px;
  }

  .learn-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .overview-block {
    margin-bottom: 28px;
  }

  .overview-block h2 {
    font-size: 17px;
  }

  .learn-item p,
  .tag-pill,
  .detail-card p,
  .tab-link {
    font-size: 14px;
  }

  .detail-card h3 {
    font-size: 15px;
  }
}

.learn-grid>div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.learn-grid>div i {
  margin-top: 4px;
  color: #1d4ed8;
  font-size: 14px;
  flex-shrink: 0;
}

.learn-grid>div p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}









/*iklan*/


.expertise-section {
  padding: 36px 0;
  background: #fff;
}

.expertise-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.expertise-content h2 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #111827;
}

.expertise-list {
  margin: 0;
  padding-left: 22px;
}

.expertise-list li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: #1f2937;
}

.expertise-list li:last-child {
  margin-bottom: 0;
}

.expertise-image img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .expertise-section {
    padding: 28px 0;
  }

  .expertise-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .expertise-content h2 {
    font-size: 18px;
  }

  .expertise-list li {
    font-size: 14px;
    line-height: 1.7;
  }

  .expertise-image img {
    max-width: 100%;
    height: 200px;
    margin-left: 0;
  }
}







/*kelompoks*/



.promo-cards-section {
  padding: 40px 0 24px;
  background: #ffffff;
}

.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.promo-card {
  position: relative;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  padding: 36px 32px;
}

.promo-card-content {
  position: relative;
  z-index: 2;
  max-width: 320px;
}

.promo-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 700;
}

.promo-card p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.9;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.promo-link i {
  font-size: 13px;
}

.promo-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
}

.promo-label span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.promo-image {
  position: absolute;
  z-index: 1;
}

.promo-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   KARTU 1
========================= */
.promo-card-1 {
  background: #eef3fb;
}

.promo-card-1 h3,
.promo-card-1 p {
  color: #0f172a;
}

.promo-card-1 .promo-link {
  color: #2f5bea;
}

.promo-card-1 .promo-label {
  color: #2f5bea;
}

.promo-card-1 .promo-label span {
  background: #2f5bea;
  color: #ffffff;
}

.promo-image-1 {
  left: 0px;
  bottom: 0;
  width: 110%;
}

/* =========================
   KARTU 2
========================= */
.promo-card-2 {
  background: #123847;
}

.promo-card-2 h3,
.promo-card-2 p,
.promo-card-2 .promo-link {
  color: #ffffff;
}

.promo-image-2 {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80%;
}

/* =========================
   KARTU 3
========================= */
.promo-card-3 {
  background: #f5f5f5;
}

.promo-card-3 h3,
.promo-card-3 p {
  color: #111827;
}

.promo-card-3 .promo-link {
  color: #2f5bea;
}

.promo-image-3 {
  right: 60px;
  bottom: 0;
  width: 70%;
}

@media (max-width: 1024px) {
  .promo-cards-grid {
    grid-template-columns: 1fr;
  }

  .promo-card {
    min-height: 420px;
  }

  .promo-card-content {
    max-width: 100%;
  }

  .promo-image-1,
  .promo-image-3 {
    width: 38%;
  }

  .promo-image-2 {
    width: 42%;
  }
}

@media (max-width: 768px) {
  .promo-card {
    min-height: 360px;
    padding: 24px 22px;
  }

  .promo-card h3 {
    font-size: 20px;
  }

  .promo-card p,
  .promo-link {
    font-size: 14px;
  }

  .promo-image-1,
  .promo-image-3 {
    width: 48%;
  }

  .promo-image-2 {
    width: 56%;
  }
}








.enroll-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.enroll-proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin-left: -12px;
  background: #f3f4f6;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.proof-avatar:first-child {
  margin-left: 0;
}

.enroll-proof-text {
  font-size: 13px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.5;
}

.enroll-proof-text strong {
  color: #111827;
  font-size: 13px;
  font-weight: 400;
}

.enroll-proof-text span {
  color: #6b7280;
  font-size: 14px;
  display: block;
}

@media (max-width: 768px) {
  .cta-section {
    align-items: flex-start;
  }

  .enroll-btn {
    min-width: 220px;
    font-size: 18px;
    padding: 16px 26px;
  }

  .proof-avatar {
    width: 36px;
    height: 36px;
  }

  .enroll-proof-text {
    font-size: 14px;
  }

  .enroll-proof-text strong {
    font-size: 15px;
  }
}










/* ===================================
   SOFT ELEGANT ANIMATIONS
   =================================== */

:root {
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --anim-fast: 0.35s;
  --anim-normal: 0.55s;
  --anim-slow: 0.8s;
}

/* Smooth global feeling */
body {
  animation: pageFadeIn 0.6s var(--ease-soft);
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===================================
   HERO ENTRANCE
   =================================== */

.breadcrumb,
.provider-logo,
h1,
.subtitle,
.instructors,
.cta-section,
.coursera-badge {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUpSoft 0.7s var(--ease-soft) forwards;
}

.provider-logo {
  animation-delay: 0.05s;
}

.breadcrumb {
  animation-delay: 0.08s;
}

h1 {
  animation-delay: 0.14s;
}

.subtitle {
  animation-delay: 0.22s;
}

.instructors {
  animation-delay: 0.3s;
}

.cta-section {
  animation-delay: 0.38s;
}

.coursera-badge {
  animation-delay: 0.46s;
}

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   BUTTON
   =================================== */

.enroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(0, 86, 210, 0.14);
  transition:
    transform 0.28s var(--ease-soft),
    box-shadow 0.28s var(--ease-soft),
    background-color 0.28s var(--ease-soft);
}

.enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 86, 210, 0.18);
}

.enroll-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 86, 210, 0.12);
}

/* ===================================
   SOCIAL PROOF
   =================================== */

.enroll-proof {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUpSoft 0.7s var(--ease-soft) forwards;
  animation-delay: 0.5s;
}

.proof-avatar {
  transition:
    transform 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft);
}

.enroll-proof:hover .proof-avatar {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.enroll-proof-text {
  transition: color 0.3s ease;
}

/* ===================================
   INFO CARDS
   =================================== */

.info-cards {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpSoft 0.75s var(--ease-soft) forwards;
  animation-delay: 0.55s;
}

.info-card {
  transition:
    transform 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft),
    background-color 0.35s var(--ease-soft);
  border-radius: 10px;
}

.info-card:hover {
  transform: translateY(-4px);
}

/* ===================================
   SECTION REVEAL ON LOAD
   =================================== */

.course-overview-section,
.coding-section,
.course-structure-wrapper,
.expertise-section,
.promo-cards-section {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpSection 0.85s var(--ease-soft) forwards;
}

.course-overview-section {
  animation-delay: 0.2s;
}

.coding-section {
  animation-delay: 0.3s;
}

.course-structure-wrapper {
  animation-delay: 0.4s;
}

.expertise-section {
  animation-delay: 0.5s;
}

.promo-cards-section {
  animation-delay: 0.6s;
}

@keyframes fadeUpSection {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   TABS / NAVIGATION
   =================================== */

.course-tabs {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  margin-bottom: 32px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  gap: 32px;
  transition: box-shadow 0.3s ease;
}

.course-tabs.is-sticky {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tab-link {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
  padding: 8px 0;
  transition:
    color 0.28s ease,
    transform 0.28s var(--ease-soft);
}

.tab-link:hover {
  color: #1e293b;
  transform: translateY(-1px);
}

.tab-link.active {
  color: #2563eb;
  font-weight: 600;
}

.tab-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  background: #2563eb;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-soft);
}

.tab-link.active::after {
  transform: scaleX(1);
}

/* Scroll Anchors Offset */
#tentang,
#hasil,
#materi,
#detail {
  scroll-margin-top: 100px;
}

/* ===================================
   OVERVIEW BLOCK
   =================================== */

.overview-block {
  transition: transform 0.35s var(--ease-soft);
}

.overview-block:hover {
  transform: translateY(-2px);
}

.tag-pill {
  transition:
    transform 0.25s var(--ease-soft),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.tag-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* ===================================
   CODING BOX
   =================================== */

.coding-box {
  transition:
    transform 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease-soft);
}

.coding-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.coding-content h3,
.coding-content p {
  transition: transform 0.35s var(--ease-soft);
}

.coding-box:hover .coding-content h3,
.coding-box:hover .coding-content p {
  transform: translateY(-1px);
}

/* ===================================
   MODULE CARD / ACCORDION
   =================================== */

.module-card {
  background: #fff;
  transition:
    transform 0.32s var(--ease-soft),
    box-shadow 0.32s var(--ease-soft),
    border-color 0.32s ease,
    background-color 0.32s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  border-color: #e5e7eb;
  background: #ffffff;
}

.module-header {
  transition:
    background-color 0.28s ease,
    padding-left 0.28s var(--ease-soft);
}

.module-header:hover {
  background: #f8fafc;
  padding-left: 6px;
}

.toggle-icon {
  transition:
    transform 0.35s var(--ease-soft),
    color 0.28s ease;
}

.module-card.active .toggle-icon {
  transform: rotate(180deg);
  color: #2563eb;
}

.lesson-list {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.5s var(--ease-soft),
    opacity 0.35s ease,
    transform 0.35s ease,
    margin-top 0.35s ease;
}

.lesson-list.show {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 12px;
}

.lesson-item {
  transition:
    transform 0.28s var(--ease-soft),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.lesson-item:hover {
  transform: translateX(4px);
  border-color: #dbe3f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

/* ===================================
   EXPERTISE SECTION
   =================================== */

.expertise-wrapper {
  transition: transform 0.45s var(--ease-soft);
}

.expertise-image img {
  transition:
    transform 0.5s var(--ease-soft),
    box-shadow 0.5s var(--ease-soft);
}

.expertise-wrapper:hover .expertise-image img {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ===================================
   PROMO CARDS
   =================================== */

.promo-card {
  transition:
    transform 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft),
    filter 0.4s ease;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
}

.promo-image img {
  transition: transform 0.55s var(--ease-soft);
}

.promo-card:hover .promo-image img {
  transform: scale(1.03);
}

.promo-link {
  transition: gap 0.25s ease, opacity 0.25s ease;
}

.promo-card:hover .promo-link {
  gap: 11px;
}

/* ===================================
   REDUCE MOTION
   =================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}



/* pakai class trigger sekali saja, jangan langsung tempel animation di selector utama */

body.page-ready .breadcrumb,
body.page-ready .provider-logo,
body.page-ready h1,
body.page-ready .subtitle,
body.page-ready .instructors,
body.page-ready .cta-section,
body.page-ready .coursera-badge {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUpSoft 0.7s var(--ease-soft) forwards;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

body.page-ready .provider-logo {
  animation-delay: 0.05s;
}

body.page-ready .breadcrumb {
  animation-delay: 0.08s;
}

body.page-ready h1 {
  animation-delay: 0.14s;
}

body.page-ready .subtitle {
  animation-delay: 0.22s;
}

body.page-ready .instructors {
  animation-delay: 0.3s;
}

body.page-ready .cta-section {
  animation-delay: 0.38s;
}

body.page-ready .coursera-badge {
  animation-delay: 0.46s;
}

body.page-ready .info-cards {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpSoft 0.75s var(--ease-soft) forwards;
  animation-delay: 0.55s;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

body.page-ready .course-overview-section,
body.page-ready .coding-section,
body.page-ready .course-structure-wrapper,
body.page-ready .expertise-section,
body.page-ready .promo-cards-section {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpSection 0.85s var(--ease-soft) forwards;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

body.page-ready .course-overview-section {
  animation-delay: 0.2s;
}

body.page-ready .coding-section {
  animation-delay: 0.3s;
}

body.page-ready .course-structure-wrapper {
  animation-delay: 0.4s;
}

body.page-ready .expertise-section {
  animation-delay: 0.5s;
}

body.page-ready .promo-cards-section {
  animation-delay: 0.6s;
}