/* ===================================
   What Sydney Businesses Say - Testimonials Section
   Professional Responsive Design
   =================================== */

/* Section Container */
.testimonials-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 74, 148, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 182, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Container */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.testimonials-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #004a94;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: 'Exo', serif;
}

/* Filter Buttons */
.testimonials-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 45px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.filter-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    color: #606060;
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Heebo', serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-btn:hover {
    color: #004a94;
    border-color: #004a94;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 74, 148, 0.15);
}

.filter-btn.active {
    color: #ffffff;
    background: #004a94;
    border-color: #004a94;
    box-shadow: 0 4px 12px rgba(0, 74, 148, 0.25);
}

.filter-btn i {
    margin-right: 8px;
}

/* Stats Overview */
.testimonials-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.stat-overview-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.stat-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-overview-platform {
    font-size: 14px;
    font-weight: 600;
    color: #606060;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-overview-stars {
    font-size: 24px;
    color: #ffc107;
    margin-bottom: 8px;
}

.stat-overview-rating {
    font-size: 26px;
    font-weight: 700;
    color: #004a94;
    margin-bottom: 5px;
    font-family: 'Exo', serif;
}

.stat-overview-count {
    font-size: 14px;
    color: #606060;
}

/* Reviews Grid */
.testimonials-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Review Card */
.review-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #004a94 0%, #38b6ff 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 74, 148, 0.15);
}

.review-card:hover::before {
    transform: scaleY(1);
}

/* Review Header */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004a94 0%, #38b6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 74, 148, 0.2);
}

.review-author-info {
    flex: 1;
}

.review-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #004a94;
    margin-bottom: 3px;
    font-family: 'Exo', serif;
}

.review-author-title {
    font-size: 13px;
    color: #606060;
    line-height: 1.4;
}

.review-stars {
    font-size: 16px;
    color: #ffc107;
    margin-bottom: 5px;
}

/* Review Content */
.review-quote {
    font-size: 15px;
    line-height: 1.7;
    color: #606060;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.review-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 40px;
    color: #38b6ff;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Review Footer */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.review-service-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #004a94 0%, #38b6ff 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.review-date {
    font-size: 12px;
    color: #999999;
}

/* CTA Section */
.testimonials-cta {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.testimonials-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #004a94 0%, #38b6ff 100%);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 74, 148, 0.25);
    font-family: 'Heebo', serif;
    border: 2px solid transparent;
}

.testimonials-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 74, 148, 0.35);
    background: linear-gradient(135deg, #003a7a 0%, #2a9de0 100%);
}

.testimonials-cta-button i {
    font-size: 20px;
}

.testimonials-cta-subtitle {
    margin-top: 15px;
    font-size: 14px;
    color: #606060;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .testimonials-container {
        max-width: 1320px;
    }
    
    .testimonials-main-title {
        font-size: 48px;
    }
    
    .testimonials-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .testimonials-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .testimonials-section {
        padding: 70px 0;
    }
    
    .testimonials-main-title {
        font-size: 38px;
    }
    
    .testimonials-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .review-card {
        padding: 25px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-main-title {
        font-size: 34px;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
    }
    
    .testimonials-filters {
        gap: 12px;
        margin-bottom: 35px;
    }
    
    .filter-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .testimonials-stats-overview {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .stat-overview-card {
        padding: 20px;
    }
    
    .testimonials-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .review-card {
        padding: 22px;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .review-author-name {
        font-size: 17px;
    }
    
    .review-quote {
        font-size: 14px;
    }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonials-container {
        padding: 0 15px;
    }
    
    .testimonials-main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .testimonials-header {
        margin-bottom: 35px;
    }
    
    .testimonials-filters {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 9px 18px;
        font-size: 13px;
    }
    
    .testimonials-stats-overview {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 35px;
    }
    
    .stat-overview-card {
        padding: 18px;
    }
    
    .testimonials-reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 35px;
    }
    
    .review-card {
        padding: 22px;
    }
    
    .review-avatar {
        width: 48px;
        height: 48px;
        font-size: 17px;
    }
    
    .review-author-name {
        font-size: 16px;
    }
    
    .review-author-title {
        font-size: 12px;
    }
    
    .review-quote {
        font-size: 14px;
        padding-left: 15px;
    }
    
    .testimonials-cta-button {
        padding: 15px 32px;
        font-size: 16px;
    }
}

/* Mobile Small (0 - 575px) */
@media (max-width: 575px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-container {
        padding: 0 15px;
    }
    
    .testimonials-main-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .testimonials-header {
        margin-bottom: 30px;
    }
    
    .testimonials-filters {
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .filter-btn i {
        margin-right: 5px;
        font-size: 11px;
    }
    
    .testimonials-stats-overview {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .stat-overview-card {
        padding: 16px;
    }
    
    .stat-overview-platform {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .stat-overview-stars {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .stat-overview-rating {
        font-size: 22px;
    }
    
    .stat-overview-count {
        font-size: 13px;
    }
    
    .testimonials-reviews-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 30px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-header {
        margin-bottom: 15px;
    }
    
    .review-avatar {
        width: 45px;
        height: 45px;
        font-size: 16px;
        margin-right: 12px;
    }
    
    .review-author-name {
        font-size: 15px;
    }
    
    .review-author-title {
        font-size: 11px;
    }
    
    .review-stars {
        font-size: 14px;
    }
    
    .review-quote {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 15px;
        padding-left: 12px;
    }
    
    .review-quote::before {
        font-size: 32px;
        top: -3px;
    }
    
    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 12px;
    }
    
    .review-service-badge {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .review-date {
        font-size: 11px;
    }
    
    .testimonials-cta-button {
        padding: 14px 28px;
        font-size: 15px;
        gap: 10px;
    }
    
    .testimonials-cta-button i {
        font-size: 18px;
    }
    
    .testimonials-cta-subtitle {
        font-size: 13px;
        margin-top: 12px;
    }
}

/* Mobile Extra Small (0 - 400px) */
@media (max-width: 400px) {
    .testimonials-main-title {
        font-size: 23px;
    }
    
    .filter-btn {
        padding: 7px 14px;
        font-size: 11px;
    }
    
    .review-card {
        padding: 18px;
    }
    
    .review-avatar {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    
    .review-author-name {
        font-size: 14px;
    }
    
    .review-quote {
        font-size: 12px;
    }
    
    .testimonials-cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .testimonials-section::before,
    .testimonials-section::after {
        display: none;
    }
    
    .testimonials-filters,
    .testimonials-cta {
        display: none;
    }
    
    .review-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e5e5e5;
    }
}
