/* ==========================================================
   IDVTC add-ons (new file – existing styles untouched)
   1. Home slider prev / next arrows
   2. Sticky WhatsApp + Call buttons
   ========================================================== */

/* ---------- 1. Home slider arrows ---------- */
.idvtc-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #0b2c3d;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.idvtc-slider-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}
.idvtc-slider-arrow:hover,
.idvtc-slider-arrow:focus-visible {
  background: #FF5A3C;
  color: #ffffff;
  outline: none;
}
.idvtc-slider-arrow:active {
  transform: scale(0.94);
}
.idvtc-slider-prev { left: 25px; }
.idvtc-slider-next { right: 25px; }

@media (max-width: 991px) {
  .idvtc-slider-arrow {
    width: 44px;
    height: 44px;
    margin-top: -22px;
  }
  .idvtc-slider-arrow svg { width: 18px; height: 18px; }
  .idvtc-slider-prev { left: 10px; }
  .idvtc-slider-next { right: 10px; }
}
@media (max-width: 575px) {
  .idvtc-slider-arrow {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    background: rgba(255, 255, 255, 0.92);
  }
  .idvtc-slider-arrow svg { width: 16px; height: 16px; }
  .idvtc-slider-prev { left: 6px; }
  .idvtc-slider-next { right: 6px; }
}

/* ---------- 2. Sticky WhatsApp + Call ---------- */
.idvtc-float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.idvtc-float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.idvtc-float-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  display: block;
}
.idvtc-float-btn:hover,
.idvtc-float-btn:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  outline: none;
}
.idvtc-float-whatsapp { background: #25D366; }
.idvtc-float-call { background: #1EA952; }
.idvtc-float-call svg { width: 26px; height: 26px; }

/* soft pulse ring on WhatsApp */
.idvtc-float-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: idvtcPulse 2s ease-out infinite;
}
@keyframes idvtcPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .idvtc-float-whatsapp::before { animation: none; }
}

/* hover label (desktop only) */
.idvtc-float-btn .idvtc-float-label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: #0b2c3d;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .idvtc-float-btn:hover .idvtc-float-label { opacity: 1; visibility: visible; }
}

/* keep the theme's scroll-to-top button clear of the stack (right side) */
#scrollUp { bottom: 168px !important; right: 29px !important; }

@media (max-width: 575px) {
  .idvtc-float-contact { right: 14px; bottom: 14px; gap: 12px; }
  .idvtc-float-btn { width: 50px; height: 50px; }
  .idvtc-float-btn svg { width: 26px; height: 26px; }
  .idvtc-float-call svg { width: 22px; height: 22px; }
  #scrollUp { bottom: 144px !important; right: 19px !important; }
}
