/* ==========================================================================
   SOLUSI PUBLIKASI — PERFECT COPY OVERRIDES & COMPATIBILITY STYLES
   ========================================================================== */

/* 1. Global Visibility Guarantees */
.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
}

/* 2. Call For Paper Swiper Carousel (All 6 Posters Autoplay Loop - 4 Visible) */
.elementor-element-c7dfd5e {
  width: 100% !important;
  display: block !important;
  padding: 10px 0 30px 0 !important;
}

.elementor-element-8eb5661 {
  width: 100% !important;
  display: block !important;
  --e-image-carousel-slides-to-show: 4 !important;
}

.elementor-element-8eb5661 .elementor-image-carousel-wrapper.swiper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 10px 0 25px 0 !important;
}

.elementor-element-8eb5661 .elementor-image-carousel.swiper-wrapper {
  display: flex !important;
  box-sizing: content-box !important;
  height: auto !important;
  transition-property: transform !important;
}

.elementor-element-8eb5661 .swiper-slide {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 285px !important;
  margin-right: 20px !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.elementor-element-8eb5661 .swiper-slide > a,
.elementor-element-8eb5661 .swiper-slide-inner,
.elementor-element-8eb5661 figure {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.elementor-element-8eb5661 .swiper-slide-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(14, 74, 123, 0.12) !important;
  border: 1px solid rgba(14, 74, 123, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.elementor-element-8eb5661 .swiper-slide-image:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(14, 74, 123, 0.22) !important;
}

@media (max-width: 1024px) {
  .elementor-element-8eb5661 .swiper-slide {
    width: 280px !important;
    margin-right: 15px !important;
  }
}

@media (max-width: 640px) {
  .elementor-element-8eb5661 .swiper-slide {
    width: 240px !important;
    margin-right: 15px !important;
  }
}

/* 3. Peta Persebaran Klien Map Image */
.elementor-element-fb6e23e {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 30px auto !important;
}

.elementor-element-fb6e23e img {
  width: 100% !important;
  max-width: 1200px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* 4. Konsultasi Sekarang Button in Hero */
.elementor-element-5ac99fdc {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  margin-top: 15px !important;
}

.elementor-element-5ac99fdc .elementor-button {
  background-color: #e6007e !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.35) !important;
  transition: all 0.25s ease !important;
}

.elementor-element-5ac99fdc .elementor-button:hover {
  background-color: #c7006d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(230, 0, 126, 0.45) !important;
}

/* 5. Floating WhatsApp Button */
.floating-wa-btn,
.wa-float {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 99999 !important;
}

.wa-button,
.floating-wa-btn {
  background-color: #25d366 !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 12px 22px 12px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.wa-button:hover,
.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5) !important;
  color: #fff !important;
}

.wa-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-block !important;
}

/* 6. Scroll To Top Button */
#ast-scroll-top {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #0e4a7b;
  color: #ffffff;
  z-index: 99999;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

#ast-scroll-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* 7. Ensure smooth font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   8. Multi-Language Switcher (ID | EN)
   ========================================================================== */
.lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 100;
  margin-right: 14px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 3px;
  gap: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switcher:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #475569;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  line-height: 1;
  user-select: none;
}

.lang-btn .flag-icon {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.lang-btn .lang-label {
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.lang-btn.active {
  background: #023E8A;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 62, 138, 0.28);
}

.lang-btn:not(.active):hover {
  background: rgba(2, 62, 138, 0.08);
  color: #023E8A;
}

/* Mobile Header Language Switcher */
.lang-switcher-mobile {
  display: none;
  margin: 0 10px 0 auto;
}

@media (max-width: 921px) {
  .lang-switcher-wrap.desktop-only {
    display: none !important;
  }
  .lang-switcher-mobile {
    display: inline-flex !important;
  }
  .lang-switcher {
    padding: 2px;
    gap: 2px;
  }
  .lang-btn {
    padding: 5px 9px;
    font-size: 12px;
  }
  .lang-btn .flag-icon {
    font-size: 12px;
  }
  .lang-switcher-menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
  }
}

/* Transition effect during language change */
body.i18n-switching {
  opacity: 0.88;
  transition: opacity 0.15s ease-in-out;
}

/* Header flex alignment for desktop CTA + Lang Switcher */
.elementor-element-a4b44f6 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

@media (max-width: 921px) {
  .elementor-element-ab8e819 .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
  }
}


