/* ===== CUSTOM COLOR SCHEME BUMI TIRTO (TOSKA) ===== */
:root {
  --bt-toska: #17C1C6;     /* Biru toska dari logo (dominasi) */
  --bt-biru-tua: #14506b;  /* Biru tua accent dari logo */
  --bt-putih: #fff;
  --bt-abu: #f5f7fb;
}

/* Header & Navbar */
.site-header, .navbar {
  background: var(--bt-biru-tua) !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  min-height: 54px;
}
.site-header p, .site-header a, .site-header .bi, .navbar .navbar-brand, .navbar .nav-link {
  color: var(--bt-putih) !important;
}
.navbar .nav-link.active, .navbar .nav-link:hover {
  color: var(--bt-toska) !important;
  font-weight: bold;
}
.navbar-toggler {
  border-color: var(--bt-toska);
}

/* LOGO - kotak, tidak bulat di header/footer */
.logo.img-fluid {
  border-radius: 50% !important;         /* <-- INI bikin bulat */
  background: none !important;
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;          /* Biar proporsional, tanpa sisa putih */
  padding: 0 !important;
  box-shadow: 0 0 0 3px var(--bt-putih); /* Optional: kasih border putih agar logo tampil jelas di biru */
  display: block;
}
.navbar-brand, .site-footer .logo {
  align-items: center;
  display: flex;
  gap: 12px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(120deg, var(--bt-toska) 60%, var(--bt-biru-tua) 100%);
  color: var(--bt-putih);
  min-height: 88vh !important;
  position: relative;
}
.hero-section .section-overlay {
  background: var(--bt-biru-tua) !important;
  opacity: 0.63 !important;
}
.hero-section h1, .hero-section h1 span, .hero-section h1 b {
  color: var(--bt-putih) !important;
}
.hero-section .custom-btn, .custom-btn {
  background: var(--bt-toska) !important;
  color: var(--bt-putih) !important;
  border-radius: 12px;
  border: none;
  font-weight: 500;
}
.hero-section .custom-btn:hover, .custom-btn:hover {
  background: var(--bt-putih) !important;
  color: var(--bt-toska) !important;
  border: 1.5px solid var(--bt-toska);
}

/* Section & Card */
.section-bg, .services-section, .testimonial-section, .partners-section {
  background: var(--bt-abu) !important;
}
.card {
  border-radius: 16px !important;
  border: 1px solid #c1ecec;
  box-shadow: 0 2px 10px #17c1c620;
}
.card-title {
  color: var(--bt-toska) !important;
}
.card-text {
  color: #222 !important;
}
.custom-block, .custom-block-wrap > img, .rounded-4 {
  border-radius: 16px !important;
}

/* Visi Misi */
.testimonial-section .section-overlay {
  background: var(--bt-toska) !important;
  opacity: 0.92 !important;
}
.testimonial-section h2, .testimonial-section h4 {
  color: var(--bt-biru-tua) !important;
}
.testimonial-section .p-4 {
  background: var(--bt-putih) !important;
}

/* Partners logo bg */
.partners-section-title {
  background: var(--bt-putih) !important;
  color: var(--bt-toska) !important;
  border-radius: 8px;
  padding: 6px 0;
}
.partners-image {
  filter: grayscale(0.3) contrast(1.2) brightness(1.09);
  transition: 0.3s;
}
.partners-image:hover {
  filter: none;
  transform: scale(1.06);
}

/* Footer */
.site-footer {
  background: var(--bt-biru-tua) !important;
  color: var(--bt-putih) !important;
  padding-top: 44px;
  padding-bottom: 0px;
}
.site-footer .site-footer-title, .site-footer a, .footer-menu-link, .site-footer-link {
  color: var(--bt-putih) !important;
}
.site-footer .footer-menu-link:hover {
  color: var(--bt-toska) !important;
}
.site-footer-bottom {
  background: #123E4F;
  color: var(--bt-putih);
  padding: 10px 0;
  font-size: 14px;
}

/* ===== RESPONSIVE MOBILE FIX ===== */
@media (max-width: 991px) {
  .navbar .navbar-collapse {
    background: var(--bt-biru-tua);
    padding: 12px 0;
    border-radius: 0 0 14px 14px;
    margin-top: 7px;
  }
  .hero-section {
    padding: 45px 0 40px 0;
    min-height: 70vh !important;
  }
  .navbar .navbar-nav .nav-link {
    padding: 10px 14px !important;
    font-size: 17px;
  }
  .partners-section-title {
    font-size: 1.1rem;
    padding: 5px 0;
  }
  .footer-menu {
    margin-left: 0 !important;
  }
  .logo.img-fluid {
    width: 54px !important;
    height: 54px !important;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 36px 0 36px 0 !important;
  }
  .hero-section h1 {
    font-size: 1.4rem !important;
  }
  .card {
    margin-bottom: 18px;
  }
  .site-header, .navbar {
    font-size: 15px !important;
  }
  .custom-block-wrap > img {
    margin-bottom: 18px;
  }
  .logo.img-fluid {
    width: 40px !important;
    height: 40px !important;
  }
}

/* --- MAPS RESPONSIVE FIX --- */
.site-footer #kontak-section .container .row .col-lg-6.col-12,
.site-footer .col-lg-6.col-12 {
  max-width: 350px !important;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}
.site-footer #kontak-section .container .row .col-lg-6.col-12 iframe,
.site-footer .col-lg-6.col-12 iframe {
  width: 100% !important;
  min-width: 0 !important;
  height: 185px !important;
  border-radius: 9px;
  margin-bottom: 8px;
  margin-top: 5px;
}

/* --- Mobile fix for maps --- */
@media (max-width: 575px) {
  .site-header, .navbar, .footer-menu {
    font-size: 14px !important;
  }
  .hero-section .custom-btn, .custom-btn {
    font-size: 14px !important;
    padding: 7px 15px !important;
  }
  .site-footer {
    padding: 22px 0 0 0;
  }
  .footer-menu {
    flex-direction: column !important;
    gap: 4px !important;
  }
  .site-footer .col-lg-6.col-12 {
    max-width: 98vw !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .site-footer .col-lg-6.col-12 iframe {
    width: 99vw !important;
    height: 145px !important;
  }
}

/* Misc Fix */
.custom-block, .custom-block-wrap > img {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.site-header .bi-whatsapp, .custom-block .bi-whatsapp {
  color: #25D366 !important;
}

::-webkit-scrollbar-thumb {
  background: var(--bt-toska);
  border-radius: 10px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #e6f1fb;
}
/* ===== PARTNERS MARQUEE / SLIDER DINAMIS ===== */
.partner-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--bt-putih);
  border-radius: 18px;
  box-shadow: 0 3px 12px #0001;
  position: relative;
  margin-top: 12px;
  margin-bottom: 18px;
  min-height: 90px;
}
.partner-marquee {
  display: flex;
  align-items: center;
  gap: 16px;
  will-change: transform;
  animation: marqueeLeft 28s linear infinite;
}
@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-marquee .mitra-item {
  min-width: 120px;
  margin: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partner-marquee .partners-image {
  max-height: 64px;
  max-width: 120px;
  width: auto;
  transition: 0.3s;
  filter: grayscale(0.3) contrast(1.2) brightness(1.09);
  border-radius: 10px;
  background: #fff;
  padding: 7px;
  object-fit: contain;
}
.partner-marquee .partners-image:hover {
  filter: none;
  transform: scale(1.08);
  box-shadow: 0 4px 16px #17c1c64a;
}
.partner-marquee .mitra-nama {
  margin-top: 5px;
  font-size: 13px;
  color: #6b7685;
  font-weight: 500;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .partner-marquee .mitra-item {
    min-width: 82px;
    margin: 0 8px;
  }
  .partner-marquee .partners-image {
    max-height: 36px;
    max-width: 82px;
    padding: 3px;
  }
  .partner-marquee-wrapper {
    min-height: 48px;
  }
}
.gallery-section .card:hover {
  box-shadow: 0 4px 20px #1345a122;
  transform: translateY(-2px) scale(1.03);
  transition: all .22s cubic-bezier(.25,.46,.45,.94);
}

/* hint blink */
  .g-hint{
    font-size:.85rem; margin-top:.5rem;
    color:#0ea5e9; font-weight:600;
  }
  .g-hint.blink {
    animation: hintBlink 1.6s ease-in-out infinite;
    text-align:left;
  }
  @keyframes hintBlink {
    0%,100% { opacity: .45; }
    50%     { opacity: 1;   }
  }

  /* modal layout */
  #popupGallery{display:none;position:fixed;z-index:1050;inset:0;background:#0b122033;backdrop-filter:blur(2px);align-items:center;justify-content:center}
  #popupContent{background:#fff;max-width:min(1000px,95vw);max-height:88vh;border-radius:18px;box-shadow:0 12px 40px #0003;display:flex;flex-direction:column;overflow:hidden}
  #popupClose{position:absolute;right:14px;top:8px;font-size:2rem;border:none;background:none;color:#475569;cursor:pointer;line-height:1}
  #popupHeader{padding:16px 56px 10px 20px;border-bottom:1px solid #e5e7eb;position:sticky;top:0;background:#fff;z-index:1}
  #popupTitle{font-weight:800;font-size:1.15rem}
  #popupBody{padding:18px;overflow:auto}
  /* deskripsi terformat */
  .desc-wrap h4{font-size:1rem;margin:0 0 .5rem;font-weight:800}
  .desc-wrap p{margin:.25rem 0 .75rem;color:#475569}
  .desc-wrap ul{padding-left:1.25rem;margin:.25rem 0 .75rem}
  .desc-wrap li{margin:.25rem 0;color:#334155}
  /* foto grid */
  .photo-grid{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
  .photo-grid img{max-width:100%;height:auto;border-radius:14px;box-shadow:0 4px 16px #00000014}
  @media (min-width:992px){ .photo-grid img{max-width:45%} }
  
 /* Pastikan angka terlihat dan tidak ketimpa style lain */
#stat-today, #stat-month, #stat-total {
  color: #111 !important;
  font-weight: 700;
  display: inline-block;
  line-height: 1.2;
  min-width: 1ch; /* angka sempit tetap terlihat */
}
.small-counters .card { padding: .5rem !important; border-radius: 12px !important; }
.small-counters .small { font-size: .8rem; }
.small-counters .h5   { font-size: 1rem !important; }



