/* =============================================
   NINGDAL GROUP — Corporate Website Stylesheet
   Trilingual: EN / AR / ZH
   ============================================= */

:root {
  /* ── Brand palette ── */
  --navy:       #00194b;
  --navy-light: #012060;
  --navy-mid:   #013080;
  --red:        #ff3c3c;
  --red-light:  #ff6464;
  --red-pale:   #fff0f0;
  --brand-gray: #4d5255;
  --white:      #ffffff;
  --off-white:  #f5f6fa;
  --gray-light: #e8ecf3;
  --gray:       #8898aa;
  --text-dark:  #00194b;
  --text-mid:   #4d5255;
  --shadow-sm:  0 2px 12px rgba(0,25,75,0.08);
  --shadow-md:  0 6px 28px rgba(0,25,75,0.16);
  --shadow-lg:  0 16px 48px rgba(0,25,75,0.24);
  --radius:     10px;
  --radius-lg:  18px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --top-bar-h:  35px;
  --nav-h:      72px;
  /* renamed: --gold was misleadingly named, now --primary */
  --primary:      #ff3c3c;
  --primary-light:#ff6464;
  --primary-pale: #fff0f0;
  /* keep aliases for any remaining references */
  --gold:       #ff3c3c;
  --gold-light: #ff6464;
  --gold-pale:  #fff0f0;
  /* ── Surface tokens (overridden in dark mode) ── */
  --surface:    #ffffff;
  --bg:         #f5f6fa;
  --border:     #e8ecf3;
  --green:      #059669;
}

/* ── Dark mode ── */
:root[data-theme="dark"] {
  --navy:       #e2e8f4;
  --text-dark:  #e2e8f4;
  --text-mid:   #94a8c0;
  --brand-gray: #94a8c0;
  --white:      #1e2d3d;
  --off-white:  #111827;
  --gray-light: #253350;
  --gray:       #4a6080;
  --surface:    #1e2d3d;
  --bg:         #111827;
  --border:     #253350;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.32);
  --shadow-md:  0 6px 28px rgba(0,0,0,0.44);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.56);
}
:root[data-theme="light"] {
  --navy:       #00194b;
  --text-dark:  #00194b;
  --text-mid:   #4d5255;
  --brand-gray: #4d5255;
  --white:      #ffffff;
  --off-white:  #f5f6fa;
  --gray-light: #e8ecf3;
  --gray:       #8898aa;
  --surface:    #ffffff;
  --bg:         #f5f6fa;
  --border:     #e8ecf3;
  --shadow-sm:  0 2px 12px rgba(0,25,75,0.08);
  --shadow-md:  0 6px 28px rgba(0,25,75,0.16);
  --shadow-lg:  0 16px 48px rgba(0,25,75,0.24);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', 'Noto Sans SC', 'Noto Sans Arabic', Arial, sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* RTL body */
body[dir="rtl"] { font-family: 'Segoe UI', 'Noto Sans Arabic', 'Noto Sans SC', Arial, sans-serif; }
body[lang="zh"] { font-family: 'Noto Sans SC', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif; }

/* ── Typography ── */
h1,h2,h3,h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { color: var(--text-mid); }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-dark { background: #ebf1fa; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.section-dark h2, .section-dark h3 { color: var(--navy); }
.section-dark p { color: var(--text-mid); }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 600px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-header p { margin: 0 auto; }
.gold { color: var(--gold); }
.divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.center .divider { margin: 16px auto 24px; }
body[dir="rtl"] .divider { margin: 16px 0 24px auto; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--red);
  color: var(--white);
}
.btn-gold:hover { background: var(--red-light); box-shadow: 0 6px 20px rgba(255,60,60,0.38); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--red); color: var(--white); }

/* ── TOP BAR ── */
.top-bar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--off-white);
  backdrop-filter: blur(12px);
  padding: 7px 0;
  font-size: 0.78rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--gray-light);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--text-mid); transition: color var(--transition); }
.top-bar a:hover { color: var(--red); }
.top-bar-left { display: flex; gap: 24px; align-items: center; }
.top-bar-right { display: flex; gap: 8px; align-items: center; }

/* Language switcher */
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  background: none; border: 1px solid var(--gray);
  color: var(--text-mid);
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 9px; border-radius: 3px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--red); border-color: var(--red);
  color: var(--white);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: var(--top-bar-h); z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  height: var(--nav-h);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.navbar .container { display: flex; align-items: center; height: 100%; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { color: var(--navy); }
.nav-logo-text .brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.06em; color: var(--red); }
.nav-logo-text .brand-sub { font-size: 0.65rem; letter-spacing: 0.12em; color: var(--brand-gray); text-transform: uppercase; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 5px;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 2px; background: var(--red);
  transform: scaleX(0); border-radius: 1px;
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); }

.nav-cta { margin-left: 16px; padding: 9px 22px; font-size: 0.84rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 12px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  color: var(--text-mid);
  padding: 12px 24px;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--red); background: rgba(255,60,60,0.05); }

/* ── HERO SLIDER ── */
.hero-slider-container {
  position: relative;
  min-height: min(calc(100vh - var(--nav-h) - var(--top-bar-h)), 760px);
  background: linear-gradient(135deg, #ffffff 0%, #f4f6fa 50%, #e8ecf5 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,60,60,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,25,75,0.06) 0%, transparent 50%);
  z-index: 1;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,25,75,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,25,75,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.hero-slider-slides {
  position: relative;
  width: 100%;
  height: min(calc(100vh - var(--nav-h) - var(--top-bar-h)), 760px);
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.97);
  z-index: 2;
}
.hero-slide.active {
  opacity: 1; pointer-events: all;
  transform: scale(1);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 760px;
  padding-left: 48px;
  padding-right: 48px;
  text-align: left;
}
body[dir="rtl"] .hero-content {
  text-align: right;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.hero-eyebrow span {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red);
}
.hero-eyebrow-line { flex: 1; max-width: 60px; height: 1px; background: var(--red); opacity: 0.5; }
.hero-slide h1 { color: var(--navy); margin-bottom: 10px; }
.hero-slide h1 em { color: var(--red); font-style: normal; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-mid); max-width: 540px; margin: 18px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-light);
  flex-wrap: wrap;
}
.hero-stat-num { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: var(--brand-gray); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 42%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.hero-logo-display {
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,25,75,0.04) 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-logo-display::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(0,25,75,0.15);
  animation: spin-slow 20s linear infinite;
}
.hero-logo-display::after {
  content: '';
  position: absolute; inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(0,25,75,0.08);
}
.hero-logo-display img { width: 260px; height: auto; }

/* Navigation controls */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-light);
  color: var(--navy); font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  outline: none;
}
.slider-arrow:hover {
  background: var(--red); border-color: var(--red); color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 60, 60, 0.25);
}
.slider-arrow.prev { left: 32px; }
.slider-arrow.next { right: 32px; }

.slider-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(0, 25, 75, 0.15);
  cursor: pointer; transition: all var(--transition);
}
.slider-dot.active {
  background: var(--red);
  transform: scale(1.15);
  width: 24px; border-radius: 5px;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--gold);
  padding: 20px 0;
}
.about-strip .container {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  justify-content: space-between;
}
.about-strip-text { color: var(--white); font-weight: 600; font-size: 1rem; }
.about-strip-items { display: flex; gap: 40px; flex-wrap: wrap; }
.about-strip-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 0.88rem; font-weight: 600; }
.about-strip-item svg { width: 20px; height: 20px; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-img-frame {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f4f6fa 0%, #e8ecf5 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-img-frame img { width: 65%; height: auto; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.about-badge-label { font-size: 0.75rem; color: rgba(255,255,255,0.85); font-weight: 600; margin-top: 2px; }
.about-content { }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.about-feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #f4f6fa 0%, #e8ecf5 100%);
  border: 1px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--red); font-size: 1.2rem;
}
.about-feature-text h4 { font-size: 0.95rem; margin-bottom: 2px; }
.about-feature-text p  { font-size: 0.85rem; color: var(--gray); }

/* ── BRANDS ── */
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-light);
  display: flex; flex-direction: column;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-pale);
}
.brand-card-header {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: none;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  overflow: hidden;
}
.brand-card-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,60,60,0.12) 0%, transparent 60%);
}
.brand-logo-img {
  position: relative; z-index: 1;
  max-width: 65%;
  max-height: 100px;
  width: auto; height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.brand-logo-img.wide { max-height: 80px; max-width: 75%; }
.brand-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.brand-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold-pale);
  color: var(--navy);
  padding: 3px 10px; border-radius: 3px;
  margin-bottom: 12px;
}
.brand-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.brand-card-body p  { font-size: 0.875rem; flex: 1; }
.brand-card-footer { padding: 0 28px 24px; }
.brand-card-footer a {
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.brand-card-footer a:hover { gap: 10px; color: var(--gold); }

/* ── PARTNERS ── */
.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.partner-logo-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  min-height: 100px;
}
.partner-logo-box:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.partner-logo-box span {
  font-size: 0.9rem; font-weight: 700;
  color: var(--gray); letter-spacing: 0.06em;
  text-align: center;
  transition: color var(--transition);
}
.partner-logo-box:hover span { color: var(--navy); }

/* ── CATALOGUES ── */
.catalogues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.catalogue-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.catalogue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,25,75,0.18);
}
.cat-card-accent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 28px 24px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  min-height: 120px;
}
.cat-card-accent::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,60,60,0.12) 0%, transparent 60%);
}
.cat-card-pdf-svg { width: 52px; height: auto; position: relative; z-index: 1; }
.cat-card-year {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  position: relative; z-index: 1;
}
.cat-card-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.cat-card-meta { margin-bottom: 10px; }
.cat-card-brand-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-pale); color: var(--red);
  padding: 3px 10px; border-radius: 4px;
}
.cat-card-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 6px; line-height: 1.3;
}
.cat-card-desc {
  font-size: 0.83rem; color: var(--gray);
  line-height: 1.55; flex: 1; margin-bottom: 18px;
}
.cat-card-actions { display: flex; gap: 8px; }
.cat-action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 6px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
  transition: all var(--transition);
  border: 1.5px solid transparent; text-decoration: none;
}
.cat-action-primary { background: var(--navy); color: var(--white); }
.cat-action-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,25,75,0.2);
}
.cat-action-ghost {
  background: transparent;
  border-color: var(--gray-light);
  color: var(--text-mid);
}
.cat-action-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ── CERTIFICATES ── */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cert-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-pale); }
.cert-icon { font-size: 2.4rem; margin-bottom: 14px; }
.cert-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.cert-card p  { font-size: 0.8rem; color: var(--gray); }
.cert-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  background: rgba(255,60,60,0.1);
  color: var(--red);
  padding: 3px 10px; border-radius: 3px;
}

/* ── LOCATIONS ── */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.location-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.location-card-header {
  background: linear-gradient(135deg, #f4f6fa 0%, #e8ecf5 100%);
  border-bottom: 1px solid var(--gray-light);
  padding: 24px 24px 20px;
  display: flex; align-items: center; gap: 14px;
}
.location-flag { font-size: 2rem; }
.location-card-header h3 { color: var(--navy); font-size: 1.05rem; }
.location-card-header p  { color: var(--brand-gray); font-size: 0.8rem; }
.location-card-body { padding: 22px 24px 24px; }
.location-detail {
  display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start;
}
.location-detail-icon { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.location-detail-text { font-size: 0.85rem; color: var(--text-mid); line-height: 1.5; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.contact-info-icon { color: var(--red); font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-info-card h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-card p  { color: var(--text-mid); font-size: 0.85rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,60,60,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; justify-content: center; }
.form-success { display: none; text-align: center; padding: 28px; color: var(--navy); }
.form-success .checkmark { font-size: 3rem; margin-bottom: 12px; }

/* ── FOOTER ── */
.footer { background: #f8f9fc; padding: 72px 0 0; border-top: 1px solid var(--gray-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-light);
}
.footer-brand img, .footer-logo img { height: 32px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-mid); font-size: 0.85rem; max-width: 280px; line-height: 1.7; }
.footer-brand-name { color: var(--red); font-size: 1.4rem; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-col h4 { color: var(--navy); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-mid); font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }
.footer-newsletter p { color: var(--text-mid); font-size: 0.85rem; margin-bottom: 16px; }
.footer-input-row { display: flex; }
.footer-input-row input {
  flex: 1; padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 6px 0 0 6px;
  color: var(--text-dark); font-size: 0.85rem; font-family: inherit; outline: none;
}
.footer-input-row input::placeholder { color: var(--gray); }
.footer-input-row button {
  background: var(--red); border: none;
  padding: 10px 18px; border-radius: 0 6px 6px 0;
  color: var(--white); font-weight: 700; font-size: 0.8rem;
  transition: background var(--transition);
}
.footer-input-row button:hover { background: var(--red-light); }
.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--gray); font-size: 0.78rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--gray); font-size: 0.78rem; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--red); }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--gold); color: var(--white);
  border: none; border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0; pointer-events: none;
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); background: var(--gold-light); }
body[dir="rtl"] .scroll-top { right: auto; left: 28px; }

/* ── PAGE SECTIONS (SPA) ── */
.page-section { display: none; }
.page-section.active { display: block; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f4f6fa 60%, #e8ecf5 100%);
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-light);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,25,75,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,25,75,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p  { color: var(--text-mid); font-size: 1.05rem; max-width: 520px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.breadcrumb span { font-size: 0.78rem; color: var(--brand-gray); }
.breadcrumb a   { font-size: 0.78rem; color: var(--red); }
.breadcrumb-sep { color: var(--gray); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--i, 0) * 80ms);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { bottom: -16px; right: -8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; --top-bar-h: 32px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .hero { min-height: 88vh; }
  .hero-stats { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 28px 22px; }
  .about-badge { position: static; margin-top: 16px; display: inline-block; }
}
@media (max-width: 480px) {
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .top-bar-left { display: none; }
}

/* RTL OVERRIDES */
body[dir="rtl"] .hero-eyebrow-line { margin-right: 0; margin-left: auto; }
body[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
body[dir="rtl"] .footer-input-row input { border-radius: 0 6px 6px 0; }
body[dir="rtl"] .footer-input-row button { border-radius: 6px 0 0 6px; }
body[dir="rtl"] .about-badge { right: auto; left: -20px; }
body[dir="rtl"] .brand-card-footer a svg { transform: scaleX(-1); }
body[dir="rtl"] .catalogue-brand-label { left: auto; right: 14px; }
body[dir="rtl"] .about-feature { }

/* ── BRAND PAGES ── */
.brand-detail-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.brand-detail-info h2 { font-size: 1.8rem; margin-bottom: 16px; }
.brand-detail-info p { font-size: 1.05rem; margin-bottom: 24px; line-height: 1.7; }
.catalogue-download-box { padding: 24px; background: var(--off-white); border-radius: var(--radius); border: 1px solid var(--gray-light); }
.catalogue-download-box h3 { font-size: 1.15rem; margin-bottom: 6px; }
.catalogue-download-box p { font-size: 0.85rem; margin-bottom: 0; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--red); }
.product-icon { font-size: 3rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card p { font-size: 0.88rem; color: var(--text-mid); }

.quote-section-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.quote-brief h2 { margin-bottom: 14px; }
.quote-brief p { font-size: 1.05rem; }
.quote-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
  .brand-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-section-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── MEGA MENU ── */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 520px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 1000;
}
.nav-item-dropdown:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.mega-menu-item:hover {
  background: var(--off-white);
}
.mega-menu-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 5px;
  background: #f8f9fa;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
}
.mega-menu-item h4 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 2px;
  text-align: left;
}
.mega-menu-item p {
  font-size: 0.72rem;
  color: var(--gray);
  text-align: left;
}
body[dir="rtl"] .mega-menu-item h4,
body[dir="rtl"] .mega-menu-item p {
  text-align: right;
}

/* Hide mega menu in mobile nav */
@media (max-width: 768px) {
  .mega-menu { display: none; }
}

/* ── NEWS & CAREERS PAGES ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.news-card-image {
  height: 200px;
  background: linear-gradient(135deg, #f4f6fa 0%, #e8ecf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  border-bottom: 1px solid var(--gray-light);
}
.news-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.news-date {
  font-size: 0.78rem;
  color: var(--gray);
}
.news-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 60, 60, 0.08);
  color: var(--red);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.news-card-content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
  text-align: left;
}
.news-card-content p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.6;
  text-align: left;
}
body[dir="rtl"] .news-card-content h3,
body[dir="rtl"] .news-card-content p {
  text-align: right;
}
.news-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  transition: gap var(--transition);
}
.news-read-more:hover {
  color: var(--red);
}

/* Careers Grid */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.job-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  text-align: left;
}
.job-location {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
}
.job-details {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.job-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-gray);
  background: var(--off-white);
  padding: 2px 8px;
  border-radius: 3px;
}
.job-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255, 60, 60, 0.08);
  padding: 2px 8px;
  border-radius: 3px;
}
.job-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
  text-align: left;
}
body[dir="rtl"] .job-card h3,
body[dir="rtl"] .job-card p {
  text-align: right;
}
.job-card .apply-btn {
  margin-top: auto;
  text-align: center;
  justify-content: center;
}

/* Job Apply Form Container */
.apply-form-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
}
.apply-form-header {
  margin-bottom: 32px;
}
.apply-form-header h2 {
  color: var(--navy);
  margin-bottom: 8px;
}
.apply-form-header p {
  color: var(--text-mid);
}

@media (max-width: 768px) {
  .apply-form-container {
    padding: 28px 20px;
  }
}

/* ── JOB DETAILS PAGE ── */
.job-meta-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--navy);
  opacity: 0.85;
}
.job-meta-item strong {
  font-weight: 700;
  color: var(--red);
}
.job-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}
.job-detail-info h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 16px;
  text-align: left;
}
.job-detail-info h2:first-of-type {
  margin-top: 0;
}
.job-detail-info p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  text-align: left;
}
body[dir="rtl"] .job-detail-info h2,
body[dir="rtl"] .job-detail-info p {
  text-align: right;
}
.job-spec-list {
  margin-bottom: 24px;
  padding-left: 20px;
}
body[dir="rtl"] .job-spec-list {
  padding-left: 0;
  padding-right: 20px;
}
.job-spec-list li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
  position: relative;
  list-style-type: square;
}
.job-apply-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
@media (max-width: 1024px) {
  .job-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .job-apply-sidebar {
    position: static;
  }
}

/* ── CATALOGUE FILTERS ── */
.filters-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.filter-group select {
  padding: 8px 36px 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  background-color: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: border var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300194b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
body[dir="rtl"] .filter-group select {
  padding: 8px 12px 8px 36px;
  background-position: left 12px center;
}
.filter-group select:focus {
  border-color: var(--red);
}

/* ── NEWS DETAIL PAGE ── */
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.9rem;
}
.news-date-divider {
  color: var(--gray-light);
}
.news-detail-date {
  color: var(--brand-gray);
}
.news-detail-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}
.news-detail-body p {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
}
.news-detail-body blockquote {
  font-size: 1.25rem;
  font-style: italic;
  font-family: var(--font-primary);
  color: var(--navy);
  border-left: 4px solid var(--red);
  padding-left: 24px;
  margin: 36px 0;
  line-height: 1.6;
  text-align: left;
}
body[dir="rtl"] .news-detail-body blockquote {
  border-left: none;
  border-right: 4px solid var(--red);
  padding-left: 0;
  padding-right: 24px;
  text-align: right;
}
.news-related-box {
  margin-top: 56px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.news-related-box h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 18px;
}
.news-related-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CREATIVE PILL FILTERS ── */
.creative-filters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--white);
  padding: 28px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.08em;
  min-width: 80px;
}
.pills-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pill-btn {
  background: var(--off-white);
  color: var(--text-mid);
  border: 1px solid var(--gray-light);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  outline: none;
  font-family: inherit;
}
.pill-btn:hover {
  background: var(--red-pale);
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}
.pill-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(0, 25, 75, 0.15);
  font-weight: 600;
}

/* ── DARK MODE — surface overrides ── */
:root[data-theme="dark"] body { background: var(--off-white); color: var(--text-dark); }
:root[data-theme="dark"] .navbar { background: rgba(17,24,39,0.96); border-bottom-color: var(--gray-light); }
:root[data-theme="dark"] .section-alt { background: var(--white); }
:root[data-theme="dark"] .section-dark { background: #16253a; border-color: var(--gray-light); }
:root[data-theme="dark"] .section-dark h2,:root[data-theme="dark"] .section-dark h3 { color: var(--text-dark); }
:root[data-theme="dark"] .top-bar { background: #0d1829; border-bottom-color: var(--gray-light); }
:root[data-theme="dark"] .brand-card,:root[data-theme="dark"] .location-card,:root[data-theme="dark"] .news-card,
:root[data-theme="dark"] .job-card,:root[data-theme="dark"] .cert-card,:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .contact-form,:root[data-theme="dark"] .contact-info-card,
:root[data-theme="dark"] .apply-form-container,:root[data-theme="dark"] .catalogue-card,
:root[data-theme="dark"] .quote-form-card { background: var(--white); border-color: var(--gray-light); }
:root[data-theme="dark"] .page-hero { background: linear-gradient(135deg, #111827 0%, #14213a 60%, #16253a 100%); }
:root[data-theme="dark"] .hero-slider-container { background: linear-gradient(135deg, #111827 0%, #14213a 50%, #16253a 100%); }
:root[data-theme="dark"] .about-img-frame { background: linear-gradient(135deg, #14213a 0%, #1e2d46 100%); border-color: var(--gray-light); }
:root[data-theme="dark"] .footer { background: #0b1422; }
:root[data-theme="dark"] .footer-col h4 { color: var(--text-dark); }
:root[data-theme="dark"] .footer-bottom { border-top-color: var(--gray-light); }
:root[data-theme="dark"] h1,:root[data-theme="dark"] h2,:root[data-theme="dark"] h3,:root[data-theme="dark"] h4 { color: var(--text-dark); }
:root[data-theme="dark"] input,:root[data-theme="dark"] textarea,:root[data-theme="dark"] select { background: #14213a; color: var(--text-dark); border-color: var(--gray-light); }
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder { color: var(--gray); }

/* ── Theme toggle button ── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-light);
  background: transparent;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 10;
}
.theme-toggle:hover { background: var(--gray-light); color: var(--navy); }
:root[data-theme="dark"] .theme-toggle { border-color: var(--gray-light); color: var(--text-dark); }
:root[data-theme="dark"] .theme-toggle:hover { background: var(--gray-light); }

/* ── LOCATIONS MAP ── */
.locations-map-wrap { position: relative; }
.locations-map-pins {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  justify-content: center;
}
.map-pin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  padding: 5px 14px;
}

/* ── FORM — file input ── */
input[type="file"] {
  padding: 10px 12px;
  background: var(--off-white);
  border: 1px dashed var(--gray);
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-mid);
}
input[type="file"]:hover { border-color: var(--red); }

/* ── FOOTER newsletter success ── */
#newsletter-msg { color: var(--green); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ── LEGAL / POLICY STYLES ── */
.legal-content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}
.legal-content-card h2 {
  font-size: 1.6rem;
  margin-top: 32px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.legal-content-card h2:first-of-type {
  margin-top: 0;
}
.legal-content-card p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-mid);
}
.legal-content-card ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: disc;
}
.legal-content-card ul li {
  margin-bottom: 8px;
  color: var(--text-mid);
}
body[dir="rtl"] .legal-content-card ul {
  padding-left: 0;
  padding-right: 20px;
}

/* Language-specific block toggles */
.lang-block {
  display: none;
}
html[lang="en"] .lang-block.lang-en {
  display: block;
}
html[lang="zh"] .lang-block.lang-zh {
  display: block;
}
html[lang="ar"] .lang-block.lang-ar {
  display: block;
}


