/* =========================================================
   AL KARMA ENGINEERING — Modern Industrial Theme
   Palette: Orange #fe7743 · Blue #1a7fc1 · White
   ========================================================= */

:root {
  --orange: #f0871a;
  --orange-dark: #d8731a;
  --orange-light: #fff1e0;
  --blue: #0096f0;
  --blue-dark: #0078d8;
  --blue-deep: #003cf0;
  --blue-light: #e4f3fd;
  --navy: #0a1f4a;
  --ink: #0f1f3d;
  --muted: #5b6478;
  --border: #e6ebf2;
  --soft: #f7f9fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(10, 31, 74, 0.06);
  --shadow-md: 0 8px 28px rgba(10, 31, 74, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 31, 74, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }

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

/* ================ TOP BAR ================ */
.top-bar {
  background: linear-gradient(270deg, #0a1f4a, #0a3a8a, #0078d8, #0096f0, #0078d8, #0a3a8a, #0a1f4a);
  background-size: 600% 600%;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  padding: 9px 0;
  animation: topBarFlow 16s ease infinite;
}
@keyframes topBarFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .top-bar { animation: none; background: var(--navy); }
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.contact-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.contact-link svg { color: var(--orange); flex-shrink: 0; }
.contact-link:hover { color: var(--orange); }
.top-bar-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
}
.email-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
}
.email-link svg { color: var(--orange); }
.email-link:hover { color: var(--orange); }
.socials {
  display: flex; list-style: none; gap: 14px;
}
.socials a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  transition: all .25s;
}
.socials a:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

/* ================ HEADER ================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.logo {
  display: inline-flex; align-items: center;
  height: 100%;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-mark {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  font-weight: 900;
  font-size: 22px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(240, 135, 26, 0.35);
}
.logo-text { letter-spacing: 0.5px; }
.logo-text span { color: var(--orange); }

.main-nav > ul {
  display: flex; list-style: none; gap: 4px;
}
.main-nav > ul > li > a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
  position: relative;
}
.main-nav > ul > li.active > a {
  color: var(--orange);
}
.main-nav > ul > li > a:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.main-nav > ul > li.active > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s;
  vertical-align: middle;
}
.has-dropdown:hover > a::after,
.has-dropdown.open > a::after {
  transform: rotate(-135deg) translateY(2px);
  border-color: var(--orange);
}
html[dir="rtl"] .has-dropdown > a::after {
  margin-left: 0;
  margin-right: 8px;
}
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: white;
  min-width: 280px;
  width: max-content;
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  list-style: none;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .25s;
  z-index: 10;
}
.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li {
  display: block;
  width: 100%;
}
.dropdown a {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  border-radius: 0;
  transition: all .2s;
  position: relative;
}
.dropdown li + li > a {
  border-top: 1px solid var(--border);
}
.dropdown a:hover {
  background: var(--blue);
  color: white;
}
.dropdown .submenu {
  top: 0; left: 100%;
  margin-left: 4px;
  border-radius: 12px;
}
/* Nested submenu items: keep the chevron but rotate it horizontally
   (submenu opens to the side, not below) */
.dropdown .has-dropdown > a::after {
  transform: rotate(-45deg) translateY(-1px);
}
.dropdown .has-dropdown:hover > a::after,
.dropdown .has-dropdown.open > a::after {
  transform: rotate(-45deg) translateY(-1px);
  border-color: var(--orange);
}
html[dir="rtl"] .dropdown .has-dropdown > a::after,
html[dir="rtl"] .dropdown .has-dropdown:hover > a::after,
html[dir="rtl"] .dropdown .has-dropdown.open > a::after {
  transform: rotate(135deg) translateY(1px);
}

.btn-quote {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(240, 135, 26, 0.35);
  transition: transform .3s, box-shadow .3s;
  animation: btnQuoteFlow 8s ease infinite;
}
.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(240, 135, 26, 0.45);
  color: white;
}
.btn-quote .arrow {
  background: rgba(255,255,255,0.25);
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 11px;
}
@keyframes btnQuoteFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--soft);
  border: none;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: linear-gradient(90deg, #0a1f4a, #0078d8, #0096f0, #0078d8, #0a1f4a);
  background-size: 300% 100%;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  animation: hamburgerFlow 4s linear infinite;
}
@keyframes hamburgerFlow {
  0%   { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .btn-quote,
  .nav-toggle span { animation: none; }
}

/* ================ HERO ================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f8fbfe 0%, #eef5fb 100%);
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240, 135, 26,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 150, 240,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero-content { display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-title .hero-line-1,
.hero-title .hero-line-2 {
  display: block;
}
.hero-title .accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 10px;
  background: rgba(240, 135, 26,0.25);
  z-index: -1;
  border-radius: 4px;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all .3s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(240, 135, 26, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(240, 135, 26, 0.45);
  color: white;
}
.btn-outline {
  background: white;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-3px);
}
.btn .arrow-circle {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.btn-outline .arrow-circle {
  background: rgba(0, 150, 240,0.15);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.hero-stat {
  position: relative;
  padding: 16px 8px 0;
  text-align: center;
}
.hero-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
  border-radius: 2px;
}
.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num span { color: var(--orange); }
.hero-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-blob {
  position: absolute;
  inset: 30px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 60% 40% 55% 45% / 50% 50% 50% 50%;
  box-shadow: 0 30px 80px rgba(0, 150, 240, 0.35);
  animation: blob-morph 12s ease-in-out infinite;
  opacity: 0.95;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 50% 50% 50%; }
  33% { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
  66% { border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; }
}
.hero-blob::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: inherit;
  animation: blob-rotate 30s linear infinite;
}
@keyframes blob-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-product-img {
  position: absolute;
  inset: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  overflow: hidden;
}
.hero-product-img img {
  max-height: 88%;
  max-width: 88%;
  width: auto;
  object-fit: contain;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-badge {
  position: absolute;
  background: white;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.hero-badge-1 {
  top: 8%; left: -10px;
  animation-delay: -1s;
}
.hero-badge-2 {
  bottom: 12%; right: -10px;
  animation-delay: -2.5s;
}
.hero-badge-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hero-badge-1 .hero-badge-icon { background: var(--orange-light); color: var(--orange); }
.hero-badge-2 .hero-badge-icon { background: var(--blue-light); color: var(--blue); }
.hero-badge-text { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hero-badge-text small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }

/* ================ SECTIONS ================ */
.section {
  padding: 90px 0;
  position: relative;
}
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 2px;
  background: var(--orange);
}
.section-heading .eyebrow {
  padding-left: 0;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-heading .eyebrow::before { display: none; }
.section-heading .eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--orange);
}
h2.h2-display, .section-heading h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-heading p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* ================ ABOUT (homepage) ================ */
.about-section {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  background: linear-gradient(135deg, #f8fbfe 0%, #eef5fb 100%);
  border-radius: 28px;
  padding: 56px 40px;
  box-shadow: 0 30px 60px rgba(10, 31, 74, 0.08);
  overflow: hidden;
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 90%; height: 90%;
  background: radial-gradient(circle, rgba(0, 150, 240, 0.18), transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -40%;
  width: 90%; height: 90%;
  background: radial-gradient(circle, rgba(240, 135, 26, 0.18), transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.about-image-frame {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-frame img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(10,31,74,0.15));
  aspect-ratio: auto;
  object-fit: contain;
}
.about-partner-badge {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: white;
  border-radius: 14px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(10,31,74,0.12);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.about-partner-badge::before {
  content: '';
  width: 22px; height: 14px;
  background: linear-gradient(90deg, #009246 0%, #009246 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ce2b37 66.66%, #ce2b37 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  flex-shrink: 0;
}
.about-partner-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.about-partner-badge .badge-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 2px;
}
.about-partner-badge .badge-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.about-content .eyebrow { padding-left: 32px; }
.about-content h2.h2-display { margin-bottom: 18px; }
.about-content > p { margin-bottom: 0; }
.about-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 24px;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(240, 135, 26, 0.32);
  animation: btnQuoteFlow 8s ease infinite;
  transition: transform .25s;
}
.about-cta-link:hover { transform: translateY(-2px); color: white; }
@media (max-width: 992px) {
  .about-image-wrap { padding: 40px 24px; max-width: 480px; margin: 0 auto; }
  .about-image-frame img { max-width: 280px; }
  .about-partner-badge { padding: 10px 14px; gap: 10px; }
  .about-partner-badge .badge-name { font-size: 13px; }
}
.about-stat {
  display: flex; gap: 24px;
  margin-top: 24px;
  padding: 24px;
  background: var(--soft);
  border-radius: 16px;
  border-left: 4px solid var(--orange);
}
.stat-num {
  flex-shrink: 0;
  text-align: center;
}
.stat-num .num {
  display: block;
  font-size: 56px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-num .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.about-stat p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.about-feature {
  display: flex; gap: 12px; align-items: flex-start;
}
.about-feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--orange-light);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}
.about-feature-text strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}
.about-feature-text span { font-size: 13px; color: var(--muted); }

/* ================ PRODUCTS GRID ================ */
.dotted-bg {
  background: var(--soft);
  background-image: radial-gradient(circle, rgba(0, 150, 240,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 2px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a) border-box;
  background-size: auto, 600% 600%;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 4px 14px rgba(10, 31, 74, 0.05);
  animation: subProductFlow 8s ease infinite;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(10, 31, 74, 0.14);
  color: inherit;
}

.product-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-img {
  width: 100%;
  height: 220px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
  isolation: isolate;
}
.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .45s ease;
  position: relative;
  z-index: 1;
  filter: brightness(1.06) contrast(1.06) saturate(1.04);
}
.product-card:hover .product-card-img img {
  transform: scale(1.08);
}
.product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
  padding: 22px 22px 18px;
  flex: 1;
}
.product-card-footer {
  margin: 0 22px 22px;
  padding: 12px 18px;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 6px 16px rgba(240, 135, 26, 0.28);
  animation: btnQuoteFlow 8s ease infinite;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover .product-card-footer {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(240, 135, 26, 0.4);
}
.product-card-footer span {
  background: rgba(255, 255, 255, 0.25);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* ================ FEATURES STRIP ================ */
.features-strip {
  background: white;
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 14px;
  background: var(--soft);
  transition: all .3s;
}
.feature-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}
.feature-item:nth-child(odd) .feature-icon { background: var(--orange-light); color: var(--orange); }
.feature-item:nth-child(even) .feature-icon { background: var(--blue-light); color: var(--blue); }
.feature-text strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}
.feature-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ================ CONTACT ================ */
.contact-section {
  padding: 90px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-form-card {
  padding: 50px;
  background: white;
}
.contact-form-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-form-card .lead {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 14px;
}
.contact-form .field { margin-bottom: 14px; }
.contact-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  transition: all .25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: white;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 150, 240, 0.12);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .submit {
  padding: 14px 36px;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(240, 135, 26, 0.35);
  transition: transform .3s, box-shadow .3s;
  font-family: inherit;
  animation: btnQuoteFlow 8s ease infinite;
}
.contact-form .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(240, 135, 26, 0.45);
}
.contact-form .submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .contact-form .submit { animation: none; }
}
.contact-info-card {
  padding: 50px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(240, 135, 26,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.contact-info-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
}
.contact-info-block {
  margin-bottom: 24px;
  padding-left: 38px;
  position: relative;
}
.contact-info-block::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
}
.contact-info-block .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-block .value {
  font-size: 15px;
  color: white;
  font-weight: 500;
}
.contact-info-block .value a {
  color: white;
  transition: color .2s;
}
.contact-info-block .value a:hover { color: var(--orange); }
.contact-info-block .value-ar {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-family: 'Cairo', system-ui, sans-serif;
  direction: rtl;
  text-align: right;
  margin-top: 4px;
}

/* ================ CONTACT BOXES + CENTERED FORM ================ */
.contact-boxes-section { padding: 80px 0 30px; background: var(--soft); }
.contact-form-section { padding: 30px 0 90px; background: var(--soft); }

.contact-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.contact-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.contact-box::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--blue));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s;
  animation: contactBoxBar 4s linear infinite;
}
@keyframes contactBoxBar {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(10, 31, 74, 0.12);
  border-color: transparent;
}
.contact-box:hover::after { opacity: 1; }
.contact-box-icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 10px 24px rgba(0, 150, 240, 0.32);
  transition: transform .35s;
}
.contact-box:hover .contact-box-icon { transform: scale(1.06) rotate(-4deg); }
.contact-box-icon.is-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}
.contact-box-icon.is-address {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 10px 24px rgba(240, 135, 26, 0.32);
}
.contact-box-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 8px;
}
.contact-box-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.contact-box-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.contact-box-value a {
  color: var(--ink);
  font-weight: 700;
  font-size: inherit;
  display: inline-block;
  transition: color .2s;
}
.contact-box-value a:hover { color: var(--blue); }
.contact-box-value-sm {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0;
}

.contact-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 22px 60px rgba(10, 31, 74, 0.1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--blue-deep), var(--blue));
  background-size: 300% 100%;
  animation: formTopBar 8s linear infinite;
}
@keyframes formTopBar {
  0% { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}
.contact-form-wrap-heading {
  text-align: center;
  margin-bottom: 36px;
}
.contact-form-wrap-heading .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}
.contact-form-wrap-heading h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}
.contact-form-wrap-heading p {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}
.contact-form .field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-form .submit {
  width: 100%;
  margin-top: 8px;
}
.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 22px;
  line-height: 1.6;
}
.form-status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
@media (prefers-reduced-motion: reduce) {
  .contact-box::after,
  .contact-form-wrap::before { animation: none; }
}
@media (max-width: 992px) {
  .contact-boxes { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .contact-form-wrap { padding: 40px 22px; }
  .contact-form-wrap-heading h2 {
    font-size: clamp(17px, 4.6vw, 28px);
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .contact-form-wrap { padding: 32px 16px; }
}

/* ================ PAGE BANNER (non-home) ================ */
.page-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(270deg, #0a1f4a, #0a3a8a, #0078d8, #0096f0, #0078d8, #0a3a8a, #0a1f4a);
  background-size: 600% 600%;
  color: white;
  overflow: hidden;
  animation: pageBannerFlow 18s ease infinite;
}
@keyframes pageBannerFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-banner { animation: none; background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); }
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240, 135, 26,0.25) 0%, transparent 65%);
  border-radius: 50%;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -120px; left: 10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 150, 240,0.4) 0%, transparent 65%);
  border-radius: 50%;
}
.page-banner-inner {
  position: relative;
  z-index: 2;
}
.page-banner h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
  padding-left: 22px;
}
.page-banner h1::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 5px;
  background: linear-gradient(180deg, #ffb347, #f0871a, #d8731a, #ff9933, #ffb347, #d8731a, #f0871a);
  background-size: 100% 600%;
  border-radius: 3px;
  animation: bannerDashFlow 5s ease infinite;
}
@keyframes bannerDashFlow {
  0%   { background-position: 50% 0%; }
  50%  { background-position: 50% 100%; }
  100% { background-position: 50% 0%; }
}
.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ================ PRODUCT DETAIL PAGES ================ */
.product-detail-section {
  padding: 80px 0;
  background: white;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-detail-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-detail-content .h-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.product-detail-content ul {
  list-style: none;
  margin-top: 18px;
}
.product-detail-content ul li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
}
.product-detail-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 4px 10px rgba(240, 135, 26, 0.35);
}
.product-detail-content ul li::after {
  content: '';
  position: absolute;
  left: 7px; top: 10px;
  width: 10px; height: 6px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(-45deg);
}
.btn-pdf {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  margin-top: 24px;
  box-shadow: 0 8px 20px rgba(0, 150, 240, 0.3);
  transition: all .3s;
}
.btn-pdf:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 12px 24px rgba(0, 150, 240, 0.4);
}
.product-detail-image {
  position: relative;
  text-align: center;
  background: var(--soft);
  border-radius: 24px;
  padding: 40px 20px;
  border: 1px solid var(--border);
}
.product-detail-image img {
  max-height: 480px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.18));
}

/* ================ SUB-PRODUCTS GRID ================ */
.sub-products {
  padding: 70px 0 90px;
  background: var(--soft);
}
.sub-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sub-product-card {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all .3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.sub-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
  color: inherit;
}
.sub-product-card .img-wrap {
  height: 180px;
  background: var(--soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.sub-product-card img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}
.sub-product-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}
.sub-product-card .more {
  margin-top: auto;
  display: inline-block;
  padding: 9px 18px;
  background: var(--soft);
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  transition: all .25s;
}
.sub-product-card:hover .more {
  background: var(--orange);
  color: white;
}
.sub-product-card .more::after {
  content: ' ▸';
  font-size: 11px;
}

/* ================ DOWNLOADS GRID ================ */
.downloads-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.downloads-search {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.downloads-search svg {
  position: absolute;
  top: 50%; left: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  width: 18px; height: 18px;
}
html[dir="rtl"] .downloads-search svg { left: auto; right: 18px; }
.downloads-search input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
html[dir="rtl"] .downloads-search input { padding: 14px 50px 14px 20px; }
.downloads-search input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 150, 240, 0.12);
}
.downloads-stats {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.downloads-stats strong { color: var(--ink); font-weight: 800; font-size: 16px; margin: 0 2px; }

.download-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.dl-chip {
  padding: 9px 18px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.dl-chip:hover { border-color: var(--blue); color: var(--blue); }
.dl-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.download-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex; gap: 16px;
  align-items: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.download-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
html[dir="rtl"] .download-card::after { transform-origin: right; }
.download-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(10, 31, 74, 0.1);
  transform: translateY(-4px);
  color: inherit;
}
.download-card:hover::after { transform: scaleX(1); }

.dl-card-icon {
  width: 50px; height: 65px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .35s;
}
.dl-card-icon svg { width: 100%; height: 100%; display: block; }
.download-card:hover .dl-card-icon { transform: scale(1.06) rotate(-3deg); }
.dl-card-body { flex: 1; min-width: 0; }
.dl-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
  word-wrap: break-word;
}
.dl-card-action {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .25s, color .25s, transform .25s;
}
.download-card:hover .dl-card-action {
  background: var(--orange);
  color: white;
  transform: scale(1.08);
}
.dl-card-action svg { width: 18px; height: 18px; }

.downloads-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  font-size: 16px;
  grid-column: 1 / -1;
}
.downloads-empty::before {
  content: '🔍';
  display: block;
  font-size: 48px;
  margin-bottom: 14px;
  opacity: .55;
}

@media (max-width: 768px) {
  .downloads-toolbar { flex-direction: column; align-items: stretch; }
  .downloads-stats { text-align: center; }
  .download-filters { gap: 6px; }
  .dl-chip { padding: 7px 14px; font-size: 12.5px; }
}
.download-info { flex: 1; }
.download-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.download-info span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.download-arrow {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

/* ================ ABOUT PAGE BLOCKS ================ */
.about-block {
  padding: 80px 0;
}
.about-block:nth-child(even) { background: var(--soft); }
.about-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-block-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.2;
}
.about-block-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ================ ABOUT — REDESIGNED SECTIONS ================ */
.about-intro { padding: 90px 0 70px; background: var(--white); }
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-intro-text .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.about-intro-text h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.about-intro-text h2 span { color: var(--orange); }
.about-intro-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-intro-text .lead {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.about-logo-frame {
  background: linear-gradient(135deg, #f8fbfe 0%, #eef5fb 100%);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 30px 60px rgba(10, 31, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-logo-frame::before {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 90%; height: 90%;
  background: radial-gradient(circle, rgba(0, 150, 240, 0.18), transparent 65%);
  border-radius: 50%;
}
.about-logo-frame::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -40%;
  width: 90%; height: 90%;
  background: radial-gradient(circle, rgba(240, 135, 26, 0.18), transparent 65%);
  border-radius: 50%;
}
.about-logo-frame img {
  width: 100%;
  max-width: 380px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 28px rgba(10,31,74,0.15));
}

.brand-partners {
  padding: 90px 0;
  background: var(--soft);
}
.brand-partners .section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.brand-partners .section-heading .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.brand-partners .section-heading h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.brand-partners .section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.brand-card {
  background: white;
  border-radius: 24px;
  padding: 44px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.brand-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}
.brand-card.brand-italy::before {
  background: linear-gradient(90deg, #009246 0%, #009246 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ce2b37 66.66%, #ce2b37 100%);
}
.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(10, 31, 74, 0.1);
}
.brand-card-emblem {
  width: 160px;
  height: 130px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(10, 31, 74, 0.08);
  padding: 18px;
}
.brand-card-emblem img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-card-content h3 {
  font-size: 26px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 6px;
}
.brand-card-content .brand-origin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 14px;
}
.brand-card-content .brand-origin::before {
  content: '';
  display: inline-block;
  width: 18px; height: 12px;
  background: linear-gradient(90deg, #009246 0%, #009246 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ce2b37 66.66%, #ce2b37 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.brand-card-content p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 14px;
}
.brand-card-content p:last-child { margin-bottom: 0; }
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-tag {
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.about-stats-strip {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #102a5e 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.about-stats-strip::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(240,135,26,0.18) 0%, transparent 65%);
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.about-stat-item {
  text-align: center;
}
.about-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffa733 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}
.about-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.why-us {
  padding: 90px 0;
  background: var(--white);
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-us-card {
  padding: 36px 28px;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: transform .35s, box-shadow .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.why-us-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--blue));
  background-size: 200% 100%;
  animation: contactBoxBar 5s linear infinite;
  opacity: 0;
  transition: opacity .3s;
}
.why-us-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10, 31, 74, 0.1);
  border-color: transparent;
}
.why-us-card:hover::before { opacity: 1; }
.why-us-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0,150,240,0.3);
}
.why-us-icon.is-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 10px 24px rgba(240,135,26,0.3);
}
.why-us-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.why-us-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.about-cta {
  padding: 80px 0;
  background: var(--soft);
}
.about-cta-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  border-radius: 28px;
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.about-cta-inner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(240,135,26,0.25) 0%, transparent 65%);
}
.about-cta-inner::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,150,240,0.25) 0%, transparent 65%);
}
.about-cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.about-cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.about-cta-inner .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  color: white;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(240, 135, 26, 0.4);
  position: relative;
  z-index: 1;
  animation: btnQuoteFlow 8s ease infinite;
  transition: transform .25s;
}
.about-cta-inner .btn-cta:hover { transform: translateY(-2px); color: white; }

@media (max-width: 992px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-logo-frame { padding: 36px; max-width: 480px; margin: 0 auto; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .about-stat-num { font-size: 44px; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-card { grid-template-columns: 1fr; gap: 24px; padding: 32px; text-align: center; }
  .brand-card-emblem { margin: 0 auto; }
  .brand-card-content .brand-origin { justify-content: center; }
  .brand-tags { justify-content: center; }
  .about-intro-text h2 { font-size: 30px; }
  .about-cta-inner { padding: 44px 28px; }
  .about-cta-inner h2 { font-size: 26px; }
}
@media (max-width: 640px) {
  .why-us-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: 1fr; }
}

/* ================ HOMEPAGE CTA ================ */
.home-cta-section {
  padding: 80px 0;
  background: var(--soft);
}
.home-cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, #102a5e 60%, var(--blue-deep) 100%);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.home-cta-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(240,135,26,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.home-cta-card::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,150,240,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.home-cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(240, 135, 26, 0.15);
  border-radius: 100px;
  position: relative;
  z-index: 1;
}
.home-cta-card h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
  position: relative;
  z-index: 1;
}
.home-cta-card p {
  font-size: 16.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.home-cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 32px;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  color: white;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(240, 135, 26, 0.4);
  animation: btnQuoteFlow 8s ease infinite;
  transition: transform .25s;
}
.btn-cta-primary:hover { transform: translateY(-2px); color: white; }
.btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: background .2s, color .2s, transform .25s;
}
.btn-cta-secondary:hover {
  background: white;
  color: var(--navy);
  border-color: white;
  transform: translateY(-2px);
}
.btn-cta-secondary svg { color: var(--orange); }
.btn-cta-secondary:hover svg { color: var(--orange); }
@media (max-width: 768px) {
  .home-cta-card { padding: 44px 22px; }
  .home-cta-card h2 { font-size: 26px; }
  .home-cta-card p { font-size: 15px; }
  .home-cta-actions { flex-direction: column; width: 100%; }
  .btn-cta-primary, .btn-cta-secondary { justify-content: center; }
}

/* ================ FOOTER ================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 50%, var(--orange) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #ffa733, #f0871a);
  background-size: 300% 100%;
  animation: footerHeadFlow 5s linear infinite;
}
@keyframes footerHeadFlow {
  0%   { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}
html[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }

/* Footer contact column (replacement for newsletter) */
.footer-contact {
  list-style: none;
  margin: 0; padding: 0;
}
.footer-contact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0 !important;
  margin-bottom: 18px;
}
.footer-contact li::before { display: none !important; content: none !important; }
.footer-contact-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-contact-icon.is-whatsapp { color: #25d366; }
.footer-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}
html[dir="rtl"] .footer-contact-text { text-align: right; }
html[dir="rtl"] .footer-contact-text a[dir="ltr"] { unicode-bidi: embed; }
.footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}
.footer-contact-value,
.footer-contact a {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: block;
  text-align: start;
  width: 100%;
}
html[dir="rtl"] .footer-contact a,
html[dir="rtl"] .footer-contact-value { text-align: right; }
.footer-contact a:hover { color: var(--orange) !important; padding-left: 0 !important; }

/* Floating call/whatsapp buttons (site-wide) */
.float-contacts {
  position: fixed;
  bottom: 22px; left: 22px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html[dir="rtl"] .float-contacts { left: auto; right: 22px; }
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 12px 28px rgba(10, 31, 74, 0.25);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.float-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: inherit;
  opacity: .35;
  z-index: -1;
  animation: floatPulse 2.4s ease-in-out infinite;
}
.float-btn:hover { transform: scale(1.08); color: white; box-shadow: 0 18px 36px rgba(10, 31, 74, 0.32); }
.float-btn-call { background: var(--blue); }
.float-btn-call::after { background: var(--blue); }
.float-btn-wa { background: #25d366; }
.float-btn-wa::after { background: #25d366; }
@keyframes floatPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: .35; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .float-btn::after { animation: none; opacity: 0; }
}
@media (max-width: 480px) {
  .float-contacts { bottom: 14px; left: 14px; gap: 10px; }
  html[dir="rtl"] .float-contacts { left: auto; right: 14px; }
  .float-btn { width: 50px; height: 50px; }
}
.footer-col p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}
.footer-col ul li::before {
  content: '▸';
  position: absolute;
  left: 0; top: 0;
  color: var(--orange);
  font-size: 11px;
}
.footer-col ul a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: all .25s;
}
.footer-col ul a:hover {
  color: var(--orange);
  padding-left: 4px;
}
.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 4px;
  margin-top: 12px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.newsletter-form button:hover { transform: scale(1.05); }

.footer-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer-meta .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 6px;
}
.footer-meta .value {
  color: white;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.footer-meta .value a {
  color: white;
  transition: color .2s;
}
.footer-meta .value a:hover { color: var(--orange); }

/* WhatsApp phone link — green icon, white text, hover orange */
.phone-with-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  transition: color .2s;
}
.phone-with-wa svg {
  color: #25d366;
  flex-shrink: 0;
  transition: transform .2s;
}
.phone-with-wa:hover {
  color: var(--orange) !important;
}
.phone-with-wa:hover svg {
  transform: scale(1.15);
}
/* In top bar (icon + text inline) the WA icon stays white-ish */
.top-bar-contact .phone-with-wa svg,
.top-bar-contact .contact-link svg {
  color: #25d366;
}
.contact-info-block .value .phone-with-wa {
  margin-bottom: 4px;
}
.footer-bottom {
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.footer-bottom a { color: var(--orange); }
.footer-copyright {
  font-family: 'Cairo', system-ui, sans-serif;
  white-space: nowrap;
  text-align: right;
}
.footer-credit-bp {
  font-family: 'Cairo', system-ui, sans-serif;
  white-space: nowrap;
  text-align: left;
}
html[dir="rtl"] .footer-credit-bp {
  direction: rtl;
  text-align: right;
}

/* In RTL the html dir flips the visual layout — copyright must always be far-right
   and the BP credit far-left, regardless of html dir. We use logical positions: */
html[dir="rtl"] .footer-bottom-inner {
  /* In RTL flow: first child (BP credit) goes to right-edge, last child (copyright) to left-edge.
     We want the OPPOSITE: copyright right, BP credit left.
     Simplest fix: reverse the flex order so the visual ordering is correct. */
  flex-direction: row-reverse;
}

/* On narrow screens, allow wrapping */
@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .footer-copyright,
  .footer-credit-bp {
    white-space: normal;
    text-align: center;
  }
  .top-bar { display: none; }
}

/* ================ RESPONSIVE ================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-image-wrap { max-width: 460px; margin: 0 auto; }
  .products-grid, .sub-products-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
  .features-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-block-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .main-nav,
  .btn-quote { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: white;
    padding: 96px 28px 32px;
    box-shadow: none;
    border-top: none;
    z-index: 1000;
    overflow-y: auto;
  }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open > ul > li > a {
    font-size: 18px;
    padding: 14px 16px;
    width: 100%;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .main-nav.open .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 16px; display: none; min-width: 0; border: none; background: var(--soft); border-radius: 8px; margin-top: 4px; }
  .main-nav.open .has-dropdown.open .dropdown { display: block; }
  .main-nav.open .nav-lang-link { font-size: 18px !important; padding: 14px 16px !important; }
  .hero-title { font-size: 44px; }
  h2.h2-display, .section-heading h2, .page-banner h1 { font-size: 32px; }
  .hero-badge { display: none; }
}

@media (max-width: 640px) {
  .top-bar-inner { flex-direction: column; gap: 6px; }
  .hero { padding: 50px 0 60px; }
  .hero-title { font-size: 32px; line-height: 1.2; }
  .hero-eyebrow { font-size: 12px; padding: 7px 14px; }
  .hero-subtitle { font-size: 15.5px; margin-bottom: 28px; line-height: 1.75; }
  .hero-cta { gap: 10px; margin-bottom: 36px; width: 100%; }
  .hero-cta .btn { padding: 14px 22px; font-size: 14px; flex: 1; min-width: 140px; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 100%; }
  .hero-stat-num { font-size: 24px; }
  .hero-stat-label { font-size: 10.5px; letter-spacing: 0.3px; }
  .products-grid, .sub-products-grid, .downloads-grid, .features-strip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-meta { grid-template-columns: 1fr; gap: 16px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-form-card, .contact-info-card { padding: 32px 24px; }
  h2.h2-display, .section-heading h2 { font-size: 26px; }
  .page-banner { padding: 60px 0; }
  .page-banner h1 { font-size: 32px; }
  .about-stat { flex-direction: column; gap: 14px; }
  .about-features { grid-template-columns: 1fr; }
  .product-card-body { grid-template-columns: 1fr; }
  .product-card-img { width: 100%; height: 160px; }
  .section { padding: 60px 0; }
}

/* ================ LEGACY ALIASES ================ */

/* page banner h1 */
.banner-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
  padding-left: 22px;
  color: white;
}
.banner-title::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 5px;
  background: linear-gradient(180deg, #ffb347, #f0871a, #d8731a, #ff9933, #ffb347, #d8731a, #f0871a);
  background-size: 100% 600%;
  border-radius: 3px;
  animation: bannerDashFlow 5s ease infinite;
}
@media (prefers-reduced-motion: reduce) {
  .page-banner h1::before,
  .banner-title::before { animation: none; background: var(--orange); }
}
.breadcrumbs {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.breadcrumbs a { color: var(--orange); }
.breadcrumbs a:hover { color: white; }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; color: rgba(255,255,255,0.6); }
.breadcrumbs .current { color: rgba(255,255,255,0.7); }

/* product detail page (legacy markup support) */
.product-spec-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
  line-height: 1.5;
}
.product-spec-h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.spec-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}
.spec-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
}
.spec-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  box-shadow: 0 4px 10px rgba(240, 135, 26, 0.35);
  animation: btnQuoteFlow 6s ease infinite;
}
@media (prefers-reduced-motion: reduce) {
  .spec-list li::before { animation: none; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); }
}
.spec-list li::after {
  content: '';
  position: absolute;
  left: 7px; top: 10px;
  width: 10px; height: 6px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(-45deg);
}
.btn-download {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 0 8px 20px rgba(0, 150, 240, 0.3);
  transition: all .3s;
  border: none;
  cursor: pointer;
}
.btn-download::before {
  content: '↓';
  font-size: 16px;
  font-weight: 900;
}
.btn-download:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 12px 24px rgba(0, 150, 240, 0.4);
}
.product-image-large {
  position: relative;
  background: transparent;
  border-radius: 24px;
  padding: 0;
  border: none;
  overflow: hidden;
  display: block;
  max-width: 80%;
  margin: 0 auto;
  line-height: 0;
}
.product-image-large img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(0,0,0,0.18);
}
.product-image-large.is-compact {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}
.product-image-large.is-compact img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  margin: 0 auto;
}

/* sub-products area on product pages (legacy markup) */
.sub-products {
  margin-top: 60px;
  padding: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sub-product {
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  border: 2px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a) border-box;
  background-size: auto, 600% 600%;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  animation: subProductFlow 8s ease infinite;
}
@keyframes subProductFlow {
  0%   { background-position: 0% 0, 0% 50%; }
  50%  { background-position: 0% 0, 100% 50%; }
  100% { background-position: 0% 0, 0% 50%; }
}
.sub-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.sub-product-img {
  height: 180px;
  background: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 10px;
}
.sub-product-img img {
  max-height: 160px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.sub-product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
  flex: 1;
}
.btn-sub {
  display: inline-block;
  padding: 9px 20px;
  background: linear-gradient(270deg, #f0871a, #ffa733, #d8731a, #ff8f1f, #d8731a, #ffa733, #f0871a);
  background-size: 600% 600%;
  color: white;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(240, 135, 26, 0.25);
  animation: btnQuoteFlow 8s ease infinite;
}
.btn-sub:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 8px 18px rgba(240, 135, 26, 0.35);
}
.btn-sub::after { content: ' ▸'; font-size: 11px; }
@media (prefers-reduced-motion: reduce) {
  .sub-product { animation: none; background: white; border-color: var(--orange); }
  .btn-sub { animation: none; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); }
}

/* sewage grid: 3 cols at desktop */
.sewage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 0;
}

/* downloads card (legacy markup with .download-card-name + svg icon) */
.download-card .download-icon svg {
  width: 50px;
  height: 60px;
}
.download-card-name {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

/* old "grid" class on the home about (now replaced by .about-grid) — keep harmless */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* responsive overrides */
@media (max-width: 1024px) {
  .sub-products,
  .sewage-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr; }
  .banner-title { font-size: 32px; }
}
@media (max-width: 640px) {
  .sub-products,
  .sewage-grid { grid-template-columns: 1fr; }
  .banner-title { font-size: 28px; }
}

/* ================ RTL & ARABIC SUPPORT ================ */

/* Use Arabic font when html dir is rtl */
html[dir="rtl"] body {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
}
html[dir="rtl"] .hero-stat-num,
html[dir="rtl"] .stat-num .num {
  font-family: 'Cairo', system-ui, sans-serif;
}

/* Mirror logical layouts for RTL — hero stat is now centered, no side padding */
html[dir="rtl"] .hero-stat {
  padding-left: 8px;
  padding-right: 8px;
}
html[dir="rtl"] .eyebrow {
  padding-left: 0;
  padding-right: 32px;
}
html[dir="rtl"] .eyebrow::before {
  left: auto;
  right: 0;
}
html[dir="rtl"] .section-heading .eyebrow {
  padding-right: 0;
}

html[dir="rtl"] .about-stat {
  border-left: none;
  border-right: 4px solid var(--orange);
}
html[dir="rtl"] .page-banner h1,
html[dir="rtl"] .banner-title {
  padding-left: 0;
  padding-right: 22px;
}
html[dir="rtl"] .page-banner h1::before,
html[dir="rtl"] .banner-title::before {
  left: auto;
  right: 0;
}
html[dir="rtl"] .breadcrumbs,
html[dir="rtl"] .breadcrumb {
  text-align: right;
}

html[dir="rtl"] .product-detail-content ul li,
html[dir="rtl"] .spec-list li {
  padding-left: 0;
  padding-right: 38px;
}
html[dir="rtl"] .product-detail-content ul li::before,
html[dir="rtl"] .product-detail-content ul li::after,
html[dir="rtl"] .spec-list li::before,
html[dir="rtl"] .spec-list li::after {
  left: auto;
}
html[dir="rtl"] .product-detail-content ul li::before,
html[dir="rtl"] .spec-list li::before {
  right: 0;
}
html[dir="rtl"] .product-detail-content ul li::after,
html[dir="rtl"] .spec-list li::after {
  right: 7px;
}

html[dir="rtl"] .contact-info-block {
  padding-left: 0;
  padding-right: 38px;
}
html[dir="rtl"] .contact-info-block::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .footer-col ul li {
  padding-left: 0;
  padding-right: 18px;
}
html[dir="rtl"] .footer-col ul li::before {
  left: auto;
  right: 0;
  content: '◂';
}
html[dir="rtl"] .footer-col ul a:hover {
  padding-left: 0;
  padding-right: 4px;
}
html[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

/* Newsletter form: keep button on the right side in RTL too */
html[dir="rtl"] .newsletter-form button svg {
  transform: rotate(180deg);
}

/* Top bar reorder for RTL */
html[dir="rtl"] .top-bar-inner {
  flex-direction: row;
}

/* Hero accent underline mirrors fine; product-card-footer arrow */
html[dir="rtl"] .product-card-footer span,
html[dir="rtl"] .btn-quote .arrow,
html[dir="rtl"] .btn-pdf::before {
  transform: scaleX(-1);
  display: inline-flex;
}
html[dir="rtl"] .btn-pdf::before {
  content: '↓';
  transform: none;
}
html[dir="rtl"] .breadcrumbs .sep,
html[dir="rtl"] .breadcrumb .sep {
  display: inline-block;
  transform: scaleX(-1);
}
html[dir="rtl"] .has-dropdown:hover > a::after,
html[dir="rtl"] .has-dropdown.open > a::after {
  border-color: var(--orange);
}

/* RTL dropdown alignment */
html[dir="rtl"] .dropdown {
  left: auto;
  right: 0;
}
html[dir="rtl"] .dropdown .submenu {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 4px;
}

/* Sub-product more arrow */
html[dir="rtl"] .btn-sub::after,
html[dir="rtl"] .sub-product-card .more::after { content: ' ◂'; }

/* Hero badges position swap */
html[dir="rtl"] .hero-badge-1 { left: auto; right: -10px; }
html[dir="rtl"] .hero-badge-2 { right: auto; left: -10px; }

/* About image offset block flip */
html[dir="rtl"] .about-image-wrap::before {
  left: auto;
  right: -30px;
}
html[dir="rtl"] .about-image-wrap::after {
  right: auto;
  left: -20px;
}

/* Lang switcher in top bar */
.top-bar-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--orange);
  color: white;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  transition: all .2s;
}
.lang-switch:hover {
  background: var(--orange-dark);
  color: white;
  transform: translateY(-1px);
}
.lang-switch svg { color: white; flex-shrink: 0; }
.lang-switch .lang-code { letter-spacing: 0.5px; }
.lang-switch .lang-label { display: none; }

/* In-nav language switch (after Contact Us) — dropdown trigger */
.nav-lang { margin-left: 8px; }
.nav-lang-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px !important;
  background: transparent !important;
  color: var(--ink) !important;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  transition: background .2s, color .2s;
}
.nav-lang-link:hover {
  background: var(--blue-light) !important;
  color: var(--blue) !important;
  transform: none;
  box-shadow: none !important;
}
.nav-lang-link svg { flex-shrink: 0; opacity: .8; }
.nav-lang-dropdown { min-width: 160px !important; }
.nav-lang-dropdown a { text-align: start; }
.nav-lang-dropdown .active > a {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}
html[dir="rtl"] .nav-lang { margin-left: 0; margin-right: 8px; }

@media (max-width: 640px) {
  .lang-switch .lang-code { font-size: 13px; }
  .top-bar-contact { flex-direction: column; gap: 4px; align-items: flex-start; }
  .top-bar-divider { display: none; }
}
