/* ===== Case Study: Build. Transform. Dominate. — Our Work Section ===== */
.case-study-btn{
 border-radius: 8.145px;
background: linear-gradient(90deg, #0369CD 0%, #0092B8 100%);
  color: #fff !important; 
  border-color: transparent;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 500;
  width: fit-content;
  @media (max-width:768px){
    font-size: 14px;
  }
}
.case-study-btn:hover{
  box-shadow: 0 6px 20px 7.783px rgba(0, 184, 219, 0.32);
}
.case-study-dominate.case-study-banner{
      height: 650px;
    align-items: flex-start;
    padding-top: 4rem;
}
.common-banner-new.case-study-banner .banner-content-set {
  h4{
  color: #FFF;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: 0.7px;
text-transform: uppercase;
border-radius: 50px;
border: 1.263px solid rgba(0, 184, 219, 0.30);
background: linear-gradient(90deg, #034382 0%, #1D9AFB 100%);
padding: 10px 16px;
display: inline-block;
margin-bottom: 30px;
@media (max-width:768px){
  font-size: 12px;
  padding:  6px 14px;
  line-height: 16px;
}
  }
  h1{
   background: linear-gradient(90deg, #FFF 0%, #A2F4FD 50%, #FFF 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: none;
        font-size: 52px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
span{
 color: #1D9AFB;
 -webkit-text-fill-color: #1D9AFB;
}
@media (max-width:992px){
  font-size: 44px;
}
@media (max-width:768px){
  font-size: 32px;
}
@media (max-width:576px){
  font-size: 22px;
}
  }
  p{
    color: #D1D5DC;
  }
}
.cs-work-section {
  padding: 10px 0 60px;
}

/* Section Heading */
.cs-work-section .cs-work-heading {
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cs-work-section .cs-work-heading strong {
  display: block;
  margin-bottom: 4px;
}

/* ===== Tab Pills ===== */
.cs-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  margin-bottom: 52px;
}

.cs-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.cs-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 767px) {
  .cs-nav-pills {
         flex-wrap: wrap;
        justify-content: center;
  }
}

.cs-nav-pills .cs-nav-item {
  flex: 0 0 auto;
}

.cs-tab-btn {
  display: inline-block;
  padding: 8px 20px;
  color: #DBEAFE;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
  line-height: 1.4;
  border-radius: 42375200px;
border: 1.263px solid rgba(81, 162, 255, 0.30);
background: rgba(43, 127, 255, 0.10);
}

.cs-tab-btn:hover {
 border-radius: 42375200px;
border: 1.263px solid #51A2FF;
background: rgba(43, 127, 255, 0.27);
}

.cs-tab-btn.active {
   border-radius: 42375200px;
border: 1.263px solid #51A2FF;
background: rgba(43, 127, 255, 0.6);
}

/* ===== Case Study Items ===== */
.cs-item {
  margin-bottom: 30px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 24px;
border: 1.263px solid rgba(3, 107, 203, 0.20);
background: linear-gradient(135deg, rgba(29, 154, 251, 0.10) 0%, rgba(0, 0, 0, 0.00) 100%);
padding: 50px 30px;
}

.cs-item.cs-hidden {
  display: none;
}

/* Mockup Image */
.cs-mockup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px;
}

.cs-mockup-wrap img {
  max-height: 340px;
  width: 100%;
  object-fit: contain;
}

/* Info Card */
.cs-info-card {
  border-radius: 0px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* .cs-info-card.cs-card-peach {
  background: linear-gradient(180deg, #FFF 15.21%, #FDE1CF 67.28%);
box-shadow: 0 7px 5.9px 0 rgba(0, 0, 0, 0.25);
}

.cs-info-card.cs-card-blue {
background: linear-gradient(180deg, #FFF 27.07%, #B0D6FF 67.28%);
box-shadow: 0 7px 5.9px 0 rgba(0, 0, 0, 0.25);
}

.cs-info-card.cs-card-purple {
background: linear-gradient(180deg, #FFF 21.09%, #E8D1E6 59.34%, #D9D2F2 99.83%);
box-shadow: 0 7px 5.9px 0 rgba(0, 0, 0, 0.25);
} */

.cs-info-card.cs-card-green {
  background: #d4f0e2;
}

.cs-info-card.cs-card-dark {
  background: #0c2b48;
}

.cs-info-card.cs-card-dark .cs-project-name {
  color: #fff;
}

.cs-info-card.cs-card-dark .cs-stat-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Project Name */
.cs-project-name {
  color: #FFF;
font-size: 36px;
font-style: normal;
font-weight: 600;
line-height: 40px; /* 111.111% */
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.cs-project-desc{
  color: #FFF;
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 26px;
}

/* Stats Badges */
.cs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 8px;
}

.cs-stat-badge {
  display: inline-block;
  padding: 16px;
  border-radius: 14px;
border: 1.263px solid rgba(3, 107, 203, 0.20);
background: rgba(0, 0, 0, 0.30);
width: 48%;
h5{
color: #FFF;
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 32px; /* 133.333% */
margin-bottom: 2px;
}
p{
  color: #D1D5DC;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
margin-bottom: 0;
}
}

/* ===== Alternating layout: even items flip image/card ===== */
.cs-item:nth-child(even) .cs-row-inner {
  flex-direction: row-reverse;
}

/* ===== No results ===== */
.cs-no-results {
  text-align: center;
  color: #888;
  font-size: 16px;
  padding: 40px 0;
  display: none;
}

.cs-no-results.visible {
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .cs-work-section {
    padding: 60px 0 40px;
  }

  .cs-info-card {
    padding: 12px;
    min-height: auto;
  }

  .cs-project-name {
    font-size: 24px;
  }

  .cs-item {
    margin-bottom: 30px;
    padding: 12px;

  }
  .cs-stat-badge {
    h5 {
      font-size: 18px;
    }
  }
}

@media (max-width: 767px) {
  .cs-work-section {
    padding: 5px 0 32px;
  }

  .cs-tabs-wrapper {
    margin-bottom: 36px;
  }

  .cs-work-section .cs-work-heading {
    font-size: 16px;
  }

  .cs-work-section .cs-work-heading strong {
    font-size: 18px;
  }

  .cs-mockup-wrap {
    margin-bottom: 20px;
  }

  .cs-mockup-wrap img {
    max-height: 260px;
  }

  .cs-info-card {
    padding: 6px;
    border-radius: 0;
  }

  .cs-project-name {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 30px;
  }

  .cs-stat-badge {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 10px;
  }

  .cs-item {
    margin-bottom: 36px;
    padding: 12px;
  }
  .cs-project-desc{
    font-size: 14px;
    line-height: 20px;
  }
.cs-stat-badge {
    h5 {
      font-size: 16px;
    }
    p{
      font-size: 12px;
    }
  }
  /* On mobile even items don't reverse — stack naturally */
  .cs-item:nth-child(even) .cs-row-inner {
    flex-direction: row;
  }

  .cs-item .cs-order-img {
    order: 1;
  }

  .cs-item .cs-order-info {
    order: 2;
  }
}

.common-banner-new .banner-back .banner-back-dominate{
  object-fit: fill;
  @media (max-width:992px){
    object-fit: cover;
    object-position: right;
  }
}
@media (max-width: 480px) {
  .cs-tab-btn {
    padding: 7px 16px;
    font-size: 12px;
  }
}

  @media (max-width:768px){
    .case-study-banner{
      margin-top: 4rem;
    }
    .case-study-dominate.case-study-banner{
      padding-top: 2rem;
      height: 100%;
      min-height: 400px;
    }
   }
     @media (max-width:576px){

    .case-study-dominate.case-study-banner{
      min-height: 570px;
    }
   }
   