/* ==========================================================================
   NASIM AL RIYF — Theme v2
   Modern B2B trading · High contrast · Solid grid · Clean sans-serif
   ========================================================================== */

:root {
  /* Brand palette — bolder, higher contrast */
  --nar-green-900: #143821;
  --nar-green-800: #1f4d2b;       /* primary */
  --nar-green-700: #2d6a3e;
  --nar-green-500: #4a8a5e;
  --nar-green-100: #e6f0e9;
  --nar-green-50:  #f3f8f4;

  --nar-red:       #c8323a;       /* used very sparingly */
  --nar-red-dark:  #9e2128;

  --nar-gold:      #c89232;       /* slightly deeper for contrast on white */
  --nar-gold-soft: #e8c878;
  --nar-gold-50:   #fbf5e6;

  --nar-bg:        #ffffff;       /* clean white base */
  --nar-bg-alt:    #f7f8f6;       /* subtle section break */
  --nar-bg-warm:   #faf7f1;       /* warm section, very subtle */
  --nar-surface:   #ffffff;

  --nar-ink-900:   #0d1f14;
  --nar-ink-700:   #2a3a30;
  --nar-ink-500:   #5a6b60;
  --nar-ink-300:   #94a299;
  --nar-line:      #e4e8e5;
  --nar-line-dark: #d2d8d4;

  /* Radii — restrained, blocky */
  --nar-r-xs: 3px;
  --nar-r-sm: 6px;
  --nar-r-md: 10px;
  --nar-r-lg: 14px;
  --nar-r-pill: 999px;

  /* Shadows */
  --nar-shadow-xs: 0 1px 2px rgba(13, 31, 20, 0.04);
  --nar-shadow-sm: 0 2px 4px rgba(13, 31, 20, 0.06);
  --nar-shadow-md: 0 4px 12px rgba(13, 31, 20, 0.08);
  --nar-shadow-lg: 0 12px 32px rgba(13, 31, 20, 0.12);

  /* Typography — with system fallbacks if Google Fonts fail to load */
  --nar-font-display: 'Manrope', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nar-font-body: 'Inter', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nar-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace;

  /* Layout */
  --nar-container: 1240px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--nar-font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--nar-ink-700);
  background: var(--nar-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
}

[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--nar-font-display);
  font-weight: 700;
  color: var(--nar-ink-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  letter-spacing: 0;
  font-family: 'Noto Sans Arabic', sans-serif;
  line-height: 1.4;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  margin: 0 0 1rem;
  color: var(--nar-ink-500);
}
p:last-child { margin-bottom: 0; }

a {
  color: var(--nar-green-700);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--nar-green-900); }

.lead {
  font-size: 1.0625rem;
  color: var(--nar-ink-500);
  line-height: 1.7;
  font-weight: 400;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nar-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nar-gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--nar-gold);
}
[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  font-size: 0.85rem;
}

.container {
  max-width: var(--nar-container);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}
@media (min-width: 768px) {
  .container { padding-right: 32px; padding-left: 32px; }
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.topbar {
  background: var(--nar-green-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar a { color: rgba(255, 255, 255, 0.82); margin: 0 10px; }
.topbar a:hover { color: var(--nar-gold-soft); }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px;
  border-radius: var(--nar-r-sm);
}
.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.18s ease;
  border-radius: var(--nar-r-xs);
  font-family: var(--nar-font-body);
}
.lang-switch button:hover { color: white; }
.lang-switch button.active {
  background: var(--nar-gold);
  color: var(--nar-green-900);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

/* SAFETY NET — these rules ensure the navbar is horizontal and styled even if
   Bootstrap CSS fails to load. They reinforce the layout on top of Bootstrap. */
.navbar-nar .navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-nar .nav-item {
  list-style: none;
  position: relative;
}
.navbar-nar .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  list-style: none;
  background: #fff;
  z-index: 1000;
}
.navbar-nar .dropdown-menu.show,
.navbar-nar .nav-item.dropdown:hover .dropdown-menu {
  display: block;
}
[dir="rtl"] .navbar-nar .dropdown-menu { left: auto; right: 0; }
.navbar-nar .dropdown-menu li { list-style: none; }
.navbar-nar .collapse:not(.show) {
  display: none;
}
@media (min-width: 992px) {
  .navbar-nar .collapse,
  .navbar-nar .collapse:not(.show) { display: flex !important; }
  .navbar-nar .navbar-toggler { display: none; }
}
@media (max-width: 991.98px) {
  .navbar-nar .navbar-nav { flex-direction: column; align-items: stretch; }
  .navbar-nar .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    margin-top: 0;
  }
  .navbar-nar .navbar-toggler {
    background: transparent;
    border: 1px solid var(--nar-line);
    border-radius: var(--nar-r-sm);
    padding: 6px 10px;
    cursor: pointer;
  }
  .navbar-nar .navbar-toggler-icon {
    display: inline-block;
    width: 20px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232a3a30' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
}

.navbar-nar {
  background: var(--nar-bg);
  padding: 14px 0;
  border-bottom: 1px solid var(--nar-line);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.navbar-nar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand-nar {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.navbar-brand-nar:hover { text-decoration: none; }
.navbar-brand-nar .logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--nar-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nar-green-800);
  font-family: var(--nar-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--nar-line);
}
.navbar-brand-nar .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.navbar-brand-nar .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-brand-nar .brand-name {
  font-family: var(--nar-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--nar-ink-900);
  letter-spacing: -0.01em;
}
.navbar-brand-nar .brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nar-ink-500);
  margin-top: 3px;
}

.navbar-nar .nav-link {
  color: var(--nar-ink-700) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  transition: color 0.18s ease;
}
.navbar-nar .nav-link:hover { color: var(--nar-green-800) !important; }
.navbar-nar .nav-link.active {
  color: var(--nar-green-800) !important;
  font-weight: 600;
}
.navbar-nar .dropdown-menu {
  border: 1px solid var(--nar-line);
  border-radius: var(--nar-r-md);
  box-shadow: var(--nar-shadow-md);
  padding: 8px;
  margin-top: 8px;
}
.navbar-nar .dropdown-item {
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: var(--nar-r-sm);
  color: var(--nar-ink-700);
}
.navbar-nar .dropdown-item:hover {
  background: var(--nar-green-50);
  color: var(--nar-green-800);
}
[dir="rtl"] .navbar-nar .nav-link { font-size: 1rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-nar-primary,
.btn-nar-ghost,
.btn-nar-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--nar-font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: var(--nar-r-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-nar-primary {
  background: var(--nar-green-800);
  color: #fff;
}
.btn-nar-primary:hover {
  background: var(--nar-green-900);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--nar-shadow-md);
}

.btn-nar-ghost {
  background: transparent;
  color: var(--nar-green-800);
  border: 1.5px solid var(--nar-green-800);
  padding: 10.5px 22.5px;
}
.btn-nar-ghost:hover {
  background: var(--nar-green-800);
  color: #fff;
}

.btn-nar-gold {
  background: var(--nar-gold);
  color: var(--nar-green-900);
}
.btn-nar-gold:hover {
  background: var(--nar-gold-soft);
  color: var(--nar-green-900);
  transform: translateY(-1px);
  box-shadow: var(--nar-shadow-md);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--nar-bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--nar-green-50);
  z-index: 0;
}
[dir="rtl"] .hero::before {
  right: auto;
  left: 0;
}
@media (max-width: 991px) {
  .hero::before { display: none; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--nar-green-800); }

.hero-visual {
  position: relative;
  border-radius: var(--nar-r-lg);
  overflow: hidden;
  box-shadow: var(--nar-shadow-lg);
  aspect-ratio: 4/5;
  background: var(--nar-bg-alt);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--nar-r-md);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--nar-shadow-md);
}
.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--nar-r-sm);
  background: var(--nar-green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.hero-badge-text {
  font-size: 0.82rem;
  color: var(--nar-ink-500);
  line-height: 1.4;
}
.hero-badge-text strong {
  display: block;
  color: var(--nar-ink-900);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 2px;
  font-family: var(--nar-font-display);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--nar-line);
}
.hero-stats > div {
  padding: 0 24px;
  border-left: 1px solid var(--nar-line);
}
.hero-stats > div:first-child {
  padding-left: 0;
  border-left: none;
}
[dir="rtl"] .hero-stats > div {
  border-left: none;
  border-right: 1px solid var(--nar-line);
  padding: 0 24px;
}
[dir="rtl"] .hero-stats > div:first-child {
  padding-right: 0;
  border-right: none;
}
.hero-stat-num {
  font-family: var(--nar-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--nar-green-800);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--nar-ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 96px 0; }
.section-light { background: var(--nar-bg-alt); }
.section-warm  { background: var(--nar-bg-warm); }
.section-dark {
  background: var(--nar-green-900);
  color: rgba(255, 255, 255, 0.78);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.74); }
.section-dark .eyebrow { color: var(--nar-gold-soft); }
.section-dark .eyebrow::before { background: var(--nar-gold-soft); }
.section-dark .lead { color: rgba(255, 255, 255, 0.82); }

.section-header { margin-bottom: 56px; }
.section-header h2 .accent { color: var(--nar-green-800); }
.section-dark .section-header h2 .accent { color: var(--nar-gold); }

/* ==========================================================================
   Product Cards
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: var(--nar-r-lg);
  overflow: hidden;
  border: 1px solid var(--nar-line);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nar-shadow-md);
  border-color: var(--nar-green-500);
  color: inherit;
}
.product-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--nar-bg-alt);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-number {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: var(--nar-green-800);
  padding: 4px 10px;
  border-radius: var(--nar-r-sm);
  font-family: var(--nar-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
}
[dir="rtl"] .product-card-number { left: auto; right: 14px; }
.product-card-status {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--nar-green-800);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--nar-r-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
[dir="rtl"] .product-card-status { right: auto; left: 14px; }
.product-card-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--nar-gold);
  border-radius: 50%;
}
.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}
.product-card-body p {
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 18px;
  line-height: 1.55;
}
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nar-green-800);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-card-link svg { transition: transform 0.25s ease; }
.product-card:hover .product-card-link svg { transform: translateX(4px); }
[dir="rtl"] .product-card-link svg { transform: scaleX(-1); }
[dir="rtl"] .product-card:hover .product-card-link svg { transform: translateX(-4px) scaleX(-1); }

/* ==========================================================================
   Feature Items
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-item {
  padding: 28px;
  background: #fff;
  border-radius: var(--nar-r-lg);
  border: 1px solid var(--nar-line);
  transition: all 0.25s ease;
}
.feature-item:hover {
  border-color: var(--nar-green-500);
  box-shadow: var(--nar-shadow-md);
  transform: translateY(-2px);
}
.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--nar-r-md);
  background: var(--nar-green-50);
  color: var(--nar-green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-item h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nar-ink-900);
}
.feature-item p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Trust Center
   ========================================================================== */

.trust-card {
  background: #fff;
  border: 1px solid var(--nar-line);
  border-radius: var(--nar-r-lg);
  padding: 36px;
  height: 100%;
  position: relative;
}
.trust-card-flag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nar-line);
}
.trust-card-flag-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--nar-r-sm);
  background: var(--nar-green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.trust-card-flag-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nar-ink-500);
  font-weight: 600;
}
.trust-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.trust-card-subtitle {
  font-size: 0.85rem;
  color: var(--nar-ink-500);
  margin-bottom: 24px;
}
.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--nar-line);
  gap: 12px;
}
.trust-row:last-of-type { border-bottom: none; }
.trust-row-label {
  font-size: 0.85rem;
  color: var(--nar-ink-500);
  flex-shrink: 0;
}
.trust-row-value {
  font-family: var(--nar-font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nar-ink-900);
  text-align: right;
}
[dir="rtl"] .trust-row-value { text-align: left; }
.trust-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nar-green-50);
  color: var(--nar-green-800);
  padding: 8px 14px;
  border-radius: var(--nar-r-sm);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 24px;
}
.trust-status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--nar-green-700);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(45, 106, 62, 0.2);
}

.activities-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.activity-pill {
  background: var(--nar-green-50);
  padding: 10px 14px;
  border-radius: var(--nar-r-sm);
  font-size: 0.85rem;
  color: var(--nar-ink-900);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.activity-pill::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--nar-green-800);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
  padding: 72px 0 60px;
  background: var(--nar-green-900);
  color: #fff;
  position: relative;
  border-bottom: 4px solid var(--nar-gold);
}
.page-header h1 {
  color: #fff;
  margin-bottom: 1rem;
}
.page-header h1 .accent { color: var(--nar-gold); }
.page-header p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}
.page-header .eyebrow { color: var(--nar-gold-soft); }
.page-header .eyebrow::before { background: var(--nar-gold-soft); }
.breadcrumb-nar {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}
.breadcrumb-nar a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb-nar a:hover { color: var(--nar-gold-soft); }
.breadcrumb-nar .sep { margin: 0 8px; color: var(--nar-gold); }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-control-nar {
  background: #fff;
  border: 1px solid var(--nar-line-dark);
  border-radius: var(--nar-r-sm);
  padding: 11px 14px;
  font-family: var(--nar-font-body);
  font-size: 0.92rem;
  color: var(--nar-ink-900);
  width: 100%;
  transition: all 0.18s ease;
  line-height: 1.4;
}
.form-control-nar:focus {
  outline: none;
  border-color: var(--nar-green-700);
  box-shadow: 0 0 0 3px rgba(45, 106, 62, 0.12);
}
.form-control-nar::placeholder { color: var(--nar-ink-300); }
.form-label-nar {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nar-ink-700);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
textarea.form-control-nar {
  min-height: 120px;
  resize: vertical;
}
select.form-control-nar {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%235a6b60' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
[dir="rtl"] select.form-control-nar {
  background-position: left 14px center;
  padding-right: 14px;
  padding-left: 38px;
}

.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: var(--nar-r-sm);
  margin-top: 16px;
  font-size: 0.9rem;
}
.form-msg.show { display: block; }
.form-msg.success {
  background: var(--nar-green-50);
  color: var(--nar-green-800);
  border: 1px solid var(--nar-green-100);
}
.form-msg.error {
  background: #fdf0f0;
  color: var(--nar-red-dark);
  border: 1px solid #f5d0d3;
}

/* ==========================================================================
   Office / Contact Cards
   ========================================================================== */

.office-card {
  background: #fff;
  border: 1px solid var(--nar-line);
  border-radius: var(--nar-r-lg);
  padding: 32px;
  height: 100%;
}
.office-card .flag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nar-gold);
  margin-bottom: 10px;
}
.office-card h3, .office-card h4 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.office-card .office-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--nar-ink-700);
}
.office-card .office-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--nar-green-700);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial {
  background: #fff;
  border: 1px solid var(--nar-line);
  border-radius: var(--nar-r-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-quote-mark {
  font-family: var(--nar-font-display);
  font-size: 2.5rem;
  color: var(--nar-gold);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 800;
}
.testimonial p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--nar-ink-700);
  margin-bottom: 20px;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--nar-line);
}
.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--nar-green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--nar-font-display);
}
.testimonial-author-name {
  font-weight: 700;
  color: var(--nar-ink-900);
  font-size: 0.9rem;
  line-height: 1.2;
}
.testimonial-author-role {
  font-size: 0.8rem;
  color: var(--nar-ink-500);
  margin-top: 2px;
}

/* ==========================================================================
   Trade Corridors
   ========================================================================== */

.corridor-card {
  background: #fff;
  border: 1px solid var(--nar-line);
  border-radius: var(--nar-r-lg);
  padding: 32px;
  height: 100%;
  transition: all 0.25s ease;
}
.corridor-card:hover {
  border-color: var(--nar-green-500);
  box-shadow: var(--nar-shadow-md);
  transform: translateY(-2px);
}
.corridor-card-number {
  font-family: var(--nar-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nar-gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.corridor-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}
.corridor-card p { font-size: 0.92rem; }
.corridor-card .countries {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.corridor-card .country-tag {
  font-size: 0.78rem;
  padding: 5px 10px;
  background: var(--nar-bg-alt);
  color: var(--nar-ink-700);
  border-radius: var(--nar-r-sm);
  font-weight: 500;
  border: 1px solid var(--nar-line);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--nar-green-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
  border-top: 4px solid var(--nar-gold);
}
.footer h5 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: var(--nar-font-body);
  font-weight: 700;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  display: block;
  padding: 5px 0;
  transition: color 0.18s ease;
}
.footer a:hover { color: var(--nar-gold-soft); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-brand .logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-brand .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-brand-text {
  color: #fff;
  font-family: var(--nar-font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--nar-gold);
  border: none;
  margin: 14px 0 22px;
  border-radius: 2px;
  opacity: 1;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease-out backwards; }
.fade-up-1 { animation-delay: 0.08s; }
.fade-up-2 { animation-delay: 0.16s; }
.fade-up-3 { animation-delay: 0.24s; }
.fade-up-4 { animation-delay: 0.32s; }

/* RTL spacing fixes */
[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
[dir="rtl"] .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
[dir="rtl"] .ms-3 { margin-left: 0 !important; margin-right: 1rem !important; }
[dir="rtl"] .text-end { text-align: left !important; }
[dir="rtl"] .text-start { text-align: right !important; }

[dir="rtl"] .btn-nar-primary svg,
[dir="rtl"] .btn-nar-ghost svg,
[dir="rtl"] .btn-nar-gold svg {
  transform: scaleX(-1);
}

/* Mobile */
@media (max-width: 768px) {
  .hero { padding: 56px 0 72px; }
  .section { padding: 64px 0; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-stats > div {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--nar-line);
    padding: 16px 0 0 !important;
  }
  .hero-stats > div:first-child {
    border-top: none;
    padding-top: 0 !important;
  }
  .navbar-brand-nar .brand-tag { display: none; }
  .trust-card, .office-card, .corridor-card { padding: 24px; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 991px) {
  .navbar-nar .navbar-collapse {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--nar-line);
  }
  .navbar-nar .nav-link { padding: 10px 0 !important; }
  .navbar-nar .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
}
