.wc-customer-reviews {
    margin: 30px 0;
    padding: 20px 0;
}

.reviews-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    color: #383838;
}

.reviews-title:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3a8bff;
    transition: width 0.3s ease;
}

.reviews-images-container {
	display: flex;
	position: relative;
	padding: 10px 0;
	max-width: 100%;
	overflow-x: auto;
}

.reviews-images-container>a.video-review {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 100px;
    min-height: 100px;
    background: #fff;
}


.reviews-images-container>a:not(:first-child) {
    margin-left: -20px;
}

.reviews-images-container>a:hover {
    transform: scale(1.1);
    z-index: 10 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: #e6e6e6;
}

.reviews-images-container>a .reviews-count,
.reviews-images-container>a .video-overlay {
    position: absolute;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.reviews-images-container>a .video-overlay {
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
}

.reviews-images-container>a .video-overlay i {
    font-size: 12px;
}

.reviews-images-container>a:hover .video-overlay {
    background: #3a8bff;
    transform: scale(1.2);
}

.reviews-images-container > a .reviews-count {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	transition: opacity 0.3s ease;
	font-size: 2rem;
	background: #00000029;
}

.reviews-images-container>a:hover .reviews-count {
    opacity: 1;
}

.reviews-images-container>a {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reviews-images-container>a:nth-child(1) {
    animation-delay: 0.1s;
}

.reviews-images-container>a:nth-child(2) {
    animation-delay: 0.2s;
}

.reviews-images-container>a:nth-child(3) {
    animation-delay: 0.3s;
}

.reviews-images-container>a:nth-child(4) {
    animation-delay: 0.4s;
}

.reviews-images-container>a:nth-child(5) {
    animation-delay: 0.5s;
}