/* Google Review Section Styles */
.google-review-area {
    background: #fff;
    padding: 60px 15px;
    width: 100%;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title .sub-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #831d5cee;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    color: #831d5cee;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #787878;
    margin-bottom: 0;
}

.google-review-summary {
    text-align: center;
    margin-bottom: 40px;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(131, 29, 92, 0.05) 0%, rgba(239, 153, 10, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.google-review-summary h3 {
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    color: #831d5cee;
    margin-bottom: 6px;
}

.google-review-summary .stars {
    font-size: 24px;
    line-height: 1;
    color: #ef990a;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.google-review-summary p {
    color: #787878;
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Carousel Container */
.google-review-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.google-review-slider {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    box-sizing: border-box;
}

.google-review-track {
    display: flex;
    width: 100%;
    gap: 0;
    flex-wrap: nowrap;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: -moz-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: -o-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.google-review-slide {
    min-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}

/* Review Card Styling */
.single-google-review {
    width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.single-google-review:hover {
    box-shadow: 0 8px 25px rgba(131, 29, 92, 0.12);
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
}

.single-google-review h4 {
    font-size: 24px;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
    display: block;
    line-height: 1.3;
}

.single-google-review span {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}

.single-google-review .review-rating {
    color: #ef990a;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.single-google-review .review-rating small {
    color: #787878;
    font-size: 13px;
    margin-left: 8px;
}

.single-google-review p {
    margin: 0 auto;
    max-width: 720px;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* Navigation Buttons */
.review-nav {
    width: 46px;
    height: 46px;
    min-width: 46px;
    flex-shrink: 0;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    color: #831d5cee;
    font-size: 20px;
    line-height: 42px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.review-nav:hover,
.review-nav:focus {
    background: #831d5cee;
    color: #fff;
    border-color: #831d5cee;
    outline: none;
}

.review-prev {
    order: -1;
}

/* Dots/Pagination */
.google-review-dots {
    text-align: center;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.google-review-dots button {
    width: 12px;
    height: 12px;
    border: 2px solid #d0d0d0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.google-review-dots button:hover {
    border-color: #831d5cee;
}

.google-review-dots button.active {
    background: #831d5cee;
    border-color: #831d5cee;
}

/* Action Buttons */
.google-review-btns {
    margin-top: 35px;
    text-align: center;
}

.google-review-btns .theme-btn {
    margin: 0 10px;
    padding: 12px 30px;
    background: #831d5cee;
    color: #fff;
    border: 2px solid #831d5cee;
    border-radius: 5px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.google-review-btns .theme-btn:hover {
    background: transparent;
    color: #831d5cee;
}

.google-review-btns .theme-btn.style-two {
    background: transparent;
    color: #831d5cee;
}

.google-review-btns .theme-btn.style-two:hover {
    background: #831d5cee;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 991px) {
    .google-review-area {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .google-review-summary {
        padding: 15px 20px;
    }

    .google-review-summary h3 {
        font-size: 32px;
    }

    .single-google-review {
        padding: 30px 25px;
        min-height: auto;
        text-align: center;
    }

    .single-google-review h4 {
        text-align: center;
    }

    .single-google-review span {
        text-align: center;
    }

    .single-google-review p {
        text-align: center;
    }

    .review-nav {
        width: 40px;
        height: 40px;
        min-width: 40px;
        flex-shrink: 0;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .google-review-area {
        padding: 40px 10px;
    }

    .google-review-carousel {
        gap: 6px;
        padding: 0 5px;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .section-title p {
        font-size: 14px;
    }

    .google-review-summary {
        padding: 12px 15px;
        margin-bottom: 25px;
    }

    .google-review-summary h3 {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .google-review-summary .stars {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .google-review-summary p {
        font-size: 13px;
    }

    .google-review-slider {
        max-width: 100%;
        padding: 0;
    }

    .single-google-review {
        padding: 20px 15px;
        min-height: auto;
        border-radius: 8px;
        text-align: center;
    }

    .single-google-review h4 {
        font-size: 18px;
        margin-bottom: 5px;
        word-break: break-word;
        overflow-wrap: break-word;
        display: block;
        min-height: 22px;
        line-height: 1.3;
        text-align: center;
    }

    .single-google-review span {
        font-size: 12px;
        margin-bottom: 10px;
        display: block;
        word-wrap: break-word;
        text-align: center;
    }

    .single-google-review .review-rating {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .single-google-review p {
        font-size: 13px;
        line-height: 1.6;
    }

    .review-nav {
        width: 36px;
        height: 36px;
        min-width: 36px;
        flex-shrink: 0;
        font-size: 16px;
        line-height: 34px;
    }

    .google-review-dots {
        margin-top: 15px;
        gap: 8px;
    }

    .google-review-dots button {
        width: 10px;
        height: 10px;
    }

    .google-review-btns {
        margin-top: 20px;
    }

    .google-review-btns .theme-btn {
        margin: 6px 5px;
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .google-review-area {
        padding: 30px 10px;
    }

    .section-title {
        margin-bottom: 15px;
    }

    .section-title .sub-title {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .section-title h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .section-title p {
        font-size: 12px;
        margin: 0 5px;
    }

    .google-review-summary {
        padding: 10px 12px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .google-review-summary h3 {
        font-size: 24px;
        margin-bottom: 3px;
    }

    .google-review-summary .stars {
        font-size: 16px;
        margin-bottom: 5px;
        letter-spacing: 1px;
    }

    .google-review-summary p {
        font-size: 12px;
        line-height: 1.3;
    }

    .google-review-carousel {
        gap: 5px;
        margin-bottom: 20px;
    }

    .google-review-slider {
        max-width: 100%;
        padding: 0;
    }

    .single-google-review {
        padding: 15px 12px;
        min-height: auto;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        text-align: center;
        height: auto;
    }

    .single-google-review:hover {
        box-shadow: 0 4px 15px rgba(131, 29, 92, 0.1);
        transform: translateY(-2px);
    }

    .single-google-review h4 {
        font-size: 16px;
        margin-bottom: 4px;
        word-break: break-word;
        overflow-wrap: break-word;
        display: block;
        min-height: 20px;
        line-height: 1.3;
        text-align: center;
    }

    .single-google-review span {
        font-size: 11px;
        margin-bottom: 8px;
        display: block;
        word-wrap: break-word;
        text-align: center;
    }

    .single-google-review .review-rating {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .single-google-review .review-rating small {
        font-size: 11px;
    }

    .single-google-review p {
        font-size: 12px;
        line-height: 1.5;
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .review-nav {
        width: 32px;
        height: 32px;
        min-width: 32px;
        flex-shrink: 0;
        font-size: 14px;
        line-height: 30px;
        border: 1.5px solid #e0e0e0;
    }

    .google-review-dots {
        margin-top: 12px;
        gap: 6px;
    }

    .google-review-dots button {
        width: 8px;
        height: 8px;
    }

    .google-review-btns {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .google-review-btns .theme-btn {
        margin: 0;
        padding: 9px 16px;
        font-size: 12px;
        display: block;
        width: 100%;
    }
}