/* ==========================================================================
   نايف ردادي لشراء الأثاث المستعمل بالمدينة المنورة
   Modern, Creative, High-Converting RTL Stylesheet
   Fonts: Cairo (Headings & Accents) + Tajawal (Body & UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --primary: #0a3a6b;         /* Deep Majestic Navy */
  --primary-dark: #062444;
  --primary-light: #eff6fc;
  --primary-glow: rgba(10, 58, 107, 0.15);
  
  --accent: #d97706;          /* Rich Royal Amber / Gold */
  --accent-hover: #b45309;
  --accent-light: #fffbeb;
  --accent-glow: rgba(217, 119, 6, 0.2);
  
  --whatsapp: #25d366;        /* Official WhatsApp Green */
  --whatsapp-dark: #128c7e;
  --whatsapp-light: #e8faf0;
  
  --success: #059669;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-focus: #2563eb;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(10, 58, 107, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 14px 28px -5px rgba(10, 58, 107, 0.12), 0 6px 12px -3px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 22px 35px -6px rgba(10, 58, 107, 0.16), 0 10px 18px -4px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 74px; /* Room for sticky action bar on mobile */
  overflow-x: hidden;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.35;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Helpers */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-whatsapp { color: var(--whatsapp-dark); }
.text-muted { color: var(--text-muted); }

/* Announcement Top Bar */
.top-bar {
  background: linear-gradient(90deg, #051b33 0%, #0a3a6b 50%, #072242 100%);
  color: #ffffff;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
}

.top-bar-item svg {
  width: 17px;
  height: 17px;
  fill: #fcd34d;
}

/* Header & Navigation */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-badge {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), #1e5a99);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(10, 58, 107, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.logo-text h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.logo-text p {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
  margin-top: -2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 800;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0.75rem;
  left: 0.75rem;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #fbbf24);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 84%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--bg-card);
  z-index: 10001;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
  background: var(--bg-alt);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-links .nav-link {
  font-size: 1.05rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
}

.drawer-links .nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 27, 51, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  display: block;
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  font-family: 'Cairo', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1b538e);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 58, 107, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #07294d, var(--primary));
  box-shadow: 0 6px 18px rgba(10, 58, 107, 0.38);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20ba5a, #0e7467);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-phone {
  background: #082647;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 38, 71, 0.25);
}

.btn-phone:hover {
  background: #041427;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #051d38 0%, #0a3a6b 50%, #062649 100%);
  color: #ffffff;
  padding: 4rem 0 5.5rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg-page);
  clip-path: ellipse(65% 100% at 50% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
  }
}

/* Centered Hero Layout */
.hero-centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered .hero-badge {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 740px;
}

.hero-centered .hero-ctas {
  justify-content: center;
  margin-bottom: 2.25rem;
}

.hero-centered .hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fde047;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-size: 2.25rem;
  color: #ffffff;
  margin-bottom: 1.15rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-highlight {
  color: #fbbf24;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.35);
}

.hero-desc {
  font-size: 1.18rem;
  color: #e2e8f0;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.hero-feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  border: 1px solid rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  flex-shrink: 0;
  font-weight: 900;
}

/* Hero Lead Card */
.hero-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

.card-header-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.hero-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
  text-align: right;
}

.form-label {
  display: block;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  color: var(--text-main);
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 58, 107, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 88px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Section Headings */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(10, 58, 107, 0.15);
}

.section-title {
  font-size: 2.15rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.6rem;
  }
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.category-img-wrap {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: #061e38;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-card:hover .category-img {
  transform: scale(1.06);
}

.category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 58, 107, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
  color: var(--primary-dark);
}

.category-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.cat-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.category-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-color);
}

/* 3-Steps Grid (Homepage) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.25rem;
  margin-top: 3rem;
  position: relative;
}

@media (min-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.step-num {
  position: absolute;
  top: -20px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
  border: 3px solid #ffffff;
}

.step-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(10, 58, 107, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.step-card:hover .step-icon-wrap {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(10, 58, 107, 0.25);
}

.step-icon-wrap svg {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  display: block;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
}

.step-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Process & Timeline Grid */
.process-timeline {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

/* Vertical Timeline Connecting Spine for Desktop */
@media (min-width: 768px) {
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    bottom: 60px;
    right: 76px; /* Centered with the 68px badge inside 2.25rem padding + 40px center */
    width: 4px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(200, 138, 42, 0.3) 45%, var(--whatsapp) 55%, var(--primary) 100%);
    border-radius: 9999px;
    z-index: 1;
  }
}

.timeline-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
  border: 1px solid #e2e8f0;
  border-right: 5px solid transparent;
  position: relative;
  z-index: 2;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(10, 58, 107, 0.12);
  border-color: #cbd5e1;
  border-right-color: var(--accent);
}

.timeline-step.step-highlight {
  background: linear-gradient(to left, #ffffff 0%, #f0fdf4 100%);
  border-color: #bbf7d0;
  border-right-color: var(--whatsapp);
}

.timeline-step.step-highlight:hover {
  border-right-color: var(--whatsapp-dark);
  box-shadow: 0 20px 40px -10px rgba(34, 197, 94, 0.15);
}

@media (min-width: 768px) {
  .timeline-step {
    grid-template-columns: 80px 1fr 230px;
    align-items: center;
  }
}

/* Step Badge with Outer Ring */
.step-badge-large {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--accent), #d97706);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-size: 1.95rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35), 0 0 0 6px rgba(245, 158, 11, 0.15);
  margin: 0 auto;
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .step-badge-large {
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.45), 0 0 0 8px rgba(245, 158, 11, 0.22);
}

.step-badge-large.badge-green {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35), 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.timeline-step:hover .step-badge-large.badge-green {
  box-shadow: 0 12px 25px rgba(34, 197, 94, 0.45), 0 0 0 8px rgba(34, 197, 94, 0.25);
}

/* Step Details Header & Tags */
.step-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.step-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(10, 58, 107, 0.07);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(10, 58, 107, 0.12);
}

.step-pill-tag.tag-green {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.25);
}

.step-details h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.4;
}

.step-details p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

/* Step Highlights / Chips */
.step-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.timeline-step:hover .step-chip {
  background: #ffffff;
  border-color: #cbd5e1;
}

.step-chip i {
  color: var(--accent);
  font-size: 0.75rem;
}

.step-chip.chip-green i {
  color: var(--whatsapp);
}

/* Photo Wrapper & Hover Effect */
.step-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
  background: #f1f5f9;
  transition: all 0.35s ease;
}

.timeline-step:hover .step-photo-wrap {
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.step-photo-preview {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.timeline-step:hover .step-photo-preview {
  transform: scale(1.06);
}

.step-photo-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(5, 20, 36, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}


/* Comparison Table (Nayef Raddadi vs Haraj) */
.comparison-wrap {
  overflow-x: auto;
  margin: 2.5rem 0;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 620px;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  background-color: #f8fafc;
}

.comparison-table th.brand-col {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  text-align: center;
  font-size: 1.2rem;
}

.comparison-table td.brand-col {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
}

.comparison-table tr:hover td {
  background-color: #f8fafc;
}

.comparison-table tr:hover td.brand-col {
  background-color: #e2eef9;
}

/* Mobile Comparison Cards Styling (Native Responsive Card Stack) */
.comparison-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 1.15rem;
  margin: 1.75rem 0;
}

.comparison-mobile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.cmc-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #072242 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
}

.cmc-header .cmc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
}

.cmc-header h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 800;
}

.cmc-item {
  padding: 0.95rem 1.25rem;
}

.cmc-item.cmc-brand {
  background: #f0fdf4;
  border-bottom: 1px dashed #bbf7d0;
}

.cmc-item.cmc-haraj {
  background: #fff7ed;
}

.cmc-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.cmc-brand-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
}

.cmc-haraj-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
}

.cmc-status-good {
  color: #16a34a;
  font-size: 1.15rem;
  display: inline-flex;
}

.cmc-status-bad {
  color: #dc2626;
  font-size: 1.15rem;
  display: inline-flex;
}

.cmc-item p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

@media (max-width: 768px) {
  .comparison-wrap {
    display: none !important;
  }
  .comparison-mobile-hint {
    display: none !important;
  }
  .comparison-mobile-cards {
    display: flex !important;
  }
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-box {
  background: linear-gradient(135deg, #ffffff, var(--bg-alt));
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.stat-number {
  font-family: 'Cairo', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  font-family: 'Cairo', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Features Grid - Balanced 3x2 on desktop, 2x3 on tablet, 1x on mobile */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* About Photo Gallery Showcase - Strict 3x2 on desktop, 2x3 on tablet, 1x on mobile */
.about-showcase-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .about-showcase-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .about-showcase-gallery {
    grid-template-columns: 1fr !important;
  }
}

.detail-gallery-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.detail-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.detail-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.detail-gallery-item:hover .detail-gallery-img {
  transform: scale(1.03);
}

.detail-gallery-caption {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 0.5rem;
  background: var(--bg-card);
  color: var(--primary-dark);
  margin: 0;
}

.feature-box {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-right: 5px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.feature-box-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  color: var(--accent-hover);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.15rem;
}

.feature-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Medina Neighborhoods */
.neighborhood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.neighborhood-tag {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: var(--transition);
}

.neighborhood-tag:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-info h5 {
  font-size: 1.05rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.65rem;
  background: none;
  border: none;
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.35rem;
  transition: transform 0.3s ease;
  color: var(--primary);
  font-weight: 900;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.65rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 1.65rem 1.35rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #051b33 0%, var(--primary) 60%, #072547 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 0.85rem;
}

.cta-banner p {
  font-size: 1.2rem;
  color: #e2e8f0;
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #051b33 0%, #0a3a6b 100%);
  color: #ffffff;
  padding: 3.5rem 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1.1rem;
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-hero h1 {
  color: #ffffff;
  font-size: 2.35rem;
  margin-bottom: 0.85rem;
}

/* Detail Layout */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}

@media (min-width: 992px) {
  .detail-layout {
    grid-template-columns: 1.35fr 1fr;
  }
}

.detail-content {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.service-detail-full {
  background: var(--bg-card);
  padding: 3.25rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .service-detail-full {
    padding: 1.5rem 1.25rem;
  }
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
  margin: 2rem 0;
}

.detail-gallery-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.detail-sidebar {
  position: sticky;
  top: 105px;
}

.spec-list {
  margin: 1.75rem 0;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.spec-icon {
  width: 24px;
  height: 24px;
  background: var(--whatsapp-light);
  color: var(--whatsapp-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Contact Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--bg-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
}

.contact-card-icon.icon-whatsapp {
  background: var(--whatsapp-light);
  color: var(--whatsapp-dark);
}

.contact-card-icon i {
  font-size: 32px;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

/* Footer */
.main-footer {
  background-color: #051424;
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-right: 8px;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.35rem;
}

.footer-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.keyword-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.developer-credit {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.developer-credit a {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.developer-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   HERO SHOWCASE CARD & CREATIVE VISUALS
   ========================================================================== */
.hero-showcase-card {
  width: 100%;
  max-width: 880px;
  margin: 2.75rem auto 0;
  position: relative;
  z-index: 3;
}

.hero-showcase-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(5, 20, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 37, 64, 0.4);
  backdrop-filter: blur(10px);
}

.hero-showcase-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-showcase-frame:hover .hero-showcase-img {
  transform: scale(1.03);
}

.hero-showcase-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(5, 20, 36, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 138, 42, 0.4);
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 10px var(--whatsapp);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-showcase-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(5, 20, 36, 0.95) 0%, rgba(5, 20, 36, 0.7) 70%, transparent 100%);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-mini-stat {
  text-align: center;
  color: #ffffff;
}

.hero-mini-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1.2;
}

.hero-mini-stat span {
  font-size: 0.82rem;
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .hero-showcase-img {
    height: 240px;
  }
  .hero-showcase-badge {
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
  .hero-showcase-stats {
    padding: 1rem 0.5rem 0.75rem;
  }
  .hero-mini-stat strong {
    font-size: 1.15rem;
  }
  .hero-mini-stat span {
    font-size: 0.72rem;
  }
}

/* About Story Visual */
.about-story-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.about-story-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-story-visual:hover .about-story-img {
  transform: scale(1.03);
}

.about-story-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(5, 20, 36, 0.9) 0%, transparent 100%);
  color: #ffffff;
  padding: 1.5rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (min-width: 992px) {
  .about-story-grid {
    grid-template-columns: 1.15fr 0.85fr !important;
  }
}



/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 85px;
  left: 20px;
  width: 62px;
  height: 62px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-green 2s infinite;
}

@media (min-width: 992px) {
  .floating-whatsapp {
    bottom: 30px;
  }
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp svg {
  width: 36px;
  height: 36px;
}

.floating-whatsapp i {
  font-size: 34px;
  color: #ffffff;
}

/* Floating WhatsApp Notification Badge & Ping */
.floating-whatsapp-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  background-color: #ef4444;
  color: #ffffff;
  font-family: 'Cairo', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
  z-index: 10;
}

.floating-whatsapp-ping {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ef4444;
  opacity: 0.75;
  animation: waPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: 9;
}

@keyframes waPing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.12);
  display: flex;
  padding: 0.75rem 1rem;
  gap: 0.85rem;
  z-index: 998;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.85rem 0.6rem;
  font-size: 1rem;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 95px;
  right: 50%;
  transform: translateX(50%);
  background: #051b33;
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-msg.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Creative Customer-Benefit & Clean Layout Enhancements
   ========================================================================== */

/* Hero Trust Showcase (Replaces crowded form in Hero) */
.hero-trust-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.trust-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: 'Cairo', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(34, 197, 94, 0.35);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

.hero-guarantee-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.guarantee-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.guarantee-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.guarantee-header h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.guarantee-header p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guarantee-item .g-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.guarantee-item strong {
  display: block;
  font-family: 'Cairo', sans-serif;
  font-size: 0.98rem;
  color: #fde68a;
  margin-bottom: 0.2rem;
}

.guarantee-item p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.guarantee-cta {
  text-align: center;
}

/* Dedicated Lead Section on Homepage */
.lead-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .lead-section-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.lead-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lead-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.lead-benefit-item:hover {
  transform: translateX(-6px);
  border-color: var(--accent);
}

.lead-benefit-item .lb-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.lead-benefit-item strong {
  display: block;
  font-family: 'Cairo', sans-serif;
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.lead-benefit-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.lead-form-card {
  box-shadow: 0 15px 35px rgba(10, 58, 107, 0.12);
  border: 1.5px solid rgba(10, 58, 107, 0.12);
}

/* Service Details: Benefit Ribbons & Customer-Centric Blocks */
.detail-benefits-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.benefit-ribbon-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-ribbon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.benefit-ribbon-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(10, 58, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-ribbon-card h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--primary-dark);
}

.benefit-ribbon-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* 10-Minute Photo Valuation Callout Box */
.quick-valuation-box {
  background: linear-gradient(135deg, #072242 0%, #0a3a6b 60%, #0f4c8a 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 992px) {
  .quick-valuation-box {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.qv-badge {
  display: inline-block;
  background: rgba(251, 191, 36, 0.2);
  color: #fde047;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.quick-valuation-box h3 {
  color: #ffffff;
  font-size: 1.65rem;
  margin-bottom: 0.65rem;
}

.quick-valuation-box p {
  color: #e2e8f0;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.qv-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.qv-step-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.qv-arrow {
  font-size: 1.3rem;
  color: #fbbf24;
}

/* Customer Value Grid (Customer Benefit Focused Cards) */
.customer-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.25rem 0;
}

.customer-value-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.customer-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.cv-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.customer-value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.customer-value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Service Detail Landing Page UI Components
   ========================================================================== */

/* 1. Header Spotlight & Trust Chips */
.service-header-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(245, 158, 11, 0.06));
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.service-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--whatsapp));
}

.service-highlight-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary-dark);
  margin: 0.6rem 0 1rem;
}

.service-highlight-title .text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.trust-chip i {
  font-style: normal;
}

/* Service Page Sectional Landing Components */
.service-spotlight-hero {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .service-spotlight-hero {
    padding: 1.75rem 1.25rem;
  }
}

.service-catalog-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 860px) {
  .service-catalog-grid-2col {
    grid-template-columns: 1fr;
  }
}

.service-visual-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .service-visual-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .service-visual-grid-3col {
    grid-template-columns: 1fr;
  }
}

.service-visual-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .service-visual-grid-2col {
    grid-template-columns: 1fr;
  }
}

.service-visual-grid-1col {
  max-width: 600px;
  margin: 2rem auto 0;
}

.service-visual-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-visual-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-visual-card:hover img {
  transform: scale(1.04);
}

.service-visual-card-title {
  padding: 0.75rem 0.6rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  margin: 0;
}

/* 3. Interactive What We Buy Catalog Grid */
.service-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 2.25rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-section-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.service-item-tile {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  border-right: 4px solid var(--accent);
}

.service-item-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.service-item-tile-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.service-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.service-item-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.service-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-right: auto;
}

.service-pill-tag {
  background: var(--bg-alt);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.service-item-tile p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0;
}

/* 4. Brand Trust Pills */
.service-brands-strip {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.service-brands-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-left: 0.5rem;
}

.service-brand-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* 5. Golden Guarantee Banner */
.service-guarantee-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.08);
}

.sg-badge-icon {
  width: 48px;
  height: 48px;
  background: #f59e0b;
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.service-guarantee-banner h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 0.35rem;
}

.service-guarantee-banner p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: #78350f;
  margin: 0;
}

/* 6. High-converting direct bottom CTA */
.service-bottom-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0b1d33 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.service-bottom-cta h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.service-bottom-cta p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin: 0;
}

.service-bottom-cta-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   INFINITE KEYWORDS MARQUEE STRIP (Above Footer)
   Dark background, light text, golden icons, hover pause, seamless loop
   ========================================================================== */
.keywords-marquee-section {
  background: linear-gradient(90deg, #051424 0%, #09223e 50%, #051424 100%);
  border-top: 1px solid rgba(251, 191, 36, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.marquee-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.marquee-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.marquee-scroll-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScrollRTL 38s linear infinite;
  will-change: transform;
}

.marquee-scroll-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  color: #f1f5f9;
  font-family: 'Cairo', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: var(--transition);
  cursor: default;
  display: inline-flex;
  align-items: center;
}

.marquee-item:hover {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.marquee-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  opacity: 0.85;
}

@keyframes marqueeScrollRTL {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* ==========================================================================
   FOOTER TRUST & CREDIBILITY BLOCK (Replaces AI keyword soup)
   ========================================================================== */
.footer-trust-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition);
}

.footer-trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateX(-3px);
}

.footer-trust-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-trust-item span {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #cbd5e1;
}

/* ==========================================================================
   BESPOKE SVG ICONOGRAPHY & BADGES (Anti-AI Polish)
   ========================================================================== */
.svg-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(10, 58, 107, 0.08) 0%, rgba(200, 138, 42, 0.12) 100%);
  border: 1px solid rgba(200, 138, 42, 0.22);
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.benefit-ribbon:hover .svg-icon-wrap,
.service-item-card:hover .svg-icon-wrap,
.feature-box:hover .svg-icon-wrap {
  transform: translateY(-2px) scale(1.06);
  background: linear-gradient(135deg, var(--primary) 0%, #1e5a99 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(10, 58, 107, 0.22);
}

.svg-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-chip-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(200, 138, 42, 0.15);
  color: var(--accent);
  flex-shrink: 0;
}

.trust-chip-svg svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Review Verified Transaction Tag */
.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-top: 0.4rem;
}

.review-meta-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

/* Comparison Mobile Swipe Hint */
.comparison-mobile-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   UNIFIED RESPONSIVE BREAKPOINT AUDIT FIXES
   ========================================================================== */
/* 1. Header collision prevention on mid-screens (1024px - 1180px) */
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav-links {
    gap: 0.55rem;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 0.4rem 0.45rem;
  }
  .logo-img {
    height: 44px;
    max-width: 175px;
  }
  .header-actions .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
  }
}

/* 2. Mobile Screens (< 640px) */
@media (max-width: 640px) {
  .comparison-mobile-hint {
    display: flex;
  }
  .marquee-label {
    display: none;
  }
  .features-grid,
  .service-catalog-grid-2col,
  .service-visual-grid-3col,
  .service-visual-grid-2col,
  .about-showcase-gallery {
    grid-template-columns: 1fr !important;
  }
  .detail-benefits-ribbon {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .benefit-ribbon {
    padding: 1.15rem 0.85rem;
  }
  .benefit-ribbon h4 {
    font-size: 0.95rem;
  }
  .benefit-ribbon p {
    font-size: 0.82rem;
  }
}

/* Extra small mobile (< 400px) */
@media (max-width: 400px) {
  .detail-benefits-ribbon {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   WORDPRESS ADMIN BAR & REACT SPA TRANSITIONS
   ========================================================================== */
body.admin-bar .main-header {
  top: 32px !important;
}
body.admin-bar .mobile-nav-drawer {
  top: 32px !important;
  height: calc(100vh - 32px) !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .main-header {
    top: 46px !important;
  }
  body.admin-bar .mobile-nav-drawer {
    top: 46px !important;
    height: calc(100vh - 46px) !important;
  }
}

/* React SPA Smooth Transition */
.spa-page-view {
  animation: spaFadeIn 0.22s ease-in-out forwards;
}
@keyframes spaFadeIn {
  from {
    opacity: 0.85;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure Marquee always scrolls infinitely in RTL */
.keywords-marquee-section {
  background: linear-gradient(90deg, #051424 0%, #09223e 50%, #051424 100%) !important;
  border-top: 1px solid rgba(251, 191, 36, 0.28) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0.85rem 0 !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
}

.marquee-inner {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.marquee-scroll-container {
  overflow: hidden !important;
  white-space: nowrap !important;
  width: 100% !important;
  display: flex !important;
  position: relative !important;
}

.marquee-track {
  display: inline-flex !important;
  align-items: center !important;
  gap: 1.35rem !important;
  white-space: nowrap !important;
  width: max-content !important;
  animation: marqueeScrollRTL 32s linear infinite !important;
  will-change: transform !important;
}

.marquee-scroll-container:hover .marquee-track {
  animation-play-state: paused !important;
}

.marquee-item {
  color: #f1f5f9 !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

.marquee-sep {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #f59e0b !important;
}

@keyframes marqueeScrollRTL {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}


/* ==========================================================================
   MOBILE HEADER MATCHING SCREENSHOT 1 & MARQUEE FULL-WIDTH
   ========================================================================== */

/* Top bar flex layout */
.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.top-bar-phone {
  font-weight: 800 !important;
  color: #fbbf24 !important;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Header Actions container */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Green WhatsApp Button in Header (matching Screenshot 1) */
.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-whatsapp-header:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

/* Hamburger button styling matching Screenshot 1 */
.mobile-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-desktop-phone {
  display: none !important;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none !important;
  }
  .btn-whatsapp-header {
    display: none !important;
  }
  .btn-desktop-phone {
    display: inline-flex !important;
  }
}

@media (max-width: 991px) {
  .nav-links {
    display: none !important;
  }
}

/* Mobile Top-Bar: Clean, uncluttered mobile view matching modern Saudi app standards */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
}


/* ==========================================================================
   REVIEWS CLIENT PHOTO & NAVBAR WHATSAPP CTA
   ========================================================================== */
.author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fbbf24;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Green WhatsApp Button in Header (Desktop & Mobile) */
.btn-whatsapp-header {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-whatsapp-header:hover {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5);
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .btn-whatsapp-header {
    font-size: 0.86rem;
    padding: 0.48rem 0.95rem;
    border-radius: 10px;
    gap: 0.35rem;
  }
}


/* ==========================================================================
   FAQ ACCORDION COMPONENT (Expand / Collapse & Animation)
   ========================================================================== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
  border-color: #fbbf24;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
  direction: rtl;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question {
  color: #09223e;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.25s ease;
  line-height: 1;
}

.faq-item.active .faq-icon {
  background: #fbbf24;
  color: #09223e;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  margin-top: 0;
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
  animation: faqSlideDown 0.25s ease-out;
}

@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   BULLETPROOF FAQ ACCORDION DISPLAY RULES
   ========================================================================== */
.faq-container {
  max-width: 900px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

.faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
  margin-bottom: 1rem !important;
}

.faq-item:hover {
  border-color: rgba(251, 191, 36, 0.5) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.faq-item.active {
  border-color: #fbbf24 !important;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.15) !important;
}

.faq-question {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.25rem 1.5rem !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-align: right !important;
  direction: rtl !important;
  gap: 1rem !important;
}

.faq-item.active .faq-question {
  color: #09223e !important;
}

.faq-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
  line-height: 1 !important;
}

.faq-item.active .faq-icon {
  background: #fbbf24 !important;
  color: #09223e !important;
  transform: rotate(45deg) !important;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem 1.5rem !important;
  font-family: 'Tajawal', sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: #475569 !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 1rem !important;
}

.faq-item.active .faq-answer {
  display: block !important;
  animation: faqSlideDown 0.25s ease-out !important;
}

@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WordPress Dynamic Menu Support in Main Navbar & Drawer */
.nav-links ul, .nav-links .menu, .drawer-links ul, .drawer-links .menu {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li, .drawer-links li {
  display: contents;
  list-style: none;
}
.nav-links a {
  font-family: 'Cairo', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a.active {
  color: var(--primary);
  font-weight: 800;
}
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after,
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0.75rem;
  left: 0.75rem;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #fbbf24);
  border-radius: var(--radius-full);
}
.drawer-links a {
  font-size: 1.05rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-decoration: none;
  display: block;
}
.drawer-links .current-menu-item > a,
.drawer-links .current_page_item > a,
.drawer-links a.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 700;
}
.drawer-backdrop.open {
  display: block;
  opacity: 1;
}


/* Responsive adjustments for Quick Valuation Box and CTA buttons on mobile */
@media (max-width: 768px) {
  .quick-valuation-box {
    padding: 1.5rem 1.15rem !important;
    gap: 1.25rem !important;
  }
  .quick-valuation-box h3 {
    font-size: 1.35rem !important;
  }
  .quick-valuation-box p {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }
  .quick-valuation-box .btn-lg {
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }
  .qv-graphic {
    padding: 0.85rem 0.5rem !important;
    gap: 0.5rem !important;
  }
  .qv-step-circle {
    width: 46px !important;
    height: 46px !important;
  }
  .qv-step-circle svg {
    width: 20px !important;
    height: 20px !important;
  }
  .qv-arrow {
    font-size: 1.1rem !important;
  }
  .service-bottom-cta {
    padding: 1.5rem 1.15rem !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .service-bottom-cta-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }
  .service-bottom-cta-btns .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}
