/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 1px;
  height: 2px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #010136;
}
::-webkit-scrollbar-thumb:hover {
  background: #010136;
}

/* ── Misc ──────────────────────────────────────────────────────── */
.dg-hero-round-shap { padding: 20px; }

.dg-h2 {
  font-size: 45px;
  text-align: left;
}

.dg-home-services-title-box {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  max-height: 492px;
}

.drop-down-menu-main { overflow-y: auto; }

.dg-full-container {
  width: 100% !important;
  padding: 0;
}

/* ════════════════════════════════════════════════════════════════
   HOG VIDEO WRAPPER
   ════════════════════════════════════════════════════════════════ */

.hog-video-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* Ensure it always has dimensions even when .about-counter-image
     collapses on mobile */
  min-height: 300px;
  height: 500px;
}

/* ── Thumbnail ─────────────────────────────────────────────────── */
.hog-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.6s ease;
  /* MOBILE FIX: ensure it's always visible until video loads */
  opacity: 1 !important;
  display: block !important;
}

.hog-video-wrapper.video-loaded .hog-thumbnail {
  opacity: 0 !important;
  pointer-events: none;
}

/* ── Video ──────────────────────────────────────────────────────── */
.hog-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
  /* MOBILE FIX: never let webkit hide the video element */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hog-video-wrapper.video-loaded .hog-video {
  opacity: 1;
}

/* ── Play / Pause button ────────────────────────────────────────── */
.hog-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hog-video-wrapper.video-loaded .hog-play-btn {
  pointer-events: auto;
}

/* Desktop: show on hover only */
@media (hover: hover) {
  .hog-video-wrapper.video-loaded:hover .hog-play-btn {
    opacity: 1;
  }
}

/* Mobile (touch): always hidden — we use tap-to-pause on wrapper instead */
@media (hover: none) {
  .hog-play-btn {
    display: none;
  }
}

/* ── Mute / Unmute button ───────────────────────────────────────── */
.hog-mute-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: none;                 /* hidden until video loads */
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hog-video-wrapper.video-loaded .hog-mute-btn {
  display: flex;
}

.hog-mute-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.08);
}

.hog-mute-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* show/hide the correct icon */
.hog-icon-sound-on  { display: block; }
.hog-icon-sound-off { display: none;  }

.hog-video-wrapper.is-muted .hog-icon-sound-on  { display: none;  }
.hog-video-wrapper.is-muted .hog-icon-sound-off { display: block; }

/* ── Inner icon circle ──────────────────────────────────────────── */
.hog-btn-icon {
  position: relative;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hog-play-btn:hover .hog-btn-icon {
  background: rgba(255,255,255,0.28);
  transform: scale(1.08);
}

/* ── SVG icons ──────────────────────────────────────────────────── */
.hog-btn-icon svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.hog-icon-pause { display: block; }
.hog-icon-play  { display: none;  }

.hog-video-wrapper.is-paused .hog-icon-pause { display: none;  }
.hog-video-wrapper.is-paused .hog-icon-play  { display: block; }

/* ── Pulse rings ────────────────────────────────────────────────── */
.hog-pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  animation: hog-pulse 2s ease-out infinite;
  pointer-events: none;
}

.hog-pulse-ring-1 { width: 72px; height: 72px; animation-delay: 0s;    }
.hog-pulse-ring-2 { width: 72px; height: 72px; animation-delay: 0.75s; }

@keyframes hog-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0;   }
}

.hog-video-wrapper.is-paused .hog-pulse-ring {
  animation-play-state: paused;
  opacity: 0;
}

.location-banner-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.map-wrapper {
  position: absolute;
  top: 78.125px; /* height of header */
  height: 400px;
}

.dg-max-bottom{
  margin-bottom: 100px !important;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 991px) {
  .dg-h2 { font-size: 42px; }
}

@media screen and (max-width: 767px) {
  .dg-h2 { font-size: 36px; }

  /* Video: taller on phone so it doesn't shrink to nothing */
  .hog-video-wrapper {
    min-height: 260px;
  }

  .dg-max-top{
  padding-top: 0px;
}

.dg-disappear-on-mobile{
  display: none !important;
}
}

@media screen and (max-width: 479px) {

  .dg-jump-mouse {
    display: none;
  }

  .dg-h2 { font-size: 32px; }

  .counter-number {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .hog-video-wrapper {
    min-height: 220px;
  }

  
.dg-disappear-on-mobile{
  display: none !important;
}

  .dg-map-banner{
    height: 500px;
    padding: 0;
  }

  .contact-form-section {
  margin-bottom: 0px;
}
}