body {
    font-family: "Cairo", sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    text-align: center;
}

/* 🧊 قسم الصورة العلوية */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* ارتفاع كامل الشاشة */
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.hero-text {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #a8eaff;
    text-shadow: 0 0 10px #a8eaff, 0 0 20px #e0f7ff;
    font-family: "Orbitron", sans-serif;
}

.hero-counters {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.circle-counter {
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid rgba(168, 234, 255, 0.4);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(168, 234, 255, 0.4);

  /* ✅ دعم لجميع المتصفحات */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}


.circle-number {
  font-size: 1.8rem;
  color: #a8eaff;
  font-weight: bold;
  text-shadow: 0 0 8px #a8eaff;
}

.circle-label {
  font-size: 0.8rem;
  margin-top: 8px;
  color: #e0f7ff;
  text-align: center;
  line-height: 1.2;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin: 0;
}

.hero-text p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #e0f7ff;
}

/* 🧊 حركة ظهور النص أسفل الخط */
@keyframes subTextGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 260px; /* نفس عرض الخط */
        opacity: 1;
    }
}

/* ✍️ تأثير الكتابة للحروف */
@keyframes typing {
    from { width: 0; }
    to { width: 260px; } /* عرض الاسم الكامل */
}

/* 💡 وميض المؤشر */
@keyframes blink {
    50% { border-color: transparent; }
}

/* 🧊 تمدد الخط بنفس التزامن */
@keyframes lineGrow {
    from { width: 0; }
    to { width: 260px; }
}

/* ✨ لمعان متحرك على النص */
@keyframes shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* 🧮 قسم العداد */
.counter-section {
    margin-top: 60px;
    text-align: center;
}

.counter-section h3 {
    font-size: 1.8rem;
    color: #0078d7;
    margin-bottom: 10px;
}

.counter {
    font-family: "Orbitron", sans-serif;
    font-size: 4rem;
    font-weight: bold;
    color: #a8eaff;
    text-shadow: 0 0 10px #a8eaff, 0 0 20px #e0f7ff;
    transition: color 0.3s ease;
}

.counter-label {
    font-size: 1.2rem;
    color: #0078d7;
    margin-top: 5px;
}

/* 💬 زر واتساب متحرك */
.whatsapp-float {
    position: fixed;
    bottom: 80px; /* المسافة من أسفل */
    right: 25px;  /* المسافة من اليمين */
    z-index: 2000;
    animation: floaty 3s ease-in-out infinite; /* حركة لطيفة مستمرة */
}

.whatsapp-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* عند المرور عليه بالماوس */
.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
}

/* ✨ حركة مستمرة لأعلى وأسفل */
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ❄️ شاشة العرض المبدئية بخلفية خلايا نحل ذهبية */
#intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, #0b0b0b 0%, #000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  overflow: hidden;
  animation: introFadeOut 1.5s ease 7s forwards;
}

/* 🐝 خلايا نحل ذهبية متحركة */
#intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 215, 0, 0.25) 1px, transparent 1px),
    radial-gradient(circle at 20px 20px, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  animation: honeyFlowIntro 12s linear infinite;
  z-index: 0;
}

/* ✨ توهج ذهبي متدرج */
#intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.1), transparent 40%, rgba(255, 215, 0, 0.08));
  opacity: 0.7;
  animation: goldGlowIntro 8s ease-in-out infinite alternate;
  z-index: 0;
}

/* ✅ محتوى الانترو فوق الخلفية */
.intro-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  z-index: 2;
}

/* 🧊 الصورة */
.cooling-image {
  width: 300px;
  opacity: 0;
  margin-left: 40px;
  transform: translateX(-50px);
  animation: fadeInLeft 1.2s ease 0.5s forwards, scaleUp 2s ease 0.5s forwards;
}

/* الخط العمودي */
.intro-line {
  width: 6px;
  height: 0;
  background-color: white;
  border-radius: 3px;
  animation: lineGrowVertical 1s ease 1.2s forwards;
}

/* ✍️ النص */
.intro-text {
  text-align: left;
  position: relative;
  z-index: 2;
}

/* 💬 تأثير النص */
#intro-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3.8rem;
  background: linear-gradient(90deg, #ffd700, #fff5cc, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 0 10px 0;
  opacity: 0;
}

#intro-sub {
  color: #f5eac0;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: subDrop 1s ease 3.2s forwards;
}

/* 🧬 الأنيميشن الذهبي */
@keyframes honeyFlowIntro {
  from { background-position: 0 0, 0 0; }
  to { background-position: 80px 80px, 80px 80px; }
}

@keyframes goldGlowIntro {
  0% { opacity: 0.4; }
  100% { opacity: 0.8; }
}

@keyframes scaleUp {
  from { transform: translateX(-50px) scale(0.9); }
  to { transform: translateX(0) scale(1.1); }
}

/* الحركات */
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lineGrowVertical {
  from { height: 0; }
  to { height: 150px; }
}

@keyframes subDrop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ❄️ قسم من نحن بخلفية خلايا نحل ذهبية فخمة متصلة */
.about-section {
  position: relative;
  background: radial-gradient(circle at top left, #111 0%, #000 100%);
  color: #e0f7ff;
  padding: 120px 25px;
  text-align: center;
  font-family: "Cairo", sans-serif;
  overflow: hidden;
}

/* 🐝 خلايا النحل الذهبية المتحركة */
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 215, 0, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 20px 20px, rgba(255, 215, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  animation: honeyFlow 10s linear infinite;
  z-index: 0;
}

/* ✨ توهج ذهبي ناعم متدرج */
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.1), transparent 40%, rgba(255, 215, 0, 0.05));
  opacity: 0.6;
  animation: goldGlow 7s ease-in-out infinite alternate;
  z-index: 0;
}

/* 📜 المحتوى */
.about-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.25rem;
  text-align: justify;
  color: #d0e8f2;
  background: rgba(40, 40, 40, 0.7);
  padding: 50px 35px;
  border-radius: 22px;
  box-shadow: 0 0 25px rgba(168, 234, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  line-height: 2.1;
}

/* ✨ العنوان */
.about-section h2 {
  position: relative;
  z-index: 2;
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
  margin-bottom: 50px;
}

/* ✨ العداد داخل من نحن */
.counter-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  text-align: center;
  background: rgba(20, 20, 20, 0.6);
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.counter-wrapper h3 {
  font-size: 2.2rem;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  margin-bottom: 25px;
}

.counter {
  font-family: "Orbitron", sans-serif;
  font-size: 5rem;
  font-weight: bold;
  color: #a8eaff;
  text-shadow: 0 0 20px #a8eaff, 0 0 40px #00bfff;
  margin: 20px 0;
}

.counter-label {
  font-size: 1.3rem;
  color: #ffd700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ✨ حركات الخلايا الذهبية */
@keyframes honeyFlow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 80px 80px, 80px 80px; }
}

@keyframes goldGlow {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

/* ✨ دمج خلفية "تواصل معنا" مع "من نحن" لتصبح خلفية واحدة */
.contact-container {
  position: relative;
  background: radial-gradient(circle at top left, #111 0%, #000 100%);
  color: #ffd700;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
  border-top: 2px solid rgba(255, 215, 0, 0.2); /* خط فاصل ذهبي ناعم */
}

.contact-container h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(40, 40, 40, 0.75);
  padding: 50px 40px;
  border-radius: 22px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* صفوف الحقول */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  transition: all 0.3s ease;
  width: 100%;
}

/* تحسين النص في textarea */
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* عند التركيز على أي حقل */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  outline: none;
  background: rgba(0, 0, 0, 0.7);
}

/* الزر */
.contact-form button {
  background: linear-gradient(90deg, #ffd700, #d4af37);
  border: none;
  padding: 14px 40px;
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* نفس خلايا النحل المتحركة الخاصة بمن نحن */
.contact-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 215, 0, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 20px 20px, rgba(255, 215, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  animation: honeyFlow 10s linear infinite;
  z-index: 0;
}

/* نفس تأثير التوهج الذهبي المتدرج */
.contact-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.1), transparent 40%, rgba(255, 215, 0, 0.05));
  opacity: 0.6;
  animation: goldGlow 7s ease-in-out infinite alternate;
  z-index: 0;
}

/* يبقي محتوى تواصل معنا فوق الخلفية */
.contact-container * {
  position: relative;
  z-index: 2;
}

@keyframes honeyFlow {
  from { background-position: 0 0; }
  to { background-position: 80px 80px; }
}

/* ⚡ Placeholder يختفي عند التركيز */
textarea::placeholder,
input::placeholder {
  color: #aaa;
  transition: opacity 0.3s ease;
}

textarea:focus::placeholder,
input:focus::placeholder {
  opacity: 0;
}
/* 🔒 لإخفاء التسميات المرئية ولكن إبقائها لقارئات الشاشة */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* 📱 استجابة شاملة لكافة أقسام الموقع للهواتف */
@media (max-width: 768px) {
  body {
    font-size: 90%;
    text-align: center;
  }

  .hero-section {
    height: 80vh;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .circle-counter {
  width: 90px;
  height: 90px;
}

.counter-number {
  font-size: 1.4rem;
}

.counter-label {
  font-size: 0.7rem;
}



  .hero-counters {
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

  .cooling-image {
    width: 180px;
    margin-left: 0;
  }

  .intro-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }

  #intro-title {
    font-size: 2.2rem;
    text-align: center;
  }

  #intro-sub {
    font-size: 1rem;
    text-align: center;
  }

  .about-section {
    padding: 60px 15px;
  }

  .about-section h2 {
    font-size: 2.2rem;
  }

  .about-content {
    padding: 30px 20px;
    font-size: 1rem;
  }

  .counter {
    font-size: 3rem;
  }

  .contact-container {
    padding: 60px 15px;
  }

  .contact-container h3 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .contact-form button {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }

  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }

  footer p {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* 🧊 قسم المنتجات */
.services-section {
  position: relative;
  background: radial-gradient(circle at top left, #111 0%, #000 100%);
  color: #e0f7ff;
  padding: 100px 25px;
  text-align: center;
  overflow: hidden;
}

.services-section::before,
.services-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 215, 0, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 20px 20px, rgba(255, 215, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  animation: honeyFlow 10s linear infinite;
  z-index: 0;
}

.services-section::after {
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.1), transparent 40%, rgba(255, 215, 0, 0.05));
  opacity: 0.6;
  animation: goldGlow 7s ease-in-out infinite alternate;
}

.services-section h2 {
  position: relative;
  z-index: 2;
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
  margin-bottom: 60px;
  text-align: center;
}

/* ⚡ شبكة البطاقات */
.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 🧊 البطاقة */
.service-card {
  background: rgba(40, 40, 40, 0.75);
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.35);
}

/* ✨ الشكل السداسي الاحترافي */
.hex-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hex-shape {
  width: 110px;
  height: 63px;
  background: linear-gradient(135deg, #ffd700, #fff5cc, #d4af37);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition: transform 0.4s ease;
}

.hex-shape span {
  font-size: 2rem;
  color: #000;
  text-shadow: 0 0 5px #fff;
}

.service-card:hover .hex-shape {
  transform: scale(1.15) rotate(5deg);
}

/* 📝 العنوان والوصف */
.service-card h3 {
  color: #ffd700;
  font-size: 1.4rem;
  margin: 15px 0 10px;
  text-align: center;
}

.service-card p {
  color: #cdefff;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  margin: 0;
}

/* 📱 استجابة */
@media (max-width: 768px) {
  .hex-shape {
    width: 90px;
    height: 52px;
  }

  .service-card {
    padding: 30px 15px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }
}

/* 🖼️ نافذة الصور */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 4000;
  justify-content: center;
  align-items: center;
}

.gallery-content {
  position: relative;
  max-width: 80%;
  width: 800px;
  perspective: 1000px;
}

.gallery-images {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-images img {
  max-width: 80%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}




.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 215, 0, 0.7);
  color: #000;
  font-size: 2rem;
  padding: 8px 15px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
}

.gallery-nav.prev { left: -60px; }
.gallery-nav.next { right: -60px; }

.close-gallery {
  position: absolute;
  top: -50px;
  right: -50px;
  font-size: 3rem;
  color: #ffd700;
  cursor: pointer;
  background: rgba(0,0,0,0.6);
  padding: 10px;
  border-radius: 50%;
}

/* 🌐 الشريط الجانبي الشفاف */
.side-menu {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50px;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(8px); /* ✅ أولاً النسخة المسبوقة */
  backdrop-filter: blur(8px);         /* ✅ بعدها النسخة العادية */
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: width 0.4s cubic-bezier(0.25, 1.5, 0.5, 1);
  overflow: hidden;
  z-index: 2500;
  border: 1px solid rgba(255, 215, 0, 0.3);
}


.side-menu:hover {
  width: 180px; /* العرض عند التمدد */
}

.side-menu ul {
  list-style: none;
  margin: 0;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.side-menu li {
  width: 100%;
}

/* الروابط */
.side-menu a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  color: #ffd700;
  font-family: "Cairo", sans-serif;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* إخفاء النص افتراضيًا */
.side-menu a span {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* عند تمرير المؤشر تظهر الكتابة */
.side-menu:hover a span {
  opacity: 1;
  transform: translateX(0);
}

/* تأثير عند المرور على الرابط */
.side-menu a:hover {
  background: rgba(255, 215, 0, 0.15);
  transform: translateX(5px);
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* 🌐 شريط اختيار اللغة */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    font-family: "Cairo", sans-serif;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: rgba(40, 40, 40, 0.8);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.language-btn:hover {
    background: rgba(60, 60, 60, 0.9);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .arrow {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(40, 40, 40, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    margin-top: 5px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.language-dropdown.active .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
    color: #e0f7ff;
}

.language-option:hover {
    background: rgba(255, 215, 0, 0.1);
}

.language-option:first-child {
    border-radius: 10px 10px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 10px 10px;
}

.flag {
    font-size: 1.2rem;
}

.lang-text {
    font-size: 0.9rem;
}

/* استجابة شريط اللغة للهواتف */
@media (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .language-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .language-options {
        min-width: 130px;
    }
}

/* 🌐 تحسينات للترجمة متعددة اللغات */

/* تحسين الدوائر للغات المختلفة */
.circle-counter {
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid rgba(168, 234, 255, 0.4);
  border-radius: 50%;
  width: 140px; /* زيادة العرض */
  height: 140px; /* زيادة الارتفاع */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(168, 234, 255, 0.4);
  padding: 10px; /* إضافة padding داخلي */
  text-align: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.counter-number {
  font-size: 1.8rem;
  color: #a8eaff;
  font-weight: bold;
  text-shadow: 0 0 8px #a8eaff;
  margin-bottom: 5px;
}

.counter-label {
  font-size: 0.75rem; /* تصغير الخط قليلاً */
  color: #e0f7ff;
  text-align: center;
  line-height: 1.2;
  max-width: 90%; /* منع النص من الخروج */
  word-wrap: break-word; /* كسر الكلمات الطويلة */
}

/* تحسينات للغة الإنجليزية والألمانية */
[lang="en"] .counter-label,
[lang="de"] .counter-label {
  font-size: 0.7rem; /* خط أصغر للغات الأجنبية */
  line-height: 1.1;
}

/* تحسينات خاصة للغة الألمانية (الكلمات الطويلة) */
[lang="de"] .counter-label {
  font-size: 0.65rem;
  line-height: 1.1;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
  .circle-counter {
    width: 110px;
    height: 110px;
  }
  
  .counter-number {
    font-size: 1.4rem;
  }
  
  .counter-label {
    font-size: 0.65rem;
  }
  
  [lang="en"] .counter-label,
  [lang="de"] .counter-label {
    font-size: 0.6rem;
  }
  
  [lang="de"] .counter-label {
    font-size: 0.55rem;
  }
}

/* تحسينات إضافية للترجمة */

/* تحسين البطاقات للغات المختلفة */
.service-card h3 {
  color: #ffd700;
  font-size: 1.4rem;
  margin: 15px 0 10px;
  text-align: center;
  min-height: 60px; /* ارتفاع ثابت للعناوين */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  color: #cdefff;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  margin: 0;
  min-height: 80px; /* ارتفاع ثابت للوصف */
  display: flex;
  align-items: center;
}

/* تحسينات للغة الإنجليزية */
[lang="en"] .service-card h3 {
  font-size: 1.3rem;
  min-height: 70px;
}

[lang="en"] .service-card p {
  font-size: 0.95rem;
  min-height: 90px;
}

/* تحسينات للغة الألمانية */
[lang="de"] .service-card h3 {
  font-size: 1.2rem;
  min-height: 80px;
}

[lang="de"] .service-card p {
  font-size: 0.9rem;
  min-height: 100px;
  line-height: 1.6;
}

/* تحسين النصوص الطويلة في قسم "من نحن" */
.about-content p {
  text-align: justify;
  margin-bottom: 20px;
  line-height: 1.8;
}

[lang="en"] .about-content p {
  line-height: 1.7;
}

[lang="de"] .about-content p {
  line-height: 1.6;
  text-align: left; /* محاذاة لليسار للغة الألمانية */
}

/* تحسين النموذج للغات المختلفة */
.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit; /* استخدام الخط الافتراضي للغة */
}

/* تحسينات للغة العربية */
[lang="ar"] {
  font-family: "Cairo", sans-serif;
}

/* تحسينات للغة الإنجليزية */
[lang="en"] {
  font-family: "Orbitron", "Arial", sans-serif;
}

/* تحسينات للغة الألمانية */
[lang="de"] {
  font-family: "Orbitron", "Arial", sans-serif;
}

/* تحسين القائمة الجانبية للغات المختلفة */
.side-menu a span {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap; /* منع كسر النص */
}

[lang="en"] .side-menu a span,
[lang="de"] .side-menu a span {
  font-size: 0.9rem; /* خط أصغر للغات الأجنبية */
}

/* تحسين العنوان الرئيسي */
.hero-text h1 {
  font-size: 3.5rem;
  margin: 0;
  word-wrap: break-word; /* منع الخروج في الشاشات الصغيرة */
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .service-card h3 {
    min-height: 50px;
    font-size: 1.2rem;
  }
  
  .service-card p {
    min-height: 70px;
    font-size: 0.9rem;
  }
  
  [lang="en"] .service-card h3 {
    min-height: 60px;
    font-size: 1.1rem;
  }
  
  [lang="en"] .service-card p {
    min-height: 80px;
    font-size: 0.85rem;
  }
  
  [lang="de"] .service-card h3 {
    min-height: 70px;
    font-size: 1rem;
  }
  
  [lang="de"] .service-card p {
    min-height: 90px;
    font-size: 0.8rem;
  }
}


/* 🌍 تحسينات قائمة البلدان المترجمة */
#country {
    text-align: right;
    font-family: inherit;
}

[lang="ar"] #country {
    text-align: right;
}

[lang="en"] #country,
[lang="de"] #country {
    text-align: left;
}

/* تحسين عرض النص الطويل في البلدان */
#country option {
    padding: 8px 12px;
    font-size: 0.95rem;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    #country {
        font-size: 0.9rem;
    }
    
    #country option {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* 🌍 إخفاء حقل "دولة أخرى" افتراضياً */
.other-country-input {
    display: none;
}

/* 🌍 تحسينات حقل "دولة أخرى" */
.country-container {
    position: relative;
    width: 100%;
}

.other-country-input.visible {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: inherit;
}

.other-country-input.visible:focus {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    outline: none;
    background: rgba(0, 0, 0, 0.7);
}

.other-country-input.visible::placeholder {
    color: #aaa;
    transition: opacity 0.3s ease;
}

.other-country-input.visible:focus::placeholder {
    opacity: 0;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .other-country-input.visible {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}

/* تحسينات للغة العربية */
[lang="ar"] .other-country-input.visible {
    text-align: right;
}

[lang="en"] .other-country-input.visible,
[lang="de"] .other-country-input.visible {
    text-align: left;
}


/* 🌍 تحسينات اتجاه النص للغات المختلفة */

/* اتجاه النص للغة العربية */
[lang="ar"] {
    direction: rtl;
    text-align: right;
}

[lang="ar"] .about-content,
[lang="ar"] .service-card,
[lang="ar"] .contact-form {
    text-align: right;
}

[lang="ar"] .form-row {
    flex-direction: row-reverse;
}

[lang="ar"] .intro-content {
    flex-direction: row;
}

[lang="ar"] .intro-text {
    text-align: right;
}

[lang="ar"] .hero-text {
    text-align: center;
}

/* اتجاه النص للغات الإنجليزية والألمانية */
[lang="en"],
[lang="de"] {
    direction: ltr;
    text-align: left;
}

[lang="en"] .about-content,
[lang="de"] .about-content,
[lang="en"] .service-card,
[lang="de"] .service-card,
[lang="en"] .contact-form,
[lang="de"] .contact-form {
    text-align: left;
}

[lang="en"] .form-row,
[lang="de"] .form-row {
    flex-direction: row;
}

[lang="en"] .intro-content,
[lang="de"] .intro-content {
    flex-direction: row;
}

[lang="en"] .intro-text,
[lang="de"] .intro-text {
    text-align: left;
}

[lang="en"] .hero-text,
[lang="de"] .hero-text {
    text-align: center;
}

/* تحسينات القائمة الجانبية للغات المختلفة */
[lang="ar"] .side-menu {
    left: 0;
    right: auto;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

[lang="en"] .side-menu,
[lang="de"] .side-menu {
    left: auto;
    right: 0;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

[lang="ar"] .side-menu a span {
    transform: translateX(-10px);
}

[lang="en"] .side-menu a span,
[lang="de"] .side-menu a span {
    transform: translateX(10px);
}

[lang="ar"] .side-menu:hover a span {
    transform: translateX(0);
}

[lang="en"] .side-menu:hover a span,
[lang="de"] .side-menu:hover a span {
    transform: translateX(0);
}

[lang="ar"] .side-menu a:hover {
    transform: translateX(5px);
}

[lang="en"] .side-menu a:hover,
[lang="de"] .side-menu a:hover {
    transform: translateX(-5px);
}

/* تحسينات شريط اللغة */
[lang="ar"] .language-switcher {
    right: 20px;
    left: auto;
}

[lang="en"] .language-switcher,
[lang="de"] .language-switcher {
    right: auto;
    left: 20px;
}

[lang="ar"] .language-options {
    right: 0;
    left: auto;
}

[lang="en"] .language-options,
[lang="de"] .language-options {
    right: auto;
    left: 0;
}

/* تحسينات النموذج */
[lang="ar"] .contact-form input,
[lang="ar"] .contact-form select,
[lang="ar"] .contact-form textarea {
    text-align: right;
}

[lang="en"] .contact-form input,
[lang="en"] .contact-form select,
[lang="en"] .contact-form textarea,
[lang="de"] .contact-form input,
[lang="de"] .contact-form select,
[lang="de"] .contact-form textarea {
    text-align: left;
}

[lang="ar"] textarea::placeholder,
[lang="ar"] input::placeholder {
    text-align: right;
}

[lang="en"] textarea::placeholder,
[lang="en"] input::placeholder,
[lang="de"] textarea::placeholder,
[lang="de"] input::placeholder {
    text-align: left;
}

/* تحسينات الاستجابة للهواتف */
@media (max-width: 768px) {
    [lang="ar"] .intro-content,
    [lang="en"] .intro-content,
    [lang="de"] .intro-content {
        flex-direction: column;
        align-items: center;
    }
    
    [lang="ar"] .intro-text,
    [lang="en"] .intro-text,
    [lang="de"] .intro-text {
        text-align: center;
    }
    
    [lang="ar"] .form-row,
    [lang="en"] .form-row,
    [lang="de"] .form-row {
        flex-direction: column;
    }
}

/* 🌍 زر إرسال الاستفسار في المنتصف */
.contact-form button[type="submit"] {
    display: block;
    margin: 30px auto 0 auto;
    width: auto;
    min-width: 200px;
    text-align: center;
    justify-content: center;
}

/* تحسينات إضافية للزر */
.contact-form button {
    background: linear-gradient(90deg, #ffd700, #d4af37);
    border: none;
    padding: 14px 40px;
    font-size: 1.2rem;
    color: #000;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* التأكد من أن الزر في المنتصف */
    margin-left: auto;
    margin-right: auto;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .contact-form button[type="submit"] {
        width: 100%;
        max-width: 300px;
    }
}

/* 🌍 تحسينات اتجاه النص لقسم "من نحن" */

/* للغة العربية */
[lang="ar"] .about-content {
    direction: rtl;
    text-align: right;
}

[lang="ar"] .about-content p {
    text-align: justify;
    text-align-last: right;
}

[lang="ar"] .about-content strong {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* للغات الإنجليزية والألمانية */
[lang="en"] .about-content,
[lang="de"] .about-content {
    direction: ltr;
    text-align: left;
}

[lang="en"] .about-content p,
[lang="de"] .about-content p {
    text-align: justify;
    text-align-last: left;
}

[lang="en"] .about-content strong,
[lang="de"] .about-content strong {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* تحسينات العنوان "من نحن" */
[lang="ar"] .about-section h2 {
    text-align: center;
}

[lang="en"] .about-section h2,
[lang="de"] .about-section h2 {
    text-align: center;
}

/* 🌍 تحسينات حقل الرسالة ليكون بنفس عرض حقل البلد */
.contact-form textarea {
    width: 100%;
    min-height: 160px;
    resize: vertical;
    /* نفس خصائص الحقول الأخرى */
    padding: 14px 18px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box; /* مهم لاحتساب padding ضمن العرض */
}

/* تحسينات خاصة للاستجابة */
@media (max-width: 768px) {
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
        min-height: 140px;
    }
}

/* 🌍 إصلاح نهائي لأسهم المعرض - تبقى ثابتة في جميع اللغات */

/* إعادة تعيين كامل للمعرض ليكون LTR دائماً */
.gallery-modal,
.gallery-content,
.gallery-slider,
.gallery-images {
    direction: ltr !important;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.7);
    color: #000;
    font-size: 2rem;
    padding: 8px 15px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    z-index: 4001;
}

/* السهم الأيسر دائماً على اليسار */
.gallery-nav.prev {
    left: -60px;
    right: auto;
}

/* السهم الأيمن دائماً على اليمين */
.gallery-nav.next {
    right: -60px;
    left: auto;
}

/* زر الإغلاق دائماً على اليمين */
.close-gallery {
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 3rem;
    color: #ffd700;
    cursor: pointer;
    background: rgba(0,0,0,0.6);
    padding: 10px;
    border-radius: 50%;
    z-index: 4001;
    left: auto;
}

/* منع أي تأثير للغة العربية على المعرض */
[lang="ar"] .gallery-modal,
[lang="ar"] .gallery-content,
[lang="ar"] .gallery-slider,
[lang="ar"] .gallery-images {
    direction: ltr !important;
}

[lang="ar"] .gallery-nav.prev {
    left: -60px !important;
    right: auto !important;
}

[lang="ar"] .gallery-nav.next {
    right: -60px !important;
    left: auto !important;
}

[lang="ar"] .close-gallery {
    right: -50px !important;
    left: auto !important;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .gallery-nav.prev {
        left: 10px !important;
    }
    
    .gallery-nav.next {
        right: 10px !important;
    }
    
    .close-gallery {
        right: 10px !important;
        top: 10px;
        font-size: 2.5rem;
        padding: 8px;
    }
}


/* 💬 قسم التعليقات */
.reviews-section {
  background: radial-gradient(circle at top left, #111 0%, #000 100%);
  padding: 100px 25px;
  color: #e0f7ff;
  position: relative;
  overflow: hidden;
}

.reviews-section h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.8rem;
  color: #ffd700;
  text-align: center;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  margin-bottom: 40px;
}

/* 📝 نموذج التعليق */
.review-form {
  max-width: 800px;
  margin: 0 auto 50px auto;
  background: rgba(40, 40, 40, 0.75);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.review-form textarea {
  width: 100%;
  min-height: 120px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #fff;
  border-radius: 10px;
  padding: 12px;
}

.star-rating {
  display: flex;
  justify-content: flex-end;
  direction: rtl; /* للنجوم من اليمين لليسار */
  font-size: 2rem;
  margin-bottom: 15px;
}

.star-rating span {
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

.star-rating span.active,
.star-rating span:hover,
.star-rating span:hover ~ span {
  color: #ffd700;
}

.review-form button {
  background: linear-gradient(90deg, #ffd700, #d4af37);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* 📜 التعليقات */
.reviews-list {
  max-width: 900px;
  margin: 0 auto;
}

.review-item {
  background: rgba(40, 40, 40, 0.7);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-name {
  font-weight: bold;
  color: #ffd700;
}

.review-stars {
  color: #ffd700;
}

.review-text {
  margin-bottom: 10px;
  color: #e0f7ff;
}

/* 🌐 أزرار التفاعل */
.review-actions {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  color: #ccc;
  cursor: pointer;
}

.review-actions span:hover {
  color: #ffd700;
}

.reply-section {
  margin-top: 15px;
  margin-left: 20px;
  border-left: 2px solid rgba(255, 215, 0, 0.3);
  padding-left: 15px;
}

.reply-item {
  margin-top: 10px;
  color: #cdefff;
  font-size: 0.95rem;
}

/* 📱 استجابة */
@media (max-width: 768px) {
  .star-rating {
    font-size: 1.5rem;
  }
}

/* 🧍‍♂️ تحسين مظهر حقول الاسم والبريد الإلكتروني */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input {
  flex: 1;
  padding: 14px 12px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.form-row input::placeholder {
  color: #bbb;
}

.form-row input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  background: rgba(0, 0, 0, 0.7);
}

/* 🪄 تأثير عند تعبئة الحقل */
.form-row input:valid {
  border-color: #00e1ff;
  box-shadow: 0 0 8px rgba(0, 225, 255, 0.5);
}

/* ✍️ دعم للأجهزة الصغيرة */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* 📝 اجعل مربع التعليق بعرض صف الحقول بالكامل */
.review-form textarea {
  width: 100%;
  box-sizing: border-box; /* ضروري لتفادي مشاكل الحواف */
  margin-top: 10px;
  padding: 14px 12px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  color: #fff;
  outline: none;
  resize: vertical; /* يسمح بتغيير الحجم عمودياً فقط */
  min-height: 120px;
  transition: all 0.3s ease;
}

.review-form textarea:focus {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  background: rgba(0, 0, 0, 0.7);
}

.review-item, .reply-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 10px;
  margin-top: 10px;
}

.reply-item {
  margin-left: 25px;
  border-left: 2px solid #ffd700;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.review-actions span {
  margin-right: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #ccc;
  transition: color 0.2s;
}

.review-actions span:hover {
  color: #ffd700;
}

.reply-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reply-form input, .reply-form textarea {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #999;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.reply-form button {
  align-self: flex-end;
  background: #ffd700;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.toast-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.toast-message.show {
  opacity: 1;
}

/* 📊 ملخص التقييمات */
.reviews-summary {
  max-width: 800px;
  margin: 0 auto 40px auto;
  background: rgba(40, 40, 40, 0.75);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
}

.average-rating {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 5px;
}

.rating-count {
  color: #cdefff;
  margin-bottom: 20px;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #e0f7ff;
}

.rating-bar .bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.rating-bar .bar .fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #d4af37);
  width: 0%;
  transition: width 0.5s ease;
}

.rating-bar span:last-child {
  min-width: 25px;
  text-align: right;
  color: #ffd700;
}

/* استجابة للهواتف */
@media (max-width: 600px) {
  .average-rating {
    font-size: 2rem;
  }
}

/* 🔧 جعل حقل رقم الهاتف مثل باقي الحقول تماماً */
input[type="tel"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  color: #fff;
  padding: 12px;
  transition: all 0.3s ease;
  box-shadow: none; /* ✅ إزالة الإشعاع الأزرق */
}

input[type="tel"]:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  background: rgba(0, 0, 0, 0.7);
}

/* 👨‍💻 قسم منشئ الموقع */
.developer-section {
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
  background: radial-gradient(circle at top left, #111 0%, #000 100%);
  color: #fff;
  text-align: center;
  font-family: "Cairo", sans-serif;
}

/* خلفية متحركة */
.developer-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,215,0,0.15), rgba(0,191,255,0.1), rgba(255,215,0,0.15));
  background-size: 300% 300%;
  animation: devBGMove 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes devBGMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.developer-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.developer-avatar img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  animation: floatAvatar 4s ease-in-out infinite;
}

@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.developer-info h2 {
  font-family: "Orbitron", sans-serif;
  color: #ffd700;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.developer-info h3 {
  font-size: 1.8rem;
  color: #a8eaff;
  margin-bottom: 15px;
}

.developer-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 10px 0;
  color: #e0f7ff;
}

.dev-contact {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.dev-link {
  display: inline-block;
  background: linear-gradient(90deg, #ffd700, #d4af37);
  color: #000;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dev-link:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* موبايل */
@media (max-width: 768px) {
  .developer-info h2 {
    font-size: 1.8rem;
  }
  .developer-info h3 {
    font-size: 1.4rem;
  }
  .developer-info p {
    font-size: 1rem;
  }
  .developer-avatar img {
    width: 140px;
    height: 140px;
  }
}

/* 👨‍💻 قسم منشئ الموقع بخلفية متحركة */
.developer-section {
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
  background: radial-gradient(circle at top left, #111 0%, #000 100%);
  color: #fff;
  text-align: center;
  font-family: "Cairo", sans-serif;
}

.developer-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,215,0,0.15), rgba(0,191,255,0.1), rgba(255,215,0,0.15));
  background-size: 300% 300%;
  animation: devBGMove 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes devBGMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.developer-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

/* 🤖 تصميم الروبوت */
.robot-container {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatAvatar 4s ease-in-out infinite;
}

@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.robot {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.antenna {
  width: 6px;
  height: 30px;
  background: #ffd700;
  border-radius: 3px;
  position: relative;
}

.antenna::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) scale(1.4); opacity: 0.6; }
}

.head {
  width: 120px;
  height: 80px;
  background: linear-gradient(145deg, #1c1c1c, #333);
  border: 3px solid #ffd700;
  border-radius: 20px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eyes {
  display: flex;
  gap: 20px;
}

.eye {
  width: 20px;
  height: 20px;
  background: #00e1ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e1ff;
  animation: blink 3s infinite;
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.2); }
}

.body {
  width: 100px;
  height: 120px;
  background: linear-gradient(145deg, #1c1c1c, #333);
  border: 3px solid #ffd700;
  border-radius: 20px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.panel {
  width: 60px;
  height: 40px;
  background: #00e1ff;
  border-radius: 8px;
  box-shadow: 0 0 15px #00e1ff inset, 0 0 10px #00e1ff;
  animation: panelBlink 2s infinite alternate;
}

@keyframes panelBlink {
  0% { opacity: 0.8; }
  100% { opacity: 0.3; }
}

/* 📝 النص */
.developer-info h2 {
  font-family: "Orbitron", sans-serif;
  color: #ffd700;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.developer-info h3 {
  font-size: 1.8rem;
  color: #a8eaff;
  margin-bottom: 15px;
}

.developer-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 10px 0;
  color: #e0f7ff;
}

/* روابط التواصل */
.dev-contact {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.dev-link {
  display: inline-block;
  background: linear-gradient(90deg, #ffd700, #d4af37);
  color: #000;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dev-link:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* موبايل */
@media (max-width: 768px) {
  .developer-info h2 {
    font-size: 1.8rem;
  }
  .developer-info h3 {
    font-size: 1.4rem;
  }
  .developer-info p {
    font-size: 1rem;
  }
  .robot-container {
    transform: scale(0.8);
  }
}

/* 🌐 أيقونات التواصل الاجتماعي للمصمم */
.social-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.4);
  position: relative;
}

.social-icon:hover {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  color: #000;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* تأثير Tooltip عند المرور */
.social-icon::after {
  content: attr(title);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #ffd700;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}


/* 📊 تحسينات قسم ملخص التقييمات */
.rating-count {
  color: #cdefff;
  margin-bottom: 20px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.rating-count span:first-child {
  font-weight: bold;
  color: #ffd700;
}

.rating-count span[data-translate="rating_count"] {
  color: #e0f7ff;
  font-weight: normal;
}

/* تحسينات للغات المختلفة */
[lang="ar"] .rating-count {
  direction: rtl;
}

[lang="en"] .rating-count,
[lang="de"] .rating-count {
  direction: ltr;
}

/* استجابة للهواتف */
@media (max-width: 600px) {
  .rating-count {
    font-size: 1rem;
    flex-direction: column;
    gap: 2px;
  }
}

/* 🟡 رسائل منبثقة */
.toast-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
    font-family: "Cairo", sans-serif;
}

.toast-message.show {
    opacity: 1;
}

/* 📝 نموذج الرد */
.reply-form {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: "Cairo", sans-serif;
}

.reply-form button {
    background: linear-gradient(90deg, #ffd700, #d4af37);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}

/* 🗑️ أزرار الحذف */
.delete-btn {
    color: #ff6b6b !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.delete-btn:hover {
    color: #ff4757 !important;
}

/* 📱 استجابة للهواتف */
@media (max-width: 768px) {
    .toast-message {
        right: 10px;
        left: 10px;
        text-align: center;
    }
    
    .reply-form {
        padding: 10px;
    }
}

/* 💬 تحسينات نظام التعليقات المتطور */

/* الردود المتداخلة */
.reply-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 10px;
    border-right: 3px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.reply-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reply-name {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.95rem;
}

.reply-text {
    color: #e0f7ff;
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* أزرار التفاعل مع الردود */
.reply-actions {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
}

.reply-actions span {
    cursor: pointer;
    color: #ccc;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.reply-actions span:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
}

/* الردود المتداخلة (مستويات متعددة) */
.nested-replies {
    margin-left: 25px;
    margin-top: 10px;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 215, 0, 0.2);
}

.nested-replies .reply-item {
    background: rgba(255, 255, 255, 0.02);
    border-right-color: rgba(255, 215, 0, 0.2);
}

.nested-replies .nested-replies .reply-item {
    background: rgba(255, 255, 255, 0.01);
    border-right-color: rgba(255, 215, 0, 0.1);
}

/* أزرار الحذف */
.delete-btn, .delete-reply-btn {
    color: #ff6b6b !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 107, 107, 0.1);
}

.delete-btn:hover, .delete-reply-btn:hover {
    color: #ff4757 !important;
    background: rgba(255, 107, 107, 0.2);
    transform: scale(1.1);
}

.delete-reply-btn {
    font-size: 0.8rem;
    padding: 2px 6px;
}

/* نموذج الردود */
.reply-form {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: "Cairo", sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reply-form input:focus,
.reply-form textarea:focus {
    border-color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    outline: none;
}

.reply-form button {
    background: linear-gradient(90deg, #ffd700, #d4af37);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reply-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .reply-item {
        padding: 10px 12px;
        margin: 8px 0;
    }
    
    .nested-replies {
        margin-left: 15px;
        padding-left: 10px;
    }
    
    .reply-actions {
        gap: 10px;
        font-size: 0.75rem;
    }
    
    .reply-actions span {
        padding: 3px 6px;
    }
    
    .reply-form {
        padding: 12px;
    }
    
    .reply-form input,
    .reply-form textarea {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

/* تأثيرات للتفاعلات */
.like-btn, .like-reply-btn {
    transition: all 0.3s ease;
}

.like-btn:hover, .like-reply-btn:hover {
    color: #00e1ff !important;
    transform: scale(1.1);
}

.reply-btn, .reply-to-reply-btn {
    transition: all 0.3s ease;
}

.reply-btn:hover, .reply-to-reply-btn:hover {
    color: #ffd700 !important;
    transform: scale(1.1);
}

/* مؤشر التحميل */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* رسالة عندما لا توجد ردود */
.reply-section:empty::before {
    content: "لا توجد ردود بعد";
    color: #aaa;
    font-style: italic;
    display: block;
    text-align: center;
    padding: 20px;
}

.nested-replies:empty::before {
    content: "";
    display: none;
}

/* 💬 نظام التعليقات المتطور - تحسينات جديدة */

/* تحسين تخطيط رأس التعليق */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-name {
    color: #ffd700;
    font-weight: bold;
    font-size: 1rem;
}

.review-date {
    color: #aaa;
    font-size: 0.8rem;
    direction: ltr;
    text-align: right;
}

/* تحسين تخطيط رأس الردود */
.reply-header, .nested-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.replyer-info, .nested-replyer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reply-name, .nested-reply-name {
    color: #a8eaff;
    font-weight: bold;
    font-size: 0.9rem;
}

.reply-date, .nested-reply-date {
    color: #888;
    font-size: 0.75rem;
    direction: ltr;
    text-align: right;
}

/* زر تحميل المزيد */
.load-more-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(168, 234, 255, 0.1));
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(168, 234, 255, 0.2));
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.remaining-count {
    font-size: 0.9rem;
    color: #a8eaff;
    font-weight: normal;
}

/* تحسينات الردود المتداخلة */
.reply-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 10px;
    border-right: 3px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.reply-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.nested-reply-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 12px;
    margin: 8px 0;
    border-radius: 8px;
    border-right: 2px solid rgba(168, 234, 255, 0.2);
    transition: all 0.3s ease;
}

.nested-reply-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(3px);
}

/* الردود المتداخلة (مستويات متعددة) */
.nested-replies {
    margin-left: 20px;
    margin-top: 8px;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 215, 0, 0.15);
}

.nested-replies .nested-replies {
    border-left-color: rgba(168, 234, 255, 0.1);
    margin-left: 15px;
}

/* أزرار التفاعل المحسنة */
.review-actions, .reply-actions, .nested-reply-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.review-actions span {
    font-size: 0.85rem;
}

.reply-actions span {
    font-size: 0.8rem;
}

.nested-reply-actions span {
    font-size: 0.75rem;
}

.review-actions span, .reply-actions span, .nested-reply-actions span {
    cursor: pointer;
    color: #ccc;
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-actions span:hover, .reply-actions span:hover, .nested-reply-actions span:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
}

/* أزرار الحذف المحسنة */
.delete-btn, .delete-reply-btn, .delete-nested-reply-btn {
    color: #ff6b6b !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 107, 107, 0.1);
    font-size: 0.8rem;
}

.delete-btn:hover, .delete-reply-btn:hover, .delete-nested-reply-btn:hover {
    color: #ff4757 !important;
    background: rgba(255, 107, 107, 0.2);
    transform: scale(1.1);
}

.delete-reply-btn, .delete-nested-reply-btn {
    padding: 3px 6px;
    font-size: 0.75rem;
}

/* نموذج الردود المحسن */
.reply-form {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: "Cairo", sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reply-form input:focus,
.reply-form textarea:focus {
    border-color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    outline: none;
}

.reply-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.submit-reply-btn {
    background: linear-gradient(90deg, #ffd700, #d4af37);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cancel-reply-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: #ccc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.submit-reply-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.cancel-reply-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .review-header, .reply-header, .nested-reply-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .review-actions, .reply-actions, .nested-reply-actions {
        gap: 8px;
    }
    
    .review-actions span, .reply-actions span, .nested-reply-actions span {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    
    .nested-replies {
        margin-left: 15px;
        padding-left: 10px;
    }
    
    .reply-form {
        padding: 12px;
    }
    
    .reply-form-actions {
        flex-direction: column;
    }
    
    .load-more-btn {
        padding: 12px;
        font-size: 1rem;
    }
}

/* تأثيرات التمرير الناعمة */
.review-item, .reply-item, .nested-reply-item {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين عرض النجوم */
.review-stars {
    color: #ffd700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* تحسين النص */
.review-text, .reply-text, .nested-reply-text {
    color: #e0f7ff;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.reply-text {
    font-size: 0.9rem;
}

.nested-reply-text {
    font-size: 0.85rem;
}

/* ❄️ قسم صاحب الشركة بخلفية متحركة ثلاثية الأبعاد */
.owner-section {
  position: relative;
  overflow: hidden;
  padding: 120px 20px;
  background: #000;
  color: #fff;
  text-align: center;
  font-family: "Cairo", sans-serif;
}

/* الخلفية */
.ice-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

#snow-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* محتوى القسم */
.owner-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

/* الرمز */
.owner-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatSymbol 4s ease-in-out infinite;
}

@keyframes floatSymbol {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.circle-glow {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.15), rgba(0,191,255,0.15));
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 25px rgba(0,191,255,0.4), inset 0 0 20px rgba(255,215,0,0.3);
}

.circle-glow i {
  font-size: 3.5rem;
  color: #a8eaff;
  text-shadow: 0 0 15px #00d4ff;
}

/* النصوص */
.owner-info h2 {
  font-family: "Orbitron", sans-serif;
  color: #ffd700;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.owner-info h3 {
  font-size: 1.5rem;
  color: #7ddfff;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.owner-info p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #dff7ff;
  margin-bottom: 15px;
}

/* الروابط */
.social-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-icon {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #ffd700;
  font-size: 1.4rem;
  border: 1px solid rgba(255,215,0,0.3);
  transition: all 0.35s ease;
  position: relative;
}

.social-icon:hover {
  background: linear-gradient(135deg, #ffd700, #00bfff);
  color: #000;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(255,215,0,0.5);
}

/* Tooltip */
.social-icon::after {
  content: attr(title);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #ffd700;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* موبايل */
@media (max-width: 768px) {
  .owner-info h2 { font-size: 2rem; }
  .owner-info h3 { font-size: 1.2rem; }
  .owner-info p { font-size: 1rem; }
  .circle-glow { width: 130px; height: 130px; }
  .circle-glow i { font-size: 2.7rem; }
}
