/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonials-slider {
    position: relative;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #60C5D1;
    opacity: 0.3;
}

.customer-photo {
    margin: 0 auto 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #60C5D1;
    box-shadow: 0 5px 20px rgba(96, 197, 209, 0.3);
}

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

.rating {
    margin-bottom: 20px;
}

.rating i {
    color: #FFD700;
    font-size: 18px;
    margin: 0 2px;
}

.testimonial-content {
    margin-bottom: 25px;
}

.comment {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    font-style: italic;
    margin: 0;
}

.customer-info {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.customer-name {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.customer-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #718096;
}

.customer-details span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.customer-details i {
    color: #60C5D1;
    font-size: 12px;
}

/* Swiper Custom Styles */
.testimonialSwiper {
    padding: 0 20px 60px;
}

.testimonialSwiper .swiper-pagination {
    bottom: 0;
}

.testimonialSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e0;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    background: #60C5D1;
    transform: scale(1.2);
}

.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
    color: #60C5D1;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: -20px;
}

.testimonialSwiper .swiper-button-next:after,
.testimonialSwiper .swiper-button-prev:after {
    font-size: 16px;
}

.testimonialSwiper .swiper-button-next:hover,
.testimonialSwiper .swiper-button-prev:hover {
    background: #60C5D1;
    color: white;
}

/* Testimonial Form */
.testimonial-form-section {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonial-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-form .form-group {
    display: flex;
    flex-direction: column;
}

.testimonial-form label {
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.testimonial-form input,
.testimonial-form select,
.testimonial-form textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.testimonial-form input:focus,
.testimonial-form select:focus,
.testimonial-form textarea:focus {
    outline: none;
    border-color: #60C5D1;
}

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

.rating-input {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-input .stars {
    display: flex;
    gap: 5px;
}

.rating-input .stars i {
    font-size: 24px;
    color: #cbd5e0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-input .stars i:hover,
.rating-input .stars i.fas {
    color: #FFD700;
}

.testimonial-form small {
    color: #718096;
    font-size: 12px;
    text-align: right;
    display: block;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.testimonial-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

.testimonial-message.success {
    border-left: 4px solid #48bb78;
}

.testimonial-message.error {
    border-left: 4px solid #f56565;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-message.success i {
    color: #48bb78;
}

.testimonial-message.error i {
    color: #f56565;
}

.message-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 5px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .customer-details {
        font-size: 12px;
    }
    
    .comment {
        font-size: 14px;
    }
    
    .testimonial-form-container {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .testimonial-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonialSwiper .swiper-button-next,
    .testimonialSwiper .swiper-button-prev {
        display: none;
    }
    
    .testimonial-message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
