@font-face {
  font-family: "ProximaNova-Bold";
  src: url("../eot/proximanova-boldd41d.eot#iefix") format("embedded-opentype"),
    url("../woff/proximanova-bold.woff") format("woff"),
    url("../svg/proximanova-bold.svg#ProximaNova-bold") format("svg");
  font-weight: 700;
  font-style: normal;
}

/**Cse Study Single**/
html {
  scroll-behavior: smooth;
}
.case-study-content-part {
  margin-inline: 20px;
}

.case-study-content {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  max-width: 1256px;
  margin: 0 auto;
  gap: 20px;
  margin-top: 40px;
}

.case-study-content .para-title {
  scroll-margin-top: 100px;
}
.case-study-toc {
  background-color: #ffffff;
  box-shadow: 2px 2px 17px 1px rgba(24, 118, 205, 0.1);
  border-radius: 14px;
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 20px;
}

.case-study-toc h3 {
  color: #305570;
  font-family: "ProximaNova-Bold", sans-serif;
  font-size: 19px;
  line-height: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.case-study-post {
  max-width: 738px;
  padding: 15px 15px 0;
  background-color: #fff;
}
.case-study-post .container {
  padding: 0;
}
.case-study-post .container img {
  margin: 20px 0;
}
.case-study-toc a {
  color: #aebdcb;
  font-family: "ProximaNova-Bold", sans-serif;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  padding-top: 18px;
  display: block;
}

.case-study-banner {
  background: linear-gradient(180deg, #e4dbff 0%, #d9f1ff 100%);
  border-radius: 14px;
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 24px 18px;
}

.case-study-banner h3 {
  color: #31394c;
  font-family: "ProximaNova-Bold", sans-serif;
  font-size: 19px;
  line-height: 19px;
  font-weight: 700;
}

.case-study-banner p {
  color: #31394c;
  font-family: ProximaNova-Regular, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 25px;
}

.case-study-banner-cta {
  background-color: #ed2470;
  border-radius: 41px;
  padding: 10px 55px;
  display: block;
}

.case-study-banner-cta span {
  color: #ffffff;
  font-family: "ProximaNova-Bold", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.case-study-cta {
  text-align: center;
  margin: 30px 0 0;
}

.case-study-paragraph {
  margin-bottom: 50px;
}
.case-study-paragraph iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.case-study-paragraph h2 {
  color: #213c4f;
  font-family: "ProximaNova-Bold", sans-serif;
  font-size: 30px;
  line-height: 49.35px;
  font-weight: 700;
  margin-bottom: 20px;
}

.case-study-paragraph p {
  color: #213c4f;
  font-family: ProximaNova-Regular, sans-serif;
  font-size: 21px;
  line-height: 34.54px;
  font-weight: 400;
}

.case-study-hero {
  max-width: 738px;
  background-color: #ffffff;
  padding: 18px 15px 0;
  margin: 35px auto 0;
}

.case-study-hero-grid {
  display: flex;
  background-image: url("../svg/bg_cs_hero.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  padding: 35px 40px 80px;
  margin-bottom: 0;
  height: 390px;
  flex-direction: column;
  justify-content: space-between;
}

h1.case-study-title {
  max-width: 550px;
  font-family: "ProximaNova-Bold", sans-serif;
  font-size: 40px;
  line-height: 50.4px;
  font-weight: 700;
}

.case-study-hero-logo {
  text-align: right;
}

.case-study-content-container {
  background-image: url("../svg/bg_case_study.svg");
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
  padding: 1px;
  margin-top: 80px;
}

a.active {
  color: #2998fe;
}

/**Case Study Page**/

/*body {*/
/*    background: #F5F5F5;*/
/*}*/

#cs-all {
  background-color: #ffffff;
  padding: 60px 0 180px 0;
  margin: 47px auto 0;
  background-image: url("../jpg/top-wave.jpg");
  background-repeat: no-repeat;
  background-position: 0px 30px;
  background-size: 100vw;
}

#cs-title {
  padding: 120px auto 180px;
  margin: 10px auto 100px;
  text-align: center;
  font-family: "ProximaNova-Bold", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 126%;
}

.clearfix:after {
  clear: both;
}

.cs-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 26px;
  max-width: 936px;
  margin: 0 auto;
  min-height: 300px;
}

a.cs-box {
  font-size: 18px;
  line-height: 25px;
  font-weight: 400;
  background: #fff linear-gradient(315deg, #f3fafe 5.51%, #f9f1ff 100.88%);
  border-radius: 10px;
  display: flex;
  transition: all 0.5s;
}
a.cs-box:hover {
  background-position: 455px 0;
  box-shadow: #d0e2fe 0px 0px 10px;
}

.cs-box-container {
  margin: 9px;
  width: 100%;
  background-image: url("../png/cs_bg_read_more.png");
  background-repeat: no-repeat;
  background-size: 362px 182px;
  background-position: bottom right;
  display: flex;
  justify-content: space-between;
  height: 310px;
  flex-direction: column;
}

a.cs-box .cs-item-title {
  font-family: "ProximaNova-Bold", sans-serif;
  color: #212f62;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 13px;
}
.cs-box-logo {
  text-align: right;
  padding: 20px;
}
.cs-percent {
  margin: 0 20px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: #f43e72;
}

.cs-percent-number {
  font-size: 48px;
  line-height: 48px;
}

.cs-percent-text {
  font-size: 24px;
  line-height: 30px;
}

.cs-group {
  display: grid;
  gap: 55px;
}

.read-more-link {
  display: flex;
  justify-content: end;
}

@media screen and (max-width: 1150px) {
  .case-study-content {
    display: block;
    max-width: 738px;
  }
}

@media screen and (max-width: 800px) {
  .cs-items {
    max-width: 90%;
    grid-template-columns: 1fr;
  }
  #cs-title {
    margin: 10px 40px 40px;
  }
}
@media screen and (max-width: 550px) {
  h1.case-study-title {
    font-size: 24px;
    line-height: 126%;
  }
  .case-study-post {
    padding: 0;
  }
  .case-study-post .container {
    padding: 0;
  }
  .case-study-hero-grid {
    height: 260px;
  }
  .case-study-toc {
    margin-bottom: 40px;
  }
}
