/* Clean & Simple Testimonials Section */
:root {
    --primary-green: #2E7D32;
    --light-green: #4CAF50;
    --accent-green: #81C784;
    --gold: #FFB300;
    --text-dark: #2C3E50;
    --text-muted: #6C757D;
    --white: #ffffff;
    --light-bg: #f8fffe;
}

/* Main Section */
.testimonials-section-fullsize {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f5e8 100%);
    overflow: hidden;
}

/* Hero Section */
.testimonials-hero-bg {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.testimonials-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    color: white;
    text-align: center;
    max-width: 800px;
}

.section-subtitle-hero {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title-hero {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-description-hero {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 300;
}

/* Content Section */
.testimonials-content-section {
    background: transparent;
    position: relative;
    z-index: 3;
    margin-top: -80px;
}

.testimonials-wrapper {
    background: white;
    border-radius: 30px 30px 0 0;
    padding: 4rem 2rem 3rem;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonials-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--light-green);
    border-radius: 2px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green), var(--accent-green));
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.15);
}

/* Card Content */
.testimonial-content {
    flex: 1;
    padding: 2.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(46, 125, 50, 0.02);
    border-radius: 15px;
    border-left: 4px solid var(--light-green);
    margin-bottom: 2rem;
    flex: 1;
}

.quote-icon {
    position: absolute;
    top: -8px;
    left: 10px;
    font-size: 2rem;
    color: var(--light-green);
    opacity: 0.4;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
    font-style: italic;
    font-weight: 400;
}

/* Rating */
.testimonial-rating {
    margin: 0 0 2rem;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 179, 0, 0.05);
    border-radius: 15px;
}

.testimonial-rating i {
    font-size: 1.3rem;
    color: var(--gold);
    margin: 0 3px;
    text-shadow: 0 2px 4px rgba(255, 179, 0, 0.3);
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-top: 2px solid rgba(46, 125, 50, 0.05);
    background: rgba(46, 125, 50, 0.01);
    border-radius: 0 0 16px 16px;
    margin: 0 -2rem -2.5rem;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--light-green);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.author-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.author-designation {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.treatment-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

/* CTA Button */
.btn-testimonials-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-testimonials-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.4);
    color: white;
    text-decoration: none;
}

.btn-testimonials-cta i {
    margin-right: 0.5rem;
}

/* Empty State */
.empty-state-fullsize {
    padding: 3rem 2rem;
    background: rgba(46, 125, 50, 0.02);
    border-radius: 20px;
    border: 2px dashed rgba(46, 125, 50, 0.2);
    text-align: center;
}

.empty-state-fullsize i {
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.empty-state-fullsize h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.empty-state-fullsize p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-title-hero {
        font-size: 3rem;
    }
    
    .testimonials-wrapper {
        padding: 3rem 1.5rem 2rem;
    }
}

@media (max-width: 992px) {
    .section-title-hero {
        font-size: 2.5rem;
    }
    
    .testimonials-hero-content {
        padding: 3rem 1.5rem;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-hero-bg {
        min-height: 50vh;
    }
    
    .section-title-hero {
        font-size: 2.2rem;
    }
    
    .testimonials-hero-content {
        padding: 2.5rem 1rem;
    }
    
    .testimonials-wrapper {
        padding: 3rem 1rem 2rem;
        margin-top: -60px;
        border-radius: 25px 25px 0 0;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem 1rem;
    }
    
    .testimonial-text {
        padding: 1.5rem 1rem;
    }
    
    .author-image,
    .author-placeholder {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }
    
    .testimonial-author {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title-hero {
        font-size: 1.8rem;
    }
    
    .section-subtitle-hero {
        font-size: 1rem;
    }
    
    .testimonial-content {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .btn-testimonials-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .author-image,
    .author-placeholder {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Legacy Compatibility */
.testimonials-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f5e8 100%);
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--light-green);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.6;
}

.testimonials-grid {
    margin-top: 2rem;
}

/* Modal Styles */
.modal-xl .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#allTestimonialsContainer .testimonial-card {
    margin-bottom: 1.5rem;
}

/* Print Styles */
@media print {
    .testimonials-hero-bg,
    .btn-testimonials-cta {
        display: none;
    }
    
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
