@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/DroidKufi-Regular.eot);
  src: url(../fonts/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
       url(../fonts/DroidKufi-Regular.woff2) format('woff2'),
       url(../fonts/DroidKufi-Regular.woff) format('woff'),
       url(../fonts/DroidKufi-Regular.ttf) format('truetype');
}
 
#map {
	display: none;
    height: 300px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.star-rating {
    font-size: 24px;
    color: gold;
    display: inline-block;
    vertical-align: middle;
}
.star-rating .star {
    color: lightgray;
    display: inline-block;
}
.star-rating .star.full {
    color: gold;
}
.star-rating .star.half {
    color: gold;
}
.rating-text {
    font-size: 20px;
    margin-left: 10px;
    vertical-align: middle;
    color: #ffc100;
}


.review {
    padding: 0px;
    margin-bottom: 15px;
    overflow: hidden;
}
.review:last-child {
    border-bottom: none;
}
.review-author {
    font-weight: bold;
    color: #333;
}
.review-text {
	background-color: #fafafa;
    border-radius: 8px;
    border-bottom: 1px solid #eee;
    margin: 0px 0;
    color: #555;
}
.review-time {
    color: #777;
    font-style: italic;
}
.review-rating {
    margin-top: -10px;
	font-size: 18px;
    color: gold;
}
h1 {
    text-align: center;
    color: #333;
}
p {
    margin: 10px 0;
}
 
.review-rating .star {
    color: lightgray;
}
.review-rating .star.full {
    color: gold;
}
.review-rating .star.half {
    color: gold;
}
 
.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.rating-bar .bar {
    background-color: gold;
    height: 20px;
    margin-right: 10px;
}
.rating-bar .count {
    font-size: 16px;
    color: #333;
}
.rating-summary .total-reviews {
    font-size: 16px;
    color: #555;
}
 
.modal {
    display: none;
    position: fixed;
	 z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensure content doesn't overflow */
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
	padding:30% auto;
}

.modal-content {
    position: relative; /* Allow positioning of children */
    width: 100%; /* Adjust as needed */
    max-width: 700px; /* Adjust as needed */
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.mySlides {
    display: none;
    position: relative;
}

.prev, .next {
    cursor: pointer;
    position: absolute; /* Ensure buttons stay within the modal-content */
    top: 50%;
    width: 30px;
	height:auto;
    padding: 6px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    background-color: rgba(0, 0, 0, 0.8); /* Slight background for better visibility */
    z-index: 10; /* Ensure it is above image */
    border-radius: 3px;
    user-select: none;
	text-decoration:none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.close {
	margin-top:15px;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    position: absolute; /* Ensure close button stays within the modal-content */
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.8); /* Slight background for better visibility */
    border-radius: 50%; /* Ensure the background is circular */
    display: flex; /* Use flexbox to center the icon */
    align-items: center; /* Center the icon vertically */
    justify-content: center; /* Center the icon horizontally */
    z-index: 10; /* Ensure it is above image */
    padding: 0; /* Remove padding as flexbox handles centering */
    line-height: 15px; /* Remove extra space caused by line-height */
}

.close:hover {
    color: #bbb;
    text-decoration: none;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-author-photo {
    width: 50px; /* أو الحجم الذي تريده */
    height: 50px; /* أو الحجم الذي تريده */
    border-radius: 50%; /* لتدوير الصورة */
    margin: 5px; /* المسافة بين الصورة والنص */
    object-fit: cover; /* لتغطية الصورة بشكل صحيح داخل العنصر */
}

.review-author-details {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-weight: bold;
    margin-bottom: 5px;
}
 
.column {
    flex: 1;
    padding: 5px;
}

.image-column {
    display: block;
    align-items: center;
}

.place-image {
    max-width: 220px;
    height: 100px;
    border-radius: 8px;
}

.info-column {
    display: flex;
    align-items: center;
    text-align: center;
}
 

.rating-details {
    display: flex;
    flex-direction: column;
    align-items: center; /* لمركزية المحتوى أفقياً */
    text-align: center; /* لمركزية النص داخل كل عنصر */
}

.rating-details > * {
    margin: 0;
    padding: 5px 0; /* تقليل المسافة العمودية بين العناصر */
}

#place-rating {
}

/* تعديل الـ padding-bottom إذا لزم الأمر */
.rating-details > #place-rating-number {
    padding-bottom: 10px; /* مثال: ضبط المسافة السفلية بين تقييم النجوم وقيمة التقييم */
}

#place-rating-number { position: relative;
	font-family: 'Cairo';
    font-weight: 500;
    color: #444;
    font-size: 40px;
    text-align: center;
	
}

#place-rating {
	display: flex;
    position: relative;
    color: #ffcc00;
    font-size: 20px;
    vertical-align: middle;
	margin-top: -35px; /* استخدم قيمة سالبة لرفع العنصر إلى الأعلى */
	margin-bottom: -25px; /* استخدم قيمة سالبة لرفع العنصر إلى الأعلى */

}

.total-reviews {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

#place-reviews {
    margin-top: 20px;
}

.photo-container {
  display: flex;
}

.left-column .photo {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border: 8px solid #ddd;
}

.left-column img {
    width: 85px;
    height: 85px;
    border-radius: 8px;
}

  #place-photos {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 10px; /* المسافة بين الأعمدة */
    max-width: 350px;
    width: 100%; /* لتجنب وجود ديف بجانبها */
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.place-photos img {
    margin: 1px 0 0 0 ;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}


.photo-column {
    display: flex;
    flex-direction: column;
    gap: 10px; /* المسافة بين الصور */
}

.right-column img {
    height: 292px;
    border-radius: 8px;
	width: 100%;
	border:1px solid #0066c1;
}

.abouttheclinic{
	font-family: 'Droid Arabic Kufi';
	font-style: normal;
	font-weight: 600;
	font-size:16px;
}

.toptabsformove {
    display: flex; /* لجعل الروابط في صف واحد */
    margin: 10px 0 -20px auto; /* لإضافة مساحة حول الروابط */
	font-family: 'Droid Arabic Kufi';
	font-style: normal;
}

.toptabsformove a {
	text-decoration:none;
    color: #444; /* لون النص الأزرق */
    transition: background-color 0.3s ease; /* لإضافة تأثير انتقال عند تغيير لون الخلفية */
	font-size:15px;
	border-bottom: 2px solid #fff; /* إضافة حدود سفلية 2px للزر النشط */
}

.toptabsformove a:hover {
    color: #d51111; /* لون خلفية أغمق عند التحويم */
	border-bottom: 2px solid #d51111; /* إضافة حدود سفلية 2px للزر النشط */
}
.toptabsformove a.active {
    color: #d51111; /* لون النص الأخضر للروابط النشطة */
	border-bottom: 2px solid #d51111; /* إضافة حدود سفلية 2px للزر النشط */
}

.centered-button {
    display: flex;
    justify-content: center; /* لمحاذاة الزر أفقيًا في المنتصف */
    width: 70%;
    margin: 20px 0; /* مسافة أعلى وأسفل */
}

.centered-button button {
    background-color: #0066c1; /* لون الخلفية */
    border: none; /* إزالة الحدود */
    color: #fff; /* لون النص */
    padding: 10px 10px; /* المسافة الداخلية للزر */
    font-size: 14px; /* حجم الخط */
    cursor: pointer; /* المؤشر على شكل اليد عند التمرير فوق الزر */
    width: 100%;
    border-radius: 8px; /* حواف دائرية */
    max-width: 500px; /* تحديد أقصى عرض للزر */
    text-align: center; /* محاذاة النص في المنتصف */
}

.centered-button button:hover {
    background-color: #00a7c1; /* لون الخلفية عند التمرير فوق الزر */
}


.preview-link {
        background-color: #ef7107; /* لون الخلفية */
        color: #fff; /* لون النص */
        border: none; /* إزالة الحدود */
        border-radius: 8px; /* الزوايا مستديرة */
        padding: 10px 10px; /* مساحة داخلية */
        font-size: 14px; /* حجم الخط */
        text-transform: uppercase; /* نص بأحرف كبيرة */
		width: 60%; /* عرض الزر 100% */
		max-width: 500px; /* تحديد أقصى عرض للزر */
        cursor: pointer; /* إظهار مؤشر اليد عند التمرير */
        transition: all 0.3s ease; /* تأثير الانتقال */
        align-items: center; /* محاذاة العناصر عموديًا */
    }

    .preview-link:hover {
        background-color: #d55f06; /* لون مختلف عند التمرير */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* تأثير الظل */
    }

    .preview-link i {
        font-size: 18px; /* حجم الأيقونة */
    }



.small-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 5px;
    background: linear-gradient(to top right, rgba(0, 102, 193, 1) 50%, rgba(0, 102, 193, 0.9) 50%); /* التدرج على النصف فقط */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* تأثير عند التمرير بالماوس */
}

	 .price-box {
		 margin-top:3px;
        text-align: center;
    }

    .currency {
        font-size: 18px;
        display: block;
		color:#fff;
    }

    .amount {
		margin-top:-4px;
        font-size: 18px;
        font-weight: bold;
        display: block;
		color:#fff;
    }
	

    .rating {
		font-family: 'Droid Arabic Kufi';
		font-style: normal;
		font-weight: 400;
        font-size: 14px;
        display: block;
		color:#fff;
    }

    .buyers {
		font-family: 'Droid Arabic Kufi';
		font-style: normal;
		font-weight: 400;
        font-size: 16px;
        display: block;
		color:#fff;
    }

    .count {
		margin-top:-4px;
        font-size: 22px;
        font-weight: bold;
        display: block;
		color:#fff;
		text-align:center;
    }

	
	.completionTime b {
		font-family: Arial, sans-serif;
		color:#fff;
		font-weight: bold;
		font-size: 22px; /* تغيير حجم الخط إذا لزم الأمر */
		text-align:center;
	}
	
	.completionTime {
		line-height: 1;
		font-family: 'Droid Arabic Kufi';
		color:#fff;
		font-size: 20px; /* تغيير حجم الخط إذا لزم الأمر */
		text-align:center;
	}
	
	#place-name {
		font-family: 'Droid Arabic Kufi';
		font-size: 14px;
		color:#00294d;
	}
	
	
	
	.place-photos {
	display: flex;
	justify-content: space-between;
    }


.container h3 ,h4{
	font-size:16px;
	font-weight:bold;
	}
		
	.gobacktoprofile {
		float:left;
		position:relative;
		left:0;
		margin-top:-30px;
		padding-top:-20px;
		
	}
	.ad {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 0 0 calc(50% - 10px);
    padding: 10px;
	z-index:99;
}

    .rating-container {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: -4px;
    }
	
    .place-rating-first {
        font-size: 20px !important;
        margin-top: -29px !important;
    }
    .total-reviews-first {
        font-size: 10px !important;
        margin-top: -9px !important;
    }
	

/* تنسيق البطاقة */
.profile-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* تنسيق صورة البروفايل */
.profile-picture img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #007bff;
    padding: 3px;
}

/* تنسيق اسم المستخدم */
.user-name {
    font-size: 1.5rem;
    color: #333;
    margin-top: 10px;
}

/* تنسيق bio */
.user-name-bio {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
}

/* زر الاتصال */
.contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}


.contact-btn a {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 12px;
    font-weight: 500;
    border-radius: 25px;
    text-transform: uppercase;
    border: none;
    color: #444;
    transition: color 0.3s ease;
}


.profile-details {
	display: inline-block;
	padding: 10px;
	border-radius: 12px;
}


        .gender-age {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }

        .gender-age div {
            color: #fff;
            border-radius: 8px;
            padding: 5px;
            display: flex;
            align-items: center;
            font-size: 10px;
        }

        .gender-age .gender-icon {
            margin-right: 5px;
			font-size:20px;
        }
		
		
		
.contact-btn a:hover {
    color: #0056b3;
}

/* التحكم في المسافات والتنسيق */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

	
	
/* التقييمات */
.review {
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2); /* ظل أكبر يمتد إلى اليمين والأسفل */
    display: block; /* استخدم flex لعرض العناصر بشكل أفقي */
	 width: 100%; /* تأكيد عرض العنصر بالكامل */
	 min-width:325px;
}

.review-header {
    display: flex;
    align-items: flex-start; /* محاذاة العناصر من الأعلى */
    margin-bottom: 10px;
    width: 100%; /* تأكيد عرض كل عنصر في سطر منفصل */
}

.review-profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 5px;
    object-fit: cover;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
	border:2px solid #117cd5;
	
}

.review-author-details {
    display: flex;
    flex-direction: column;
}

.review-rating {
    font-size: 18px;
    color: #ffc100;
    margin-bottom: 5px;
	float:left;
}

.review-author-name {
    font-weight: bold;
    margin-bottom: 5px;
	text-align:right;
}

.review-date {
    font-size: 12px;
    color: #888;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
}





/* تصميم مخصص لبطاقات الخدمات */
.custom-service-section {
    text-align: right;
    direction: rtl;
}

.custom-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* المسافة بين البطاقات */
}

.custom-service-item {
  flex: 1 1 calc(33.333% - 20px); /* عرض الخدمة 33.333% من الصف */
  box-sizing: border-box;
  margin-bottom: 20px;
  z-index:8;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .custom-service-item {
    flex: 1 1 calc(50% - 20px); /* عرض الخدمة 50% من الصف للشاشات الأصغر */
  }
}

@media (max-width: 480px) {
  .custom-service-item {
    flex: 1 1 100%; /* عرض الخدمة 100% من الصف للشاشات الصغيرة جدًا */
    margin-bottom: 15px;
  }
}


.custom-service-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    z-index: 10; /* زيادة z-index هنا */
}

.custom-service-card:hover {
    transform: translateY(-5px); /* تحريك البطاقة عند التمرير فوقها */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* تأثير الظل عند التمرير */
}

.custom-service-image-container {
	width: 100%;
    aspect-ratio: 4 / 3; /* الحفاظ على نسبة أبعاد الصورة */
    overflow: hidden; /* إخفاء أي جزء زائد من الصورة */
    position: relative;
}

.custom-service-image {
	width: 100%; /* عرض الصورة بالكامل داخل الحاوية */
    height: 100%; /* ارتفاع الصورة بالكامل داخل الحاوية */
    object-fit: cover; /* اقتصاص الصورة لتناسب الإطار */
    transition: transform 0.3s ease; /* تأثير عند التفاعل */
    z-index: 1; /* تأكيد أن الصورة في الأسفل */
}

.custom-service-image-container:hover .custom-service-image {
    transform: scale(1.05); /* تكبير الصورة عند التمرير */
}

.custom-service-amount {
    position: absolute;
    top: 0;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 9px;
    border-radius: 0 0 5px 0;
    font-size: 14px;
    z-index: 15; /* زيادة z-index هنا */
}

.custom-service-card-body {
    padding: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
	z-index:8;
	
}

.custom-service-title {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.custom-service-title:hover {
    color: #ff0; /* تغيير لون العنوان عند التمرير */
}


    


