.home-page {
  --body-size: 1rem;
  --line-height: 1.65; 
  --heading-color: #0b1d38;
  --text-color: #34445d;
}

.home-page .nx-lead,
.home-page .nx-section-heading > p:last-child,
.home-page .nx-techstack-heading > p:last-child,
.home-page .nx-custom-intro > p:not(.nx-kicker) {
  line-height: 1.65;
}

.home-page .nx-section-heading > p:last-child,
.home-page .nx-techstack-heading > p:last-child,
.home-page .nx-custom-intro > p:not(.nx-kicker) {
  color: var(--hm-muted);
}

body .site .home-page .nx-button,
body .site .home-page .nx-ai-showcase-cta {
  font-weight: 600;
}

.home-page .nx-service-text h3 {
  margin: 0 0 8px;
  color: var(--hm-secondary);
  font-size: 1.15rem;
  line-height: 1.35;
}

.home-page .nx-button-light {
  border-color: #fff;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .nx-button-light:hover {
  transform: translateY(-2px);
  border-color: #d7e5f8;
  background: #edf3fc;
  color: var(--hm-secondary);
}

.home-page .nx-button-light:active {
  transform: translateY(0);
  background: #dce8f8;
}

.home-page .nx-button-light:focus-visible {
  outline: 3px solid #78a9f5;
  outline-offset: 3px;
}

body.nx-contact-dialog-open {
  overflow: hidden;
}

body #contactus .close1 {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body #contactus.contactus-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background: rgba(8, 24, 48, 0.66);
  box-shadow: none;
  backdrop-filter: blur(7px);
}

body #contactus .popup-body {
  position: relative;
  width: min(1120px, 100%);
  height: min(760px, calc(100dvh - 48px));
  margin: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(4, 17, 38, 0.28);
}

body #contactus .popup-body > .cmaine {
  display: grid;
  min-height: 100%;
  height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: stretch;
  overflow: visible;
}

body #contactus .popup-body .cmaine > .c50 {
  width: auto;
  height: auto;
  min-width: 0;
  padding: clamp(28px, 4vw, 52px) !important;
}

body #contactus .popup-body .cmaine > .c50:first-child {
  display: flex;
  align-items: center;
  background: #fff;
}

body #contactus .contact-left {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding-top: 0 !important;
}

body #contactus .c50 h2 {
  margin: 0 0 26px;
  color: #0b1d38;
  font-family: inherit;
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

body #contactus .popup-header {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

body #contactus .popup-header .close1 {
  position: absolute;
  top: calc((100dvh - min(760px, 100dvh - 48px)) / 2 + 10px);
  right: max(16px, calc((100vw - min(1120px, 100vw - 48px)) / 2 + 12px));
  width: 44px;
  height: 44px;
  border: 1px solid #dfe7f1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(11, 29, 56, 0.1);
  pointer-events: auto;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body #contactus .popup-header .close1:hover {
  transform: rotate(90deg);
  border-color: #b9cce6;
  background: #f3f7fc;
}

body #contactus .popup-header .close1:focus-visible {
  outline: 3px solid #78a9f5;
  outline-offset: 3px;
}

body #contactus .popup-header .close1::before,
body #contactus .popup-header .close1::after {
  top: 20px;
  right: 12px;
  left: 12px;
  height: 2px;
  background: #34445d;
}

body #contactus .popup-body .cmaine > .c50:last-child {
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #f3f8ff 0%, #eaf3fb 100%);
}

body #contactus .cinfo {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

body #contactus .cinfo1 {
  align-items: flex-start;
  gap: 16px;
  margin: 18px 0;
}

body #contactus .cinfo1.cinfo2 {
  gap: 20px;
  margin: 0 0 24px;
  padding: 0 0 22px;
  border-bottom: 1px solid #d7e5f1;
}

body #contactus .cinfo1.cinfo2 .coinfo:first-child {
  flex: 1 1 240px;
}

body #contactus .cinfo1.cinfo2 .coinfo:first-child > i.fa-map-marked-alt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: #0b1d38;
  font-family: inherit;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

body #contactus .cinfo1.cinfo2 .coinfo:first-child > i.fa-map-marked-alt::before {
  content: "\f3c5";
  color: #245fc4;
  font-family: "Font Awesome 5 Free";
  font-size: 1rem;
  font-weight: 900;
}

body #contactus .cinfo1.cinfo2 .coinfo:last-child {
  flex: 0 1 auto;
}

body #contactus .cinfo1.cinfo2 .coinfo:first-child > i {
  font-family: inherit;
  font-style: normal;
}

body #contactus .cinfo1.cinfo2 .coinfo p,
body #contactus .cinfo1.cinfo2 .einfo p {
  margin: 0;
  color: #687992;
  font-size: 0.95rem;
  line-height: 1.6;
}

body #contactus .cinfo1.cinfo2 .einfo p {
  margin: 0 0 8px;
}

body #contactus .cinfo1.cinfo2 .einfo a {
  display: inline-block;
  margin: 2px 0;
  color: #245fc4;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

body #contactus .cinfo1.cinfo2 .einfo a:hover {
  text-decoration: underline;
}

body #contactus .cicon {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px;
  padding: 7px;
  border: 1px solid #d4e4f6;
  border-radius: 14px;
  background: #fff;
}

body #contactus .cicontent {
  width: auto !important;
  flex: 1;
  padding-left: 0 !important;
}

body #contactus .cicontent h5 {
  margin: 1px 0 5px;
  color: #0b1d38;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

body #contactus .cicontent p {
  margin: 0;
  color: #687992;
  font-size: 0.94rem;
  line-height: 1.55;
}

body #contactus .input-wraper {
  margin: 0 0 16px;
}

body #contactus .input-wraper input.inputAnimation,
body #contactus .input-wraper textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #f9fbfe;
  color: #0b1d38;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

body #contactus .input-wraper input.inputAnimation::placeholder {
  color: #64748b;
  opacity: 1;
}

body #contactus .input-wraper input.inputAnimation:focus,
body #contactus .input-wraper textarea:focus {
  outline: none;
  border-color: #4b83d1;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 95, 196, 0.13);
}

body #contactus .input-wraper input[type="submit"] {
  min-height: 48px;
  height: auto;
  padding: 0 26px;
  border: 1px solid #245fc4;
  border-radius: 999px;
  background: #245fc4;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  box-shadow: 0 8px 18px rgba(36, 95, 196, 0.2);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body #contactus .input-wraper input[type="submit"]:hover {
  transform: translateY(-1px);
  border-color: #194da6;
  background: #194da6;
  box-shadow: 0 10px 24px rgba(36, 95, 196, 0.25);
}

body #contactus .input-wraper input[type="submit"]:focus-visible {
  outline: 3px solid #78a9f5;
  outline-offset: 3px;
}

body #contactus .wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

body #contactus .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: #b42318;
  font-size: 0.85rem;
}

body #contactus .wpcf7-spinner {
  vertical-align: middle;
}

@media (max-width: 900px) {
  body #contactus .popup-body {
    width: min(640px, 100%);
  }

  body #contactus .popup-body > .cmaine {
    grid-template-columns: minmax(0, 1fr);
  }

  body #contactus .popup-body .cmaine > .c50 {
    padding: 30px clamp(22px, 5vw, 44px) !important;
  }

  body #contactus .popup-body .cmaine > .c50:last-child {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  body #contactus.contactus-popup {
    align-items: stretch;
    padding: 58px 12px 12px;
  }

  body #contactus .popup-body {
    width: 100%;
    height: calc(100dvh - 70px);
    border-radius: 18px;
  }

  body #contactus .popup-header .close1 {
    top: 8px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  body #contactus .popup-body .cmaine > .c50 {
    padding: 28px 22px !important;
  }

  body #contactus .c50 h2 {
    margin-bottom: 20px;
  }

  body #contactus .cinfo1.cinfo2 {
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }

  body #contactus .cinfo1.cinfo2 .coinfo:first-child,
  body #contactus .cinfo1.cinfo2 .coinfo:last-child {
    flex: 1 1 100%;
  }

  body #contactus .cinfo1 {
    gap: 13px;
    margin: 14px 0;
  }

  body #contactus .cicon {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px;
    padding: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .nx-button-light,
  body #contactus *,
  body #contactus *::before,
  body #contactus *::after {
    scroll-behavior: auto !important;
    transition: none;
    animation-duration: 0.01ms !important;
  }
}

body.category .post-password-form input[type="password"],
body.category .search-field,
body.author .post-password-form input[type="password"],
body.author .search-field {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
