@font-face {
  font-family: "PlusJakartaSans";
  src: url("/assets/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
}

@font-face {
  font-family: "PlusJakartaSans";
  src: url("/assets/PlusJakartaSans-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 200 800;
  font-style: italic;
}
body {
  font-family: "PlusJakartaSans", sans-serif !important;
}
.mx-custom {
  margin: 0px 6%;
}

.banner-section {
  background-image: url("../img/mendix-to-power-platform/banner.webp");
  background-position: center top; /* Improved alignment for responsiveness */
  background-repeat: no-repeat;
  background-size: cover; /* Ensures image covers section, scales responsively */
  padding: 90px 80px; /* Restored padding from earlier context */
  margin: 10px 20px;
  border-radius: 25px;
}
.banner-img-box {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.banner-img {
  max-width: 130px;
  max-height: 130px;
  object-fit: contain;
  border: 1px solid #421775;
  border-radius: 24px;
  box-shadow: 0px 4px 24px 0px #624de31f;

  box-shadow: 12px 12px 24px 0px #fa03ff0f;

  box-shadow: -8px 12px 24px 0px #1510ff14;

  box-shadow: 0px 4px 4px 0px #0000000a;

}
.banner-title {
  background: linear-gradient(90.48deg, #ffffff 5.56%, #999999 87.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1.3;
  font-size: 54px;
  letter-spacing: -1.4px;
}
.banner-sub-title {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -1px;
  background: linear-gradient(90.48deg, #ffffff 5.56%, #999999 87.35%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.banner-sub-title-2 {
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: -1px;
  background: linear-gradient(90.48deg, #ffffff 5.56%, #999999 87.35%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.banner-para {
  font-weight: 100;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -4%;
  color: #d6d6d6;
}
.banner-btn {
  border: 1px solid #ffffff24;
  border-radius: 30px;
  padding: 10px 30px;
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #683fea;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  width: fit-content;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  margin: 20px 0px;
}
.banner-btn img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.banner-btn:hover {
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0px 1px 0px 0px #ffffff66 inset;
  box-shadow: 0px -3px 0px 0px #00000033 inset;
  box-shadow: 0px 0px 0px 4px #ffffff12;
  box-shadow: 0px 0px 40px 0px #9a17ffaf;
  transform: scale(1.05);
  background-color: #683fea;
}
.clarity-badge {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.clarity-title {
  background: linear-gradient(90.48deg, #9747ff 5.56%, #6329a4 87.35%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-size: 40px;
  line-height: 55px;
  letter-spacing: -2px;
  margin: 0;
}

.clarity-body {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: -1px;
  color: #626262;
}
.why-power-apps-section {
  margin: 0px 0px;
  position: relative;
  padding: 60px 0px;
  background: linear-gradient(
    180deg,
    #f1e8ff 0%,
    rgba(247, 241, 255, 0.389055) 60.46%,
    rgba(255, 255, 255, 0) 99.91%
  );
  box-shadow: 0px 41px 47.6px 0px #d1aeff2b inset;
}
.why-power-apps-img {
  position: absolute;
  bottom: 0px;
  right: 0;
  width: clamp(300px, 50vw, 670px);
  height: clamp(auto, 50vh, 420px);
}

.purple-blur-left {
  position: absolute;
  width: 250px;
  height: 250px;
  top: -60px;
  left: -120px;
  background: #9747ff;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
.purple-blur-right {
  position: absolute;
  width: 250px;
  height: 250px;
  top: -180px;
  right: -0px;
  background: #9747ff;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
}
.why-power-apps-title {
  background: linear-gradient(90.48deg, #9747ff 5.56%, #6329a4 87.35%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  font-style: Medium;
  font-size: 60px;
  line-height: 70px;
  letter-spacing: -0.04em;
}
.why-power-apps-sub-heading {
  font-weight: 600;
  font-size: 25px;
  line-height: 1em;
  letter-spacing: -0.02em;
  color: #404040;
}
.why-power-apps-body {
  color: #404040;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 1em;
  letter-spacing: -0.02em;
}
.why-poewr-apps-box-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.box {
  min-height: 160px;
  padding: 40px 30px;
  border-radius: 12px;
  display: flex;
  align-items: start;
  gap: 20px;
  position: relative;
  transition: all 0.3s ease;
  border: 0.5px solid #d1aeff2b;
  backdrop-filter: blur(6px);
  box-shadow: 0 0px 30px rgba(75, 37, 123, 0.1);
  z-index: 2;
}
.number-box {
  display: flex;
  align-items: start;
  gap: 10px;
}
.box .number {
  font-size: 32px;
  font-weight: 600;
  color: #3e1271;
  white-space: nowrap;
}

.box .line {
  width: 40px;
  height: 0.5px;
  /* background: #000000; */
  border: 1px dashed #000;

  flex-shrink: 0;
  margin-top: 14px;
}

.box p {
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 1.4em;
  letter-spacing: -0.04em;

  transition: color 0.3s;
  background-color: transparent;
}

.box:hover {
  background: #9144f4;
  box-shadow: 0 20px 40px rgba(145, 68, 244, 0.3);
}

.box:hover .number,
.box:hover p {
  font-weight: 500;
  color: #fff;
}
.box:hover .line {
  border: 1px dashed #fff;
}
.bg-red {
  background-color: #fbe7e9;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline;
  color: #222222;
}
.bg-purple {
  background-color: #ede7fb;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline;
  color: #222222;
}
.bg-green {
  background-color: #d4f8d3;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline;
  color: #222222;
}
.migration-approach-section {
  background-image: url("../img/zendesk-to-d365/migration-approach-bg.webp"); /* your image */

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional: parallax feel */

  min-height: auto;
  margin-bottom: 80px;
  position: relative;
}
.migration-approach-img {
  position: absolute;
  bottom: 0px;
  left: 0;
  max-width: clamp(230px, 40vw, 400px);
  height: auto;
}
.approach-heading {
  background: linear-gradient(90deg, #ffffff 52.98%, #999999 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  font-style: Medium;
  font-size: 60px;
  line-height: 70px;
  letter-spacing: -0.04em;
  text-align: center;
}
.approach-body {
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: -0.04em;
  text-align: center;
  color: #fff;
}

.path-box {
  position: relative;
  min-height: 1000px; /* gives SVG room to stretch */
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.connectors-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.approach-box {
  border-radius: 10px;
  max-width: 380px;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  background-color: #ffffff85;
  z-index: 1;
  backdrop-filter: blur(16px);
}
.path {
  position: absolute;
}
.path-box .approach-box:nth-of-type(1) {
  top: 5%;
  left: 8%;
}
.path-box .approach-box:nth-of-type(2) {
  top: 8%;
  left: 42%;
}
.path-box .approach-box:nth-of-type(3) {
  top: 22%;
  right: 10%;
  left: auto;
}
.path-box .approach-box:nth-of-type(4) {
  top: 35%;
  right: 38%;
  left: auto;
}
.path-box .approach-box:nth-of-type(5) {
  top: 48%;
  left: 5%;
}
.path-box .approach-box:nth-of-type(6) {
  top: 68%;
  right: 15%;
  left: auto;
}

.path-box .path:nth-of-type(1) {
  top: 30px;
  left: 520px;
}
.path-box .path:nth-of-type(2) {
  top: 140px;
  left: 910px;
}
.path-box .path:nth-of-type(3) {
  top: 320px;
  right: 260px;
}
.path-box .path:nth-of-type(4) {
  top: 370px;
  right: 650px;
}
.path-box .path:nth-of-type(5) {
  top: 640px;
  left: 520px;
}

.approach-step {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.step-number {
  padding: 10px;
  border-radius: 55%;
  background-color: #fff;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 19.2px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  color: #6329a4;
  margin-bottom: 0;
  transition: all 0.2s ease;
  position: relative;
  z-index: 3;
}
.step-line {
  border: 0.8px solid #ffffff;
  width: 40px;
  height: 0.5px;
  transition: all 0.2s ease;
}
.step-title {
  font-weight: 600;
  font-style: SemiBold;
  font-size: 16px;
  line-height: 1.4em;
  letter-spacing: -0.04em;
  color: #434343;
  flex: 1;
  margin-bottom: 0;
  transition: all 0.2s ease;
}
.step-body {
  font-weight: 400;
  font-style: Regular;
  font-size: 14.4px;
  line-height: 1.4em;
  letter-spacing: -0.04em;
  color: #434343;
  margin-top: 10px;
  transition: all 0.2s ease;
}
.approach-box:hover {
  border: 1px solid #ffffff;
  backdrop-filter: blur(24);
  background-color: #ffffff85;
  z-index: 3;
}
.approach-box:hover .step-title,
.approach-box:hover .step-body {
  color: #fff;
}
.approach-box:hover .step-number {
  background-color: #411573;
}
.approach-box:hover .step-line {
  border-color: #411573;
}
.approach-box:hover .step-number {
  color: #ffffff;
}
.management-section {
  min-height: 100vh;
  position: relative;
  padding: 100px 0px;
}
.management-img {
  position: absolute;
  top: -80px;
  right: 0px;
  /* width: clamp(150px, 312px, 312px); */
  max-width: 300px;
  height: auto;
}

.management-title {
  text-align: center;
  background: linear-gradient(90.48deg, #9747ff 5.56%, #6329a4 87.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  font-style: Medium;
  font-size: 60px;
  line-height: 70px;
  letter-spacing: -0.04em;
}
.management-title-sub {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -4%;
  text-align: start;
  color: #424242;
  margin-top: -14px;
}
.management-div {
  background-color: #fff;
  box-shadow: 0px 43px 66px rgba(0, 0, 0, 0.119);
  border-radius: 20px;
  padding: 30px 0px;
}

.mar-t {
  margin-top: 80px;
}

.management-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.management-icon {
  height: 54px;
  width: 54px;
  object-fit: contain;
  margin-bottom: 20px;
}
.management-heading {
  font-weight: 500;
  font-size: 25px;
  line-height: 1em;
  letter-spacing: -0.04em;
  vertical-align: middle;
  color: #27235e;
}
.management-img {
  width: 100%;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.management-sol {
  text-align: left;
  letter-spacing: 0px;
  color: #424242;
  font-size: 18px;
  line-height: 23px;
  font-weight: 500;
  margin-bottom: 8px;
}
.management-para {
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 29px;
  letter-spacing: -0.02em;
  vertical-align: middle;
  color: #626262;
}

.pad-r-1 {
  padding-right: 30px;
}

.pad-b {
  padding-bottom: 50px;
}

.management-row {
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
  z-index: 1;
}

.management-row + .management-row {
  margin-top: 10px;
}

.approach-section {
  background: linear-gradient(180deg, #9747ff -40.04%, #6329a4 100%);
  color: #fff;
  padding: 120px 0px;
}
.approch-header {
  text-align: center;
  margin-bottom: 40px;
}

.icon-container {
  position: relative;
  z-index: 3;
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon {
  width: 40px;
  height: 40px;
}

.content {
  position: relative;
  z-index: 2;
}

/* cta section */
.cta-section {
  margin: 100px 0px;
}
.cta-banner {
  background-image: url("../img/zendesk-to-d365/why-banner.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 0px;
  padding-bottom: 120px;
  margin: 10px 20px;
  border-radius: 25px;
}
.cta-title {
  font-weight: 500;
  font-size: 40px;
  line-height: 70px;
  letter-spacing: -5%;
  background: linear-gradient(90.48deg, #ddc3ff 5.56%, #ffffff 87.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  padding: 0px 40px;
}
.cta-tagline {
  font-weight: 400;
  font-size: 20px;
  line-height: 29px;
  letter-spacing: -2%;
  text-align: center;
  color: #ffffff;
  text-align: center;
}
.cta-calender {
  margin-top: -140px;
  height: auto;
  width: auto;
}

.post-migration-section {
  position: relative;
  padding: 80px 0px;
}
.migration-img-div {
  padding: 20px;
}
.post-migration-img {
  max-width: 480px;
  max-height: 384px;
}
@media (max-width: 1450px) {
  .path-box .approach-box:nth-of-type(1) {
    top: 0%;
    left: 4%;
  }
  .path-box .approach-box:nth-of-type(2) {
    top: 3%;
    left: 42%;
  }
  .path-box .approach-box:nth-of-type(3) {
    top: 22%;
    right: 4%;
    left: auto;
  }
  .path-box .approach-box:nth-of-type(4) {
    top: 35%;
    right: 38%;
    left: auto;
  }
  .path-box .approach-box:nth-of-type(5) {
    top: 60%;
    left: 5%;
  }
  .path-box .approach-box:nth-of-type(6) {
    top: 68%;
    right: 12%;
    left: auto;
  }
}
@media (max-width: 1200px) {
  .path-box .approach-box:nth-of-type(1) {
    top: 0%;
    left: 4%;
  }
  .path-box .approach-box:nth-of-type(2) {
    top: 3%;
    left: 50%;
  }
  .path-box .approach-box:nth-of-type(3) {
    top: 28%;
    right: 4%;
    left: auto;
  }
  .path-box .approach-box:nth-of-type(4) {
    top: 35%;
    right: 52%;
    left: auto;
  }
  .path-box .approach-box:nth-of-type(5) {
    top: 60%;
    left: 10%;
  }
  .path-box .approach-box:nth-of-type(6) {
    top: 72%;
    right: 2%;
    left: auto;
  }
}

@media (max-width: 1024px) {
  .why-poewr-apps-box-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .box p {
    font-size: 16px;
  }
}
@media (max-width: 992px) {
  .management-img {
    width: 100%;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .why-poewr-apps-box-container {
    grid-template-columns: 1fr;
  }
  .box {
    min-height: 140px;
    padding: 30px 24px;
  }
  .box .number {
    font-size: 22px;
  }
  .box .line {
    width: 14px;
  }
  .migration-approach-section {
    min-height: fit-content;
    padding-bottom: 80px;
  }
  .path-box {
    margin-top: 20px;
    gap: 50px;
  }
  .connectors-svg path {
    display: none;
  }
  .approach-box {
    position: static;
    max-width: 80%;
  }
}
@media (max-width: 768px) {
  .banner-section {
    padding: 40px 30px;
    margin: 30px 10px;
  }
  .banner-title {
    font-size: 40px;
    line-height: 110%;
  }
  .banner-sub-title {
    font-size: 25px;
  }
  .banner-para {
    font-size: 16px;
  }
  .post-migration-img {
    max-width: 380px;
    max-height: 284px;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .banner-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
  }

  .clarity-title {
    font-size: 32px;
    line-height: 1;
  }
  .clarity-body {
    font-size: 18px;
  }
  .why-img {
    width: 50px;
    height: 50px;
  }
  .why-img {
    top: -30px;
  }
  /* Odd cards: align right, badge on top-right */
  .why-cards:nth-of-type(odd) .why-card {
    margin-left: 0;
    margin-right: 0;
  }

  .why-cards:nth-of-type(odd) .why-img {
    right: auto;
    left: 5px;
  }
  /* Even cards: align left, badge on top-left */
  .why-cards:nth-of-type(even) .why-card {
    margin-left: 0;
    margin-right: 0;
  }

  .why-cards:nth-of-type(even) .why-img {
    right: 5px;
    left: auto;
  }
  .why-power-apps-title {
    line-height: 1;
    font-size: 32px;
  }
  .approach-heading {
    font-size: 32px;
    line-height: 1;
  }
  .approach-body {
    line-height: 1.1;
    font-size: 14px;
  }
  .why-power-apps-body {
    line-height: 1.1;
    font-size: 14px;
  }

  .why-imperium-title {
    font-size: 32px;
    line-height: 1.2;
  }
  .why-imperium-body {
    font-size: 18px;
  }
  .why-imperium-title-2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .why-imperium-body-2 {
    font-size: 14px;
  }
  .process-step:nth-child(odd) {
    flex-direction: column;
  }
  .management-title {
    line-height: 1;
    font-size: 32px;
  }
  .management-title-sub {
    font-size: 14px;
  }

  .connecting-lines {
    display: none;
  }
  .cta-title {
    font-size: 32px;
    line-height: 1.2;
  }
  .cta-tagline {
    font-size: 18px;
    line-height: 1;
  }
}
