/* ==========================================================================
   3ajuz.com — Ultra-Modern Islamic Halal Marriage Platform Stylesheet
   Crafted with 3D Visual Depth, Micro-Interactions, and RTL/LTR Harmony
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
  /* Brand Luxury Palette */
  --primary-900: #022c22;
  --primary-800: #064e3b;
  --primary-700: #047857;
  --primary-600: #059669;
  --primary-500: #10b981;
  --primary-400: #34d399;
  --primary-100: #d1fae5;
  --primary-50:  #ecfdf5;

  /* Gold & Warm Accents */
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fde047;
  --gold-100: #fef3c7;
  --gold-50:  #fffbeb;

  /* Gender Accents */
  --male-color: #0d9488;
  --male-bg: #f0fdfa;
  --female-color: #e11d48;
  --female-bg: #fff1f2;

  /* Neutrals & Surfaces */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --surface:   #ffffff;

  /* Semantics */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger:  #e11d48;
  --info:    #0284c7;

  /* Layout & Depth Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(6, 78, 59, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(6, 78, 59, 0.16), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
  --shadow-3d: 0 25px 50px -12px rgba(2, 44, 34, 0.35), 0 0 30px rgba(16, 185, 129, 0.2);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.75;
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-500);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary-900);
  font-family: 'Cairo', sans-serif;
}

.brand-logo-text span.dot {
  color: var(--gold-500);
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-800);
  background: var(--primary-100);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brand-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary-600);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary-600);
}

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

.nav-links a {
  color: var(--slate-700);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

.lang-switch a {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--slate-500);
}

.lang-switch a.active {
  background: var(--surface);
  color: var(--primary-800);
  box-shadow: var(--shadow-xs);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--slate-800);
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--gold-500) 100%);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--surface);
  color: var(--primary-800);
  border-color: var(--slate-200);
}

.btn-outline:hover {
  border-color: var(--primary-600);
  color: var(--primary-700);
  background: var(--primary-50);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Split-Screen 3D Hero Section
   ========================================================================== */
.hero-wrapper, .hero-section {
  position: relative;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 45%, #0f766e 100%);
  padding: 70px 0 110px;
  color: #ffffff;
  overflow: hidden;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  top: -15%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 78, 59, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-slow 8s infinite alternate;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(6, 78, 59, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes pulse-slow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 1; }
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-content {
  text-align: right;
}

body.ltr .hero-text-content {
  text-align: left;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #fef08a;
  margin-bottom: 20px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 18px;
  color: #ffffff;
  font-family: 'Cairo', sans-serif;
  letter-spacing: -0.5px;
}

.hero-title span.gold-highlight {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.85;
  color: #e2e8f0;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-trust-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.hero-trust-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* 3D Visual Centerpiece Showcase */
.hero-3d-card-wrap {
  position: relative;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  padding: 35px 25px;
  box-shadow: var(--shadow-3d);
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 440px;
  animation: float-3d 6s ease-in-out infinite;
}

@keyframes float-3d {
  0%, 100% { transform: translateY(0px) rotateY(-4deg) rotateX(2deg); }
  50% { transform: translateY(-12px) rotateY(2deg) rotateX(-2deg); }
}

.hero-3d-rings-svg {
  width: 220px;
  height: 220px;
  margin: 0 auto 15px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
  animation: spin-slow 25s linear infinite;
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-3d-floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-900);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.pill-top-right {
  top: 15px;
  right: -15px;
  animation: float-pill-1 4s ease-in-out infinite alternate;
}

.pill-bottom-left {
  bottom: 25px;
  left: -20px;
  animation: float-pill-2 5s ease-in-out infinite alternate;
}

@keyframes float-pill-1 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@keyframes float-pill-2 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(8px); }
}

/* ==========================================================================
   Floating Elevated Search Card
   ========================================================================== */
.search-floating-card, .search-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.search-grid-layout, .search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 16px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}

.form-control, .form-select {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background-color: var(--slate-50);
  font-size: 14px;
  font-family: inherit;
  color: var(--slate-800);
  transition: var(--transition);
  outline: none;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-600);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   Stats Counter Bar
   ========================================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  border-left: 1px solid var(--slate-200);
}

body.ltr .stat-item {
  border-left: none;
  border-right: 1px solid var(--slate-200);
}

.stat-item:last-child {
  border-left: none;
  border-right: none;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-900);
  line-height: 1.1;
  font-family: 'Cairo', sans-serif;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
}

/* ==========================================================================
   Joyful 3D Feature Cards ("لماذا يختار الراغبون منصة 3ajuz.com؟")
   ========================================================================== */
.joyful-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0 60px;
}

.joyful-3d-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.joyful-3d-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.35);
}

.joyful-3d-svg-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  transition: var(--transition);
}

.joyful-3d-card:hover .joyful-3d-svg-wrap {
  transform: scale(1.1) rotate(4deg);
}

.joyful-3d-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 10px;
  font-family: 'Cairo', sans-serif;
}

.joyful-3d-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.8;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header-wrap {
  text-align: center;
  max-width: 680px;
  margin: 60px auto 36px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-main-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-900);
  margin-bottom: 10px;
  font-family: 'Cairo', sans-serif;
}

.section-desc {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ==========================================================================
   Step Cards
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--gold-500));
  opacity: 0;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.step-card:hover::before {
  opacity: 1;
}

.step-badge {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 16px rgba(6, 78, 59, 0.25);
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.75;
}

/* ==========================================================================
   Marriage Ad Cards
   ========================================================================== */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.ad-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.4);
}

.ad-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.gender-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gender-badge.male {
  background: var(--male-bg);
  color: var(--male-color);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.gender-badge.female {
  background: var(--female-bg);
  color: var(--female-color);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.verified-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-700);
  background: var(--primary-50);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.ad-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 10px;
  line-height: 1.5;
}

.ad-title a {
  color: var(--primary-900);
}

.ad-title a:hover {
  color: var(--primary-600);
}

.ad-preview-text {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.spec-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-100);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ad-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--slate-200);
  padding-top: 14px;
  margin-top: auto;
}

.ad-loc-info {
  font-size: 13px;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

/* ==========================================================================
   Countries Grid
   ========================================================================== */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.country-card-item {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-700);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.country-card-item:hover {
  background: var(--primary-50);
  border-color: var(--primary-600);
  color: var(--primary-800);
  transform: translateY(-2px);
}

.country-card-arrow {
  color: var(--slate-400);
  font-size: 14px;
  transition: var(--transition);
}

.country-card-item:hover .country-card-arrow {
  color: var(--primary-600);
  transform: translateX(-4px);
}

body.ltr .country-card-item:hover .country-card-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Pledge & FAQ
   ========================================================================== */
.pledge-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 60px 0;
  box-shadow: var(--shadow-sm);
}

.pledge-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.pledge-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-900);
  margin-bottom: 12px;
  font-family: 'Cairo', sans-serif;
}

.pledge-hadith {
  font-size: 15px;
  color: var(--primary-800);
  line-height: 1.8;
  font-style: italic;
  background: rgba(255, 255, 255, 0.6);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-right: 4px solid var(--primary-700);
}

.pledge-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pledge-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #166534;
}

.faq-section {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 60px 0;
  box-shadow: var(--shadow-sm);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-600);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.06);
}

.faq-question {
  width: 100%;
  background: var(--slate-50);
  border: none;
  padding: 18px 22px;
  text-align: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  transition: var(--transition);
}

.faq-item.active .faq-question {
  background: var(--primary-50);
  color: var(--primary-800);
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--surface);
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 18px 22px 22px;
  max-height: 200px;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #022c22 100%);
  color: #94a3b8;
  padding: 70px 0 30px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  font-family: 'Cairo', sans-serif;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #34d399;
  padding-right: 4px;
}

body.ltr .footer-links a:hover {
  padding-right: 0;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-split-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text-content { text-align: center; }
  .hero-title { font-size: 34px; }
  .hero-actions { justify-content: center; }
  .hero-trust-grid { max-width: 500px; margin: 0 auto 30px; }
  .search-grid-layout { grid-template-columns: 1fr 1fr; }
  .joyful-3d-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .pledge-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-trust-grid { grid-template-columns: 1fr; }
  .search-grid-layout { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .ads-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-floating-card { padding: 20px; margin-top: -30px; }
}