.phone-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

@font-face {
  font-family: 'lg';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/lightgallery/2.8.3/fonts/lg.woff2?io9a6k') format('woff2'),
        url('https://cdnjs.cloudflare.com/ajax/libs/lightgallery/2.8.3/fonts/lg.woff') format('woff'),
        url('https://cdnjs.cloudflare.com/ajax/libs/lightgallery/2.8.3/fonts/lg.ttf?io9a6k') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.animation{
  transition: all 0.5s ease;
}
html {
    scroll-behavior: smooth;
}
section , .about-area , .product-area , .emergency-area, .testimonials-area,.product-slider-area{
    scroll-margin-top: 100px; 
}

/* الكارد */
.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* الصورة */
.product-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-item:hover img {
    transform: scale(1.15);
}

    .testimonials-bg {
    position: relative;
    background-image: url("assets/img/testimonials/testimonials-img.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay */
.testimonials-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.testimonials-bg .container {
    position: relative;
    z-index: 2;
}
.trust-rating {
    position: relative;
    z-index: 2;
    /* text-align: center; */
    margin-top: 50px;
    color: #fff;
}

.trust-rating h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.trust-rating .stars {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.trust-rating .stars i {
    color: #fbbc05;
    font-size: 18px;
}

.trust-rating .stars span {
    margin-left: 10px;
    font-weight: 500;
}

.trust-rating p {
    font-size: 14px;
    opacity: 0.85;
}

.avatar-fayy{
    width: 50px;
    margin-right: 10px;
}


.testimonials-stars{
    font-size: 18px !important;
    color: #fbbc05 !important;

}
.testimonials-slider .testimonials-item .content img{
    width: 30px !important;
}


/* تنسيق الحرف ليحل محل الصورة */
.avatar-letter {
    width: 30px; /* تأكد أن المقاس مطابق لمقاس صور التقييمات عندك */
    height: 30px;
    background-color: #007bff; /* لون الخلفية */
    color: white;
    display: none; /* مخفي افتراضياً */
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    margin: 0 auto 15px; /* لتوسيطه فوق الاسم */
}

.emergency-content .prescription-btn {
    margin-top: 10px;
    padding: 14px 27px;
    background-color: #1FA2FF;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.emergency-shape img {
    max-width: 1008px !important;
}
 /* MeanMenu closing animation */
.mean-nav {
  transition: opacity 0.15s ease;
}

.mean-nav.fading {
  opacity: 0.85;
}

[dir="rtl"] .lg-container {
    direction: ltr !important;
}

[dir="rtl"] .lg-outer {
    text-align: left;
}