/* =====================================================================
   SAUDI APP DEVELOPER v4 — FULL ENTERPRISE DESIGN SYSTEM (EN + AR RTL)
   ===================================================================== */
:root {
  --najdi-950: #021c14;
  --najdi-900: #04291e;
  --najdi-800: #083d2d;
  --najdi-700: #0d523d;
  --saudi-green: #006c35;
  --saudi-light: #00994c;
  --gold-600: #9e7b24;
  --gold-500: #c8a24e;
  --gold-400: #d4af37;
  --gold-300: #ebd078;
  --gold-100: #fbf5e2;
  --sand-50: #faf8f5;
  --sand-100: #f3efe8;
  --sand-200: #e5dec9;
  --ink-900: #0d1f18;
  --ink-700: #2c4239;
  --ink-500: #556b62;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 4px 14px rgba(4, 41, 30, 0.06);
  --shadow-md: 0 14px 36px rgba(4, 41, 30, 0.11);
  --shadow-lg: 0 26px 64px rgba(2, 28, 20, 0.34);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--sand-50); color: var(--ink-900); line-height: 1.65; overflow-x: hidden; }
html[dir="rtl"] body { font-family: var(--font-arabic); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 22px; }
.sadu-bg {
  background-color: var(--najdi-900);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(0, 108, 53, 0.44), transparent 46%),
    radial-gradient(circle at 88% 82%, rgba(212, 175, 55, 0.2), transparent 46%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='0.75' stroke-opacity='0.12'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z'/%3E%3Cpath d='M30 10L50 30L30 50L10 30Z'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-sand { background: var(--sand-50); }
.section-dark { background: var(--najdi-900); color: var(--white); }
.section-head { text-align: center; max-width: 840px; margin: 0 auto 48px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--saudi-green); background: rgba(0, 108, 53, 0.09);
  border: 1px solid rgba(0, 108, 53, 0.22); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold-300); background: rgba(212, 175, 55, 0.15); border-color: rgba(212, 175, 55, 0.4); }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.18; color: var(--najdi-900); margin-bottom: 14px; letter-spacing: -0.02em; }
.section-dark .section-title { color: var(--white); }
.section-subtitle { font-size: 1.02rem; color: var(--ink-500); line-height: 1.65; }
.section-dark .section-subtitle { color: rgba(243, 239, 232, 0.85); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: var(--radius-md); font-weight: 800; font-size: 0.92rem; border: 1.5px solid transparent; cursor: pointer; transition: all 0.22s ease; }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--najdi-950); box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212, 175, 55, 0.48); }
.btn-emerald { background: linear-gradient(135deg, var(--saudi-green), #008542); color: var(--white); box-shadow: 0 8px 22px rgba(0, 108, 53, 0.28); }
.btn-emerald:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-outline-gold { background: rgba(255,255,255,0.06); color: var(--gold-300); border-color: rgba(212, 175, 55, 0.5); }
.btn-outline-gold:hover { background: var(--gold-400); color: var(--najdi-950); }
.btn-outline-dark { background: var(--white); color: var(--najdi-900); border-color: var(--sand-200); }
.btn-outline-dark:hover { border-color: var(--saudi-green); color: var(--saudi-green); }

/* Topbar & Sticky Navbar */
.topbar { background: var(--najdi-950); color: var(--sand-100); font-size: 12px; border-bottom: 1px solid rgba(212, 175, 55, 0.24); padding: 8px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar-items { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: rgba(243, 239, 232, 0.92); }
.dot-gold { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); display: inline-block; }
.topbar-mail { color: var(--gold-300); font-weight: 700; }

.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--sand-200); box-shadow: 0 4px 20px rgba(4, 41, 30, 0.06); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 14px; }
.brand-logo { display: flex; align-items: center; gap: 11px; }
.brand-crest { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, var(--najdi-900), var(--saudi-green)); border: 1.5px solid var(--gold-400); display: flex; align-items: center; justify-content: center; color: var(--gold-300); flex-shrink: 0; }
.brand-names { display: flex; flex-direction: column; line-height: 1.18; }
.brand-ar { font-family: var(--font-arabic); font-weight: 800; font-size: 15px; color: var(--najdi-900); }
.brand-en { font-size: 11px; font-weight: 700; color: var(--saudi-green); }

.nav-menu { display: flex; align-items: center; gap: 18px; list-style: none; }
.nav-item { position: relative; }
.nav-link { font-size: 13.5px; font-weight: 700; color: var(--ink-700); padding: 10px 4px; display: inline-flex; align-items: center; gap: 5px; }
.nav-link:hover { color: var(--saudi-green); }
.dropdown-panel {
  display: none; position: absolute; top: 100%; left: 0; min-width: 580px;
  background: var(--white); border: 1.5px solid var(--gold-400); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow-lg); z-index: 200;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px;
}
[dir="rtl"] .dropdown-panel { left: auto; right: 0; }
.nav-item:hover .dropdown-panel { display: grid; }
.dropdown-panel a { font-size: 12.6px; font-weight: 600; color: var(--ink-700); padding: 7px 10px; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; }
.dropdown-panel a:hover { background: var(--sand-100); color: var(--saudi-green); }
.dropdown-panel .ar-badge { font-family: var(--font-arabic); font-size: 10.5px; color: var(--gold-600); font-weight: 800; }

.nav-actions { display: flex; align-items: center; gap: 9px; }
.btn-nav-wa { background: #e8f7ef; color: var(--saudi-green); border: 1px solid rgba(0, 108, 53, 0.25); padding: 8px 13px; border-radius: 10px; font-size: 12.5px; font-weight: 700; }
.btn-nav-quote { background: var(--najdi-900); color: var(--gold-300); border: 1px solid var(--gold-500); padding: 8px 15px; border-radius: 10px; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.btn-nav-quote:hover { background: var(--gold-400); color: var(--najdi-950); }
.lang-btn { background: var(--sand-100); border: 1px solid var(--sand-200); color: var(--najdi-900); padding: 8px 13px; border-radius: 10px; font-family: var(--font-arabic); font-size: 13px; font-weight: 800; }

/* Gov Bar */
.gov-bar { background: var(--najdi-950); border-bottom: 1px solid rgba(212, 175, 55, 0.3); padding: 11px 0; }
.gov-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gov-label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-300); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--saudi-light); box-shadow: 0 0 0 4px rgba(0, 153, 76, 0.25); }
.gov-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gov-pill { padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(212, 175, 55, 0.28); font-size: 11px; font-weight: 700; color: var(--sand-100); }

/* Hero + Right-Hand Sticky Quote Card */
.hero { position: relative; padding: 56px 0 74px; color: var(--white); overflow: hidden; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(2, 28, 20, 0.95) 0%, rgba(4, 41, 30, 0.89) 55%, rgba(2, 28, 20, 0.88) 100%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 40px; align-items: start; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--gold-300); margin-bottom: 14px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 108, 53, 0.38); border: 1px solid rgba(212, 175, 55, 0.45); font-size: 12px; font-weight: 700; color: var(--gold-300); margin-bottom: 16px; }
.hero-title { font-size: clamp(1.95rem, 3.6vw, 3.15rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--white); }
.hero-title span { color: var(--gold-300); }
.hero-desc { font-size: 1.03rem; color: rgba(243, 239, 232, 0.92); max-width: 630px; margin-bottom: 22px; line-height: 1.68; }
.hero-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 24px; }
.hero-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--sand-100); }
.check-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 153, 76, 0.3); border: 1px solid var(--saudi-light); color: #4ade80; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.kpi-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 18px; border-top: 1px solid rgba(212, 175, 55, 0.28); }
.kpi-box strong { display: block; font-size: 1.55rem; font-weight: 800; color: var(--gold-300); }
.kpi-box span { font-size: 12px; color: rgba(243, 239, 232, 0.84); }

/* Right-Hand Quote Card */
.quote-card { background: var(--white); color: var(--ink-900); border-radius: var(--radius-xl); padding: 26px; border: 2px solid var(--gold-400); box-shadow: var(--shadow-lg); }
.quote-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.quote-card h2, .quote-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--najdi-900); }
.sla-tag { background: #e8f7ef; color: var(--saudi-green); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.quote-sub { font-size: 12.8px; color: var(--ink-500); margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 11px; }
.form-group label { font-size: 11.8px; font-weight: 700; color: var(--najdi-900); }
.form-control { width: 100%; padding: 9.5px 12px; border-radius: 10px; border: 1.5px solid var(--sand-200); background: var(--sand-50); font-size: 13.5px; color: var(--ink-900); }
.form-control:focus { outline: none; border-color: var(--saudi-green); background: var(--white); }

/* Client Logos & Enterprise Trust Strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--sand-200); padding: 28px 0; }
.trust-strip-label { text-align: center; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 16px; }
.logo-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: center; }
.client-logo-box {
  background: var(--sand-50); border: 1px solid var(--sand-200); border-radius: 12px;
  padding: 13px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.client-logo-box:hover { border-color: var(--gold-400); background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.client-logo-box strong { font-size: 13.5px; font-weight: 800; color: var(--najdi-900); letter-spacing: 0.02em; }
.client-logo-box span { font-size: 10.5px; font-weight: 700; color: var(--saudi-green); margin-top: 2px; }

/* Alternating Visual Split Showcases */
.split-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--white); border: 1.5px solid var(--sand-200); border-radius: var(--radius-xl);
  padding: 36px; box-shadow: var(--shadow-md); margin-bottom: 34px;
}
.split-showcase.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 340px; border: 2px solid rgba(212, 175, 55, 0.35); background: var(--najdi-900); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.split-showcase:hover .split-media img { transform: scale(1.04); }
.split-media-badge { position: absolute; bottom: 16px; left: 16px; background: rgba(2, 28, 20, 0.92); color: var(--gold-300); border: 1px solid var(--gold-400); padding: 6px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
[dir="rtl"] .split-media-badge { left: auto; right: 16px; }
.split-content h3 { font-size: 1.65rem; font-weight: 800; color: var(--najdi-900); margin-bottom: 12px; line-height: 1.25; }
.split-content p { font-size: 0.98rem; color: var(--ink-700); margin-bottom: 18px; line-height: 1.7; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.feature-pill { background: var(--sand-100); border: 1px solid var(--sand-200); color: var(--najdi-900); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px; }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.bold-card {
  background: var(--najdi-900); color: var(--white); border: 2px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; transition: transform 0.25s, border-color 0.25s;
}
.bold-card:hover { transform: translateY(-5px); border-color: var(--gold-400); }
.bold-card-img { position: relative; height: 190px; overflow: hidden; background: var(--najdi-950); }
.bold-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: transform 0.45s; }
.bold-card:hover .bold-card-img img { transform: scale(1.06); }
.bold-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,28,20,0.12) 0%, rgba(4,41,30,0.92) 100%); }
.bold-card-tag { position: absolute; top: 12px; left: 14px; background: var(--gold-400); color: var(--najdi-950); font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
[dir="rtl"] .bold-card-tag { left: auto; right: 14px; }
.bold-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.bold-card-body h3 { font-size: 1.18rem; font-weight: 800; color: var(--gold-300); margin-bottom: 9px; }
.bold-card-body p { font-size: 13.8px; color: rgba(243, 239, 232, 0.94); line-height: 1.62; }

.light-card { background: var(--white); border: 1.5px solid var(--sand-200); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: all 0.25s; }
.light-card:hover { transform: translateY(-4px); border-color: var(--gold-400); box-shadow: var(--shadow-md); }
.light-card-img { position: relative; height: 180px; overflow: hidden; background: var(--najdi-900); }
.light-card-img img { width: 100%; height: 100%; object-fit: cover; }
.light-card-body { padding: 22px; flex: 1; }
.light-card-body h3 { font-size: 1.16rem; font-weight: 800; color: var(--najdi-900); margin-bottom: 8px; }
.light-card-body p { font-size: 13.8px; color: var(--ink-500); line-height: 1.6; }

/* Benefits & USP Cards */
.usp-card {
  background: var(--white); border: 1.5px solid var(--sand-200); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: all 0.22s;
}
.usp-card:hover { border-color: var(--saudi-green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.usp-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--najdi-900), var(--saudi-green)); color: var(--gold-300); font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border: 1px solid var(--gold-400); }
.usp-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--najdi-900); margin-bottom: 8px; }
.usp-card p { font-size: 13.6px; color: var(--ink-500); line-height: 1.6; }

/* Tech Stack Grid */
.tech-card { background: rgba(255,255,255,0.05); border: 1.5px solid rgba(212, 175, 55, 0.32); border-radius: var(--radius-lg); padding: 22px; }
.tech-card h4 { color: var(--gold-300); font-size: 1rem; font-weight: 800; margin-bottom: 12px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--sand-100); font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 8px; }

/* Mid-Page CTA Callout Banner */
.cta-callout {
  background: linear-gradient(125deg, var(--najdi-950) 0%, var(--najdi-800) 60%, var(--saudi-green) 100%);
  border: 2px solid var(--gold-400); border-radius: var(--radius-xl); padding: 42px;
  color: var(--white); display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 28px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-callout h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 800; margin-bottom: 10px; color: var(--white); }
.cta-callout p { color: rgba(243, 239, 232, 0.9); font-size: 1rem; }
.cta-callout-actions { display: flex; flex-direction: column; gap: 12px; }

/* Testimonials */
.testimonial-card { background: var(--white); border: 1.5px solid var(--sand-200); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; }
.stars { color: var(--gold-400); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-quote { font-size: 14.2px; color: var(--ink-700); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--sand-200); padding-top: 14px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--najdi-900); color: var(--gold-300); font-weight: 800; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--gold-400); flex-shrink: 0; }
.author-meta strong { display: block; font-size: 13.8px; color: var(--najdi-900); }
.author-meta span { font-size: 12px; color: var(--saudi-green); font-weight: 700; }

/* FAQ Accordion */
.faq-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1.5px solid var(--sand-200); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-size: 15px; font-weight: 800; color: var(--najdi-900); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
[dir="rtl"] .faq-q { text-align: right; }
.faq-a { padding: 0 22px 18px; font-size: 14px; color: var(--ink-700); line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }

/* Interlinking Matrix */
.interlink-box { background: var(--white); border: 1.5px solid var(--sand-200); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm); }
.interlink-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.interlink-pill { padding: 8px 14px; border-radius: 10px; background: var(--sand-100); border: 1px solid var(--sand-200); font-size: 13px; font-weight: 700; color: var(--najdi-900); transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.interlink-pill:hover { background: var(--saudi-green); color: var(--white); border-color: var(--saudi-green); }

/* Pricing Table & Interactive Estimator */
.pricing-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.pricing-table th { background: var(--najdi-900); color: var(--gold-300); text-align: left; padding: 15px 18px; font-size: 13px; }
[dir="rtl"] .pricing-table th { text-align: right; }
.pricing-table td { padding: 14px 18px; border-bottom: 1px solid var(--sand-200); font-size: 13.8px; }
.pricing-table tr:hover td { background: var(--sand-50); }

.estimator-card { background: var(--najdi-900); color: var(--white); border: 2px solid var(--gold-400); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); margin-bottom: 42px; }
.estimator-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: center; }
.estimator-result { background: rgba(255,255,255,0.06); border: 1.5px solid rgba(212, 175, 55, 0.45); border-radius: 18px; padding: 24px; text-align: center; }

/* Popup Consultation Modal */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(2, 28, 20, 0.82); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 18px;
}
.modal-backdrop.active { display: flex; }
body.modal-open { overflow: hidden; }
.modal-box {
  background: var(--white); color: var(--ink-900); border: 2px solid var(--gold-400);
  border-radius: var(--radius-xl); max-width: 560px; width: 100%; padding: 30px;
  position: relative; box-shadow: var(--shadow-lg); animation: modalPop 0.25s ease;
}
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sand-100); border: 1px solid var(--sand-200); font-size: 18px; font-weight: 800;
  color: var(--najdi-900); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
[dir="rtl"] .modal-close { right: auto; left: 16px; }

/* Footer & Floating */
.footer { background: var(--najdi-950); color: rgba(243, 239, 232, 0.82); padding: 64px 0 28px; border-top: 2px solid var(--gold-400); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; gap: 26px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer h4 { color: var(--gold-300); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 12.8px; }
.footer ul a:hover { color: var(--gold-300); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(243, 239, 232, 0.62); }
.float-wa { position: fixed; bottom: 20px; left: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4); }
.float-quote-btn { position: fixed; bottom: 20px; right: 20px; z-index: 90; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--najdi-950); border: 1.5px solid var(--najdi-900); padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 800; box-shadow: 0 10px 28px rgba(2, 28, 20, 0.35); cursor: pointer; }

@media (max-width: 1080px) {
  .nav-menu { display: none; }
  .hero-grid, .split-showcase, .estimator-grid, .grid-3, .grid-4, .grid-2, .footer-grid, .cta-callout { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-showcase.reverse .split-media { order: 0; }
  .hero-checks, .form-grid, .kpi-strip { grid-template-columns: 1fr; }
}


/* v5 Client Logos 9-Grid & Official Certifications Section */
.logo-row-9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.client-logo-card {
  background: var(--sand-50); border: 1.5px solid var(--sand-200); border-radius: 14px;
  padding: 15px 16px; display: flex; align-items: center; gap: 13px; text-align: left;
  transition: all 0.22s ease;
}
[dir="rtl"] .client-logo-card { text-align: right; }
.client-logo-card:hover { border-color: var(--gold-400); background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.client-monogram {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--najdi-900), var(--saudi-green));
  border: 1.5px solid var(--gold-400); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
}
.client-logo-card strong { display: block; font-size: 14px; font-weight: 800; color: var(--najdi-900); line-height: 1.25; }
.client-logo-card span { display: block; font-size: 11px; font-weight: 700; color: var(--saudi-green); margin-top: 2px; }

.cert-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cert-badge-card {
  background: var(--white); border: 1.5px solid var(--sand-200); border-top: 4px solid var(--gold-400);
  border-radius: 16px; padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  transition: all 0.22s ease;
}
.cert-badge-card:hover { transform: translateY(-4px); border-color: var(--saudi-green); box-shadow: var(--shadow-md); }
.cert-seal {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 12px;
  background: radial-gradient(circle at 30% 30%, var(--najdi-800), var(--najdi-950));
  border: 2px solid var(--gold-400); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.cert-badge-card h3 { font-size: 0.98rem; font-weight: 800; color: var(--najdi-900); margin-bottom: 6px; line-height: 1.3; }
.cert-badge-card p { font-size: 12.2px; color: var(--ink-500); line-height: 1.5; margin-bottom: 10px; }
.cert-pill-status { display: inline-block; font-size: 10.5px; font-weight: 800; color: var(--saudi-green); background: #e8f7ef; padding: 3px 10px; border-radius: 999px; }

@media (max-width: 1080px) {
  .logo-row-9, .cert-grid-5 { grid-template-columns: 1fr; }
}


/* v6 Crisp Official Brand Logo Cards & Certification Seals */
.client-logo-card {
  background: var(--white); border: 1.5px solid var(--sand-200); border-radius: 14px;
  padding: 14px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; transition: all 0.22s ease; box-shadow: var(--shadow-sm);
}
.client-logo-card:hover { border-color: var(--gold-400); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.client-logo-img { height: 48px; width: auto; max-width: 210px; object-fit: contain; display: block; margin: 0 auto; }
.client-logo-card span { display: block; font-size: 11px; font-weight: 700; color: var(--ink-500); }

/* Make the static client logo gallery as prominent as the marquee. */
.trust-strip { padding: 52px 0 58px; }
.trust-strip-label { max-width: 1040px; margin: 0 auto 28px; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.45; letter-spacing: .11em; color: var(--najdi-800); }
.logo-row-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.client-logo-card { min-height: 230px; padding: 24px 22px; gap: 14px; border-radius: 20px; box-shadow: 0 8px 26px rgba(4, 41, 30, .07); }
.client-logo-img { width: 100%; height: 132px; max-width: 100%; object-fit: contain; object-position: center; }
.client-logo-card span { max-width: 100%; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--najdi-800); }
/* Square hospital marks need more vertical room to read at the same visual scale. */
.client-logo-img[src*="saudi-german-hospital"] { height: 145px; }
@media (max-width: 1080px) {
  .logo-row-9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo-card { min-height: 215px; }
}
@media (max-width: 560px) {
  .trust-strip { padding: 36px 0 42px; }
  .logo-row-9 { grid-template-columns: 1fr; gap: 15px; }
  .client-logo-card { min-height: 200px; }
  .client-logo-img { height: 118px; }
  .client-logo-img[src*="saudi-german-hospital"] { height: 132px; }
  .client-logo-card span { font-size: 15px; }
}

/* Partner and affiliation panel */
.partner-affiliations { background: var(--white); }
.affiliation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.affiliation-card { min-height: 238px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; background: var(--sand-50); border: 1px solid var(--sand-200); border-radius: 16px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.affiliation-card:hover { transform: translateY(-4px); border-color: var(--gold-400); box-shadow: var(--shadow-md); }
.affiliation-card > img { width: min(100%, 220px); height: 104px; object-fit: contain; }
.affiliation-card h3 { font-size: 1rem; line-height: 1.35; color: var(--najdi-900); }
.affiliation-card p { font-size: .82rem; line-height: 1.5; color: var(--ink-500); }
.dubai-mark, .mcit-mark { width: min(100%, 220px); height: 104px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #063c62; font-weight: 700; line-height: 1.05; }
.dubai-mark { flex-direction: column; font-size: 22px; letter-spacing: .04em; }
.dubai-mark strong { border-left: 4px solid #d3233a; padding-left: 10px; font-size: 20px; }
.mcit-mark { color: #102e66; font-size: 14px; }
.mcit-mark span { font-size: 66px; line-height: 1; color: #13a9b7; }
@media (max-width: 900px) { .affiliation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .affiliation-grid { grid-template-columns: 1fr; } }

/* Moving client logo marquee */
.client-marquee-section { overflow: hidden; padding: 32px 0 38px; background: #fff; border-bottom: 1px solid var(--sand-200); }
.client-marquee-section .trust-strip-label { margin-bottom: 18px; font-size: 15px; letter-spacing: .12em; }
.client-marquee { overflow: hidden; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.client-marquee-track { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.client-marquee-lane { display: flex; overflow: hidden; width: 100%; }
.client-marquee-lane .client-marquee-track { flex-direction: row; width: max-content; gap: 0; animation: clientMarquee 42s linear infinite; }
.client-marquee-lane.reverse .client-marquee-track { animation-direction: reverse; animation-duration: 48s; }
.client-marquee:hover .client-marquee-track { animation-play-state: paused; }
.client-marquee-group { display: flex; flex-shrink: 0; align-items: center; gap: 24px; padding-right: 24px; }
.marquee-logo { width: 250px; height: 112px; flex: 0 0 250px; display: grid; place-items: center; padding: 16px 24px; background: #fff; border: 1px solid var(--sand-200); border-radius: 16px; }
.marquee-logo img { width: 100%; height: 100%; object-fit: contain; }
.marquee-caption { margin-top: 9px; font-size: 15px; font-weight: 800; color: var(--ink-700); text-align: center; }
@keyframes clientMarquee { to { transform: translateX(-50%); } }
.section-head, .split-showcase, .bold-card, .light-card, .cta-callout { animation: sectionRise .65s both; }
@keyframes sectionRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.bold-card:nth-child(3n + 2), .light-card:nth-child(3n + 2) { animation-delay: .08s; }
.bold-card:nth-child(3n), .light-card:nth-child(3n) { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .client-marquee-track { animation: none; } *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.cert-seal-img { width: 74px; height: 74px; object-fit: contain; margin: 0 auto 12px; display: block; }
@media (max-width: 760px) {
  .client-marquee-section { padding: 26px 0 30px; }
  .client-marquee-section .trust-strip-label { font-size: 13px; }
  .client-marquee-track { gap: 12px; }
  .client-marquee-group { gap: 14px; padding-right: 14px; }
  .marquee-logo { width: 205px; height: 104px; flex-basis: 205px; padding: 13px 18px; }
  .marquee-caption { font-size: 13px; }
}

/* Industry-specific app development, automation and digital solution section */
.industry-help-section { background: var(--sand-50); }
.industry-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.industry-help-card { height: 100%; padding: 28px; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.industry-help-card:hover { transform: translateY(-4px); border-color: var(--gold-400); box-shadow: var(--shadow-md); }
.industry-help-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 15px; background: var(--gold-100); font-size: 26px; }
.industry-help-card h3 { margin-bottom: 10px; color: var(--najdi-900); font-size: 1.2rem; line-height: 1.3; }
.industry-help-card p { color: var(--ink-500); font-size: .95rem; line-height: 1.7; }
.industry-help-card ul { margin: 17px 0 0; padding-inline-start: 20px; color: var(--ink-700); font-size: .88rem; line-height: 1.8; }
.industry-help-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 26px; padding: 22px 26px; background: var(--najdi-900); color: #fff; border-radius: var(--radius-lg); }
.industry-help-cta p { max-width: 760px; color: var(--sand-100); }

/* Strong CTA tile fills otherwise empty cells at the end of three-column grids. */
.grid-fill-cta { min-height: 100%; padding: clamp(24px, 3vw, 42px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(212, 175, 55, .55); border-radius: var(--radius-xl); background: radial-gradient(circle at 90% 10%, rgba(212,175,55,.2), transparent 42%), linear-gradient(135deg, var(--najdi-900), var(--najdi-950)); color: #fff; box-shadow: var(--shadow-md); }
.grid-fill-copy { max-width: 680px; }
.grid-fill-kicker { display: inline-block; margin-bottom: 10px; color: var(--gold-300); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.grid-fill-copy h3 { margin-bottom: 10px; color: #fff; font-size: clamp(1.5rem, 2vw, 2.25rem); line-height: 1.2; font-weight: 800; }
.grid-fill-copy p { color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.6; }
.grid-fill-button { flex: 0 0 auto; min-height: 52px; padding: 14px 22px; border: 0; border-radius: 12px; background: var(--gold-400); color: var(--najdi-950); font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(212,175,55,.25); transition: transform .2s, box-shadow .2s; }
.grid-fill-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,175,55,.38); }
@media (max-width: 1080px) { .grid-fill-cta { grid-column: auto !important; } }
@media (max-width: 900px) { .industry-help-grid { grid-template-columns: 1fr; } .industry-help-cta { align-items: flex-start; flex-direction: column; } }
.affiliation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.affiliation-card > img { width: min(100%, 300px); height: 140px; object-fit: contain; }
.affiliation-text-mark { display: none; }
@media (max-width: 900px) { .affiliation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .affiliation-grid { grid-template-columns: 1fr; } }
/* Keep every supplied brand mark fully inside its marquee card; image and label use separate rows. */
.marquee-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 12px 18px; overflow: hidden; }
.marquee-logo img { display: block; flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; height: auto; max-width: 100%; max-height: 75px; object-fit: contain; object-position: center; }
.marquee-caption { flex: 0 0 auto; width: 100%; margin-top: 0; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .marquee-logo { height: 112px; padding: 11px 14px; } .marquee-logo img { max-height: 70px; } .marquee-caption { font-size: 12px; } }
/* Marquee lane markup and fit corrections */
.client-marquee-lane { position: relative; }
.client-marquee-lane > .client-marquee-track { display: flex; flex-direction: row; flex-wrap: nowrap; width: max-content; gap: 0; }
.client-marquee-group { flex: 0 0 auto; flex-wrap: nowrap; }
.marquee-logo { box-sizing: border-box; width: 220px; height: 124px; flex: 0 0 220px; overflow: visible; }
.marquee-logo img { width: 100%; height: 78px; flex: 0 0 78px; max-width: 100%; max-height: 78px; object-fit: contain; object-position: center; }
.marquee-caption { display: block; width: 100%; min-height: 20px; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-size: 13px; line-height: 1.2; }
.client-marquee-section { overflow: hidden; }
@media (max-width: 760px) { .marquee-logo { width: 190px; height: 112px; flex-basis: 190px; } .marquee-logo img { height: 66px; flex-basis: 66px; max-height: 66px; } .marquee-caption { font-size: 12px; } }

/* Service-page SEO context and detailed, page-specific technology stacks */
.service-seo-intro { background: var(--white); padding-top: 54px; padding-bottom: 54px; }
.service-seo-panel { padding: clamp(26px, 4vw, 48px); border: 1px solid var(--sand-200); border-left: 5px solid var(--saudi-green); border-radius: var(--radius-xl); background: linear-gradient(120deg, #fff, var(--sand-50)); box-shadow: var(--shadow-sm); }
[dir="rtl"] .service-seo-panel { border-left: 1px solid var(--sand-200); border-right: 5px solid var(--saudi-green); }
.service-seo-panel h2 { max-width: 920px; margin-bottom: 14px; color: var(--najdi-900); font-size: clamp(1.6rem, 3vw, 2.45rem); line-height: 1.2; font-weight: 800; }
.service-seo-panel p { max-width: 1000px; color: var(--ink-700); font-size: 1rem; line-height: 1.75; }
.service-keyword-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.service-keyword-links span { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(0,108,53,.22); border-radius: 999px; background: rgba(0,108,53,.07); color: var(--najdi-800); font-size: .82rem; font-weight: 800; }
.service-tech-grid { align-items: stretch; }
.service-tech-grid .tech-card { height: 100%; }
.service-tech-grid .tech-card p { margin-bottom: 14px; color: rgba(243,239,232,.82); font-size: .88rem; line-height: 1.55; }
.service-tech-grid .tech-tags { margin-top: auto; }
@media (max-width: 1080px) { .service-tech-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .service-tech-grid { grid-template-columns: 1fr; } }

/* Industry-specific application types and feature modules */
.industry-modules-section { background: #fff; }
.industry-app-types { margin: 0 auto 24px; padding: 22px 24px; border: 1px solid var(--sand-200); border-radius: var(--radius-lg); background: var(--sand-50); }
.industry-app-types h3 { margin-bottom: 14px; color: var(--najdi-900); font-size: 1.12rem; font-weight: 800; }
.industry-app-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-app-chip { padding: 10px 15px; border-radius: 999px; background: var(--najdi-900); color: var(--gold-300); font-size: .9rem; font-weight: 800; }
.industry-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.industry-module-card { min-height: 148px; padding: 22px; border: 1px solid var(--sand-200); border-top: 3px solid var(--saudi-green); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.industry-module-card h3 { margin-bottom: 8px; color: var(--najdi-900); font-size: 1.02rem; line-height: 1.35; }
.industry-module-card p { color: var(--ink-500); font-size: .9rem; line-height: 1.65; }
.industry-modules-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 24px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--sand-100); }
.industry-modules-cta p { max-width: 760px; color: var(--ink-700); }
@media (max-width: 900px) { .industry-module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .industry-module-grid { grid-template-columns: 1fr; } .industry-modules-cta { align-items: flex-start; flex-direction: column; } }

/* Mobile navigation, modal and form behavior shared by all pages. */
.navbar-inner { position: relative; }
.mobile-nav-toggle { display: none; width: 44px; height: 42px; flex: 0 0 auto; padding: 9px; border: 1px solid var(--sand-200); border-radius: 11px; background: #fff; color: var(--najdi-900); cursor: pointer; }
.mobile-nav-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.mobile-nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.quote-success, .quote-error { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 800; font-size: .92rem; line-height: 1.5; }
.quote-success { background: #e8f7ef; border: 1px solid #77c99a; color: #064b2a; }
.quote-error { background: #fff0ed; border: 1px solid #e6a39a; color: #8c2517; }
button:disabled { opacity: .65; cursor: wait; }
.modal-box { max-height: min(92vh, 900px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 1080px) {
  .navbar-inner { height: auto; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .mobile-nav-toggle { display: block; order: 2; }
  .nav-actions { order: 3; gap: 7px; }
  .nav-menu { display: none; position: absolute; z-index: 250; top: 100%; left: -22px; right: -22px; width: auto; max-height: calc(100vh - 100px); overflow: auto; padding: 14px 20px 22px; background: #fff; border-top: 1px solid var(--sand-200); box-shadow: var(--shadow-lg); align-items: stretch; flex-direction: column; gap: 4px; }
  .nav-menu.mobile-open { display: flex; }
  .nav-menu .nav-item { width: 100%; }
  .nav-menu .nav-link { width: 100%; padding: 12px 10px; }
  .nav-menu .dropdown-panel { position: static; display: grid; min-width: 0; width: 100%; padding: 6px 10px 12px; border: 0; border-radius: 0; box-shadow: none; grid-template-columns: 1fr; gap: 2px; }
  .nav-menu .dropdown-panel a { padding: 8px 10px; }
  .nav-menu .dropdown-panel a:hover { background: var(--sand-50); }
}
@media (max-width: 680px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; }
  .topbar-items { gap: 5px 12px; }
  .topbar-mail { font-size: 11px; }
  .navbar-inner { gap: 8px; }
  .brand-logo { gap: 7px; min-width: 0; }
  .brand-crest { width: 36px; height: 36px; }
  .brand-ar { font-size: 12px; }
  .brand-en { font-size: 10px; }
  .nav-actions { width: 100%; justify-content: flex-end; }
  .btn-nav-wa { display: none; }
  .btn-nav-quote, .lang-btn { padding: 8px 10px; font-size: 11.5px; }
  .nav-menu { left: -22px; right: -22px; }
  .quote-card, .modal-box { padding: 20px 16px; }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal-box { border-radius: 20px 20px 12px 12px; max-height: 92dvh; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-control { min-height: 44px; font-size: 16px; }
  textarea.form-control { min-height: 86px; }
  .float-wa { left: 12px; bottom: 12px; width: 48px; height: 48px; }
  .float-quote-btn { right: 12px; bottom: 12px; padding: 11px 14px; font-size: 12px; }
  [dir="rtl"] .float-wa { left: auto; right: 12px; }
  [dir="rtl"] .float-quote-btn { right: auto; left: 12px; }
}

/* Testimonial slider with visible next steps */
.testimonial-slider { position: relative; }
.testimonial-slider-track { display: flex; grid-template-columns: none; gap: 18px; overflow-x: auto; padding: 4px 3px 18px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--gold-400) var(--sand-100); }
.testimonial-slider-track > .testimonial-card { box-sizing: border-box; flex: 0 0 calc((100% - 36px) / 3); min-width: 0; min-height: 260px; scroll-snap-align: start; }
.testimonial-slider-actions { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 12px auto 26px; color: var(--ink-500); font-size: .88rem; font-weight: 700; }
.testimonial-slider-actions button { width: 42px; height: 42px; border: 1px solid var(--sand-200); border-radius: 50%; background: #fff; color: var(--najdi-900); font-size: 1.25rem; font-weight: 900; cursor: pointer; box-shadow: var(--shadow-sm); }
.testimonial-slider-actions button i { line-height: 1; margin: 0; }
html[dir="rtl"] .testimonial-slider-actions button i { transform: scaleX(-1); }
button i.fa-arrow-left, button i.fa-arrow-right { display: inline-flex; flex: 0 0 1em; align-items: center; justify-content: center; width: 1em; height: 1em; line-height: 1; vertical-align: middle; margin-inline-start: .4em; }
button.btn i.fa-arrow-left, button.btn i.fa-arrow-right,
button.business-enquiry-button i.fa-arrow-left, button.business-enquiry-button i.fa-arrow-right,
.testimonial-slider-actions button i.fa-arrow-left, .testimonial-slider-actions button i.fa-arrow-right { margin-inline-start: 0; }
.testimonial-section-cta, .trust-section-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 22px 26px; border: 1px solid var(--sand-200); border-radius: 18px; background: var(--sand-50); }
.testimonial-section-cta p, .trust-section-cta p { color: var(--najdi-900); font-size: 1.08rem; font-weight: 800; }
@media (max-width: 900px) { .testimonial-slider-track > .testimonial-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 620px) { .testimonial-slider-track > .testimonial-card { flex-basis: 88%; min-height: 250px; } .testimonial-section-cta, .trust-section-cta { align-items: flex-start; flex-direction: column; padding: 20px; } .testimonial-slider-actions { gap: 10px; font-size: .78rem; } }

/* Shared business enquiry CTA between page sections */
.business-enquiry-cta { padding: clamp(30px, 5vw, 68px) 0; background: linear-gradient(180deg, #f8f6f0 0%, #fff 100%); }
.business-enquiry-panel { position: relative; isolation: isolate; overflow: hidden; min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: clamp(22px, 5vw, 64px); padding: clamp(30px, 5vw, 64px); border: 1px solid rgba(222, 182, 65, .65); border-radius: 26px; background: radial-gradient(ellipse at 85% 10%, rgba(218, 174, 55, .19), transparent 38%), linear-gradient(125deg, #003b2a 0%, #00553a 56%, #003723 100%); box-shadow: 0 22px 50px rgba(0, 50, 34, .15); }
.business-enquiry-panel::before, .business-enquiry-panel::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(239, 203, 93, .26); border-radius: 50%; pointer-events: none; }
.business-enquiry-panel::before { width: 330px; height: 330px; right: -95px; top: -170px; }
.business-enquiry-panel::after { width: 430px; height: 430px; right: -146px; top: -220px; }
.business-enquiry-ornament { position: absolute; top: 22px; right: 30px; color: #f1cf62; font-size: 30px; opacity: .8; }
[dir="rtl"] .business-enquiry-ornament { right: auto; left: 30px; }
.business-enquiry-copy { max-width: 740px; }
.business-enquiry-copy h2 { margin: 8px 0 12px; color: #fff; font-size: clamp(1.8rem, 4vw, 3.15rem); line-height: 1.12; font-weight: 900; }
.business-enquiry-copy p { max-width: 660px; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }
.business-enquiry-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 18px; min-height: 62px; padding: 15px 27px; border: 2px solid #f2cf5c; border-radius: 999px; background: linear-gradient(135deg, #e2b83e, #f3d76c); box-shadow: 0 10px 25px rgba(0,0,0,.2); color: #073c2a; font-size: 1.08rem; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.business-enquiry-button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.26); }
@media (max-width: 760px) { .business-enquiry-panel { align-items: flex-start; flex-direction: column; padding: 30px 24px; border-radius: 20px; } .business-enquiry-button { width: 100%; } .business-enquiry-ornament { top: 13px; right: 18px; } [dir="rtl"] .business-enquiry-ornament { right: auto; left: 18px; } }

/* Image-led enquiry banner; remains usable when the supplied artwork has not been added yet. */
.hero-banner.business-enquiry-cta { width: 100%; max-width: 1600px; margin: 30px auto; position: relative; overflow: hidden; padding: 0; line-height: 0; background: transparent; border: 0; }
.hero-banner.business-enquiry-cta > img { width: 100%; height: auto; display: block; }
.hero-banner.business-enquiry-cta .cta-link { position: absolute; left: 56.5%; top: 79.5%; width: 33.5%; height: 11%; display: block; padding: 0; border: 0; border-radius: 60px; background: transparent; cursor: pointer; z-index: 2; }
.hero-banner.business-enquiry-cta .cta-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hero-banner.business-enquiry-cta .business-enquiry-fallback { display: none; line-height: normal; }
.hero-banner.business-enquiry-cta.hero-banner-missing > img, .hero-banner.business-enquiry-cta.hero-banner-missing > .cta-link { display: none; }
.hero-banner.business-enquiry-cta.hero-banner-missing > .business-enquiry-fallback { display: block; }
@media (max-width: 600px) { .hero-banner.business-enquiry-cta { margin: 0 auto; } }
/* Keep an immediately visible CTA while the optional artwork is loading or unavailable. */
.hero-banner.business-enquiry-cta > img { display: none; }
.hero-banner.business-enquiry-cta .cta-link { display: none; }
.hero-banner.business-enquiry-cta .business-enquiry-fallback { display: block; }
.hero-banner.business-enquiry-cta.hero-banner-loaded > img { display: block; }
.hero-banner.business-enquiry-cta.hero-banner-loaded > .cta-link { display: block; }
.hero-banner.business-enquiry-cta.hero-banner-loaded > .business-enquiry-fallback { display: none; }
.hero-banner.business-enquiry-cta.hero-banner-missing > img,
.hero-banner.business-enquiry-cta.hero-banner-missing > .cta-link { display: none; }
.hero-banner.business-enquiry-cta.hero-banner-missing > .business-enquiry-fallback { display: block; }
/* Reserve the banner's aspect ratio and let lazy loading fetch the artwork. */
.hero-banner.business-enquiry-cta { aspect-ratio: 1672 / 941; }
.hero-banner.business-enquiry-cta > img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s ease; }
.hero-banner.business-enquiry-cta .business-enquiry-fallback { position: absolute; inset: 0; display: flex; align-items: center; line-height: normal; }
.hero-banner.business-enquiry-cta .business-enquiry-fallback .container { width: min(100% - 40px, 1280px); }
.hero-banner.business-enquiry-cta .cta-link { display: none; }
.hero-banner.business-enquiry-cta.hero-banner-loaded > img { display: block; opacity: 1; }
.hero-banner.business-enquiry-cta.hero-banner-loaded > .cta-link { display: block; }
.hero-banner.business-enquiry-cta.hero-banner-loaded > .business-enquiry-fallback { display: none; }
.hero-banner.business-enquiry-cta.hero-banner-missing > img,
.hero-banner.business-enquiry-cta.hero-banner-missing > .cta-link { display: none; }
.hero-banner.business-enquiry-cta.hero-banner-missing > .business-enquiry-fallback { display: flex; }
@media (max-width: 600px) {
  .hero-banner.business-enquiry-cta { margin: 0 auto; }
  .hero-banner.business-enquiry-cta .business-enquiry-fallback .business-enquiry-panel { min-height: 0; padding: 18px 15px; border-radius: 14px; gap: 10px; }
  .hero-banner.business-enquiry-cta .business-enquiry-copy h2 { font-size: clamp(1rem, 4.8vw, 1.5rem); margin: 3px 0 5px; }
  .hero-banner.business-enquiry-cta .business-enquiry-copy p { font-size: clamp(.7rem, 3vw, .9rem); line-height: 1.35; }
  .hero-banner.business-enquiry-cta .business-enquiry-copy .eyebrow { font-size: .65rem; }
  .hero-banner.business-enquiry-cta .business-enquiry-button { min-height: 42px; padding: 8px 13px; font-size: .82rem; }
}
