/* ===== REVIEWS PAGE STYLES ===== */
/* Color scheme: Green (#48bb78) based on main site design */

:root {
    --rev-primary: #48bb78;
    --rev-primary-dark: #38a169;
    --rev-primary-light: #68d391;
    --rev-secondary: #1a365d;
    --rev-text: #2d3748;
    --rev-text-light: #718096;
    --rev-bg-light: #f7fafc;
    --rev-bg-lighter: #edf2f7;
    --rev-white: #ffffff;
    --rev-border: #e2e8f0;
    --rev-star: #fbbf24;
}

/* ===== REVIEWS HERO ===== */
.rev-hero {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    padding: 3rem 0 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.rev-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(72, 187, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 161, 105, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.rev-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.rev-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--rev-text-light);
    margin-bottom: 2rem;
    line-height: 1;
}

.rev-hero__breadcrumb a {
    color: var(--rev-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1;
}

.rev-hero__breadcrumb span {
    line-height: 1;
}

.rev-hero__breadcrumb a:hover {
    color: var(--rev-primary-dark);
}

.rev-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.rev-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--rev-white);
    color: var(--rev-star);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rev-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--rev-secondary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.rev-hero__text {
    font-size: 1.15rem;
    color: var(--rev-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.rev-hero__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.rev-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rev-hero__stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rev-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rev-hero__stat-label {
    font-size: 0.9rem;
    color: var(--rev-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== REVIEWS MAIN ===== */
.rev-main {
    padding: 4rem 0;
    background: var(--rev-white);
}

.rev-main__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rev-main__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--rev-border);
}

.rev-main__header-left {
    flex: 1;
}

.rev-main__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(72, 187, 120, 0.1);
    color: var(--rev-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rev-main__heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rev-secondary);
}

.rev-main__count {
    font-size: 0.9rem;
    color: var(--rev-text-light);
    background: var(--rev-bg-light);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--rev-border);
}

/* ===== REVIEWS GRID ===== */
.rev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.rev-card {
    background: var(--rev-white);
    border: 2px solid var(--rev-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.rev-card:hover {
    border-color: var(--rev-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(72, 187, 120, 0.15);
}

.rev-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rev-card__avatar {
    width: 50px;
    height: 50px;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rev-card__avatar img {
    filter: sepia(1) saturate(3) hue-rotate(90deg);
}

.rev-card__info {
    flex: 1;
}

.rev-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rev-secondary);
    margin: 0 0 0.5rem 0;
}

.rev-card__rating {
    color: var(--rev-star);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rev-card__service {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(72, 187, 120, 0.1);
    color: var(--rev-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.rev-card__comment {
    font-size: 1rem;
    color: var(--rev-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.rev-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rev-border);
}

.rev-card__date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--rev-text-light);
}

.rev-card__date img {
    filter: sepia(1) saturate(3) hue-rotate(90deg);
}

.rev-card__verified {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--rev-primary);
    font-weight: 600;
}

.rev-card__verified img {
    filter: sepia(1) saturate(3) hue-rotate(90deg);
}

/* ===== PAGINATION ===== */
.rev-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.rev-pagination__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rev-white);
    border: 2px solid var(--rev-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rev-pagination__arrow:hover {
    background: var(--rev-primary);
    border-color: var(--rev-primary);
}

.rev-pagination__arrow:hover img {
    filter: brightness(0) invert(1);
}

.rev-pagination__pages {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.rev-pagination__page {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rev-white);
    border: 2px solid var(--rev-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    color: var(--rev-text);
    transition: all 0.3s ease;
}

.rev-pagination__page:hover {
    background: rgba(72, 187, 120, 0.1);
    border-color: var(--rev-primary);
    color: var(--rev-primary);
}

.rev-pagination__page--active {
    background: var(--rev-primary);
    border-color: var(--rev-primary);
    color: var(--rev-white);
}

.rev-pagination__dots {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rev-text-light);
}

/* ===== CTA SECTION ===== */
.rev-cta {
    padding: 0;
    margin: 3rem 0;
}

.rev-cta__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rev-cta__inner {
    background: linear-gradient(135deg, var(--rev-primary) 0%, var(--rev-primary-dark) 100%);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(72, 187, 120, 0.3);
}

.rev-cta__icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rev-cta__content {
    flex: 1;
}

.rev-cta__title {
    font-size: 1.5rem;
    color: var(--rev-white);
    margin-bottom: 0.5rem;
    display: block;
}

.rev-cta__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.rev-cta__btn {
    background: var(--rev-white);
    color: var(--rev-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rev-cta__btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    gap: 1.2rem;
}

/* ===== REVIEW FORM ===== */
.rev-form {
    padding: 4rem 0;
    background: var(--rev-bg-light);
}

.rev-form__container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rev-form__header {
    text-align: center;
    margin-bottom: 3rem;
}

.rev-form__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--rev-white);
    color: var(--rev-star);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.rev-form__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--rev-secondary);
    margin-bottom: 1rem;
}

.rev-form__text {
    font-size: 1.05rem;
    color: var(--rev-text);
    line-height: 1.6;
}

.rev-form__wrapper {
    background: var(--rev-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.rev-form__wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rev-form__wrapper input[type="text"],
.rev-form__wrapper textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--rev-border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.rev-form__wrapper input[type="text"]:focus,
.rev-form__wrapper textarea:focus {
    outline: none;
    border-color: var(--rev-primary);
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.rev-form__wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.rev-form__wrapper button[type="submit"] {
    background: linear-gradient(135deg, var(--rev-primary) 0%, var(--rev-primary-dark) 100%);
    color: var(--rev-white);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rev-form__wrapper button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(72, 187, 120, 0.3);
}

/* Star Rating Styles */
.jqr_star-rating {
    display: flex;
    gap: 0.5rem;
}

.jqr_star-rating i {
    transition: all 0.2s ease;
}

.jqr_star-rating i:hover {
    transform: scale(1.2);
}

/* Error Messages */
.jqr_error-message {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 968px) {
    .rev-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rev-hero__stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .rev-hero {
        padding: 2rem 0 1.5rem 0;
    }

    .rev-hero__container,
    .rev-main__container,
    .rev-cta__container,
    .rev-form__container {
        padding: 0 1rem;
    }

    .rev-hero__title {
        font-size: 2rem;
    }

    .rev-hero__text {
        font-size: 1rem;
    }

    .rev-hero__stats {
        flex-direction: row;
        gap: 1.5rem;
    }

    .rev-hero__stat-num {
        font-size: 2rem;
    }

    .rev-main {
        padding: 3rem 0;
    }

    .rev-main__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .rev-main__heading {
        font-size: 1.8rem;
    }

    .rev-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rev-card {
        padding: 1.5rem;
    }

    .rev-cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .rev-cta__title {
        font-size: 1.2rem;
    }

    .rev-cta__text {
        font-size: 0.9rem;
    }

    .rev-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .rev-form {
        padding: 3rem 0;
    }

    .rev-form__wrapper {
        padding: 2rem 1.5rem;
    }

    .rev-form__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .rev-hero__title {
        font-size: 1.7rem;
    }

    .rev-hero__stats {
        gap: 1.5rem;
        justify-content: center;
    }

    .rev-hero__stat-num {
        font-size: 1.8rem;
    }

    .rev-hero__stat-label {
        font-size: 0.8rem;
    }

    .rev-main__heading {
        font-size: 1.5rem;
    }

    .rev-form__title {
        font-size: 1.5rem;
    }

    .rev-pagination {
        flex-wrap: wrap;
    }
}
