/*
Custom CSS for TemplateMo 561 Purple Buzz

https://templatemo.com/tm-561-purple-buzz


*/
/* توحيد ارتفاع بطاقات التواصل وتنسيقها */
.contact-card--item {
    padding: 30px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.contact-card--item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.contact-card--icon i {
    color: #4232c2; /* لون هوية الشركة */
    margin-bottom: 15px;
    display: inline-block;
}

/* تنسيق الزر الصغير */
.contact-card--item .btn-outline-primary {
    border-width: 1.5px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}



/* تنسيق الخانات الإجبارية عند الخطأ */
.contact-form input:invalid, .contact-form textarea:invalid {
    border-right: 3px solid #dc3545; /* خط أحمر جهة اليمين (للمواقع العربية) */
}

.contact-form input:valid, .contact-form textarea:valid {
    border-right: 3px solid #198754; /* خط أخضر عند التعبئة الصحيحة */
}




/* تنسيق حاوية الشعار */
.partner-logo-container {
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px; /* توحيد الارتفاع */
}

.partner-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* تنسيق صورة اللوجو */
.client-logo {
    max-height: 80px; /* تحديد أقصى ارتفاع للشعار */
    width: auto;
    filter: grayscale(100%); /* اختياري: جعل الشعارات بالرمادي */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-container:hover .client-logo {
    filter: grayscale(0%); /* تلوين الشعار عند مرور الماوس */
    opacity: 1;
}



body, h1, h2, h3, h4, h5, h6, p, a, span {
    font-family: 'Cairo', sans-serif !important; /* أو أي خط عربي تفضله */
    text-align: right;
}

/* لتعديل اتجاه الأيقونات والقوائم */
.ms-auto { margin-right: auto !important; margin-left: 0 !important; }
.me-auto { margin-left: auto !important; margin-right: 0 !important; }


/* فرض التوسيط على عناصر البانر والخدمات */
.banner-content, .service-wrapper, .recent-work-content {
    text-align: center !important;
}

.banner-content p, .service-footer {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* إصلاح اتجاه العناصر في السلايدر */
.carousel-item {
    text-align: center;
}