

.slider-testimonials-container {
    max-width: 1140px;
    margin: 20px auto;
    padding: 48px 18px;
    position: relative;
    z-index: 2;
    /* background: var(--lightHelper); */

}

.skills-section {
    background: var(--helperColor);
    color: var(--primaryColor);
    position: relative;

}
.slider-testimonials-section-header .section-subtitle{
     color: var(--primaryColor);
     
 }
 .testimonials-section{
    position: relative;

 }


.slider-testimonials-section-header {
    text-align: center;
    margin-bottom: 18px;
}


.slider-testimonials-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px;

}

.slider-testimonials-section-header {
    text-align: center;
    margin-bottom: 25px;
}

.slider-testimonials-section-title {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    /* margin-bottom: 30px; */
    color: var(--secondaryColor);
    position: relative;
}

.slider-testimonials-section-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 25px;
    bottom: -10%;
    left: 0;
    background-image: linear-gradient(90deg, var(--secondaryColor) 0%, var(--secondaryColor) 100%);

}



/* ========== slider-testimonials ========== */
.slider-testimonials {
    position: relative;
    border-left: 15px solid var(--white);
    border-right: 15px solid var(--white);
    border-radius: 10px;
}

.viewport {
    overflow: hidden;
    width: 100%;
    /* border-radius: 14px; */
    /* حل بصري خفيف لتمييز الحواف */
    background: transparent;

}

.track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
    gap: 18px;
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

/* الشريحة */
.slider-testimonials .viewport .slide {
    min-width: calc((100%)/1.5);
    flex-basis: calc((100%)/2);
    transform: translateX(140px);
}


@media (max-width: 600px) {
    .slider-testimonials .viewport .slide {
        min-width: 100%;
        flex-basis: 100%;
        transform: translateX(0px);

    }
    .slider-testimonials {
        position: relative;
        border-left: none;
        border-right: none;
    }
}

/* بطاقة المهارة */
.slider-testimonials .viewport .track .slide .skill-card {
    /* padding: 30px; */
    background-color: var(--helperColor);
    color: var(---white);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0 30px;
    /* background-image: url("../img/shiny-back.webp"); */
    background-size: cover;
    background-position: center;
}
.slider-testimonials .viewport .track .slide .skill-card .img {
    flex-grow: 0;
    z-index: 2;
}
.slider-testimonials .viewport .track .slide .skill-card .img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-block;
    border: 5px solid var(--white);
}
.slider-testimonials .viewport .track .slide .skill-card .txt{
    padding: 50px 10px 15px;
    background-color: var(--secondaryColor);
    border-radius:  30px;
    margin-top: -50px;
    flex-grow: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;

}
/* .slider-testimonials .viewport .track .slide .skill-card .txt .stars {
    margin: 5px 0;
} */

.slider-testimonials .viewport .track .slide .skill-card .txt .stars .Stars {
    --percent: calc(5 / 5 * 100%);
    display: inline-block;
    font-size: 25px;
    font-family: Times;
    line-height: 1;
}
.slider-testimonials .viewport .track .slide .skill-card .txt .stars .Stars:before {
    content: '★★★★★';
    letter-spacing: 3px;
    background: var(--white);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -o-background-clip: text;
    -ms-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    -o-text-fill-color: transparent;
    -ms-text-fill-color: transparent;
}
.testiContent {
    font-size: 14px;
    position: relative;
    font-weight: 500;
    padding: 0 30px;
    text-align-last: center;
}
/* .testiContent:before {
    top: auto;
    bottom: 0;
    color: var(--lightHelper);
}
.testiContent:before {
    content: "\f10d";
    left: 0;
    top: 0;
    color: var(--lightHelper);

} */
.testiContent:before, .testiContent:after {
    position: absolute;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--white);
    font-size: 25px;
}
.testiContent p {
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color:var(--white);
    border-radius:  15px;
    color: var(--secondaryColor);
    border: 1px dashed rgb(248 245 255 / 20%);
}
/* .testiContent:after {
    bottom: auto;
    top: 0;
}
.testiContent:after {
    content: "\f10e";
    right: 0;
    bottom: 0;
} */
.skill-card .info .name {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}
.skill-card .info .jobTitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.slider-testimonials .viewport .track .slide .skill-card
.icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 10px
}

/* .title {
    font-size: 18px;
    font-weight: 800;
    margin: 6px 0 6px
}

.desc {
    font-size: 14px;
    color: var(--muted);
    margin: 0
} */

/* أزرار التنقل */
.nav {
    position: absolute;
    bottom: -20%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--primaryColor);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    font-size: 18px;
    /* border: 3px var(--white) solid; */
}

.nav:hover {
    background: var(--primaryColor);
    color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transform: translateY(-50%) scale(1.05)
}
/* 
.nav:active {
    transform: translateY(-50%) scale(.98)
} */

.nav:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--ring)
}

.nav.prev {
    left: 50%;
}

/* RTL: السهم السابق على اليمين */
.nav.next {
    left: 45%;
}

/* RTL: السهم التالي على اليسار */

/* النقاط */
.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 16px
}

.dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--primaryColor);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
    padding: 0
}

/* .dots button[aria-selected="true"] {
    background: var(--lightHelper);
    transform: scale(1.15)
} */
.dots button.active {
    background: var(--secondaryColor);

}
.dots button:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--ring)
}

/* سحب المستخدم: تعطيل الانتقال لتبدو طبيعية */
.track.is-dragging {
    transition: none !important
}


/* Small tablets & large phones */
@media (max-width: 900px) {
    .nav.prev {
        left: 40%;
    }
    .slider-testimonials-container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 30px 20px 85px 20px;
    }
}

/* Phones */
@media (max-width: 576px) {
    .nav.prev {
        left: 51%;
    }
    .nav.next {
        left: 35%;
    }
}