.video_banner.common_banner {
  background: url(../../images/offerings/FSI/FSI_banner.jpg);
  background-size: cover;
  background-position: center;

  .banner-content {
    top: 40%;
  }

  &::before {
    display: none;
  }
}

.common_section {
  h2 {
    background: linear-gradient(90deg, #1028cc 0.02%, #9008ca 89.61%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.why_copilots_section {
  .value_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 45px;
  }

  .value_card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 22px;
    border: 3px solid #ebebeb;
    background: linear-gradient(148deg,
        #6a00ff -4.95%,
        rgba(154, 163, 255, 0.87) 35.11%,
        rgba(105, 175, 255, 0.84) 56.34%,
        #81a5ff 74.73%,
        #000284 110.95%);
    box-shadow: 0 8px 8px 0 rgba(82, 81, 84, 0.31);

    p {
      font-size: 16px;
      line-height: 22px;
    }
  }

  .value_card:hover {
    transform: translateY(-25px);
    box-shadow: 0 15px 35px rgba(0, 120, 212, 0.2);
  }

  .value_card h3 {
    color: #fff;
    font-size: 24px;
    font-family: "Geist-SemiBold";
    line-height: 31px;
  }

  .value_card .metric {
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-size: 63px;
    font-style: normal;
    font-family: "Geist-SemiBold";
    line-height: 31px;
    margin: 35px 0px;
  }
}

.maturity-content {
  border-radius: 22px;
  border: 1px solid #aeb1ff;
  padding: 70px 45px;
  text-align: center;

  .subtitle-text {
    color: #000;
    font-size: 18px;
    line-height: 22px;
  }
}

.function_block {
  border-radius: 22px;
  border: 1.5px solid #fff;
  background: #eef6ff;
  padding: 35px;
  margin: 55px 0px 35px;

  h3 {
    color: #000;
    font-size: 32px;
    font-family: "CalSans-SemiBold";

    span {
      background: linear-gradient(90deg, #2a21cc 0%, #8d09ca 100%);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}

.maturity-roadmap h2 {
  margin-bottom: 15px;
}

.function_box_inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-top: 30px;

  .function_box_item {
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;

    img {
      height: 54px;
      margin-bottom: 10px;
    }

    strong {
      display: block;
      font-family: "Geist-Bold";
      font-size: 16px;
      line-height: 22px;
    }

    &:nth-child(1) {
      background: linear-gradient(180deg, #007dc8 0%, #5cc3e9 100%);
    }

    &:nth-child(2) {
      background: linear-gradient(180deg, #001bc8 0%, #8486ea 100%);
    }

    &:nth-child(3) {
      background: linear-gradient(180deg, #6100c8 0%, #848cea 100%);
    }

    &:nth-child(4) {
      background: linear-gradient(180deg, #8f00c8 0%, #a384ea 100%);
    }

    &:nth-child(5) {
      background: linear-gradient(180deg, #91006c 0%, #cd84ea 100%);
    }

    &:nth-child(6) {
      background: linear-gradient(180deg, #843700 0%, #eabf84 100%);
    }

    &:hover {
      filter: brightness(1.1);
      transform: translateY(-5px);
    }
  }
}

.maturity-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.maturity-stage {
  padding: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-radius: 22px;
  border: 5px solid rgba(174, 177, 255, 0.8);
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.11);
  text-align: left;

  img {
    height: 54px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 16px;
    line-height: 22px;
    background: linear-gradient(90deg, #c42dff 0%, #008ee9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Geist-Bold";
    text-align: left;
    margin-bottom: 15px;
  }

  ul {
    padding-left: 20px;
  }

  li {
    color: #000;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
  }

  &:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-25px);
  }
}

.empowering_gov_contact {
  .empowering_gov_contact_inner {
    border: 1px solid #1d74f5;
    background: #eef6ff;
    box-shadow: 0 12px 16px 2px #c6c5f3;

    h2,
    p {
      color: #2147b3;
      background: none !important;
      -webkit-background-clip: initial !important;
      -webkit-text-fill-color: initial !important;
    }
  }

  a {
    color: #fff;
    background: #1536ac;
    transition: all 0.2s;

    &:hover {
      background: #0f2a8b;
      color: #fff;
    }
  }
}

.offering_sec {
  h2 {
    margin-bottom: 50px;
  }

  .nav-pills {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;

    .nav-item {
      .nav-link {
        padding: 15px 50px;
        color: #505050;
        font-size: 16px;
        line-height: 21px;
        width: 250px;
        border: 1px solid transparent;
        background-size: 200% 200%;
        /* make it larger */
        transition: transform 0.5s ease;

        svg {
          display: block;
          margin: 0px auto 8px;
        }

        &.active,
        &:hover {
          box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
          color: #fff;

          svg path {
            fill: #fff;
          }
        }

        &:hover {
          transform: translateY(-5px);
        }
      }

      &:nth-child(1) {
        .nav-link {
          background: linear-gradient(0deg, #f9f9fb 0%, #f9f9fb 100%) padding-box,
            linear-gradient(90deg, #32cdf6 0%, #55c2ff 38.94%, #5b4adf 100%) border-box;

          &.active,
          &:hover {
            background: linear-gradient(90deg,
                #32cdf6 0%,
                #55c2ff 38.94%,
                #5b4adf 100%);
          }
        }
      }

      &:nth-child(2) {
        .nav-link {
          background: linear-gradient(0deg, #f9f9fb 0%, #f9f9fb 100%) padding-box,
            linear-gradient(90deg, #32f6b8 0%, #00a299 100%) border-box;

          &.active,
          &:hover {
            background: linear-gradient(90deg, #32f6b8 0%, #00a299 100%);
          }
        }
      }

      &:nth-child(3) {
        .nav-link {
          background: linear-gradient(0deg, #f9f9fb 0%, #f9f9fb 100%) padding-box,
            linear-gradient(90deg, #ffa54b 0%, #cf5306 100%) border-box;

          &.active,
          &:hover {
            background: linear-gradient(90deg, #ffa54b 0%, #cf5306 100%);
          }
        }
      }

      &:nth-child(4) {
        .nav-link {
          background: linear-gradient(0deg, #f9f9fb 0%, #f9f9fb 100%) padding-box,
            linear-gradient(90deg, #dc4bd2 0%, #5035f7 100%) border-box;

          &.active,
          &:hover {
            background: linear-gradient(90deg,
                #4f32f6 0%,
                #5563ff 38.94%,
                #df4ad0 100%);
          }
        }
      }
    }
  }
}

.tab-content>.active {
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.arch-title h3 {
  color: #525154;
  text-align: center;
  font-size: 50px;
  font-family: "CalSans-SemiBold";
  margin-bottom: 5px;
}

.arch-subtitle {
  color: #000;
  text-align: center;
  font-size: 18px;
  line-height: 22px;
}

.architecture-header {
  margin: 30px 0px;
}

.persona-section {
  border-radius: 22px;
  background: linear-gradient(270deg, #32CDF6 0%, #55C2FF 38.94%, #5B4ADF 100%);
  padding: 20px 50px;
}

#fraudDetection {
  .persona-card {
    strong {
      color: #04857a;
    }
  }

  .persona-section {
    background: linear-gradient(270deg, #32f6b8 0%, #00a299 100%);
  }
}

#customer360 {
  .persona-card {
    strong {
      color: #dd5700;
    }
  }

  .persona-section {
    background: linear-gradient(270deg, #ffa54b 0%, #cf5306 100%);
  }
}

#riskManagement .persona-section {
  background: linear-gradient(270deg, #4f32f6 0%, #5563ff 38.94%, #df4ad0 100%);
}

.persona-content {
  h4 {
    color: #FFF;
    text-align: center;
    font-size: 22px;
    font-family: "CalSans-SemiBold";
    margin-bottom: 20px;
  }
}


.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.persona-card {
  background: white;
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-around;

  strong {
    color: #1536AC;
    font-family: "Geist-SemiBold";
    line-height: 22px;
    display: block;
  }

  small {
    color: #000;
    font-size: 16px;
    line-height: 19px;
  }

}

.persona-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


.flow-diagram {
  margin: 45px 0 60px;

  h4 {
    color: #000;
    font-size: 28px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
  }
}

.flow-steps {
  display: grid;
  gap: 35px;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
  width: 90%;
  margin: auto;

  .line_1 {
    position: absolute;
    top: 69px;
    right: -45px;
    width: 100%;
  }

  .line_2 {
    position: absolute;
    bottom: 69px;
    right: 0px;
    width: 100%;
  }
}

.flow-step {
  background: linear-gradient(0deg, #fff 0%, #ffff 100%) padding-box,
    linear-gradient(90deg, #80CEFF 0%, #1D74F5 100%) border-box;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 15px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  min-height: 150px;
}

.flow-step {
  p {
    color: #000;
    text-align: center;
    font-family: Geist;
    font-size: 12px;
    line-height: 19px;
  }

  h4 {
    color: #1D74F5;
    font-size: 18px;
    font-family: "Geist-SemiBold";
    line-height: 22px;
    margin: 5px 0px;
  }
}

.flow-step:hover {
  border-color: #0078d4;
  background: linear-gradient(145deg, #f8f9ff, #e3f2fd);
  transform: scale(1.05);
}

.flow-step p {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.3;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.impact-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.30);
  background: linear-gradient(298deg, #AF19B7 13.23%, #8310FE 88.69%);
  color: #FFF;

  img {
    height: 195px;
    margin-bottom: 20px;
  }
}

.impact-card.license {
  background: linear-gradient(141deg, #0065E8 1.37%, #0995FF 44.78%, #00B8FF 98.46%);

}

.impact-card.timeline {
  background: linear-gradient(180deg, #00B4BA 0%, #008E6D 100%);
}

.impact-card h4 {

  font-size: 20px;
  font-family: "Geist-Bold";
  line-height: 22px;
}

.impact-card .value {
  font-size: 34px;
  font-family: "Geist-Bold";
  line-height: 34px;
  margin: 15px 0px 20px;
}

.impact-card .description {
  font-size: 16px;
  line-height: 24px;
  font-family: "Geist-SemiBold";
  color: #fff;
}

.microsoft_bom_section {
  background: url(../../images/offerings/FSI/bom_bg.svg);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 30px;
  padding: 30px;
  margin: 50px 0px;

  h4 {
    text-align: center;
    font-family: "CalSans-SemiBold";
    font-size: 24px;
    margin-bottom: 25px;
  }
}

.microsoft_bom {
  display: grid;
  gap: 35px;
  grid-template-columns: 1fr 1fr 1fr;

  .microsoft_bom_box {
    border-right: 2px solid rgb(192 218 255 / 50%);

    &:last-child {
      border-right: none;
    }

    ul {
      padding-left: 20px;
      margin-bottom: 0px;

      li {
        font-size: 16px;
        margin-bottom: 5px;

        &:last-child {
          margin-bottom: 0px;
        }
      }
    }

    strong {
      font-size: 18px;
      font-family: "Geist-SemiBold";
      margin-bottom: 20px;
      display: block;
    }
  }

}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.outcome-item {
  padding: 35px;
  border-radius: 22px;
  border: 1px solid #A8DCFF;
  background: #FFF;
  box-shadow: 0 4px 22.8px 0 rgba(80, 138, 207, 0.70) inset;
  transition: transform 0.2s ease;

  .desc {
    color: #000;
    font-size: 16px;
    font-weight: 300;
    line-height: 21px;
  }
}

.outcome-item:hover {
  transform: translateX(5px);
}

.outcome-metric {
  color: #0296FF;
  font-size: 45px;
  margin-bottom: 20px;
}

.footer {
  text-align: center;
  padding: 40px 0;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media only screen and (max-width:767px) {

  .maturity-stages,
  .function_box_inner,
  .flow-steps,
  .microsoft_bom {
    grid-template-columns: 1fr;
  }

  .flow-steps {

    .line_1,
    .line_2 {
      display: none;
    }
  }

  .microsoft_bom_section {
    border-radius: 50px;
  }

  .microsoft_bom {
    .microsoft_bom_box {
      border-right: none;
    }
  }

  .arch-title h3 {
    font-size: 28px;
  }

  .impact-card {
    img {
      height: 105px;
    }

    .impact-card .value {
      font-size: 28px;
    }
  }

  .offering_sec {
    & .nav-pills {
      .nav-item {
        width: 100%;

        .nav-link {
          width: 100%;
          margin: 0px 0px 20px;
        }
      }
    }
  }

  .maturity-content {
    padding: 30px 20px;
  }

  .why_copilots_section {
    .value_card {
      h3 {
        color: #fff;
        font-size: 22px;
      }

      .metric {
        font-size: 45px;
        margin: 20px 0px;
      }
    }
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .video_banner.common_banner {
    .banner-content {
      top: 35% !important;
    }
  }

  .function_box_inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .maturity-stages {
    grid-template-columns: repeat(2, 1fr);
  }

  .offering_sec {
    & .nav-pills {
      .nav-item {
        width: 50%;

        .nav-link {
          width: calc(100% - 10px);
          margin-bottom: 20px;
        }
      }
    }
  }

  .flow-step p {
    font-size: 12px;
  }

  .arch-title h3 {
    font-size: 30px;
  }

  .impact-card {
    img {
      height: 90px;
    }

    h4 {
      font-size: 16px;
    }

    .value {
      font-size: 22px;
    }

    .description {
      font-size: 14px;
      line-height: 20px;
    }
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .microsoft_bom {
    .microsoft_bom_box {
      padding-right: 10px;

      ul {
        li {
          font-size: 14px;

        }
      }
    }
  }

  .flow-step {
    border-radius: 40px;
  }
}

@media only screen and (min-width:992px) and (max-width:1279px) {
  .why_copilots_section {
    .value_grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
  }

  .offering_sec {
    & .nav-pills {
      & .nav-item {
        .nav-link {
          padding: 15px 40px;
        }
      }
    }
  }

  .function_box_inner {
    & .function_box_item {
      strong {
        font-size: 14px;
      }
    }
  }

  .persona-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .outcome-metric {
    font-size: 35px;
  }
}