.accordion-group {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-title {
    background: #f5f5f5;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.accordion-title i {
    margin-right: 10px;
    color: red;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-title i {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fff;
    color: #555;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px !important;
    padding: 15px 20px;
}

.testimonial-section {
    margin: 100px 0;
    padding: 0 20px;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Creative Background Wave */
.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23dc2626" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,117.3C672,117,768,171,864,192C960,213,1056,203,1152,181.3C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat top center;
    background-size: cover;
    z-index: 0;
}

.service-details-box {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.owl-carousel .testimonial-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.owl-carousel .testimonial-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card .quote-icon {
    font-size: 60px;
    color: #dc2626;
    position: absolute;
    top: -20px;
    left: 25px;
    animation: floatQuote 3s ease-in-out infinite;
}

@keyframes floatQuote {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.stars {
    font-size: 24px;
    color: #f59e0b;
    margin: 15px 0;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1rem;
    color: #1f2937;
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 20px;
    flex-grow: 1;
}

.testimonial-section .comman-title-box {
    margin-bottom: 40px;
}

.testimonial-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.testimonial-info img:hover {
    transform: scale(1.1);
}

.testimonial-info h4 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.testimonial-info span {
    font-size: 1rem;
    color: #6b7280;
}

/* Owl Carousel Navigation */
.owl-nav {
    margin-top: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    margin: 50px 0 !important;
}

.owl-prev,
.owl-next {
    background: #dc2626 !important;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 12خهpx !important;
    font-size: 28px !important;
    line-height: 60px !important;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.owl-prev:hover,
.owl-next:hover {
    background: #b91c1c !important;
    transform: scale(1.1);
}

.owl-prev:focus,
.owl-next:focus {
    outline: none;
}

.testimonial-info img {
    width: 70px !important;
}


/* Hide Pagination Dots */
.owl-dots {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-section {
        margin: 60px 0;
    }

    .service-details-box h2 {
        font-size: 2.2rem;
    }

    .comman-title-box p {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .owl-carousel .testimonial-card {
        min-height: 300px;
        padding: 25px 20px;
    }

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

    .testimonial-info img {
        width: 60px;
        height: 60px;
    }

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

    .testimonial-info span {
        font-size: 0.9rem;
    }

    .owl-prev,
    .owl-next {
        width: 50px;
        height: 50px;
        font-size: 24px !important;
    }
}

@media (max-width: 576px) {
    .service-details-box {

        margin-bottom: 10px;

    }

    .testimonial-section {
        margin: 30px 0 40px 0;
        padding: 30px 10px;
    }

    .service-details-box h2 {
        font-size: 1.8rem;
    }

    .comman-title-box p {
        font-size: 1rem;
    }

    .owl-carousel .testimonial-card {
        min-height: 300px;
        padding: 20px 15px;
    }

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

    .testimonial-info img {
        width: 60px !important;
        height: auto !important;
    }

    .owl-prev,
    .owl-next {
        width: 45px;
        height: 45px;
        font-size: 20px !important;
    }

    .owl-nav {
        margin: 20px 0 !important;
    }
}