.banner-section {
  background-image: url("../img/agent-training/hero-bg.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 {
  height: 140px;
  width: 420px;
  object-fit: contain;
}
.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: start;
  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;
  color: #e9e9e9;
}
.banner-sub-title-2 {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -1px;
  color: #e9e9e9;
}
.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 #9a17ff2b;
  transform: scale(1.05);
}

.retire-img {
  width: 560px;
  height: 560px;
  object-fit: contain;
}
.retire-body {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -1px;
  color: #626262;
}

.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: 60px 0px;
  position: relative;
  padding: 60px 0px;
}
.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-size: 50px;
  line-height: 1.4;
  margin: 0px;
  margin-bottom: 20px;
  text-align: start;
}

.why-power-apps-body {
  color: #626262;
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -2%;
}
.timeline {
  position: relative;
  margin-left: 30px;
  padding-left: 20px;
  border-left: 2px solid #b3b3b3;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(162.9deg, #9747ff -87.88%, #6329a4 98.09%);
  position: absolute;
  left: -40px;
  top: -0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-marker p {
  font-size: 24px;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.timeline-content {
  padding-left: 20px;
}

.timeline-content h4 {
  font-weight: 400;
  font-size: 25px;
  line-height: 140%;
  letter-spacing: -4%;
  color: #424242;
}
.timeline-content .title {
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -2%;
  background: linear-gradient(90.48deg, #9747ff 5.56%, #6329a4 87.35%),
    linear-gradient(0deg, #9747ff, #9747ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-content p {
  margin: 5px 0 0 0;
  font-weight: 200;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: -1%;
}

.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;
}

.management-section {
  background: linear-gradient(
    180deg,
    #f2e7ff 1.63%,
    rgba(244, 236, 254, 0.1) 100%
  );
  min-height: 100vh;
  position: relative;
  padding: 100px px;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
}

.management-title {
  text-align: center;
  letter-spacing: -0.51px;
  background: linear-gradient(90.48deg, #9747ff 5.56%, #6329a4 87.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 50px;
  line-height: normal;
  font-weight: 400;
}
.management-title-sub {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -4%;
  text-align: center;
  color: #424242;
  margin-top: -14px;
}
.management-div {
  background-color: #fff;
  box-shadow: 0px 43px 66px #e7ccfd5f;
  border-radius: 20px;
  border: 1px solid #8e42c3;
}

.mar-t {
  margin-top: 80px;
}

.management-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.management-heading {
  text-align: left;
  letter-spacing: 0px;
  color: #424242;
  font-size: 24px;
  line-height: 23px;
  font-weight: 500;
}
.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-check {
  height: 14px;
  width: 14px;
  object-fit: contain;
}
.management-para {
  text-align: left;
  letter-spacing: 0px;
  color: #626262;
  opacity: 1;
  font-size: 16px;
  line-height: 24px;
}

.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;
}

.attend-section {
  background-color: #fbf4ff;
  padding: 40px 0px;
  margin-top: 120px;
}

.attend-list {
  display: flex;
  flex-direction: column;
  /* justify-content: space-evenly; */
  /* height: 100%; */
  /* padding-bottom: 40px; */
  gap: 50px;
}
.attend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.attend-item img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}
.attend-item p {
  padding: 0px;
  margin: 0px;
  font-size: 18px;
  line-height: normal;
  letter-spacing: -2%;
  background: linear-gradient(0deg, #626262, #626262),
    linear-gradient(0deg, #424242, #424242);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.attend-img{
    width: 350px;
    height: 350px;
    object-fit: contain;
}
.why-imperium-section {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 80px 0px;
}
.why-imperium {
  background-image: url("../img/outsystems-to-power-platform/why-banner.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 60px;
  /* margin: 10px 20px; */
  border-radius: 25px;
}
.why-imperium-badge {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: -80px;
}

.why-imperium-title {
  font-weight: 500;
  font-size: 40px;
  line-height: 160%;
  letter-spacing: -5%;
  background: linear-gradient(90.48deg, #9747ff 5.56%, #e2c9ff 87.35%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-imperium-title-2 {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: -5%;
  text-align: center;
  background: linear-gradient(90.48deg, #9747ff 5.56%, #6329a4 87.35%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 60px;
}
.why-imperium-body {
  font-weight: 300;
  font-size: 18px;
  line-height: 29px;
  letter-spacing: -2%;
  color: #fefdff;
  margin: 10px 0px;
}
.why-imperium-body-2 {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -2%;
  text-align: center;
  color: #626262;
}
.why-imperium-dots {
  width: 14px;
  height: 14px;
  margin-right: 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;
}

.approch-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -4%;
  text-align: center;
}

.approch-subtitle {
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 400;
  font-size: 30px;
  line-height: 140%;
  letter-spacing: -4%;
  text-align: center;
}

.approch-description {
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: -1%;
  text-align: center;
  color: #ffffff;
}

.process-container {
  position: relative;
}
.process-step {
  display: flex;
  margin-bottom: 60px;
  position: relative;
  gap: 10px;
}

.process-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.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;
}

.step-title {
  font-weight: 300;
  font-size: 25px;
  line-height: 140%;
  letter-spacing: -4%;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-description {
  font-weight: 100;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: -1%;
  color: #ffffff;
}

/* SVG container for the connecting lines */
.connecting-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.2;
}

/* cta section */
.cta-section {
  margin: 100px 0px;
}
.cta-banner {
  background-image: url("../img/lotus-to-power-automate/cta-banner.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 30px;
  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;
}
.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;
}

@media (max-width: 992px) {
  .management-img {
    width: 100%;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
}
@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;
  }
}

@media (max-width: 576px) {
  .retire-img {
    width: 300px;
    height: 200px;
    object-fit: contain;
    overflow: hidden;
  }
  .retire-body {
    font-size: 14px;
    line-height: normal;
  }
  .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;
  }
  .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;
  }
}
