/* ==========================================================================
   HemRang — Home page sections
   Geometry mirrors the Figma "homepage 1" frame (1440x3892).
   ========================================================================== */

/* ==========================================================================
   Hero — Figma "Landing Page", 1440x851
   ========================================================================== */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #eef4fb;
  isolation: isolate;
  padding-top: 135px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: -2;
}

.hero::before {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(238, 244, 251, 0.15) 0%,
    rgba(238, 244, 251, 0.05) 45%,
    rgba(238, 244, 251, 0) 75%
  );
}

.hero__inner {
  width: 100%;
  padding-inline: 6.5%;
}

.hero__title {
  margin: 0;
  max-width: 500px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #0a2f63;
  text-shadow: none;
}

.hero__title br:nth-of-type(2) {
  color: inherit;
}
.hero__title span {
  color: #6155f5;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-inline: 26px;
  border-radius: var(--r-pill);
  background: rgba(124, 58, 237, .44);
  border: 1px solid rgba(255, 255, 255, .34);
  font-size: 14px;
  line-height: 28px;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .94);
  backdrop-filter: blur(4px);
}
.hero__lede {
  margin-top: 8px;
  max-width: 430px;
  font-size: 13px;
  line-height: 21px;
  color: #111827;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 45px;
  flex-wrap: wrap;
}
.hero__arrow {
  width: 41px;
  height: 41px;
  object-fit: contain;
  filter: invert(1);
  animation: nudge 2.4s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(8px); }
}

/* ==========================================================================
   Why HemRang — Figma 1440x550, #062b5b
   ========================================================================== */

.why {
  background: var(--navy-why);
  padding: 34px 0 50px;
  text-align: center;
}

/* WHY HEMRANG + side lines */
.why__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #6155f5;
}

/* Main heading */
.why__eyebrow::before,
.why__eyebrow::after {
  content: "";
  width: 10px;
  height: 2px;
  background: #6155f5;
  border-radius: 2px;
}

/* Main heading */
.why__title {
  max-width: 920px;
  margin: 8px auto 0;

  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 34px;
  letter-spacing: -.01em;

  color: var(--white);
}

.why__title span {
  color: #ff7900;
}

/* Subtitle */
.why__lede {
  max-width: 900px;
  margin: 6px auto 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: #FFFFFF;
}


/* Cards row */
.why__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  justify-content: center;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  align-items: stretch;
}
.why-card {
  position: relative;
  width: 100%;
  min-width: 200px;
  min-height: 280px;
  height: auto;
  padding: 10px 10px 10px;
  padding-bottom: 40px;
  border-radius: 16px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background: #fff;
  box-sizing: border-box;
  overflow: hidden;

  text-align: left;
}
.why-card .hex {
   width: 50px;
  height: 54px;
  margin-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* Keep the SVG inside the hex */
.why-card .hex img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}


.why-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  color: #050505;
}

/* Card description */
.why-card__body {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: #353535;
}
.why-card__polygon {
  position: absolute;
  width: 58px;
  height: 58px;
  pointer-events: none;
}

.why-card__polygon--top {
  top: 0;
  right: 0;
}

.why-card__polygon--bottom {
  right: 0;
  bottom: 0;
}
.why-card:nth-child(1) { color: #9b72ff; }
.why-card:nth-child(2) { color: #35c9c4; }
.why-card:nth-child(3) { color: #ff7900; }
.why-card:nth-child(4) { color: #42d51d; }
.why-card:nth-child(5) { color: #7d5cff; }
/* ==========================================================================
   Services — Figma 1440x720
   ========================================================================== */

.services {
  position: relative;
  padding: 64px 0 80px;
  background: url("../img/section-bg.webp") center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

/* Reference uses a fixed positioning canvas */
.services__grid {
  position: relative;
  width: 1000px;
  height: 760px;
  margin: 30px auto 0;
  left: 38%;
  transform: translateX(-50%);
  padding: 0;
  list-style: none;
  max-width: none;
}

/* Every service is a complete hexagon */
.svc-card {
  position: absolute;
  width: 350px;
  height: 405px;
  margin: 0;
  padding: 96px 10px 40px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  border: 0;
  border-radius: 0;
  box-shadow: none;

  clip-path: polygon(
    50% 0%,
    93.3% 25%,
    93.3% 75%,
    50% 100%,
    6.7% 75%,
    6.7% 25%
  );

  text-align: center;
  color: #fff;
  z-index: 2;
}
.svc-card:has(.hex--purple)::before {
  background: linear-gradient(
    180deg,
    #6441A0 0%,
    #8F6BC5 100%
  );
}
.svc-card:has(.hex--teal)::before {
  background: linear-gradient(
    180deg,
    #178F82 0%,
    #4AE6D5 100%
  );
}
/* Cyber Security */
.svc-card:has(.hex--orange)::before {
  background: linear-gradient(
    180deg,
    #A54300 0%,
    #F97316 100%
  );
}

/* Digital Transformation */
.svc-card:has(.hex--green)::before {
  background: linear-gradient(
    180deg,
    #15A31E 0%,
    #92E17E 100%
  );
}

/* Full Stack Consultancy */
.svc-card:has(.hex--indigo)::before {
  background: linear-gradient(
    180deg,
    #5821B5 0%,
    #776FFF 100%
  );
}
/* --------------------------------------------------
   Exact reference positions
   -------------------------------------------------- */

/* AI */
.services__grid > .svc-card:nth-child(1) {
  top: 0;
  left: 192px;
  background: var(--hex-purple);
  z-index: 3;
}

/* Cloud */
.services__grid > .svc-card:nth-child(2) {
  top: 0;
  left: 550px;
  background: var(--hex-teal);
  z-index: 3;
}

/* Cyber */
.services__grid > .svc-card:nth-child(3) {
  top: 400px;
  left: 0;
  background: var(--hex-orange);
  z-index: 4;
}

/* Digital */
.services__grid > .svc-card:nth-child(4) {
  top: 400px;
  left: 363px;
  background: var(--hex-green);
  z-index: 4;
}

/* Full Stack */
.services__grid > .svc-card:nth-child(5) {
  top: 400px;
  left: 726px;
  background: var(--hex-indigo);
  z-index: 4;
}
.services > .container > .eyebrow::before,
.services > .container > .eyebrow::after {
  content: "";
  width: 8px;
  height: 2px;
  background: #6155f5;
  border-radius: 2px;
}
.svc-card::before {
  content: "";
  position: absolute;

  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 346px;
  background: rgba(0, 0, 0, 0.16);

  clip-path: polygon(
    50% 0%,
    93.3% 25%,
    93.3% 75%,
    50% 100%,
    6.7% 75%,
    6.7% 25%
  );

  z-index: 0;
}
.svc-card .hex {
  position: relative;
  z-index: 3;

  width: 71px;
  height: 70px;
  margin: -86px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent !important;
}

.svc-card .hex img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.svc-card__title,
.svc-card__body,
.svc-card__more {
  position: relative;
  z-index: 3;
}
.svc-card__title {
  position: relative;

  margin: 10px 0 0;
  padding: 10px 10px 12px;

  width: 230px;
  min-height: 58px;
  box-sizing: border-box;

  font-size: 16px;
  line-height: 24px;
  font-weight: 700;

  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

/* Horizontal line below title */
.svc-card__title::after {
  content: "";
  display: block;

  width: 180px;
  height: 1px;

  margin: 8px auto 0;

  background: rgba(255, 255, 255, 0.9);
}
.svc-card__body {
  width: 215px;
  margin: 14px auto 0 !important;

  font-size: 14px;
  line-height: 18px;
  font-weight: 400;

  color: #f5f5f5;
  text-align: center;
}

.svc-card__more {
  margin-top: 18px !important;
  margin-bottom: 28px !important;
  padding: 8px 20px;

  background: #fff;
  border-radius: 12px;

  color: #000;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  text-decoration: none;
  z-index: 4;
}
/* ==========================================================================
   Certifications — Figma 1440x686
   ========================================================================== */

.certs {
  padding: 26px 0 80px;
  background: #fff;
  text-align: center;
}

.certs__grid {
  display: flex;
  justify-content: center;
  gap: 123px;
  flex-wrap: wrap;
  margin-top: 76px;
}
.rs-item__content {
  padding: 12px 26px 20px;
  font-size: 12px;
}

.rs-item__content p {
  margin: 0;
}
/* ==========================================================================
   Our Approach — Figma 1440x669 (upper half)
   ========================================================================== */

.approach {
 padding: 76px 0 80px;
  background: #fff;
  text-align: center;
}

.approach__title {
  margin-top: 12px;
  margin-inline: auto;
  max-width: 924px;
}

.approach__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 220px);
  justify-content: center;
  column-gap: 0;
  margin-top: 40px;
}

/* Thin dashed connector */
.approach__steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 110px;
  right: 110px;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    #777 0,
    #777 5px,
    transparent 5px,
    transparent 10px
  );
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 18px;
}

/* Smaller hex icons */
.step .hex {
  width: 60px;
  height: 56px;
  position: relative;
  z-index: 1;
}
.step .hex img { width: 40px; height: 36px; object-fit: contain; }

.step__label {
  margin-top: 7px;
  font-weight: 700;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}.step .hex img {
  width: 30px;
  height: 28px;
  object-fit: contain;
}
.step__body {
  margin-top: 6px;
  max-width: 150px;
  font-size: 11px;
  line-height: 14px;
  color: var(--ink);
}

/* ==========================================================================
   Industries — Figma, lower half of the "Our Approach" frame
   ========================================================================== */

.industries {
  padding: 70px 0 130px;
  background: url("../img/section-bg.webp") center / cover no-repeat;
  text-align: center;
}

.industries__head {
  display: block;
  text-align: center;
}

.industries__eyebrow {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #6155f5;
}

.industries__title {
  margin: 8px auto 0;
  max-width: 700px;
  font-size: 34px;
  line-height: 42px;
  font-weight: 700;
  text-align: center;
}

.industries__all {
  font-weight: 600;
  font-size: 16px;
  line-height: 25px;
  color: var(--link-blue);
  padding-bottom: 8px;
  display: none;
}
.industries__all:hover { text-decoration: underline; }
/* Individual cards */
.industries__grid > * {
  min-width: 0;
}
/* =========================================================
   INDUSTRIES — MATCH TARGET DESIGN
   ========================================================= */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(5, 180px);
  justify-content: center;
  column-gap: 25px;
  row-gap: 10px;
  margin: 38px auto 0;
}
/* Actual HTML class is .ind-tile */
.ind-tile {
  width: 190px;
  height: 56px;
  padding: 10px 14px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  box-sizing: border-box;
}

/* Icons */
.ind-tile img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Labels */
.ind-tile__label {
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
}

/* Target icon colors */
.ind-tile:nth-child(1) img {
  filter: invert(42%) sepia(76%) saturate(1600%) hue-rotate(230deg);
}

.ind-tile:nth-child(2) img {
  filter: invert(65%) sepia(55%) saturate(700%) hue-rotate(130deg);
}

.ind-tile:nth-child(3) img {
  filter: invert(52%) sepia(95%) saturate(1800%) hue-rotate(355deg);
}

.ind-tile:nth-child(4) img {
  filter: invert(65%) sepia(55%) saturate(900%) hue-rotate(70deg);
}

.ind-tile:nth-child(5) img {
  filter: invert(42%) sepia(76%) saturate(1600%) hue-rotate(230deg);
}

/* Target heading colors */
.industries .why__eyebrow {
  color: #6155f5;
}

.industries .why__title {
  color: #000000 !important;
}

.industries .why__title span {
  color: #6155f5 !important;
}
/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1360px) {
   .why__grid {
    grid-template-columns: repeat(5, 190px);
    gap: 20px;
  }

  .why-card {
    width: 180px;
  }

  .industries__grid {
    grid-template-columns: repeat(5, 180px);
    justify-content: center;
    column-gap: 20px;
    row-gap: 10px;
  }

  .approach__steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .step {
    padding-inline: 12px;
  }

  .approach__steps::before {
    left: 10%;
    right: 10%;
  }

}
@media (max-width: 1100px) {

}
@media (max-width: 1080px) {
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex;
  margin-left: auto; }
  .btn--nav { display: none; }
  .navbar { padding-left: 20px; }

  .navbar__nav.is-open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 20px; right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px;
    border-radius: 20px;
    background: #eaf1fc;
    box-shadow: var(--shadow-navbar);
  }
  .navbar__nav.is-open .navbar__link { padding-block: 12px; }

  /* ---- Why grid: 3 top + 2 centred below ---- */
  /* 6-column grid: cards 1–3 span 2 cols each = full row.
     Cards 4–5 span 2 cols each at positions 2–3 and 4–5,
     leaving col 1 and col 6 empty so the pair is centred. */
  .why__grid {
    grid-template-columns: repeat(6, 1fr);
    column-gap: 16px;
    row-gap: 20px;
    max-width: 640px;
    width: calc(100% - 40px);
    padding: 0;
  }

  .why__grid > .why-card:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .why__grid > .why-card:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
  .why__grid > .why-card:nth-child(3) { grid-column: 5 / span 2; grid-row: 1; }
  .why__grid > .why-card:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
  .why__grid > .why-card:nth-child(5) { grid-column: 4 / span 2; grid-row: 2; }

  /* Remove transform hack that was applied in the ≤820px block */
  .why__grid > .why-card:nth-child(4),
  .why__grid > .why-card:nth-child(5) {
    transform: none;
    margin-top: 0;
  }

  /* Cards fill their 2-col cell, same proportions as desktop */
  .why-card {
    width: 100%;
    max-width: 170px;
    height: 240px;
    min-height: 240px;
    justify-self: center;
  }

  /* ---- Our Approach steps: 2 + 2 + 1 (centred) layout ---- */
  /* 4-column grid: each step spans 2 cols.
     Steps 1–2 fill row 1, steps 3–4 fill row 2,
     step 5 at col 2 / span 2 = centred in row 3. */
  /* ---- Our Approach: 3 + 2 centred layout for tablet/small screens ---- */
.approach__steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 48px;
  width: calc(100% - 60px);
  max-width: 780px;
  margin: 40px auto 0;
  justify-content: center;
  align-items: start;
}

.approach__steps::before {
  display: none;
}

/* First row — 3 items */
.approach__steps > .step:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.approach__steps > .step:nth-child(2) {
  grid-column: 3 / span 2;
  grid-row: 1;
}

.approach__steps > .step:nth-child(3) {
  grid-column: 5 / span 2;
  grid-row: 1;
}

/* Second row — 2 items, perfectly centred */
.approach__steps > .step:nth-child(4) {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.approach__steps > .step:nth-child(5) {
  grid-column: 4 / span 2;
  grid-row: 2;
}

/* Slightly larger at these tablet/small screen sizes */
.approach__steps .step {
  padding-inline: 8px;
}

.approach__steps .step .hex {
  width: 58px;
  height: 54px;
}

.approach__steps .step .hex img {
  width: 38px;
  height: 36px;
}

.approach__steps .step__label {
  font-size: 13px;
  line-height: 19px;
}

.approach__steps .step__body {
  max-width: 165px;
  font-size: 11px;
  line-height: 15px;
}
  /* ---- Industries grid: 2 + 2 + 1 (centred) layout ---- */
  /* Same 4-column approach: each tile spans 2 cols. */
  .industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 12px;
    max-width: 640px;
    width: calc(100% - 40px);
    justify-content: center;
  }

  .industries__grid > .ind-tile:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .industries__grid > .ind-tile:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
  .industries__grid > .ind-tile:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
  .industries__grid > .ind-tile:nth-child(4) { grid-column: 3 / span 2; grid-row: 2; }
  .industries__grid > .ind-tile:nth-child(5) { grid-column: 2 / span 2; grid-row: 3; }

  /* Tiles fill their 2-col cell */
  .ind-tile {
    width: 100%;
    max-width: 190px;
    justify-self: center;
  }

  .certs__grid { gap: 40px; }
}
/* ---------- INDUSTRIES — TABLET / SMALL DEVICES ---------- */
@media (min-width: 561px) and (max-width: 1024px) {

  .industries__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 16px;
    width: calc(100% - 60px);
    max-width: 780px;
    margin: 38px auto 0;
    justify-content: center;
    align-items: center;
  }

  /* First row — 3 items */
  .industries__grid > .ind-tile:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .industries__grid > .ind-tile:nth-child(2) {
    grid-column: 3 / span 2;
    grid-row: 1;
  }

  .industries__grid > .ind-tile:nth-child(3) {
    grid-column: 5 / span 2;
    grid-row: 1;
  }

  /* Second row — 2 items, centered */
  .industries__grid > .ind-tile:nth-child(4) {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  .industries__grid > .ind-tile:nth-child(5) {
    grid-column: 4 / span 2;
    grid-row: 2;
  }

  /* Slightly larger for smaller screens */
  .ind-tile {
    width: 100%;
    max-width: 210px;
    height: 62px;
    padding: 11px 16px;
    gap: 12px;
    justify-self: center;
  }

  .ind-tile img {
    width: 36px;
    height: 36px;
  }

  .ind-tile__label {
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 1024px) {

  .services__card {
    transform: scale(1.05);
    transform-origin: center;
  }
}
@media (max-width: 820px) {
  .hero {
    min-height: 520px;
    padding-top: 120px;
  }

  .hero__title {
    font-size: 40px;
    line-height: 1.25;
  }

  .hero__lede {
    max-width: 500px;
    font-size: 15px;
    line-height: 23px;
  }

  .hero__actions {
    gap: 14px;
    margin-top: 32px;
  }
  .btn--primary,
  .btn--ghost {
    width: min(100%, 294px);
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(238, 244, 251, .2),
      rgba(238, 244, 251, .55)
    );
  }

  .eyebrow { font-size: 24px; }
  .section-title, .why__title, .industries__title { font-size: 34px; line-height: 44px; }
  .section-lede { font-size: 17px; line-height: 27px; }

/* At ≤820px the ≤1080px 6-col why__grid layout still applies.
   Remove the old 3-col override and the transform hack. */
  .hero__bg {
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    object-fit: contain;
    object-position: top center;
  }
}

@media (max-width: 560px) {
  .why__grid,
  .industries__grid,
  .approach__steps { grid-template-columns: 1fr; }

  /* Reset explicit why-card column placements so they stack naturally */
  .why__grid > .why-card:nth-child(1),
  .why__grid > .why-card:nth-child(2),
  .why__grid > .why-card:nth-child(3),
  .why__grid > .why-card:nth-child(4),
  .why__grid > .why-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Reset approach steps column placements for single-column mobile */
  .approach__steps > .step:nth-child(1),
  .approach__steps > .step:nth-child(2),
  .approach__steps > .step:nth-child(3),
  .approach__steps > .step:nth-child(4),
  .approach__steps > .step:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Reset industries tiles column placements for single-column mobile */
  .industries__grid > .ind-tile:nth-child(1),
  .industries__grid > .ind-tile:nth-child(2),
  .industries__grid > .ind-tile:nth-child(3),
  .industries__grid > .ind-tile:nth-child(4),
  .industries__grid > .ind-tile:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
  .hero {
    position: relative;
    min-height: 700px;
    padding-top: 125px;
    overflow: hidden;
    isolation: isolate;
    background: #eef4fb;
  }

  /* FULL HERO IMAGE BEHIND CONTENT */
  .hero__bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: 70% center;

    z-index: -2;
  }
   .hero::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(238, 244, 251, 0.08);

    z-index: -1;
  }

  .hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-inline: 24px;
    text-align: center;
  }
  .hero__title,
  .hero__lede,
  .hero__actions,
  .hero__badge {
    position: relative;
    z-index: 3;
  }

  .hero__lede {
    max-width: 100%;
    font-size: 14px;
    line-height: 21px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
   .btn--primary,
  .btn--ghost {
    width: 100%;
    max-width: 294px;
  }
  .certs__grid { gap: 24px; }

  .svc-card {
    --hex-width: 250px;
    --hex-height: 280px;
  }
}
/* Services heading: reuse Why HemRang typography/layout exactly */
.services .why__title span,
.approach .why__title span,
.certs .why__title span,
.industries .why__title span {
  color: #6155f5 !important;
}

.services .why__lede,
.approach .why__lede,
.certs .why__lede{
  color: #353535;
}
.services .why__title,
.approach .why__title,
.certs .why__title,
.industries .why__title {
  color: #000000 !important;
}
.certificate-images-row {
  display: grid;
  grid-template-columns: repeat(3, 214px);
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 0;
  margin-top: 38px;
}

.certificate-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  height: 149px;
  padding: 0;
}

.image-1-icon {
  display: block;
  width: 214px;
  height: 149px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
/* =========================================================
   CERTIFICATES — TABLET OVERFLOW FIX (≤ 960px)
   4 × 214px + 3 × 25px = 931px min-width, which overflows
   at 768–912px. Switch to a fluid 2-column grid at ≤960px
   and let the existing ≤560px rule handle single-column.
   ========================================================= */

@media (max-width: 960px) {
  .certificate-images-row {
    grid-template-columns: repeat(2, minmax(0, 214px));
    justify-content: center;
    gap: 20px;
  }

  .certificate-image-wrapper {
    width: 100%;
    max-width: 214px;
  }
}
@media (min-width: 561px) and (max-width: 1024px) {
  .ab-intro {
    width: 100%;
    text-align: center;
  }

  .ab-intro__card {
    width: calc(100% - 64px);
    margin-left: auto;
    margin-right: auto;
  }

  .ab-intro__grid,
  .ab-intro__grid--normal,
  .ab-intro__grid--flip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Always keep image above text */
  .ab-intro__grid--normal .ab-intro__img-wrap,
  .ab-intro__grid--flip .ab-intro__img-wrap {
    order: 1;
  }

  .ab-intro__grid--normal .ab-intro__text,
  .ab-intro__grid--flip .ab-intro__text {
    order: 2;
  }

  .ab-intro__img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ab-intro__img-wrap img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    margin: 0 auto;
  }

  .ab-intro__text {
    width: 100%;
    max-width: 500px;
    margin: 20px auto 0;
    text-align: center;
  }

  .ab-intro__heading {
    text-align: center;
  }

  .ab-intro__text p {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}
/* =========================================================
   MOBILE — FIX FULL PAGE WIDTH
   Prevent sections from being trapped inside a narrow parent
   ========================================================= */

@media (max-width: 560px) {

  html,
  body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  main,
  .hero,
  .why,
  .services,
  .certs,
  .approach,
  .industries {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ---------- HERO ---------- */

  .hero {
    min-height: 620px;
    padding-top: 125px;
    position: relative;
    overflow: hidden;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: 72% center;

    z-index: -2;
  }

  .hero::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(238, 244, 251, 0.08);
  }

  .hero__inner {
    position: relative;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 2;
  }

  .hero__title {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 34px;
    line-height: 1.25;
  }

  .hero__lede {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    line-height: 19px;
  }

  .hero__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 45px;
    flex-wrap: wrap;
  }


  /* ---------- WHY HEMRANG ---------- */

  .why {
    width: 100vw;
    padding: 34px 0 50px;
  }

  .why__title {
    max-width: 100%;
    font-size: 20px;
    line-height: 34px;
  }

  .why__lede {
    max-width: 100%;
    font-size: 14px;
    line-height: 10px;
  }

  .why__grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    margin-top: 28px;
  }

  .why-card {
    width: min(100%, 300px);
    height: auto;
    min-height: 220px;
  }


  /* ---------- SERVICES ---------- */

  .services {
    width: 100vw;
  }
  /* Prevent fixed navbar from covering section content */
  .services {
    padding-top: 90px;
    padding-bottom: 60px;
  }

  /* Services heading */
  .services .eyebrow {
    font-size: 16px;
    line-height: 20px;
  }

  .services__title {
    font-size: 28px;
    line-height: 34px;
    max-width: 100%;
  }
  .services__lede {
    font-size: 13px;
    line-height: 19px;
    max-width: 320px;
  }
/* ---------- OUR APPROACH — MOBILE ---------- */

.approach {
  width: 100vw;
  padding: 45px 16px 60px;
}

.approach > .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.approach__steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  width: 100%;
  margin-top: 35px;
  padding: 0;
}

/* Individual approach step */
.approach__steps .step {
  width: 100%;
  max-width: 280px;
  padding: 0;
  text-align: center;
}

/* Icon */
.approach__steps .step .hex {
  width: 58px;
  height: 54px;
  margin: 0 auto;
}

.approach__steps .step .hex img {
  width: 42px;
  height: 38px;
  object-fit: contain;
}

/* Step title */
.approach__steps .step__label {
  margin-top: 10px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}

/* Step description */
.approach__steps .step__body {
  max-width: 200px;
  margin: 7px auto 0;
  font-size: 12px;
  line-height: 17px;
}

/* No connector line on mobile */
.approach__steps::before {
  display: none;
}
  /* ---------- CERTIFICATES ---------- */

  .certs {
    width: 100vw;
  }

  .certificate-images-row {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .certificate-image-wrapper {
    width: min(100%, 214px);
  }
  /* =========================================================
   WHY HEMRANG — MOBILE
   Match the Figma/mobile reference
   ========================================================= */

  .why {
    width: 100%;
    padding: 34px 16px 50px;
    overflow: visible;
  }

  .why > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  /* Heading */
  .why__eyebrow {
    font-size: 16px;
    line-height: 20px;
    gap: 10px;
  }

  .why__eyebrow::before,
  .why__eyebrow::after {
    width: 8px;
    height: 2px;
  }

  .why__title {
    max-width: 330px;
    margin: 0 auto 0;
    font-size: 20px;
    line-height: 32px;
  }

  .why__lede {
    max-width: 310px;
    margin: 5px auto 0;
    font-size: 14px;
    line-height: 20px;
  }


  /* Cards container */
  .why__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    width: 100%;
    margin: 30px auto 0;
    padding: 0;
  }


  /* Individual card */
  .why-card {
    position: relative;

    width: 100%;
    max-width: 250px;
    height: auto;
    min-height: 140px;

    margin: 0;

    padding: 30px 14px 18px;

    border-radius: 14px;
    background: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    overflow: visible;
  }


  /* Icon — sits half outside card */
  .why-card .hex {
    position: absolute;

    top: -28px;
    left: 50%;
    transform: translateX(-50%);

    width: 56px;
    height: 61px;

    margin: 0;
    margin-bottom: 20px;

    z-index: 3;
  }

  .why-card .hex img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }


  /* Title */
  .why-card__title {
    margin: 0;

    width: 100%;

    font-size: 15px;
    line-height: 19px;
    font-weight: 700;

    text-align: center;
  }


  /* Description */
  .why-card__body {
    margin: 8px 0 0;
    width: 100%;
    max-width: 250px;
    font-size: 10px;
    line-height: 16px;

    color: #353535;

    text-align: center;
  }


  /* Decorative corner polygons */
  .why-card__polygon {
    position: absolute;
    width: 58px;
    height: 58px;

    pointer-events: none;
    z-index: 1;
  }

  .why-card__polygon--top {
    top: 0;
    right: 0;
  }

  .why-card__polygon--bottom {
    right: 0;
    bottom: 0;
  }
  /* =========================================================
   INDUSTRIES — MOBILE FIX
   ========================================================= */
  .industries {
    width: 100%;
    padding: 30px 20px 45px;
    box-sizing: border-box;
  }

  .industries > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .industries__head {
    width: 100%;
    text-align: center;
  }

  .industries .why__eyebrow {
    font-size: 15px;
    line-height: 20px;
    margin: 0 auto;
  }

  .industries .why__title {
    max-width: 350px;
    margin: 8px auto 0;
    font-size: 28px;
    line-height: 32px;
    text-align: center;
  }

  .industries__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 28px auto 0;
    padding: 0;
  }

  .ind-tile {
    width: 100%;
    max-width: 300px;
    height: 58px;
    padding: 10px 16px;
    gap: 12px;
    box-sizing: border-box;
  }

  .ind-tile img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .ind-tile__label {
    font-size: 13px;
    line-height: 17px;
    font-weight: 600;
  }
 .why__grid {
    gap: 32px !important;
  }

  .why-card {
    margin-bottom: 0 !important;
  }
  
}

/* ==========================================================================
   SERVICES — MOBILE RESPONSIVE
   481px–767px : 2 cards per row, 5th card centered
   ≤480px      : 1 card per row, all centered
   ========================================================================== */

/* ---- 2 columns: 481px – 767px ---- */
@media (max-width: 767px) {

  /* Switch fixed-canvas to a regular flow grid */
  .services__grid {
    position: relative;
    width: calc(100% - 32px);
    max-width: 520px;
    height: auto;
    left: auto;
    transform: none;
    margin: 24px auto 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    justify-items: center;
  }

  /* Reset every card's desktop absolute positioning */
  .services__grid > .svc-card:nth-child(1),
  .services__grid > .svc-card:nth-child(2),
  .services__grid > .svc-card:nth-child(3),
  .services__grid > .svc-card:nth-child(4),
  .services__grid > .svc-card:nth-child(5) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    grid-column: auto;
    grid-row: auto;
  }

  /* 5th card spans both columns and centers itself */
  .services__grid > .svc-card:nth-child(5) {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    margin: 0 auto;
    justify-self: center;
  }

  /* Card: fill the column cell, keep hex proportions */
  .svc-card {
    width: 100%;
    height: auto;
    aspect-ratio: 285 / 340;
    padding: 18% 12% 10%;
  }

  /* Inner dark layer: recalculate for the new proportional card */
  .svc-card::before {
    top: 21%;
    left: 0;
    width: 100%;
    height: 79%;
    transform: none;
  }

  /* Icon: flow naturally inside the flex column */
  .svc-card .hex {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 15%;
    height: auto;
    aspect-ratio: 1;
    margin: -12% auto 4%;
    z-index: 3;
  }

  .svc-card .hex img {
    width: 100%;
    height: auto;
  }

  .svc-card__title {
    font-size: 11px;
    line-height: 14px;
    padding: 3px 2px 4px;
  }

  .svc-card__body {
    width: 90%;
    margin: 5px 0 0;
    font-size: 9px;
    line-height: 12px;
  }

  .svc-card__more {
    margin-top: 6px;
    padding: 5px 14px;
    font-size: 10px;
    line-height: 13px;
  }
}

/* ---- 1 column: ≤480px ---- */
@media (max-width: 480px) {

  .services__grid {
    max-width: 280px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* All cards back to auto (1 column) */
  .services__grid > .svc-card:nth-child(5) {
    grid-column: auto;
    width: 100%;
    justify-self: center;
  }

  .svc-card {
    aspect-ratio: 285 / 340;
    padding: 18% 12% 10%;
  }

  .svc-card__title {
    font-size: 12px;
    line-height: 15px;
  }

  .svc-card__body {
    font-size: 10px;
    line-height: 13px;
  }

  .svc-card__more {
    font-size: 10px;
    padding: 6px 16px;
  }
}
@media (max-width: 480px) {
  .svc-card__title {
    font-size: 12px;
    line-height: 15px;
    padding: 0 8px;
    padding-bottom: 10px;
    margin-top: 20px;
  }

  .svc-card__title::after {
    width: 65px;
  }

  .svc-card__body {
    font-size: 10px;
    line-height: 12px;
    margin: 8px 4px 0;
    padding: 0 2px;
    min-height: 42px;
  }

  .svc-card__more {
    font-size: 10px;
    line-height: 13px;
    padding: 6px 14px;
  }

  .svc-card .hex {
    width: 44px;
    height: 44px;
    margin-bottom: 2px;
  }

  .svc-card .hex img {
    width: 40px;
    height: 40px;
    margin: -8px auto 0;
  }
}

/* =========================================================
   SERVICES — TABLET
   681px–1024px: 2 + 2 + 1 centered
   ========================================================= */

@media (min-width: 681px) and (max-width: 1024px) {

  .services__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    max-width: 740px;

    /* IMPORTANT: remove desktop fixed height */
    height: auto;

    left: auto;
    transform: none;

    margin: 30px auto 0;

    column-gap: 30px;
    row-gap: 30px;

    justify-items: center;
    align-items: start;
  }

  /* Remove desktop absolute positioning */
  .services__grid > .svc-card {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    margin: 0 !important;
    transform: none !important;
  }

  /* Row 1 */
  .services__grid > .svc-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .services__grid > .svc-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  /* Row 2 */
  .services__grid > .svc-card:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .services__grid > .svc-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  /* Row 3 — centered */
  .services__grid > .svc-card:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3;

    justify-self: center;
  }
}
/* =========================================================
   SERVICES — SMALL TABLET / LARGE MOBILE
   481px–680px: 2 + 2 + 1 centered
   ========================================================= */

@media (min-width: 481px) and (max-width: 680px) {

  .services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    max-width: 460px;
    height: auto;

    margin: 24px auto 0;
    padding: 0;

    column-gap: 12px;
    row-gap: 18px;

    justify-items: center;
    align-items: start;

    position: relative;
    left: auto;
    transform: none;
  }

  /* Remove desktop positioning */
  .services__grid > .svc-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: 250px;
    height: 285px;
    margin: 0 auto !important;

    padding: 18% 10% 8%;
  }

  /* Row 1 */
  .services__grid > .svc-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .services__grid > .svc-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  /* Row 2 */
  .services__grid > .svc-card:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .services__grid > .svc-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  /* Row 3 — centered */
  .services__grid > .svc-card:nth-child(5) {
    grid-column: 1;
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }
  /* Smaller content */
  .svc-card .hex {
    width: 44px;
    height: 44px;
    margin: -10% auto 2%;
  }

  .svc-card .hex img {
    width: 38px;
    height: 38px;
  }

  .svc-card__title {
    font-size: 11px;
    line-height: 14px;
    padding: 3px 4px 5px;
    margin-top: 20px;
  }

  .svc-card__body {
    width: 90%;
    margin: 6px 0 0 !important;
    font-size: 9px;
    line-height: 12px;
  }

  .svc-card__more {
    margin-top: 7px !important;
    padding: 5px 14px;
    font-size: 9px;
    line-height: 12px;
  }
}
@media (min-width: 481px) and (max-width: 680px) {
  .services__grid > .svc-card:nth-child(5) {
    width: 250px;
    height: 285px;
    padding: 18% 10% 8%;
    justify-self: center;
  }

  .services__grid > .svc-card:nth-child(5) .hex {
    margin: -10% auto 2%;
  }

  .services__grid > .svc-card:nth-child(5) .svc-card__title {
    margin-top: 20px;
  }

  .services__grid > .svc-card:nth-child(5) .svc-card__body {
    margin-top: 6px !important;
  }

  .services__grid > .svc-card:nth-child(5) .svc-card__more {
    margin-top: 7px !important;
  }
}
@media (min-width: 481px) and (max-width: 680px) {
  .svc-card::before {
    top: 21%;
    left: 0;
    width: 100%;
    height: 79%;
    transform: none;
  }
}
/* =========================================================
   SERVICES — 768px ONLY
   1 card per row, centered
   ========================================================= */
@media (min-width: 681px) and (max-width: 768px) {

  .services__grid {
    display: grid;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;

    margin: 30px auto 0 !important;
    padding: 0 !important;

    left: auto !important;
    transform: none !important;

    column-gap: 0 !important;
    row-gap: 24px !important;

    justify-items: center !important;
    align-items: start;
  }

  .services__grid > .svc-card {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    grid-column: 1 !important;
    grid-row: auto !important;

    width: 390px !important;
    height: 405px !important;

    margin: 0 auto !important;
    transform: none !important;
  }
}
@media (min-width: 768px) and (max-width: 820px) {

  .services__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    width: 100% !important;
    max-width: 740px !important;
    height: auto !important;

    margin: 30px auto 0 !important;
    padding: 0 !important;

    left: auto !important;
    transform: none !important;

    column-gap: 20px !important;
    row-gap: 24px !important;

    justify-items: center !important;
  }

  .services__grid > .svc-card {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: 350px !important;

    margin: 0 !important;
    transform: none !important;
  }

  .services__grid > .svc-card:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .services__grid > .svc-card:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .services__grid > .svc-card:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .services__grid > .svc-card:nth-child(4) {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .services__grid > .svc-card:nth-child(5) {
    grid-column: 1 / 3 !important;
    grid-row: 3 !important;
    justify-self: center !important;
    width: 350px !important;
  }
}
/* =========================================================
   HOME HERO CAROUSEL
   ========================================================= */

.hero-carousel {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
}

/* ---------------------------------------------------------
   ALL SLIDES
   Same exact hero height + smooth fade transition
   --------------------------------------------------------- */

.hero-carousel > .hero,
.hero-carousel > .hero-carousel__slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 620px;
  min-height: 620px;

  box-sizing: border-box;
  overflow: hidden;

  /* IMPORTANT:
     No opacity / visibility transition.
     This creates a real horizontal slide. */
  transform: translateX(100%);

  transition: transform 0.7s ease-in-out;

  z-index: 1;
}

/* Active slide */
.hero-carousel > .hero.is-active,
.hero-carousel > .hero-carousel__slide.is-active {
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}
/* =========================================================
   ORIGINAL MAIN HERO — KEEP ITS ORIGINAL LAYOUT
   ========================================================= */

.hero-carousel > .hero:not(.hero-carousel__slide) {
  display: flex;
  align-items: flex-start;
  padding-top: 135px;
}
/* ---------------------------------------------------------
   SLIDE DIRECTIONS
   --------------------------------------------------------- */

.hero-carousel > .hero.slide-next,
.hero-carousel > .hero-carousel__slide.slide-next {
  transform: translateX(100%);
}

.hero-carousel > .hero.slide-prev,
.hero-carousel > .hero-carousel__slide.slide-prev {
  transform: translateX(-100%);
}
/* =========================================================
   ORIGINAL MAIN HERO
   ========================================================= */

/* Keep the original hero design/layout */
.hero-carousel > .hero:not(.hero-carousel__slide) {
  display: flex;
}

/* =========================================================
   OTHER SLIDES
   ========================================================= */

.hero-carousel > .hero-carousel__slide {
  display: block;
  padding: 0;
  align-items: center;
}
/* =========================================================
   SLIDE BACKGROUNDS
   ========================================================= */

.hero-carousel__slide--digital {
  background:
    url("../img/digital-trs.svg")
    center center / cover no-repeat;
}

.hero-carousel__slide--cloud {
  background:
    url("../img/cloud-modernization.svg")
    center center / cover no-repeat;
}
/* =========================================================
   AI EXCELLENCE
   ========================================================= */

.hero-carousel__slide--ai {
  background:
    url("../img/ai-excellence-bg.svg")
    center center / cover no-repeat;
}
.hero-carousel__slide--cyber {
  background:
    url("../img/cyber-security.svg")
    center center / cover no-repeat;
}

.hero-carousel__slide--fullstack {
  background:
    url("../img/fullstack-crbg.svg")
    center center / cover no-repeat;
}

/* =========================================================
   CONTENT POSITION
   ========================================================= */

.hero-carousel__content {
  position: absolute;

  left: 6.5%;
  top: 50%;

  transform: translateY(-50%);

  width: 43%;
  max-width: 600px;

  z-index: 2;
}



/* =========================================================
   BADGE
   ========================================================= */

.hero-carousel__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  height: 58px;
  padding: 0 34px;

  border-radius: 32px;

  font-size: 23px;
  line-height: 1;
  font-weight: 700;

  background: linear-gradient(
    90deg,
    #5d4df5 0%,
    #3e2d94 100%
  );

  color: #fff;
  font-family: var(--font-display);

  white-space: nowrap;
}


/* =========================================================
   TITLE
   ========================================================= */

.hero-carousel__title {
  margin-top: 20px;
  max-width: 570px;
  margin-inline: auto;

  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;

  letter-spacing: -0.02em;
  color: #0a2f63;
}

.hero-carousel__title span {
  display: block;
  color: #7138f2;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.hero-carousel__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 55px;
}

.hero-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 250px;
  height: 54px;

  border-radius: 10px;

  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;

  text-decoration: none;
  box-sizing: border-box;

  cursor: pointer;
}
.hero-carousel__slide--cyber .hero-carousel__visual {
  width: 51%;
  height: 74%;
  right: 2%;
}

.hero-carousel__slide--cyber .hero-carousel__visual img {
  width: 86%;
  height: 86%;
}
.hero-carousel__btn--primary {
  color: #fff;

  background: linear-gradient(
    90deg,
    #3d72f5 0%,
    #7c2df2 100%
  );

  border: 1px solid transparent;
}

.hero-carousel__btn--secondary {
  color: #111;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid #111;
}


/* =========================================================
   RIGHT-SIDE VISUAL
   ========================================================= */

.hero-carousel__visual {
  position: absolute;

  right: 1.5%;
  top: 50%;

  width: 52%;
  height: 76%;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1;
}

.hero-carousel__visual img {
  width: 88%;
  height: 88%;

  max-width: none;

  object-fit: contain;
  object-position: center;
}
.hero-carousel__arrow {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: #fff;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  z-index: 20;

  opacity: 0.75;

  transition:
    background 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hero-carousel__arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.32);
}

.hero-carousel__arrow--prev {
  left: 20px;
}

.hero-carousel__arrow--next {
  right: 20px;
}

.hero-carousel__arrow--prev:hover {
  transform: translate(-3px, -50%);
}

.hero-carousel__arrow--next:hover {
  transform: translate(3px, -50%);
}


/* =========================================================
   PAGINATION DOTS
   ========================================================= */

.hero-carousel__dots {
  position: absolute;

  left: 50%;
  bottom: 20px;

  display: flex;
  align-items: center;
  gap: 9px;

  transform: translateX(-50%);

  z-index: 20;
}

.hero-carousel__dots button {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  cursor: pointer;

  transition:
    width 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.hero-carousel__dots button:hover {
  transform: scale(1.25);
}

.hero-carousel__dots button.is-active {
  width: 24px;

  border-radius: 10px;

  background: #5749e8;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

  .hero-carousel {
    height: 620px;
  }

  .hero-carousel > .hero,
  .hero-carousel > .hero-carousel__slide {
    height: 620px;
    min-height: 620px;
  }

  .hero-carousel__content {
    left: 24px;
    right: 24px;
    top: 100px;

    transform: none;

    width: auto;
    max-width: none;

    text-align: center;
  }

  .hero-carousel__badge {
    height: 50px;
    padding: 0 22px;
    font-size: 18px;
  }

  .hero-carousel__title {
    font-size: 34px;
    line-height: 1.2;
    text-align: center;
  }

  .hero-carousel__actions {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .hero-carousel__btn {
    width: min(294px, 100%);
  }

  .hero-carousel__visual {
    top: 250px;
    width: 100%;
    height: 450px;
  }

  .hero-carousel__arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .hero-carousel__arrow--prev {
    left: 10px;
  }

  .hero-carousel__arrow--next {
    right: 10px;
  }
}
/* =========================================================
   Prevent first hero from sliding in on page load
   ========================================================= */

.hero-carousel--initializing > .hero,
.hero-carousel--initializing > .hero-carousel__slide {
  transition: none !important;
}
@media (max-width: 768px) {
  .hero-carousel__visual {
    display: none !important;
  }
  .hero-carousel__content {
    padding-top: 35px !important;
  }
  .hero-carousel__badge {
    width: fit-content;
    max-width: 90%;

    min-height: 38px;
    padding: 7px 18px;

    gap: 8px;

    font-size: 14px;
    line-height: 1.1;

    margin-left: auto;
    margin-right: auto;
  }
   .hero-carousel__badge-icon {
    width: 24px;
    height: 24px;

    font-size: 20px;
    flex-shrink: 0;
  }
}
/* =========================================================
   MOBILE HERO TYPOGRAPHY
   ========================================================= */

@media (max-width: 767px) {

  .hero-carousel__title {
    font-size: 28px !important;
    line-height: 1.1 !important;
    max-width: 330px !important;
    margin: 14px auto 0 !important;
    text-align: center !important;
  }

  .hero-carousel__title span {
    text-align: center !important;
  }

  .hero-carousel__actions {
    margin-top: 20px !important;
    gap: 10px !important;
  }

  .hero-carousel__btn {
    width: min(270px, 100%) !important;
    height: 44px !important;
    font-size: 14px !important;
  }
}


/* =========================================================
   VERY SMALL MOBILE — 375px and below
   ========================================================= */

@media (max-width: 375px) {

  .hero-carousel__title {
    font-size: 25px !important;
    line-height: 1.08 !important;
    max-width: 300px !important;
    margin-top: 12px !important;
  }

  .hero-carousel__actions {
    margin-top: 18px !important;
    gap: 10px !important;
  }

  .hero-carousel__btn {
    width: 270px !important;
    height: 44px !important;
    font-size: 14px !important;
  }
}
/* =========================================================
   768px — KEEP RIGHT IMAGE
   ========================================================= */

@media (min-width: 768px) and (max-width: 820px) {

  .hero-carousel,
  .hero-carousel > .hero,
  .hero-carousel > .hero-carousel__slide {
    height: 500px !important;
    min-height: 500px !important;
  }

  .hero-carousel__visual {
    display: none !important;
  }
}


/* =========================================================
   MOBILE — HIDE RIGHT IMAGE
   ========================================================= */

@media (max-width: 767px) {

  .hero-carousel,
  .hero-carousel > .hero,
  .hero-carousel > .hero-carousel__slide {
    height: 500px !important;
    min-height: 500px !important;
  }

  .hero-carousel__visual {
    display: none !important;
  }

  .hero-carousel__content {
    left: 20px !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: auto !important;
    max-width: 100% !important;

    text-align: center;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 540px) {

  .hero-carousel,
  .hero-carousel > .hero,
  .hero-carousel > .hero-carousel__slide {
    height: 500px !important;
    min-height: 500px !important;
  }

  .hero-carousel__content {
    left: 18px !important;
    right: 18px !important;
  }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 375px) {

  .hero-carousel,
  .hero-carousel > .hero,
  .hero-carousel > .hero-carousel__slide {
    height: 650px !important;
    min-height: 650px !important;
  }

  .hero-carousel__content {
    top: 52% !important;
    left: 14px !important;
    right: 14px !important;

    width: calc(100% - 28px) !important;
    max-width: none !important;

    transform: translateY(-50%) !important;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }
  .hero-carousel__badge {
    max-width: 90% !important;

    padding: 6px 14px !important;
    min-height: 34px !important;

    font-size: 12px !important;
    line-height: 1 !important;

    gap: 6px !important;
  }

  .hero-carousel__badge-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 16px !important;
  }
  .hero-carousel__title {
    width: 100% !important;
    max-width: 300px !important;

    margin: 12px auto 0 !important;

    font-size: 28px !important;
    line-height: 1.08 !important;

    text-align: center !important;
  }

  .hero-carousel__title span {
    text-align: center !important;
  }
  .hero-carousel__actions {
    width: 100% !important;

    margin-top: 20px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: 12px !important;
  }

  .hero-carousel__actions .btn {
    width: 100% !important;
    max-width: 220px !important;

    min-width: 0 !important;

    padding: 11px 14px !important;

    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  .hero-carousel__arrow {
    width: 30px !important;
    height: 30px !important;
  }
}
/* =========================================================
   TABLET — 821px to 1080px
   Keep the complete hero visible
   ========================================================= */

@media (min-width: 821px) and (max-width: 1080px) {

  .hero-carousel,
  .hero-carousel > .hero,
  .hero-carousel > .hero-carousel__slide {
    height: 620px !important;
    min-height: 620px !important;
  }
  .hero-carousel__badge {
    font-size: 15px !important;
    padding: 8px 20px !important;
  }

  .hero-carousel__title {
    font-size: 38px !important;
    line-height: 1.08 !important;
    max-width: 500px !important;
  }

  .hero-carousel__actions {
    gap: 14px !important;
  }

  .hero-carousel__actions .btn {
    min-width: 160px !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
  }
}
@media (max-width: 375px) {

  /* Smaller title */
  .hero-carousel__title {
    font-size: 26px !important;
    line-height: 1.08 !important;
    max-width: 300px !important;
  }

  /* Smaller buttons */
  .hero-carousel__btn {
    width: 260px !important;
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  /* Reduce gap between title and buttons */
  .hero-carousel__actions {
    margin-top: 16px !important;
    gap: 10px !important;
  }
}
/* =========================================================
   MAIN HERO TITLE — MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .hero__title {
    font-size: 28px !important;
    line-height: 1.12 !important;
    max-width: 330px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

}

@media (max-width: 430px) {

  .hero__title {
    font-size: 26px !important;
    line-height: 1.1 !important;
    max-width: 320px !important;
  }

}

@media (max-width: 375px) {

  .hero__title {
    font-size: 24px !important;
    line-height: 1.08 !important;
    max-width: 300px !important;
  }

}
@media (min-width: 561px) and (max-width: 960px) {
  .certificate-images-row .certificate-image-wrapper:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
/* =========================================================
   CLOUD MODERNIZATION — OUR APPROACH
   CENTER CONTENT ON TABLET
   ========================================================= */

@media (min-width: 561px) and (max-width: 820px) {

  .service-page--cloud .prose__split--cloud {
    display: grid !important;
    grid-template-columns: 1fr !important;

    justify-items: center !important;
    align-items: center !important;

    text-align: center !important;

    gap: 24px !important;
  }

  /* Center the HCAF image */
  .service-page--cloud .prose__split--cloud > img {
    width: 80% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  /* Center the complete Our Approach content */
  .service-page--cloud .prose__split--cloud > div {
    width: 100% !important;
    max-width: 650px !important;

    margin: 0 auto !important;

    text-align: center !important;
  }

  .service-page--cloud .prose__split--cloud .prose__eyebrow {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 14px;
  }

  .service-page--cloud .prose__split--cloud .prose__h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .service-page--cloud .prose__split--cloud > div > p:not(.prose__eyebrow) {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 14px;
  }
  /* Center content only */
.service-page--cloud .cloud-services-block__text {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.service-page--cloud .cloud-services-block__heading,
.service-page--cloud .cloud-services-block__body {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 7 R's content only */
.service-page--cloud .cloud-rs-block__heading,
.service-page--cloud .cloud-rs-block__body {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
}
/* =========================================================
   FULL STACK — 1024px + 853px
   KEEP ALL HERO CONTENT INSIDE THE HERO
   ========================================================= */

@media (min-width: 821px) and (max-width: 1200px) {

  .page-hero--ai {
    height: 620px !important;
    min-height: 620px !important;
    overflow: hidden !important;
  }

  .page-hero--ai__container {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    padding-inline: 32px !important;
  }

  /* LEFT CONTENT */
  .page-hero--ai__content {
    width: 48% !important;
    margin: 0 !important;
    align-self: center !important;
    transform: none !important;
  }

  .page-hero--ai__badge {
    width: 240px !important;
    height: 48px !important;
    font-size: 18px !important;
  }

  .page-hero--ai__title {
    max-width: 430px !important;
    font-size: 40px !important;
    line-height: 1.12 !important;
    white-space: normal !important;
    margin-top: 14px !important;
  }

  /* RIGHT IMAGE */
  .page-hero--ai__art {
    width: 430px !important;
    max-width: 48% !important;
    height: auto !important;
    max-height: 470px !important;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
    align-self: center !important;
  }
}


/* =========================================================
   853px — SLIGHTLY SMALLER
   ========================================================= */

@media (min-width: 821px) and (max-width: 900px) {

  .page-hero--ai {
    height: 620px !important;
    min-height: 620px !important;
  }

  .page-hero--ai__container {
    padding-inline: 28px !important;
  }

  .page-hero--ai__content {
    width: 49% !important;
    margin: 0 !important;
  }

  .page-hero--ai__badge {
    width: 220px !important;
    height: 44px !important;
    font-size: 16px !important;
  }

  .page-hero--ai__title {
    max-width: 380px !important;
    font-size: 34px !important;
    line-height: 1.12 !important;
    white-space: normal !important;
  }

  .page-hero--ai__art {
    width: 380px !important;
    max-width: 47% !important;
    max-height: 440px !important;
  }
}
/* ============================================================
   Certifications - dotted background
   ============================================================ */

.certs {
  position: relative;
  overflow: hidden;
  background-color: #ffffff !important;

  background-image: radial-gradient(
    circle,
    rgba(80, 85, 170, 0.14) 1px,
    transparent 1.2px
  ) !important;

  background-size: 16px 16px !important;
  background-position: 0 0 !important;
}
/* =========================================================
   EXTREME SMALL SCREEN SAFETY
   Prevent content from collapsing at ultra-small widths
   ========================================================= */

@media (max-width: 360px) {

  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  #main,
  main,
  section,
  .home-page {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .home-page .container,
  .container {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* ---------- NAVBAR ---------- */

  .site-header {
    width: 100%;
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
  }

  .navbar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0 8px;
    gap: 6px;
  }

  .navbar__logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .navbar__logo img {
    width: min(120px, 100%);
    max-width: 100%;
    height: auto;
  }

  .navbar__toggle {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  /* ---------- TEXT ---------- */

  h1,
  h2,
  h3,
  p,
  span,
  a,
  button {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* ---------- IMAGES ---------- */

  img,
  svg,
  video {
    max-width: 100%;
    height: auto;
  }
}