/* ----------------------------------------------------
   الأمان الشاملة لاستقدام الأيدي العاملة
   Design System & Responsive Architecture
---------------------------------------------------- */
:root {
  --font-primary: 'Tajawal', 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-navy: #0b1329;
  --bg-navy-dark: #060a17;
  --bg-navy-card: #111a36;
  --text-navy: #0b1329;
  --text-muted: #64748b;
  --amber-primary: #d97706;
  --amber-hover: #b45309;
  --amber-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gold-glow: rgba(245, 158, 11, 0.25);
  --amber-soft: rgba(245, 158, 11, 0.12);
  --teal-primary: #0d9488;
  --teal-soft: rgba(13, 148, 136, 0.12);
  --navy-soft: rgba(11, 19, 41, 0.06);
  --success-color: #10b981;
  --success-soft: rgba(16, 185, 129, 0.12);
  --border-light: #e2e8f0;
  --border-white-10: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 19, 41, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 19, 41, 0.12);
  --shadow-gold: 0 10px 25px rgba(245, 158, 11, 0.35);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: #334155;
  background-color: #f8fafc;
  line-height: 1.75;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
}

.main-wrapper {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}

section, header, footer, nav, main {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.container, .container-fluid {
  width: 100% !important;
  max-width: 1240px !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

/* Typography & Badges */
.fw-black { font-weight: 900; }
.letter-spacing-1 { letter-spacing: 0.5px; }
.max-w-750 { max-width: 750px; }
.max-w-600 { max-width: 600px; }
.max-w-400 { max-width: 400px; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

.gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-amber-gradient {
  background: var(--amber-gradient);
  color: #ffffff !important;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--amber-soft);
  color: var(--amber-primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  margin-bottom: 1rem;
}

/* Colors Utilities */
.bg-navy { background-color: var(--bg-navy) !important; }
.bg-navy-dark { background-color: var(--bg-navy-dark) !important; }
.text-navy { color: var(--bg-navy) !important; }
.text-amber { color: var(--amber-primary) !important; }
.text-gold { color: #f59e0b !important; }
.bg-gold-soft { background-color: var(--amber-soft); }
.bg-navy-soft { background-color: var(--navy-soft); }
.bg-teal-soft { background-color: var(--teal-soft); }
.bg-success-soft { background-color: var(--success-soft); }
.text-teal { color: var(--teal-primary) !important; }
.border-white-10 { border-color: var(--border-white-10) !important; }

/* Buttons & CTAs */
.btn-gold {
  background: var(--amber-gradient);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-navy {
  background-color: var(--bg-navy);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-navy:hover {
  background-color: #1a274c;
  color: #fbbf24 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 19, 41, 0.25);
}

.btn-outline-gold {
  border: 2px solid #f59e0b;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline-gold:hover {
  background: #f59e0b;
  color: #0b1329 !important;
  transform: translateY(-2px);
}

.link-gold {
  color: var(--amber-primary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.link-gold:hover {
  color: var(--amber-hover);
  gap: 0.6rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-navy-dark);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-white-10);
}
.top-bar a {
  transition: color 0.2s ease;
}
.top-bar a:hover {
  color: #fbbf24 !important;
}

/* Navbar */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(11, 19, 41, 0.06);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}
.navbar-brand .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--bg-navy) 0%, #1e293b 100%);
  color: #f59e0b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(11, 19, 41, 0.2);
}
.brand-title {
  color: var(--bg-navy);
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 800;
}
.brand-subtitle {
  color: var(--amber-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.nav-link {
  font-weight: 600;
  color: #334155 !important;
  margin: 0 0.2rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--amber-primary) !important;
  background-color: var(--amber-soft);
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(11, 19, 41, 0.94) 0%, rgba(6, 10, 23, 0.97) 100%);
}
.hero-heading {
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.hero-lead {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.8;
}
.backdrop-blur {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Booking Card in Hero */
.hero-booking-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}
.booking-header {
  background: linear-gradient(135deg, var(--bg-navy) 0%, #162447 100%);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.form-floating > .form-control,
.form-floating > .form-select {
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.2);
}

/* Stat Cards */
.stat-card {
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
}
.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

/* Features Grid */
.feature-item {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #f59e0b;
}

/* Process Steps */
.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #f59e0b;
}
.step-number {
  width: 42px;
  height: 42px;
  background: var(--amber-gradient);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Service Cards */
.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #f59e0b;
}
.service-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Country Cards */
.country-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}
.country-card:hover {
  transform: translateY(-6px);
  border-color: #f59e0b;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.15);
}
.flag-icon {
  font-size: 2.75rem;
  line-height: 1;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bg-navy);
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--amber-soft);
  color: var(--amber-primary);
}
.faq-accordion .accordion-button::after {
  margin-right: auto;
  margin-left: 0;
}
.faq-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  background-color: #ffffff;
  color: #475569;
  line-height: 1.8;
}

/* Testimonial Cards */
.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
}

/* Citable Definition & Authority Cards for AI Search */
.citable-definition-card {
  border-right: 5px solid #f59e0b !important;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.authority-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}
.authority-card:hover {
  transform: translateY(-4px);
  border-color: #f59e0b;
  box-shadow: var(--shadow-md);
}

/* Location Card & Map */
.location-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.icon-box-md {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-container {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.map-container iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  border: 0 !important;
  display: block;
}

/* Social Buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.btn-whatsapp { background-color: #25d366; }
.btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.btn-threads { background-color: #000000; }
.btn-tiktok { background-color: #000000; }
.btn-facebook { background-color: #1877f2; }

/* Sticky Mobile Quick Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(11, 19, 41, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1rem;
}

/* Floating WhatsApp Button for Desktop */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 1050;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1) rotate(10deg);
}

/* Footer */
.footer {
  background-color: var(--bg-navy-dark);
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.6rem;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: #fbbf24;
  padding-right: 6px;
}

/* ----------------------------------------------------
   Responsive Adjustments (Mobile, Tablet, Desktop)
---------------------------------------------------- */
@media (max-width: 991.98px) {
  .py-6 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-section {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  .hero-heading {
    font-size: 2.25rem !important;
  }
  .hero-booking-card {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  html, body, .main-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Disable horizontal shifts from AOS to avoid viewport zoom bugs */
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 20px, 0) !important;
    opacity: 0;
    transition-property: transform, opacity;
  }
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1;
  }

  .hero-heading {
    font-size: 1.85rem !important;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .stat-card {
    padding: 0.6rem 0.2rem !important;
  }
  .stat-card h3 {
    font-size: 1.25rem;
  }
  .stat-card small {
    font-size: 0.72rem;
  }
  
  /* Show bottom action bar on mobile */
  .mobile-action-bar {
    display: flex;
    gap: 0.5rem;
  }
  .mobile-action-bar a {
    flex: 1;
    font-size: 0.95rem;
    padding: 0.7rem 0.5rem;
  }
  
  /* Hide desktop floating button on mobile to avoid overlapping the bottom bar */
  .whatsapp-float {
    display: none;
  }
  
  /* Add padding to footer so sticky bar doesn't obscure content */
  footer.footer {
    padding-bottom: 5.5rem !important;
  }
}

/* ----------------------------------------------------
   Comparison Table Styles (AEO & AI Search Readiness)
---------------------------------------------------- */
.comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th {
  background: var(--bg-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem;
  white-space: nowrap;
  border-bottom: 2px solid var(--amber-primary);
}

.comparison-table td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
  color: #334155;
}

.comparison-table tbody tr:hover {
  background-color: rgba(245, 158, 11, 0.04);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.tip-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(13, 148, 136, 0.08) 100%);
  border-right: 4px solid var(--amber-primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

