/* Testimonials Section Responsive Styles */
.testimonials-section {
    padding: 70px 0;
    background-color: #f9f7fe;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url('../images/paw-pattern.png');
    background-size: contain;
    opacity: 0.05;
    transform: rotate(45deg);
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-image: url('../images/paw-pattern.png');
    background-size: contain;
    opacity: 0.05;
    transform: rotate(-45deg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    color: #4e3b6a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #f78fb3, #b197fc);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.1rem;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    padding: 0 20px;
    visibility: hidden;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.testimonial-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: """;
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: #f78fb380;
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating .fas {
    color: #ddd;
    margin-right: 2px;
}

.testimonial-rating .fas.filled {
    color: #ffc107;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    color: #555;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #4e3b6a;
}

.testimonial-author p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #888;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.testimonial-prev, .testimonial-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(to right, #f78fb3, #b197fc);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(177, 151, 252, 0.3);
}

.testimonial-prev:hover, .testimonial-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(177, 151, 252, 0.4);
}

.testimonial-prev i, .testimonial-next i {
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-desc {
        font-size: 1rem;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .testimonial-content {
        padding: 15px;
    }
    
    .testimonial-content::before {
        font-size: 3rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .testimonial-author img {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }
    
    .testimonial-prev, .testimonial-next {
        width: 40px;
        height: 40px;
    }
}