.is-sticky #logo a img {

    width: 270px;
    height: auto;
    max-width: 100%;
}




.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-switcher a {
    opacity: 0.7;
    transition: all 0.3s;
}

.language-switcher a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.language-switcher a.active {
    opacity: 1;
    border-bottom: 2px solid #3490dc;
}



.truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* عدد الأسطر المطلوبة قبل القص */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px; /* أو عرض محدد مثل 300px */
}



.dt-sc-colored-content .dt-sc-colored-content-title:before {
    content: "";
    background: url(../images/trans.png) center top no-repeat;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 30%;
    display: inline-block;
    z-index: 0;
    border-radius: 0% 0px 30px 30px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.dt-sc-colored-icon-box .dt-sc-colored-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* overflow: hidden; */
    text-align: center;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
}
.dt-sc-colored-content .dt-sc-colored-content-title:before {
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}




/* تنسيقات عامة للقسم */
.video-testimonial-quote {
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.video-testimonial-quote h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* تنسيقات صناديق الخدمات */
.dt-sc-icon-box.type5.rounded {
    display: flex;
    margin-bottom: 25px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dt-sc-icon-box.type5.rounded:hover {
    background: #f1f1f1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* تنسيقات الأيقونات */
.icon-wrapper {
    flex: 0 0 60px;
    height: 60px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 24px;
}

.icon-content {
    flex: 1;
}

.icon-content h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
}

.icon-content p {
    margin: 0;
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 14px;
}

/* تنسيقات للغة العربية (RTL) */
[dir="rtl"] .dt-sc-icon-box.type5.rounded {
    flex-direction: row-reverse;
}

[dir="rtl"] .icon-wrapper {
    margin-right: 0;
    margin-left: 20px;
}

[dir="rtl"] .video-testimonial-quote h3,
[dir="rtl"] .icon-content h4,
[dir="rtl"] .icon-content p {
    text-align: right;
}

/* تنسيقات للهواتف المحمولة */
@media (max-width: 768px) {
    .dt-sc-icon-box.type5.rounded {
        flex-direction: column;
        text-align: center;
    }

    .icon-wrapper {
        margin: 0 auto 15px auto;
    }

    [dir="rtl"] .dt-sc-icon-box.type5.rounded {
        flex-direction: column;
    }

    [dir="rtl"] .icon-wrapper {
        margin: 0 auto 15px auto;
    }
}
