/* --- CUSTOMER REVIEWS SECTION --- */
.tm-reviews {
    padding: 100px 0;
    background: #050505;
    overflow: hidden;
    /* Prevent horizontal scroll from Swiper slides */
}

.tm-reviews-slider {
    margin-top: 50px;
    padding: 20px 0 60px !important;
    /* Avoid clipping hover shadows */
    position: relative;
}

.tm-review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure all cards in row are same height */
    position: relative;
    overflow: hidden;
}

.tm-review-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.tm-review-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(139, 92, 246, 0.1);
    font-family: serif;
    line-height: 1;
}

.tm-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tm-review-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #8b5cf6;
    flex-shrink: 0;
}

.tm-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.tm-review-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.tm-insta-link {
    font-size: 0.85rem;
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tm-insta-link:hover {
    color: #a78bfa;
}

.tm-review-rating {
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
}

.tm-star {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.1);
}

.tm-star.filled {
    color: #f59e0b;
}

.tm-review-content {
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
}

.tm-review-text {
    color: #bbb;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
}

.tm-review-text p {
    display: inline;
    margin: 0;
}

.tm-review-content:hover .tm-review-text {
    color: #fff;
}

.tm-read-more-hint {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #8b5cf6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tm-review-content:hover .tm-read-more-hint {
    opacity: 1;
}

.tm-review-footer {
    display: flex;
    justify-content: flex-end;
}

.tm-service-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Swiper Customization */
.tm-reviews-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.2;
}

.tm-reviews-slider .swiper-pagination-bullet-active {
    background: #8b5cf6;
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

.tm-reviews-slider .swiper-button-next,
.tm-reviews-slider .swiper-button-prev {
    color: #8b5cf6;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.tm-reviews-slider .swiper-button-next::after,
.tm-reviews-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.tm-reviews-slider .swiper-button-next:hover,
.tm-reviews-slider .swiper-button-prev:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
}

/* View All Button */
.tm-view-all-reviews {
    text-align: center;
    margin-top: 40px;
}

.tm-view-all-reviews .tm-btn-text {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.tm-view-all-reviews .tm-btn-text:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

@media (max-width: 1024px) {

    .tm-reviews-slider .swiper-button-next,
    .tm-reviews-slider .swiper-button-prev {
        display: none;
    }
}