.casestudy-section {
  position: relative;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  margin: 0 25px;
  height: 865px;
  display: flex;
  align-items: center;
}

.casestudy-section.right-c {
  justify-content: end; 
}

.casestudy-section.left-c {
  justify-content: start; 
}

.casestudy-section h3.title-area {
  color: #fff;
  position: absolute;
  top: 20px;
  right: 60px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 300;
}

.casestudy-section .content-box {
/*   height: 595px; */
  height: auto;
  width: 565px;
  background: #fff;
}

.casestudy-section.right-c .content-box {
  margin-right: 60px;
}

.casestudy-section.left-c .content-box {
  margin-left: 60px;
}

.casestudy-section .content-box .inner-c {
  padding: 60px 45px; 
}

.casestudy-section .content-box .inner-c h3 {
  font-size: 36px;
  font-weight: 400;
  line-height: 42px;
  margin: 0 0 24px;
}

.casestudy-section .content-box .inner-c h3 a img {
  -webkit-transition: transform 0.3s ease-out;
  -moz-transition: transform 0.3s ease-out;
  -ms-transition: transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}

.casestudy-section .content-box .inner-c h3 a:hover img {
  -webkit-transform: translateX(6px);
  -moz-transform: translateX(6px);
  -ms-transform: translateX(6px);
  -o-transform: translateX(6px);
  transform: translateX(6px);
}

.casestudy-section .content-box .inner-c h3 a:hover {
  color: #f65049;
}

.casestudy-section .content-box .partner-logo {
  display: flex;
  column-gap: 30px;
  margin-bottom: 45px;
  align-items: center;
}

.mobile-banner-img {
  display: none; 
  width: 100%; /* Adjust as needed */
  min-height: auto;
  overflow: hidden;
}

.mobile-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casestudy-section .content-box .partner-logo img {
  filter: grayscale(100%);
}

.stats-area .stats-item:first-child {
  border-top: 1px solid #E2E2E2;
}

.stats-area .stats-item {
  margin: 0;
  display: flex;
  column-gap: 20px;
  align-items: center;
  border-bottom: 1px solid #E2E2E2;
  padding: 20px 0;
}

.stats-area .stats-item .num {
  width: 25%;
  font-size: 36px;
  line-height: 48px;
  font-weight: 500;
  margin: 0;
  text-align: center;
}

.stats-area .stats-item .stat-text {
  width: 60%;
  font-size: 17px;
  line-height: 25px;
  font-weight: 300;
  margin: 0;
}

.partner-logo img.show-on-scroll
  -webkit-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  transition-delay: 0.4s;
}


@media (min-width: 1441px) {
  .casestudy-section .right-content {
    width: calc(50% - 15%);
    margin-right: 15%;
  }
  
  .stats-area .stats-item .num {
    width: 25%;
  }
}

@media (max-width: 1440px) {
  .stats-area .stats-item .num {
    width: 25%;
  }
}

@media (max-width: 1200px) {
  
  .casestudy-section {
    height: auto; 
  }
  
  .casestudy-section .right-content {
    height: auto;
    margin: 100px auto;
    width: calc(80% - 100px);
  } 
}

@media (max-width: 991px) {
  .casestudy-section {
    margin: 0;  
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  
  .casestudy-section .right-content {
    width: calc(100% - 100px);
  } 
  
  .casestudy-section.left-c .content-box {
    margin: 30px; 
    width: auto;
    height: auto;
  }

  .casestudy-section.right-c .content-box {
    margin: 30px; 
    width: auto;
    height: auto;
  }
  
}

@media (max-width: 767px) {
  .casestudy-section .content-box .inner-c {
    width: auto;
  }
  
  .casestudy-section .content-box .inner-c h3 {
    font-size: 32px;
    line-height: 40px;
  }
  
  .casestudy-section .content-box .partner-logo {
    flex-wrap: wrap;
    justify-content: start;
  }
  
  .casestudy-section .content-box .partner-logo img {
    margin-bottom: 20px; 
  }
}

@media (max-width: 600px) {

  .casestudy-section {
    background: none; 
  }
  
  .casestudy-section.left-c .content-box,
  .casestudy-section.right-c .content-box {
    margin: 0; 
  }
  
  .casestudy-section .right-content {
    width: calc(100% - 50px);
  }
  
  .casestudy-section h3.title-area {
    right: 25px;
  }
  
  .casestudy-section .right-content .inner-c h3 {
    font-size: 28px;
    line-height: 40px;
  }
  
  .casestudy-section .content-box .inner-c h3 {
    font-size: 28px;
    line-height: 40px;
  }
  
   .stats-area .stats-item .num {
     width: 30%;
     font-size: 30px;
     line-height: 1.2;
  }
  
  .casestudy-section .right-content .inner-c {
    padding: 30px 25px;
  }
  
  .casestudy-section .right-content .partner-logo {
    flex-wrap: wrap; 
  }
  
  .casestudy-section .right-content .partner-logo img {
    margin-bottom: 20px;
  }
  
  .mobile-banner-img {
    display: block; 
    position: relative;
  }
  
}

@media (max-width: 480px) {
  .stats-area .stats-item .num {
    width: 25%; 
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
  }

  .casestudy-section .content-box .inner-c {
    padding: 60px 20px;
  }
}
  