/* Case Study Tabs */
.filter-buttons {
    display: block;
    text-align: center;
    letter-spacing: 0;
    padding: 0 0 42px;
}

.filter-buttons .filter-btn {
    border: 0;
    background: transparent linear-gradient(90deg, #1C1A1A 0%, #DB4678 100%) 0% 0% no-repeat padding-box;
    border-radius: 38px;
    position: relative;
    padding: 8px 22px;
    display: inline-flex;
    align-items: center;
    margin-right: 14px;
	cursor: pointer;
}
@media (max-width: 992px){
	.filter-buttons .filter-btn {
		padding: 8px 18px;
	}
}
.filter-buttons .filter-btn::after {
    content: '';
    display: block;
    position: absolute;
    top: 2px;
    left: 0;
    width: calc(100% - 2px);
    height: calc(100% - 4px);
    border-radius: 38px;
    background: #1C1A1A;
    z-index: 0;
}

.filter-buttons .filter-btn span {
    padding: 0;
    color: #F9FFF6;
    font-size: 18px;
    line-height: 1.1;
    z-index: 1;
    display: block;
    position: relative;
    font-family: "Clash Display";
    font-weight: 500;
}
@media (max-width: 992px){
	.filter-buttons .filter-btn span {
		font-size: 18px;
		line-height: 24px;
	}
}
.filter-buttons .filter-btn.active,.filter-buttons .filter-btn.active::after, .filter-buttons .filter-btn:hover,.filter-buttons .filter-btn:hover::after {
    background: #DB4678;
}
.loading-cs{
	font-size: 30px;
	font-weight: 600;
	color: #fff;
	text-align: center;
}
.case-card {
	border-radius: 10px;
	padding: 40px 40px;
	overflow: hidden;
	position: relative;
}
.case-card .card-bg{
	bottom: 0;
    position: absolute;
    right: 60px;
    line-height: 0;
	max-width: 80%;
}
.popup-right .case-card .card-bg{
    right: 0;
}
@media (max-width: 992px){
	.case-card .card-bg{
		max-width: 90%;
	}
}
.case-card  .card-data{
	display: flex;
	flex-direction: column;
	gap: 133px;
}
@media (max-width: 420px){
	.case-card  .card-data{
		gap: 100px;
	}
}
.case-card .card-data .stats{
	display: flex;
	flex-direction: row;
	gap: 60px;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
}
@media (max-width: 420px){
	.case-card .card-data .stats{
		font-size: 12px;
	}
}
.case-card.white-bg .card-data .stats{
	color:#1C1A1A;
}
.case-card .card-data .stats .increase{
	display: flex;
	flex-direction: column;
	font-family: 'Satoshi';
}
.case-card .card-data .stats span{
	font-size: 30px;
	line-height: 45px;
	font-weight: 600;
	font-family: 'Clash Display';
}
.case-card .card-data .logo {
    width: 79px;
}

.case-card .card-data .logo img {
    max-width: 100%;
    display: block;
}

.case-card.white-bg .card-data .logo img {
    filter: invert(1);
}
.posts-wrap {
     display: grid;
	  grid-template-columns: repeat(2, 1fr);
	  gap: 20px;
}
@media (max-width: 767px){
	.posts-wrap {
		grid-template-columns: repeat(1, 1fr);
	}
}

.posts-wrap .case-wrapper {
    flex: 0 0 auto;
}
button.load-more {
	margin: 40px auto 0;
    padding: 7.5px 13px 7.5px 20px;
    border-radius: 38px;
    border: none;
    box-shadow: inset 0 0 0 3px #DB4678;
    background: #1C1A1A;
    color: #F9FFF6;
    display: block;
    position: relative;
    font-size: 18px;
    line-height: 35px;
    font-family: 'CLASH DISPLAY';
    text-transform: uppercase;
    display: flex;
    align-items: center;
	cursor:pointer;
}

button.load-more::before {
    background: url(/wp-content/uploads/2025/08/Group-230.svg) no-repeat;
    background-size: 100%;
    content: "";
    height: 20px;
    position: absolute;
    right: 17px;
    top: 15px;
    width: 20px;
    transform: rotate(90deg);
    filter: invert(1);
}

button.load-more::after {
    align-items: center;
    border-radius: 100%;
    content: "";
    display: inline-flex;
    height: 30px;
    margin-left: 10px;
    width: 30px;
    background: #DB4678;
}

button.load-more:hover {
    background: #DB4678;
}

button.load-more:hover::before {
    filter: invert(0);
}

button.load-more:hover::after {
    background: #1C1A1A;
}
/* End */
.case-study-filter-section{
	max-width: 970px;
	margin: 0 auto;
}
.filter-buttons{
	justify-content: center;
}
/***************************************POPUP CSS *************************************/
.case-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(28, 26, 26, 1);
    z-index: 9999;
    display: none;
    overflow-y: auto;
}

.case-popup .popup-section {
    margin: 40px auto 30px;
}
.case-popup .close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid rgba(249, 255, 246, 1);
	border-radius: 50%;
	color:rgba(249, 255, 246, 1);
	width: 45px;
	height: 45px;
    font-size: 30px;
    cursor: pointer;
}
.case-popup .popup-inner {
    background: #1C1A1A;
    margin: 50px auto;
    padding: 40px;
    max-width: 1120px;
    border-radius: 10px;
    position: relative;
}
.popup-title{
	color:#F9FFF6;
	font-family:satoshi, helvetica, sans-serif;
font-size:18px;
	margin-bottom:15px;
}
.popup-tags {
    margin-bottom: 20px;
}
.popup-tags .tag {
    display: inline-block;
    background: #DB4678;
    color: #F9FFF6;
	font-family: Clash Display!important;
    font-size: 12px;
	line-height:1;
    padding: 9px 15px;
    margin: 0 10px 0px 0;
    border-radius: 15px;
}

.popup-intro {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
	flex-direction: column;
}
@media (min-width:767px){
	.popup-intro {
		flex-direction: row;
		gap: 75px;
    	margin-bottom: 40px;
	}
}
@media (min-width:992px){
	.popup-intro {
		gap: 124px;
	}
}

.popup-left { flex: 1; margin-bottom: 20px; }
@media (min-width:767px){
	.popup-left {
		margin-bottom:0;
	}
}
.popup-left h2{
	 font-size: clamp(20px, 2vw + 1rem, 35px);
  line-height: clamp(20px, 2vw + 1rem, 35px);
	color:#F9FFF6;
	font-family: Clash Display!important;
	margin: 0 0 20px;
}

.popup-left p{
	font-family:satoshi, helvetica, sans-serif;
	color:#F9FFF6;
	font-size: 16px;
	line-height: 20px;
	margin-bottom:20px;
}
.popup-right { flex: 0 0 100%; }
@media (min-width: 767px){
	.popup-right { flex: 0 0 50%; }
}
@media (min-width: 992px){
	.popup-right { flex: 0 0 44.20%; }
}





.section-title {
    font-size: clamp(20px, 2vw + 1rem, 35px);
	line-height:1;
	color:#F9FFF6;
	text-align: center;
    margin-bottom: 10px;
	margin-top: 44px;
}
.section-desc {
    margin-bottom: 20px;
    color: #F9FFF6;
	text-align: center;
	font-size: 16px;
	line-height: 20px;
	font-family:satoshi, helvetica, sans-serif;
}

.stats-grid {
    display: flex;
}
.stat-col {
	flex:1;
	padding-inline: clamp(10px, 5vw, 80px);
	border-right: 1px solid rgba(249, 255, 246, 0.40);
}

.stat-col:first-child{
	padding-left:0;
}
.stat-col:last-child{
	padding-right:0;
	border-right:0;
}
.stat-label {
	font-family:satoshi, helvetica, sans-serif;
    font-size: 16px;
	font-weight: 500;
	line-height: 20px;
    color: #F9FFF6;
    display: block;
    margin-bottom: 10px;
}
.stat-value {
	font-family: Clash Display!important;
    font-size: clamp(22px, 2vw + 1rem, 40px);
  line-height: clamp(28px, 2vw + 1.2rem, 45px);
    font-weight: 600;
    margin-bottom: 10px;
	color:#F9FFF6;
}
@media (max-width: 992px){
	.stat-value{
		font-size:clamp(22px, 1.5vw + 0.5rem, 40px);
	}
}
.stat-desc {
	font-family:satoshi, helvetica, sans-serif;
    font-size: 16px;
	line-height: 20px;
    color: #F9FFF6;
}
.sep-top,.sep-bottom{
	border-top: 1px solid rgba(249, 255, 246, .4);
    position: relative;
    text-align: center;
    display: block;
}
.sep-top{
	margin-top: 53px;
}
.sep-top span{
	background: rgba(28, 26, 26, 1);
    padding: 0 20px;
    position: absolute;
    top: -14px;
	left: 50%;
    transform: translateX(-50%);
}
.sep-bottom{
	margin-top: 54px;
}
.sep-bottom span{
	background: rgba(28, 26, 26, 1);
    padding: 0 20px;
    position: absolute;
    top: -14px;
	left: 50%;
    transform: translateX(-50%);
}
.sep-bottom span span.mark{
	    position: relative;
    padding: 0;
    background: rgba(249, 255, 246, 1);
    width: 27px;
    height: 27px;
    display: block;
    border-radius: 50%;
    top: auto;
    transform: translatex(0);
    left: auto;
}





.posts-wrap .slick-dots,.stats-grid .slick-dots {
            position: absolute;
            bottom: -40px;
            display: flex !important;
            justify-content: center;
            width: 100%;
            padding: 0;
            margin: 0;
            list-style: none;
	z-index:1;
        }
        .posts-wrap .slick-dots li,.stats-grid .slick-dots li {
            margin: 0 5px;
            width: 8px;
            height: 8px;
        }
        .posts-wrap .slick-dots li button:before,.stats-grid .slick-dots li button:before {
            font-size: 20px;
            color: #fff;
            width: 8px;
            height: 8px; 
            content: "⚬";  
            opacity: 1;
        }
        .posts-wrap .slick-dots li.slick-active button:before,.stats-grid .slick-dots li.slick-active button:before {
            opacity: 1;
            font-size: 20px;
            content: "●"; 
            color: rgba(219, 70, 120, 1);
        }
        .posts-wrap .slick-prev, 
        .posts-wrap .slick-next,
.stats-grid .slick-prev, 
        .stats-grid .slick-next {
            position: absolute;
            bottom: -40px;
            color: #fff;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            z-index: 1;
        }
        .posts-wrap .slick-prev,.stats-grid .slick-prev {
            left: 50%;
            transform: translateX(-100%);
        }
        .posts-wrap .slick-next,.stats--grid .slick-next {
            right: 50%;
            transform: translateX(100%);
        }
        .posts-wrap .slick-dots li:first-child::before,
        .posts-wrap .slick-dots li:last-child::before,
.stats-grid .slick-dots li:first-child::before,
        .stats-grid .slick-dots li:last-child::before{
          content: "";
          display: inline-block;
          width: 20px; /* adjust size */
          height: 20px;
          background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="19.572" height="19.572" viewBox="0 0 19.572 19.572"><g transform="translate(0 12.288) rotate(-45)"><path d="M17.175,5.547l-5.337,4.611a.586.586,0,0,1-.766-.887l4.091-3.534H.586a.586.586,0,1,1,0-1.171H15.311L12.979,2.485,11.157,1.045a.586.586,0,1,1,.727-.918L13.732,1.59l3.45,3.078a.585.585,0,0,1-.007.88" fill="%23f9fff6"/></g></svg>') no-repeat center center;
          background-size: contain;
          margin-right: 5px; /* optional spacing */
        }

        
        .posts-wrap .slick-dots li:last-child::before,.stats-grid .slick-dots li:last-child::before {
          background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="19.572" height="19.572" viewBox="0 0 19.572 19.572"><g transform="translate(0 12.288) rotate(-45)"><path d="M17.175,5.547l-5.337,4.611a.586.586,0,0,1-.766-.887l4.091-3.534H.586a.586.586,0,1,1,0-1.171H15.311L12.979,2.485,11.157,1.045a.586.586,0,1,1,.727-.918L13.732,1.59l3.45,3.078a.585.585,0,0,1-.007.88" fill="%23DB4678"/></g></svg>') no-repeat center center;
        }

        .posts-wrap .slick-dots li:first-child::before,.stats-grid .slick-dots li:first-child::before { 
          position: relative;
          left: -27px;
          top: 3px;
          rotate: 225deg;
        }

        .posts-wrap .slick-dots li:last-child::before,.stats-grid .slick-dots li:last-child::before { 
          position: relative;
          right: -18px;
          top: 3px;
          rotate: 45deg;
        }

        .posts-wrap .slick-prev,
        .posts-wrap .slick-next,
.stats-grid .slick-prev,
        .stats-grid .slick-next{
          display: none !important;
        }
.filter-buttons{
	justify-content: center;
}
.mob-pu-card{
	display: none;
}
/* add spacing between slides */
.stats-grid .slick-slide {
    margin: 0 15px; /* 15px left + 15px right = 30px gap */
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.stats-grid .slick-center {
    opacity: 1;
}

/* fix slick-track alignment when using margins */
.stats-grid .slick-list {
    margin: 0 -15px; /* compensate margins so slides align */
}

@media (max-width: 768px){
	.filter-buttons .filter-btn{
		flex: 0 0 auto;	
	}
	.filter-buttons{
		padding: 0 0 20px;
		margin-bottom: 20px;
	}
	
	.filter-buttons {
	justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(249, 255, 246, 0.3) transparent;
    position: relative;
		border-bottom: 1px solid rgba(249,255,246,.3);
}



/* Track */
.filter-buttons::-webkit-scrollbar-track {
    background: transparent;
}

/* Thumb */
.filter-buttons::-webkit-scrollbar-thumb {
    background-color: rgba(249, 255, 246, 0.3);
    border-radius: 2px;
    min-width: 30px; /* so it doesn’t vanish */
}
	.desktop-pu-card{
		display: none;
	}
	.mob-pu-card{
		display: block;
		margin-bottom: 20px;
	}
	.stat-col{
		border: none;
	}
	.stat-col:nth-child(odd),.stat-col{
		padding-left:0;
		padding-right: 0;
	}
	.popup-left h2{
		font-size: 25px;
		line-height: 25px;
	}
	.sep-top{
		margin-top:0;
	}
	.popup-left{
		margin-bottom: 10px;
	}
	.popup-intro{
		margin-bottom:0;
	}
	.section-title{
		margin-top:0;
		font-size: 25px;
		line-height: 25px;
	}
	.case-popup .popup-section{
		margin: 48px auto 30px;
	}
	.section-desc{
		margin-bottom: 30px;
	}
	.stat-label, .stat-value,.stat-desc{
		text-align: center;
	}
	.stat-value{
		font-size: 40px;
		line-height: 45px;
		word-break: break-word;
	}
	.case-popup .popup-inner{
		padding: 40px 20px;
	}
	.stats-grid .slick-dots{
		bottom: -30px;
	}
	.sep-bottom{
		margin-top:84px;
	}
	.sep-bottom span span.mark{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.case-card .card-data .stats span{
		font-size: 26px;
		line-height: 36px;
	}
	.case-card .card-data .stats{
		line-height:1.2;
	}
	.case-card .card-data .stats{
		gap: 44px;
	}
	.stats-grid {
		flex-wrap: wrap;
	}
	.stat-col {
		flex: 0 0 50%;
		margin-bottom: 20px;
		box-sizing: border-box;
	}
	.stat-col:nth-child(odd) { 
 
  padding-left: 0;
}

.stat-col:nth-child(even) {
  
  padding-right: 0;
  border-right: none;
}

	
	.case-card{
		padding: 20px 30px;
	}
	.case-card .card-data{
		gap: 48px;
	}
	.case-card .card-bg{
		bottom: -88px;
	}
}

@media (max-width: 767px){

}

@media (max-width: 420px){
	.case-card{
		padding: 20px 20px;
	}
	.case-card .card-data{
		gap: 80px;
	}
	.case-card .card-bg{
		bottom: -60px;
		right: 20px;
	}
	.case-card .card-data .stats{
		gap: 20px;
	}
	.case-card .card-data .logo {
    width: 65px;
}
	.case-card .card-data .stats span{
		font-size: 20px;
		line-height: 26px;
	}
	.case-card .card-data .stats{
		line-height:1;
	}
}