:root {
  --dgx-bg: #040711;
  --dgx-surface: rgba(255, 255, 255, 0.03);
  --dgx-surface-hover: rgba(255, 255, 255, 0.06);
  --dgx-border: rgba(255, 255, 255, 0.08);
  --dgx-border-hover: rgba(56, 189, 248, 0.4);
  
  --dgx-cyan: #38bdf8;
  --dgx-indigo: #6366f1;
  --dgx-text-head: #ffffff;
  --dgx-text-body: #94a3b8;
  --dgx-text-dim: #64748b;
}

.dgx-footer {
  background-color: var(--dgx-bg);
  color: var(--dgx-text-body);
  padding: 48px 24px 28px;
  position: relative;
  box-sizing: border-box;
}

.dgx-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Glowing Top Divider */
.dgx-top-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.4), transparent);
  margin-bottom: 40px;
}

/* 4-Column Balanced Grid */
.dgx-footer .row1 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.35fr;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 36px;
}

/* Column Header Alignment */
.col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  height: 24px;
}

.head-bullet {
  width: 5px;
  height: 5px;
  background-color: var(--dgx-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--dgx-cyan);
}

.footer-column-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dgx-text-head);
  margin: 0;
}

/* --- Brand Column & Company Logo Image --- */
.dgx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dgx-logo-img-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dgx-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.dgx-brand:hover .dgx-logo-img {
  transform: scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.dgx-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dgx-text-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dgx-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dgx-cyan);
  margin-top: 3px;
}

.dgx-description {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--dgx-text-body);
  margin: 0 0 16px;
  max-width: 320px;
}

/* Social Media Icons */
.footer-social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--dgx-surface);
  border: 1px solid var(--dgx-border);
  display: grid;
  place-items: center;
  color: var(--dgx-text-body);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-social-link.facebook:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }
.footer-social-link.instagram:hover { background: #e1306c; border-color: #e1306c; box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4); }
.footer-social-link.linkedin:hover { background: #0a66c2; border-color: #0a66c2; box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4); }
.footer-social-link.whatsapp:hover { background: #25d366; border-color: #25d366; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }

/* Operational Status Pill */
.dgx-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* ========================================================
   LEFT-TO-RIGHT ARROW SHIFT + UNDERLINE ANIMATION
   ======================================================== */
.quick-links-list,
.services-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-link,
.service-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--dgx-text-body);
  font-size: 0.85rem;
  font-weight: 500;
  width: fit-content;
  position: relative;
  transition: color 0.25s ease;
}

/* Left Arrow (Visible initially) */
.left-arrow {
  font-size: 0.85rem;
  color: var(--dgx-text-dim);
  margin-right: 8px;
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

/* Right Arrow (Hidden initially) */
.right-arrow {
  font-size: 0.85rem;
  color: var(--dgx-cyan);
  margin-left: 0;
  width: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, width 0.25s ease, margin 0.25s ease;
}

/* Link Text with Gradient Underline */
.link-text {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.link-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--dgx-cyan), var(--dgx-indigo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

/* Hover States: Left arrow tucks away, Right arrow slides into view */
.quick-link:hover,
.service-link:hover {
  color: #ffffff;
}

.quick-link:hover .left-arrow,
.service-link:hover .left-arrow {
  opacity: 0;
  transform: translateX(-8px);
  margin-right: 0;
  width: 0;
}

.quick-link:hover .right-arrow,
.service-link:hover .right-arrow {
  opacity: 1;
  width: auto;
  margin-left: 8px;
  transform: translateX(0);
}

.quick-link:hover .link-text::after,
.service-link:hover .link-text::after {
  transform: scaleX(1);
}

/* --- Column 4: Direct Connect Glass Cards --- */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--dgx-surface);
  border: 1px solid var(--dgx-border);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--dgx-border);
  display: grid;
  place-items: center;
  color: var(--dgx-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.footer-contact-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.footer-contact-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dgx-text-dim);
}

.footer-contact-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dgx-text-head);
}

.footer-contact-arrow {
  font-size: 0.8rem;
  color: var(--dgx-text-dim);
  opacity: 0;
  transition: all 0.2s ease;
}

a.footer-contact-item:hover {
  background: var(--dgx-surface-hover);
  border-color: var(--dgx-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

a.footer-contact-item:hover .footer-contact-icon {
  background: var(--dgx-cyan);
  border-color: var(--dgx-cyan);
  color: #040711;
}

a.footer-contact-item:hover .footer-contact-arrow {
  opacity: 1;
  color: var(--dgx-cyan);
  transform: translate(2px, -2px);
}

/* --- Row 2: Bottom Clean Bar --- */
/* --- Centered Zoho-Style Copyright Deck --- */
.dgx-footer .row2 {
  margin-top: 40px;
  padding-top: 36px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

/* Brand Logo Stack */
.footer-bottom-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-bottom-brand:hover {
  transform: scale(1.05);
}

.bottom-logo-img {
  height: 60px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.bottom-logo-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e2e8f0;
}

/* Copyright Text */
.footer-copyright {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .dgx-footer .row2 {
    margin-top: 28px;
    padding-top: 24px;
    gap: 12px;
  }

  .bottom-logo-img {
    height: 32px;
  }

  .footer-copyright {
    font-size: 0.82rem;
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1080px) {
  .dgx-footer .row1 {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .dgx-footer {
    padding: 36px 16px 20px;
  }

  .dgx-footer .row1 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dgx-footer .row2 {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}


/* =========================================
   GLOBAL FLOATING CONTACT BUTTONS
   ========================================= */

.dgx-floating-contact {
  position: fixed;

  right: 24px;
  bottom: 25px;

  display: flex;
  flex-direction: column;

  gap: 12px;

  z-index: 99999;

  pointer-events: none;
}


/* =========================================
   BUTTON
   ========================================= */

.dgx-float-btn {
  position: relative;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  text-decoration: none;

  color: #ffffff;

  pointer-events: auto;

  font-size: 20px;

  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.35);

  transition:
    transform 0.35s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.35s ease;
}


/* =========================================
   WHATSAPP
   ========================================= */

.dgx-whatsapp {
  background: linear-gradient(
    135deg,
    #25d366,
    #128c7e
  );

  box-shadow:
    0 8px 25px rgba(37, 211, 102, 0.28);
}

.dgx-whatsapp:hover {
  transform: translateY(-5px) scale(1.08);

  box-shadow:
    0 12px 35px rgba(37, 211, 102, 0.45);
}


/* =========================================
   CALL
   ========================================= */

.dgx-call {
  background: linear-gradient(
    135deg,
    #08bfff,
    #2563eb
  );

  box-shadow:
    0 8px 25px rgba(37, 99, 235, 0.3);
}

.dgx-call:hover {
  transform: translateY(-5px) scale(1.08);

  box-shadow:
    0 12px 35px rgba(37, 191, 255, 0.45);
}


/* =========================================
   ICON
   ========================================= */

.dgx-float-btn i {
  display: block;

  font-size: 21px;

  line-height: 1;

  transition:
    transform 0.3s ease;
}

.dgx-float-btn:hover i {
  transform: scale(1.15);
}


/* =========================================
   LABEL
   ========================================= */

.dgx-float-label {
  position: absolute;

  right: 64px;

  top: 50%;

  transform:
    translateY(-50%)
    translateX(10px);

  white-space: nowrap;

  padding: 7px 12px;

  border-radius: 8px;

  background: #080e1a;

  border: 1px solid rgba(56, 189, 248, 0.2);

  color: #ffffff;

  font-family:
    "Zoho Puvi",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  font-size: 12px;

  font-weight: 600;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.3);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}


/* Label arrow */

.dgx-float-label::after {
  content: "";

  position: absolute;

  right: -5px;

  top: 50%;

  width: 9px;
  height: 9px;

  transform:
    translateY(-50%)
    rotate(45deg);

  background: #080e1a;

  border-top: 1px solid rgba(56, 189, 248, 0.2);

  border-right: 1px solid rgba(56, 189, 248, 0.2);
}


/* Show label */

.dgx-float-btn:hover .dgx-float-label {
  opacity: 1;

  visibility: visible;

  transform:
    translateY(-50%)
    translateX(0);
}


/* =========================================
   WHATSAPP PULSE
   ========================================= */

.dgx-whatsapp::before {
  content: "";

  position: absolute;

  inset: -5px;

  border-radius: 50%;

  border: 1px solid rgba(37, 211, 102, 0.45);

  animation: dgxWhatsappPulse 2.2s infinite;
}

@keyframes dgxWhatsappPulse {

  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.3);
    opacity: 0;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }

}


/* =========================================
   CALL PULSE
   ========================================= */

.dgx-call::before {
  content: "";

  position: absolute;

  inset: -5px;

  border-radius: 50%;

  border: 1px solid rgba(8, 191, 255, 0.35);

  animation: dgxCallPulse 2.2s infinite;

  animation-delay: 1s;
}

@keyframes dgxCallPulse {

  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.3);
    opacity: 0;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 640px) {

  .dgx-floating-contact {
    right: 15px;
    bottom: 18px;

    gap: 10px;
  }

  .dgx-float-btn {
    width: 48px;
    height: 48px;
  }

  .dgx-float-btn i {
    font-size: 18px;
  }

  .dgx-float-label {
    display: none;
  }

}
/* =========================================
   FLOATING BUTTON RIPPLE EFFECT
   ========================================= */

.dgx-float-btn {
  position: relative;
  isolation: isolate;
}

/* Ripple ring */
.dgx-float-btn::before {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border: 2px solid currentColor;

  opacity: 0;

  pointer-events: none;

  animation: dgxRipple 2.4s ease-out infinite;
}

/* Second softer ripple */
.dgx-float-btn::after {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border: 1px solid currentColor;

  opacity: 0;

  pointer-events: none;

  animation: dgxRipple 2.4s ease-out infinite;
  animation-delay: 1.2s;
}


/* =========================================
   RIPPLE ANIMATION
   ========================================= */

@keyframes dgxRipple {

  0% {
    transform: scale(0.85);
    opacity: 0.65;
  }

  60% {
    transform: scale(1.35);
    opacity: 0.2;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }

}


/* =========================================
   KEEP ICON ABOVE RIPPLE
   ========================================= */

.dgx-float-btn i {
  position: relative;
  z-index: 3;
}


/* =========================================
   WHATSAPP RIPPLE COLOR
   ========================================= */

.dgx-whatsapp {
  color: #ffffff;
}


/* =========================================
   CALL RIPPLE COLOR
   ========================================= */

.dgx-call {
  color: #ffffff;
}


/* =========================================
   HOVER
   ========================================= */

.dgx-float-btn:hover {
  transform: translateY(-5px) scale(1.08);
}


/* Stop excessive animation on hover */
.dgx-float-btn:hover::before,
.dgx-float-btn:hover::after {
  animation-duration: 1.6s;
}


/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  .dgx-float-btn::before,
  .dgx-float-btn::after {
    animation: none;
  }

}