/* Testimonials specific styles */
.testimonials-hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 60px;
    background-image: url('../assets/IMG_0009.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(163, 213, 255, 0.8);
}

.testimonials-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-image {
    height: 250px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.testimonial-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: "\201C";
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -1.5rem;
    left: -0.5rem;
}

.testimonial-text::after {
    content: "\201D";
    bottom: -2.5rem;
    right: -0.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    margin-bottom: 0.3rem;
}

.client-details p {
    color: #777;
    font-size: 0.9rem;
}

.rating {
    color: gold;
    margin-bottom: 0.5rem;
}

.featured-testimonial {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.featured-image {
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    font-style: italic;
    padding: 0 1.5rem;
}

.featured-text::before,
.featured-text::after {
    content: "\201C";
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.featured-text::before {
    top: -2rem;
    left: -1rem;
}

.featured-text::after {
    content: "\201D";
    bottom: -3rem;
    right: -1rem;
}

@media (max-width: 768px) {
    .featured-testimonial {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .featured-content {
        padding: 2rem;
    }
}
