     .testimonial-form-section {
            background-color: #f8f8f8;
            border-top: 1px solid #eee;
        }

        .testimonial-form-wrapper {
            background: #fff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
        }

        .testimonial-form-wrapper .form-group {
            margin-bottom: 25px;
        }

        .testimonial-form-wrapper .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
        }

        .testimonial-form-wrapper .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            color: #555;
            transition: border-color 0.3s ease;
        }

        .testimonial-form-wrapper .form-control:focus {
            border-color: #28a745;
            /* A green color matching your theme often */
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
        }

        .testimonial-form-wrapper textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }

        /* Star Rating Styles */
        .rating-group .stars {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }

        .rating-group .stars input[type="radio"] {
            display: none;
        }

        .rating-group .stars label {
            cursor: pointer;
            width: 30px;
            height: 30px;
            background-color: transparent;
            color: #ccc;
            font-size: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s ease;
        }

        .rating-group .stars label:hover,
        .rating-group .stars label:hover~label {
            color: #ffc107;
        }

        .rating-group .stars input[type="radio"]:checked~label {
            color: #ffc107;
        }

        .rating-group .stars input[type="radio"]:checked+label:hover,
        .rating-group .stars input[type="radio"]:checked+label:hover~label,
        .rating-group .stars input[type="radio"]:checked~label:hover,
        .rating-group .stars input[type="radio"]:checked~label:hover~label {
            color: #ffc107;
        }

        .consent-checkbox {
            display: flex;
            align-items: center;
            margin-top: 15px;
            margin-bottom: 25px;
        }

        .consent-checkbox input[type="checkbox"] {
            margin-right: 10px;
            transform: scale(1.2);
        }

        .consent-checkbox label {
            margin-bottom: 0;
            font-size: 15px;
            color: #666;
            cursor: pointer;
        }

        .site-heading.mb-4 {
            margin-bottom: 30px !important;
        }

        #form-feedback,
        #edit-form-feedback {
            margin-top: 20px;
            padding: 15px;
            border-radius: 5px;
            font-weight: 600;
            display: none;
        }

        #form-feedback.success,
        #edit-form-feedback.success {
            background-color: #d4edda;
            color: #155724;
            border-color: #c3e6cb;
        }

        #form-feedback.error,
        #edit-form-feedback.error {
            background-color: #f8d7da;
            color: #721c24;
            border-color: #f5c6cb;
        }

        .loading-indicator {
            display: none;
            text-align: center;
            margin-top: 20px;
            color: #007bff;
        }

        #image-preview img,
        #edit-image-preview img,
        #current-images-preview img {
            max-width: 100px;
            max-height: 100px;
            margin: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            object-fit: cover;
        }

        .main-testimonial-content {
            padding: 80px 0;
            background-color: #f8f8f8;
        }

        .testimonials-display-area {
            background: #fff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .testimonial-card {
            background: #fdfdfd;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            border: 1px solid #eee;
            height: calc(100% - 20px);
            display: flex;
            flex-direction: column;
        }

        .testimonials-display-area .row>.col-md-6 {
            margin-bottom: 20px;
        }

        @media (min-width: 768px) {
            .testimonials-display-area .row>.col-md-6:nth-last-child(-n+2) {
                margin-bottom: 0;
            }
        }

        .testimonials-display-area .row>.col-12:last-child {
            margin-bottom: 0;
        }


        .testimonial-card h5 {
            font-weight: 700;
            color: #333;
            margin-bottom: 5px;
            font-size: 1.2em;
        }

        .testimonial-card .location,
        .testimonial-card .email {
            font-size: 0.9em;
            color: #777;
            margin-bottom: 5px;
        }

        .testimonial-card .email {
            word-break: break-all;
        }


        .testimonial-card .stars-display {
            color: #ffc107;
            font-size: 1.1em;
            margin-bottom: 8px;
        }

        .testimonial-card .message {
            color: #555;
            line-height: 1.6;
            margin-bottom: 10px;
            font-size: 0.95em;
            flex-grow: 1;
        }

        .testimonial-card .testimonial-images {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .testimonial-card .testimonial-images img.testimonial-thumbnail {
            max-width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            border: 1px solid #eee;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .testimonial-card .testimonial-images img.testimonial-thumbnail:hover {
            transform: scale(1.05);
        }


        .testimonial-card .actions {
            margin-top: 10px;
            border-top: 1px solid #eee;
            padding-top: 10px;
            text-align: right;
        }

        .testimonial-card .actions button {
            margin-left: 8px;
            font-size: 0.85em;
            padding: 5px 10px;
        }

        .testimonial-card .status-indicator {
            font-size: 0.75em;
            font-weight: 600;
            margin-top: 5px;
            display: inline-block;
            padding: 4px 8px;
            border-radius: 5px;
        }

        .testimonial-card .status-indicator.pending {
            background-color: #fff3cd;
            color: #856404;
            border: 1px solid #ffeeba;
        }

        .testimonial-card .status-indicator.approved {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .modal-body .rating-group .stars {
            justify-content: flex-start;
        }

        #imageDisplayModal .modal-body img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: auto;
        }

        @media (max-width: 991.98px) {
            .testimonials-display-area {
                max-height: none;
                overflow-y: visible;
            }
        }

        .right-align {
            text-align: right;
            margin-top: 20px;
        }

        .view-all-reviews {
            display: inline-block;
            padding: 12px 30px;
            font-size: 1.08rem;
            font-weight: bold;
            color: #3f4c77;
            background: linear-gradient(120deg, #ffffff 70%, #f4f8ff 100%);
            border-radius: 32px;
            text-decoration: none;
            box-shadow: 0 3px 20px 0 rgba(60, 90, 170, .08), 0 0 0 1px #edeffd;
            transition: box-shadow .18s, transform .18s, color .15s;
            position: relative;
            overflow: hidden;
        }

        .view-all-reviews::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(105deg, rgba(255, 255, 255, 0.3) 25%, rgba(244, 250, 255, 0.5) 75%);
            border-radius: inherit;
            z-index: 0;
            pointer-events: none;
        }

        .view-all-reviews span {
            position: relative;
            z-index: 1;
        }

        .view-all-reviews:hover,
        .view-all-reviews:focus {
            color: #1943f5;
            box-shadow: 0 6px 28px 0 rgba(65, 105, 225, .13), 0 0 0 2px #c7e0ff;
            transform: translateY(-1px) scale(1.035);
            outline: none;
        }


         .testimonial-card .testimonial-images {
            margin-top: 15px;
            position: relative;
            height: 60px;
        }

        .testimonial-card .testimonial-thumbnail {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid #eee;
            transition: all 0.3s ease;
        }

        .testimonial-card .testimonial-thumbnail:hover {
            transform: scale(1.08);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .testimonial-card .message {
            flex-grow: 1;
        }

        .testimonial-card .view-details-link {
            margin-top: auto;
        }

        /* Custom Pagination Styles */
        .pagination-container {
            margin-top: 50px;
        }

        .pagination-container .pagination .page-item .page-link {
            color: #333;
            border-radius: 50px !important;
            /* Rounded buttons */
            margin: 0 5px;
            border: 1px solid #ddd;
            font-weight: 600;
            min-width: 40px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .pagination-container .pagination .page-item .page-link:hover {
            background-color: #f0f0f0;
            color: #000;
            transform: translateY(-2px);
            border-color: #ccc;
        }

        .pagination-container .pagination .page-item.active .page-link {
            background: linear-gradient(45deg, #28a745, #2ed573);
            /* Awesome gradient color */
            color: #fff;
            border-color: #28a745;
            box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
            transform: translateY(-2px);
        }

        .pagination-container .pagination .page-item.disabled .page-link {
            color: #aaa;
            background-color: #f8f9fa;
            border-color: #ddd;
            box-shadow: none;
            cursor: not-allowed;
        }

        .pagination-container .pagination .page-item:first-child .page-link,
        .pagination-container .pagination .page-item:last-child .page-link {
            font-size: 1.2rem;
        }

                .review-card,
        .image-card {
            background: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            border: 1px solid #eee;
            height: 100%;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 10px;
        }

        .review-header .reviewer-name {
            font-weight: 700;
            margin-bottom: 0;
        }

        .review-header .rating-display {
            font-size: 0.9em;
            color: #555;
            white-space: nowrap;
        }

        .review-meta {
            color: #888;
            font-size: 0.85em;
            margin-bottom: 20px;
        }

        .review-message {
            line-height: 1.8;
            color: #333;
        }

        .reply-from-company {
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px dashed #ddd;
        }

        .image-card figure {
            margin: 0;
            padding: 0;
        }

        .image-card img {
            width: 100%;
            height: auto;
            max-height: 450px;
            /* Constrain image height */
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
        }

        .image-card figcaption {
            text-align: center;
            margin-top: 15px;
            font-weight: 600;
            color: #555;
        }