.exillar-testimonial .testimonial-container .testimonial-list{
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 30px;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+1) {
    grid-column: span 4;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+2),
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+3),
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+4),
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+5),
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+6),
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+7) {
    grid-column: span 2;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+8) {
    grid-column: span 4;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+9) {
    grid-column: span 4;
}


.exillar-testimonial .testimonial-container .testimonial-list{
    padding: 0;
    margin: 0;
}
.exillar-testimonial .testimonial-container .testimonial-list {
    list-style-type: none;
    position: relative;
}
/* .exillar-testimonial .testimonial-container .testimonial-list::after{
    content: "";
    opacity: .5;
    background: #9ADDFF;
    width: 500px;
    height: 500px;
    right: 0;
    top: 19%;
    z-index: -1;
    pointer-events: none;
    position: absolute;
    display: inline-block;
    border-radius: 100%;
    filter: blur(178px);
}
.exillar-testimonial .testimonial-container .testimonial-list::before{
    content: "";
    opacity: .5;
    background: #9ADDFF;
    width: 500px;
    height: 500px;
    left: 0;
    top: 19%;
    z-index: -1;
    pointer-events: none;
    position: absolute;
    display: inline-block;
    border-radius: 100%;
    filter: blur(178px);
} */
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item{
    height: 100% !important;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter){
    border: 1px solid #B5B6BD;
    border-radius: 40px;
    padding: 20px;
    height: fit-content;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .detail-description {
    font-size: 22px;
    font-weight: 400;
    color: #00033D;
    font-family: 'Inter';
    line-height: 1.4em;
    margin-bottom: 100px;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .testimonial-data{
    display: flex;
    justify-content: space-between;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item  .detail-container p,
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item  .detail-container h2{
    margin: 0;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .testimonial-data .testimonial-image-and-content{
    display: flex;
    gap: 20px;
    align-items: center;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .testimonial-data .testimonial-image-and-content img{
    border-radius: 5px;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .detail-container h2{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    font-family: 'Lexend';
    padding-bottom: 5px;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .detail-container p{
    font-size: 14px;
    font-weight: 300;
    color: #000;
    font-family: 'Inter';
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card) {
    padding: 30px;
    border-radius: 40px;
    /* background-color: #000; */
    min-height: 305px;
    display: flex;           
    flex-direction: column;
    overflow: hidden;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card) .testimonial-data,
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card) .testimonial-image-and-content,
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card){
    height: 100% !important;
}

.exillar-testimonial .testimonial-container .testimonial-list  .testimonial-item.finunit-counter:not(.video-card) .detail-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height:83%;

}

.exillar-testimonial .testimonial-container .testimonial-list  .testimonial-item.finunit-counter:not(.video-card) .detail-container h2{
    font-size:40px;
    font-weight:600;
    font-family: 'Lexend';
    margin-bottom: 0px !important;
}
.exillar-testimonial .testimonial-container .testimonial-list  .testimonial-item.finunit-counter:not(.video-card) .detail-container p{
    font-size:16px;
    font-weight:400;
    font-family: 'Lexend';
    max-width: 125px;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+3){
    background-color: #C7DCFF;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+4){
    background-color: #E0C7FF;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+6){
    background-color: #E7FFC7;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+3) h2,
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+3) p{
    color:#203557;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+4) h2,
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+4) p{
    color:#312045;
}

.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+6) h2,
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+6) p{
    color:#2F3D1C;
}


.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter.video-card{
    padding: 0px;
    position: relative;
    width: 100%;
    max-width: 270px;
    min-height: 210px;
    overflow: hidden;
    border-radius: 40px;
}
.exillar-testimonial .testimonial-container .testimonial-list .finunit-counter.video-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #ffffff00 0%, #17131a6b 100%);
    z-index: 1;
    pointer-events: none; 
}


.finunit-counter.video-card iframe {
    z-index: 0;
}

.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter.video-card iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter.video-card .detail-container{
    position: absolute;
    bottom: 0;
    padding: 0px 25px 30px 25px;
    z-index: 2;
    width: 100%;
}
.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter.video-card .detail-container h2{
    font-size: 16px;
    font-weight: 600;
    font-family: 'Lexend';
    color: #fff;
    margin-bottom: 5px !important;
}

.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter.video-card .detail-container p{
    font-size: 12px;
    font-weight: 400;
    font-family: 'Lexend';
    color: #fff;
}


.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter .counter-symbol,
.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter h2{
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Inter';
    margin-bottom: 30px !important;
    display: inline-block;
    margin-top: 0;
} 


.exillar-testimonial .testimonial-container .testimonial-list  .finunit-counter p{
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    font-family: 'Inter';
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item .icon-image-class{
    width: 120px;
   
    object-fit: contain;
}
.exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .detail-description p{
    margin: 0;
    font-size: 16px;
    font-family: 'Lexend';
    font-weight: 300;
    line-height: 1.5em;
    color: #000;
}
@media screen and (max-width: 1024px){
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .detail-description{
        font-size: 18px;
    }
}

@media screen and (max-width: 991px){
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card){
        padding: 20px;
    }

    .exillar-testimonial .testimonial-container .testimonial-list{
        grid-gap: 20px;
    }
}

@media screen and (max-width: 768px){
    .exillar-testimonial .testimonial-container .testimonial-list .finunit-counter .counter-symbol, .exillar-testimonial .testimonial-container .testimonial-list .finunit-counter h2{
        font-size: 26px;
    }
    .exillar-testimonial .testimonial-container .testimonial-list .finunit-counter p {
        font-size: 18px;
    }
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .testimonial-data{
        flex-direction: column;
        gap: 20px;
    }


    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+2),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+3),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+4),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+5),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+6),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+7){
        grid-column: span 4;
    }
    .exillar-testimonial .testimonial-container .testimonial-list .finunit-counter.video-card{
        max-width: 100%;
    }
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter) .detail-description{
        margin-bottom: 25px;
    }

    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+1),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+8),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+9) {
        grid-column: span 8;
    }

    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card) .detail-container p{
        max-width: 100%;
    }

    .exillar-testimonial .testimonial-container .testimonial-list .finunit-counter.video-card,
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card){
        min-height: 180px;
    }

    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item.finunit-counter:not(.video-card) .detail-container{
        height: 70%;
    }


}
@media screen and (max-width: 640px){
   
    .exillar-testimonial .testimonial-container .testimonial-list{
        grid-template-columns: repeat(1, 1fr);
    }
    .exillar-testimonial .testimonial-container .testimonial-list::before,
    .exillar-testimonial .testimonial-container .testimonial-list::after{
        width: 300px;
    }
    .exillar-testimonial .testimonial-container .testimonial-list .finunit-counter,
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:not(.finunit-counter){
        padding: 20px;
    }

    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+1),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+2),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+3),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+4),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+5),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+6),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+7),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+8),
    .exillar-testimonial .testimonial-container .testimonial-list .testimonial-item:nth-child(9n+9){
        grid-column: span 8;
    }
}