.testimonials-section {
    padding: 80px 0;
    background-image: url("../imgs/globe.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f8f8f8;
}

.testimonials-title {
    font-size: 35px;
    font-weight: 700;
    color: #0B132A;
    margin-bottom: 20px;
}

.testimonials-subtitle {
    color: #4F5665;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 360px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    color: #000;
    text-decoration: none;
    outline: 0;
    opacity: .9;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.test .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    background-image: url("../imgs/def_user.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-right: 15px;
}

.user-details h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #0B132A;
}

.user-details p {
    font-size: 14px;
    color: #4F5665;
    margin: 0;
}

.flag {
    margin-right: 5px;
}

.rating {
    display: flex;
}

.star {
    color: #FEA250;
    font-size: 18px;
}

.testimonial-content {
    flex-grow: 1;
    overflow-y: auto;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000;
    opacity: 1;
    font-size: xxx-large;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
}

.carousel-indicators {
    position: relative;
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.carousel-indicators [data-bs-target] {
    width: 20px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--comp2-color);
    border: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 20px;
    }

    .testimonials-title {
        font-size: 28px;
    }

    .testimonials-subtitle {
        font-size: 14px;
    }
}

/* RTL Support for Carousel Controls (testimonials only) */
[dir="rtl"] .testimonials-section .carousel-control-prev span[aria-hidden="true"] {
    display: inline-block;
    font-size: 0;
}

[dir="rtl"] .testimonials-section .carousel-control-prev span[aria-hidden="true"]::after {
    content: "→";
    font-size: 2rem;
}

[dir="rtl"] .testimonials-section .carousel-control-next span[aria-hidden="true"] {
    display: inline-block;
    font-size: 0;
}

[dir="rtl"] .testimonials-section .carousel-control-next span[aria-hidden="true"]::after {
    content: "←";
    font-size: 2rem;
}