:root {
  --navy: #14213d;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --rust: #b5502e;
  --teal: #0f766e;
  --teal-dark: #0b5c56;
  --wood: #b8804d;
  --wood-dark: #8a5e33;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
  --font-latin: "Inter", sans-serif;
  --font-arabic: "Noto Kufi Arabic", "Inter", sans-serif;
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
button, a, .btn, .btn-primary, .btn-details, .social-icon, .lang-current, .theme-toggle {
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 640px) {
  .btn, button[type="submit"], .btn-details, .btn-whatsapp, .send-email, .send-whatsapp {
    min-height: 46px;
  }
  input, select, textarea { font-size: 16px; } /* prevents iOS auto-zoom on focus */
}


html[data-theme="dark"] {
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --bg: #0b1220;
  --card: #131c2e;
  --border: #24304a;
  --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.35);
}
html[data-theme="dark"] .product-image,
html[data-theme="dark"] .chip { background: #1c2740; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea { background: #0f1830; color: var(--ink); }
html[data-theme="dark"] .lang-btn,
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .btn-outline { background: var(--card); }

.theme-toggle { border: 1px solid var(--border); background: var(--card); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.hero-content-logo svg { filter: drop-shadow(0 4px 14px rgba(0,0,0,0.12)); }
body[dir="rtl"] { font-family: var(--font-arabic); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* --- Nav --- */
.navbar { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.logo-mark { width: 36px; height: 36px; background: var(--rust); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.nav-links { display: flex; gap: 20px; font-weight: 500; font-size: 14px; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { border: 1px solid var(--border); background: #fff; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.lang-btn { border: 1px solid var(--border); background: #fff; color: var(--ink); padding: 7px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 700; }
.lang-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14.5px; padding: 12px 20px; border-radius: 8px; border: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0d1730; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-danger { background: #b91c1c; color: #fff; }
.btn-whatsapp { background: #25d366; color: #06210f; }
.btn-whatsapp:hover { background: #1fbd5a; }

/* --- Hero --- */
.hero { padding: 56px 0 20px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rust); margin-bottom: 14px; }
.hero h1 { font-size: 40px; font-weight: 800; }
.hero .lead { font-size: 16.5px; }
.hero-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.hero-art { width: 100%; }

/* --- Sections --- */
.section { padding: 44px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: 27px; font-weight: 800; }

/* --- Shipping features --- */
.shipping-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.shipping-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.ship-feature { border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.ship-feature .icon { font-size: 22px; margin-bottom: 8px; display: block; }
.ship-feature h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 4px; }
.ship-feature p { font-size: 13px; margin: 0; }

/* --- Product grid --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product-image { aspect-ratio: 1/1; background: #f1f5f2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }

/* These reference images are complete, pre-designed cards (photo + title +
   specs baked in as one square image), so we show them at their native
   1:1 ratio with no cropping, padding, or extra background tinting. */
.product-image {
  background: #ffffff !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
}
.product-image img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
}
.product-body {
  min-height: 0 !important;
}
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { background: #eef2f5; color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.chip.cert { background: #ecfdf5; color: var(--teal-dark); }
.product-body h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.product-body .desc { font-size: 14px; margin-bottom: 10px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-bottom: 10px; }
.spec-table td { padding: 4px 0; border-top: 1px dashed var(--border); color: var(--muted); }
.spec-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.moq-line { font-size: 12.5px; color: var(--muted); margin: 6px 0 12px; }

/* --- Forms --- */
.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 20px; font-weight: 800; }
.form-card .sub { font-size: 14px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--ink); font-size: 14.5px; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.helper-text { font-size: 13px; color: var(--muted); margin-top: 14px; }
.send-options { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.send-options a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.send-email { background: var(--navy); color: #fff; }

/* --- About --- */
.about-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact-card h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 8px; }
.contact-card .value { font-size: 17px; font-weight: 700; }
.contact-card a.value { color: var(--teal); }

.footer { border-top: 1px solid var(--border); padding: 26px 0; text-align: center; font-size: 13px; color: var(--muted); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }

.stat-underline {
  width: 44px;
  height: 3px;
  background: var(--teal, #0f766e);
  border-radius: 2px;
  margin: 6px 0 14px;
}
.stat-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 2px;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.social-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.social-icon:hover { background: var(--teal, #0f766e); color: #fff; border-color: var(--teal, #0f766e); }

/* --- Admin --- */
.admin-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.55); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.admin-panel { background: #fff; border-radius: 14px; width: 100%; max-width: 760px; padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.admin-panel h2 { font-size: 22px; margin-bottom: 4px; }
.admin-close { float: right; border: none; background: transparent; font-size: 20px; cursor: pointer; color: var(--muted); }
.admin-tabs { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.admin-tab { border: 1px solid var(--border); background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.admin-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-section { display: none; }
.admin-section.active { display: block; }
.lang-subtabs { display: flex; gap: 6px; margin-bottom: 14px; }
.lang-subtab { border: 1px solid var(--border); background: #f8fafc; padding: 6px 12px; border-radius: 6px; font-size: 12.5px; font-weight: 700; }
.lang-subtab.active { background: var(--wood); color: #fff; border-color: var(--wood); }
.lang-panel { display: none; }
.lang-panel.active { display: block; }
.admin-product-row { border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 14px; }
.admin-note { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.thumb-preview { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #eef2f5; margin-bottom: 8px; }
.admin-actions-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.login-box { max-width: 320px; margin: 0 auto; }
.error-text { color: #b91c1c; font-size: 13px; margin-bottom: 10px; }

@media (max-width: 860px) {
  .forms-grid, .contact-grid, .hero .container { grid-template-columns: 1fr; }
  .shipping-features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

.hero-photo { border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--card); }
.logo-mark img { border-radius: 8px; }



/* --- Professional responsive upgrade --- */
body { overflow-x: hidden; }
.navbar { backdrop-filter: blur(14px); background: color-mix(in srgb, var(--card) 92%, transparent); }
.brand span:last-child { white-space: nowrap; }
.nav-links a { position: relative; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.nav-links a:hover::after { transform: scaleX(1); }
.language-menu { position: relative; }
.lang-current, .lang-option {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  min-height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
  padding: 7px 11px;
}
.lang-current .chevron { color: var(--muted); margin-inline-start: 2px; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all .16s ease;
  z-index: 60;
}
body[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
.language-menu:hover .lang-dropdown,
.language-menu:focus-within .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option { width: 100%; justify-content: flex-start; border: none; border-radius: 9px; background: transparent; }
.lang-option:hover, .lang-option.active { background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-dark); }
html[data-theme="dark"] .lang-option:hover,
html[data-theme="dark"] .lang-option.active { color: #7dd3c7; }
.hero { padding: 70px 0 36px; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  background: radial-gradient(circle at 70% 15%, rgba(15,118,110,.12), transparent 38%),
              radial-gradient(circle at 15% 20%, rgba(184,128,77,.10), transparent 35%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-content-logo { margin-bottom: 4px; }
.hero-content-logo img { filter: drop-shadow(0 12px 28px rgba(15,23,42,.12)); }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: transparent;
  filter: drop-shadow(0 26px 38px rgba(15,23,42,.20));
  transform: translateY(6px);
}
.hero .lead { max-width: 610px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.035em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-head p { max-width: 640px; }
.product-grid { align-items: stretch; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { height: 100%; min-height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(15,23,42,.11); border-color: color-mix(in srgb, var(--teal) 35%, var(--border)); }
.product-image { aspect-ratio: 1 / 1; min-height: 0; background: #ffffff; }
.product-body { min-height: 0; }
.product-body h3 { min-height: 40px; }
.product-body .desc { min-height: 66px; }
.spec-table { table-layout: fixed; margin-top: auto; }
.spec-table td:first-child { width: 45%; }
.spec-table td:last-child { width: 55%; overflow-wrap: anywhere; }
.product-body .btn { margin-top: auto; }
.standards-section { padding-top: 22px; }
.standards-wrap {
  background: linear-gradient(135deg, color-mix(in srgb, var(--card) 88%, #ffffff), color-mix(in srgb, var(--teal) 7%, var(--card)));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.standards-intro { max-width: 820px; margin-bottom: 24px; }
.standards-intro h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 850; margin-bottom: 10px; }
.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.standard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  min-height: 185px;
}
.standard-number {
  width: 38px;
  height: 30px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal);
  font-weight: 850;
  font-size: 12px;
  margin-bottom: 10px;
}
.standard-card h3 { font-size: 16px; font-weight: 850; min-height: 38px; }
.standard-card p { font-size: 13.5px; margin: 0; }
.forms-grid, .contact-grid, .shipping-features { align-items: stretch; }
.form-card, .contact-card, .ship-feature { height: 100%; }
.form-card, .about-box, .shipping-box, .contact-card { border-radius: 16px; }
.field input, .field select, .field textarea { min-height: 44px; }
.btn { border-radius: 10px; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }
.btn-navy { background: linear-gradient(135deg, #14213d, #0b1220); }
.btn-teal { background: linear-gradient(135deg, var(--teal), #0b5c56); }
@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { min-height: 0; }
}
@media (max-width: 920px) {
  .navbar .container { height: auto; padding-top: 12px; padding-bottom: 12px; }
  .brand { flex: 1 1 100%; justify-content: center; }
  .nav-links { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px 18px; padding-top: 4px; }
  .nav-actions { margin: 0 auto; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-content-logo img { margin: 0 auto; }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 42px; }
  .forms-grid, .contact-grid, .shipping-features { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .standards-wrap { padding: 22px; border-radius: 14px; }
  .standards-grid, .product-grid { grid-template-columns: 1fr; }
  .product-body { min-height: auto; }
  .product-body h3, .product-body .desc { min-height: 0; }
  .product-image { min-height: 190px; }
  .btn { width: 100%; }
  .send-options a { width: 100%; }
  .nav-links { font-size: 13px; }
  .lang-current { min-width: 128px; justify-content: center; }
}
@media (max-width: 440px) {
  .nav-actions { width: 100%; justify-content: center; flex-wrap: wrap; }
  .brand { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero h1 { font-size: 32px; }
  .section { padding: 32px 0; }
  .form-card, .about-box, .shipping-box, .contact-card { padding: 18px; }
  .standard-card { min-height: auto; }
}



/* --- V8 simpler formal homepage upgrade --- */
.flag-emoji { font-size: 16px; line-height: 1; }
.flag-kurdistan {
  width: 22px;
  height: 14px;
  display: inline-block;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15,23,42,.16);
  background: linear-gradient(to bottom, #ed1c24 0 33.33%, #ffffff 33.33% 66.66%, #00a651 66.66% 100%);
  flex: 0 0 auto;
}
.flag-kurdistan span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #ffd100;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(255,209,0,.6);
}
.flag-kurdistan span::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: repeating-conic-gradient(from 0deg, #ffd100 0 8deg, transparent 8deg 16deg);
  border-radius: 50%;
  z-index: -1;
}

.navbar .container { min-height: 76px; }
.nav-links { gap: 22px; }
.nav-links a { font-weight: 750; text-transform: uppercase; font-size: 12px; letter-spacing: .02em; }

.hero {
  padding: 58px 0 34px;
  background:
    linear-gradient(100deg, rgba(10,24,43,.96) 0%, rgba(10,24,43,.86) 42%, rgba(10,24,43,.25) 100%),
    radial-gradient(circle at 72% 24%, rgba(184,128,77,.18), transparent 38%);
  color: #fff;
}
.hero::before { display: none; }
.hero .container { grid-template-columns: .92fr 1.08fr; gap: 24px; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.3vw, 54px); letter-spacing: -.035em; text-transform: none; }
.hero .lead { color: rgba(255,255,255,.82); font-size: 17px; }
.hero .eyebrow { color: #d6a444; }
.hero-content-logo {
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  display: inline-flex;
  padding: 8px 12px;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.hero-content-logo img { max-width: 260px !important; }
.hero-photo {
  max-height: 430px;
  transform: none;
  filter: drop-shadow(0 28px 42px rgba(0,0,0,.38));
}
.hero-actions .btn-outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.34); }
.hero-actions .btn-outline:hover { border-color: #fff; }

.stats-strip {
  background: #08192d;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-item {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border-inline-end: 1px solid rgba(255,255,255,.14);
}
.stat-item:last-child { border-inline-end: 0; }
.stat-item strong {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  color: #d6a444;
}
.stat-item span {
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .02em;
}

.manufacturing-section { padding-top: 38px; }
.manufacturing-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
  align-items: stretch;
}
.manufacturing-card, .capacity-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--card);
}
.manufacturing-card { padding: 30px; }
.manufacturing-card h2, .clients-head h2 { font-size: clamp(25px, 3vw, 36px); }
.point-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.point-item {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, #f8fafc);
}
.point-item span { color: var(--teal); font-weight: 900; margin-inline-end: 8px; }
.capacity-card {
  padding: 30px;
  background: linear-gradient(135deg, #0a1b30, #102c4a);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.capacity-number {
  font-size: clamp(44px, 6vw, 72px);
  line-height: .9;
  font-weight: 900;
  color: #d6a444;
}
.capacity-label {
  margin-top: 12px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 900;
}
.capacity-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.18);
  margin: 22px 0;
}
.capacity-small {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.clients-section { padding-top: 16px; }
.clients-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.clients-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.clients-head p { max-width: 780px; }
.client-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.client-chip {
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--card) 88%, #ffffff), color-mix(in srgb, var(--teal) 5%, var(--card)));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-weight: 850;
  color: var(--ink);
}

.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-body { min-height: 0; }
.standards-wrap { background: linear-gradient(135deg, #091a2f, #102b49); color: #fff; }
.standards-wrap p { color: rgba(255,255,255,.76); }
.standards-intro h2 { color: #fff; }
.standard-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.standard-card h3 { color: #fff; }
.standard-number { background: rgba(214,164,68,.16); color: #d6a444; }

@media (max-width: 1120px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.14); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero .container, .manufacturing-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-content-logo { margin: 0 auto; }
  .client-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-head { display: block; }
  .clients-head .btn { margin-top: 10px; }
}
@media (max-width: 640px) {
  .stats-grid, .client-types, .point-grid, .product-grid { grid-template-columns: 1fr; }
  .stat-item { border-inline-end: 0; min-height: 78px; align-items: center; text-align: center; }
  .hero-content-logo img { max-width: 220px !important; }
  .manufacturing-card, .clients-wrap, .capacity-card { padding: 22px; }
}



/* --- V9 darker simpler professional update --- */
html[data-theme="dark"] {
  --ink: #edf2f7;
  --muted: #a7b4c5;
  --bg: #07111d;
  --card: #0d1726;
  --border: #1d2a3d;
  --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 12px 30px rgba(0,0,0,0.28);
}
html[data-theme="dark"] .navbar {
  background: rgba(8, 16, 28, 0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .nav-links a { color: #d8dfeb; }
html[data-theme="dark"] .hero { background:
  linear-gradient(100deg, rgba(4,12,22,.97) 0%, rgba(6,16,29,.88) 42%, rgba(6,16,29,.40) 100%),
  radial-gradient(circle at 72% 24%, rgba(184,128,77,.20), transparent 38%);
}
html[data-theme="dark"] .stats-strip {
  background: #081522;
}
html[data-theme="dark"] .clients-wrap,
html[data-theme="dark"] .manufacturing-card,
html[data-theme="dark"] .capacity-card,
html[data-theme="dark"] .shipping-box,
html[data-theme="dark"] .about-box,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .gallery-card,
html[data-theme="dark"] .standards-wrap,
html[data-theme="dark"] .standard-card {
  background-color: var(--card);
}
html[data-theme="dark"] .gallery-card,
html[data-theme="dark"] .clients-wrap,
html[data-theme="dark"] .manufacturing-card,
html[data-theme="dark"] .shipping-box,
html[data-theme="dark"] .about-box,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .point-item,
html[data-theme="dark"] .client-chip,
html[data-theme="dark"] .standard-card {
  border-color: var(--border);
}
html[data-theme="dark"] .point-item,
html[data-theme="dark"] .client-chip,
html[data-theme="dark"] .gallery-overlay {
  background: rgba(255,255,255,0.03);
}

.gallery-section { padding-top: 8px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 250px;
}
.gallery-card-large {
  grid-row: span 2;
  min-height: 520px;
}
.gallery-image {
  position: absolute;
  inset: 0;
}
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,18,.85), rgba(5,10,18,.18) 55%, rgba(5,10,18,0.02));
}
.gallery-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  padding: 16px 16px 14px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.gallery-overlay h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}
.gallery-overlay p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.hero .container { gap: 18px; }
.hero-photo { max-height: 390px; }
.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  min-height: 88px;
}
.clients-head .btn {
  white-space: nowrap;
}
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-card-large {
    grid-column: 1 / -1;
    grid-row: span 1;
    min-height: 360px;
  }
}
@media (max-width: 760px) {
  .gallery-grid,
  .stats-grid,
  .product-grid { grid-template-columns: 1fr; }
  .gallery-card,
  .gallery-card-large { min-height: 250px; }
  .gallery-card-large { grid-column: auto; }
}


/* --- V10 hero cleanup and professional dark theme --- */
html[data-theme="dark"] {
  --ink: #edf3f9;
  --muted: #9fb0c2;
  --bg: #071019;
  --card: #0b1622;
  --border: #1a2a3d;
  --navy: #10243d;
  --shadow: 0 10px 28px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.18);
}
html[data-theme="dark"] body {
  background: linear-gradient(180deg, #071019 0%, #08131f 100%);
}
html[data-theme="dark"] .navbar {
  background: rgba(7,16,25,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: none;
}
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .lang-current,
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .lang-dropdown {
  background: #0d1a28;
  border-color: #243549;
}
html[data-theme="dark"] .btn-outline {
  background: transparent;
  border-color: #2a3c51;
  color: var(--ink);
}
html[data-theme="dark"] .btn-outline:hover {
  border-color: #4b657f;
}
.hero {
  background: linear-gradient(135deg, rgba(7,16,25,1) 0%, rgba(8,22,36,0.98) 52%, rgba(10,30,48,0.98) 100%);
  color: #fff;
  padding: 88px 0 56px;
}
.hero::before { display: none !important; }
.hero .container {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
}
.hero-copy { max-width: 760px; }
.hero-content-logo, .hero-photo, .hero-art { display: none !important; }
.hero .eyebrow {
  display: inline-block;
  margin: 0 0 14px !important;
  color: #c8a165;
  font-size: 13px;
  letter-spacing: 0.09em;
}
.hero h1 {
  font-size: clamp(42px, 5.3vw, 74px);
  line-height: 1.03;
  color: #f8fbff;
  margin-bottom: 16px;
}
.hero .lead {
  color: rgba(237,243,249,0.80);
  font-size: 18px;
  max-width: 650px;
  margin-bottom: 0;
}
.hero-actions { margin-top: 28px; }
.hero-info-panel {
  background: linear-gradient(180deg, rgba(14,26,40,0.96), rgba(10,20,31,0.96));
  border: 1px solid #22364a;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.hero-panel-head { margin-bottom: 18px; }
.hero-panel-kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8a165;
  margin-bottom: 6px;
}
.hero-panel-head h3 {
  font-size: 26px;
  color: #f2f6fb;
}
.hero-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-info-item {
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 14px 15px;
  min-height: 96px;
}
.hero-info-item .label {
  display: block;
  color: #9fb0c2;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 9px;
}
.hero-info-item strong {
  display: block;
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
}
.hero-panel-note {
  margin-top: 16px;
  color: rgba(237,243,249,0.72);
  font-size: 13px;
  line-height: 1.5;
}
.stats-strip {
  background: #0b1622;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.gallery-card::after {
  background: linear-gradient(to top, rgba(7,16,25,.78), rgba(7,16,25,.10) 60%, rgba(7,16,25,0.00));
}
.gallery-overlay {
  background: rgba(8,18,29,0.48) !important;
  border: 1px solid rgba(255,255,255,0.08);
}
.standards-wrap {
  background: linear-gradient(135deg, #0c1724, #112235) !important;
}
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .hero h1 { font-size: clamp(36px, 9vw, 58px); }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 38px; }
  .hero-info-grid { grid-template-columns: 1fr; }
  .hero .lead { font-size: 16px; }
}



/* --- V11 final professional simplification --- */

/* Use Rudaw first for Kurdish when available on the visitor's device; fallback remains safe. */
html[lang="ku"],
html[lang="ku"] body,
html[lang="ku"] input,
html[lang="ku"] textarea,
html[lang="ku"] select,
html[lang="ku"] button {
  font-family: "Rudaw", "RudawRegular", "Noto Kufi Arabic", "Inter", sans-serif !important;
}

/* Remove the operations/gallery section completely. */
.gallery-section { display: none !important; }

/* More refined dark mode */
html[data-theme="dark"] {
  --bg: #071019;
  --card: #0d1724;
  --ink: #eef3f8;
  --muted: #9aa9ba;
  --border: #1d2c3f;
  --teal: #2b9f95;
  --teal-dark: #1d7f77;
  --wood: #c49a5c;
  --wood-dark: #9a7442;
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 85% 8%, rgba(43,159,149,0.08), transparent 30%),
    radial-gradient(circle at 10% 2%, rgba(196,154,92,0.07), transparent 28%),
    #071019;
}
html[data-theme="dark"] .navbar {
  background: rgba(7, 16, 25, 0.94);
  border-bottom-color: rgba(255,255,255,0.07);
}
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .shipping-box,
html[data-theme="dark"] .about-box,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .clients-wrap,
html[data-theme="dark"] .manufacturing-card {
  background: linear-gradient(180deg, rgba(13,23,36,0.96), rgba(10,19,30,0.96));
}
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  background: #0a1420;
  border-color: #26384d;
}

/* Smaller, cleaner homepage typography */
.hero {
  padding: 72px 0 46px !important;
}
.hero h1 {
  font-size: clamp(34px, 4.1vw, 58px) !important;
  line-height: 1.07 !important;
  max-width: 760px;
}
.hero .lead {
  font-size: clamp(15px, 1.25vw, 17px) !important;
  line-height: 1.7 !important;
  max-width: 650px;
}
.hero .eyebrow {
  font-size: 11.5px !important;
  letter-spacing: 0.12em !important;
}
.hero-panel-head h3 {
  font-size: 21px !important;
}
.hero-info-item strong {
  font-size: 16px !important;
}
.hero-info-item .label {
  font-size: 10.5px !important;
}
.hero-info-item {
  min-height: 82px !important;
  padding: 12px !important;
}
.hero-info-panel {
  padding: 22px !important;
}
.stat-item {
  min-height: 76px !important;
  padding: 14px 18px !important;
}
.stat-item strong {
  font-size: clamp(20px, 2vw, 28px) !important;
}
.stat-item span {
  font-size: 10.5px !important;
}
.section-head h2,
.manufacturing-card h2,
.clients-head h2,
.standards-intro h2 {
  font-size: clamp(22px, 2.35vw, 32px) !important;
}
.section-head p,
.manufacturing-card p,
.clients-head p,
.standards-intro p {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}
.product-body h3 {
  font-size: 15.5px !important;
}
.product-body .desc,
.spec-table,
.moq-line {
  font-size: 12.5px !important;
}
.btn {
  font-size: 13px !important;
  padding: 10px 16px !important;
}
.nav-links a {
  font-size: 11.5px !important;
}
.brand {
  font-size: 15.5px !important;
}
@media (max-width: 980px) {
  .hero { padding: 52px 0 34px !important; }
}



/* --- V12 hero background and smaller title --- */

.hero-with-bg {
  position: relative;
  overflow: hidden;
  padding: 86px 0 54px !important;
  background:
    linear-gradient(90deg, rgba(7,16,25,0.97) 0%, rgba(7,16,25,0.92) 46%, rgba(7,16,25,0.82) 100%);
}
.hero-with-bg .container {
  position: relative;
  z-index: 2;
  display: block !important;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  right: -3%;
  bottom: -6%;
  width: min(68vw, 980px);
  max-width: none;
  opacity: 0.16;
  filter: saturate(0.92) brightness(0.95);
  pointer-events: none;
}
.hero-with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 50%, rgba(196,154,92,0.10), transparent 28%),
    linear-gradient(90deg, rgba(7,16,25,0.12), rgba(7,16,25,0.38));
  z-index: 1;
  pointer-events: none;
}

.hero-with-bg .hero-copy {
  max-width: 720px;
}
.hero-with-bg h1 {
  font-size: clamp(22px, 2.8vw, 38px) !important;
  line-height: 1.15 !important;
  max-width: 620px;
  margin-bottom: 14px;
}
.hero-with-bg .lead {
  font-size: clamp(14px, 1.1vw, 15.5px) !important;
  max-width: 660px;
}
.hero-with-bg .hero-actions {
  margin-top: 24px;
}
.hero-with-bg .eyebrow {
  font-size: 11px !important;
  margin-bottom: 10px !important;
}

@media (max-width: 980px) {
  .hero-bg-image {
    width: min(92vw, 760px);
    right: -18%;
    bottom: -2%;
    opacity: 0.12;
  }
  .hero-with-bg {
    padding: 64px 0 40px !important;
  }
  .hero-with-bg h1 {
    font-size: clamp(21px, 5.1vw, 32px) !important;
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .hero-bg-image {
    width: 120vw;
    right: -30%;
    bottom: 0;
    opacity: 0.10;
  }
  .hero-with-bg {
    padding: 52px 0 32px !important;
  }
  .hero-with-bg .lead {
    font-size: 14px !important;
  }
}



/* --- V13 new hero text and uploaded-style image --- */
.hero-bg-image {
  right: -2% !important;
  bottom: -4% !important;
  width: min(62vw, 900px) !important;
  opacity: 0.22 !important;
  border-radius: 18px;
  filter: saturate(0.95) contrast(1.02) brightness(0.92);
}
.hero-with-bg::after {
  background:
    radial-gradient(circle at 75% 42%, rgba(196,154,92,0.08), transparent 30%),
    linear-gradient(90deg, rgba(7,16,25,0.18), rgba(7,16,25,0.50)) !important;
}
.hero-with-bg h1 {
  font-size: clamp(20px, 2.5vw, 34px) !important;
  max-width: 540px !important;
}
.hero-with-bg .lead {
  max-width: 580px !important;
}
@media (max-width: 980px) {
  .hero-bg-image {
    width: min(88vw, 720px) !important;
    right: -12% !important;
    opacity: 0.16 !important;
  }
}



/* --- V14 full background hero and fixed LTR contact --- */

/* Keep same structure in all languages */
body[dir="ltr"] {
  direction: ltr;
}
.ltr-value {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
}

/* Full main image background behind all hero content */
.hero-with-bg {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #071019;
}
.hero-with-bg .container {
  position: relative;
  z-index: 2;
  display: block !important;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.28 !important;
  filter: saturate(0.95) contrast(1.02) brightness(0.78) !important;
  border-radius: 0 !important;
}
.hero-with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,16,25,0.90) 0%, rgba(7,16,25,0.82) 38%, rgba(7,16,25,0.74) 70%, rgba(7,16,25,0.80) 100%);
}
.hero-with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 40%, rgba(196,154,92,0.10), transparent 28%);
  pointer-events: none;
}

.hero-with-bg .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 8px 0;
}
.hero-with-bg h1 {
  font-size: clamp(22px, 2.6vw, 36px) !important;
  line-height: 1.16 !important;
  max-width: 540px !important;
  margin-bottom: 14px;
}
.hero-with-bg .lead {
  font-size: clamp(14px, 1.05vw, 15.5px) !important;
  line-height: 1.7 !important;
  max-width: 600px !important;
  color: rgba(238,243,248,0.88) !important;
}
.hero-with-bg .eyebrow {
  font-size: 11px !important;
  margin-bottom: 10px !important;
  color: #d2a86a !important;
}
.hero-with-bg .hero-actions {
  margin-top: 22px;
}
.hero-with-bg .btn {
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

@media (max-width: 980px) {
  .hero-with-bg {
    min-height: 460px;
  }
  .hero-with-bg::before {
    background: linear-gradient(180deg, rgba(7,16,25,0.84) 0%, rgba(7,16,25,0.88) 100%);
  }
}
@media (max-width: 640px) {
  .hero-with-bg {
    min-height: 400px;
    padding-top: 38px !important;
    padding-bottom: 26px !important;
  }
  .hero-with-bg h1 {
    font-size: clamp(21px, 6vw, 29px) !important;
  }
}



/* --- V15 framed equal cards and language directions --- */

/* Respect language direction */
body[dir="ltr"] { direction: ltr; }
body[dir="rtl"] { direction: rtl; }

body[dir="ltr"] .hero-copy,
body[dir="ltr"] .section-head,
body[dir="ltr"] .manufacturing-card,
body[dir="ltr"] .clients-head,
body[dir="ltr"] .contact-card,
body[dir="ltr"] .form-card,
body[dir="ltr"] .about-box,
body[dir="ltr"] .shipping-box,
body[dir="ltr"] .product-body,
body[dir="ltr"] .standards-intro,
body[dir="ltr"] .standard-card {
  text-align: left;
}

body[dir="rtl"] .hero-copy,
body[dir="rtl"] .section-head,
body[dir="rtl"] .manufacturing-card,
body[dir="rtl"] .clients-head,
body[dir="rtl"] .contact-card,
body[dir="rtl"] .form-card,
body[dir="rtl"] .about-box,
body[dir="rtl"] .shipping-box,
body[dir="rtl"] .product-body,
body[dir="rtl"] .standards-intro,
body[dir="rtl"] .standard-card {
  text-align: right;
}

/* Keep layout professional and consistent across languages */
body[dir="rtl"] .nav-links,
body[dir="rtl"] .hero-actions,
body[dir="rtl"] .section-head,
body[dir="rtl"] .clients-head {
  direction: rtl;
}
body[dir="rtl"] .product-grid,
body[dir="rtl"] .contact-grid,
body[dir="rtl"] .forms-grid,
body[dir="rtl"] .shipping-features,
body[dir="rtl"] .standards-grid,
body[dir="rtl"] .client-types,
body[dir="rtl"] .stats-grid {
  direction: rtl;
}
body[dir="ltr"] .product-grid,
body[dir="ltr"] .contact-grid,
body[dir="ltr"] .forms-grid,
body[dir="ltr"] .shipping-features,
body[dir="ltr"] .standards-grid,
body[dir="ltr"] .client-types,
body[dir="ltr"] .stats-grid {
  direction: ltr;
}

/* Framed categories/cards with equal dimensions */
.client-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.client-chip {
  min-height: 78px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px !important;
  text-align: center !important;
  font-weight: 800 !important;
}

.product-grid {
  align-items: stretch !important;
}
.product-card {
  height: 100% !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px !important;
  overflow: hidden;
}
.product-image {
  min-height: 0 !important;
}
.product-body {
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-grid {
  align-items: stretch !important;
}
.contact-card {
  height: 100% !important;
  min-height: 132px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow);
}

.shipping-features {
  align-items: stretch !important;
}
.ship-feature {
  min-height: 168px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(13,23,36,0.96), rgba(10,19,30,0.96));
}

.standards-grid {
  align-items: stretch !important;
}
.standard-card {
  min-height: 200px !important;
  border: 1.5px solid rgba(255,255,255,0.10) !important;
  border-radius: 16px !important;
}

.stats-grid {
  align-items: stretch !important;
}
.stat-item {
  min-height: 96px !important;
  border-inline-end: 1px solid rgba(255,255,255,.12);
}
body[dir="rtl"] .stat-item:last-child,
body[dir="ltr"] .stat-item:last-child {
  border-inline-end: 0;
}

/* Keep LTR phone/email order always correct */
.ltr-value {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  text-align: left !important;
}

/* Responsive equalization */
@media (max-width: 1120px) {
  .client-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { min-height: 0 !important; }
}
@media (max-width: 720px) {
  .client-types,
  .product-grid {
    grid-template-columns: 1fr !important;
  }
  .product-body,
  .contact-card,
  .ship-feature,
  .standard-card,
  .client-chip {
    min-height: auto !important;
  }
}



/* --- V16 branches and richer homepage --- */

/* A bit bigger main page typography */
.hero-with-bg h1 {
  font-size: clamp(28px, 3.35vw, 48px) !important;
  line-height: 1.12 !important;
  max-width: 650px !important;
}
.hero-with-bg .lead {
  font-size: clamp(15.5px, 1.25vw, 18px) !important;
  max-width: 690px !important;
}
.hero-with-bg .eyebrow {
  font-size: 12px !important;
}
.stat-item strong {
  font-size: clamp(24px, 2.3vw, 34px) !important;
}
.stat-item span {
  font-size: 11.5px !important;
}
.section-head h2,
.manufacturing-card h2,
.clients-head h2,
.standards-intro h2,
.promise-intro h2 {
  font-size: clamp(25px, 2.7vw, 38px) !important;
}

/* New professional homepage section */
.promise-section {
  padding-top: 38px;
  padding-bottom: 28px;
}
.promise-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.4fr;
  gap: 22px;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(13,23,36,0.98), rgba(8,18,30,0.98));
  box-shadow: var(--shadow);
}
.promise-intro {
  padding: 8px 8px 8px 0;
}
body[dir="rtl"] .promise-intro {
  padding: 8px 0 8px 8px;
}
.promise-intro h2 {
  margin-bottom: 12px;
}
.promise-intro p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.promise-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promise-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--ink);
}
.promise-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
}
body[dir="rtl"] .promise-card,
body[dir="rtl"] .promise-intro {
  text-align: right;
}
body[dir="ltr"] .promise-card,
body[dir="ltr"] .promise-intro {
  text-align: left;
}

@media (max-width: 980px) {
  .promise-wrap {
    grid-template-columns: 1fr;
  }
  .promise-intro,
  body[dir="rtl"] .promise-intro {
    padding: 0;
  }
}
@media (max-width: 640px) {
  .promise-grid {
    grid-template-columns: 1fr;
  }
  .hero-with-bg h1 {
    font-size: clamp(26px, 7vw, 34px) !important;
  }
}



/* --- V17 Kurdish polish and contrast safety --- */

/* Strong readable palettes for both modes */
:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --ink: #102033;
  --muted: #506174;
  --border: #d7e0ea;
  --navy: #12233a;
  --teal: #197a72;
  --teal-dark: #125f59;
  --wood: #b78443;
  --wood-dark: #7d5528;
  --panel-text: #102033;
  --panel-muted: #506174;
  --soft-card: #f9fbfd;
}
html[data-theme="dark"] {
  --bg: #071019;
  --card: #0d1724;
  --ink: #f2f6fb;
  --muted: #b3c0cf;
  --border: #26364a;
  --navy: #132841;
  --teal: #44b8ad;
  --teal-dark: #2d9289;
  --wood: #d2a86a;
  --wood-dark: #bc8b49;
  --panel-text: #f2f6fb;
  --panel-muted: #b3c0cf;
  --soft-card: #111e2e;
}

/* Global readable text */
body,
h1, h2, h3, h4,
.value,
.product-body h3,
.contact-card .value {
  color: var(--ink) !important;
}
p,
.lead,
.sub,
.helper-text,
.spec-table td,
.moq-line,
.product-body .desc {
  color: var(--muted) !important;
}

/* Hero text must stay readable on image background */
.hero-with-bg h1,
.hero-with-bg .eyebrow,
.hero-with-bg .lead,
.hero-with-bg .hero-copy,
.hero-with-bg .hero-copy * {
  color: #ffffff !important;
}
.hero-with-bg .lead {
  color: rgba(255,255,255,0.90) !important;
}
.hero-with-bg .eyebrow {
  color: #ffd08a !important;
}

/* Dark mode component readability */
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .shipping-box,
html[data-theme="dark"] .about-box,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .clients-wrap,
html[data-theme="dark"] .manufacturing-card,
html[data-theme="dark"] .promise-wrap,
html[data-theme="dark"] .promise-card,
html[data-theme="dark"] .standard-card,
html[data-theme="dark"] .ship-feature,
html[data-theme="dark"] .client-chip {
  color: var(--ink) !important;
  background: linear-gradient(180deg, rgba(17,30,46,0.98), rgba(11,22,35,0.98)) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .promise-card h3,
html[data-theme="dark"] .standard-card h3,
html[data-theme="dark"] .ship-feature h4,
html[data-theme="dark"] .client-chip,
html[data-theme="dark"] .product-body h3,
html[data-theme="dark"] .form-card h3,
html[data-theme="dark"] .contact-card h4,
html[data-theme="dark"] .contact-card .value,
html[data-theme="dark"] .about-box,
html[data-theme="dark"] .about-box p {
  color: var(--ink) !important;
}
html[data-theme="dark"] .promise-card p,
html[data-theme="dark"] .standard-card p,
html[data-theme="dark"] .ship-feature p,
html[data-theme="dark"] .product-body .desc,
html[data-theme="dark"] .form-card .sub,
html[data-theme="dark"] .helper-text,
html[data-theme="dark"] .contact-card h4,
html[data-theme="dark"] .about-box p {
  color: var(--muted) !important;
}

/* Light mode component readability */
html:not([data-theme="dark"]) .promise-wrap,
html:not([data-theme="dark"]) .standards-wrap {
  background: #ffffff !important;
  color: var(--ink) !important;
}
html:not([data-theme="dark"]) .standard-card,
html:not([data-theme="dark"]) .promise-card,
html:not([data-theme="dark"]) .ship-feature,
html:not([data-theme="dark"]) .client-chip {
  background: var(--soft-card) !important;
  color: var(--ink) !important;
  border-color: var(--border) !important;
}
html:not([data-theme="dark"]) .standards-wrap h2,
html:not([data-theme="dark"]) .standards-wrap h3,
html:not([data-theme="dark"]) .standards-wrap p,
html:not([data-theme="dark"]) .promise-wrap h2,
html:not([data-theme="dark"]) .promise-wrap h3,
html:not([data-theme="dark"]) .promise-wrap p {
  color: var(--ink) !important;
}
html:not([data-theme="dark"]) .standards-wrap p,
html:not([data-theme="dark"]) .promise-wrap p {
  color: var(--muted) !important;
}

/* Form controls readable */
.field input,
.field select,
.field textarea {
  color: var(--ink) !important;
  background: var(--card) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  background: #0a1420 !important;
  color: #f2f6fb !important;
  border-color: #2a3c51 !important;
}

/* Buttons readable */
.btn-navy {
  background: linear-gradient(135deg, #19345a, #10243d) !important;
  color: #ffffff !important;
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)) !important;
  color: #ffffff !important;
}
.btn-outline {
  color: var(--ink) !important;
  border-color: var(--border) !important;
  background: transparent !important;
}
.hero-with-bg .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.55) !important;
}

/* Stats readability */
.stat-item strong {
  color: var(--wood) !important;
}
.stat-item span {
  color: rgba(255,255,255,0.86) !important;
}
html:not([data-theme="dark"]) .stats-strip {
  background: #10243d !important;
}

/* Language dropdown readable */
.lang-current,
.lang-option,
.lang-dropdown {
  color: var(--ink) !important;
  background: var(--card) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .lang-current,
html[data-theme="dark"] .lang-option,
html[data-theme="dark"] .lang-dropdown {
  background: #0d1a28 !important;
  color: #f2f6fb !important;
  border-color: #2a3c51 !important;
}

/* Kurdish readability */
html[lang="ku"] body {
  letter-spacing: 0 !important;
}
html[lang="ku"] p,
html[lang="ku"] .lead,
html[lang="ku"] .product-body .desc,
html[lang="ku"] .promise-card p,
html[lang="ku"] .standard-card p {
  line-height: 1.9 !important;
}



/* --- V18 forms logo and dropdown visibility --- */

/* Bigger and clearer logo */
.logo-mark {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  padding: 4px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.20);
}
.logo-mark img,
.logo-mark svg {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  display: block !important;
}
.brand {
  gap: 14px !important;
  font-size: 18px !important;
  font-weight: 850 !important;
}

/* Keep buy and sell cards exactly aligned */
.forms-grid {
  align-items: stretch !important;
}
.form-card {
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.form-card form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}
.field textarea {
  min-height: 118px !important;
}
.form-card .field:last-of-type,
.form-card .field-row:last-of-type {
  margin-top: auto;
}

/* Dropdown/select text visibility in dark mode */
.field select,
.field input,
.field textarea {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.field select option {
  color: #102033 !important;
  background: #ffffff !important;
}
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea {
  color: #f2f6fb !important;
  -webkit-text-fill-color: #f2f6fb !important;
  background-color: #081421 !important;
  border-color: #344b64 !important;
}
html[data-theme="dark"] .field select option {
  color: #f2f6fb !important;
  background: #081421 !important;
}

/* Chip/type text like Wood should always be visible */
.chip {
  color: #102033 !important;
  background: #e8eef5 !important;
}
html[data-theme="dark"] .chip {
  color: #ffffff !important;
  background: #26384d !important;
  border: 1px solid #3a536c !important;
}
html[data-theme="dark"] .chip.cert {
  color: #d7fff9 !important;
  background: #143c39 !important;
}

/* Better label contrast */
.field label {
  color: var(--muted) !important;
  font-weight: 750 !important;
}
html[data-theme="dark"] .field label {
  color: #c5d1df !important;
}

/* Mobile logo adjustment */
@media (max-width: 640px) {
  .logo-mark {
    width: 46px !important;
    height: 46px !important;
  }
  .logo-mark img,
  .logo-mark svg {
    width: 38px !important;
    height: 38px !important;
  }
  .brand {
    font-size: 16px !important;
  }
}



/* --- V19 see our clients section --- */
.client-logos-section {
  padding-top: 12px;
}
.client-logos-wrap {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.client-logos-head {
  margin-bottom: 26px;
}
.client-logos-head .eyebrow { display: block; }
.client-logos-head h2 { margin-bottom: 6px; }
.client-logos-head p { max-width: 620px; margin: 0 auto; }
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 190px));
  justify-content: center;
  gap: 16px;
}
.client-logo-card {
  width: 190px;
  min-height: 110px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px 10px;
}
.client-logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.client-logo-card.major .client-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 19px;
  background: linear-gradient(135deg, var(--navy), #1f3560);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.client-logo-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.client-logo-grid-major {
  grid-template-columns: repeat(auto-fit, minmax(0, 250px));
  justify-content: center;
  margin-bottom: 18px;
}
.client-logo-card.major {
  width: 250px;
  min-height: 150px;
  background: var(--card);
  border-color: var(--border);
}
.client-logo-img {
  max-width: 82%;
  max-height: 46px;
  object-fit: contain;
}
.client-logo-card:not(.major) .client-logo-img {
  max-height: 30px;
  max-width: 78%;
}
.client-logo-img-dark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 8px 14px;
}

.client-logo-card.major .client-logo-name {
  font-size: 13.5px;
  font-weight: 700;
}
@media (max-width: 640px) {
  .client-logos-wrap { padding: 20px; }
}



/* --- V20 client logos and about expansion --- */

/* Five-stat row for 10+ years addition */
.stats-grid {
  grid-template-columns: repeat(5, 1fr) !important;
}
@media (max-width: 1120px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* About section more comfortable for longer text */
.about-box {
  font-size: 15.5px !important;
  line-height: 1.85 !important;
}
.about-box p {
  line-height: 1.85 !important;
}
html[lang="ku"] .about-box p,
html[lang="ar"] .about-box p {
  line-height: 2 !important;
}

/* Keep the old clients/contact button removed cleanly */
.clients-head .btn:empty {
  display: none !important;
}
