/* ==========================================================
   "خێر و بێر" (Kher u Ber) - Islamic Talent & Employment Platform
   Main Stylesheet - Mobile First, RTL/LTR Ready
   ========================================================== */

:root {
  --primary: #1B4D3E;
  --primary-dark: #12362B;
  --primary-light: #2A6854;
  --primary-subtle: #EBF4F0;
  
  --gold: #D4AF37;
  --gold-dark: #B59325;
  --gold-light: #F7E7B4;
  --gold-subtle: #FDF9EB;
  
  --bg-cream: #FBF9F5;
  --bg-sand: #F3EFE6;
  --surface: #FFFFFF;
  
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  
  --border-light: #E5E7EB;
  --border-gold: rgba(212, 175, 55, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px rgba(27, 77, 62, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(27, 77, 62, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.25);
  
  --font-ar-ku: 'Vazirmatn', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-main);
  font-family: var(--font-ar-ku);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html[dir="ltr"] body {
  font-family: var(--font-en);
}

/* Add bottom padding on mobile for the fixed bottom navigation */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--primary-light);
}

/* Subtle Geometric Pattern Overlay */
.islamic-pattern-bg {
  background-color: var(--primary);
  background-image: url('../images/islamic-pattern.svg');
  background-repeat: repeat;
  background-size: 90px 90px;
}

.islamic-pattern-light {
  background-color: var(--bg-sand);
  background-image: url('../images/islamic-pattern.svg');
  background-repeat: repeat;
  background-size: 100px 100px;
}

/* Navbar & Header */
.main-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.65rem 0;
}

.main-navbar .nav-link {
  color: var(--text-main);
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 0.25rem;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus,
.main-navbar .nav-link.active {
  color: var(--primary) !important;
}

.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  width: 80%;
}

/* Custom Themed Buttons */
.btn-theme-outline {
  color: var(--primary);
  border: 1px solid var(--primary);
  background-color: transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-theme-outline:hover,
.btn-theme-outline:focus,
.btn-theme-outline.active {
  color: var(--primary-dark);
  background-color: var(--primary-subtle);
  border-color: var(--primary);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
}

/* Language Switcher */
.lang-trigger {
  background: transparent !important;
  border: none !important;
  color: var(--text-main);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.lang-trigger:hover,
.lang-trigger:focus {
  background-color: var(--primary-subtle) !important;
  color: var(--primary-dark) !important;
}

.premium-dropdown {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg) !important;
  padding: 0.5rem;
  min-width: 200px;
}

.premium-dropdown .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  color: var(--text-main);
}

.premium-dropdown .dropdown-item:hover,
.premium-dropdown .dropdown-item:focus {
  background-color: var(--bg-sand);
}

.premium-dropdown .dropdown-item.active {
  background-color: var(--primary-subtle);
  color: var(--primary-dark);
  font-weight: 700;
}

.theme-check {
  color: var(--primary);
  font-size: 1.1rem;
  visibility: hidden;
}

.dropdown-item.active .theme-check {
  visibility: visible;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, #163e32 0%, #1B4D3E 50%, #102F26 100%);
  color: #FFFFFF;
  padding: 1.5rem 1rem 2rem 1rem;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/islamic-pattern.svg');
  background-size: 80px 80px;
  opacity: 0.12;
  pointer-events: none;
}

/* ========================================================
   Authentic Islamic Calligraphy & Bismillah Styling
   ======================================================== */
.bismillah-calligraphy {
  font-family: 'Aref Ruqaa', 'Amiri Quran', 'Amiri', 'Traditional Arabic', serif;
  font-feature-settings: "liga" 1, "calt" 1;
  letter-spacing: normal;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.bismillah-hero-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  direction: rtl;
}

.bismillah-hero {
  font-family: 'Aref Ruqaa', 'Amiri Quran', 'Amiri', 'Traditional Arabic', serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: normal;
  font-feature-settings: "liga" 1, "calt" 1;
  background: linear-gradient(135deg, #FFF9D2 0%, #F5D77F 35%, #D4AF37 70%, #AA7C11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #D4AF37; /* Fallback */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.bismillah-hero:hover {
  transform: scale(1.02);
}

.bismillah-flourish {
  width: 44px;
  height: 18px;
  opacity: 0.85;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.flourish-right {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .bismillah-hero {
    font-size: 1.75rem;
    line-height: 1.35;
  }
  .bismillah-flourish {
    width: 30px;
    height: 14px;
  }
  .bismillah-hero-wrap {
    gap: 0.5rem;
  }
}

.hero-quote-card {
  background: rgba(16, 47, 38, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  margin: 1.25rem auto 1.65rem auto;
  max-width: 720px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-quote-card:hover {
  border-color: rgba(212, 175, 55, 0.7);
  transform: translateY(-2px);
}

.hadith-arabic-text {
  font-family: 'Amiri Quran', 'Aref Ruqaa', 'Amiri', 'Traditional Arabic', serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: normal;
  font-feature-settings: "liga" 1, "calt" 1;
  color: #FFF2B2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.35rem;
}

.hadith-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem auto;
  max-width: 260px;
  opacity: 0.85;
}

.hadith-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hadith-mini-star {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.hadith-translation-text {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #F8FAFC;
  font-weight: 500;
}

.hadith-narrator {
  font-size: 0.85rem;
  color: #D4AF37;
  font-weight: 600;
  margin-top: 0.35rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .hero-quote-card {
    padding: 0.9rem 1rem;
    margin: 1rem auto 1.25rem auto;
  }
  .hadith-arabic-text {
    font-size: 1.12rem;
    line-height: 1.6;
  }
  .hadith-translation-text {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* Islamic Search Bar Box */
.hero-search-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--gold);
  max-width: 780px;
  margin: 0 auto;
}

.hero-search-box .form-control {
  border: none;
  box-shadow: none;
  font-size: 1rem;
  padding: 0.75rem 1rem;
}
.hero-search-box .form-control:focus {
  outline: none;
  box-shadow: none;
}

.btn-hero-search {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a1a;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.6rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-hero-search:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: #000;
}

/* Quick Category Pills */
.category-pills-wrap {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.category-pills-wrap::-webkit-scrollbar {
  height: 4px;
}
.category-pills-wrap::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.cat-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.cat-pill-btn i {
  color: var(--primary);
  font-size: 1rem;
}
.cat-pill-btn:hover {
  border-color: var(--gold);
  background-color: var(--gold-subtle);
}
.cat-pill-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(27, 77, 62, 0.25);
}
.cat-pill-btn.active i {
  color: var(--gold);
}

/* Filter Card */
.filter-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem;
  margin-bottom: 1.75rem;
}

.filter-card .form-control {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
}

.filter-card .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  cursor: pointer;
}

.filter-card .form-select:focus,
.filter-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(27, 77, 62, 0.15);
}

/* Form Select RTL & LTR Support across the platform */
[dir="rtl"] .form-select {
  background-position: left 0.75rem center !important;
  padding-left: 2.25rem !important;
  padding-right: 0.85rem !important;
  text-align: right;
}

[dir="ltr"] .form-select {
  background-position: right 0.75rem center !important;
  padding-right: 2.25rem !important;
  padding-left: 0.85rem !important;
  text-align: left;
}

[dir="rtl"] .form-select-sm {
  background-position: left 0.5rem center !important;
  padding-left: 1.75rem !important;
  padding-right: 0.65rem !important;
}

[dir="ltr"] .form-select-sm {
  background-position: right 0.5rem center !important;
  padding-right: 1.75rem !important;
  padding-left: 0.65rem !important;
}

/* Talent Card (Mobile Optimized) */
.talent-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.talent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

/* Card Header Accent */
.talent-card-header-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
}

.talent-card-body {
  padding: 1.25rem;
  flex: 1;
}

/* Avatar with Monogram or Image */
.talent-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  object-fit: cover;
}

.talent-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

.talent-title {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

/* Badges */
.badge-city {
  background: var(--bg-sand);
  color: var(--text-main);
  border: 1px solid #e0d8c8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.badge-status.available {
  background-color: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}
.badge-status.busy {
  background-color: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}
.badge-status.freelance {
  background-color: #FFF8E1;
  color: #F57F17;
  border: 1px solid #FFE082;
}

.talent-bio-clamp {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  margin: 0.75rem 0;
}

/* Skill Tags */
.skill-pill {
  background-color: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.lang-pill {
  background-color: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

/* Card Actions */
.talent-card-footer {
  padding: 0.85rem 1.25rem;
  background-color: #FAFAFA;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-card-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  border: none;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-card-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-card-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: transform 0.15s ease;
}
.btn-card-whatsapp:hover {
  background-color: #1EBE5D;
  color: #ffffff;
  transform: scale(1.05);
}

.btn-card-call {
  background-color: #f0f2f5;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}
.btn-card-call:hover {
  background-color: #e2e5e9;
  color: var(--primary);
}

/* Multi-Step Wizard Engine */
.wizard-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Stepper Header */
.wizard-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.wizard-stepper::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 3rem;
  right: 3rem;
  height: 3px;
  background-color: var(--border-light);
  z-index: 1;
}

.wizard-step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: default;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.wizard-step-indicator.active .step-circle {
  background-color: var(--primary);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.wizard-step-indicator.completed .step-circle {
  background-color: var(--gold);
  border-color: var(--gold-dark);
  color: #ffffff;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.wizard-step-indicator.active .step-label {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Step Content Sections */
.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Phone Collision Notice */
.phone-collision-alert {
  display: none;
  background-color: #FFF9E6;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin-top: 0.75rem;
  color: #8A6D1C;
  font-size: 0.9rem;
}

/* Dynamic Repeater Box (Languages & Mini CV) */
.repeater-box {
  background-color: var(--bg-sand);
  border: 1px solid #ded5c2;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.85rem;
  position: relative;
}

.btn-remove-row {
  color: #DC2626;
  background: #FEE2E2;
  border: none;
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-remove-row:hover {
  background: #FCA5A5;
  color: #991B1B;
}

.btn-add-repeater {
  background-color: #ffffff;
  border: 2px dashed var(--gold);
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-weight: 600;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.btn-add-repeater:hover {
  background-color: var(--gold-subtle);
  border-style: solid;
}

/* Islamic Ethical Pledge Card */
.pledge-card {
  background: linear-gradient(135deg, #FBF9F5 0%, #F5EFE1 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.pledge-card-title {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pledge-card-title i {
  color: var(--gold-dark);
  font-size: 1.25rem;
}

/* Mobile Fixed Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -3px 12px rgba(0,0,0,0.06);
  z-index: 1040;
  padding: 0 0.5rem;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
  min-width: 60px;
}
.bottom-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.bottom-nav-item.active {
  color: var(--primary);
  font-weight: 700;
}
.bottom-nav-item.active i {
  color: var(--gold-dark);
}

/* Islamic Profile Detail Modal & Drawer */
.modal-content-islamic {
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header-islamic {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  border-bottom: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
}

.modal-header-islamic .modal-title {
  color: #ffffff;
  font-weight: 700;
}

/* Empty State */
.empty-state-box {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  margin: 1.5rem 0;
}
.empty-state-box i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* Footer Styling */
.main-footer {
  margin-top: auto;
  background: linear-gradient(145deg, var(--primary-dark) 0%, #0d261e 100%);
  color: #E2E8F0;
  padding: 4rem 0 2rem 0;
  border-top: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.footer-pattern-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/islamic-pattern.svg');
  background-size: 150px;
  opacity: 0.03;
  pointer-events: none;
}

.footer-links {
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(-5px);
}
html[dir="ltr"] .footer-links a:hover {
  transform: translateX(5px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.text-gold {
  color: var(--gold) !important;
}
.bg-gold {
  background-color: var(--gold) !important;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1.5rem 0;
}

/* RTL Helpers */
html[dir="rtl"] .dropdown-menu {
  text-align: right;
}
html[dir="rtl"] .modal-header .btn-close {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .wizard-stepper::before {
  left: 3rem;
  right: 3rem;
}

html[dir="rtl"] .d-rtl-show {
  display: inline-block !important;
}
html[dir="rtl"] .d-ltr-show {
  display: none !important;
}

html[dir="ltr"] .d-rtl-show {
  display: none !important;
}
html[dir="ltr"] .d-ltr-show {
  display: inline-block !important;
}
