html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1; 
}

footer {
    background-color: #f0f4f7;
    text-align: center;
    padding: 10px;
    position: relative;
    width: 100%;
    bottom: 0;
}


/* Mengatur font Inter */
body,
.navbar,
.form-control,
.btn,
.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
body{

    background-color: #ffffff;
}
.navbar{
  
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Border top tipis */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Border bottom tipis */
}
/* Warna dan ukuran huruf  */
.navbar-light .navbar-nav .nav-link {
    /* color: #ffffff; */
    font-weight: 600;
    
}

.navbar-brand {
    margin-right: 20px; /* Atur jarak sesuai kebutuhan */
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #829c77;
    /* Warna hover ungu */
}

/* Tombol search  */
.search-input {
    border-radius: 50px;
    padding-left: 40px;
    height: 40px;
    width: 500px;
    background-color: #f7f9fa;
    border: 1px solid #d1d7dc;
    font-size: 14px;
}

.search-input::placeholder {
    color: #6a6f73;
}

/* Posisi ikon search */
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* Tombol Sign Up dan Login flat */
.btn-flat {
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-flat-primary {
    background-color: white;
    color: #333333;
}
.btn-flat-primary :hover{
    background-color: white;
    color: #ee1414;
}

.btn-flat-secondary {
    background-color: white;
    color: #333333;
    border: 1px solid #d1d7dc;
}

/* Pilihan Bahasa berupa tombol bulat */
.btn-language {
    border-radius: 50%;
    padding: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f9fa;
    border: none;
}

/* Dropdown menu */
.btn-language .dropdown-menu {
    right: 0;
    left: auto;
    border: none;
    box-shadow: none;
}

.btn-language .dropdown-menu a {
    color: #333333;
    padding: 8px 16px;
    font-size: 12px;
}

.btn-language .dropdown-menu a:hover {
    background-color: #f7f9fa;
}

/* Top bar styling */
.top-bar {
    background-color: #ffffff !important;  /* Warna background yang berbeda dari navbar */
    
}


.top-bar-link:hover {
    color: #5624d0; /* Warna hover ungu */
}


/* Mengubah ukuran dan gaya teks pada top bar link */
.top-bar-link {
    font-size: 11px; /* Ukuran font kecil */
    color: #4b4848; /* Warna teks putih */
    text-decoration: none; /* Menghilangkan garis bawah */
    margin-left: 15px; /* Spasi antara link */
}

/* Menghilangkan efek link pada elemen <a> */
.top-bar-link.disabled {
    cursor: default; /* Menghilangkan kursor pointer */
    pointer-events: none; /* Menghilangkan klik */
}
.location-link .loc-short{ display:none; }

/* mobile */
@media (max-width:768px){
  .location-link .loc-full{ display:none; }
  .location-link .loc-short{
    display:inline;
    font-weight:600;
  }

}

/* ===== Topbar Social (DESKTOP ONLY) ===== */
.desktop-only{ display:flex; }
@media (max-width:768px){
  .desktop-only{ display:none !important; }
}

.topbar-social{
  gap: 8px;
}

.topbar-social .social-btn{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(13,110,253,.12);
  border: 1px solid rgba(13,110,253,.20);

  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.topbar-social .social-btn:hover{
  transform: translateY(-1px);
  background: rgba(13,110,253,.18);
  border-color: rgba(13,110,253,.28);
}

/* tombol Lynk.id versi mini */
.topbar-social .social-linkid{
  width: auto;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0d6efd;
  background: rgba(13,110,253,.08);
}

.topbar-social .social-linkid:hover{
  color: #0b5ed7;
}



/* Styling untuk carousel */
.carousel-item {
    height: 350px; /* Tinggi gambar slider */
    position: relative;
}
/* Keyframe untuk animasi zoom */
@keyframes zoomIn {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Menerapkan animasi zoom pada setiap carousel item */
.carousel-item {
    animation: zoomIn 2s ease-in-out forwards; /* Durasi animasi 0.6 detik */
    opacity: 1; /* Untuk memulai animasi dari tidak terlihat */
}

/* .carousel-item.active {
    opacity: 0; 
} */


.carousel-item img {
    height: 100%; /* Memastikan gambar mengisi tinggi carousel-item */
    object-fit: cover; /* Memastikan gambar tidak terdistorsi */
}

.carousel-item {
    position: relative;
    height: 450px; /* sesuaikan */
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* Overlay gelap */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.05) 80%
    );
    z-index: 1;
}


/* ===============================
   TEXT BOX SLIDER - TRANSPARENT
================================= */
.carousel-text-box {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 550px;

    padding: 0;
    background: none;
    border: none;
    box-shadow: none;

    z-index: 2;   /* 🔥 INI YANG PENTING */
}


/* Styling tombol-tombol */
.button-group {
    margin-top: 10px;
}

.btn-flat {
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    margin-right: 10px;
}

.btn-personal {
    background-color: #ffffff; /* Putih */
    color: #000000; /* Hitam */
    border: 1px solid #000000
}

.btn-personal:hover {
    background-color: #f0f0f0; /* Warna hover */
    color: #000000;
}

.btn-company {
    background-color: #ffffff; /* Putih */
    color: #000000; /* Hitam */
    border: 1px solid #000000
}

.btn-company:hover {
    background-color: #f0f0f0; /* Warna hover */
    color: #000000;
    
}
.carousel-text-box h5 {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 16px;

    text-shadow: 
        0 4px 20px rgba(0,0,0,0.8),
        0 2px 8px rgba(0,0,0,0.6);
}


.carousel-text-box p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;

    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Styling untuk kontrol slider */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Background semi-transparan */
    border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Mengatur lebar tombol kontrol */
}





/* Responsive: Menu kiri dan logo di tengah pada mobile */
@media (max-width: 768px) {
    
    .top-bar-link {
        font-size: 11px; /* Ukuran font kecil */
        color: #4b4848; /* Warna teks putih */
        text-decoration: none; /* Menghilangkan garis bawah */
        margin-left: 2px; /* Spasi antara link */
    }
    .top-bar .aplikasi{

        display:none;
    }
    .navbar-brand {
        display: block;
        margin: 0 auto;
    }

    .navbar-nav {
        margin-top: 10px;
        text-align: left;
        padding-left: 0;
        /* Menghilangkan padding kiri pada mobile */
    }

    .form-search {
        display: none;
        /* Menghilangkan search form pada mobile */
    }

    .btn-flat,
    .btn-language {
        display: none;
        /* Menyembunyikan tombol Sign Up dan Login */
    }

    .navbar-collapse {
        flex-direction: column;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .navbar-toggler {
        margin-right: 0;
    }
   
   .carousel-item{
    height: 260px;               /* lebih enak dari 200 */
  }

@media (max-width: 768px){

  .carousel-item{
    height: 260px; /* boleh 220-280 sesuai selera */
  }

  /* tampilkan caption tanpa kotak */
  .carousel-text-box{
    display: block !important;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 14px;
    transform: none;
    max-width: none;

    padding: 0;              /* ✅ no box */
    background: none;         /* ✅ no box */
    border: none;
    box-shadow: none;
  }

  .carousel-text-box h5{
    font-size: 20px;          /* dari 52 */
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.3px;

    text-shadow:
      0 6px 22px rgba(0,0,0,.85),
      0 2px 10px rgba(0,0,0,.65);
  }

  .carousel-text-box p{
    font-size: 13px;          /* dari 18 */
    line-height: 1.45;
    margin-bottom: 10px;

    text-shadow:
      0 6px 18px rgba(0,0,0,.75),
      0 2px 8px rgba(0,0,0,.55);
  }

  /* tombol biar rapi di HP */
  .button-group .btn-flat{
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 10px;
  }

  /* optional: rapikan kalau judul kepanjangan */
  .carousel-text-box h5{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .carousel-text-box p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

   

}

/* Menjaga tombol bahasa tetap di kanan pada mobile */
@media (min-width: 769px) {
    .btn-language {
        margin-left: auto;
    }
}

/* Tambahkan jarak antara slider dan section Bontistudio */
.slider-container {
    margin-bottom: 50px; /* Jarak antara slider dan section Bontistudio */
}








/* Section Bontistudio */
.bontistudio-section {
     background-color: #ffffff; 
    color: rgb(17, 15, 15);
    padding: 50px 0;
    margin-top: 30px;
}


.bontistudio-section .container-fluid {
    max-width: 1200px; /* Lebar maksimum container */
    margin: 0 auto; /* Membuat container berada di tengah layar */
}



.bonti-title{
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #111827;
}

/* lead text */
.bonti-lead{
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 18px;
  max-width: 520px;
}

/* bullet list */
.bonti-list{
  list-style: none;
  padding-left: 0;
  margin: 0 0 22px 0;
  color: #374151;
}

.bonti-list li{
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 28px;
}

.bonti-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #0d6efd;
}

/* CTA buttons */
.bonti-cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* image card */
.bonti-media{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.bonti-media img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 768px){



  /* text jangan terlalu lebar dan rapikan */
  .bonti-text-wrap{
    padding-left: 0;
    max-width: 100%;
  }

  /* jarak antara teks dan gambar */
  .bonti-media{
    margin-top: 18px;
  }

  .bonti-media{
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .bonti-media img{
    height: 200px;
    width: 92%;
    margin: 0 auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
  }

  /* tombol biar rapi di mobile */
  .bonti-cta{
    gap: 10px;
  }



  /* Kecilkan judul */
  .bonti-title{
    font-size: 24px;     /* sebelumnya 40px */
    line-height: 1.3;

    margin-bottom: 12px;
  }
}


.bontistudio-text{
  margin: 0 auto;        /* ini bikin elemen selalu center */
  max-width: 500px;      /* membatasi dan membuat margin terasa tidak berubah */
  position: relative;
  top: 30px;
}

/* Pengaturan judul Bontistudio */
.bontistudio-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
   
    color: #333333;
}

/* Pengaturan deskripsi Bontistudio */
.bontistudio-text p {
    font-size: 1.0rem;
    line-height: 1.6;
    text-align: justify; /* Membuat teks rata kiri kanan */
}

/* Pengaturan gambar agar berada di tengah kolom */
.bontistudio-image {
    text-align: center;
   
}
.bonti-text-wrap{
  max-width: 560px;      /* kunci utama */
   margin-left: 40px; 
}


/* Menjaga responsive desain */
@media (max-width: 768px) {
  
@media (max-width: 768px){

  /* section jadi lebih "nyatu" & tidak kosong */
  .bontistudio-section{
    padding: 26px 0;
    margin-top: 10px;
    background: #f6f8fb;             /* soft gray */
  }

  /* kotak konten (card) supaya enak dibaca */
  .bonti-text-wrap{
    margin: 0;                        /* hapus margin-left desktop */
    padding: 18px 16px;
    background: #ffffff;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
  }

  /* tipografi lebih pas untuk HP */
  .bonti-title{
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
  }

  .bonti-lead{
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
    max-width: 100%;
  }

  /* list lebih rapat & ikon tidak terlalu jauh */
  .bonti-list li{
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.55;
  }

  .bonti-list li::before{
    top: 1px;
  }

  /* tombol lebih rapi di HP */
  .bonti-cta{
    gap: 10px;
  }

  .bonti-cta a{
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 700;
  }

  /* gambar tetap model "tidak full", tapi kasih card feel */
  .bonti-media{
    margin-top: 14px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    background: #fff;
  }

  .bonti-media img{
    width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 0;
  }
}


}

.training-populer-section{
  position: relative;
  overflow-x: clip;      /* ✅ cegah geser kanan (modern browser) */
  overflow-y: visible;
  isolation: isolate;    /* ✅ pseudo-element gak ngacauin stacking */
}

/* fallback kalau clip belum support */
@supports not (overflow: clip){
  .training-populer-section{ overflow-x: hidden; }
}

/* dekorasi aman */
.training-populer-section::before,
.training-populer-section::after{
  content:"";
  position:absolute;
  pointer-events:none;   /* ✅ tidak ganggu klik */
  z-index:0;             /* ✅ di belakang konten */
}

/* konten di atas dekorasi */
.training-populer-section .container{
  position: relative;
  z-index: 1;
}

/* dekorasi aslinya (tetap) */
.training-populer-section::before{
  top:-180px;
  left:-180px;
  width:420px;
  height:420px;
  background: radial-gradient(circle, rgba(13,110,253,.18) 0%, rgba(13,110,253,0) 70%);
  filter: blur(2px);
}

.training-populer-section::after{
  bottom:-220px;
  right:-220px;
  width:520px;
  height:520px;
  background: radial-gradient(circle, rgba(130,156,119,.18) 0%, rgba(130,156,119,0) 70%);
  filter: blur(2px);
}


/* pastikan konten di atas layer dekorasi */
.training-populer-section .container{
  position: relative;
  z-index: 2;
}


.training-populer-section .section-title{
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  color: #111827;
  margin-top: 60px;
}

/* underline premium */
.training-populer-section .section-title::after{
  content: "";
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg,#0d6efd,#4f46e5);
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border-radius: 6px;
}


/* Link card jangan punya underline */
.training-card{
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Card style */
.training-card-modern{
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Hover premium */
.training-card-modern:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  border-color: rgba(13,110,253,.25); /* hint warna brand */
}

/* Media wrapper + image */
.training-card-media{
  position: relative;
  overflow: hidden;
}

.training-card-media img{
  height: 170px;
  width: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

/* Zoom halus saat hover */
.training-card-modern:hover .training-card-media img{
  transform: scale(1.06);
}

/* Body spacing */
.training-card-modern .card-body{
  padding: 16px 16px 18px;
}

/* Judul */
.training-card-modern .card-title{
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #111827;

  /* jaga tinggi supaya rapi antar card */
  min-height: 44px;
}

/* Badge metode -> chip modern */
.badge-metode{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 12px;
  font-weight: 700;
  color: #1f2937;

  background: #eef2ff;          /* soft */
  border: 1px solid rgba(79,70,229,.18);
  padding: 7px 10px;
  border-radius: 999px;
}

/* Optional: bikin kata "Metode:" tidak terlalu menonjol */
.badge-metode::before{
  content: "Metode";
  font-weight: 800;
  color: #4f46e5;
}

/* Tombol view more */
.btn-view-more{
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-view-more:hover{
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13,110,253,.25);
}
.btn-training-more{
  background: #0d6efd;
  color: #fff;
  border: 1px solid rgba(13,110,253,.25);
  padding: 12px 22px;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(13,110,253,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-training-more:hover{
  background: #0b5ed7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13,110,253,.24);
}

.metode-wrap{ margin-top: 10px; }

/* link detail kecil, sama di desktop & mobile */
.detail-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;

  color: #056af0c9;                /* muted */
  text-decoration: none;
  letter-spacing: .1px;
}

.detail-link span{
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease;
}

.detail-link:hover{
  color: #0d6efd;                /* brand */
  text-decoration: none;
}

.detail-link:hover span{
  transform: translateX(2px);
}

/* optional: biar rapi posisinya selalu di bawah konten */
.training-card-modern .card-body{
  display: flex;
  flex-direction: column;
}

.detail-link{
  margin-top: auto;              /* dorong ke bawah */
  padding-top: 8px;
}

/* Responsive */
@media (max-width: 768px){


   .training-populer-section{
   
    padding: 50px 0;
  }
  .training-populer-section::before{
    width: 260px;
    height: 260px;
    left: -140px;
    top: -140px;
  }
  .training-populer-section::after{
    width: 320px;
    height: 320px;
    right: -170px;
    bottom: -170px;
  }
  /* lebih enak 2 kolom tapi rapat */
  .training-card-modern .card-title{
    font-size: 14px;
    min-height: 40px;
  }
  .training-card-media img{ height: 140px; }

.training-populer-section .section-title{
    font-size: 22px;
    text-align: center;   /* 🔥 ini yang bikin center */
    margin: 0 auto 30px auto;
    display: block;
    width: 100%;
  }
    .btn-training-more{
    width: 100%;
    max-width: 320px;
    display: inline-flex;
    justify-content: center;
  }


  .badge-detail-wide{
    width: 80%;
    margin: 0 auto;                 /* center */
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 12px;
    border-radius: 12px;            /* ✅ roundness dikurangi */
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;

    color: #c3d70b;
    background: rgba(13,110,253,.08);   /* ✅ transparan */
    border: 1px solid rgba(13,110,253,.20);
    text-decoration: none;

    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .badge-detail-wide:hover{
    background: rgba(13,110,253,.14);
    border-color: rgba(13,110,253,.28);
    transform: translateY(-1px);
    color: #0b5ed7;
  }

  /* optional: kecilkan jarak dari judul biar lebih nyatu */
  .training-card-modern .card-body{ padding-bottom: 14px; }

  /* wrapper */
.metode-wrap{
  margin-top: 10px;
}



/* optional: biar rapi posisinya selalu di bawah konten */
.training-card-modern .card-body{
  display: flex;
  flex-direction: column;
}

.detail-link{
  margin-top: auto;              /* dorong ke bawah */
  padding-top: 8px;
}


/* badge detail versi tipis */
.badge-detail{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  font-size: 12px;
  font-weight: 700;

  padding: 7px 12px;
  border-radius: 999px;

  color: #0d6efd;
  background: rgba(13,110,253,.08);   /* soft blue */
  border: 1px solid rgba(13,110,253,.25);

  text-decoration: none;
  transition: all .18s ease;
}

/* hover lembut */
.badge-detail:hover{
  background: rgba(13,110,253,.15);
  color: #0b5ed7;
}


}


/* Responsive Button */
@media (max-width: 768px) {
   
    .btn-view-more {
        width: 100%; 
        text-align: center;
        padding: 12px;
        font-size: 0.9rem;
    }
   
}

  
.video-sharing-section{
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  padding: 70px 0;
}

.video-sharing-section .section-title{
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .5px;
  color: #0f172a;
  margin-bottom: 34px;
  position: relative;
}

.video-sharing-section .section-title::after{
  content:"";
  display:block;
  width: 64px;
  height: 4px;
  background: #0d6efd;
  border-radius: 999px;
  margin: 12px auto 0;
}


.video-sharing-section .card{
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(2, 6, 23, .08);
  transition: transform .18s ease, box-shadow .18s ease;
  background: #fff;
}

.video-sharing-section .card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(2, 6, 23, .14);
}

.video-sharing-section .card-img-top{
  height: 170px;
  object-fit: cover;
  display: block;
}

/* bungkus thumbnail */
.video-sharing-section .card .video-thumb{
  position: relative;
}

/* overlay halus */
.video-sharing-section .card .video-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
  opacity: .0;
  transition: opacity .18s ease;
}

/* icon play */
.video-sharing-section .card .video-thumb::before{
  content:"▶";
  position:absolute;
  left: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  color:#fff;
  background: rgba(13,110,253,.92);
  box-shadow: 0 10px 25px rgba(13,110,253,.35);
  z-index: 2;
  transform: translateY(0);
  transition: transform .18s ease;
}

.video-sharing-section .card:hover .video-thumb::after{ opacity: 1; }
.video-sharing-section .card:hover .video-thumb::before{ transform: translateY(-2px); }

.video-sharing-section .btn-view-more{
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(13,110,253,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}

.video-sharing-section .btn-view-more:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(13,110,253,.34);
}

/* Judul Section */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333333;
}

/* Styling untuk Video Card */
.video-card {
    text-decoration: none;
    color: inherit;
}

.card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card {
    margin: 0 auto; /* Memusatkan card secara horizontal */
    max-width: 100%; /* Agar card responsif */
}

.card-img-top {
    border-bottom: 1px solid #e0e0e0;
}

/* Styling body card */
.card-body {
    padding: 20px;
}

/* Judul Card */
.card-title {
    font-family: 'Roboto', sans-serif; /* Menggunakan font yang lebih bagus */
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

/* Deskripsi Card */
.card-text {
    font-size: 0.875rem;
    color: #666666;
}


/* Responsive card display */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 50%; /* 2 card per baris pada mobile */
        max-width: 50%;
    }

    .card-body p {
        display: none;
    }
    
}

/* Tombol Lihat Video Lainnya */
.btn-view-more {
    background-color: #007bff; /* Warna latar belakang tombol */
    color: #ffffff; /* Warna teks tombol */
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.btn-view-more:hover {
    background-color: #0056b3; /* Warna hover tombol */
    color: #ffffff;
}

/* Responsive Button */
@media (max-width: 768px) {
    .btn-view-more {
        width: 100%; /* Tombol mengisi lebar container pada mobile */
        text-align: center;
        padding: 12px;
        font-size: 0.9rem;
    }

    .img-fixed-height {
        height: 200px; /* Mengatur tinggi gambar */
        width: 100%; /* Mengatur lebar gambar agar responsif sesuai lebar kontainer */
        object-fit: cover; /* Mengatur gambar untuk menutupi area tanpa mengubah rasio aspek */
    }
    .img-resize {
        height: 200px; /* Mengatur tinggi gambar menjadi separuh dari ukuran aslinya */
        object-fit: cover; /* Mengatur gambar untuk menutupi area tanpa mengubah rasio aspek */
    }
}
/* =========================
   INSTRUCTOR SECTION
========================= */
.instructor-section{
  padding: 75px 0;
  background: #ffffff;
}

.instructor-content{
  max-width: 540px; /* biar paragraf tidak melebar */
  margin-left: 50px;
}

.instructor-title{
  font-size: 40px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 12px 0;
  line-height: 1.15;
  position: relative;
}

/* underline kecil elegan (ganti background hijau blok) */
.instructor-title::after{
  content:"";
  display:block;
  width: 68px;
  height: 4px;
  background:#829c77;   /* hijau brand kamu */
  border-radius: 99px;
  margin-top: 14px;
}

.instructor-lead{
  color:#4b5563;
  font-size: 16px;
  line-height: 1.7;
  margin: 16px 0 18px;
}

/* bullet list */
.instructor-list{
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.instructor-list li{
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color:#374151;
  line-height: 1.6;
}

.instructor-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  font-weight: 900;
  color:#0d6efd;
}

.instructor-media{
  max-width: 520px;      /* batasi lebar */
  margin: 0 auto;        /* center */
}

.instructor-media img{
  width:100%;
  height: 320px;         /* lebih kecil */
  object-fit: cover;
  border-radius: 18px;
  display:block;
}


/* CTA buttons */
.instructor-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-instructor-primary{
  background:#0d6efd;
  color:#fff;
  border: 1px solid rgba(13,110,253,.25);
  padding: 12px 18px;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(13,110,253,.18);
}

.btn-instructor-primary:hover{
  background:#0b5ed7;
  color:#fff;
}

.btn-instructor-secondary{
  background:#fff;
  color:#0d6efd;
  border: 1px solid rgba(13,110,253,.35);
  padding: 12px 18px;
  font-weight: 800;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px){

  /* Section jadi soft & tidak polos */
  .instructor-section{
    padding: 38px 0;
    background: #f6f8fb; /* soft */
  }

  /* rapikan container text (hilangkan margin desktop) */
  .instructor-content{
    margin-left: 0 !important;
    max-width: 100%;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
  }

  /* judul lebih pas */
  .instructor-title{
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  /* underline lebih kecil */
  .instructor-title::after{
    width: 56px;
    height: 3px;
    margin-top: 10px;
  }

  /* paragraf lebih compact */
  .instructor-lead{
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0 14px;
  }

  /* list lebih rapi */
  .instructor-list{
    margin: 0 0 16px 0;
  }

  .instructor-list li{
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.55;
  }

  .instructor-list li::before{
    top: 1px;
  }

  /* tombol rapi full width */
  .instructor-cta{
    gap: 10px;
  }

  .btn-instructor-primary,
  .btn-instructor-secondary{
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    border-radius: 12px;
  }

  /* gambar: tetap elegan, tapi jangan kebesaran */
  .instructor-media{
    max-width: 92%;
    margin: 0 auto 14px auto;
  }

  .instructor-media img{
    height: 200px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
  }
}


.section-divider{
    display: block;   /* WAJIB */ 
  width: 80px;
  height: 3px;
  background: #0d6efd;
  margin: 20px auto;
  border-radius: 10px;
}
/* Footer */
.footer {
    background-color: #333; /* Warna latar belakang footer yang agak gelap tetapi masih terang */
    color: #ffffff; /* Warna teks putih untuk kontras */
    padding: 20px 0; /* Padding atas dan bawah */
}

/* Baris pertama - link tidak terlihat */
.footer ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer ul li a:hover {
    text-decoration: underline;
}

/* Baris kedua */
.footer-bottom {
    display: flex;
   
}

.footer-logo img {
    max-width: 150px; /* Sesuaikan ukuran logo */
}

.footer-copy p {
    margin: 0;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif; /* Font yang lebih bagus */
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-logo img {
        max-width: 120px; /* Ukuran logo lebih kecil di mobile */
    }
}
/* Gaya untuk gambar kursus */
.img-fluid {
    max-width: 100%; /* Agar gambar responsif */
    /*height: auto; /* Menjaga rasio aspek gambar */
}

/* Mengatur tinggi gambar */
.img-resize {
    height: 400px; /* Mengatur tinggi gambar menjadi separuh dari ukuran aslinya */
    object-fit: cover; /* Mengatur gambar untuk menutupi area tanpa mengubah rasio aspek */
}
.img-fixed-height {
    height: 400px; /* Mengatur tinggi gambar */
    width: 100%; /* Mengatur lebar gambar agar responsif sesuai lebar kontainer */
    object-fit: cover; /* Mengatur gambar untuk menutupi area tanpa mengubah rasio aspek */
}

/* Gaya untuk judul section */
.section-title {
    text-align: center; /* Mengatur teks agar berada di tengah */
    font-family: 'Arial', sans-serif; /* Menggunakan font modern */
    font-size: 24px; /* Ukuran font untuk judul */
    color: #333; /* Warna teks, sesuaikan sesuai kebutuhan */
    margin-bottom: 20px; /* Jarak bawah judul */
}

/* CSS khusus untuk container detail kursus */
.detail-kursus-container {
    /* background-color: #f1f3f5; Warna background yang sedikit lebih gelap dari body */
    padding: 20px; /* Padding untuk memberikan ruang di sekitar konten */
    /* border-radius: 8px; Membuat sudut container sedikit melengkung */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); Memberikan bayangan lembut pada container */
}

.currency {
    font-size: 0.9em; /* Ukuran lebih kecil dari angka */
    vertical-align: super; /* Posisi sedikit lebih tinggi dari baseline teks */
}
.amount {
    font-weight: bold; /* Membuat angka lebih tebal */
}


.user-artikel-detail  .card-img-top{
    width: 100%;
    height: 150px;
    margin-bottom: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  .user-artikel-detail .card-title {
   
    font-family: 'Roboto', sans-serif; /* Menggunakan font yang lebih bagus */
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a; /* Warna teks judul */
    margin-bottom: 10px;
  }
  .user-artikel-detail .card-header {
   
    font-family: 'Roboto', sans-serif; /* Menggunakan font yang lebih bagus */
    font-size: 1.5rem;
    font-weight: 700;
   
    text-align: center; 
    color: #1a1a1a; /* Warna teks judul */
    margin-bottom: 10px;
  }

  