/* Shared Service-page consistency rules.
   Scope: sections below Hero only. Hero selectors/assets are intentionally excluded. */

html.page-service body .fullcycle-title,
html.page-service body .main-heading,
html.page-service body .projects-title,
html.page-service body .why-title,
html.page-service body .faq-heading,
html.page-service body .talk-heading,
html.page-web-development body .fullcycle-title,
html.page-web-development body .main-heading,
html.page-web-development body .projects-title,
html.page-web-development body .why-title,
html.page-web-development body .faq-heading,
html.page-web-development body .talk-heading,
html.page-web-development body .middle-svg-title,
html.page-web-development body .dev-process-heading {
  font-size: clamp(38px, 3.15vw, 52px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  text-transform: none !important;
  white-space: normal !important;
  text-align: left !important;
  margin-top: 0 !important;
  margin-bottom: clamp(18px, 1.8vw, 28px) !important;
}

html.page-service body .past-projects-section .projects-header,
html.page-web-development body .past-projects-section .projects-header {
  padding-top: clamp(24px, 2.7vw, 42px) !important;
  padding-bottom: 0 !important;
  gap: 0 !important;
}

html.page-service body .past-projects-section .projects-title,
html.page-web-development body .past-projects-section .projects-title {
  max-width: 760px !important;
  margin-bottom: 0 !important;
}

html.page-service body .why-clients-section .why-title,
html.page-web-development body .why-clients-section .why-title {
  width: min(calc(100% - 48px), 1440px) !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html.page-service body .why-clients-section .intro-wrap,
html.page-web-development body .why-clients-section .intro-wrap {
  margin-top: 0 !important;
}

/* Redundant CTA wrappers are removed from markup; these guards prevent any stale wrapper from creating gaps. */
html.page-service body .past-projects-section .cta-wrap:empty,
html.page-service body .past-projects-section .mobile-project-cta:empty,
html.page-service body .why-clients-section .cta-box:empty,
html.page-web-development body .past-projects-section .cta-wrap:empty,
html.page-web-development body .past-projects-section .mobile-project-cta:empty,
html.page-web-development body .why-clients-section .cta-box:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* With the extra Why CTA removed, keep the two remaining bottom cards balanced. */
@media (min-width: 992px) {
  html.page-service body .why-clients-section .bottom-layout,
  html.page-web-development body .why-clients-section .bottom-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }
}

/* Collapse only non-scroll-critical outer margins. Sticky/pinned section heights remain page-controlled. */
html.page-service body .tech-section,
html.page-service body .engagement-section,
html.page-service body .why-clients-section,
html.page-service body .faq-section,
html.page-service body .lets-talk-section,
html.page-web-development body .tech-section,
html.page-web-development body .engagement-section,
html.page-web-development body .why-clients-section,
html.page-web-development body .faq-section,
html.page-web-development body .lets-talk-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Useful conversion buttons below Hero: responsive without altering their colors or interaction styling. */
html.page-service body .fullcycle-section .dc-master-btn,
html.page-service body .engagement-section .dc-master-btn,
html.page-service body .lets-talk-section .dc-master-btn,
html.page-web-development body .fullcycle-section .dc-master-btn,
html.page-web-development body .engagement-section .dc-master-btn,
html.page-web-development body .lets-talk-section .dc-master-btn {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  html.page-service body .fullcycle-title,
  html.page-service body .main-heading,
  html.page-service body .projects-title,
  html.page-service body .why-title,
  html.page-service body .faq-heading,
  html.page-service body .talk-heading,
  html.page-web-development body .fullcycle-title,
  html.page-web-development body .main-heading,
  html.page-web-development body .projects-title,
  html.page-web-development body .why-title,
  html.page-web-development body .faq-heading,
  html.page-web-development body .talk-heading,
  html.page-web-development body .middle-svg-title,
  html.page-web-development body .dev-process-heading {
    font-size: clamp(34px, 4.5vw, 42px) !important;
    line-height: 1.16 !important;
    margin-bottom: 20px !important;
  }

  html.page-service body .why-clients-section .why-title,
  html.page-web-development body .why-clients-section .why-title {
    width: min(calc(100% - 48px), 708px) !important;
  }
}

@media (max-width: 767px) {
  html.page-service body .fullcycle-title,
  html.page-service body .main-heading,
  html.page-service body .projects-title,
  html.page-service body .why-title,
  html.page-service body .faq-heading,
  html.page-service body .talk-heading,
  html.page-web-development body .fullcycle-title,
  html.page-web-development body .main-heading,
  html.page-web-development body .projects-title,
  html.page-web-development body .why-title,
  html.page-web-development body .faq-heading,
  html.page-web-development body .talk-heading,
  html.page-web-development body .middle-svg-title,
  html.page-web-development body .dev-process-heading {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.028em !important;
    margin-bottom: 16px !important;
    overflow-wrap: anywhere !important;
  }

  html.page-service body .past-projects-section .projects-header,
  html.page-web-development body .past-projects-section .projects-header {
    padding: 18px 20px 0 !important;
  }

  html.page-service body .why-clients-section .why-title,
  html.page-web-development body .why-clients-section .why-title {
    width: calc(100% - 40px) !important;
  }

  html.page-service body .fullcycle-section .dc-master-btn,
  html.page-service body .engagement-section .dc-master-btn,
  html.page-service body .lets-talk-section .dc-master-btn,
  html.page-web-development body .fullcycle-section .dc-master-btn,
  html.page-web-development body .engagement-section .dc-master-btn,
  html.page-web-development body .lets-talk-section .dc-master-btn {
    min-height: 44px !important;
    height: auto !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    line-height: 1.25 !important;
  }
}

/* Strong section-scoped overrides: page-specific legacy CSS uses very specific !important rules. */
html.page-service body .fullcycle-section .fullcycle-title,
html.page-service body .tech-section .main-heading,
html.page-service body .engagement-section .main-heading,
html.page-service body .past-projects-section .projects-title,
html.page-service body .why-clients-section .why-title,
html.page-service body .faq-section .faq-heading,
html.page-service body .lets-talk-section .talk-heading,
html.page-web-development body .fullcycle-section .fullcycle-title,
html.page-web-development body .tech-section .main-heading,
html.page-web-development body .engagement-section .main-heading,
html.page-web-development body .past-projects-section .projects-title,
html.page-web-development body .why-clients-section .why-title,
html.page-web-development body .faq-section .faq-heading,
html.page-web-development body .lets-talk-section .talk-heading,
html.page-web-development body .middle-svg-section .middle-svg-title,
html.page-web-development body .dev-process-intro-section .dev-process-heading {
  font-size: clamp(38px, 3.15vw, 52px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  margin-top: 0 !important;
  margin-bottom: clamp(18px, 1.8vw, 28px) !important;
}

@media (max-width: 1024px) {
  html.page-service body .fullcycle-section .fullcycle-title,
  html.page-service body .tech-section .main-heading,
  html.page-service body .engagement-section .main-heading,
  html.page-service body .past-projects-section .projects-title,
  html.page-service body .why-clients-section .why-title,
  html.page-service body .faq-section .faq-heading,
  html.page-service body .lets-talk-section .talk-heading,
  html.page-web-development body .fullcycle-section .fullcycle-title,
  html.page-web-development body .tech-section .main-heading,
  html.page-web-development body .engagement-section .main-heading,
  html.page-web-development body .past-projects-section .projects-title,
  html.page-web-development body .why-clients-section .why-title,
  html.page-web-development body .faq-section .faq-heading,
  html.page-web-development body .lets-talk-section .talk-heading,
  html.page-web-development body .middle-svg-section .middle-svg-title,
  html.page-web-development body .dev-process-intro-section .dev-process-heading {
    font-size: clamp(34px, 4.5vw, 42px) !important;
    line-height: 1.16 !important;
  }

  html.page-service body .engagement-section .view-btn,
  html.page-web-development body .engagement-section .view-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  html.page-service body .engagement-section .view-btn span,
  html.page-web-development body .engagement-section .view-btn span {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  html.page-service body .fullcycle-section .fullcycle-title,
  html.page-service body .tech-section .main-heading,
  html.page-service body .engagement-section .main-heading,
  html.page-service body .past-projects-section .projects-title,
  html.page-service body .why-clients-section .why-title,
  html.page-service body .faq-section .faq-heading,
  html.page-service body .lets-talk-section .talk-heading,
  html.page-web-development body .fullcycle-section .fullcycle-title,
  html.page-web-development body .tech-section .main-heading,
  html.page-web-development body .engagement-section .main-heading,
  html.page-web-development body .past-projects-section .projects-title,
  html.page-web-development body .why-clients-section .why-title,
  html.page-web-development body .faq-section .faq-heading,
  html.page-web-development body .lets-talk-section .talk-heading,
  html.page-web-development body .middle-svg-section .middle-svg-title,
  html.page-web-development body .dev-process-intro-section .dev-process-heading {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.18 !important;
    margin-bottom: 16px !important;
  }
}

/* Final specificity layer over legacy !important rules, still scoped strictly below Hero. */
html.page-service.page-service body .fullcycle-title.fullcycle-title,
html.page-service.page-service body .main-heading.main-heading,
html.page-service.page-service body .projects-title.projects-title,
html.page-service.page-service body .why-title.why-title,
html.page-service.page-service body .faq-heading.faq-heading,
html.page-service.page-service body .talk-heading.talk-heading,
html.page-web-development.page-web-development body .fullcycle-title.fullcycle-title,
html.page-web-development.page-web-development body .main-heading.main-heading,
html.page-web-development.page-web-development body .projects-title.projects-title,
html.page-web-development.page-web-development body .why-title.why-title,
html.page-web-development.page-web-development body .faq-heading.faq-heading,
html.page-web-development.page-web-development body .talk-heading.talk-heading,
html.page-web-development.page-web-development body .middle-svg-title.middle-svg-title,
html.page-web-development.page-web-development body .dev-process-heading.dev-process-heading {
  font-size: clamp(38px, 3.15vw, 52px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  margin-top: 0 !important;
  margin-bottom: clamp(18px, 1.8vw, 28px) !important;
}

@media (max-width: 1024px) {
  html.page-service.page-service body .fullcycle-title.fullcycle-title,
  html.page-service.page-service body .main-heading.main-heading,
  html.page-service.page-service body .projects-title.projects-title,
  html.page-service.page-service body .why-title.why-title,
  html.page-service.page-service body .faq-heading.faq-heading,
  html.page-service.page-service body .talk-heading.talk-heading,
  html.page-web-development.page-web-development body .fullcycle-title.fullcycle-title,
  html.page-web-development.page-web-development body .main-heading.main-heading,
  html.page-web-development.page-web-development body .projects-title.projects-title,
  html.page-web-development.page-web-development body .why-title.why-title,
  html.page-web-development.page-web-development body .faq-heading.faq-heading,
  html.page-web-development.page-web-development body .talk-heading.talk-heading,
  html.page-web-development.page-web-development body .middle-svg-title.middle-svg-title,
  html.page-web-development.page-web-development body .dev-process-heading.dev-process-heading {
    font-size: clamp(34px, 4.5vw, 42px) !important;
    line-height: 1.16 !important;
  }

  html.page-service.page-service body .engagement-section.engagement-section .view-btn.view-btn,
  html.page-web-development.page-web-development body .engagement-section.engagement-section .view-btn.view-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    white-space: normal !important;
    overflow: hidden !important;
    justify-content: center !important;
  }

  html.page-service.page-service body .engagement-section.engagement-section .view-btn.view-btn span,
  html.page-web-development.page-web-development body .engagement-section.engagement-section .view-btn.view-btn span {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  html.page-service.page-service body .fullcycle-title.fullcycle-title,
  html.page-service.page-service body .main-heading.main-heading,
  html.page-service.page-service body .projects-title.projects-title,
  html.page-service.page-service body .why-title.why-title,
  html.page-service.page-service body .faq-heading.faq-heading,
  html.page-service.page-service body .talk-heading.talk-heading,
  html.page-web-development.page-web-development body .fullcycle-title.fullcycle-title,
  html.page-web-development.page-web-development body .main-heading.main-heading,
  html.page-web-development.page-web-development body .projects-title.projects-title,
  html.page-web-development.page-web-development body .why-title.why-title,
  html.page-web-development.page-web-development body .faq-heading.faq-heading,
  html.page-web-development.page-web-development body .talk-heading.talk-heading,
  html.page-web-development.page-web-development body .middle-svg-title.middle-svg-title,
  html.page-web-development.page-web-development body .dev-process-heading.dev-process-heading {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.18 !important;
    margin-bottom: 16px !important;
  }
}

@media (max-width: 1024px) {
  html.page-service body .engagement-section :is(a.view-btn, button.view-btn):not(#__dc_cta_width_fix_1):not(#__dc_cta_width_fix_2),
  html.page-web-development body .engagement-section :is(a.view-btn, button.view-btn):not(#__dc_cta_width_fix_1):not(#__dc_cta_width_fix_2) {
    width: auto !important;
    inline-size: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    flex-wrap: nowrap !important;
    white-space: normal !important;
    overflow: hidden !important;
    justify-content: center !important;
  }

  html.page-service body .engagement-section :is(a.view-btn, button.view-btn):not(#__dc_cta_width_fix_1):not(#__dc_cta_width_fix_2) > span:not(.top-dev-arrow):not(.build-arrow-svg):not(.mobile-link-arrow):not(.arrow-circle),
  html.page-web-development body .engagement-section :is(a.view-btn, button.view-btn):not(#__dc_cta_width_fix_1):not(#__dc_cta_width_fix_2) > span:not(.top-dev-arrow):not(.build-arrow-svg):not(.mobile-link-arrow):not(.arrow-circle) {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 48px) !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-overflow: clip !important;
    text-align: center !important;
  }
}
