/* ================================================
   TESTIMONIALS PAGE STYLES
   ================================================ */

/* Testimonials Hero Section */
.testimonials-hero-section {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #f7e6a4 0%, var(--primary) 30%, #f8f1d9 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></svg>') repeat;
    opacity: 0.1;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(223, 182, 82, 0.2);
    color: var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    border: 1px solid var(--secondary);
    margin-bottom: 2rem;
}

/* Stats Section */
.testimonials-stats-section {
    padding: 6rem 0;
    background: var(--light);
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(1, 34, 79, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(1, 34, 79, 0.15);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
    margin: 0;
}

/* All Testimonials Section */
.all-testimonials-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-header-t {
    margin-bottom: 3rem;
}

.section-badge-light-t {
    display: inline-block;
    background: rgba(223, 182, 82, 0.2);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    border: 1px solid var(--secondary);
    margin-bottom: 1rem;
}

.section-header-t h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    margin-bottom: 1rem;
}

.section-header-t .text-secondary {
    color: var(--secondary);
}

.section-header-t p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

/* Testimonial Filters */
.testimonial-filters {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(223, 182, 82, 0.15);
    border-color: var(--secondary);
    color: var(--secondary);
}

.filter-btn.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(1, 34, 79, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(1, 34, 79, 0.15);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--secondary);
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    flex-shrink: 0;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--secondary);
    font-size: 0.85rem;
    margin: 0.25rem 0 0 0;
    font-weight: 500;
}

/* Testimonial Item Animation */
.testimonial-item {
    display: block;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonial-item.show {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.testimonials-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e8d897 0%, var(--primary) 30%, #e8d897 100%);
    color: var(--white);
    text-align: center;
}

.testimonials-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.testimonials-cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-hero-section {
        padding: 4rem 0;
    }

    .contact-hero-title {
        font-size: 2.2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .testimonials-stats-section,
    .all-testimonials-section {
        padding: 4rem 0;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonial-filters {
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonials-cta-section {
        padding: 4rem 0;
    }

    .testimonials-cta-section h2 {
        font-size: 2rem;
    }

    .testimonials-cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonials-hero-section {
        padding: 3rem 0;
    }

    .contact-hero-title {
        font-size: 1.75rem;
        letter-spacing: 0;
    }

    .contact-hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-stats-section,
    .all-testimonials-section {
        padding: 2.5rem 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .section-header-t h2 {
        font-size: 1.75rem;
    }

    .section-header-t p {
        font-size: 0.95rem;
    }

    .testimonial-filters {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        width: 100%;
        padding: 0.5rem 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .quote-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-author-wrapper {
        gap: 0.75rem;
        padding-top: 1rem;
    }

    .testimonial-avatar {
        width: 45px;
        height: 45px;
    }

    .testimonial-author {
        font-size: 0.9rem;
    }

    .testimonials-cta-section {
        padding: 3rem 0;
    }

    .testimonials-cta-section h2 {
        font-size: 1.5rem;
    }

    .testimonials-cta-section p {
        font-size: 0.9rem;
    }
}