/* ═══════════════════════════════════════════════════════════════
   Services page — page-specific styles
   Changes vs original: • .service-card-vector   — per-card inline SVG vector background
     • .service-card hover    — lift + glow + border highlight
     • .service-card-chat-hint — "Enquire" label that fades in on hover
     • pauseOnHover handled in JS (Splide option)
   Everything else is identical to the original file.
═══════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────── */

.services-main {
  min-height: 0;
  background: #ffffff;
}

.services-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 59.2px 0 67.2px;
}

.services-hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  line-height: 0;
  opacity: 0.55;
}

.services-hero-bg-svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 1536px;
  max-width: none;
  min-width: 100%;
  height: auto;
  display: block;
}

.services-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1111.2px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28.8px;
}

.services-hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.4px;
}

.services-hero-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 4.8px 8px;
  border: 1px solid #0437f4;
  border-radius: 32px;
  font-family: inherit;
  font-weight: 400;
  font-size: 9.6px;
  line-height: 11.2px;
  color: #0437f4;
}

.services-hero-title {
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(30.4px, 4.48vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: capitalize;
  text-align: center;
  color: #030303;
}

.services-hero-subtitle {
  margin: 0;
  width: min(642.4px, 100%);
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(13.6px, 1.6vw, 22.4px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  text-align: center;
  color: #000000;
}

.services-hero-cta-wrap {
  width: 242px;
}

.services-hero-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  width: 242px;
}

.services-hero-cta-arrow {
  width: 61px;
  height: 61px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #030303;
  border-radius: 0 50% 50% 50%;
  color: #1142fa;
}

.services-hero-cta-arrow svg {
  display: block;
}

.services-hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 181px;
  min-height: 61px;
  padding: 18px 30px;
  border-radius: 100px;
  background: #0437f4;
  font-family: inherit;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
}

/* ── Showcase section ────────────────────────────────────────── */

.services-showcase {
  position: relative;
  overflow: hidden;
  background: #fafafa;
  padding: 76.8px 0 88px;
}

/* Section-level vector BG (the large hexagon grid behind all cards) */
.services-cards-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 960px;
  max-width: 95%;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.services-showcase-inner,
.services-cards-slider {
  position: relative;
  z-index: 2;
}

.services-showcase-inner {
  width: min(1166.4px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 42.4px;
}

.services-showcase-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35.2px;
}

.services-showcase-head {
  width: min(576px, 100%);
  display: flex;
  flex-direction: column;
  gap: 11.2px;
}

.services-showcase-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  width: fit-content;
  padding: 4.8px 8px;
  border: 1px solid #0437f4;
  border-radius: 32px;
  font-family: inherit;
  font-size: 9.6px;
  line-height: 11.2px;
  color: #0437f4;
}

.services-showcase-title {
  margin: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(32px, 3.68vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #030303;
}

.services-showcase-side {
  width: min(288px, 100%);
  padding-right: 6.4px;
}

.services-showcase-text {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: #030303;
}

.services-showcase-cta {
  width: fit-content;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6.4px 6.4px 6.4px 24px;
  border-radius: 100px;
  background: #0437f4;
  font-family: inherit;
  font-size: 12.8px;
  line-height: 1;
  letter-spacing: 0.4px;
  color: #fff;
}

.services-showcase-cta-icon {
  width: 35.2px;
  height: 35.2px;
  margin-left: 8px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1142fa;
}

.services-showcase-cta-icon svg {
  width: 12.8px;
  height: 12.8px;
  display: block;
}

/* ── Cards slider ────────────────────────────────────────────── */

.services-cards-slider {
  position: relative;
  margin-top: 27.2px;
  width: 100%;
  padding-top: 4.8px;
}

.services-cards-slider .splide__track {
  overflow: hidden;
}

.services-cards-slider .splide__list {
  align-items: stretch;
}

.services-cards-slider .splide__slide {
  width: auto !important;
  height: auto;
  display: flex;
}

.services-cards-slider .splide__arrows {
  position: absolute;
  top: -46.4px;
  right: 73.6px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.services-cards-slider .splide__arrow {
  position: static;
  transform: none;
  width: 33.6px;
  height: 33.6px;
  border: 1px solid #ccd8ff;
  background: #ffffff;
  opacity: 1;
}

.services-cards-slider .splide__arrow svg {
  fill: #0437f4;
}

/* ── Service card base ───────────────────────────────────────── */

.service-card {
  box-sizing: border-box;
  flex: 0 0 auto;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  height: 100%;
  cursor: pointer;

  /* ↓ HOVER TRANSITION */
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.28s ease;
}

/* ── Per-card inline vector background ───────────────────────── */

.service-card-vector {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.service-card-vector svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Hover: lift + blue glow + border highlight ──────────────── */

.service-card:hover {
  transform: translateY(-6.4px);
  box-shadow: 0 20px 48px rgba(4, 55, 244, 0.14);
  border-color: rgba(4, 55, 244, 0.45) !important;
}

.service-card:active {
  transform: translateY(-3.2px);
  box-shadow: 0 10px 28px rgba(4, 55, 244, 0.10);
}

/* Focus visible for keyboard nav */
.service-card:focus-visible {
  outline: 2px solid #0437f4;
  outline-offset: 2.4px;
}

/* ── "Enquire" chat hint ─────────────────────────────────────── */

.service-card-chat-hint {
  position: absolute;
  bottom: 17.6px;
  left: 21.6px;
  right: 21.6px;
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  font-family: inherit;
  font-size: 10.4px;
  line-height: 1;
  color: #0437f4;
  opacity: 0;
  transform: translateY(4.8px);
  transition: opacity 0.22s ease,
    transform 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover .service-card-chat-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ── Compact card ────────────────────────────────────────────── */

.service-card-compact {
  width: 280px;
  /* min-height: 481.6px; */
  background: #f0f2fa;
  border: 1px solid rgba(190, 204, 252, 0.65);
  /* padding: 36px 21.6px 68.8px;  extra bottom padding for chat hint */
  padding: 36px 21.6px 24px;
  /* extra bottom padding for chat hint */
}

/* ── Featured card ───────────────────────────────────────────── */

.service-card-featured {
  width: 408px;
  min-height: 615.2px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 36px 35.2px 46.4px;
}

/* ── Card inner elements — all z-index: 1 so they sit above vector bg */

.service-card-number {
  display: block;
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #beccfc;
}

.service-card-featured .service-card-number {
  color: #d5d5d5;
}

.service-card-content {
  position: relative;
  z-index: 1;
  /* margin-top: 176px; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14.4px;
}

.service-card-featured .service-card-content {
  margin-top: 70.4px;
}

.service-card-icon {
  width: 54.4px;
  height: 51.2px;
  border-radius: 10px;
  background: #c0ceff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17.6px;
}

.service-card-featured .service-card-icon {
  background: #f6f6f6;
  color: #111;
}

.service-card-title {
  margin: 0;
  font-family: inherit;
  /* font-size: 20.8px; */
  font-size: 17.6px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: #000000;
}

.service-card-featured .service-card-title {
  font-size: 32px;
  line-height: 1.25;
}

.service-card-description {
  margin: 0;
  font-family: inherit;
  /* font-size: 14.4px; */
  font-size: 12.8px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #000000;
}

/* Legacy visual overlay (kept for backward compat, hidden by vector bg) */
.service-card-visual {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 16px;
  height: 213.6px;
  border-radius: 14px;
  opacity: 0.26;
  background: radial-gradient(circle at 32% 42%, rgba(123, 196, 255, 0.5), transparent 42%),
    radial-gradient(circle at 65% 53%, rgba(156, 228, 247, 0.6), transparent 34%),
    linear-gradient(120deg, rgba(154, 190, 224, 0.36), rgba(182, 251, 255, 0.45));
}

/* ── Innovations ─────────────────────────────────────────────── */

.about-innovations {
  background: #ffffff;
  color: #030303;
  padding: 57.6px 0 76.8px;
}

.about-innovations-inner {
  width: min(1292.8px, calc(100% - 64px));
  margin: 0 auto;
}

.about-innovations-header {
  width: min(654.1px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12.8px;
  text-align: center;
}

.about-innovations-pill {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 20px;
  padding: 4.8px 8px;
  gap: 8px;
  border: 1px solid #0437f4;
  border-radius: 32px;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 9.6px;
  line-height: 11.2px;
  color: #0437f4;
}

.about-innovations-title {
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(27.2px, 3.6vw, 44.8px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-align: center;
  color: #030303;
}

.about-innovations-grid {
  margin-top: 59.2px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9.6px;
}

.about-innovation-card {
  box-sizing: border-box;
  min-height: 373.6px;
  background: #f8fbfe;
  border: 1px solid rgba(190, 219, 255, 0.7);
  border-radius: 18px;
  overflow: hidden;
}

.about-innovation-media {
  height: 175.2px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(190, 219, 255, 0.7);
}

.about-innovation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-innovation-content {
  padding: 16px 16px 27.2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(373.6px - 175.2px);
}

.about-innovation-heading {
  margin: 0;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 19.2px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #171717;
}

.about-innovation-link {
  margin-top: 12.8px;
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  width: fit-content;
  min-height: 38.4px;
  padding: 11.2px 16px;
  border-radius: 14px;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 14.4px;
  line-height: 16px;
  letter-spacing: -0.35px;
  text-decoration-line: underline;
  color: #1142fa;
}

.about-innovation-link-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.about-innovation-link-icon svg {
  display: block;
}

/* ── Contact section ─────────────────────────────────────────── */

.services-contact {
  padding: 44.8px 0 70.4px;
  background: #ffffff;
}

.services-contact-inner {
  position: relative;
  width: min(1408px, calc(100% - 128px));
  min-height: 458.4px;
  margin: 0 auto;
  background: #0a0c0d;
  border-radius: 16px;
  overflow: hidden;
}

.services-contact-content {
  position: relative;
  z-index: 2;
  width: min(1208.8px, calc(100% - 96px));
  margin: 63.2px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
}

.services-contact-copy {
  width: min(592px, 100%);
}

.services-contact-title {
  margin: 0;
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(35.2px, 4vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: capitalize;
  color: #ffffff;
}

.services-contact-subtitle {
  margin: 14.4px 0 0;
  width: min(506.4px, 100%);
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(14.4px, 1.36vw, 19.2px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  color: #ffffff;
}

.services-contact-form {
  width: min(436px, 100%);
  display: flex;
  flex-direction: column;
}

.services-contact-field {
  display: flex;
  flex-direction: column;
  padding: 19.2px 0 20px;
  border-bottom: 1px solid rgba(217, 220, 227, 0.85);
}

.services-contact-field span {
  font-family: inherit;
  font-size: 12.8px;
  line-height: 16.8px;
  color: #d9dce3;
}

.services-contact-field input {
  margin-top: 8px;
  border: 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 12.8px;
  line-height: 1.4;
  padding: 0;
}

.services-contact-submit {
  margin-top: 32px;
  width: 88px;
  min-height: 46.4px;
  border-radius: 30px;
  border: 1px solid #bbbbbb;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-family: inherit;
  font-weight: 400;
  font-size: 12.8px;
  line-height: 12.8px;
  color: #000000;
  cursor: pointer;
}

.services-contact-image-wrap {
  position: absolute;
  left: 4.77%;
  bottom: 0;
  width: min(585.6px, 35.2vw);
  max-width: 603.2px;
  height: 345.6px;
  z-index: 1;
  pointer-events: none;
}

.services-contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}


.services-grid {
  padding: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 8px;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 960px) {
  .services-hero-inner {
    width: min(1111.2px, calc(100% - 28.8px));
  }

  .services-showcase-inner {
    width: min(1166.4px, calc(100% - 28.8px));
  }

  .services-cards-slider .splide__arrows {
    right: 0;
  }

  .about-innovations-inner {
    width: min(1292.8px, calc(100% - 28.8px));
  }

  .about-innovations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-contact {
    padding: 35.2px 0 54.4px;
  }

  .services-contact-inner {
    width: min(1408px, calc(100% - 28.8px));
  }

  .services-contact-content {
    width: calc(100% - 44.8px);
    margin-top: 35.2px;
    gap: 30.4px;
  }

  .services-contact-image-wrap {
    width: min(448px, 41.6vw);
    height: 272px;
  }
}

@media (max-width: 512px) {
  .services-hero {
    padding: 38.4px 0 41.6px;
  }

  .services-hero-inner {
    gap: 20.8px;
  }

  .services-hero-bg-svg {
    width: 1120px;
    min-width: 120%;
  }

  .services-hero-cta-wrap,
  .services-hero-cta {
    width: auto;
    max-width: 100%;
  }

  .services-hero-cta-arrow {
    width: 41.6px;
    height: 41.6px;
  }

  .services-hero-cta-button {
    min-height: 41.6px;
    width: auto;
    padding: 11.2px 22.4px;
    font-size: 12.8px;
  }

  .services-showcase {
    padding: 46.4px 0 54.4px;
  }

  .services-showcase-inner {
    gap: 25.6px;
  }

  .services-showcase-top {
    flex-direction: column;
    gap: 16px;
  }

  .services-showcase-title {
    font-size: clamp(27.2px, 8vw, 41.6px);
  }

  .services-showcase-text {
    margin: 40px;
    font-size: 12px;
  }

  .services-showcase-cta {
    padding: 6.4px 6.4px 6.4px 19.2px;
    font-size: 12px;
  }

  .services-cards-slider .splide__arrows {
    top: -44.8px;
  }

  .services-cards-slider .splide__arrow {
    width: 28.8px;
    height: 28.8px;
  }

  .services-cards-slider {
    margin-top: 8px;
    padding-top: 2px;
  }

  .service-card-compact {
    width: 232px;
    min-height: 368px;
    padding: 24px 16px 27.2px;
  }

  .service-card-featured {
    width: min(304px, 72vw);
    min-height: 480px;
    padding: 24px 19.2px 24px;
  }

  .service-card-content {
    margin-top: 120px;
  }

  .service-card-featured .service-card-content {
    margin-top: 67.2px;
  }

  .service-card-number {
    font-size: 51.2px;
  }

  .service-card-featured .service-card-title {
    font-size: 25.6px;
  }

  .service-card-description {
    font-size: 12.8px;
  }

  .services-cards-slider .splide__arrows {
    display: none;
  }

  .about-innovations {
    padding: 49.6px 0 59.2px;
  }

  .about-innovations-grid {
    grid-template-columns: 1fr;
    margin-top: 30.4px;
  }

  .about-innovation-card {
    min-height: 336px;
  }

  .about-innovation-content {
    padding: 14.4px 12.8px 20.8px;
  }

  .about-innovation-heading {
    font-size: 17.6px;
  }

  .about-innovation-link {
    font-size: 12.8px;
    min-height: 35.2px;
    padding: 9.6px 12.8px;
  }

  .services-contact {
    padding: 28.8px 0 44.8px;
  }

  .services-contact-inner {
    width: calc(100% - 19.2px);
    min-height: 0;
    padding: 20.8px 12.8px 19.2px;
  }

  .services-contact-content {
    width: 100%;
    margin: 0;
    flex-direction: column;
    gap: 16px;
  }

  .services-contact-subtitle {
    font-size: 14.4px;
  }

  .services-contact-form {
    width: 100%;
  }

  .services-contact-submit {
    margin-top: 22.4px;
  }

  .services-contact-image-wrap {
    position: relative;
    left: 0;
    width: 100%;
    height: 176px;
    margin-top: 14.4px;
  }

  /* On mobile: always show chat hint (no hover) */
  .service-card-chat-hint {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 614.4px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for tablets/large phones */
    padding-left: 8px;
    padding-right: 8px;
    justify-items: center;
    align-items: center;
  }
}

@media (max-width: 384px) {
  .services-grid {
    grid-template-columns: 1fr;
    /* 1 column for standard phones */
    justify-items: center;
    align-items: center;
  }
}