:root {
  --gold: #d4a843;
  --gold-light: #f0d078;
  --sand: #f5e6c8;
  --sand-dark: #e0c98a;
  --deep-blue: #1a3a4a;
  --dark: #1a1a1a;
  --cream: #fdfaf2;
  --warm-brown: #8b5e3c;
  --accent-teal: #2a9d8f;
  --accent-coral: #e07c5a;
  --white: #ffffff;
  --text-dark: #2c2c2c;
  --text-light: #5a5a5a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
}
/* حذف أو تعليق تنسيقات السلايدر القديمة (.slider, .prev, .next, .dots-container ...) */

.hero-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.slider-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* الصورة النشطة فقط تظهر */
.slide-img.active {
  opacity: 1;
}

/* النص فوق الكل */
.overlay-text {
  position: absolute;
  z-index: 10;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--text-dark);
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatText 2s ease infinite;
}

/* حركة الطفو */
@keyframes floatText {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 25px));
  }
}

/* ---------- النقاط ---------- */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: white;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#loadingOverlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(26, 58, 74, 0.95),
    rgba(10, 22, 35, 0.96)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#loadingOverlay.active {
  opacity: 1;
  pointer-events: auto;
  animation: fadeIn 0.3s ease;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pharaoh-mask {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 238, 156, 0.97),
    rgba(212, 168, 67, 0.45) 45%,
    rgba(212, 168, 67, 0.16) 100%
  );
  /* background-image:url(./gallary/remove.photos2.png ) ; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.4);
  animation: pulse 1.5s ease-in-out infinite;
}

.pharaoh-mask::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  border-radius: 999px;
  /* background: linear-gradient(90deg, rgba(255, 238, 156, 0.95), rgba(212, 168, 67, 0.95), rgba(255, 238, 156, 0.95)); */
}

.pharaoh-mask::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 32px;
  background: rgba(212, 168, 67, 0.95);
  border-radius: 999px;
}

.pharaoh-symbol {
  font-size: 2.4rem;
  color: #1a2a33;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.loading-spinner p {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-body);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 70px;
}

.container {
  margin: 0 auto;
  padding: 0 150px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 250, 242, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  transition: all var(--transition);
  padding: 0 0.5rem;
}
.navbar .container {
  padding: 0;
  position: relative;
}

.navbar.scrolled {
  background: rgba(253, 250, 242, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(212, 168, 67, 0.35);
}

.nav-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 100%;
  max-width: 1400px;
}


.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-blue);
  letter-spacing: -0.5px;
  transition: color var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-logo:hover{
  color: var(--gold);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.4);
}
.nav-logo .logo-icon .im-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.85rem;
  transition: color var(--transition);
  position: relative;
  padding: 6px 8px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.3px;
  transition: all var(--transition) !important;
  box-shadow: 0 4px 14px rgba(212, 168, 67, 0.35);
  white-space: nowrap;
}

.btn-nav:hover {
  background: #c4963a !important;
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.5);
  transform: translateY(-2px);
}
.btn-nav::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--deep-blue);
  border-radius: 4px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
}
/* ===== HERO ===== */
.hero {
  padding: 60px 0;
}
.hero .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* المحتوى النصي */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 768px) {
  .hero .container {
    flex-wrap: wrap;
  }
}

/* البادج الأنيق */
.hero-badge {
  display: inline-block;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  line-height: 150%;
}
/* رابط داخل البادج (إن وجد) */
.hero-badge a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

/* العنوان الرئيسي */
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.2;
  color: var(--deep-blue);
}

.gold-text {
  color: var(--gold);
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.5;
  width: calc(100% - 55px);
}

/* النص الوصفي */
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* أزرار الدعوة للإجراء */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 1.5rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4);
  transition: all var(--transition);
  display: inline-block;
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: #c4963a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 168, 67, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--deep-blue);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--deep-blue);
  transition: all var(--transition);
  display: inline-block;
}

.btn-outline:hover {
  background: var(--deep-blue);
  color: var(--white);
}
/* الجزء البصري (الصورة) */
.hero-visual {
  width: 100%;
  max-width: 520px;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* صورة الهيرو */
.hero-image-wrapper {
  width: 100%;
  max-width: 520px;
}

.hero-image-placeholder {
  width: 100%;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f5e6c8 0%, #e8d5a3 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  color: var(--deep-blue);
  font-weight: 600;
  font-size: 1.2rem;
  border: 2px solid rgba(212, 168, 67, 0.25);
  overflow: hidden; /* لضمان عدم خروج الصورة */
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-icon {
  flex: 1; /* يأخذ كل المساحة المتاحة باستثناء النص */
  min-height: 0; /* ضروري للفليكس لكي يسمح بتصغير العنصر */
  overflow: hidden; /* يمنع تسرب المحتوى */
  width: 100%;
  margin-bottom: 0.5rem; /* احتفظ بالهامش إن أردت */
}

.placeholder-icon video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* يغطي المساحة كاملةً مع اقتصاص الأطراف */
  display: block; /* يلغي المسافات البيضاء الافتراضية */
}

/* الإحصائيات */
.hero-stats {
  display: flex;
  gap: 1rem; /* مسافة موحّدة */
  margin-top: 1rem;
  flex-wrap: wrap; /* يطوي إذا احتاج */
}

.stat-item {
  flex: 1; /* توزيع متساوي */
  min-width: 100px; /* حد أدنى لطافة */
  padding: 12px 8px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--gold-light);
}

.stat-item:hover {
  background: rgba(212, 168, 67, 0.05);
  border-color: var(--gold-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.placeholder-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* الحاوية الرئيسية للبطاقة */
.rating-container {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

/* بطاقة التقييم الرئيسية */
.rating-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(2px);
  border-radius: 2.5rem;
  box-shadow:
    0 25px 45px -12px rgba(0, 0, 0, 0.25),
    0 2px 5px rgba(0, 0, 0, 0.02);
  padding: 2rem 2rem 2.5rem;
  border: 1px solid rgba(44, 122, 123, 0.2);
  transition: transform 0.3s ease;
  animation: fadeSlideUp 0.6s cubic-bezier(0.2, 0.9, 0.4, 1) forwards;
}

/* تأثير الرفع عند التحويم */
.rating-card:hover {
  transform: translateY(-5px);
}

/* تنسيق أيقونة الرأس */
.header-icon {
  text-align: center;
  margin-bottom: 1.2rem;
}
.header-icon i {
  font-size: 3rem;
  background: #e6f4f1;
  padding: 1rem;
  border-radius: 60px;
  color: var(--gold-light);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}

/* تنسيق العنوان الرئيسي */
h2 {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  color: #1e2f3a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

/* النص الفرعي */
.subtitle {
  text-align: center;
  color: #5b7c8b;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  border-bottom: 1px solid #e2edf2;
  display: inline-block;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.5rem;
}

/* حاوية النجوم التفاعلية */
.stars-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.8rem 0 1rem;
}

/* تنسيق النجمة الواحدة */
.star {
  font-size: 3.2rem;
  cursor: pointer;
  color: #d1d9e0;
  transition: all 0.2s ease;
  transform: scale(1);
}
.star:hover {
  transform: scale(1.15);
  color: #f5b042;
}
.star.active {
  color: #f5b042;
  text-shadow: 0 0 5px rgba(245, 176, 66, 0.5);
}
.star.selected {
  animation: bounceStar 0.3s ease-out;
}

/* حركة القفز عند اختيار نجمة */
@keyframes bounceStar {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* منطقة رسائل التغذية الراجعة */
.rating-feedback {
  text-align: center;
  margin: 1rem 0 1.2rem;
  font-weight: 500;
  min-height: 3rem;
}

/* قسم كتابة التعليق */
.comment-section {
  background: #f8fbfa;
  border-radius: 1.5rem;
  padding: 1rem;
  margin: 1.5rem 0;
  border: 1px solid #e0edea;
}
.comment-section h4 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-group {
  margin-bottom: 0.8rem;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  border: 1px solid #cbdcd9;
  font-family: inherit;
  font-size: 0.9rem;
  transition: 0.2s;
  resize: vertical;
}
.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #2c7a7b;
  box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.1);
}
.submit-review-btn {
  background: var(--gold);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.submit-review-btn:hover {
  background: #c4963a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 168, 67, 0.5);
}

/* قسم عرض متوسط التقييم والعدد */
.average-section {
  background: #f8fbfa;
  border-radius: 1.5rem;
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  border: 1px solid #e0edea;
}
.average-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: white;
  padding: 0.4rem 1rem;
  border-radius: 60px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.average-label {
  font-weight: 600;
  color: #2b6a5c;
}
.average-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e4a5c;
  line-height: 1;
}
.stars-static {
  display: inline-flex;
  gap: 5px;
  direction: ltr;
}
.stars-static i {
  color: #f5b042;
  font-size: 1.1rem;
}
.count-badge {
  background: #eef2f0;
  padding: 0.3rem 0.9rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2c7a7b;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.count-badge:hover {
  background: #e0eae6;
}
.reset-btn {
  background: var(--gold-light);
  border: 1px solid #cbdcd9;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.5rem;
}
.reset-btn:hover {
  border-color: var(--gold-light);
}

/* الرسالة المخصصة أسفل البطاقة */
.message {
  background: #e9f4ef;
  border-radius: 1rem;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 1rem;
  transition: all 0.2s;
}
hr {
  margin: 1.5rem 0 0.5rem;
  border: none;
  height: 1px;
  background: #e2edf2;
}
footer {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.7rem;
  color: #8aa6ad;
}

/* نافذة منبثقة (مودال) لعرض المراجعات */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-content {
  background: white;
  max-width: 550px;
  width: 90%;
  border-radius: 2rem;
  padding: 1.5rem;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
  animation: fadeSlideUp 0.3s;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2edf2;
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
}
.modal-header h3 {
  font-size: 1.4rem;
  color: #1e2f3a;
}
.close-modal {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #8aa6ad;
}

/* تنسيق عنصر المراجعة الواحدة داخل المودال */
.review-item {
  border-bottom: 1px solid #eef2f0;
  padding: 0.8rem 0;
}
.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  align-items: center;
}
.review-name {
  font-weight: 600;
  color: #2c7a7b;
}
.review-stars i {
  color: #f5b042;
  font-size: 0.8rem;
}
.review-comment {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  color: #2c4f5e;
}
.review-date {
  font-size: 0.7rem;
  color: #8aa6ad;
}
.delete-review {
  background: none;
  border: none;
  color: #c44536;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  transition: 0.2s;
  border-radius: 20px;
  margin-left: 0.5rem;
}
.delete-review:hover {
  background: #ffefed;
  color: #a13224;
}
.review-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.3rem;
}

/* حركة الظهور من الأسفل */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تنسيق للشاشات الصغيرة */
@media (max-width: 500px) {
  .rating-card {
    padding: 1.5rem;
  }
  .star {
    font-size: 2.4rem;
  }
  .average-value {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

/* ===== التجاوب مع الجوال ===== */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1.5rem 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-content,
  .hero-visual {
    flex: 1 1 100%; /* يأخذ العرض كاملاً */
    display: block;
    margin: auto;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 0;
    align-items: center;
  }

  .hero-stats {
          margin-bottom: 20px;
  }
} /* ===== SECTIONS GENERAL ===== */
.section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--deep-blue);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  border-top-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  color: var(--deep-blue);
  margin-bottom: 0.8rem;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-card ul li {
  margin-bottom: 0.4rem;
}
/* filter */
.app {
  width: 100%;
}

/* بطاقة الفلتر */
.filter-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.3s;
}
.filter-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}

.filter-group {
  flex: 1;

  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.3px;
}

.filter-group input[type="text"],
.filter-group select {
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  font-size: 14px;
  background: white;
  outline: none;
  transition: 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.filter-group select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 36px;
}

.filter-group input:focus,
.filter-group select:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* سلايدر السعر المزدوج */
.dual-range {
  position: relative;
  height: 30px;
  margin-top: 5px;
}
.dual-range input[type="range"] {
  position: absolute;
  width: 100%;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 2px solid #8b5cf6;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.15s;
  position: relative;
  z-index: 2;
}
.dual-range input[type="range"]::-webkit-slider-thumb:hover {
  border-color: #7c3aed;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

/* تقييم */
.rating-slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-slider-container input[type="range"] {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 6px;
  accent-color: #f59e0b;
}
.rating-value {
  font-weight: 700;
  color: #f59e0b;
  min-width: 35px;
  text-align: center;
}

/* أزرار الفئة */
.category-wrap {
  display: flex;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 3px;
  gap: 2px;
}
.category-btn {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  color: #4b5563;
  transition: 0.2s;
  white-space: nowrap;
}
.category-btn.active {
  background: white;
  color: #8b5cf6;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* مفتاح موثّق */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-toggle {
  position: absolute;
  cursor: pointer;
  background: #d1d5db;
  border-radius: 24px;
  inset: 0;
  transition: 0.2s;
}
.slider-toggle:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}
input:checked + .slider-toggle {
  background: #8b5cf6;
}
input:checked + .slider-toggle:before {
  transform: translateX(20px);
}

.reset-btn {
  background: var(--gold);
  border: 1px solid #d1d5db;
  padding: 10px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 500;
  color: var(--white);
  transition: 0.2s;
  height: 44px;
  white-space: nowrap;
}
.reset-btn:hover {
  background: var(--sand-dark);
  border-color: #9ca3af;
}

.statistics-page {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, #fdfaf2 0%, #fffdfa 45%, #f5ecd0 100%);
}

.statistics-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.statistics-hero h1 {
  font-size: clamp(2.5rem, 3vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.statistics-hero p {
  max-width: 520px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.statistics-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-card h3 {
  font-size: 0.95rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--deep-blue);
}

.stat-card .stat-detail {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.charts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.chart-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.chart-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.chart-bar {
  margin: 0.75rem 0;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  gap: 1rem;
}

.chart-bar-label {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.chart-bar-track {
  height: 12px;
  width: 100%;
  background: #f0e5c3;
  overflow: hidden;
  border-radius: 6px;
}

.chart-bar-fill {
  height: 20px;
  background: linear-gradient(90deg, var(--gold), #d79c34);
}

.chart-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.chart-mini div {
  border-radius: var(--radius-lg);
  background: #fff7e4;
  padding: 1rem;
}

.chart-mini p {
  margin-top: 0.5rem;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .statistics-hero {
    grid-template-columns: 1fr;
  }
  .statistics-cards {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
  .charts-grid {
    grid-template-columns: auto;
  }
  .charts-grid .chart-card {
    margin-right: auto;
  }
  .charts-grid .chart-card:last-of-type {
    margin-left: -15px;
  }
}

@media (max-width: 640px) {
  .statistics-cards {
    grid-template-columns: 1fr;
  }
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.guides-grid .guide-card {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 18px 35px -12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid #f2e1ce;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.5s ease forwards;
  border-radius: 5px;
}

/* intro-cards  */
@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }
  .guides-grid {
    margin-left: -25px;
  }
  .filter-grid {
    flex-direction: column;
  }
  .filter-group {
    width: 100%;
  }
  .results-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  .card {
    width: 100%;
  }
}

/* filter */

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.why-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.testimonial-card {
  background: #faf5e6;
  border-left: 4px solid var(--gold);
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* customer-surveys */
 /* test */
 
 /* ---------- الأساسيات ---------- */
.carousel-section {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  background: #D4AF37;
  border-radius: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  margin: 60px auto;
}

/* ---------- العنوان ---------- */
.carousel-section  .section-title {
      text-align: center;
      margin-bottom: 40px;
  }

 .carousel-section .section-title h2 {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 6px;
      text-transform: uppercase;
      color: #9ba0a8;
      margin-bottom: 8px;
  }

 .carousel-section .section-title h1 {
      font-size: 48px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -1px;
  }

 .carousel-section .section-title h1 span {
      color: var(--gold-light);
  }

  /* ---------- حاوية الكاروسيل ---------- */
 .carousel-section  .carousel-wrapper {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      padding: 0 40px;
  }

 .carousel-section  .carousel-track {
      display: flex;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      will-change: transform;
  }

  /* ---------- البطاقة – صورة كاملة ---------- */
 .carousel-section .carousel-card {
      min-width: 100%;
      padding: 10px 5px;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .carousel-section .card-content {
      background: var(--cream);
      border-radius: 32px;
      overflow: hidden;
      width: 100%;
      max-height: 650px;
      max-width: 600px;
      aspect-ratio: 1 / 1;    /* يمكن تغييره إلى 16/9 أو 4/3 حسب الرغبة */
      box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.05);
      transition: transform 0.3s ease;
      position: relative;
  }

.carousel-section  .card-content:hover {
      transform: scale(1.02);
  }

 .carousel-section .card-content img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  /* ---------- أزرار التحكم (على الجانبين) ---------- */
 .carousel-section  .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: var(--gold);
      border: none;
      width: 52px;
      height: 52px;
      border-radius: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.25s ease;
      color: #d0d7e0;
      font-size: 28px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      z-index: 20;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .carousel-section .carousel-btn:hover {
      background: var(--gold-light);
      color: #fff;
      transform: translateY(-50%) scale(1.05);
      box-shadow: 0 8px 24px rgba(108, 123, 255, 0.35);
  }

  .carousel-section .carousel-btn:active {
      transform: translateY(-50%) scale(0.92);
  }

 .carousel-section #prevBtn {
      left: 10px;
  }

.carousel-section  #nextBtn {
      right: 10px;
  }

  /* ---------- النقاط + النصوص (في الأسفل) ---------- */
.carousel-section  .carousel-footer {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 36px;
      gap: 20px;
  }

.carousel-section  .dots {
      display: flex;
      gap: 12px;
  }

 .carousel-section .dot {
      width: 10px;
      height: 10px;
      border-radius: 20px;
      background: #3d4653;
      border: none;
      padding: 0;
      cursor: pointer;
      transition: all 0.35s ease;
  }

.carousel-section  .dot.active {
      background: var(--accent-coral);
      /* width: 32px; */
      width: 15px;
      box-shadow: 0 0 16px rgba(108, 123, 255, 0.5);
  }

.carousel-section  .dot:hover {
      background: var(--accent-coral);
  }

 .carousel-section .member-info {
      text-align: center;
      padding: 10px 20px;
      max-width: 500px;
      min-height: 110px;
      transition: all 0.3s ease;
  }

.carousel-section  .member-info h3 {
      font-size: 28px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -0.3px;
      margin-bottom: 4px;
  }

.carousel-section  .member-info .role {
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--accent-coral);
      background: rgba(108, 123, 255, 0.12);
      display: inline-block;
      padding: 6px 20px;
      border-radius: 40px;
      margin-top: 4px;
  }

.carousel-section  .member-info .bio {
      margin-top: 14px;
      font-size: 15px;
      color: #a8b0bc;
      line-height: 1.6;
      font-weight: 300;
  }

/* ---------- استجابة للجوال ---------- */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 20px;
    }
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    #prevBtn {
        left: 4px;
    }
    #nextBtn {
        right: 4px;
    }
    .card-content {
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 600px) {
    .section-title h1 {
        font-size: 32px;
    }
    .carousel-section {
        padding: 24px 12px;
        border-radius: 32px;
    }
    .carousel-wrapper {
        padding: 0 20px;
    }
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .member-info h3 {
        font-size: 22px;
    }
    .member-info .bio {
        font-size: 14px;
    }
}
 /* test */
/* customer-surveys */
/* contact */ 
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: #ffffffe6;
}

.contact-info {
  display: grid;
  gap: 0.25rem;
}
.contact-info h4 {
  font-family: var(--font-heading);
  color: var(--deep-blue);
  font-size: 1.2rem;
}
.contact-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}
css/* Contact Section */
.contact-section {
  padding: 120px 30px;
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(400px,1fr));
  gap: 40px;
  margin-bottom: 60px;

}

.contact-us {
  background: var(--deep-blue);
  padding: 40px;
  border: 1px solid var(--gold);
  border-radius: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(153, 69, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.info-item:hover::before {
  left: 100%;
}

.info-item:hover {
  transform: translateX(10px);
  background: var(--gold);
  box-shadow: 0 5px 20px rgba(153, 69, 255, 0.2);
}

a.info-item {
  color: var(--cream);
  text-decoration: none;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--text-primary);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.info-text h4 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.info-item:hover .info-text h4 {
  color: var(--accent-cyan);
}

.info-text p {
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.info-item:hover .info-text p {
  color: var(--text-primary);
}

/* Add external link indicator for clickable items */
.info-item[target="_blank"] .info-text p::after {
  content: " ↗";
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-item[target="_blank"]:hover .info-text p::after {
  opacity: 1;
}

.contact-form {
  padding: 40px;
  background: var(--gold);
  border: 1px solid var(--deep-blue);
  border-radius: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--white);
  border: 1px soli var(--cream);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--deep-blue);
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}
@media (max-width: 768px) {

  .contact-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        gap: 20px
  }
  .booking-section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .hero .container {
    display: flex;
            justify-content: center;
        align-items: center;
  }

  .nav-logo {
    flex: 1;
  }

  .nav-logo .name-logo {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  .links {
    width: calc((100% - 10px) / 2);
  }
}
/* Footer */
/* ========== تنسيق عام للتذييل ========== */
#footerPlaceholder {
  background-color: #1a1a1a; /* يمكنك تغيير اللون */
  color: #ffffff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative; /* ضروري لتموضع الأيقونات */
  overflow: hidden;
  padding: 0; /* لا حشو إضافي على الحاوية الأم */
}

/* الأيقونات الزخرفية – موضع مطلق */
.shabe-up,
.shabe-down {
  position: absolute;
  z-index: 1;
  line-height: 0;
  pointer-events: none; /* لا تعترض النقر */
}

/* الأيقونة العلوية: الزاوية اليمنى العليا */
.shabe-up {
  top: 10px;
  right: 10px;
}

/* الأيقونة السفلية: الزاوية اليسرى السفلى */
.shabe-down {
  bottom: 10px;
  left: 10px;
}

.shabe-up img,
.shabe-down img {
  display: block;
  width: 80px; /* الحجم الافتراضي */
  max-width: 130px; /* حد أقصى للشاشات الكبيرة */
  height: auto;
  object-fit: contain;
  opacity: 0.7; /* شفافية خفيفة */
  transition: opacity 0.3s;
}

.shabe-up img:hover,
.shabe-down img:hover {
  opacity: 1;
}

/* الحاوية الرئيسية للمحتوى */
#footerPlaceholder .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem; /* حشو علوي أكبر قليلاً لإبعاد المحتوى عن الأيقونة */
  position: relative;
  z-index: 2; /* فوق الأيقونات */
}

/* قسم الروابط */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.links {
  flex: 1 1 200px;
  min-width: 180px;
}

.links h2 {
  font-size: 1.4rem; /* عنوان أكبر */
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f0c040; /* لون ذهبي */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links ul li {
  margin-bottom: 0.7rem;
}

.links ul li a {
  color: #dddddd;
  text-decoration: none;
  transition:
    color 0.3s,
    padding-left 0.3s;
  display: inline-block;
  font-size: 1.05rem; /* رابط أكبر */
}

.links ul li a:hover {
  color: #f0c040;
  padding-left: 5px;
}

.links ul li a i {
    margin-left: 8px;
    width: 18px;
    text-align: center;
    font-size: 1.1rem;
    float: right;
    margin-top: 5px;
}

/* الشعار */
.footer-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.link-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon .img-logo {
  height: 55px; /* شعار أكبر قليلاً */
  width: auto;
  display: block;
}

.name-logo {
  font-size: 1.8rem; /* اسم أكبر */
  font-weight: 700;
  color: darkgoldenrod;
  letter-spacing: 0.5px;
}

/* حقوق النشر */
.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  font-size: 0.95rem; /* نص حقوق أكبر */
  color: #aaaaaa;
}

/* ========== الاستجابة للأجهزة المختلفة ========== */

/* هواتف (أقل من 576px) */
@media screen and (max-width: 575px) {
  #footerPlaceholder .container {
    padding: 2rem 1rem 1rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .links {
    width: 100%;
  }

  .links h2 {
    display: block;
    text-align: center;
    font-size: 1.3rem;
  }

  .links ul li a {
    font-size: 1rem;
  }

  .links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .name-logo {
    font-size: 1.5rem;
  }

  .copyright {
    font-size: 0.9rem;
  }

  /* الأيقونات أصغر على الموبايل */
  .shabe-up {
    top: 5px;
    right: 5px;
  }

  .shabe-down {
    bottom: 5px;
    left: 5px;
  }

  .shabe-up img,
  .shabe-down img {
    width: 50px;
    max-width: 80px;
  }
}

/* تابلت (576px إلى 991px) */
@media screen and (min-width: 576px) and (max-width: 991px) {
  .footer-links {
    justify-content: space-around;
  }

  .links {
    flex: 0 1 45%;
    margin-bottom: 1.5rem;
  }
}

/* شاشات كبيرة (992px فأكثر) */
@media screen and (min-width: 992px) {
  .footer-links {
    flex-wrap: nowrap;
  }

  .links {
    flex: 1;
  }
}
/* تنسيق صفحة ال companions*/
.container {
  max-width: 1400px;
  margin: 0 auto;
}
.hero {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c97e3a, #dba259);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.badge-location {
  display: inline-block;
  background: #f0e2d2;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.8rem;
  color: #b45f2b;
  margin-top: 8px;
}
.filter-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0e1ce;
  animation: fadeInUp 0.6s ease;
}
.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: flex-end;
}
.filter-group {
  flex: 1 1 180px;
  min-width: 150px;
}
.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a07648;
  margin-bottom: 6px;
}
.filter-group input,
.filter-group select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 60px;
  border: 1px solid #eddabc;
  background: #fefaf5;
  font-size: 0.85rem;
  transition: 0.2s;
}
.filter-group input:focus,
.filter-group select:focus {
  border-color: #cb7b3c;
  box-shadow: 0 0 0 2px rgba(203, 123, 60, 0.2);
  outline: none;
}
.dual-range {
  display: flex;
  gap: 12px;
}
.dual-range input {
  width: 100%;
  accent-color: #cb7b3c;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #b38f67;
  margin-top: 4px;
}
.rating-slider-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rating-slider-container input {
  flex: 1;
  accent-color: #f5b342;
}
.rating-value {
  background: #f2e5d8;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}
.category-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-btn {
  background: #f8f2ea;
  border: none;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.category-btn.active {
  background: #cb7b3c;
  color: white;
}
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e2cfba;
  border-radius: 34px;
  transition: 0.3s;
}
.slider-toggle:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}
input:checked + .slider-toggle {
  background-color: #cb7b3c;
}
input:checked + .slider-toggle:before {
  transform: translateX(26px);
}
.reset-btn {
  background: var(--gold);
  border: none;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.reset-btn:hover {
  background: #e7d5c2;
  transform: scale(0.98);
}
.guides-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
  padding: 40px 0;
}
.guides-intro .guide-card {
  width: calc((100% - 20px) / 2);
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 18px 35px -12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid #f2e1ce;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.5s ease forwards;
}
@media (max-width: 768px) {
  .guides-intro .guide-card {
    width: 100% !important;
  }
}
.cta-section {
  display: block;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #fdfaf2 0%, #fcf3d9 100%);
  padding: 3rem;
  border-radius: var(--radius-xl);
}

.cta-section h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--deep-blue);
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.guide-card:nth-child(1) {
  animation-delay: 0.05s;
}
.guide-card:nth-child(2) {
  animation-delay: 0.1s;
}
.guide-card:nth-child(3) {
  animation-delay: 0.15s;
}
.guide-card:nth-child(4) {
  animation-delay: 0.2s;
}
.guide-card:nth-child(5) {
  animation-delay: 0.25s;
}
.guide-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 40px -12px rgba(0, 0, 0, 0.2);
  border-color: #e7caa8;
}
.card-img {
  position: relative;
  height: 240px;
  background: #e7d9cc;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.guide-card:hover .card-img img {
  transform: scale(1.05);
}
.verified-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1f7233;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 40px;
  display: flex;
  gap: 6px;
  backdrop-filter: blur(2px);
  z-index: 2;
}
.card-content {
  padding: 1.2rem 1.2rem 1.5rem;
}
.guide-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #3f2b19;
}
.guide-degree {
  font-size: 0.75rem;
  color: #b48652;
  margin: 5px 0 10px;
  border-left: 3px solid #f1cb9b;
  padding-left: 8px;
}
.hobbies-preview,
.lang-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.hobby-tag,
.lang {
  background: #f8efe5;
  padding: 4px 10px;
  border-radius: 24px;
  font-size: 0.7rem;
}
.lang {
  background: #f2e5d8;
}
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.stars {
  color: #f5b342;
  letter-spacing: 2px;
}
.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c46626;
  margin: 8px 0 5px;
}
.card-buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.btn {
  flex: 1;
  border: none;
  padding: 10px 0;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-profile {
  background: #efe2d4;
  color: #a56e3e;
  border: 1px solid #e6cfb6;
}
.btn-booking {
  background: #cb7b3c;
  color: white;
}
.btn:hover {
  transform: scale(0.97);
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}
.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.modal-container {
  background: #fffef9;
  max-width: 650px;
  width: 90%;
  border-radius: 1.8rem;
  padding: 1.5rem;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.modal-overlay.active .modal-container {
  transform: scale(1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f2dfce;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.close-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #b88654;
  transition: 0.2s;
}
.close-modal:hover {
  transform: rotate(90deg);
}
.profile-img-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e7bc87;
  display: block;
  margin: 0 auto 12px;
}
.detail-row {
  margin: 14px 0;
  border-bottom: 1px dashed #f0decb;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.detail-label {
  font-weight: 800;
  width: 115px;
  color: #bc6f3a;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 32px;
  border: 1px solid #eddabc;
  background: #fef8f2;
  font-family: inherit;
  transition: 0.2s;
}
.booking-form input:focus,
.booking-form select:focus {
  border-color: #cb7b3c;
  outline: none;
}
.hours-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.hours-selector input {
  width: 100px;
  text-align: center;
}
.payment-methods {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9f3ec;
  padding: 10px 20px;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.payment-option.selected {
  border-color: #cb7b3c;
  background: #fff4ea;
  box-shadow: 0 2px 8px rgba(203, 123, 60, 0.2);
}
.confirm-booking {
  background: #cb7b3c;
  color: white;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 40px;
  font-weight: bold;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.2s;
}
.confirm-booking:hover {
  background: #b56228;
  transform: scale(0.98);
}
.payment-form-group {
  margin-bottom: 1rem;
}
.payment-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a07648;
  margin-bottom: 4px;
}
.payment-form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 60px;
  border: 1px solid #eddabc;
  background: #fefaf5;
  font-family: "Inter", sans-serif;
}
#finalConfirmBtn {
  margin-top: 1rem;
}
.footer-note {
  text-align: center;
  margin-top: 3rem;
  color: #b38f67;
  font-size: 0.8rem;
  border-top: 1px solid #f0e1d2;
  padding-top: 1.5rem;
}
.no-results {
  text-align: center;
  padding: 3rem;
  color: #b38f67;
  grid-column: 1 / -1;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(253, 250, 242, 0.99);
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 10px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .hero-image-placeholder {
    position: relative;

  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 780px) {
  .filter-grid {
    flex-direction: column;
  }
  body {
    padding: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

.nav-login-btn {
  position: fixed;
  top: 72px;
  right: 20px;
  background: #d4a843;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.demo-btn {
  background: #d4af37;
  border: none;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: 0.2s;
}
.demo-btn:hover {
  background: #e5c158;
  transform: scale(1.02);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  padding: 1rem 2rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-consent.show {
  transform: translateY(0);
}
.cookie-text {
  color: #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-btn {
  background: transparent;
  border: 1px solid var(--gold-light);
  padding: 8px 20px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  color: white;
}
.cookie-btn.accept {
  background: var(--gold-light);
  color: #000;
  border: none;
}
@media (max-width: 700px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
}
.auth-modal,
.verify-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s;
}
.auth-modal.active,
.verify-modal.active {
  visibility: visible;
  opacity: 1;
}
.auth-container,
.verify-card {
  background: #121212;
  max-width: 460px;
  width: 90%;
  border-radius: 32px;
  border: 1px solid var(--border-gold);
  padding: 2rem 1.8rem;
  position: relative;
}
.verify-card {
  text-align: center;
}
.auth-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
}
.auth-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #2a2a2a;
}
.auth-tab {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 0;
  cursor: pointer;
  color: #aaa;
  border-bottom: 2px solid transparent;
}
.auth-tab.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}
.auth-form {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
}
.auth-form.active-form {
  display: flex;
}
.input-field {
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 60px;
  padding: 12px 20px;
  color: white;
}
.auth-btn {
  background: var(--gold-light);
  border: none;
  padding: 12px;
  border-radius: 60px;
  font-weight: bold;
  color: black;
  cursor: pointer;
}
.google-btn {
  background: #2c2c2c;
  color: #eee;
  border: 1px solid #444;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.auth-error {
  color: #ff8080;
  font-size: 0.8rem;
}
.user-status {
    align-items: center;
    gap: 6px;
    position: absolute;
    width: fit-content;
    top: 70px;
    transform: translateX(-50%);
    left: 90px;
    display: flex;
    background: var(--gold);
    margin-top: 5px;
    padding: 10px 15px;
    border-radius: 10px;
}
@media (max-width:768px) {
  .user-status {
    right: 0px;
  }
}

  
.user-avatar {
  width: 32px;
  height: 32px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-weight: bold;
}
.logout-btn {
    background: var(--text-dark);
    border-radius: 60px;
    padding: 5px 8px;
    color: #ddd;
    cursor: pointer;
    width: fit-content;
}
.code-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 1.5rem 0;
}
.code-digit {
  width: 55px;
  height: 65px;
  font-size: 2rem;
  text-align: center;
  background: #2c2c2c;
  border: 1px solid #444;
  border-radius: 16px;
  color: white;
}
.verify-msg {
  margin: 10px 0;
  font-size: 0.85rem;
  color: #ffaa66;
}
.resend-link {
  background: none;
  border: none;
  color: var(--gold-light);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 10px;
}
.booking-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #d4af37;
  color: #000;
  padding: 10px 24px;
  border-radius: 60px;
  font-weight: bold;
  z-index: 10001;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

/* تأكد من أن النوافذ المنبثقة تظهر فوق النافبار */
.auth-modal,
.verify-modal,
.cookie-consent {
  z-index: 100000 !important;
}

/* تأكد من أن النافبار له z-index أقل من 100000 */
.navbar,
.navbar-placeholder,
#navbarPlaceholder {
  z-index: 1000 !important; /* أو أي قيمة أقل */
}
