@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
    --primaryColor: #FEA958;
    --middleColor: #393E46;
    --helperColor: #400B50;
    --lightHelper: #B60C52;
    --hrColor: #F8F5FF;
    --transparentColor: rgba(0, 0, 0, 0.699);
    --shadow: rgba(189, 188, 188, 0.514);
    /* --------------------------------- */
    --whatsappColor: #25D366;
    --white: #ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray: #f8f8f8;
    --container-width: 1340px;
    --header-height: 200px;
    /* 👈 غيّر الرقم حسب الارتفاع اللي تحبه */

}


body::-webkit-scrollbar {
    width: 8px
}

body::-webkit-scrollbar-track {
    background-color: transparent
}

body::-webkit-scrollbar-thumb {
    background-color: var(--lightHelper);
    background-image: linear-gradient(0deg, var(--lightHelper) 0%, var(--helperColor) 100%);
    border-radius: 5px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.5s;

}

ul {
    list-style: none;
}


.slider-testimonials-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 18px;
    position: relative;
    z-index: 2;
}

.skills-section {
    background: var(--helperColor);
    color: var(--white);
    position: relative;
}

.testimonials-section svg {
    position: absolute;
    right: 0;
    left: 0;
    height: 20px;
    width: 100%;
}

.skills-section::after {
    content: "";
    background-image: url("../img/logo.png");
    background-size: 250px;
    opacity: .09;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 0;
}


.slider-testimonials-section-header {
    text-align: center;
    margin-bottom: 28px
}

.slider-testimonials-section {
    position: relative;
}

.slider-testimonials-section svg {
    position: absolute;
    right: 0;
    left: 0;
    height: 20px;
    width: 100%;
}

.slider-testimonials-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px;
}

.slider-testimonials-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.slider-testimonials-section-title {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primaryColor);
    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(--lightHelper) 0%, var(--primaryColor) 100%);

}

.slider-testimonials-section-title::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 5px;
    border-radius: 25px;
    bottom: -25%;
    right: 0;
    background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--primaryColor) 100%);

}

/* ========== slider-testimonials ========== */
.slider-testimonials {
    position: relative
}

.viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 14px;
    /* حل بصري خفيف لتمييز الحواف */
    box-shadow: inset 0 0 0 1px rgba(7, 20, 40, .05);
    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% - 18px)/2);
    flex-basis: calc((100% - 18px)/2);
}


@media (max-width: 600px) {
    .slider-testimonials .viewport .slide {
        min-width: 100%;
        flex-basis: 100%;
    }
}

/* بطاقة المهارة */
.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;
}
.slider-testimonials .viewport .track .slide .skill-card .txt{
    padding: 50px 10px 15px;
    background-color: rgb(182 12 82 / 21%);
    border-radius: 0 30px;
    margin-top: -50px;
    flex-grow: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.slider-testimonials .viewport .track .slide .skill-card .txt .stars {
    margin: 5px 0;
}

.slider-testimonials .viewport .track .slide .skill-card .txt .stars .Stars {
    --percent: calc(var(--rating) / 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: linear-gradient(90deg, var(--lightHelper) var(--percent), #FDE8F1 var(--percent));
    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;
}
.testiContent:before {
    content: "\f10d";
    left: 0;
    top: 0;
}
.testiContent:before, .testiContent:after {
    position: absolute;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primaryColor);
    font-size: 25px;
}
.testiContent p {
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color: rgb(0 0 0 / 20%);
    border-radius: 0 15px;
    color: var(--white);
    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: 16px;
    font-weight: 500;
    color: var(--primaryColor);
}
.skill-card .info .jobTitle {
    font-size: 16px;
    font-weight: 500;
    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;
    top: -10%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--lightHelper);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.nav:hover {
    background: var(--primaryColor);
    color: var(--helperColor);
    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: 5%;
}

/* RTL: السهم السابق على اليمين */
.nav.next {
    left: 1%;
}

/* 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: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: 6%;
    }
}

/* Phones */
@media (max-width: 576px) {
    .nav.prev {
        left: 15%;
    }
}