.testm-section {
    background: #ddf5ff;
    border: 1px solid #bfdfec;
}

.testm-row {
    padding-top: 25px;
    margin: 0px;
}

.testm-row > * {
    padding: 0;
}

.testm-bg {
    padding: 65px 30px;
}

.testm-laptop-wrap {
    width: 792px;
    height: 470px;
    position: relative;
    margin: 0 auto;
}

.testm-laptop-wrap iframe {
    position: absolute;
    width: 608px;
    height: 390px;
    left: 50%;
    transform: translateX(-50%);
    top: 18px;
    background: #000;
}

.testm-list-wrap {
    height: 469px;
    overflow-y: auto;
    padding-left: 22px;
}

.testm-list {
    position: relative;
}

.testm-list .item {
    display: flex;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 7px;
    padding: 10px;
    background: #fff;
    position: relative;
    box-shadow: 1px 0px 5px rgba(0,0,0,0.12);
}

.testm-list figure {
    background: #000;
    width: 120px;
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    margin-right: 15px;
    line-height: 1px;
}

.testm-list figure:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 1
}

.testm-list figure img {
    max-width: 100%;
    height: auto; /* Maintain image aspect ratio */
}
.testm-list .content {
    display: flex;
    flex-direction: column; /* Stack title and description vertically */
    justify-content: center; /* Center content vertically */
}
.testm-list .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testm-list .desc {
    color: #666;
}

.testm-list .action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    z-index: 2
}

.testm-list figure i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    background: url('../images/youtube-icon.svg') no-repeat;
    width: 30px;
    height: 30px;
    background-size: 100%
}

.testm-list .item:hover {
    background: #c0dde9;
}

.testm-list .item.show figure i {
    background: url('../images/bar-chart-white-icon.svg') no-repeat;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    background-size: 100%
}

.testm-list .item.show {
    background:#185cab;
}

.testm-list .item.show .title {
    color: #fff;
    
  
}

.testm-list .item.show .desc {
    color: #fff;
    
}

.testm-list .item.show:after {
    position: absolute;
    content: '';
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    border: 20px solid;
    border-color: transparent #185cab transparent transparent;
}

.testm-list-wrap::-webkit-scrollbar {
    display: block;
    width: 4px;
    border-radius: 3px;
}

.testm-list-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.testm-list-wrap::-webkit-scrollbar-thumb {
    background: #ccc;
}

.testm-list-wrap::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/* Styles for mobile view */
@media (max-width: 768px) {
    .testm-row {
        display: none; /* Hide the desktop layout */
    }

    .happy-customer {
        display: flex; /* Use flexbox for horizontal scrolling */
        overflow-x: auto; /* Enable horizontal scrolling */
        white-space: nowrap; /* Prevent wrapping */
        padding: 10px 0; /* Optional: add some padding */
    }

    .happy-customer li {
        display: inline-block; /* Display items inline */
        margin-right: 10px; /* Space between items */
    }

    .happy-customer li:last-child {
        margin-right: 0; /* Remove margin from last item */
    }

    .video-testimonial {
        width: 200px; /* Set a fixed width for each video */
    }
}