@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slideDown {
    animation: slideDown 0.3s ease-out;
}

@media (max-width: 768px) {
    #mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
}

/* تحسينات للأيقونات */
.fas {
    font-size: 1.1em;
    vertical-align: middle;
}

/* تحسينات للقائمة المتنقلة */
#mobile-menu a {
    transition: all 0.3s ease;
}

#mobile-menu a:hover {
    transform: translateX(-5px);
}

/* تحسينات للزر المتنقل */
#menu-btn {
    transition: transform 0.3s ease;
}

#menu-btn:hover {
    transform: scale(1.1);
}

/* تحسينات للتركيز */
:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* TEST */
.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: none !important;
}

nav.bg-white-900.shadow-lg.sticky.top-0.z-50 {
    background-color: rgb(255, 255, 255) !important;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* لون الخلفية */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  #loader .loader-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: pulse 1.5s infinite;
  }
  
  /* تأثير النبض */
  @keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  /* إخفاء اللودر */
  #loader.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  #stars i {
    transition: color 0.3s;
  }

  #stars i.selected, 
  #stars i.hovered {
    color: #facc15; /* أصفر ذهبي */
  }

/* Promotional Box Styling */
.promo-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    width: 90%;
    max-width: 400px;
    text-align: center;
    display: none; /* Hidden by default */
  }
  
  .promo-content {
    position: relative;
  }
  
  .close-button {
    position: absolute;
    top: -27px;
    left: -10px;
    font-size: 25px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-weight: bold;
  }
  
  .promo-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(17, 24, 39, var(--tw-bg-opacity)); /* WhatsApp Green */
    margin-bottom: 10px;
  }
  
  .promo-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .promo-button {
    display: inline-block;
    background-color: rgba(17, 24, 39, var(--tw-bg-opacity)); /* WhatsApp Green */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }
  
  .promo-button:hover {
    background-color: rgba(17, 24, 39, var(--tw-bg-opacity)); /* Darker Green */
  }
  
  /* Responsive styling for small screens */
  @media (max-width: 600px) {
    .promo-title {
      font-size: 1.3rem;
    }
  
    .promo-description {
      font-size: 1rem;
    }
  
    .promo-button {
      font-size: 14px;
      padding: 10px 20px;
    }
  }
  
  img.w-full.h-32.object-cover.mb-4 {
    height: 250px;
  }
.justify-between {
  justify-content: space-between !important;
  align-self: center;
}

  /* Animation for promo box */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
  }