/**
 * Testimonials Section Styles
 */

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Dark overlay for background image */
.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.testimonials-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Testimonials Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.testimonials-header .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Single Testimonial */
.testimonial-single {
    position: relative;
    width: 100%;
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* Testimonial Rating */
.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
}

.testimonial-rating svg {
    color: #ffc107;
    width: 24px;
    height: 24px;
}

.testimonial-rating .star-filled {
    fill: #ffc107;
    color: #ffc107;
}

.testimonial-rating .star-empty {
    fill: none;
    color: #e0e0e0;
}

/* Testimonial Message */
.testimonial-message {
    margin: 0 0 40px 0;
    padding: 0;
    border: none;
}

.testimonial-message p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.9;
    color: #1a1a2e;
    font-style: italic;
    margin: 0;
    position: relative;
    font-weight: 400;
}

.testimonial-message p::before {
    content: '"';
    font-size: 5rem;
    color: #eb3729;
    opacity: 0.25;
    position: absolute;
    top: -30px;
    left: -40px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-message p::after {
    content: '"';
    font-size: 5rem;
    color: #eb3729;
    opacity: 0.25;
    position: absolute;
    bottom: -50px;
    right: -40px;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eb3729 0%, #7e1416 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(235, 55, 41, 0.3);
}

.author-avatar svg {
    width: 35px;
    height: 35px;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 5px 0;
}

.author-company {
    font-size: 1rem;
    color: #666;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 968px) {
    .testimonials-section {
        padding: 100px 0;
        background-attachment: scroll;
    }
    
    .testimonial-card {
        padding: 50px 40px;
    }
    
    .testimonial-message p::before {
        left: -30px;
        font-size: 4rem;
    }
    
    .testimonial-message p::after {
        right: -30px;
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
        min-height: 500px;
    }
    
    .testimonials-container {
        padding: 0 20px;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 40px 30px;
    }
    
    .testimonial-message p {
        font-size: 1.2rem;
    }
    
    .testimonial-message p::before {
        left: -20px;
        top: -20px;
        font-size: 3rem;
    }
    
    .testimonial-message p::after {
        right: -20px;
        bottom: -30px;
        font-size: 3rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 60px 0;
        min-height: 400px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-rating svg {
        width: 20px;
        height: 20px;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-avatar svg {
        width: 30px;
        height: 30px;
    }
    
    .testimonial-message p::before,
    .testimonial-message p::after {
        display: none;
    }
}

