/* ============================================
   REVIEWS HERO SECTION
   ============================================ */

.tr-reviews-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0D1B2A 0%, #1B263B 100%);
    position: relative;
    overflow: hidden;
}

.tr-reviews-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    margin-bottom: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.tr-breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tr-breadcrumb-link:hover {
    color: var(--primary-color);
}

.tr-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.tr-breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

.tr-reviews-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.tr-reviews-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.tr-reviews-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 48px;
}

.tr-reviews-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.tr-reviews-stat-item {
    text-align: center;
}

.tr-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.tr-stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============================================
   REVIEWS MAIN CONTENT
   ============================================ */

.tr-reviews-main {
    padding: 80px 0;
    background: var(--white);
}

.tr-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* ============================================
   REVIEW CARDS
   ============================================ */

.tr-review-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tr-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(14, 165, 166, 0.15);
}

.tr-review-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tr-review-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00CDB8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tr-review-avatar img {
    filter: brightness(0) invert(1);
}

.tr-review-header-content {
    flex: 1;
}

.tr-review-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.tr-review-rating {
    color: #FFB800;
    font-size: 18px;
    letter-spacing: 2px;
}

.tr-review-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 165, 166, 0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
}

.tr-review-service img {
    filter: invert(52%) sepia(79%) saturate(481%) hue-rotate(126deg) brightness(94%) contrast(93%);
}

.tr-review-comment {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin: 0;
}

.tr-review-date {
    font-size: 13px;
    color: var(--text-light);
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ============================================
   PAGINATION
   ============================================ */

.tr-reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
    padding: 40px 0;
}

.tr-pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.tr-pagination-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 166, 0.3);
}

.tr-pagination-btn img {
    transition: filter 0.3s ease;
}

.tr-pagination-btn:hover img {
    filter: brightness(0) invert(1);
}

.tr-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tr-pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.tr-pagination-number:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.tr-pagination-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.tr-pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   REVIEW FORM SECTION
   ============================================ */

.tr-review-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.tr-review-form-header {
    text-align: center;
    margin-bottom: 48px;
}

.tr-review-form-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.tr-review-form-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

#jqr_review_form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

#jqr_review_form input[type="text"],
#jqr_review_form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 15px;
    color: var(--dark);
    font-family: inherit;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

#jqr_review_form input[type="text"]:focus,
#jqr_review_form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 166, 0.1);
}

#jqr_review_form textarea {
    resize: vertical;
    min-height: 120px;
}

#jqr_review_form button[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

#jqr_review_form button[type="submit"]:hover {
    background: #00CDB8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 166, 0.3);
}

.jqr_star-rating {
    display: flex;
    gap: 8px;
    font-size: 32px !important;
    justify-content: center;
    margin: 16px 0 20px;
}

.jqr_star-rating i {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.jqr_error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: -12px;
    margin-bottom: 12px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .tr-reviews-hero {
        padding: 100px 0 50px;
    }

    .tr-reviews-breadcrumb {
        padding-top: 0;
    }

    .tr-reviews-hero-title {
        font-size: 32px;
    }

    .tr-reviews-hero-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .tr-reviews-stats {
        gap: 40px;
    }

    .tr-stat-number {
        font-size: 40px;
    }

    .tr-reviews-main {
        padding: 60px 0;
    }

    .tr-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .tr-review-card {
        padding: 24px;
    }

    .tr-review-form-section {
        padding: 60px 0;
    }

    .tr-review-form-title {
        font-size: 28px;
    }

    #jqr_review_form {
        padding: 32px 24px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .tr-reviews-hero {
        padding: 80px 0 40px;
    }

    .tr-reviews-hero-title {
        font-size: 26px;
    }

    .tr-reviews-hero-subtitle {
        font-size: 15px;
    }

    .tr-reviews-stats {
        gap: 30px;
    }

    .tr-stat-number {
        font-size: 36px;
    }

    .tr-stat-label {
        font-size: 14px;
    }

    .tr-reviews-main {
        padding: 40px 0;
    }

    .tr-reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tr-review-card {
        padding: 20px;
    }

    .tr-review-avatar {
        width: 48px;
        height: 48px;
    }

    .tr-review-name {
        font-size: 16px;
    }

    .tr-review-rating {
        font-size: 16px;
    }

    .tr-review-comment {
        font-size: 14px;
    }

    .tr-pagination-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .tr-pagination-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .tr-review-form-section {
        padding: 50px 0;
    }

    .tr-review-form-title {
        font-size: 24px;
    }

    .tr-review-form-subtitle {
        font-size: 16px;
    }

    #jqr_review_form {
        padding: 28px 20px;
    }

    .jqr_star-rating {
        font-size: 28px !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .tr-reviews-hero {
        padding: 70px 0 35px;
    }

    .tr-reviews-hero-title {
        font-size: 23px;
    }

    .tr-reviews-hero-subtitle {
        font-size: 14px;
    }

    .tr-stat-number {
        font-size: 32px;
    }

    .tr-review-card {
        padding: 18px;
    }

    .tr-pagination-btn span {
        display: none;
    }

    .tr-pagination-btn {
        padding: 10px;
    }

    .tr-review-form-title {
        font-size: 22px;
    }

    #jqr_review_form {
        padding: 24px 16px;
    }
}
