/* ===================================================================
   TESTIMONIALS PAGE - STANDALONE CSS
   No dependencies on any other CSS files
   =================================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #A01D26 0%, #8B0E1F 100%);
    color: white;
    padding: 140px 20px 80px;
    text-align: center;
    position: relative;
    margin: 0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* Testimonials Container */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Intro Section */
.testimonials-intro {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.testimonials-intro p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.125rem;
    color: #666;
}

.loading-message i {
    display: block;
    margin: 0 auto 20px;
}

.loading-message p {
    margin: 0;
}

/* Testimonials Grid */
#testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(168, 19, 39, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: #A01D26;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 18px;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A01D26 0%, #8B0E1F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.125rem;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

/* Service Badge */
.testimonial-service {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    background: rgba(168, 19, 39, 0.1);
    color: #A01D26;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* No Testimonials State */
.no-testimonials {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1;
}

.no-testimonials h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.no-testimonials p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #A01D26 0%, #8B0E1F 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 12px;
    margin-top: 60px;
}

.cta-section h3 {
    font-size: 2rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.125rem;
    margin: 0 0 30px 0;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #A01D26;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    #testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .testimonials-container {
        padding: 60px 20px;
    }

    .testimonials-intro h2 {
        font-size: 1.75rem;
    }

    .testimonials-intro p {
        font-size: 1rem;
    }

    #testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-card::before {
        font-size: 60px;
        top: 15px;
        left: 25px;
    }

    .cta-section {
        padding: 60px 20px;
        margin-top: 40px;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 20px 50px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 0.9375rem;
    }

    .testimonials-intro h2 {
        font-size: 1.5rem;
    }

    .testimonials-intro p {
        font-size: 0.9375rem;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card::before {
        font-size: 50px;
        top: 12px;
        left: 20px;
    }

    .testimonial-text {
        font-size: 0.9375rem;
    }

    .testimonial-info h4 {
        font-size: 1rem;
    }

    .testimonial-info p {
        font-size: 0.8125rem;
    }
}
