/* =========================================================
   FULL WIDTH BANNER + MAP
   ========================================================= */
.com-banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 40%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =========================================================
   CAROUSEL / BANNER RESPONSIVE
   ========================================================= */
#myCarousel {
  width: 90%;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  height: auto;
  max-height: 75vh;
}
#myCarousel .carousel-inner,
#myCarousel .item {
  width: 100%;
  height: 100%;
}
#myCarousel .item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
#myCarousel .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

/* Desktop Wider */
@media (min-width: 992px) {
  #myCarousel {
    width: 80%;
    max-height: 65vh;
  }
}

/* Tablet */
/* TABLET FIX — gambar tidak terpotong */
@media (max-width: 991px) {
  #myCarousel {
    width: 100%;
    height: auto !important;
    max-height: none !important;
  }

  #myCarousel .item img {
    height: auto !important;
    width: 100%;
    object-fit: contain !important; /* gambar utuh */
  }

  #myCarousel .item {
    height: auto !important;
  }

  #myCarousel .carousel-inner {
    height: auto !important;
  }
}
/* Small Mobile */
@media (max-width: 576px) {
  #myCarousel {
    height: 32vh !important;
  }
  #myCarousel .item img {
    height: 100%;
    object-fit: cover;
  }
}
/* Small Mobile */
@media (max-width: 420px) {
  #myCarousel {
    height: 18vh !important;
  }
  #myCarousel .item img {
    height: 100%;
    object-fit: cover;
  }
}
/* =========================================================
   CAPTION BANNER
   ========================================================= */
.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 80%;
  z-index: 2;
}
.carousel-caption-custom h2 {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff !important;
}
.carousel-caption-custom p {
  font-size: 3rem;
}

/* Responsive Caption */
@media (max-width: 768px) {
  .carousel-caption-custom {
    width: 90%;
  }
  .carousel-caption-custom h2 {
    font-size: 2rem;
  }
  .carousel-caption-custom p {
    font-size: 1.1rem;
  }
}
@media (max-width: 576px) {
  .carousel-caption-custom h2 {
    font-size: 1.4rem !important;
  }
  .carousel-caption-custom p {
    font-size: 0.85rem !important;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-readmore,
.btn-readmore-cert,
.btn-legalitas {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
}

/* Readmore default */
.btn-readmore {
  background: #19694e;
  color: #fff;
  opacity: 0;
  animation: fadeInBtn 1s ease forwards 0.5s;
}
.btn-readmore:hover {
  background: #fff;
  color: #19694e;
  transform: translateY(-2px);
}

/* Cert */
.btn-readmore-cert {
  background: #080808;
  color: #fbfbfb;
  font-size: 10px;
}
.btn-readmore-cert:hover {
  background: #19694e;
  color: #fff;
}

/* Legalitas */
.btn-legalitas {
  background: #19694e;
  color: #fbfbfb;
  margin-bottom: 10px;
  font-size: 15px;
}
.btn-legalitas:hover {
  background: #000;
  color: #fff;
}

@keyframes fadeInBtn {
  to {
    opacity: 1;
  }
}

/* Cert Tablet */
@media (max-width: 768px) {
  .btn-readmore-cert {
    font-size: 11px;
    padding: 9px 22px;
    display: block;
    margin: 50px auto;
    width: fit-content;
  }
}
/* Cert Mobile */
@media (max-width: 480px) {
  .btn-readmore-cert {
    width: 100%;
    max-width: 260px;
    padding: 8px 18px;
    margin: 65px auto;
  }
}

/* =========================================================
   PARTNER STRIP
   ========================================================= */
.partner-strip {
  width: 100%;
  position: relative;
  margin: 5px 0;
  z-index: 100;
}
.partner-inner {
  background: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}
#ours-certificate .item img {
  max-height: 70px;
  width: auto;
  display: block;
  margin: auto;
}
@media (max-width: 600px) {
  .partner-inner {
    width: 85%;
  }
  #ours-certificate .item img {
    max-height: 28px;
  }
}

/* =========================================================
   VIDEO WRAPPER
   ========================================================= */
.videowrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.videowrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transition: transform 0.4s ease;
}
.videowrapper:hover iframe {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .videowrapper {
    margin-bottom: 20px;
  }
}

/* =========================================================
   CARD BLOG
   ========================================================= */
.blog-grid-img {
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.blog-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-grid {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-grid-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-grid-content p {
  max-height: 70px;
  overflow: hidden;
}
.blog-grid-button {
  margin-top: auto;
}

/* =========================================================
   PAGER
   ========================================================= */
.pager {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.pager li {
  display: inline-block;
  margin: 0 3px;
}
.pager li a,
.pager li span {
  display: block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}
.pager li a:hover {
  background: #f1f1f1;
}
.pager li.active a,
.pager li.active span {
  background: #007bff;
  color: #fff !important;
  border-color: #007bff;
  font-weight: bold;
}

/* =========================================================
   WHY BOX + COUNTER
   ========================================================= */
.why-box2 {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 0;
  position: relative;
  min-height: 350px;
  color: #fff;
}
.why-box2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}
.why-box2 * {
  position: relative;
}

.why-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 20px;
  border-radius: 10px;
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
}
/* P di dalam WHY BOX hanya di sebelah kiri */
.why-box2 p {
  max-width: 50%; /* batasi hanya setengah kiri */
  text-align: left; /* align kiri */
}
@media (max-width: 768px) {
  .why-box2 p {
    max-width: 100%; /* mobile tetap full */
  }
}
/* =========================================================
   WHY BOX + COUNTER (FULL REWRITE)
   ========================================================= */

.countup-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap; /* Desktop selalu 1 baris */
  gap: 35px; /* jarak antar counter */
  width: 100%;
  margin-top: 25px;
}

.countup-box {
  text-align: center;
  min-width: 130px; /* biar tidak mengecil */
}

.countup-box h4 {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: #fff;
}

.countup-box .countup {
  display: inline-block;
}

.countup-box .plus {
  font-size: 28px;
  margin-left: 4px;
}

.countup-box h5 {
  font-size: 15px;
  margin-top: 6px;
  font-weight: 500;
  color: #fff;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 992px) {
  .countup-wrapper {
    flex-wrap: wrap; /* tablet boleh turun */
    justify-content: center;
    gap: 28px;
  }

  .countup-box {
    min-width: 40%;
  }

  .countup-box h4 {
    font-size: 30px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 576px) {
  .countup-wrapper {
    gap: 20px;
  }

  .countup-box {
    min-width: 48%; /* 2 kolom */
  }

  .countup-box h4 {
    font-size: 24px;
  }

  .countup-box .plus {
    font-size: 22px;
  }
}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */
@media (max-width: 380px) {
  .countup-box {
    min-width: 100%; /* 1 kolom */
  }
}
.legal-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #2b7a78;
  transition: 0.2s ease;
}

.legal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.legal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 18px;
  color: #1e3d3b;
}

/* Ikon modern */
.icon-png {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

/* TABLE LEBIH RAPI */
.legal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px; /* jarak antar baris */
}

.legal-table td {
  padding: 8px 0; /* jarak kiri-kanan seragam */
  vertical-align: top;
  font-size: 16px;
  line-height: 1.5;
}

/* Kolom kiri */
.legal-table td:first-child {
  width: 32%;
  font-weight: 600;
  color: #2b7a78;
}

/* Kolom kanan */
.legal-table td:last-child {
  color: #333;
}

/* Mobile */
@media (max-width: 576px) {
  .legal-title {
    font-size: 17px;
  }
  .icon-png {
    width: 26px;
    height: 26px;
  }

  .legal-table td {
    font-size: 15px;
    padding: 6px 0;
  }
}
/* Container item */
#our-partners .item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px; /* tinggi seragam */
  padding: 10px;
}

/* Gambar partner */
#our-partners .item img {
  max-height: 100%;
  width: auto;
  object-fit: contain; /* jaga proporsi */
  filter: grayscale(0); /* opsional: buat hitam-putih  → ubah jadi 1 jika mau */
  transition: 0.3s ease;
}

/* Hover efek biar modern */
#our-partners .item img:hover {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* RESPONSIVE */
@media (max-width: 576px) {
  #our-partners .item {
    height: 90px; /* tinggi lebih kecil */
  }
}
/* Parent row jadi flex agar kolom bisa sama tinggi */
.equal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* ini kuncinya */
}

/* Pastikan kolom ikut tinggi penuh */
.equal-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Box kiri */
.info-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  height: 100%; /* wajib */
  display: flex;
  flex-direction: column;
  /* justify-content: center; */

  text-align: justify;
  text-justify: inter-word;
} /* Tombol hanya selebar teks */
.info-box .btn-legalitas {
  display: inline-block; /* jangan full */
  width: auto; /* otomatis sesuai panjang teks */
  padding: 10px 22px; /* biar rapi */
  border-radius: 30px;
}
.info-box .btn-legalitas {
  max-width: fit-content !important;
}
/* Box kanan (video) */
.videowrapper {
  position: relative;
  padding-bottom: 56.5%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.videowrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

/* Mobile: jangan pakai flex */
@media (max-width: 768px) {
  .equal-row {
    display: block;
  }

  .info-box,
  .videowrapper {
    height: auto !important;
    margin-bottom: 15px;
  }
}

/* DESKTOP */
.sebaran-row {
  display: flex;
  align-items: center;
}
.sebaran-img img {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
.sebaran-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
} /* MOBILE (HP) */
@media (max-width: 767px) {
  .sebaran-row {
    flex-direction: column;
    text-align: center;
  }
  .sebaran-img img {
    max-width: 90%;
    margin: 0 auto 20px auto;
  }
  .sebaran-text {
    padding: 0 15px;
  }
  .sebaran-text h4 {
    font-size: 16px;
    line-height: 1.6;
  }
}
/* HEADER */
.google-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 14px;
  margin-bottom: 25px;
}

.title-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-logo {
  width: 40px;
}

.g-title {
  font-size: 28px;
  font-weight: 700;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-value {
  font-size: 32px;
  font-weight: 900;
}

.count {
  font-size: 16px;
  color: #777;
}

.google-btn {
  background: #0f8b4c;
  color: white;
  padding: 12px 26px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
}

/* REVIEW CARD */
.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
  position: relative;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

.name-box {
  flex-grow: 1;
}

.check-icon {
  width: 18px;
  margin-left: 4px;
}

.time {
  color: gray;
  font-size: 14px;
  margin-top: 3px;
}

.g-small-logo {
  width: 20px;
}

.rating-stars {
  margin: 12px 0;
  font-size: 18px;
}

.review-text {
  font-size: 15px;
  color: #444;
  line-height: 1.45;
  max-height: 55px;
  overflow: hidden;
}

.read-more {
  color: #0f8b4c;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;
  margin-top: 5px;
}

/* Buttons */
.custom-next,
.custom-prev {
  color: #444;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
}

.custom-next:after,
.custom-prev:after {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .google-review-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
/* =========================================================
   BANNER YOUTUBE WIDTH 80% (FULL, NO CROPPING)
   ========================================================= */
.banner-video-wrapper {
  width: 80%;
  margin: 0 auto;
  position: relative;
}

.banner-video-container {
  position: relative;
  width: 100%;

  /* menjaga video tetap 16:9 tanpa terpotong */
  aspect-ratio: 16 / 9;

  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.banner-video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* CAPTION */
.banner-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  width: 80%;
}

.banner-caption h2 {
  font-size: 50px;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.banner-caption p {
  font-size: 22px;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .banner-caption h2 {
    font-size: 28px;
  }
  .banner-caption p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .banner-caption h2 {
    font-size: 20px;
  }
  .banner-caption p {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  /* Bungkus utama partner strip */
  .partner-strip {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 10px 0;
  }

  /* Elemen di dalamnya */
  .partner-strip .partner-item,
  .partner-strip img {
    display: inline-block !important;
    margin: 6px auto !important;
    text-align: center !important;
  }

  /* Jika partner strip punya container kotak */
  .partner-box,
  .partner-container,
  .partner-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 576px) {
  .modal-dialog {
    margin: 0 !important;
    max-width: 100% !important; /* height: 100% !important; */
  }
  .modal-content {
    /* height: 100% !important; */
    border-radius: 0 !important; /* overflow-y: auto !important; Inilah yang membuat modal bisa scroll */
  }
}
.bottom-icons a {
  display: inline-block;
  margin: 0 5px;
}

.icon-tiktok {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* biar putih */
}
.tiktok-icon svg {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}
