/* 
   Super Cleaning - Testimonial Styles
   Modern, clean styling for testimonials page with improved photo display
*/

/* Page Header Styling */
.page-header {
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.8)), url('../images/service-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-page {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonials-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.testimonials-intro h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.testimonials-intro p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* Modern Card Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Improved Photo Display */
.testimonial-header {
    display: flex;
    align-items: center;
    padding: 25px 25px 15px;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-right: 20px;
}

.testimonial-author {
    flex: 1;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
}

.testimonial-author p {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--medium-gray);
}

.testimonial-rating {
    margin-top: 8px;
    display: flex;
}

.testimonial-rating i {
    color: #FFD700;
    margin-right: 2px;
}

/* Content Styling */
.testimonial-content {
    padding: 5px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    padding-left: 10px;
    border-left: 3px solid var(--light-color);
}

/* Call to Action */
.testimonials-cta {
    text-align: center;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 50px;
    border-radius: 12px;
    margin-top: 60px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonials-cta h3 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.8rem;
}

.testimonials-cta p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.testimonials-cta .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonials-cta .btn:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-header {
        padding: 20px 20px 10px;
    }
    
    .testimonial-photo {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-content {
        padding: 5px 20px 20px;
    }
    
    .testimonials-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .testimonial-rating {
        justify-content: center;
    }
}
