/* EcoStrategics homepage interaction fixes: responsive slider, project cards, and testimonial removal. */

/* Keep any legacy/cached testimonial output hidden on the homepage. */
.home .testimonial-section,
.front-page .testimonial-section,
body.home section[class*="testimonial"],
body.front-page section[class*="testimonial"] {
  display: none !important;
}

/* Horizontal, touch-friendly service carousel. */
.service-section-solve .ecos-service-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.service-section-solve .ecos-service-slider::-webkit-scrollbar { display: none; }
.service-section-solve .ecos-service-slider > [class*="col-"] {
  flex: 0 0 25%;
  max-width: 25%;
  scroll-snap-align: start;
}
.ecos-slider-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.ecos-slider-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #6853d6;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ecos-slider-controls button:hover { transform: translateY(-2px); background: #6853d6; color: #fff; }
.ecos-slider-controls button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.service-section-solve .service-card-items { height: 100%; }
@media (max-width: 991.98px) {
  .service-section-solve .ecos-service-slider > [class*="col-"] { flex-basis: 50%; max-width: 50%; }
}
@media (max-width: 575.98px) {
  .service-section-solve .ecos-service-slider > [class*="col-"] { flex-basis: 86%; max-width: 86%; }
  .ecos-slider-controls { justify-content: flex-end; margin-top: 20px; padding-right: 2px; }
  .ecos-slider-controls button { width: 42px; height: 42px; }
}

/* Reference project-card interaction: hover/focus expands a card; tap works on touch screens. */
.project-wrapper {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}
.project-wrapper .project-image-items {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 550px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 5px;
  transition: flex-grow .55s ease, flex-basis .55s ease, transform .4s ease;
}
.project-wrapper .project-image-items > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.project-wrapper .project-image-items.active,
.project-wrapper .project-image-items:focus-within {
  flex-grow: 3.2;
}
.project-wrapper .project-image-items .content {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 22px;
  transition: left .4s ease, right .4s ease, bottom .4s ease;
}
.project-wrapper .project-image-items .content h4 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0;
  transition: transform .4s ease;
}
.project-wrapper .project-image-items.active .content h4,
.project-wrapper .project-image-items:focus-within .content h4 {
  writing-mode: horizontal-tb;
  transform: none;
}
.project-wrapper .project-image-items .content h4 a { color: #fff; }
.project-wrapper .project-image-items .content p {
  margin: 12px 0 0;
  color: #fff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .3s ease, max-height .4s ease;
}
.project-wrapper .project-image-items.active .content p,
.project-wrapper .project-image-items:focus-within .content p {
  opacity: 1;
  max-height: 10rem;
}
.project-wrapper .project-image-items::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.project-wrapper .project-image-items .content { z-index: 3; }
.project-wrapper .project-image-items:focus-visible { outline: 3px solid #6853d6; outline-offset: 3px; }

@media (max-width: 991.98px) {
  .project-wrapper { gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .project-wrapper .project-image-items,
  .project-wrapper .project-image-items.active,
  .project-wrapper .project-image-items:focus-within {
    flex: 0 0 31%;
    height: 360px;
    scroll-snap-align: start;
  }
  .project-wrapper .project-image-items .content { left: 14px; right: 14px; bottom: 16px; }
}
@media (max-width: 575.98px) {
  .project-wrapper { gap: 10px; }
  .project-wrapper .project-image-items,
  .project-wrapper .project-image-items.active,
  .project-wrapper .project-image-items:focus-within {
    flex: 0 0 78%;
    height: 320px;
  }
  .project-wrapper .project-image-items .content h4 { font-size: 18px; }
  .project-wrapper .project-image-items .content p { font-size: 14px; line-height: 1.55; }
}
@media (prefers-reduced-motion: reduce) {
  .service-section-solve .ecos-service-slider { scroll-behavior: auto; }
  .ecos-slider-controls button,
  .project-wrapper .project-image-items,
  .project-wrapper .project-image-items .content,
  .project-wrapper .project-image-items .content h4,
  .project-wrapper .project-image-items .content p { transition: none !important; }
}


/* Services mega menu: two hoverable category groups with clean child labels. */
.header-section .main-menu nav > ul > li.ecos-services-dropdown { position: relative; }
.header-section .main-menu nav > ul > li.ecos-services-dropdown > .ecos-services-mega {
  width: 290px;
  min-width: 290px;
  padding: 12px 0;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 42, 67, .13);
  border-radius: 2px;
  z-index: 9999;
}
.ecos-services-mega > .ecos-service-group { position: relative; display: block; }
.ecos-services-mega > .ecos-service-group > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 22px !important;
  color: #0a3764 !important;
  font-weight: 700 !important;
  line-height: 1.35;
  white-space: nowrap;
}
.ecos-services-mega > .ecos-service-group > a i { color: #ff7028; font-size: 13px; }
.ecos-services-mega > .ecos-service-group:hover > a,
.ecos-services-mega > .ecos-service-group:focus-within > a,
.ecos-services-mega > .ecos-service-group.is-open > a {
  color: #ff7028 !important;
  background: #fff8ef;
}
.ecos-services-mega > .ecos-service-group > .ecos-service-children {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 300px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 42, 67, .13);
  z-index: 10000;
}
.ecos-services-mega > .ecos-service-group:hover > .ecos-service-children,
.ecos-services-mega > .ecos-service-group:focus-within > .ecos-service-children,
.ecos-services-mega > .ecos-service-group.is-open > .ecos-service-children { display: block; }
.ecos-services-mega .ecos-service-children li { display: block; width: 100%; }
.ecos-services-mega .ecos-service-children li a {
  display: block !important;
  padding: 11px 20px !important;
  color: #0a3764 !important;
  font-weight: 500 !important;
  line-height: 1.35;
  white-space: normal;
}
.ecos-services-mega .ecos-service-children li a:hover,
.ecos-services-mega .ecos-service-children li a:focus { color: #ff7028 !important; background: #fff8ef; }
@media (max-width: 1199.98px) {
  .header-section .main-menu nav > ul > li.ecos-services-dropdown > .ecos-services-mega { width: 270px; min-width: 270px; }
  .ecos-services-mega > .ecos-service-group > .ecos-service-children { min-width: 270px; }
}
@media (max-width: 991.98px) {
  .header-section .main-menu nav > ul > li.ecos-services-dropdown > .ecos-services-mega,
  .ecos-services-mega > .ecos-service-group > .ecos-service-children {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
  }
  .ecos-services-mega > .ecos-service-group > .ecos-service-children { padding: 0 0 8px 12px; }
  .ecos-services-mega > .ecos-service-group > a { white-space: normal; }
}


/* Header refinement: remove contact email from the nav and center primary menu. */
@media (min-width: 1200px) {
  .header-section .header-main,
  .header-section-2 .header-main {
    position: relative;
    min-height: 78px;
  }
  .header-section .header-main > .header-left,
  .header-section-2 .header-main > .header-left {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
  }
  .header-section .header-main > .header-right,
  .header-section-2 .header-main > .header-right {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }
  .header-section .header-main .mean__menu-wrapper,
  .header-section-2 .header-main .mean__menu-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: calc(100% - 330px);
    z-index: 3;
  }
  .header-section .header-main .main-menu,
  .header-section-2 .header-main .main-menu { text-align: center; }
  .header-section .header-main .main-menu nav > ul,
  .header-section-2 .header-main .main-menu nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  .header-section .header-main .main-menu nav > ul > li,
  .header-section-2 .header-main .main-menu nav > ul > li { flex: 0 0 auto; }
  .header-section .header-main > .header-right > .theme-btn,
  .header-section-2 .header-main > .header-right > .theme-btn {
    margin-left: auto;
    position: relative;
    z-index: 4;
  }
}
@media (max-width: 1199px) {
  .header-section .header-main .mean__menu-wrapper,
  .header-section-2 .header-main .mean__menu-wrapper {
    position: static;
    transform: none;
    max-width: none;
    width: auto;
  }
}


/* Approved About EcoStrategics capability cards (scoped to this section only). */
.ecos-capabilities-section {
  background: #fff;
}
.ecos-capabilities-section .ecos-capabilities-heading {
  margin-bottom: 34px;
}
.ecos-capabilities-section .ecos-capabilities-heading p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.ecos-capabilities-section .ecos-capability-card {
  height: 100%;
  min-height: 258px;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #EAC02B1A;
  transition: transform .35s ease, box-shadow .35s ease, opacity .55s ease;
}
.ecos-capabilities-section .ecos-capability-card-2 { background: #F054541A; }
.ecos-capabilities-section .ecos-capability-card-3 { background: #49DCA21A; }
.ecos-capabilities-section .ecos-capability-card-4 { background: #6C57D21A; }
.ecos-capabilities-section .ecos-capability-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid #EAC02B0D;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EAC02B1A;
  color: #e9b91a;
  font-size: 40px;
  flex: 0 0 auto;
}
.ecos-capabilities-section .ecos-capability-card-2 .ecos-capability-icon {
  background: rgba(240, 84, 84, .10);
  color: #f05454;
}
.ecos-capabilities-section .ecos-capability-card-3 .ecos-capability-icon {
  background: rgba(73, 220, 162, .12);
  color: #32d6a0;
}
.ecos-capabilities-section .ecos-capability-card-4 .ecos-capability-icon {
  background: rgba(108, 87, 210, .10);
  color: #6c57d2;
}
.ecos-capabilities-section .ecos-capability-card h3 {
  margin: 8px 0 0;
  color: #003566;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}
.ecos-capabilities-section .ecos-capability-card h3 a {
  color: inherit;
}
.ecos-capabilities-section .ecos-capability-card p {
  margin: 32px 0 4px;
  color: #656565;
  font-size: 16px;
  line-height: 30px;
}
.ecos-capabilities-section .ecos-capability-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #6C57D2;
  font-size: 15px;
  font-weight: 900;
}
.ecos-capabilities-section .ecos-capability-link i {
  transition: transform .2s ease;
}
.ecos-capabilities-section .ecos-capability-link:hover i,
.ecos-capabilities-section .ecos-capability-link:focus-visible i {
  transform: translateX(4px);
}
.ecos-capabilities-section .ecos-capability-card.ecos-fade-up {
  opacity: 1;
  transform: translateY(0);
}
.ecos-capabilities-section .ecos-capability-card.ecos-fade-up.is-pending {
  opacity: 0;
  transform: translateY(28px);
}
.ecos-capabilities-section .ecos-capability-card.ecos-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .ecos-capabilities-section .ecos-capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(7, 57, 103, .08);
  }
}
@media (max-width: 767.98px) {
  .ecos-capabilities-section .ecos-capabilities-heading { margin-bottom: 22px; }
  .ecos-capabilities-section .ecos-capability-card {
    min-height: 0;
    padding: 26px 24px;
  }
  .ecos-capabilities-section .ecos-capability-icon {
    width: 68px;
    height: 68px;
    font-size: 34px;
  }
  .ecos-capabilities-section .ecos-capability-card h3 { font-size: 21px; }
  .ecos-capabilities-section .ecos-capability-card p {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.6;
  }
  .ecos-capabilities-section .ecos-capability-link { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecos-capabilities-section .ecos-capability-card,
  .ecos-capabilities-section .ecos-capability-link i {
    transition: none !important;
  }
  .ecos-capabilities-section .ecos-capability-card.ecos-fade-up.is-pending {
    opacity: 1;
    transform: none;
  }
}


/* EcoStrategics services carousel — screenshot-matched pastel cards and supplied SVGs. */
.service-section-solve.ecos-home-services {
  position: relative;
  overflow: hidden;
  background-color: #1b1b1b;
  background-image: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.035), transparent 68%);
}
.service-section-solve.ecos-home-services > .container { position: relative; z-index: 1; }
.service-section-solve.ecos-home-services .section-title { margin-bottom: 34px; }
.service-section-solve.ecos-home-services .section-title > span { color: #ff6b1a; }
.service-section-solve.ecos-home-services .section-title h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.service-section-solve.ecos-home-services .ecos-service-slider {
  /* Extend the viewport to the right edge so the next card peeks into view. */
  width: calc(100% + (100vw - 100%) / 2 - 12px);
  max-width: none;
  margin: 0 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  border-radius: 6px;
  justify-content: flex-start;
  padding: 0;
}
.service-section-solve.ecos-home-services .ecos-service-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.service-section-solve.ecos-home-services .ecos-service-slider.is-wheel-scrolling { scroll-snap-type: none; scroll-behavior: auto; }
.service-section-solve.ecos-home-services .ecos-service-slider::-webkit-scrollbar { display: none; }
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
  flex: 0 0 clamp(224px, calc((100vw - 96px) / 4), 324px);
  width: clamp(224px, calc((100vw - 96px) / 4), 324px);
  max-width: clamp(224px, calc((100vw - 96px) / 4), 324px);
  min-width: 0;
  padding: 0;
  scroll-snap-align: start;
}
.service-section-solve.ecos-home-services .service-card-items {
  height: 100%; margin: 0; padding: 65px 35px;
  text-align: center; border-radius: 0; box-shadow: none;
  display: flex; flex-direction: column; align-items: center;
}
.service-section-solve.ecos-home-services .service-card-items.border-radius-style { border-radius: 0px; }
.service-section-solve.ecos-home-services .service-card-items.bg-1 { background: #ffebeb; }
.service-section-solve.ecos-home-services .service-card-items.bg-2 { background: #e3daf8; }
.service-section-solve.ecos-home-services .service-card-items.bg-3 { background: #f0eefb; }
.service-section-solve.ecos-home-services .service-card-items .service-icon {
  width: 76px; height: 76px; margin: 0 auto 15px; padding: 0;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.service-section-solve.ecos-home-services .service-card-items .service-icon::before { display: none; }
.service-section-solve.ecos-home-services .service-card-items .service-icon img {
  display: block; width: 76px !important; height: 76px !important; max-width: 100%; object-fit: contain;
}
.service-section-solve.ecos-home-services .service-card-items .service-content { width: 100%; margin: 0; }
.service-section-solve.ecos-home-services .service-card-items .service-content h3 {
  margin: 0 0 5px; color: #003263; font-size: 20px; line-height: 1.5; font-weight: 600;
}
.service-section-solve.ecos-home-services .service-card-items .service-content h3 a { color: inherit; }
.service-section-solve.ecos-home-services .service-card-items .service-content p {
  max-width: 285px; min-height: 96px; margin: 0 auto 10px;
  color: #666; font-size: 15px; line-height: 2; font-weight: 400;
}
.service-section-solve.ecos-home-services .service-card-items .service-content .link-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: #003566; font-size: 15px; font-weight: 600;
}
.service-section-solve.ecos-home-services .service-card-items .service-content .link-btn:hover { color: #4330b3; }
.service-section-solve.ecos-home-services .ecos-slider-controls { margin-top: 22px; }
.service-section-solve.ecos-home-services .ecos-slider-controls button { border-color: rgba(255,255,255,.45); }
.service-section-solve.ecos-home-services .ecos-slider-controls button:disabled { opacity: .4; cursor: not-allowed; }
.service-section-solve.ecos-home-services .ecos-service-slider a { -webkit-user-drag: none; }
@media (max-width: 1199.98px) {
  .service-section-solve.ecos-home-services .service-card-items { padding: 52px 22px 46px; }
}
@media (max-width: 767.98px) {
  .service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
    flex-basis: clamp(220px, 72vw, 300px);
    width: clamp(220px, 72vw, 300px);
    max-width: clamp(220px, 72vw, 300px);
  }
}
@media (max-width: 767.98px) {
  .service-section-solve.ecos-home-services .section-title { margin-bottom: 26px; }
  .service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] { flex-basis: 324px; width: 324px; max-width: 324px; }
  .service-section-solve.ecos-home-services .service-card-items { height: 452px; min-height: 452px; max-height: 452px; padding: 38px 18px 34px; }
  .service-section-solve.ecos-home-services .service-card-items .service-content h3 { font-size: 17px; }
  .service-section-solve.ecos-home-services .service-card-items .service-content p { font-size: 14px; line-height: 1.8; min-height: 100px; }
}
@media (max-width: 480px) {
  .service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] { flex-basis: min(324px, 86vw); width: min(324px, 86vw); max-width: min(324px, 86vw); }
  .service-section-solve.ecos-home-services .service-card-items { height: 452px; min-height: 452px; max-height: 452px; padding: 34px 22px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-section-solve.ecos-home-services .ecos-service-slider { scroll-behavior: auto; }
}


/* Homepage services: fixed reference card dimensions and smooth, scroll-led horizontal motion. */
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
  flex-shrink: 0;
}
.service-section-solve.ecos-home-services .service-card-items {
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.service-section-solve.ecos-home-services .service-card-items .service-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-section-solve.ecos-home-services .service-card-items .service-content .link-btn {
  margin-top: auto;
}
.service-section-solve.ecos-home-services .ecos-service-slider.is-dragging {
  scroll-behavior: auto;
}
@media (max-width: 767.98px) {
  .service-section-solve.ecos-home-services .service-card-items .service-content p {
    min-height: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-section-solve.ecos-home-services .service-card-items { transition: none !important; }
}


/* Respect visitor motion preferences for the services carousel. */
@media (prefers-reduced-motion: reduce) {
  .service-section-solve.ecos-home-services .ecos-service-slider {
    scroll-behavior: auto;
    scroll-snap-type: x proximity;
  }
}


/* Scroll-led horizontal services: keep the track responsive to wheel input without
   capturing page scroll outside the section or at either horizontal endpoint. */
.service-section-solve.ecos-home-services .ecos-service-slider {
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}
.service-section-solve.ecos-home-services .ecos-service-slider.is-wheel-scrolling {
  scroll-snap-type: none;
}
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
  scroll-snap-align: none;
}


/* Final correction: constrain horizontal scrolling to the inner cards track. */
.service-section-solve.ecos-home-services > .container {
  width: 100%;
  max-width: 1320px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.service-section-solve.ecos-home-services .ecos-service-slider {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
  scroll-padding-inline: 0;
}
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
  flex: 0 0 324px !important;
  width: 324px !important;
  max-width: 324px !important;
  min-width: 324px;
  margin: 0 !important;
}
@media (max-width: 767.98px) {
  .service-section-solve.ecos-home-services > .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
    flex-basis: min(324px, calc(100vw - 48px)) !important;
    width: min(324px, calc(100vw - 48px)) !important;
    max-width: min(324px, calc(100vw - 48px)) !important;
    min-width: min(324px, calc(100vw - 48px));
  }
}


/* Final edge-space behavior:
   The inner services track itself is full viewport width. Transparent leading
   and trailing spacers create the intentional blank area at each end; as the
   user scrolls, the leading spacer moves away and the first card reaches x=0.
*/
.service-section-solve.ecos-home-services .ecos-service-slider {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  gap: 0 !important;
  box-sizing: border-box;
  scroll-padding-inline: 0;
}
.service-section-solve.ecos-home-services .ecos-service-slider::before,
.service-section-solve.ecos-home-services .ecos-service-slider::after {
  content: "";
  display: block;
  flex: 0 0 clamp(24px, 5vw, 90px);
  width: clamp(24px, 5vw, 90px);
  min-width: clamp(24px, 5vw, 90px);
  height: 1px;
  pointer-events: none;
  background: transparent;
}
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
  flex: 0 0 324px !important;
  width: 324px !important;
  max-width: 324px !important;
  min-width: 324px !important;
  margin: 0 !important;
}
@media (max-width: 767.98px) {
  .service-section-solve.ecos-home-services .ecos-service-slider {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }
  .service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] {
    flex-basis: min(324px, 86vw) !important;
    width: min(324px, 86vw) !important;
    max-width: min(324px, 86vw) !important;
    min-width: min(324px, 86vw) !important;
  }
}


/* Only scroll horizontally when the whole services section is centered in view. */
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"] .service-card-items {
  border-radius: 0 !important;
}
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"].ecos-edge-card-left .service-card-items {
  border-top-left-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
}
.service-section-solve.ecos-home-services .ecos-service-slider > [class*="col-"].ecos-edge-card-right .service-card-items {
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}
