/* New Modern Testimonials Section */
.testimonials-new {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="5" cy="5" r="2" fill="rgba(193,154,95,0.1)"/></svg>');
    opacity: 0.3;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

/* New Testimonials Slider */
.testimonials-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonials-slide-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 15px;
}

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

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

.testimonial-card-slider::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #d4af77);
    border-radius: 50%;
    opacity: 0.1;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #a8844f;
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 30px;
    border-radius: 6px;
    background: var(--primary-color);
}

/* Responsive for slider */
@media (max-width: 1024px) {
    .testimonials-slide-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-slide-content {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card-slider {
        padding: 25px 20px;
    }
    
    .slider-controls {
        gap: 15px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card-slider {
        padding: 20px 15px;
    }
    
    .testimonial-text-new {
        font-size: 0.9rem;
    }
}

/* Mobile Responsive Review Form */
#add-review {
    max-width: 100%;
    margin: 25px auto 0;
    padding: 0 15px;
}

.review-form {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-form .form-group {
    margin-bottom: 15px;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.review-form .rating-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-form .rating-group label {
    color: #333;
    font-weight: 500;
}

.review-form .btn {
    width: 100%;
    margin-bottom: 15px;
}

.share-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.share-links span {
    color: #555;
    font-size: 0.95rem;
    text-align: center;
}

.share-links .btn {
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.share-links .btn.whatsapp {
    background: #25d366;
}

.share-links .btn.whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

.share-links .btn.facebook {
    background: #1877f2;
}

.share-links .btn.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.share-links .btn.email {
    background: #6c757d;
}

.share-links .btn.email:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.share-links .btn.copy {
    background: #343a40;
}

.share-links .btn.copy:hover {
    background: #23272b;
    transform: translateY(-2px);
}

.share-links small {
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    word-break: break-all;
}

@media (max-width: 768px) {
    #add-review {
        padding: 0 10px;
    }
    
    .review-form {
        padding: 15px;
    }
    
    .review-form input,
    .review-form select,
    .review-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .share-links {
        gap: 8px;
    }
    
    .share-links .btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    .share-links small {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .review-form {
        padding: 12px 8px;
    }
    
    .share-links .btn {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}

.testimonial-card-new::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #d4af77);
    border-radius: 50%;
    opacity: 0.1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    gap: 15px;
}

.client-avatar-new {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #d4af77);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.client-avatar-new i {
    color: white;
    font-size: 24px;
}

.client-info-new h4 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.rating-new {
    margin-top: 5px;
    color: #ffc107;
    font-size: 1.1rem;
}

.card-body {
    position: relative;
}

.quote-icon-new {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.testimonial-text-new {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #a8844f;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    width: 30px;
    border-radius: 6px;
    background: var(--primary-color);
}

/* Responsive for new testimonials */
@media (max-width: 768px) {
    .testimonials-new {
        padding: 60px 0;
    }

    .testimonial-card-new {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .client-avatar-new {
        width: 50px;
        height: 50px;
    }

    .testimonial-text-new {
        font-size: 1rem;
    }

    .carousel-controls {
        gap: 15px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card-new {
        padding: 25px 15px;
        margin: 0 5px;
    }

    .testimonial-text-new {
        font-size: 0.9rem;
    }
}
