/* Client Reviews Section */
.client-reviews-section {
    background-color: #f9f9f9;
    padding-bottom: 6rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.reviews-marquee {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: reviews-scroll 30s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.reviews-track .review-card {
    flex: 0 0 320px;
}

@keyframes reviews-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .reviews-track .review-card {
        flex-basis: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        animation: none;
    }
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 8rem;
    font-family: serif;
    color: rgba(253, 181, 21, 0.1);
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(253, 181, 21, 0.3);
}

.stars {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.05rem;
    color: var(--secondary-color);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FDB515 100%);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(253, 181, 21, 0.3);
}

.reviewer-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reviewer-details h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.reviewer-details span {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Page Reviews - Dark Theme Variation */
.contact-reviews-section {
    background-color: var(--secondary-color);
    /* Dark background */
    color: var(--white);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.contact-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(253, 181, 21, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(253, 181, 21, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.contact-reviews-section .section-title h2 {
    color: var(--white);
}

.contact-reviews-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

/* Featured Review Layout */
.contact-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.review-card-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.review-card-dark:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.review-card-dark .stars {
    color: var(--primary-color);
}

.review-card-dark .review-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 300;
}

.review-card-dark .reviewer-info {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.review-card-dark .reviewer-details h4 {
    color: var(--white);
}

.review-card-dark .reviewer-details span {
    color: var(--primary-color);
}

.quote-icon-large {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

/* Review Form Section */
.review-form-container {
    max-width: 800px;
    margin: 4rem auto 0;
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Softer, larger shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.review-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FFD700, #FDB515);
}

.review-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.review-form-header h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.review-form-header p {
    color: #666;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.review-form-group {
    margin-bottom: 1.5rem;
}

.review-form-group.full-width {
    grid-column: 1 / -1;
}

.review-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.review-form-input,
.review-form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.review-form-input:focus,
.review-form-textarea:focus {
    border-color: #FDB515;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(253, 181, 21, 0.1);
    outline: none;
}

.review-form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    /* For CSS-only hover effect */
    gap: 0.5rem;
    justify-content: flex-end;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s;
    margin: 0 !important;
}

.star-rating-input input:checked~label,
.star-rating-input label:hover,
.star-rating-input label:hover~label {
    color: #FFD700;
}

.btn-submit-review {
    width: 100%;
    padding: 1.2rem;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit-review:hover {
    background: #FDB515;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 181, 21, 0.4);
}

@media (max-width: 768px) {
    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .review-form-container {
        padding: 2rem;
    }
}
