/* Global Resets & Base Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif; /* Font from reference site */
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.ts-testimonials-section {
    position: relative; /* For the overlay */
    padding: 100px 0;
    background-image: url('https://kits.krakenbox.net/breno/wp-content/uploads/sites/12/2025/03/hand-with-a-bag-of-plastic-garbage-over-containers-4Q2TTY7.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* CRITICAL for parallax effect */
    color: white;
    overflow: hidden;
}

.ts-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 30, 25, 0.8); /* Dark overlay, adjust opacity */
    z-index: 1;
}

.ts-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative; /* To be above the overlay */
    z-index: 2;
}

/* Section Header */
.ts-section-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Adjust ratio to match image */
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.ts-pre-title {
    color: #EF6C00; /* Orange */
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ts-main-title {
    font-size: 3em; /* Adjust to match */
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: white;
}

.ts-header-description {
    font-size: 0.95em;
    line-height: 1.7;
    color: #faf6f6; /* Lighter white for description */
    margin-bottom: 25px;
    margin-top: 40px; /* Align a bit with main title if needed */
    margin-left: 20px;
}

.ts-learn-more {
    color: #EF6C00; /* Orange */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: opacity 0.3s ease;
    margin-left: 20px;
}

.ts-learn-more:hover {
    opacity: 0.8;
}

.ts-learn-more i {
    margin-left: 8px;
    font-size: 0.9em;
}

/* Testimonials Grid */
.ts-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    gap: 30px;
}

.ts-testimonial-card {
    background-color: #2E7D32; /* Dark green */
    padding: 35px 30px;
    border-radius: 12px;
    position: relative; /* For the quote icon */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes author info to bottom if quote is short */
    min-height: 300px; /* Ensure cards have a decent height */
}

.ts-stars {
    color: #EF6C00; /* Orange stars */
    font-size: 1em;
    margin-bottom: 20px;
}
.ts-stars i {
    margin-right: 3px;
}

.ts-quote {
    font-size: 1.05em; /* Adjust to match */
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows quote to take available space */
    color: white;
}

.ts-author-info {
    display: flex;
    align-items: center;
    margin-top: auto; /* Push to bottom if quote is short */
}

.ts-author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid rgba(255,255,255,0.5); /* Optional: subtle border */
}

.ts-author-details {
    display: flex;
    flex-direction: column;
}

.ts-author-name {
    font-weight: 600;
    font-size: 1em;
    color: white;
}

.ts-author-title {
    font-size: 0.85em;
    color: #B0BEC5; /* Light gray for title */
}

.ts-quote-icon {
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 5em; /* Large quote icon */
    color: #EF6C00; /* Orange */
    opacity: 0.4; /* Semi-transparent */
    line-height: 1;
    font-family: 'Georgia', serif; /* Font that often has nice quote marks */
}

/* Animation Base & Trigger */
.anim-on-scroll {
    opacity: 0;
    transform: translateY(30px); /* Default starting position for fade-up */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.anim-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Adjustments */
@media (max-width: 992px) { /* Tablet */
    .ts-section-header {
        grid-template-columns: 1fr; /* Stack header columns */
        text-align: center; /* Center header content */
    }
    .ts-header-right {
        margin-top: -40px;
    }
    .ts-testimonials-grid {
        grid-template-columns: 1fr 1fr; /* Two cards per row */
    }
    .ts-main-title {
        font-size: 7PX;
    }
    .ts-testimonial-card {
        min-height: auto; /* Allow height to adjust */
    }
}

@media (max-width: 768px) { /* Mobile */
    .ts-testimonials-section {
        padding: 60px 0;
    }
    .ts-main-title {
        font-size: 20PX;
        line-height: 1.5;
    }
    .ts-testimonials-grid {
        grid-template-columns: 1fr; /* One card per row */
    }
    .ts-testimonial-card {
        padding: 30px 25px;
    }
    .ts-quote {
        font-size: 1em;
    }
    .ts-quote-icon {
        font-size: 4.5em;
        bottom: 15px;
        right: 20px;
    }
}