.testimonials-section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #ff0000;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: #666666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ffdddd;
}

.testimonial-container p {
    font-size: 1.2rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-container p::before,
.testimonial-container p::after {
    content: '"';
    font-size: 60px;
    color: #ff0000;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
    position: absolute;
}

.testimonial-container p::before {
    top: -20px;
    left: -15px;
}

.testimonial-container p::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-container img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #ff0000;
    margin: 0 auto 15px;
    object-fit: cover;
}

.testimonial-container h4 {
    color: #ff0000;
    font-size: 1.3rem;
    margin: 15px 0 5px;
    font-weight: 600;
}

.testimonial-container span {
    color: #666666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-nav-btn {
    background: #ff0000;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.testimonial-nav-btn:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffcccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: #ff0000;
    transform: scale(1.2);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-container {
    animation: fadeIn 0.5s ease-out;
}

@media (max-width: 768px) {
    .testimonial-container {
        padding: 30px 20px;
    }

    .testimonial-container p {
        font-size: 1rem;
    }

    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}