/* Reset and Base Styles */
:root {
    --animation-duration: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.breadcrumb-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.home-btn i {
    font-size: 0.875rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #cbd5e1;
}

.breadcrumb .current {
    color: #1e293b;
    font-weight: 500;
}

/* Featured Image Section */
.featured-image-section {
    position: relative;
    margin-bottom: 2rem;
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.featured-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.featured-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Stats Section */
.hero-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-stats h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--animation-duration, 0.3s) ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Filter Section */
.filter-section {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 73px; /* Account for breadcrumb nav height */
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background: #f1f5f9;
    border: 2px solid transparent;
    color: #64748b;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--animation-duration, 0.3s) ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
}

.testimonials-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all var(--animation-duration, 0.3s) ease;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 1.5rem;
    font-size: 4rem;
    color: #667eea;
    opacity: 0.1;
    font-family: serif;
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}



.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.client-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Badges */
.result-badge, .service-badge, .speed-badge, .loyalty-badge, .recent-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.result-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.service-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.speed-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.loyalty-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.recent-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.team-mention {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 500;
    margin-top: 1rem;
}

.location-tag {
    display: inline-block;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Load More */
.load-more-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    display: none; /* Hidden for now */
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background: #f8fafc;
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 16px;
}

.faq-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.faq-container {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.faq-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #64748b;
    line-height: 1.7;
}

/* Review Summary Section */
.review-summary {
    background: white;
    padding: 4rem 0;
    margin: 3rem 0;
}

.review-summary h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.summary-item {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.summary-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.summary-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.summary-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Related Links Section */
.related-links {
    background: #f8fafc;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.related-links h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.link-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.link-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.link-item p {
    color: #64748b;
    font-size: 0.95rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #1e293b;
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-nav .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .home-btn {
        order: 2;
    }
    
    .breadcrumb {
        order: 1;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .featured-overlay h1 {
        font-size: 2.5rem;
    }
    
    .featured-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        padding: 60px 0;
    }
    
    .hero-stats h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filter-section {
        padding: 2rem 0;
        position: relative;
        top: auto;
    }
    
    .filter-section h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-section h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .result-badge, .service-badge, .speed-badge, .loyalty-badge, .recent-badge {
        align-self: flex-start;
    }
    
    .faq-section,
    .review-summary {
        padding: 3rem 0;
    }
    
    .faq-section h3,
    .review-summary h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .breadcrumb-nav {
        padding: 0.75rem 0;
    }
    
    .home-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.875rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        padding: 40px 0;
    }
    
    .hero-stats h2 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        padding: 1.5rem 0;
    }
    
    .filter-section h3 {
        font-size: 1.1rem;
    }
    
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonials-section h3 {
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .client-info {
        gap: 0.75rem;
    }
    
    .client-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .faq-section,
    .review-summary {
        padding: 2rem 0;
    }
    
    .faq-item,
    .summary-item {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
}

/* Print Styles */
@media print {
    .filter-section,
    .cta-section,
    .load-more-container {
        display: none;
    }
    
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .testimonial-card {
        border: 2px solid #000;
    }
    
    .filter-btn.active {
        background: #000;
        color: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .filter-btn,
    .btn,
    .stat-item {
        transition: none;
    }
    
    .fade-in {
        animation: none;
    }
}

/* Focus styles for accessibility */
.filter-btn:focus,
.load-more-btn:focus,
.btn:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Loading state */
.testimonials-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.testimonials-grid.loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
}

/* Ripple effect */
.filter-btn, .load-more-btn, .btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll progress indicator (optional) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--scroll-progress, 0%);
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Lazy loading for images */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}