/* Local light surfaces. Blue hero imagery, accent buttons, and brand marks stay as they are. */
body,
html {
  background-color: #ffffff;
  color: #3c4452;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #141820;
}

input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  color: #141820;
  background-color: #ffffff;
}

.cs-gray_bg,
.cs-gradient_bg_1,
.cs-gradient_1,
.cs-funfact_wrap,
.cs-funfact_wrap_2 {
  background: #ffffff;
}

.cs-funfact_wrap,
.cs-funfact_wrap_2 {
  border: 1px solid #e6eaf2;
}

.cs-funfact_shape {
  display: none !important;
}

.cs-funfact_wrap .cs-primary_color,
.cs-funfact_wrap p,
.cs-funfact_wrap h2 {
  color: #141820;
}

.cs-shape_2 div,
.cs-shape_wrap_4 .cs-shape_4,
.cs-shape_wrap_6 .cs-shape_2 > div {
  background-color: #d7e4f7;
}

.cs-video_block_1_wrap::before {
  background-color: #ffffff;
}

.cs-nav .cs-nav_list ul {
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 24, 38, 0.12);
}

.cs-nav .cs-nav_list ul a {
  color: #141820;
}

.cs-social_btns.cs-style1 a {
  border-color: #141820;
  color: #141820;
}

.cs-arrow_style1 .slick-arrow,
.cs-arrow_style2 .slick-arrow,
.cs-arrow_style3 .slick-arrow {
  border-color: #141820;
  color: #141820;
}

.cs-page_heading.cs-style1 {
  background-image: none !important;
  background-color: #ffffff !important;
  height: auto !important;
  padding: 118px 0 24px !important;
}

.cs-page_heading .cs-page_title,
.cs-page_heading h1,
.cs-page_heading .breadcrumb,
.cs-page_heading .breadcrumb a,
.cs-page_heading .breadcrumb-item.active {
  color: #141820 !important;
}

.cs-page_heading .breadcrumb-item + .breadcrumb-item::before {
  background-color: #141820;
}

.cs-cta.cs-style1 {
  margin-top: 72px;
  margin-bottom: 8px;
  background-image: none !important;
  background-color: rgba(232, 241, 255, 0.72) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(183, 206, 255, 0.55)) !important;
  border: 1px solid rgba(24, 62, 249, 0.18);
  box-shadow: 0 18px 40px rgba(24, 62, 249, 0.12);
  backdrop-filter: blur(14px);
  color: #142033;
}

.cs-cta .cs-cta_title,
.cs-cta.cs-style1 .cs-text_btn {
  color: #142033 !important;
}

.cs-cta.cs-style1 .cs-shape_1 {
  border-left-color: #183EF9;
}

@media screen and (max-width: 767px) {
  .cs-cta.cs-style1 {
    margin-top: 40px;
  }
}

.cs-video_block.cs-style1 {
  height: auto;
  aspect-ratio: 2.35 / 1;
  max-width: 100%;
  background-size: contain;
  background-position: center;
  background-color: #071433;
}

.cs-side_header .cs-side_header_in {
  background-color: #ffffff;
  color: #141820;
}

.cs-sticky_header_active {
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 24, 38, 0.08);
}

.cs-site_header,
.cs-site_header .cs-nav .cs-nav_list > li > a,
.cs-site_header .cs-munu_toggle {
  color: #141820;
}

.cs-site_branding img {
  filter: brightness(0);
}

.cs-fooer .cs-text_widget img {
  filter: brightness(0) invert(1);
}

body:has(.cs-hero) .cs-site_header:not(.cs-sticky_header_active) .cs-nav .cs-nav_list > li > a,
body:has(.cs-hero) .cs-site_header:not(.cs-sticky_header_active) .cs-munu_toggle {
  color: #141820;
}

body:has(.cs-hero) .cs-site_header:not(.cs-sticky_header_active) .cs-site_branding img {
  filter: brightness(0);
}

.cs-sticky_header_active,
.cs-sticky_header_active .cs-nav .cs-nav_list > li > a,
.cs-sticky_header_active .cs-munu_toggle {
  color: #141820;
}

.cs-site_header.cs-style1 .cs-icon_btn {
  color: #2044ff;
  background: #ffffff;
  border-color: #2044ff;
}

.cs-munu_toggle span,
.cs-munu_toggle span:before,
.cs-munu_toggle span:after {
  background-color: #2044ff;
}

.cs-munu_toggle.cs-toggle_active span {
  background-color: transparent;
}

.cs-munu_toggle.cs-toggle_active span:before,
.cs-munu_toggle.cs-toggle_active span:after {
  background-color: #2044ff;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .cs-site_header .cs-nav .cs-nav_list {
    display: flex !important;
    position: static !important;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: inherit !important;
  }

  .cs-site_header .cs-nav .cs-nav_list > li > a {
    display: flex !important;
    padding: 8px 8px !important;
    font-size: 13px;
  }

  .cs-nav .cs-nav_list ul {
    display: none;
    position: absolute;
  }

  .cs-nav .cs-nav_list li:hover > ul,
  .cs-nav .cs-nav_list li:focus-within > ul {
    display: block !important;
  }

  .cs-munu_toggle {
    display: none !important;
  }

  .cs-toolbox,
  .cs-side_header {
    display: block !important;
  }

  .cs-toolbox {
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  /* --- Mobile Header Row 1: Logo + Hamburger --- */
  .cs-munu_toggle {
    display: none !important;
  }

  .cs-site_header.cs-style1 {
    top: 0 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
  }

  .cs-site_header.cs-style1 .cs-main_header_in {
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    border-bottom: 1px solid #edf2f8 !important;
  }

  .cs-site_header .cs-site_branding img {
    max-height: 32px !important;
    width: auto !important;
    filter: brightness(0) !important;
  }

  .cs-toolbox {
    display: flex !important;
    align-items: center !important;
    margin-right: 0 !important;
  }

  .cs-site_header.cs-style1 .cs-icon_btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #2044ff !important;
    border: 2px solid #2044ff !important;
  }

  .cs-site_header.cs-style1 .cs-icon_btn .cs-icon_btn_in span {
    background-color: #ffffff !important;
  }

  /* --- Mobile Header Row 2: Horizontal Scrollable Nav Bar --- */
  .cs-site_header .cs-nav .cs-nav_list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 998 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #ffffff !important;
    border-bottom: 2px solid #e8eef8 !important;
    box-shadow: 0 4px 12px rgba(16, 32, 64, 0.07) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0 !important;
  }

  /* Hide scrollbar but keep scrolling */
  .cs-site_header .cs-nav .cs-nav_list::-webkit-scrollbar {
    display: none !important;
  }

  .cs-site_header .cs-nav .cs-nav_list > li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    list-style: none !important;
    border-bottom: none !important;
  }

  .cs-site_header .cs-nav .cs-nav_list > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 14px 14px !important;
    color: #142033 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
    margin-bottom: -2px !important;
  }

  .cs-site_header .cs-nav .cs-nav_list > li > a:hover,
  .cs-site_header .cs-nav .cs-nav_list > li.current-menu-item > a {
    color: #2044ff !important;
    border-bottom-color: #2044ff !important;
  }

  /* Hide dropdown submenus in the mobile nav bar (use drawer for that) */
  .cs-site_header .cs-nav .cs-nav_list ul {
    display: none !important;
  }

  /* Push hero down to clear both header rows (64px logo row + 44px nav bar) */
  .cs-hero.cs-style1 {
    padding-top: 120px !important;
    padding-bottom: 50px !important;
  }

  .cs-hero .cs-shape_1 {
    display: none !important;
  }

  .cs-hero .cs-hero_title {
    font-size: clamp(28px, 7.5vw, 42px) !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }

  .cs-hero .cs-hero_subtitle {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  /* Side Drawer Redesign */
  .cs-side_header {
    display: block !important;
    z-index: 10000;
  }

  .cs-side_header .cs-side_header_overlay {
    background: rgba(10, 16, 30, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .cs-side_header .cs-side_header_in {
    width: min(340px, 86vw) !important;
    padding: 28px 22px !important;
    background-color: #ffffff !important;
    box-shadow: -8px 0 32px rgba(10, 20, 40, 0.16) !important;
    overflow-y: auto !important;
  }

  .cs-side_header .cs-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    color: #142033 !important;
    border: 1px solid #e1e8f2 !important;
    background-color: #f4f7fc !important;
    cursor: pointer !important;
    z-index: 10;
    transition: all 0.2s ease;
  }

  .cs-side_header .cs-close:hover {
    background-color: #e8eef8 !important;
    transform: scale(1.05);
  }

  .cs-side_header_logo {
    display: block !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #edf2f7 !important;
  }

  .cs-side_header_logo img {
    max-height: 32px !important;
    width: auto !important;
    filter: brightness(0) !important;
  }

  /* Responsive Drawer Menu */
  .hapteq-side-nav {
    display: block;
    margin-bottom: 20px;
  }

  .hapteq-side-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .hapteq-side-nav > ul > li {
    position: relative;
    border-bottom: 1px solid #f1f4f9;
  }

  .hapteq-side-nav > ul > li > a {
    display: flex;
    align-items: center;
    padding: 12px 40px 12px 0;
    color: #142033 !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .hapteq-side-nav > ul > li > a:hover {
    color: #2044ff !important;
  }

  /* Chevron Dropdown Toggle for Our Services */
  .hapteq-side-nav .cs-munu_dropdown_toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 8px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #f0f4fc;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .hapteq-side-nav .cs-munu_dropdown_toggle:hover {
    background: #e2ecfd;
  }

  .hapteq-side-nav .cs-munu_dropdown_toggle:before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #2044ff;
    border-bottom: 2px solid #2044ff;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }

  .hapteq-side-nav .cs-munu_dropdown_toggle:after {
    display: none !important;
  }

  .hapteq-side-nav .cs-munu_dropdown_toggle.active:before {
    transform: rotate(-135deg);
  }

  /* Submenu for services */
  .hapteq-side-nav ul ul {
    display: none;
    padding: 4px 0 8px 12px;
    margin: 0;
    border-left: 2px solid #2044ff;
  }

  .hapteq-side-nav .cs-munu_dropdown_toggle.active + ul {
    display: block !important;
    animation: hapteqMenuFade 0.2s ease-in-out;
  }

  .hapteq-side-nav ul ul li {
    list-style: none;
  }

  .hapteq-side-nav ul ul a {
    display: block;
    padding: 7px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #4b586e !important;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .hapteq-side-nav ul ul a:hover {
    color: #2044ff !important;
    transform: translateX(3px);
  }
}

@keyframes hapteqMenuFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 1200px) {
  .hapteq-side-nav {
    display: none;
  }
}

.cs-side_header {
  z-index: 10000;
}

.cs-side_header .cs-side_header_in {
  padding-bottom: 120px;
}

.cs-side_header .cs-close {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  color: #142033;
  background: #ffffff;
  border: 2px solid #2044ff;
  z-index: 200;
}

.cs-hero .cs-hero_title,
.cs-hero h1,
.cs-hero .cs-hero_subtitle,
.cs-hero .cs-text_btn,
.cs-card.cs-style1 .cs-card_title {
  color: #ffffff;
}

body {
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  text-wrap: balance;
}

p {
  line-height: 1.7;
}

.cs-section_heading.cs-style1 .cs-section_subtitle {
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.cs-section_heading.cs-style1 .cs-section_title {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cs-hero.cs-style1 .cs-hero_title {
  line-height: 1.12;
  max-width: 12em;
}

.cs-hero.cs-style1 .cs-hero_subtitle {
  max-width: 38rem;
  line-height: 1.7;
}

.cs-funfact_heading p,
.cs-text_widget p,
.tp-page-post,
.arino-page-content {
  max-width: 40rem;
  line-height: 1.7;
}

.tp-page-post,
.arino-page-content {
  margin-left: auto;
  margin-right: auto;
}

.cs-funfact.cs-style1 {
  align-items: flex-start;
}

.cs-funfact.cs-style1 .cs-funfact_text p {
  margin: 0;
  line-height: 1.35;
}

.cs-card.cs-style1 .cs-card_info {
  right: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.cs-card.cs-style1 .cs-card_title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.hapteq-shader {
  min-height: 650px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hapteq-shader-filters {
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
}

.hapteq-shader-mesh {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.hapteq-shader-mesh.is-wire {
  opacity: 0.6;
}

.hapteq-shader-hero.cs-hero.cs-style1 {
  background-image: none !important;
  background-color: transparent !important;
}

.cs-shape_wrap_2 .cs-shape_2 {
  display: none;
}

.cs-shape_wrap_2 .slick-slider.cs-arrow_style3 {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.cs-industry_grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 48px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cs-shape_wrap_2 .slick-slider.cs-arrow_style3 .slick-list {
  overflow: hidden;
}

.cs-shape_wrap_2 .slick-slider.cs-arrow_style3 .slick-slide > div {
  display: block !important;
  width: 100%;
  min-width: 0;
}

.cs-shape_wrap_2 .cs-industry_grid .cs-time_line.cs-style1 {
  max-width: none;
  min-width: 0;
  margin: 0;
  padding-right: 0;
}

.cs-shape_wrap_2 .cs-industry_grid .cs-time_line.cs-style1:nth-child(odd) {
  padding-left: 14%;
}

.cs-shape_wrap_2 .cs-industry_grid .cs-time_line.cs-style1 + .cs-time_line.cs-style1 {
  margin-top: 0;
}

.cs-shape_wrap_2 .cs-industry_grid .cs-time_line.cs-style1 h2 {
  max-width: none;
  font-weight: 400;
  line-height: 1.7;
}

.cs-time_line.cs-style1 {
  padding-right: 36px;
}

.cs-time_line.cs-style1 h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.cs-time_line.cs-style1 h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 34rem;
}

.cs-time_line.cs-style1 p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 4px;
  padding-left: 0.9em;
  text-indent: -0.9em;
}

.cs-time_line.cs-style1 + .cs-time_line.cs-style1 {
  margin-top: 32px;
}

.cs-iconbox.cs-style1 .cs-iconbox_title,
.cs-iconbox.cs-style2 .cs-iconbox_title {
  line-height: 1.3;
}

.cs-iconbox.cs-style1 .cs-iconbox_subtitle,
.cs-iconbox.cs-style2 .cs-iconbox_subtitle {
  line-height: 1.7;
}

.cs-cta.cs-style1 .cs-cta_title {
  line-height: 1.2;
  text-wrap: balance;
}

.cs-portfolio_title,
.cs-portfolio_subtitle {
  overflow-wrap: break-word;
}

@media screen and (max-width: 767px) {
  .cs-industry_grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .cs-shape_wrap_2 .cs-industry_grid .cs-time_line.cs-style1:nth-child(odd) {
    padding-left: 0;
  }
}

@media screen and (max-width: 991px) {
  .cs-time_line.cs-style1 {
    padding-right: 0;
  }

  .cs-section_heading.cs-style1 .cs-section_title {
    font-size: 34px;
  }

  .cs-hero.cs-style1 .cs-hero_title {
    max-width: none;
  }
}

.hapteq-about {
  background: #fff;
  color: #1c2434;
}

.hapteq-about .container {
  width: min(1400px, 85%);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.hapteq-about h1,
.hapteq-about h2,
.hapteq-about h3 {
  color: #142033;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hapteq-about p,
.hapteq-about li {
  color: #5c677a;
  font-size: 16px;
  line-height: 1.7;
}

.hapteq-about-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.hapteq-about-reveal.is-in {
  animation: hapteqAboutIn 0.7s ease forwards;
}

@keyframes hapteqAboutIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hapteq-about-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hapteq-about-hero {
  background: linear-gradient(180deg, #e7f0ff 0%, #f7faff 100%);
  padding: 156px 0 64px;
}

.hapteq-about-hero h1 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 48px;
}

.hapteq-about-hero-grid > .hapteq-about-reveal:first-child p {
  max-width: none;
  margin-bottom: 0;
}

.hapteq-about-hero-grid,
.hapteq-about-split,
.hapteq-about-vision {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hapteq-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 28px;
  border-radius: 8px;
  background: #183EF9;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}

.hapteq-about-btn:hover {
  background: #0f2fd0;
  color: #fff !important;
}

.hapteq-about-art,
.hapteq-about-vision-art {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center left;
  display: block;
  margin: 0;
}

.hapteq-about-section,
.hapteq-about-vision-wrap {
  padding: 72px 0;
}

.hapteq-about-section h2 {
  margin: 0 0 16px;
  font-size: 36px;
}

.hapteq-about-center {
  text-align: center;
}

.hapteq-about-center p {
  max-width: 720px;
  margin: 0 auto;
}

.hapteq-about-split ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hapteq-about-split li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 22px;
}

.hapteq-about-split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #183EF9;
}

.hapteq-about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.hapteq-about-card,
.hapteq-about-stat {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(24, 62, 249, 0.08);
}

.hapteq-about-card {
  padding: 28px 24px 32px;
}

.hapteq-about-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.hapteq-about-card p {
  margin: 0;
}

.hapteq-about-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #e8f1ff;
}

.hapteq-about-why {
  background:
    radial-gradient(circle at 0% 55%, rgba(186, 214, 255, 0.55), transparent 32%),
    radial-gradient(circle at 100% 18%, rgba(198, 220, 255, 0.7), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.hapteq-about-why .hapteq-about-cards > .hapteq-about-reveal {
  height: 100%;
}

.hapteq-about-why .hapteq-about-card {
  padding: 36px 28px 32px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hapteq-about-why .hapteq-about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(47, 107, 255, 0.16);
}

.hapteq-about-why .hapteq-about-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #e7f0ff;
}

.hapteq-about-why .hapteq-about-card h3 {
  margin-top: 22px;
  color: #142033;
}

.hapteq-about-why .hapteq-about-card p {
  color: #667085;
  line-height: 1.6;
}

.hapteq-about-stats {
  padding: 56px 0;
  background: linear-gradient(120deg, #183EF9 0%, #4d74f5 100%);
}

.hapteq-about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hapteq-about-stat {
  padding: 28px 18px;
  text-align: center;
}

.hapteq-about-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #183EF9;
  font-size: 32px;
  line-height: 1.1;
}

.hapteq-about-stat span {
  color: #5c677a;
  font-size: 15px;
}

.hapteq-about-vision {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hapteq-about-vision p {
  margin: 0 0 14px;
}

.hapteq-about-vision p:last-child {
  margin-bottom: 0;
}

.hapteq-about-vision-art {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
}

@media screen and (max-width: 991px) {
  .hapteq-about-hero {
    padding-top: 136px;
  }

  .hapteq-about-hero h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .hapteq-about .container {
    width: min(1400px, 86%);
  }

  .hapteq-about-art,
  .hapteq-about-vision-art {
    width: min(100%, 480px);
    height: auto;
    margin: 8px auto 0;
    object-position: center;
  }

  .hapteq-about-hero-grid,
  .hapteq-about-split,
  .hapteq-about-cards,
  .hapteq-about-stat-grid {
    grid-template-columns: 1fr;
  }

  .hapteq-about-vision {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hapteq-about-vision-art {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .hapteq-about-cards {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

.hapteq-about-original {
  padding: 48px 0 72px;
}

.hapteq-about-original .cs-faq_nav {
  height: auto;
}

.hapteq-about-original .cs-faq_nav .cs-faq_nav_title,
.hapteq-about-original .cs-faq_nav .cs-text_btn,
.hapteq-about-original .cs-faq_nav .cs-text_btn span {
  color: #ffffff !important;
  opacity: 1;
  font-size: 16px;
}

.hapteq-about-original .cs-faq_nav .cs-faq_nav_title {
  font-size: 30px;
}

:root {
  --accent: #2044ff !important;
}

.hapteq-about-original .cs-faq_nav ul,
.hapteq-about-original .cs-faq_nav li {
  display: block !important;
}

.cs-site_header.cs-style1 {
  background-color: #ffffff;
}

#hapteq-tw > section {
  padding-top: 150px;
}

.hapteq-contact {
  position: relative;
  overflow: hidden;
  padding: 72px 7% 72px;
  background:
    radial-gradient(circle at 18% 20%, rgba(120, 190, 255, 0.55), transparent 32%),
    radial-gradient(circle at 78% 8%, rgba(32, 68, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #e7f6ff 0%, #f4fbff 48%, #eef6ff 100%);
}

.hapteq-contact-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hapteq-contact-glow-left {
  top: 40px;
  left: -80px;
  background: rgba(150, 210, 255, 0.45);
}

.hapteq-contact-glow-right {
  right: -60px;
  bottom: -80px;
  background: rgba(32, 68, 255, 0.12);
}

.hapteq-contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: 56px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hapteq-contact-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #2044ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hapteq-contact-copy h1 {
  margin: 0 0 12px;
  color: #142033;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hapteq-contact-copy > p {
  max-width: 420px;
  margin: 0 0 36px;
  color: #667085;
  font-size: 16px;
  line-height: 1.7;
}

.hapteq-contact-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hapteq-contact-copy li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 28px;
}

.hapteq-contact-icon {
  display: inline-flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2044ff;
  color: #fff;
}

.hapteq-contact-copy strong {
  display: block;
  margin-bottom: 2px;
  color: #142033;
  font-size: 15px;
}

.hapteq-contact-copy a,
.hapteq-contact-copy li span {
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
}

.hapteq-contact-card {
  padding: 36px 36px 32px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(32, 68, 255, 0.08);
}

.hapteq-contact-card h2 {
  margin: 0 0 8px;
  color: #142033;
  font-size: 32px;
  font-weight: 700;
}

.hapteq-contact-card > p {
  margin: 0 0 24px;
  color: #667085;
  line-height: 1.6;
}

.hapteq-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.hapteq-contact-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #142033;
  font-size: 14px;
  font-weight: 600;
}

.hapteq-contact-label {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.hapteq-contact-label em {
  color: #2044ff;
  font-style: normal;
}

.hapteq-contact-message {
  grid-column: 1 / -1;
}

.hapteq-contact-card input,
.hapteq-contact-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  color: #142033;
  font-weight: 400;
  outline: none;
}

.hapteq-contact-card input:focus,
.hapteq-contact-card textarea:focus {
  border-color: #2044ff;
}

.hapteq-contact-card small {
  color: #d12b2b;
  font-weight: 500;
}

.hapteq-contact-card button {
  width: 100%;
  margin-top: 22px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2044ff 0%, #4ea2ff 100%);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.hapteq-contact-card button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hapteq-contact-success {
  margin: 14px 0 0;
  color: #0f8a4b;
}

.hapteq-industries-intro {
  width: min(860px, calc(100% - 48px));
  margin: 64px auto;
  text-align: center;
}

body:has(.hapteq-industries-intro) #hapteq-tw > section {
  padding-bottom: 0;
}

.hapteq-industries-intro-title {
  margin: 0 0 12px;
  color: #142033;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hapteq-industries-intro p:last-child {
  margin: 0;
  color: #4b5b73;
  font-size: 17px;
  line-height: 1.7;
}

@media screen and (max-width: 767px) {
  .hapteq-industries-intro {
    width: calc(100% - 32px);
    margin: 40px auto;
  }

  .hapteq-industries-intro-title {
    font-size: 22px;
  }

  .hapteq-industries-intro p:last-child {
    font-size: 15px;
  }
}

.hapteq-industries {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 8% 12%, rgba(170, 210, 255, 0.45), transparent 26%),
    radial-gradient(circle at 96% 0%, rgba(32, 68, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #f3f8ff 0%, #f7fbff 100%);
}

.hapteq-industries-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.hapteq-industries-head > span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #2044ff;
  font-size: 13px;
  font-weight: 700;
}

.hapteq-industries-head h2 {
  margin: 0 0 10px;
  color: #142033;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hapteq-industries-head p {
  margin: 0;
  color: #667085;
  font-size: 16px;
}

.hapteq-industries-wrap {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
}

.hapteq-industries-slider {
  position: relative;
}

.hapteq-industries-viewport {
  overflow: hidden;
}

.hapteq-industries-track {
  display: flex;
  transition: transform 0.45s ease;
}

.hapteq-industries-grid {
  display: grid;
  flex: 0 0 100%;
  gap: 22px;
  align-items: stretch;
  min-width: 0;
}

.hapteq-industries-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #2044ff;
  color: #fff;
  box-shadow: 0 8px 18px rgba(32, 68, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hapteq-industries-nav:hover {
  background: #1455ff;
  transform: scale(1.06);
}

.hapteq-industries-nav-prev {
  left: -22px;
}

.hapteq-industries-nav-next {
  right: -22px;
}

.hapteq-industry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(32, 68, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hapteq-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(32, 68, 255, 0.14);
}

.hapteq-industry-media {
  position: relative;
  aspect-ratio: 1 / 1;
}

.hapteq-industry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hapteq-industry-mark {
  position: absolute;
  left: 18px;
  bottom: -18px;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #2044ff;
  color: #fff;
  box-shadow: 0 8px 16px rgba(32, 68, 255, 0.28);
}

.hapteq-industry-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 22px 20px;
}

.hapteq-industry-body h3 {
  margin: 0;
  color: #142033;
  font-size: 20px;
  font-weight: 700;
}

.hapteq-industry-body > p {
  margin: 8px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.hapteq-industry-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hapteq-industry-body li {
  color: #3d4a63;
  font-size: 13px;
}

.hapteq-industry-body li::before {
  content: "✓";
  margin-right: 6px;
  color: #2044ff;
  font-weight: 700;
}

@media screen and (max-width: 1199px) {
  .hapteq-industries-wrap {
    width: min(1280px, calc(100% - 72px));
  }
}

@media screen and (max-width: 767px) {
  .hapteq-industries {
    padding: 56px 0 64px;
  }

  .hapteq-industries-head h2 {
    font-size: 32px;
  }

  .hapteq-industries-wrap {
    width: calc(100% - 32px);
  }

  .hapteq-industries-nav {
    top: 38%;
    width: 36px;
    height: 36px;
  }

  .hapteq-industries-nav-prev {
    left: -6px;
  }

  .hapteq-industries-nav-next {
    right: -6px;
  }
}

.hapteq-services-hero {
  padding: 132px 7% 56px;
  background:
    radial-gradient(circle at 12% 80%, rgba(180, 210, 255, 0.45), transparent 22%),
    radial-gradient(circle at 88% 30%, rgba(190, 220, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.hapteq-services-hero-head {
  margin-bottom: 28px;
  text-align: center;
}

.hapteq-services-hero-head h1 {
  margin: 0 0 10px;
  color: #142033;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hapteq-services-hero-head nav {
  color: #8b95a7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hapteq-services-hero-head a {
  color: #8b95a7;
}

.hapteq-services-hero-head a:hover {
  color: #2044ff;
}

.hapteq-services-crumb-sep {
  margin: 0 10px;
}

.hapteq-services-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 28px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hapteq-services-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #2044ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hapteq-services-hero-copy h2 {
  margin: 0 0 16px;
  color: #142033;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hapteq-services-hero-copy h2 em {
  color: #2044ff;
  font-style: normal;
}

.hapteq-services-hero-copy p {
  max-width: 460px;
  margin: 0 0 28px;
  color: #667085;
  font-size: 16px;
  line-height: 1.7;
}

.hapteq-services-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #2044ff;
  color: #fff !important;
  font-weight: 700;
}

.hapteq-services-cta:hover {
  background: #1455ff;
  color: #fff !important;
}

.hapteq-services-hero-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at 58% 48%, #000 42%, transparent 76%);
  mask-image: radial-gradient(ellipse at 58% 48%, #000 42%, transparent 76%);
  background: transparent;
}

body.hapteq-services .cs-shape_wrap_4 > .container > .row {
  align-items: flex-start;
}

body.hapteq-services .cs-shape_wrap_4 .col-xl-4 .cs-height_90 {
  height: 0;
}

@media screen and (min-width: 1200px) {
  body.hapteq-services .cs-shape_wrap_4 .cs-section_heading {
    max-width: 460px;
    margin-top: 190px;
    margin-left: auto;
    padding-right: 28px;
  }
}

.hapteq-services-cta-lead {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto 32px;
  text-align: center;
}

.hapteq-services-cta-lead p {
  margin: 0;
  color: #142033;
  font-family: "Satisfy", cursive;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

body.hapteq-services [class*="cs-height_"]:has(+ .hapteq-services-cta-lead),
body.hapteq-services [class*="cs-height_"]:has(+ [class*="cs-height_"] + .hapteq-services-cta-lead) {
  height: 20px !important;
}

body.hapteq-services .hapteq-services-cta-lead + .container .cs-cta.cs-style1,
body.hapteq-services .hapteq-services-cta-lead + .cs-cta.cs-style1 {
  margin-bottom: 72px;
}

@media screen and (max-width: 991px) {
  .hapteq-services-hero {
    padding: 116px 6% 40px;
  }

  .hapteq-services-hero-grid {
    grid-template-columns: 1fr;
  }

  .hapteq-services-hero-copy h2,
  .hapteq-services-hero-head h1 {
    font-size: 34px;
  }

  .hapteq-services-hero-grid img {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1199px) {
  body.hapteq-services .cs-shape_wrap_4 .cs-section_heading {
    max-width: 640px;
    margin: 0 auto 8px;
    text-align: center;
  }
}

.hapteq-contact-map {
  width: 100%;
  height: 460px;
  margin-bottom: 32px;
  background: #e8f3ff;
}

.hapteq-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

footer.cs-fooer {
  position: relative;
  overflow: hidden;
  color: #c9d2e3;
  background: linear-gradient(180deg, #00143a 0%, #061b45 100%);
}

.hapteq-footer-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(rgba(150, 190, 255, 0.7) 1.1px, transparent 1.3px) right 24px top 18px / 16px 16px no-repeat,
    radial-gradient(circle at -8% -20%, transparent 34%, rgba(20, 85, 255, 0.55) 35%, transparent 52%),
    radial-gradient(circle at 112% 118%, rgba(20, 85, 255, 0.45), transparent 46%);
  -webkit-mask-image: linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000);
}

.hapteq-footer-art::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 150px;
  background-image: radial-gradient(rgba(160, 195, 255, 0.75) 1.15px, transparent 1.3px);
  background-size: 15px 15px;
}

footer.cs-fooer .cs-fooer_main,
footer.cs-fooer > .container {
  position: relative;
  z-index: 1;
}

footer.cs-fooer .cs-widget_title {
  color: #ffffff;
  font-weight: 700;
}

footer.cs-fooer .cs-text_widget p,
footer.cs-fooer .cs-menu_widget.cs-style1,
footer.cs-fooer .cs-menu_widget.cs-style1 a,
footer.cs-fooer .cs-newsletter_text,
footer.cs-fooer .cs-copyright {
  color: #c5cedd;
}

footer.cs-fooer .cs-menu_widget.cs-style1 a:hover,
footer.cs-fooer .cs-menu_widget.cs-style2 a:hover {
  color: #1455ff;
}

footer.cs-fooer .cs-menu_widget.cs-style1 li {
  align-items: flex-start;
  gap: 12px;
}

footer.cs-fooer .cs-menu_widget.cs-style1 li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: #1455ff;
  color: #ffffff;
  font-size: 14px;
}

footer.cs-fooer .cs-social_btns.cs-style1 a {
  border: 1.5px solid #1455ff;
  color: #1455ff;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

footer.cs-fooer .cs-social_btns.cs-style1 a:hover {
  background: #1455ff;
  color: #ffffff;
  border-color: #1455ff;
}

footer.cs-fooer .cs-social_btns.cs-style1 a:hover svg {
  fill: #ffffff;
}

footer.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_input {
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(20, 85, 255, 0.65);
  background: rgba(8, 24, 64, 0.45);
  color: #ffffff;
}

footer.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_input::placeholder {
  color: #9aa8c2;
}

footer.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_btn {
  top: 4px;
  right: 4px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: #1455ff;
}

footer.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_btn:hover {
  background: #2d6bff;
}

footer.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_btn:before {
  display: none;
}

footer.cs-fooer .cs-bottom_footer {
  border-top: 1px solid rgba(20, 85, 255, 0.7);
  padding: 22px 0;
}

footer.cs-fooer .cs-menu_widget.cs-style2 a,
footer.cs-fooer .cs-menu_widget.cs-style2 li:not(:last-child)::after {
  color: #1455ff;
}

body.hapteq-portfolio .cs-height_100:has(+ .cs-height_125 + .cs-height_0 + .container .cs-cta),
body.hapteq-portfolio .cs-height_125:has(+ .cs-height_0 + .container .cs-cta) {
  height: 0 !important;
  min-height: 0 !important;
}

body.hapteq-portfolio .cs-cta.cs-style1 {
  margin-top: 24px;
  margin-bottom: 88px;
}

@media screen and (max-width: 767px) {
  body.hapteq-portfolio .cs-cta.cs-style1 {
    margin-top: 16px;
    margin-bottom: 56px;
  }
}

@media screen and (max-width: 991px) {
  footer.cs-fooer .cs-footer_item {
    margin-bottom: 28px;
  }
}

@media screen and (max-width: 991px) {
  .hapteq-contact {
    padding: 48px 6% 56px;
  }

  .hapteq-contact-map {
    height: 320px;
    margin-bottom: 32px;
  }

  .hapteq-contact-grid,
  .hapteq-contact-fields {
    grid-template-columns: 1fr;
  }

  .hapteq-contact-copy h1 {
    font-size: 40px;
  }
}

html {
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .cs-hero .cs-hero_title,
  .cs-page_heading .cs-page_title,
  .hapteq-about-hero h1,
  .hapteq-services-hero-head h1,
  .hapteq-services-hero-copy h2,
  .hapteq-contact-copy h1,
  .hapteq-industries-head h2,
  .hapteq-industries-intro-title {
    font-size: clamp(28px, 8vw, 40px) !important;
  }

  .hapteq-contact-card input,
  .hapteq-contact-card textarea,
  footer.cs-fooer .cs-newsletter_input,
  footer.cs-fooer .cs-newsletter_form {
    max-width: 100%;
  }

  footer.cs-fooer .cs-bottom_footer {
    row-gap: 12px;
  }

  footer.cs-fooer .cs-menu_widget.cs-style2 {
    justify-content: center;
  }

  .hapteq-industries-wrap,
  .hapteq-services-hero,
  .hapteq-about .container {
    max-width: 100%;
  }
}
