/*============================================================
  NexPhase modern redesign overrides
  Loaded after style.css — content/sections/images preserved.
============================================================*/

:root {
  --web-wash: #ffffff;
  --primary: #0d0d0d;
  --secondary: #5c6570;
  --border: #E2E6EB;
  --surface: #ffffff;
  --surface-muted: #F4F6F8;
  --surface-cool: #EEF3F8;
  --accent-soft: rgba(21, 101, 192, 0.1);
  --accent-soft-strong: rgba(21, 101, 192, 0.16);
  --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 8px 28px rgba(15, 23, 42, 0.06);
  --radius-media: 14px;
  --radius-card: 16px;
  --gray-color: #F4F6F8;
  --secondary-color: #5c6570;
}

body {
  background-color: var(--surface);
  color: var(--secondary-color);
}

/* ------------------------------------------------------------
   Logo / chrome
------------------------------------------------------------ */
.cs_site_header .cs_site_logo {
  width: 260px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 1399px) {
  .cs_site_header .cs_site_logo {
    width: 220px;
  }
}

@media (max-width: 575px) {
  .cs_site_header .cs_site_logo {
    width: 180px;
  }
}

.cs_site_header.cs_sticky_active {
  background-color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.cs_nav_list > li > a {
  transition: color 0.25s ease;
}

.cs_nav_list > li.active > a,
.cs_nav_list > li > a:hover {
  color: var(--accent-color);
}

.cs_site_header .cs_dropdown_list li.active > a,
.cs_site_header .cs_dropdown_list li > a:hover {
  color: var(--accent-color);
}

.cs_site_header .cs_dropdown_list li.active > a {
  font-weight: 700;
}

.cs_site_header.cs_header_white:not(.cs_sticky_active) .cs_nav_list > li.active > a {
  color: var(--accent-color);
}

.cs_btn_style_1 {
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.cs_btn_style_1:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.28);
  color: var(--white-color) !important;
  border-color: transparent !important;
}

/* Keep solid blue fill on hover — theme shrinks ::before which looks transparent */
.cs_btn_style_1:hover::before {
  transform: scale(50) !important;
}

.cs_btn_style_1:hover .cs_btn_icon {
  color: var(--accent-color) !important;
  background-color: var(--white-color) !important;
}

/* ------------------------------------------------------------
   Surfaces & section rhythm
------------------------------------------------------------ */
.cs_gray_bg,
.np-surface-muted {
  background-color: var(--surface-muted) !important;
}

.np-surface {
  background-color: var(--surface);
}

.np-surface-cool {
  background:
    radial-gradient(1200px 400px at 10% 0%, var(--accent-soft), transparent 55%),
    linear-gradient(180deg, var(--surface-cool) 0%, var(--surface) 100%);
}

#mission,
#value,
#expertise,
#services {
  position: relative;
}

#services {
  background:
    radial-gradient(900px 320px at 80% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
  padding-top: 20px;
}

#expertise {
  background: var(--surface);
  padding-bottom: 40px;
}

/* ------------------------------------------------------------
   Typography
------------------------------------------------------------ */
.cs_section_subtitle.cs_accent_color {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Centered headings: keep accent dot with the text (not stuck at far left) */
.cs_section_heading_style_1.text-center .cs_section_subtitle,
.cs_center_column .cs_section_subtitle,
.text-center > .cs_section_heading_style_1 .cs_section_subtitle,
.text-center .cs_section_heading_style_1 .cs_section_subtitle {
  display: inline-block;
  padding-left: 20px;
}

.cs_section_heading_style_1.text-center .cs_section_subtitle::before,
.cs_center_column .cs_section_subtitle::before,
.text-center .cs_section_heading_style_1 .cs_section_subtitle::before {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.cs_section_title {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cs_section_desc,
.cs_about_desc,
.cs_client_comment,
.cs_iconbox_subtitle {
  color: var(--secondary-color);
  line-height: 1.7;
}

/* Keep service card descriptions to max 4 lines */
.cs_iconbox_style_1 .cs_iconbox_subtitle {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------
   Media frames
------------------------------------------------------------ */
.cs_about_style_1 .cs_about_img1,
.cs_hero_style_1 .cs_hero_thumbnail,
.cs_hero_style_1 .cs_hero_img2,
.cs_skills_layout_1 .cs_skill_thumbnail,
.cs_testimonial_style_1 .cs_testimonial_thumbnail,
.cs_testimonial_style_1 .cs_avatar,
.cs_service_banner {
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cs_about_style_1 .cs_about_img1 img,
.cs_skills_layout_1 .cs_skill_thumbnail img,
.cs_testimonial_style_1 .cs_testimonial_thumbnail img,
.cs_hero_style_1 .cs_hero_thumbnail img,
.cs_hero_style_1 .cs_hero_img2 img {
  display: block;
  width: 100%;
  transition: transform 0.55s ease;
}

.cs_about_style_1 .cs_about_img1:hover img,
.cs_skills_layout_1 .cs_skill_thumbnail:hover img,
.cs_hero_style_1 .cs_hero_thumbnail:hover img {
  transform: scale(1.03);
}

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.cs_hero_style_1 {
  background:
    radial-gradient(1000px 500px at 85% 15%, var(--accent-soft), transparent 50%),
    linear-gradient(180deg, #F7F9FC 0%, var(--surface-muted) 100%) !important;
}

.cs_hero_style_1 .cs_section_title {
  max-width: none;
}

.cs_hero_style_1 .np-overview-title-line {
  display: block;
}

@media (min-width: 992px) {
  .cs_hero_style_1 .np-overview-title-line {
    white-space: nowrap;
  }
}

.cs_hero_style_1 .cs_section_desc {
  max-width: 42rem;
  font-size: 1.05rem;
}

/* ------------------------------------------------------------
   Marquee
------------------------------------------------------------ */
.cs_horizontal_slider.cs_type_1 {
  padding: 18px 0;
}

.cs_horizontal_slider.cs_type_1 .cs_sliding_content {
  letter-spacing: 0.04em;
}

.cs_sliding_content span {
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   About / mission / value alignment
------------------------------------------------------------ */
.cs_about_style_1 .cs_about_content_wrapper,
.cs_about_style_1 .cs_about_content_wrapper.leadership-reverse {
  align-items: flex-start !important;
  gap: 48px 56px;
}

.cs_about_style_1 .cs_about_img_wrapper,
.cs_about_style_1.cs_about_img_right .cs_about_img_wrapper {
  padding: 0 !important;
}

.cs_about_style_1 .cs_about_text,
.cs_about_style_1.cs_about_img_right .cs_about_text {
  padding: 0;
  margin-top: 0;
}

.cs_about_style_1 .cs_list_style_1.cs_list_single {
  grid-template-columns: 1fr;
}

.cs_about_style_1 .cs_about_img1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cs_about_style_1 .cs_list_style_1 li {
  transition: transform 0.25s ease;
}

.cs_about_style_1 .cs_list_style_1 li:hover {
  transform: translateX(4px);
}

.leadership-reverse {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 56px;
}

.leadership-reverse .cs_about_img1 img {
  width: 100%;
  border-radius: var(--radius-media);
}

@media (max-width: 991px) {
  .leadership-reverse {
    flex-direction: column;
  }

  .cs_about_style_1 .cs_about_content_wrapper {
    gap: 28px;
  }
}

.cs_mt_role {
  margin-top: 10px;
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   Service cards — modern, no heavy black invert
------------------------------------------------------------ */
.cs_service_grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  padding: 0 12px 8px;
}

@media (max-width: 1199px) {
  .cs_service_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cs_service_grid {
    grid-template-columns: 1fr;
  }
}

.cs_service_grid .cs_iconbox_style_1 {
  min-height: 100%;
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-card) !important;
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cs_service_grid .cs_iconbox_style_1::before,
.cs_service_grid .cs_iconbox_style_1::after {
  display: none;
}

.cs_service_grid .cs_iconbox_style_1:hover {
  transform: translateY(-8px);
  border-color: rgba(21, 101, 192, 0.35);
  box-shadow: 0 18px 40px rgba(21, 101, 192, 0.12);
  color: inherit;
  background: var(--surface) !important;
}

.cs_service_grid .cs_iconbox_style_1:hover .cs_iconbox_title,
.cs_service_grid .cs_iconbox_style_1:hover .cs_iconbox_title a,
.cs_service_grid .cs_iconbox_style_1:hover .cs_iconbox_subtitle {
  color: var(--primary-color);
}

.cs_service_grid .cs_iconbox_info {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.cs_service_grid .cs_text_btn_style_1 {
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.cs_service_grid .cs_iconbox_style_1:hover .cs_text_btn_style_1 {
  color: var(--accent-color);
}

.cs_iconbox_style_1 .cs_iconbox_icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-soft);
  margin-bottom: 20px !important;
}

.cs_iconbox_style_1 .cs_iconbox_icon img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(1486%) hue-rotate(196deg) brightness(93%) contrast(91%);
}

.cs_service_grid .cs_iconbox_style_1:hover .cs_iconbox_icon {
  background: var(--accent-soft-strong);
}

.cs_service_grid .cs_iconbox_style_1:hover .cs_iconbox_icon img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(1486%) hue-rotate(196deg) brightness(93%) contrast(91%);
}

.cs_iconbox_style_7 {
  min-height: 100%;
  align-items: flex-start;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs_iconbox_style_7:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.cs_iconbox_style_7 .cs_iconbox_subtitle {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------
   Expertise
------------------------------------------------------------ */
.cs_skills_layout_1 .row.align-items-start,
.cs_skills_layout_1 .row.align-items-center {
  align-items: flex-start !important;
}

.cs_skills_layout_1 .cs_skill_info {
  width: 100%;
  margin-left: 0;
  padding-top: 0;
}

.cs_skills_layout_1 .cs_skill_thumbnail {
  padding-right: 28px;
}

.cs_skills_layout_1 .cs_section_heading_style_1 {
  margin-top: 0;
  padding-top: 0;
}

/* Match other section titles + keep Expertise heading on 2 lines */
#expertise .np-expertise-title-line {
  display: block;
}

@media (min-width: 992px) {
  #expertise .cs_skill_info {
    width: calc(100% + 48px);
  }

  #expertise .np-expertise-title-line {
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .cs_skills_layout_1 .cs_skill_thumbnail {
    padding-right: 0;
  }
}

/* ------------------------------------------------------------
   Testimonials
------------------------------------------------------------ */
.cs_testimonial_style_1 {
  background:
    radial-gradient(800px 280px at 20% 0%, var(--accent-soft), transparent 55%),
    var(--surface-muted) !important;
}

/* Stretch columns so left image bottom matches right card bottom */
@media (min-width: 992px) {
  .cs_testimonial_style_1 .cs_testimonial_row {
    align-items: stretch !important;
  }

  .cs_testimonial_style_1 .cs_testimonial_row > [class*="col-"] {
    display: flex;
    align-self: stretch !important;
  }

  .cs_testimonial_style_1 .cs_testimonial_left {
    width: 100%;
    height: 100%;
    align-items: stretch;
  }

  .cs_testimonial_style_1 .cs_testimonial_thumbnail {
    flex: 1 1 auto;
    width: min(60%, 410px);
    height: auto;
    min-height: 100%;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .cs_testimonial_style_1 .cs_testimonial_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cs_testimonial_style_1 .cs_testimonial_avatar {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .cs_testimonial_style_1 .cs_testimonial_avatar .cs_avatar {
    flex: 1 1 auto;
    aspect-ratio: auto;
    min-height: 0;
  }

  .cs_testimonial_style_1 .cs_testimonial_right {
    width: 100%;
    margin-left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  .cs_testimonial_style_1 .cs_testimonial_header {
    flex: 0 0 auto;
    margin-top: 0;
  }

  .cs_testimonial_style_1 .cs_testimonial_slider {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-bottom: 48px;
  }

  .cs_testimonial_style_1 .cs_testimonial_slider .swiper-wrapper {
    flex: 1 1 auto;
    height: auto !important;
    align-items: stretch;
  }

  .cs_testimonial_style_1 .cs_testimonial_slider .swiper-slide {
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    display: flex;
  }

  .cs_testimonial_style_1 .cs_client_review {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
  }
}

@media (max-width: 991px) {
  .cs_testimonial_style_1 .cs_testimonial_right {
    padding-top: 0;
  }

  .cs_testimonial_style_1 .cs_testimonial_header {
    margin-top: 0;
  }

  .cs_testimonial_style_1 .cs_testimonial_slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-bottom: 48px;
  }

  .cs_testimonial_style_1 .cs_testimonial_slider .swiper-wrapper {
    align-items: stretch;
  }

  .cs_testimonial_style_1 .cs_testimonial_slider .swiper-slide {
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    display: flex;
  }

  .cs_testimonial_style_1 .cs_client_review {
    flex: 1 1 auto;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
  }
}

.cs_testimonial_style_1 .cs_client_comment {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  text-align: left;
}

.cs_testimonial_style_1 .cs_rating_info {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 20px;
}

/* Keep dots centered under the card without breaking the slider */
.cs_testimonial_style_1 .cs_testimonial_slider .swiper-pagination.cs_style_3 {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 6px !important;
  width: 100% !important;
  height: 16px;
  margin-top: 0;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  gap: 10px;
  overflow: visible;
}

.cs_testimonial_style_1 .cs_testimonial_slider .swiper-pagination.cs_style_3 .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  flex: none;
}

/* Avoid scale() — it gets clipped by slider overflow:hidden */
.cs_testimonial_style_1 .swiper-pagination.cs_style_3 .swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: none !important;
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------
   About page cards
------------------------------------------------------------ */
.cs_section_intro {
  max-width: 850px;
  color: var(--secondary-color);
  font-size: 16px;
  line-height: 1.7;
}

.cs_diff_card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-align: left;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cs_diff_card:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 101, 192, 0.28);
  box-shadow: 0 16px 36px rgba(21, 101, 192, 0.1);
}

.cs_diff_card_title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
}

.cs_diff_card_text {
  margin: 0;
  color: var(--secondary-color);
  font-size: 15px;
  line-height: 1.7;
}

.cs_consulting_approach {
  background-color: var(--surface);
}

.cs_consulting_block {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-color);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs_consulting_block:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.cs_consulting_block_title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
}

.cs_consulting_block_text {
  margin: 0;
  color: var(--secondary-color);
  font-size: 15px;
  line-height: 1.7;
}

/* ------------------------------------------------------------
   Page header / CTA
------------------------------------------------------------ */
.cs_page_header_style_1 .cs_page_header_title {
  letter-spacing: -0.02em;
}

.cs_cta_style_1 {
  background-color: #0d0d0d;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-blend-mode: normal;
}

.cs_cta_style_1.cs_bg_fixed {
  background-attachment: fixed;
}

.cs_cta_style_1 .cs_cta_overlay {
  opacity: 0.55;
  background-color: rgba(13, 13, 13, 0.55) !important;
  z-index: 0;
}

.cs_cta_style_1 .cs_cta_content {
  z-index: 2;
}

.cs_cta_style_1 .cs_cta_title {
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.cs_cta_style_1 .cs_logo_text_wrapper {
  top: auto;
  left: auto;
  margin-left: auto;
  margin-right: auto;
  transform: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.cs_cta_style_1 .cs_logo_text_wrapper .cs_text_logo img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.cs_cta_style_1 .cs_logo_text_wrapper .cs_arrow_icon {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {
  .cs_cta_style_1.cs_bg_fixed {
    background-attachment: scroll;
  }
}

/* ------------------------------------------------------------
   Contact map — portrait
------------------------------------------------------------ */
.cs_contact_map {
  width: 60vw;
  height: 100%;
  min-height: 650px;
  padding-left: 60px;
  margin-left: -12px;
}

.cs_contact_map iframe {
  width: 100%;
  height: 100%;
  min-height: 650px;
  border: 0;
  display: block;
  filter: none;
  opacity: 1;
}

@media (max-width: 991px) {
  .cs_contact_map {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 420px;
  }

  .cs_contact_map iframe {
    min-height: 420px;
  }
}

.cs_contact_form .cs_form_field {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cs_contact_form .cs_form_field:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ------------------------------------------------------------
   Service details
------------------------------------------------------------ */
.cs_sidebar_contact_link {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs_sidebar_contact_link:hover {
  opacity: 0.85;
}

.cs_sidebar_style_3 .cs_contact_card .cs_contact_card_inner {
  min-height: 420px;
}

/* Align Need card bottom with Core Focus list bottom */
@media (min-width: 992px) {
  .cs_service_details_row {
    align-items: stretch !important;
  }

  .cs_service_details_row > [class*="col-"] {
    display: flex;
  }

  .cs_service_details_row .cs_sidebar_style_3 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .cs_service_details_row .cs_sidebar_style_3 > .cs_sidebar_widget:last-child {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
  }

  .cs_service_details_row .cs_contact_card {
    flex: 1 1 auto;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 20px;
  }

  .cs_service_details_row .cs_contact_card .cs_contact_card_inner {
    flex: 1 1 auto;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
}

.cs_service_list_wrapper {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

/* Core focus — simple check list (no cards/boxes) */
.cs_service_details .cs_focus_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  margin-top: 16px;
}

.cs_service_details .cs_focus_list li {
  position: relative;
  padding-left: 40px;
  margin: 0;
  list-style: none;
}

.cs_service_details .cs_focus_list li img {
  position: absolute;
  top: 2px;
  left: 0;
  width: 28px;
  height: 28px;
}

.cs_service_details .cs_focus_list .cs_list_info {
  display: block;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .cs_service_details .cs_focus_list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ------------------------------------------------------------
   Footer — dark modern, equal columns
------------------------------------------------------------ */
.cs_footer_dark {
  background-color: #0d0d0d;
  color: rgba(255, 255, 255, 0.72);
}

.cs_footer_dark .cs_footer_cta_band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(700px 240px at 50% 100%, var(--accent-soft), transparent 55%),
    #F4F6F8;
  color: var(--primary-color);
}

.cs_footer_dark .cs_footer_cta_band > .container,
.cs_footer_dark .cs_footer_cta_band > .cs_height_80 {
  position: relative;
  z-index: 1;
}

.np-three-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.np-three-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.np-three-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.np-three-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 15%, rgba(255, 255, 255, 0.45) 68%, rgba(255, 255, 255, 0.82) 100%);
}

.np-three-theme-soft .np-three-canvas {
  opacity: 0.42;
}

.np-three-theme-soft .np-three-fade {
  background:
    radial-gradient(ellipse at 70% 30%, transparent 10%, rgba(244, 246, 248, 0.5) 65%, rgba(244, 246, 248, 0.88) 100%);
}

.np-three-theme-header .np-three-canvas {
  opacity: 0.4;
}

.np-three-theme-header .np-three-fade {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(13, 13, 13, 0.25) 75%, rgba(13, 13, 13, 0.45) 100%);
}

.np-three-theme-dark .np-three-canvas {
  opacity: 0.45;
}

.np-three-theme-dark .np-three-fade {
  background:
    radial-gradient(ellipse at 50% 40%, transparent 18%, rgba(13, 13, 13, 0.35) 80%);
}

.np-three-section > .container,
.np-three-section > .container-fluid {
  position: relative;
  z-index: 1;
}

.np-three-section > .cs_overlay {
  z-index: 1;
}

.cs_page_header_style_1.np-three-section .container {
  z-index: 2;
}

.cs_page_header_style_1.np-three-section .cs_page_header_content {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .np-three-canvas {
    opacity: 0.32;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-three-canvas {
    opacity: 0.22;
  }
}

/* Home: Let's Work as its own section (separate from Testimonials + Footer) */
.cs_lets_work_section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(800px 280px at 50% 0%, var(--accent-soft), transparent 55%),
    #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cs_lets_work_section .cs_footer_logo {
  width: min(100%, 860px);
  margin: 0 auto;
  padding-bottom: 80px;
}

.cs_lets_work_section .cs_logo_text_wrapper {
  position: absolute;
  left: 64px;
  bottom: 60px;
  background-color: #ffffff;
}

@media (max-width: 991px) {
  .cs_lets_work_section .cs_logo_text_wrapper {
    left: 0;
  }
}

@media (max-width: 575px) {
  .cs_lets_work_section .cs_footer_logo {
    padding-bottom: 50px;
  }

  .cs_lets_work_section .cs_logo_text_wrapper {
    position: relative;
    top: initial;
    bottom: initial;
    left: initial;
    transform: none;
    margin: 24px auto 0;
  }
}

.cs_footer_style_1.cs_footer_dark .cs_footer_logo {
  width: min(100%, 860px);
  margin: 0 auto;
  padding-bottom: 80px;
}

.cs_footer_style_1.cs_footer_dark .cs_footer_logo > a {
  display: block;
}

.cs_footer_style_1.cs_footer_dark .cs_logo_text_wrapper {
  position: absolute;
  left: 64px;
  bottom: 60px;
  background-color: #F4F6F8;
}

.cs_footer_dark .cs_footer_main {
  background-color: #0d0d0d;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs_footer_style_1.cs_footer_dark .cs_footer_rows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.cs_footer_style_1.cs_footer_dark .cs_footer_col,
.cs_footer_style_1.cs_footer_dark .cs_footer_col:first-child,
.cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(2),
.cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(3),
.cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(4) {
  flex: none;
  width: auto;
  min-width: 0;
  padding: 64px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.cs_footer_style_1.cs_footer_dark .cs_footer_col:first-child {
  border-left: 0;
  padding-left: 0;
}

.cs_footer_style_1.cs_footer_dark .cs_footer_col:last-child {
  padding-right: 0;
}

.cs_footer_dark .cs_footer_widget {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cs_footer_dark .cs_footer_about_logo {
  margin-bottom: 22px;
  line-height: 0;
}

.cs_footer_dark .cs_footer_brand_logo,
.cs_footer_brand_logo {
  width: 168px;
  height: auto;
  max-width: 100%;
}

.cs_footer_dark .cs_footer_about_text {
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
  color: rgba(255, 255, 255, 0.62);
}

.cs_footer_dark .cs_footer_widget_title {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  min-height: 1.3em;
}

.cs_footer_dark .cs_footer_menu_list,
.cs_footer_dark .cs_footer_contact_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs_footer_dark .cs_footer_menu_list li:not(:last-child),
.cs_footer_dark .cs_footer_contact_list li:not(:last-child) {
  margin-bottom: 14px;
}

.cs_footer_dark .cs_footer_menu_list a,
.cs_footer_dark .cs_footer_contact_list a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s ease;
}

.cs_footer_dark .cs_footer_menu_list a:hover,
.cs_footer_dark .cs_footer_contact_list a:hover {
  color: var(--accent-color);
}

.cs_footer_style_1.cs_footer_dark .cs_footer_contact_list a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs_footer_style_1.cs_footer_dark .cs_footer_contact_icon {
  flex: none;
  width: 20px;
  height: auto;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #64B5F6;
  font-size: 15px;
  line-height: 1;
}

.cs_footer_style_1.cs_footer_dark .cs_footer_contact_list a:hover .cs_footer_contact_icon {
  color: #90CAF9;
}

.cs_footer_dark .cs_footer_bottom {
  background-color: #0a0a0a;
}

.cs_footer_dark .cs_footer_bottom_content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  text-align: center;
}

.cs_footer_dark .cs_copywright_text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 1199px) {
  .cs_footer_style_1.cs_footer_dark .cs_footer_col,
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:first-child,
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:last-child {
    padding: 56px 20px;
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col:first-child {
    padding-left: 0;
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col:last-child {
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  .cs_footer_style_1.cs_footer_dark .cs_logo_text_wrapper {
    left: 0;
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 48px 0 24px;
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col,
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:first-child,
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(2),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(3),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(4),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:last-child {
    padding: 24px 20px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(even) {
    padding-right: 0;
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(3),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(4) {
    border-bottom: 0;
  }

  .cs_footer_dark .cs_footer_about_text {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .cs_footer_style_1.cs_footer_dark .cs_footer_logo {
    padding-bottom: 50px;
  }

  .cs_footer_style_1.cs_footer_dark .cs_logo_text_wrapper {
    position: relative;
    top: initial;
    bottom: initial;
    left: initial;
    transform: none;
    margin: 24px auto 0;
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_rows {
    grid-template-columns: 1fr;
    padding: 36px 0 12px;
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col,
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:first-child,
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(odd),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(even),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(3),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:nth-child(4),
  .cs_footer_style_1.cs_footer_dark .cs_footer_col:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cs_footer_style_1.cs_footer_dark .cs_footer_col:last-child {
    border-bottom: 0;
  }

  .cs_footer_dark .cs_footer_widget_title {
    margin-bottom: 18px;
  }
}

/* ------------------------------------------------------------
   Motion / a11y
------------------------------------------------------------ */
.cs_text_justify {
  text-align: justify;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
