/* تنسيق الصفحة */
body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
}

header {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 3px;
}

h1 {
    margin: 0;
}

main {
    padding: 20px;
}

.search-section {
    text-align: center;
    margin-bottom: 30px;
}

#searchForm {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#searchInput {
    padding: 10px;
    font-size: 16px;
    width: 300px;
}

button {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
        font-family: cairo;
}

button:hover {
    background-color: #2980b9;
}

/* تنسيق الأقسام */
.company-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    
}

.info-block {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-block h3 {
    margin-top: 0;
    color: #2c3e50;
}

.info-block p {
    font-size: 16px;
    color: #024c23;
}

.alert {
    background-color: #f39c12;
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* تنسيق الفوتر */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 10px;
 
    bottom: 0;
}





.customer-reviews {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.review {
    font-size: 1rem;
    padding: 10px;
    text-align: center;
}

.review .rating {
    color: #ffcc00;
    font-size: 1.2rem;
}

.slick-prev, .slick-next {
    background-color: #000;
    color: #fff;
    border-radius: 50%;
}




      /* تخصيص شريط التمرير */
        /* تصميم شريط التمرير للمحتوى */
        ::-webkit-scrollbar {
            width: 10px;  /* عرض شريط التمرير */
            height: 10px; /* ارتفاع شريط التمرير للأفقي */
        }

        ::-webkit-scrollbar-track {
            background: #e0f2f1; /* اللون الخلفي لشريط التمرير */
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: #00796b; /* اللون الرئيسي لشريط التمرير */
            border-radius: 10px;
            transition: background 0.3s ease;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #004d40; /* ظل أغمق عند التمرير فوقه */
        }

        /* تخصيص شريط التمرير في اتجاه الأفقي */
        ::-webkit-scrollbar-horizontal {
            background: #e0f2f1;
            height: 10px;
        }

        ::-webkit-scrollbar-thumb-horizontal {
            background: #00796b;
        }

        /* تخصيص التمرير العمودي */
        body {
            height: 100vh;
            overflow: auto;
            font-family: 'Cairo', sans-serif;
        }
        
        
        
        /* تخصيص مكان الشعار */
        .logo {
            text-align: center;
            margin-top: 20px;
            display: flex;
            justify-content: center;
        }

        .logo img {
            max-width: 169px;
        
            border-radius: 50%;
        }

        /* تخصيص سلايدر الصور */
        .company-slider {
            margin: 20px auto;
            max-width: 80%;
        }

        .company-slider img {
            width: 35vh;
            height: auto;
            margin: auto;
        }
        
.info-block {
    margin: 10px;
    
    margin-bottom: 18px;
}

.social-btn {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    background-color: #007bff;
    transition: background-color 0.3s, transform 0.3s;

    
}

.social-btn i {
    margin-right: 10px;
}

.social-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}









.add-review {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 5px;
}

.add-review h4 {
    margin-bottom: 10px;
}

.add-review label {
    display: block;
    margin: 10px 0 5px;
}

.add-review input,
.add-review select,
.add-review textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.add-review button {
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add-review button:hover {
    background: #0056b3;
}

.show-form-btn {
    margin-top: 20px;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.show-form-btn:hover {
    background: #218838;
}


   .whatsapp-button {
        position: fixed;
        bottom: 20px; /* المسافة من الأسفل */
        right: 20px; /* المسافة من اليمين */
        background-color: #25D366; /* اللون الأخضر لواتساب */
        color: white;
        padding: 15px 30px;
        border-radius: 50px;
        font-size: 16px;
        text-align: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        text-decoration: none;
        z-index: 9999; /* لضمان أن الزر يظهر فوق العناصر الأخرى */
    }
    .whatsapp-button:hover {
        background-color: #128C7E; /* تغيير اللون عند المرور */
    }

.floating-eye {
    position: fixed; /* تأمين الأيقونة في موضعها */
    bottom: 20px; /* جعلها في الأسفل */
    left: 20px; /* جعلها في الجانب الأيسر */
    background-color: #FFF; /* لون الخلفية */
    border-radius: 50%; /* لتحويل الشكل لدوائر */
    width: 50px; /* عرض الأيقونة */
    height: 50px; /* ارتفاع الأيقونة */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* إضافة ظلال للأيقونة */
    display: flex; /* جعل المحتويات في المحور الأفقي */
    align-items: center; /* محاذاة المحتويات في المنتصف عموديًا */
    justify-content: center; /* محاذاة المحتويات في المنتصف أفقيًا */
    cursor: pointer; /* يجعل الفأرة تتغير إلى يد عند المرور فوق الأيقونة */
    z-index: 1000; /* لضمان ظهور الأيقونة فوق المحتويات الأخرى */
    font-size: 16px; /* حجم الخط */
    text-align: center; /* محاذاة النص */
    color: #000; /* لون النص */
}


.categories {
  display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;;
}

.category-block {
    display: block;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    width: 200px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #333;
}

.category-block h4 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.category-block p {
    font-size: 14px;
    color: #555;
}

.category-block:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #f9f9f9;
    color: #000;
}

.category-block:active {
    transform: scale(0.95);
}







.categoriesx {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    
   
    justify-content: center;
}

.category-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #333;
    position: relative;
}

.category-block:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.company-logox {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.company-logoxv {
    position: relative;
   
    height: 100px;
    margin-bottom: 10px;
}



.company-logox img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.verified-icon {
    position: absolute;
    top: 68px;
    right: 61px;
    background-color: white;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;

    width: 30px;
    height: 30px;
    
    
}
.verified-iconx {
    position: absolute;
    top: 107px;
    right: 129px;
    background-color: white;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
background-color: #2c3e50;
    width: 40px;
    height: 40px;
        border-radius: 50%;
    
}

.company-details h4 {
    font-size: 18px;
    margin: 5px 0;
    color: #333;
}

.rating {
    font-size: 14px;
    color: #555;
}

.floating-btn {
    position: fixed;  /* يثبت الزر في مكانه */
    bottom: 20px;     /* المسافة من أسفل الصفحة */
    left: 50%;        /* تحديد الزر في منتصف الصفحة أفقيًا */
    transform: translateX(-50%); /* تحريك الزر ليكون في المنتصف تمامًا */
    background-color: #28a745; /* اللون الأخضر */
    color: white;     /* لون النص */
    padding: 15px 30px;  /* مساحة داخلية */
    border-radius: 50px; /* تدوير الحواف ليصبح الزر دائريًا */
    font-size: 13px;  /* حجم الخط */
    text-align: center;  /* توسيط النص داخل الزر */
    text-decoration: none;  /* إزالة الخط أسفل النص */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* تأثير الظل */
    transition: background-color 0.3s, transform 0.3s; /* تأثير عند التمرير بالماوس */
}

.floating-btn:hover {
    background-color: #218838; /* تغيير اللون عند التمرير */
    transform: translateX(-50%) translateY(-5px); /* تحريك الزر للأعلى قليلاً */
}


.slick-slide img {
    display: block;
    border: 5px solid #3498db;
    border-radius: 13px;
}
