/* This is for case studies single page css. */

.case-studies-page-wrap {
  width: 88.9%;
  margin: 0 auto;
  /* padding-bottom: 70px; */
}

@media (max-width: 1200px) {
  .case-studies-page-wrap {
    width: 92.2%;
  }
}

@media (max-width: 767.98px) {
  .case-studies-page-wrap {
    width: 91.5%;
  }
}

.case-study-single-banner {
  width: 100%;
  object-fit: cover;
  margin-bottom: 88px;
  height: 40rem;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .case-study-single-banner {
    height: auto;
        object-fit: contain;
        object-position: center;
        margin-bottom: 48px;
  }
}

.case-study-single .case-study-heading {
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  color: #221f1f;
  margin: 0;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-heading {
    font-size: 40px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-heading {
    font-size: 32px;
  }
}

.case-study-single .how-help-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  margin-top: 64px;
}

@media (max-width: 1200px) {
  .case-study-single .how-help-wrap {
    gap: 8px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .how-help-wrap {
    margin-top: 48px;
  }
}

.case-study-single .how-help-wrap .text {
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  color: #000000;
  width: 200px;
}

@media (max-width: 1023px) {
  .case-study-single .how-help-wrap .text {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .case-study-single .how-help-wrap .text {
    font-size: 18px;
  }
}

.case-study-single .how-help-wrap .tag-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    gap: 16px;
    min-width: 0px;
}

@media (max-width: 1023px) {
  .case-study-single .how-help-wrap .tag-content {
    width: 100%;
    gap: 8px;
  }
}

.case-study-single .how-help-wrap .items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  text-align: center;
  color: #2f2f2f;
  background: #f3f3f3;
  padding: 12px 24px;
  border-radius: 39px;
}
.tag-content .items{
	margin:0px;
}

@media (max-width: 1200px) {
  .case-study-single .how-help-wrap .items {
    padding: 12px;
  }
}

.case-study-single .case-study-single-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 64px;
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content {
    margin-top: 48px;
  }
}

.case-study-single .case-study-single-content .sidebar {
  width: 270px;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .sidebar {
    width: 230px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .sidebar {
    display: none;
  }
}
.case-study-single .case-study-single-content .sidebar p{
  font-weight: 500;
  font-size: 24px;
  line-height: 200%;
  color: #9f9f9f;
  margin-bottom: 8px;
  display: block;
  cursor: default;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
}

.case-study-single .case-study-single-content .sidebar .link-item {
  font-weight: 500;
  font-size: 24px;
  line-height: 200%;
  color: #9f9f9f;
  margin-bottom: 8px;
  display: block;
  transition: 0.4s;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .sidebar .link-item {
    font-size: 18px;
  }
}

.case-study-single .case-study-single-content .sidebar .link-item.active,
.case-study-single .case-study-single-content .sidebar .link-item:hover {
  color: #000000;
}

.case-study-single .case-study-single-content .content-wrap {
  width: calc(100% - 270px);
  padding-left: 64px;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap {
    width: calc(100% - 230px);
    padding-left: 48px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap {
    width: 100%;
    padding-left: 0;
  }
}

.case-study-single .case-study-single-content .content-wrap .block {
  margin-bottom: 64px;
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .block {
    margin-bottom: 48px;
  }
}

.case-study-single .case-study-single-content .content-wrap .heading-text {
  font-weight: 500;
  font-size: 40px;
  line-height: 140%;
  color: #2f2f2f;
  margin-bottom: 24px;
  margin-top: 0;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .heading-text {
    font-size: 36px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .heading-text {
    font-size: 28px;
  }
}

.case-study-single .case-study-single-content .content-wrap .para-text, .case-study-single .case-study-single-content .content-wrap .block p {
  font-weight: 400;
  font-size: 16px;
  line-height: 200%;
  color: #767676;
  margin-bottom: 24px;
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .para-text, .case-study-single .case-study-single-content .content-wrap .block p {
    font-size: 14px;
  }
}

.case-study-single .case-study-single-content .content-wrap .number-top-border {
  border-top: 2px solid transparent;
  border-image: linear-gradient(to right, #9747ff, #e63c2e) 2;
  border-image-slice: 2;
  margin: 24px 0;
}

@media (max-width: 575.98px) {
  .case-study-single .case-study-single-content .content-wrap .number-top-border {
    margin: 16px 0;
  }
}


.case-study-single .case-study-single-content .content-wrap .numbers-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */

}
.numbers-wrap .numbers-box {
    padding: 40px;
    position: relative;
}
.numbers-wrap .numbers-box:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 2px;
    height: 60%;
   background: linear-gradient(180deg, #9747ff, #e63c2e);
}

/* Add bottom border to all except last row */
.numbers-box:not(:nth-last-child(-n+2))::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #9747ff, #e63c2e);
}


@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box {
    padding: 12px 24px;
  }
}

@media (max-width: 575.98px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box {
    padding: 12px;
  }
}

.case-study-single .case-study-single-content .content-wrap .numbers-box .text {
  font-weight: 500;
  font-size: 22px;
  line-height: 150%;
  color: #1a1a1a;
  margin-bottom: 16px;
  margin-top: 0;
}
.case-study-single .case-study-single-content .content-wrap .numbers-box .number-secondary{
	font-weight: 500;
    font-size: 22px;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box .text {
    font-size: 20px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box .text {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box .text {
    font-size: 16px;
  }
}

.case-study-single .case-study-single-content .content-wrap .numbers-box .number {
  font-weight: 500;
  font-size: 72px;
  line-height: 1.2;
  color: #2f2f2f;
  margin: 0;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box .number {
    font-size: 56px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box .number {
    font-size: 40px;
  }
}

@media (max-width: 575.98px) {
  .case-study-single .case-study-single-content .content-wrap .numbers-box .number {
    font-size: 28px;
    line-height: normal;
  }
}

.case-study-single .case-study-single-content .content-wrap .client-message {
  background: rgba(253, 253, 253, 0.9);
  border: 1px solid #bfbfbf;
  padding: 24px 32px;
  border-radius: 16px;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .client-message {
    padding: 16px;
  }
}

.case-study-single .case-study-single-content .content-wrap .client-message .para-text {
  font-weight: 400;
  font-size: 20px;
  line-height: 27px;
  color: #6b6969;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .para-text {
    font-size: 18px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .para-text {
    font-size: 16px;
  }
}

.case-study-single .case-study-single-content .content-wrap .client-message .details-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .profile-img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .profile-img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .profile-img {
    width: 36px;
    height: 36px;
  }
}

.case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .text-wrap {
  width: calc(100% - 194px);
  padding: 0 10px;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .text-wrap {
    width: calc(100% - 156px);
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .text-wrap {
    width: calc(100% - 116px);
  }
}

@media (max-width: 575.98px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .text-wrap {
    width: 100%;
    margin: 12px 0;
  }
}

.case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .text-wrap .name {
  font-weight: 400;
  font-size: 20.97px;
  line-height: 29.36px;
  color: #221f1f;
  margin: 0 0 4px;
}

.case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .text-wrap .position {
  font-weight: 500;
  font-size: 14.52px;
  line-height: 21.78px;
  color: #221f1f;
  margin: 0;
}

.case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .logo {
  margin-left: auto;
  width: 120px;
}

@media (max-width: 1200px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .logo {
    width: 100px;
  }
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .logo {
    width: 80px;
  }
}

@media (max-width: 575.98px) {
  .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .logo {
    width: 80px;
  }
}

.case-study-single .case-study-single-content .content-wrap .project-images {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 64px;
}

@media (max-width: 991.98px) {
  .case-study-single .case-study-single-content .content-wrap .project-images {
    gap: 8px;
    margin-top: 48px;
  }
}

.case-study-single .case-study-single-content .content-wrap .project-images .img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.case-study-single .case-study-single-content .content-wrap .project-images img {
  width: 100%;
  max-width: 295px;
}

.case-study-single .challenges-list {
  margin: 16px 0;
  padding-left: 10px;
}

.case-study-single .challenges-list .list-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  list-style: none;
}

.case-study-single .challenges-list .list-item:before {
  content: "•";
  color: #767676;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.case-study-single .challenges-list .list-item:last-child {
  margin-bottom: 0;
}

.case-study-single .mobile-section-nav {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0 0;
  margin: 24px 0 0;
}

.case-study-single .mobile-section-nav button {
  border: 1px solid #d0d0d0;
  background: transparent;
  color: #2f2f2f;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.case-study-single .mobile-section-nav button.active {
  background: #2f2f2f;
  color: #ffffff;
}
li.para-text.list-item {
    margin-bottom: 5px !important;
}

/*@media (max-width: 991.98px) {
  .case-study-single .mobile-section-nav {
    display: flex;
  }
}*/

.sticky {
  position: sticky;
  top: 120px;
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.case-story-section .insights-blogs-wrap {
  display: block;
  margin: 0 auto;
  width: 88.9%;
  padding: 70px 0;
}

@media (max-width: 768px) {
  .case-story-section .insights-blogs-wrap {
    padding: 40px 0;
  }
}

.case-story-section .section-header {
  display: flex;
	flex-direction:column;
  align-items: flex-start;
	gap:1.5rem;
  margin-bottom: 48px;
}

.case-story-section .header-content .section-subtitle {
  background: linear-gradient(183deg, rgb(151, 71, 255) 29.69%, rgb(230, 60, 46) 97.02%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}

.case-story-section .header-content .section-title {
  font-size: 52px;
  font-weight: 400;
  color: #2f2f2f;
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 1200px) {
  .case-story-section .header-content .section-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .case-story-section .header-content .section-title {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .case-story-section .header-content .section-title {
    font-size: 28px;
  }
}

.case-story-section .blog-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .case-story-section .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .case-story-section .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-story-section .blog-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 2px 2px 16px 0 #00000017;
  height: 100%;
  background-color: #ffffff;
}

@media (max-width: 1367px) {
  .case-story-section .blog-card {
    min-height: 730px;
  }
}

@media (max-width: 1025px) {
  .case-story-section .blog-card {
    min-height: 830px;
  }
}

@media (max-width: 920px) {
  .case-story-section .blog-card {
    min-height: 740px;
  }
}

@media (max-width: 600px) {
  .case-story-section .blog-card {
    min-height: 650px;
  }
}

.case-story-section .blog-card:hover {
  box-shadow: 8px 12px 32px 0 rgba(0, 0, 0, 0.15);
}

.case-story-section .blog-card .card-image {
  position: relative;
  overflow: hidden;
}

.case-story-section .blog-card .card-image img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  /* padding: 24px; */
}
@media (max-width: 1441px) {
    .case-story-section .blog-card .card-image img {
        height: 19rem;
    }
}

.case-story-section .blog-card .card-content {
  padding: 24px;
}

.case-story-section .blog-card .card-content .card-title {
  font-size: 28px;
  font-weight: 500;
  color: #2f2f2f;
  margin-bottom: 12px;
  line-height: 1.5;
  margin-top: 0;
}

.case-story-section .blog-card .card-content .card-description {
    color: #767676;
    font-size: 1rem;
    line-height: 200%;
    margin: 0;
    height: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

html[data-theme="dark"] .case-study-single-banner {
  filter: brightness(0.7);
}

html[data-theme="dark"] .case-study-single .case-study-heading {
  color: #ffffff;
}

html[data-theme="dark"] .case-study-single .how-help-wrap .text {
  color: #ffffff;
}

html[data-theme="dark"] .case-study-single .how-help-wrap .items {
  color: #eaeaea;
  background: #1a1a1a;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .sidebar .link-item.active,
html[data-theme="dark"] .case-study-single .case-study-single-content .sidebar .link-item:hover {
  color: #ffffff;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .heading-text {
  color: #ffffff;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .para-text {
  color: #eaeaea;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .numbers-box .text,
html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .numbers-box .number {
  color: #ffffff;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .client-message {
  background: #141414;
  border: 1px solid #ececec;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .client-message .para-text {
  color: #747474;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .name,
html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .client-message .details-wrap .position {
  color: #ffffff;
}

html[data-theme="dark"] .case-story-section .header-content .section-title,
html[data-theme="dark"] .case-story-section .blog-card .card-content .card-title,
html[data-theme="dark"] .case-story-section .blog-card .card-content .card-description {
  color: #eaeaea;
}

html[data-theme="dark"] .case-story-section .blog-card {
  background-color: #1b1b1b;
}

html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .para-text, html[data-theme="dark"] .case-study-single .case-study-single-content .content-wrap .block p {
  color: #ffffff;
}

.numbers-box .custom-wrp{
	display:flex;
	align-items:center;
	gap:20px;
}
.numbers-box .custom-wrp img{
	max-width:100%;
	width:58px;
	height:55px;
}

/*  glow animation*/
.glow-single-color {
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
}

.glow-corner {
  position: absolute;
  pointer-events: none;
}

.glow-red,
.glow-purple {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 100%;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  pointer-events: none;
  animation-name: glow-animation;
  animation-duration: inherit;
}

.glow-red {
  --color: #e63c2ecc;
}

.glow-purple {
  --color: #9747ffe5;
}

.glow-corner[data-position="top-right"] {
  top: 0;
  right: 0;
}

.glow-corner[data-position="top-right"] .glow-red {
  top: 0;
  right: 0;
}

.glow-corner[data-position="top-right"] .glow-purple {
  top: calc(-180px * var(--scale));
  right: calc(360px * var(--scale));
}

.glow-corner[data-position="top-left"] {
  top: 0;
  left: 0;
}

.glow-corner[data-position="top-left"] .glow-red {
  top: 0;
  left: 0;
}

.glow-corner[data-position="top-left"] .glow-purple {
  top: calc(-180px * var(--scale));
  left: calc(360px * var(--scale));
}

.glow-corner[data-position="bottom-left"] {
  bottom: 83px;
  left: 0;
}

.glow-corner[data-position="bottom-left"] .glow-red {
  bottom: 0;
  left: 0;
}

.glow-corner[data-position="bottom-left"] .glow-purple {
  bottom: -250px;
  left: 0;
}

.glow-corner[data-position="bottom-right"] {
  bottom: 0;
  right: 0;
}

.glow-corner[data-position="bottom-right"] .glow-red {
  bottom: 0;
  right: 0;
}

.glow-corner[data-position="bottom-right"] .glow-purple {
  bottom: calc(-180px * var(--scale));
  right: calc(360px * var(--scale));
}

@keyframes glow-animation {
  0% {
    box-shadow: 0 0 calc(50px * var(--scale)) calc(50px * var(--scale)) var(--color);
  }
  50% {
    box-shadow: 0 0 calc(100px * var(--scale)) calc(100px * var(--scale)) var(--color);
  }
  100% {
    box-shadow: 0 0 calc(50px * var(--scale)) calc(50px * var(--scale)) var(--color);
  }
}

/*animation end  */
