/*more case study*/
.more-case-studies {
  --morecs-text: #151618;
  --morecs-muted: #85858d;
  --morecs-border: rgba(35, 39, 55, 0.14);
  position: relative;
  padding: 28px 0 60px;
  background:
    radial-gradient(
    ellipse at 12% 10%,
    rgba(228, 220, 255, 0.22),
    transparent 40%
    ),
    #fff;
}

.card-morecs-sm {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: block;
  height: 100%;
  padding: 40px 24px 32px;
  /* Do not clip the radial glow */
  overflow: visible;
  color: var(--morecs-text);
  text-decoration: none;
  border-right: 1px dashed var(--morecs-border);
  border-bottom: 1px dashed var(--morecs-border);
  background: transparent;
  transition: color 0.3s ease;
}

.card-morecs-sm {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.card-morecs-sm::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: var(--morecs-glow-color, #85b5ff);
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.75;
  pointer-events: none;
}

/* Individual glow colors */
.more-case-studies .morecs-bg-blue {
  --morecs-glow-color: #72aaff;
}

.more-case-studies .morecs-bg-lavender {
  --morecs-glow-color: #ad83ff;
}

.more-case-studies .morecs-bg-rose {
  --morecs-glow-color: #ff8296;
}

.more-case-studies .morecs-bg-gold {
  --morecs-glow-color: #ffc45e;
}

.more-case-studies .morecs-bg-mint {
  --morecs-glow-color: #64d9a7;
}

/* ==========================================
   DESKTOP GRID BORDERS
========================================== */

@media (min-width: 992px) {
  .more-case-studies
  .col-lg-4:nth-child(3n)
  .card-morecs-sm {
    border-right: 0;
  }
  /* Remove bottom border from the last desktop row */
  .more-case-studies
  .col-lg-4:nth-last-child(-n+3)
  .card-morecs-sm {
    border-bottom: 0;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  /* Two-column layout */
  .more-case-studies
  .col-sm-6:nth-child(2n)
  .card-morecs-sm {
    border-right: 0;
  }
  .more-case-studies
  .col-sm-6:nth-last-child(-n+2)
  .card-morecs-sm {
    border-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .more-case-studies
  .col-sm-6:last-child
  .card-morecs-sm {
    border-bottom: 0;
  }
}

.card-morecs-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.7;
  margin-bottom: 20px;
  overflow: visible;
  border-radius: 24px;
  background: #f4f4f6;
}

/* Image element */
.card-morecs-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.45s ease;
}

/* Subtle image hover effect */
.card-morecs-sm:hover
.card-morecs-img img {
  transform: scale(1.025);
}

.card-morecs-category-tag {
  position: absolute;
  z-index: 2;
  top: -15px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 36px);
  min-height: 30px;
  padding: 6px 18px;
  border-radius: 36px;
  background: #dce3f6;
  color: #222b43;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.15px;
  white-space: normal;
}

.card-morecs-meta {
  font-size: 14px;
  line-height: 1.4;
  height: calc(14px * 1.4 * 1);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
  color: var(--gray);
  font-weight: 400;
}

.card-morecs-sm h3 {
  font-size: 20px;
  line-height: 1.4;
  min-height: calc(20px * 1.4 * 2);
  font-weight: 600;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
}

.card-morecs-sm > p:last-child {
  font-size: 16px;
  color: var(--gray);
  display: -webkit-box;
  min-height: calc(16px * 1.6 * 3);
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}


@media (max-width: 575.98px) {
  .card-morecs-img {
    border-radius: 22px;
    margin-bottom: 18px;
  }
}

/*above is for small cards*/





.case-study-big-card{
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

@media (min-width: 1350px) {
  .case-study-big-card{
    min-height: 560px;
  }
}

.case-study-big-card-list-page {
  --case-study-list-green: #19b982;
  --case-study-list-green-dark: #078b60;
  --case-study-list-ink: #111916;
  --case-study-list-muted: #727272;
  --case-study-list-line: rgba(20, 42, 34, .18);
  overflow: hidden;
  padding: 30px;
  color: var(--case-study-list-ink);
  background: radial-gradient(ellipse at 8% 8%, rgba(236,240,255,.96) 0, rgba(236,240,255,0) 45%), linear-gradient(115deg,#f5f6fd 0%,#f2f4fb 56%,#f8f5ef 100%);
}
.case-study-big-card-list-page:nth-of-type(even) {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(236,240,255,.96) 0, rgba(236,240,255,0) 45%),
    linear-gradient(115deg, #f8f5ef 0%, #f2f4fb 56%, #f5f6fd 100%);
}

.case-study-big-card-list-page.case-study-big-card-list-page2{
  background: #fff;
  box-shadow: 0 4px 45px rgba(0, 0, 0, 0.08)
}

.case-study-list-content {
  min-width: 0;
}

.case-study-list-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--case-study-list-green-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.4;
  text-transform: uppercase;
}
.case-study-list-eyebrow::before {
  content: "";
  width: 48px;
  height: 1.5px;
  flex: 0 0 48px;
  background: var(--case-study-list-green);
}


.case-study-list-benefits {
  gap: 18px 22px;
  margin: 24px 0 32px;
}
.case-study-list-benefit {
  gap: 12px;
  min-width: 0;
}
.case-study-list-benefit-icon {
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--case-study-list-green);
  font-size: 20px;
}
.case-study-list-benefit-text {
  display: block;
  min-width: 0;
}
.case-study-list-benefit-text strong {
  display: block;
  margin: 0 0 3px;
  color: var(--case-study-list-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.case-study-list-benefit-text small {
  display: block;
  color: var(--case-study-list-muted);
  font-size: 13px;
  line-height: 1.4;
}
.case-study-big-card-list-page .case-study-list-cta {
  gap: 15px;
  min-height: 44px;
  padding: 6px 6px 6px 18px;
  border: 1px solid #050706;
  color: #fff;
  background: #050706;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}
.case-study-big-card-list-page .case-study-list-cta:hover {
  color: #fff;
  border-color: var(--case-study-list-green-dark);
  background: var(--case-study-list-green-dark);
  box-shadow: 0 8px 22px rgba(8,123,87,.18);
  transform: translateY(-2px);
}
.case-study-big-card-list-page .case-study-list-cta span {
  display: inline-flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111;
  background: #fff;
  font-size: 20px;
  transition: transform .25s ease;
}
.case-study-big-card-list-page .case-study-list-cta:hover span {
  transform: translateX(3px);
}
.case-study-list-tech {
  gap: 10px;
}
.case-study-list-tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 7px 16px 7px 9px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  /*font-weight: 500;*/
  line-height: 1.2;
  white-space: nowrap;
}
.case-study-list-tech-icon {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 28px;
  object-fit: contain;
  border-right: 1px solid #eee;
  padding: 1px 6px 1px 1px;
}

.case-study-list-visual {
  position: relative;
  overflow: hidden;
  /*aspect-ratio: 1 / 0.8;*/
  border-radius: 20px;
  background: #8fddc2;
}


.case-study-list-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.case-study-big-card-list-page:hover .case-study-list-visual img.hover-animation {
  transform: scale(1.025);
}
.case-study-list-visual-label {
  position: absolute;
  z-index: 1;
  top: -16px;
  left: 48px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius:99px;
  color: #fff;
  background: var(--case-study-list-green);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: 0 7px 18px rgba(10,110,76,.12);
}

.case-study-list-visual-label i {
  font-size: 15px;
}
.case-study-big-card-list-page.case-study-big-card-list-page2 .case-study-list-visual-label{
  left: auto;
  right: 48px
}

.case-study-big-card-list-page .case-study-list-cta:focus-visible {
  outline: 3px solid rgba(25,185,130,.5);
  outline-offset: 4px;
}

@media (max-width: 1366px) {
  article .title3{
    font-size: 28px !important
  }
  .case-study-list-tech{
    margin-top: 24px;
    padding-top: 12px;
  }
}
/*case study list page*/
/*case study small cards*/
.card-case-study-sm {
  background: #fff;
  padding: 10px 0 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;

}
.card-case-study-sm.card1, .card-case-study-sm.card2{
  border-right: 1px solid #f5f5f5
}
/*.card-case-study-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--bs-box-shadow-sm);
}*/
.card-case-study-image {
  display: block;
  aspect-ratio: 1 / 0.65;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(circle at 0 0, rgba(255, 212, 0, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(27, 44, 193, 0.18), transparent 55%),
    var(--light)
}
.card-case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card-case-study-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--gray);
  color: var(--light);
  font-size: 12px;
  position: absolute;
  top: 10px;
  left: 50px
}

.case-study-name {
  font-size: 22px;
  line-height: 1.4;
  min-height: calc(22px * 1.4 * 2);
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-study-name:hover{
  color: var(--primary);
}

.card-case-study-body p{
  color: var(--gray);
  display: -webkit-box;
  font-size: 16px;
  min-height: calc(16px * 1.7 * 3);
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

@media (max-width: 575px) {
}


/*case study list page end*/
.divider-h{
  height: 1px;
  background:rgba(20, 42, 34, .18);
  margin: 24px 0;
}
.divider-v{
  width: 1px;
  background:rgba(20, 42, 34, .12);
  display: inline-block;
  align-self: stretch;
  min-height: 1em;
}
.case-study-list-content p{
  color: var(--base);
}
.cs-btn-wrap{
  margin: 24px 0;
}
.case-study-big-card-list-page ul li{
  color: var(--base)
}
.case-study-big-card-list-page ul{
  padding: 0 0 0 27px;
}

/*list page big card*/
.case-study-big-card.case-study-big-card-list-page{
  box-shadow: none
}
.case-study-imgwrapper{
  /*height: 550px;*/
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}
.case-study-imgwrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover
}
.case-study-imgwrapper.img-lg{
  border-radius: 16px;
  overflow: hidden
}
.case-study-big-card-list-page .cs-logo{
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 5
}
.case-study-big-card-list-page .cs-logo img{
  height: 44px;
  width: auto;
}

.case-study-big-card-list-page.yaden .cs-logo{
  left: 40px;
  top: 40px;
}
.case-study-big-card-list-page.ashcode .cs-logo{
  left: 50%;
  transform: translateX(-50%);
  --webkit-transform: translateX(-50%);
  top: auto;
  bottom: 10px;
}



/*.case-study-big-card-list-page.img-thumb{
}
.case-study-big-card-list-page.img-slider{
}*/


