/* ==========================================================================
   GOOGLE REVIEWS SECTION
   ========================================================================== */
.google-reviews-section {
    padding: 60px 0;
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
}

.review-summary-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.review-summary-card img {
    /* width: 60px; */
    height: 40px;
    object-fit: cover;
    /* border-radius: 50%; */
    margin-bottom: 15px;
}

.review-summary-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.review-summary-card .rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.review-summary-card .score {
    font-size: 24px;
    font-weight: 800;
    color: #f39c12;
}

.review-summary-card .stars i {
    color: #f39c12;
    font-size: 18px;
}

.review-summary-card p {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.review-summary-card .powered-by {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.review-summary-card .powered-by img {
    width: 50px;
    height: auto;
    border-radius: 0;
    vertical-align: middle;
    margin-bottom: 0;
    margin-left: 5px;
}

.review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #4285f4;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.review-btn img {
    width: 60px !important;
    height: auto !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    filter: brightness(0) invert(1);
}

.review-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

/* Review Cards */
.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-bottom-color: #4285f4;
}

.review-card .reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}

.review-card .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.review-card .info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #0056b3;
}

.review-card .info span {
    font-size: 12px;
    color: #999;
}

.review-card .g-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
}

.review-card .stars {
    margin-bottom: 15px;
}

.review-card .stars i {
    color: #f39c12;
    font-size: 14px;
    margin-right: 2px;
}

.review-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Carousel controls */
.reviews-carousel-wrapper {
    position: relative;
}

.carousel-control-prev-reviews,
.carousel-control-next-reviews {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    z-index: 10;
    text-decoration: none !important;
}

.carousel-control-prev-reviews {
    left: -20px;
}

.carousel-control-next-reviews {
    right: -20px;
}

.carousel-indicators-reviews {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-indicators-reviews span {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators-reviews span.active {
    background: #f39c12;
}

@media (max-width: 991px) {
    .review-summary-card {
        margin-bottom: 40px;
    }

    .carousel-control-prev-reviews {
        left: 0;
    }

    .carousel-control-next-reviews {
        right: 0;
    }
}