html {
  font-size: 18px; /* 1rem = 18px */
}


.logo-k3 {
  display: inline-block;
  animation: spinY 4s linear infinite; /* durasi 4 detik, berulang */
  transform-style: preserve-3d;
}

@keyframes spinY {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}




/* Bungkus umum */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px; /* ukuran icon FA */
  margin: 0 5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Font Awesome icon tetap */
.social-icons a i {
  line-height: 1;
}

/* SVG TikTok ikut aturan FA */
.social-icons a svg {
  width: 1em;      /* ikut font-size parent */
  height: 1em;
  fill: currentColor;
  display: block;
}
  
/* Warna brand */
.social-icons a.facebook { background: #1877f2; }
.social-icons a.twitter  { background: #1da1f2; }
.social-icons a.instagram{ background: #e4405f; }
.social-icons a.tiktok   { background: #000; }
.social-icons a.linkedin { background: #0a66c2; }

/* Hover effect */
.social-icons a:hover {
  background: #fff;
  color: #000;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  margin: 0 5px;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 0; /* penting untuk svg */
}

.social-icons a i {
  line-height: 1;
}

.social-icons a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  vertical-align: middle;
  display: inline-block;
}

/* Tombol WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* jarak icon dan teks */
  background-color: #25d366; /* warna khas WhatsApp */
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 16px;
  transition: background 0.3s ease;
  text-decoration: none;
  border: none;
}

.btn-whatsapp i {
  font-size: 20px;
}

/* Hover effect */
.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: #fff;
  text-decoration: none;
}
.partner-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
#section-partner img {
  max-height: 80px;   /* biar logo rapi */
  object-fit: contain;
}

#galeri-prodjati .product-item figure {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#galeri-prodjati .product-item figure img {
  transition: transform 0.4s ease;
}

#galeri-prodjati .product-item:hover figure img {
  transform: scale(1.1);
}

#galeri-prodjati .product-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#galeri-prodjati .product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



/* Grid custom */
.equal-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Box style */
.feature-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover efek */
.feature-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 992px) {
  .equal-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .equal-boxes {
    grid-template-columns: 1fr;
  }
}

/* Jadual Products */
.products .product-item figure {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.products .product-item figure img {
  transition: transform 0.4s ease;
}

.products .product-item:hover figure img {
  transform: scale(1.1);
}

.products .product-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products .product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.products .product-item figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.products .product-item:hover figure figcaption {
  opacity: 1;
}

.products .product-item .button {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.products .product-item .button:hover {
  background: #1ebe5d;
  color: #fff;
  text-decoration: none;
}
/* Modal Image Centering */
#modal-image .modal-dialog {
  position: relative;
  width: auto;
  max-width: 90vw;   /* lebar fleksibel */
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

/* Body modal */
#modal-image .modal-body {
  padding: 20px;
  text-align: center;
  position: relative;
}


/* HALAMAN INDEX */
.equal-boxes .feature-box {
  background: #2c2c2c;   /* abu gelap */
  color: #fff;           /* default teks putih */
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  margin: 15px;
}

.equal-boxes .feature-box i {
  color: #dc3545;        /* ikon merah */
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.equal-boxes .feature-box h4 {
  color: #ffffff !important;  /* paksa putih */
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.equal-boxes .feature-box p {
  color: #f1f1f1;             /* abu terang */
  font-size: 1.1rem;
  line-height: 1.6;
}

.equal-boxes .feature-box i {
  color: #dc3545;
  font-size: 3.5rem;
  margin-bottom: 15px;
  display: inline-block;     /* penting supaya transform bekerja */
  transition: transform 0.6s ease-in-out;
}

.equal-boxes .feature-box:hover i {
  transform: rotate(360deg); /* putar penuh saat hover */
}



.sub-footer {
  font-size: 0.9rem;         /* seragam ukuran huruf */
  line-height: 1.6;
}

.sub-footer small {
  display: block;
  color: #ccc;               /* abu terang biar kontras */
}

.sub-footer a img:hover {
  transform: scale(1.1);
}

body {
  margin: 0; /* pastikan tidak ada margin bawah body */
}

.sub-footer {
  margin: 0 !important;
  padding: 15px 0; /* cukup atas-bawah */
}



/* ===== Pelatihan Section ===== */
#content .single-product-detail {
    font-size: 1.1rem;
    line-height: 1.6;
}

#content .shortcodes h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Kotak fitur */
.feature-box {
    background-color: #2c3e50; /* Warna gelap */
    color: #fff;               /* Font putih */
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.feature-box .feature i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-box .feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-box .feature p {
    font-size: 1rem;
}

/* Gambar produk */
.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Breadcrumb */
.subheader .breadcrumbs {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.subheader .breadcrumbs li {
    display: inline-block;
    margin-right: 0.3rem;
    color: #555;
}

.subheader .breadcrumbs b {
    margin: 0 0.3rem;
    color: #555;
}
/* Judul utama section detail */
.single-product-detail h2 {
    color: #ffffff; /* putih */
    font-size: 2rem; /* bisa diperbesar */
    margin-bottom: 2rem;
}

/* Jika ingin semua <h2> di halaman pelatihan putih */
#content h2 {
    color: #f1c40f; /* kuning cerah */
    font-weight: 700;
}

/* Judul utama di halaman pelatihan */
#content .single-product-detail h2 {
    color: #f1c40f; /* kuning cerah, bisa ganti #3498db untuk biru */
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Judul section Bidang Pelatihan */
#content .shortcodes h4,
#content .shortcodes h2 {
    color: #f1c40f;  /* seragam dengan judul utama */
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

/* Judul di dalam kotak feature */
.feature-box .feature h3 {
    color: #ffffff; /* tetap putih agar kontras dengan background */
}

body {
    font-size: 18px;  /* default browser biasanya 16px */
    line-height: 1.6;
}

/* Supaya heading ikut proporsional */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.25rem; }
p, li { font-size: 1.125rem; } /* sekitar 18px */


/*halaman jadual.php */

/* Banner gelap di jadual.php */
.dark-banner {
    background-color: #2c3e50; /* abu-abu gelap */
    color: #ffffff;           /* teks putih */
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.dark-banner h5 {
    color: #f1c40f; /* kuning cerah untuk highlight */
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.dark-banner h5 span {
    color: #e74c3c; /* merah untuk diskon */
    font-weight: 700;
}

.dark-banner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.dark-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ecf0f1;
}

.dark-banner .btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
    display: inline-block;
}

.dark-banner .btn-whatsapp:hover {
    background-color: #1da851;
    color: #fff;
}

/* Agar gambar tetap rapi */
.banner-feature-shop img {
    margin-top: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.promo-text {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem; /* kira-kira seukuran h5 */
  margin-bottom: 10px;
}
.promo-text span {
  color: #ffd700; /* opsional: kasih warna berbeda untuk angka diskon */
  font-weight: 700;
}

/* ===== Section About (Final) ===== */
#section-about .about-box {
  background-color: #222;       /* kotak gelap */
  color: #fff;                  /* teks default putih */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

#section-about .about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#section-about .about-box h5 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #f1c40f;               /* judul kuning cerah biar menonjol */
}

#section-about .about-box p,
#section-about .about-box li {
  font-size: 16px;
  line-height: 1.6;
  color: #f1f1f1;               /* abu terang, biar beda dengan h5 */
}

#section-about .about-box ul {
  padding-left: 20px;           /* rapikan bullet list */
  margin: 0;
}


/* ===== Sertifikasi Accordion Style ===== */
#section-sertifikasi .accordion-1 .acc_content {
  background-color: #575757;  /* abu gelap */
  color: #fff;                /* teks putih */
  padding: 20px;
  border-radius: 0 0 8px 8px; /* rounded bawah */
}

#section-sertifikasi .accordion-1 .acc_content ul li {
  color: #f1f1f1;             /* list abu terang */
  font-size: 15px;
  line-height: 1.6;
}

#section-sertifikasi .accordion-1 .acc_content ul li i {
  color: #f1c40f;             /* ikon kuning biar kontras */
  margin-right: 8px;
}

/* PERBAIKAN untuk h3 di feature boxes */
.feature-box .feature {
    text-align: left; /* Rata kiri semua konten dalam feature */
}

.feature-box .feature h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.3;
    /* text-align: left; tidak perlu lagi jika parent sudah di-set */
}

.feature-box .feature p {
    text-align: left; /* Paragraf juga rata kiri */
}
@media (max-width: 767px) {
    .feature-box .feature h3 {
        font-size: 1.125rem !important; /* 20.25px di mobile */
    }
}

/* #Clients Logo Carousel
================================================== */
.our-partner .item {
  text-align: center;
}

.partner-box img {
  max-height: 80px;
  object-fit: contain;
  margin: auto;
}

.partner-box {
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.owl-controls {
  margin-top: 20px;
}
.map-responsive iframe {
  width: 100%;
  height: 200px; /* jangan terlalu tinggi */
  border-radius: 8px;
}
.main-footer .compact-widget {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer-about p {
  font-size: 0.85rem; /* lebih kecil dari normal */
  line-height: 1.5;   /* biar tetap rapi terbaca */
  color: #ccc;        /* opsional, abu-abu agar lebih elegan */
}
.main-footer p {
  font-size: 0.85rem;  /* lebih kecil */
  line-height: 1.5;
}
