/* Xinzex common footer - includes/footer.php ke saath load hota hai (sab styles .xzf-footer ke andar) */
.xzf-footer {
  --xzf-orange: #ed3e22;
  --xzf-bg: #05090c;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #f5f5f5;
  background: var(--xzf-bg);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  isolation: isolate;
  line-height: normal;
  text-align: left;
}

.xzf-footer,
.xzf-footer * {
  box-sizing: border-box;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.xzf-footer a {
  color: inherit;
  text-decoration: none;
}

.xzf-footer img { max-width: 100%; }

.xzf-footer p,
.xzf-footer h3,
.xzf-footer h4 {
  margin-top: 0;
}

/* MAIN FOOTER BACKGROUND */
.xzf-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 0;
  background:
    radial-gradient(ellipse at 2% 20%, rgba(255, 55, 22, 0.18), transparent 31%),
    radial-gradient(ellipse at 92% 90%, rgba(255, 55, 22, 0.16), transparent 35%),
    linear-gradient(110deg, #080b0e, #030709 55%, #0b0808);
}

/* Ambient orange light */
.xzf-world-glow {
  position: absolute;
  z-index: -2;
  top: -220px;
  left: -150px;
  width: 650px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 70, 35, 0.35);
  box-shadow:
    0 0 35px rgba(255, 55, 25, 0.10),
    inset -20px -10px 70px rgba(255, 60, 25, 0.12);
  background: radial-gradient(circle at 32% 38%, rgba(255, 58, 25, 0.14), transparent 52%);
  transform: rotate(-24deg);
  pointer-events: none;
}

/* Decorative world map dots */
.xzf-world-dots {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 38%;
  height: 68%;
  opacity: 0.5;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 65, 29, 0.85) 1px, transparent 1.6px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, rgba(0, 0, 0, 0.75) 40%, transparent 73%);
  mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, rgba(0, 0, 0, 0.75) 40%, transparent 73%);
}

/* Decorative glowing trails at the bottom */
.xzf-light-trails {
  position: absolute;
  z-index: -1;
  left: -5%;
  right: -5%;
  bottom: 74px;
  height: 90px;
  opacity: 0.9;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 90%, rgba(255, 68, 30, 0.35), transparent 22%),
    repeating-radial-gradient(
      ellipse at 18% 125%,
      transparent 0 35px,
      rgba(255, 67, 29, 0.8) 36px,
      transparent 38px,
      transparent 46px
    );
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 80%, transparent 100%);
}

/* Subtle skyline silhouette */
.xzf-city-silhouette {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 74px;
  width: 25%;
  height: 230px;
  opacity: 0.25;
  pointer-events: none;
  background:
    linear-gradient(to top, #000 0 35%, transparent 35%),
    repeating-linear-gradient(90deg, transparent 0 12px, #080a0c 12px 22px, transparent 22px 28px);
  clip-path: polygon(
    0 100%, 0 75%, 4% 75%, 4% 58%, 8% 58%,
    8% 72%, 13% 72%, 13% 43%, 17% 43%,
    17% 69%, 21% 69%, 21% 30%, 25% 30%,
    25% 68%, 29% 68%, 29% 54%, 34% 54%,
    34% 74%, 39% 74%, 39% 38%, 44% 38%,
    44% 70%, 50% 70%, 50% 58%, 55% 58%,
    55% 75%, 60% 75%, 60% 23%, 64% 0,
    68% 75%, 73% 75%, 73% 49%, 78% 49%,
    78% 73%, 83% 73%, 83% 43%, 88% 43%,
    88% 68%, 94% 68%, 94% 54%, 100% 54%,
    100% 100%
  );
}

/* MAIN GRID */
.xzf-container {
  position: relative;
  z-index: 1;
  width: min(1660px, calc(100% - 100px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.88fr 0.88fr 1.2fr;
  gap: 0;
  align-items: stretch;
}

/* BRAND COLUMN */
.xzf-brand {
  min-width: 0;
  padding: 0 48px 45px 0;
}

.xzf-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 27px;
}

.xzf-logo img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.xzf-about-title,
.xzf-contact-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.xzf-about-title { margin-bottom: 18px; }

.xzf-about-title span,
.xzf-contact-heading span {
  display: inline-block;
  width: 43px;
  height: 3px;
  flex-shrink: 0;
  background: var(--xzf-orange);
  box-shadow: 0 0 12px rgba(255, 72, 41, 0.25);
}

.xzf-about-title h3,
.xzf-contact-heading h4 {
  margin: 0;
  color: #f8f8f8;
  font-size: 17px;
  font-weight: 400;
}

.xzf-about-text {
  max-width: 430px;
  margin: 0 0 25px;
  color: #e3e4e6;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

/* REVIEW LOGOS */
.xzf-reviews {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.xzf-reviews a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s ease;
}

.xzf-reviews a:hover { opacity: 0.75; }

.xzf-reviews img {
  display: block;
  width: 105px;
  height: 53px;
  object-fit: contain;
  object-position: left center;
}

.xzf-reviews a:nth-child(2) img { width: 125px; }
.xzf-reviews a:nth-child(3) img { width: 105px; }

/* COUNTRY COLUMNS */
.xzf-country-column,
.xzf-india-column {
  min-width: 0;
  padding: 0 34px 30px 39px;
  border-left: 1px solid rgba(255, 92, 49, 0.25);
}

.xzf-country-block { margin-bottom: 43px; }

.xzf-flag {
  width: 59px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: linear-gradient(145deg, #11171b, #080b0e);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.025),
    inset 0 0 12px rgba(255, 255, 255, 0.025);
  font-size: 32px;
  line-height: 1;
}

.xzf-country-block h3 {
  margin: 0 0 10px;
  color: var(--xzf-orange);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.xzf-country-block p {
  margin: 0;
  color: #e5e5e7;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

/* INDIA CONTACT AREA */
.xzf-india-column { padding-right: 0; }

.xzf-india-column .xzf-country-block { margin-bottom: 27px; }

.xzf-contact-heading { margin: 0 0 12px; }
.xzf-contact-heading span { width: 43px; }
.xzf-contact-heading h4 { font-size: 15px; }

.xzf-social-title {
  margin: 0 0 7px;
  color: var(--xzf-orange);
  font-size: 25px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.xzf-social-copy {
  margin: 0 0 18px;
  color: #e4e4e6;
  font-size: 15px;
  line-height: 1.7;
}

/* SOCIAL ICONS */
.xzf-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.xzf-socials a {
  width: 53px;
  height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--xzf-orange);
  border-radius: 50%;
  color: var(--xzf-orange);
  background: rgba(255, 67, 33, 0.025);
  box-shadow: inset 0 0 15px rgba(255, 70, 35, 0.035);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.xzf-socials a:hover {
  color: #fff;
  background: var(--xzf-orange);
  box-shadow: 0 0 20px rgba(255, 72, 41, 0.25);
  transform: translateY(-3px);
}

.xzf-socials svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.xzf-socials a:nth-child(3) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.xzf-socials .xzf-dot {
  fill: currentColor;
  stroke: none;
}

/* BOTTOM NAVIGATION */
.xzf-navigation {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 75, 39, 0.8);
  background: linear-gradient(90deg, #070a0d, #080c0f, #07090c);
}

.xzf-nav-inner {
  width: min(1660px, calc(100% - 100px));
  min-height: 65px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.xzf-nav-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 35px;
  color: #e7e7e9;
  font-size: 15px;
  transition: color 0.2s ease;
}

.xzf-nav-inner a + a { border-left: 1px solid var(--xzf-orange); }
.xzf-nav-inner a:hover { color: var(--xzf-orange); }

/* WHITE COPYRIGHT BAR */
.xzf-bottom {
  position: relative;
  z-index: 3;
  background: #fff;
  color: #242428;
}

.xzf-bottom-inner {
  width: min(1728px, calc(100% - 100px));
  min-height: 75px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.xzf-bottom-inner > p {
  margin: 0;
  color: #29292d;
  font-size: 14px;
  line-height: 1.6;
}

.xzf-bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
}

.xzf-bottom-links a,
.xzf-bottom-links span,
.xzf-back-top {
  color: #29292d;
  font-size: 14px;
  white-space: nowrap;
}

.xzf-bottom-links a:hover,
.xzf-back-top:hover { color: var(--xzf-orange); }

.xzf-back-top {
  padding: 10px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.xzf-back-top-icon {
  width: 63px;
  height: 63px;
  flex: 0 0 63px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--xzf-orange);
  color: #fff;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(255, 72, 41, 0.24);
  transition: background 0.25s ease, transform 0.25s ease;
}

.xzf-back-top-icon:hover {
  background: #ed3e22;
  transform: translateY(-3px);
}

/* RESPONSIVE TABLET */
@media (max-width: 1200px) {
  .xzf-container {
    width: calc(100% - 60px);
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .xzf-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 35px;
  }

  .xzf-country-column,
  .xzf-india-column {
    padding-left: 25px;
    padding-right: 20px;
  }

  .xzf-india-column { padding-right: 0; }

  .xzf-nav-inner,
  .xzf-bottom-inner { width: calc(100% - 60px); }

  .xzf-bottom-inner {
    padding: 15px 0;
    flex-wrap: wrap;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 700px) {
  .xzf-main { padding-top: 42px; }

  .xzf-world-glow {
    left: -250px;
    width: 470px;
    height: 470px;
  }

  .xzf-world-dots {
    width: 70%;
    height: 35%;
    opacity: 0.25;
  }

  .xzf-light-trails {
    bottom: 60px;
    height: 55px;
  }

  .xzf-city-silhouette {
    width: 48%;
    height: 130px;
    bottom: 60px;
  }

  .xzf-container {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xzf-brand {
    grid-column: 1 / -1;
    padding-bottom: 30px;
  }

  .xzf-logo { margin-bottom: 23px; }

  .xzf-logo img {
    width: 210px;
    max-height: 58px;
  }

  .xzf-about-text {
    font-size: 14px;
    line-height: 1.75;
  }

  .xzf-reviews { gap: 8px; }

  .xzf-reviews img {
    width: 82px;
    height: 44px;
  }

  .xzf-reviews a:nth-child(2) img { width: 92px; }
  .xzf-reviews a:nth-child(3) img { width: 82px; }

  .xzf-country-column,
  .xzf-india-column { padding: 0 12px 20px 17px; }

  .xzf-country-block { margin-bottom: 32px; }

  .xzf-flag {
    width: 47px;
    height: 45px;
    font-size: 26px;
    border-radius: 8px;
  }

  .xzf-country-block h3 { font-size: 18px; }

  .xzf-country-block p {
    font-size: 12px;
    line-height: 1.8;
  }

  .xzf-social-title { font-size: 19px; }
  .xzf-social-copy { font-size: 12px; }

  .xzf-socials { gap: 8px; }

  .xzf-socials a {
    width: 39px;
    height: 39px;
  }

  .xzf-socials svg {
    width: 17px;
    height: 17px;
  }

  .xzf-nav-inner {
    width: calc(100% - 24px);
    padding: 14px 0;
    gap: 12px 0;
  }

  .xzf-nav-inner a {
    padding: 0 13px;
    font-size: 12px;
  }

  .xzf-nav-inner a + a { border-left: 1px solid var(--xzf-orange); }

  .xzf-bottom-inner {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 0;
  }

  .xzf-bottom-inner > p { font-size: 12px; }

  .xzf-bottom-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .xzf-bottom-links a,
  .xzf-bottom-links span,
  .xzf-back-top { font-size: 11px; }

  .xzf-back-top-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 26px;
  }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 390px) {
  .xzf-container { grid-template-columns: minmax(0, 1fr); }

  .xzf-brand { grid-column: auto; }

  .xzf-country-column,
  .xzf-india-column {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 92, 49, 0.25);
    padding-top: 22px;
  }

  .xzf-country-block p { font-size: 13px; }

  .xzf-bottom-links { gap: 10px; }
  .xzf-bottom-links span { display: none; }
}


/* =========================================================
   RESPONSIVE PASS — layout only, desktop styling unchanged
   ========================================================= */
@media (max-width: 767px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  img, svg, video, canvas, iframe { max-width: 100%; }
  input, select, textarea, button { max-width: 100%; box-sizing: border-box; }
  table { max-width: 100%; overflow-x: auto; display: block; }

  .container,
  .cx-wrap,
  .cp-container,
  .indsol-container,
  .ds-services__container,
  .ip-container,
  .legacy-container,
  .trust-container,
  .callback-container,
  .xzf-container,
  .xq-container {
    max-width: 100%;
  }

  .hero-grid,
  .dx-hero-container,
  .callback-container,
  .cx-intro,
  .cx-main,
  .career-cta,
  .about-grid,
  .job-grid,
  .trust-container,
  .legacy-container,
  .indsol-hero,
  .dsh,
  .why {
    grid-template-columns: 1fr;
  }

  .features,
  .fgrid,
  .dgrid,
  .scg,
  .cx-reviews-grid {
    grid-template-columns: 1fr;
  }

  .stats { grid-template-columns: 1fr; }

  .hero-content,
  .dx-hero-content,
  .copy,
  .svc .copy,
  .cx-copy {
    min-width: 0;
  }

  .hero h1,
  .dx-hero-content h1,
  .cx-title,
  .about-hero h1,
  .career-hero h1 {
    overflow-wrap: anywhere;
  }

  .hero img,
  .dx-hero-image,
  .visual img,
  .svc img {
    height: auto;
    max-width: 100%;
  }

  .cta-row { flex-wrap: wrap; }
  .cta-row > * { max-width: 100%; }

  .nav .container,
  .xzf-container {
    min-width: 0;
  }

  .menu,
  .nav nav {
    max-width: calc(100vw - 30px);
    box-sizing: border-box;
  }

  .service-card,
  .other-tech-card,
  .xq-field,
  .career-field,
  .cx-field {
    min-width: 0;
  }

  .service-card h3,
  .other-tech-content h3,
  .xq-field input,
  .xq-field select,
  .xq-field textarea,
  .career-field input,
  .career-field textarea,
  .cx-field input,
  .cx-field select,
  .cx-field textarea {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 30px); }
  .xq-container,
  .cx-wrap,
  .cp-container { width: calc(100% - 30px); }

  .hero,
  .svc,
  .feat,
  .why,
  .cs,
  .plt,
  .faq,
  .fm,
  .ds,
  .sv,
  .prc,
  .services-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero h1,
  .dx-hero-content h1,
  .cx-title,
  .about-hero h1,
  .career-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
  }

  .service-card,
  .other-tech-card,
  .xq-form-wrap,
  .career-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .xq-submit,
  .cx-submit,
  .career-form button {
    width: 100%;
  }
}

