/* ============================================================
   STAR STEEL — Master Stylesheet
   Colors: #d61f29 (Red) | #454c5e (Steel Blue) | #424242 (Text)
   ============================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ─── */
:root {
  --red:        #d61f29;
  --red-dark:   #b01820;
  --steel:      #454c5e;
  --steel-dark: #343a49;
  --text:       #424242;
  --text-light: #6b7280;
  --white:      #ffffff;
  --off-white:  #f8f8f8;
  --light-bg:   #f4f4f4;
  --border:     #e5e7eb;
  --dark-bg:    #1a1d26;
  --dark-card:  #22263a;

  --font-en: 'Inter', sans-serif;
  --font-ar: 'Cairo', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);

  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1240px;
  --nav-h: 76px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-en);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[lang="ar"] body, body[dir="rtl"] { font-family: var(--font-ar); direction: rtl; }
body.is-ar {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}
body.is-en {
  direction: ltr;
  text-align: left;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Typography ─── */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-light); line-height: 1.75; text-align: justify; }
body.is-ar p { text-align: right; }

/* ─── Layout ─── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section-sm { padding: 60px 0; }

/* ─── Section Label ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px; background: var(--red);
}
[dir="rtl"] .section-label { flex-direction: row-reverse; }
[dir="rtl"] .section-label::before { order: 1; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-dark {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-outline-dark:hover { border-color: var(--steel); color: var(--steel); }
.btn-arrow::after { content: '→'; font-size: 1.1em; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }
[dir="rtl"] .btn-arrow::after { content: '←'; }
[dir="rtl"] .btn-arrow:hover::after { transform: translateX(-4px); }

/* ─── Navbar ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  background: var(--dark-bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  border-bottom-color: rgba(255,255,255,0.06);
}
.navbar .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo img { height: 44px; width: auto; }
.navbar-links {
  display: flex; align-items: center; gap: 34px;
}
.navbar-links a {
  color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500;
  position: relative; transition: color var(--transition);
}
.navbar-links a::after {
  content:''; position:absolute; bottom:-4px; left:0; right:0; height:2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.navbar-links a:hover, .navbar-links a.active { color: var(--white); }
.navbar-links a:hover::after, .navbar-links a.active::after { transform: scaleX(1); }
[dir="rtl"] .navbar-links a::after { transform-origin: right; }
body.is-ar .navbar-links a::after { transform-origin: right; }

.navbar-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 16px; border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 0.8rem; font-weight: 600;
  transition: var(--transition); background: rgba(255,255,255,0.06);
}
.lang-toggle:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); }
.lang-toggle svg { width: 14px; height: 14px; }

.btn-contact-nav {
  background: var(--red); color: var(--white);
  padding: 9px 22px; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600;
  transition: var(--transition);
}
.btn-contact-nav:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--dark-bg); z-index: 999;
  flex-direction: column; padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: slideDown 0.25s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--red); }
.mobile-nav .mobile-actions {
  display: flex; align-items: center; gap: 12px; padding-top: 16px; flex-wrap: wrap;
}
body.is-ar .navbar .container,
body.is-ar .navbar-actions,
body.is-ar .mobile-nav .mobile-actions {
  direction: rtl;
}
body.is-ar .navbar-links {
  direction: rtl;
}
body.is-ar .hero-content,
body.is-ar .section-header,
body.is-ar .page-hero-content,
body.is-ar .about-content,
body.is-ar .footer,
body.is-ar .footer * {
  text-align: right;
}
body.is-ar .footer-contact-item {
  justify-content: flex-start;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:none; } }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--dark-bg);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(20,22,32,0.9) 50%,
    /* rgba(69,76,94,0.85) 60%, */
    rgba(93, 5, 9, 0.18) 100%
  );
  
}
.hero-content {
  position: relative; z-index: 2;
  padding: 60px 0 80px; max-width: 720px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(214,31,41,0.12); border: 1px solid rgba(214,31,41,0.35);
  color: #ff6b73; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 40px; margin-bottom: 24px;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.3);} }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }
.hero-desc { color: rgba(255,255,255,0.75); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 40px; left: 0; right: 0; z-index: 2;
  display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat {
  flex: 1; padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-size: 1.9rem; font-weight: 900; color: var(--white); line-height: 1; }
.hero-stat .num .red { color: var(--red); }
.hero-stat .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ─── Strengths / Feature Grid ─── */
.strengths-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.strength-card {
  background: var(--white); padding: 36px 28px;
  transition: background var(--transition);
}
.strength-card:hover { background: var(--off-white); }
.strength-card .icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(214,31,41,0.08); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.strength-card .icon svg { width: 26px; height: 26px; color: var(--red); }
.strength-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.strength-card p  { font-size: 0.875rem; }

/* ─── About Section ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main { width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 480px; }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red); color: var(--white);
  padding: 22px 28px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-img-badge .big { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-img-badge .small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
[dir="rtl"] .about-img-badge { right: auto; left: -20px; }
.about-content h2 { margin-bottom: 18px; }
.about-content p  { margin-bottom: 24px; font-size: 0.95rem; }
.about-stats { display: flex; gap: 30px; margin: 28px 0; flex-wrap: wrap; }
.about-stat .num { font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1; }
.about-stat .lbl { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* ─── Process Timeline ─── */
.process-bg { background: var(--dark-bg); }
.process-bg h2, .process-bg p { color: var(--white); }
.process-bg p { color: rgba(255,255,255,0.6); }

/* In dark backgrounds (e.g. index) we override these to be white */
.process-bg .process-step h4 { color: var(--white); }
.process-bg .process-step p { color: rgba(255,255,255,0.5); }

.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 50px; position: relative;
}
.process-steps::before {
  content:''; position:absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--red), #ff6b73, var(--red)); z-index: 0;
}
.process-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.process-step .step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--dark-card); border: 2px solid var(--steel);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.3rem; font-weight: 800; color: var(--red);
  transition: var(--transition);
}
.process-step:hover .step-num { background: var(--red); color: var(--white); border-color: var(--red); transform: scale(1.08); }
.process-step .step-icon { font-size: 1.6rem; margin-bottom: 10px; display: block; color: var(--red); }
.process-step h4 { color: var(--steel); font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.process-step p  { font-size: 0.78rem; color: var(--text-light); }

/* ─── Sectors Grid ─── */
.sectors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px;
}
.sector-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; height: 300px; cursor: pointer;
}
.sector-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.sector-card:hover img { transform: scale(1.06); }
.sector-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 30%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 20px;
}
.sector-overlay .icon {
  width: 40px; height: 40px; background: var(--red); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.sector-overlay .icon svg { width: 20px; height: 20px; color: var(--white); }
.sector-overlay h3 { color: var(--white); font-size: 1rem; font-weight: 700; }
.sector-overlay p  { color: rgba(255,255,255,0.7); font-size: 0.78rem; margin-top: 4px; }

/* ─── ISO Strip ─── */
.iso-strip {
  background: var(--light-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.iso-strip .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.iso-strip .label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing:0.1em; color: var(--text-light); white-space: nowrap; }
.iso-logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.iso-logo-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition); min-width: 100px;
}
.iso-logo-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--red); }
.iso-logo-item img { height: 50px; width: auto; object-fit: contain; }
.iso-logo-item span { font-size: 0.7rem; font-weight: 700; color: var(--steel); text-align: center; }

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--steel-dark) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content:''; position:absolute; right:0; top:0; bottom:0; width: 45%;
  background: url('../docs/PHOTOS/fire-furnace-factory.webp') center/cover no-repeat;
  opacity: 0.18;
}
[dir="rtl"] .cta-banner::before { right:auto; left:0; }
.cta-banner .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; max-width: 520px; }
.cta-banner p  { color: rgba(255,255,255,0.65); max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ─── Footer ─── */
.footer { background: var(--dark-bg); padding: 70px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 300px; }
.footer-brand img { height: 48px; margin-bottom: 18px; }
.footer-brand p  { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.75; }
.footer-quality-icon { margin-top: 20px; }
.footer-quality-icon img { height: 80px; width: auto; filter: brightness(0.85); }
.footer-col h4 { color: var(--white); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
}
.footer-contact-item svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-contact-item a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

/* ─── WhatsApp Floating ─── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); animation: wa-pulse 3s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
[dir="rtl"] .whatsapp-float { right: auto; left: 28px; }
@keyframes wa-pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4);} 50%{box-shadow:0 4px 28px rgba(37,211,102,0.65);} }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  height: 340px; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: var(--dark-bg);
}
.page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35;
}
.page-hero-overlay {
  position: absolute; inset:0;
  background: linear-gradient(90deg, rgba(20,22,32,0.9) 50%, rgba(69,76,94,0.4) 100%);
}
[dir="rtl"] .page-hero-overlay {
  background: linear-gradient(270deg, rgba(20,22,32,0.9) 50%, rgba(69,76,94,0.4) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content .breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.page-hero-content .breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.page-hero-content .breadcrumb a:hover { color: var(--red); }
.page-hero-content .breadcrumb span { color: var(--red); }
.page-hero-content h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero-content p  { color: rgba(255,255,255,0.65); max-width: 550px; margin-top: 12px; font-size: 1rem; }

/* ─── Cards ─── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p  { font-size: 0.875rem; }

/* ─── Tables ─── */
.styled-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); margin: 30px 0;
}
.styled-table th {
  background: var(--steel); color: var(--white);
  padding: 14px 18px; text-align: left; font-weight: 600;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
}
[dir="rtl"] .styled-table th { text-align: right; }
.styled-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.styled-table td strong { color: var(--red); font-weight: 700; }
.styled-table tr:last-child td { border-bottom: none; }
.styled-table tr:nth-child(even) td { background: var(--off-white); }
.styled-table tr:hover td { background: rgba(214,31,41,0.04); }

/* ─── Gallery ─── */
.gallery-filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 40px; font-size: 0.85rem; font-weight: 600;
  background: var(--light-bg); color: var(--text-light);
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(214,31,41,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 36px; height: 36px; color: white; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.9); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -40px; right: 0;
  color: white; font-size: 1.5rem; cursor: pointer;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
}
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); color: white;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
  font-size: 1.3rem;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: var(--red); }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.contact-form h2 { margin-bottom: 8px; }
.contact-form p  { margin-bottom: 28px; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,31,41,0.1); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-card .icon { width: 48px; height: 48px; background: rgba(214,31,41,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .icon svg { width: 22px; height: 22px; color: var(--red); }
.contact-card h4 { margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--text-light); font-size: 0.875rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 20px; }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ─── Quality & Certifications ─── */
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.test-types { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.test-type-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  border-left: 3px solid var(--red); transition: var(--transition);
}
[dir="rtl"] .test-type-card { border-left: none; border-right: 3px solid var(--red); }
.test-type-card:hover { background: var(--white); box-shadow: var(--shadow); }
.test-type-card .test-icon { font-size: 1.5rem; margin-bottom: 8px; }
.test-type-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.test-type-card p  { font-size: 0.8rem; }
.test-report-card {
  background: var(--dark-bg); border-radius: var(--radius-lg); padding: 36px;
  text-align: center; position: relative; overflow: hidden;
}
.test-report-card h3 { color: var(--white); margin-bottom: 8px; }
.test-report-card > p  { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-bottom: 24px; }
.test-report-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.test-report-img img { width: 100%; object-fit: contain; border-radius: var(--radius); }

.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.cert-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
  transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--red); }
.cert-card img { height: 200px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 18px; border-radius: var(--radius); }
.cert-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--steel); }
.cert-card p  { font-size: 0.82rem; }

/* ─── About page ─── */
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.vm-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.vm-card .vm-icon {
  width: 54px; height: 54px; background: rgba(214,31,41,0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.vm-card .vm-icon svg { width: 26px; height: 26px; color: var(--red); }
.vm-card h3 { margin-bottom: 14px; color: var(--steel); }
.vm-card p  { font-size: 0.9rem; }
.team-strip { display: flex; align-items: center; gap: 10px; background: rgba(214,31,41,0.06); border: 1px solid rgba(214,31,41,0.2); border-radius: var(--radius); padding: 16px 20px; margin-top: 30px; }
.team-strip svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.team-strip p { font-size: 0.875rem; color: var(--text); margin: 0; }

/* ─── Product page ─── */
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spec-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.spec-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--off-white); border-radius: var(--radius);
  border-left: 3px solid var(--red);
}
[dir="rtl"] .spec-item { border-left: none; border-right: 3px solid var(--red); }
.spec-item .spec-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-light); margin-bottom: 2px; }
.spec-item .spec-value { font-size: 1rem; font-weight: 600; color: var(--text); }
.traceability-card {
  background: var(--steel); border-radius: var(--radius-lg); padding: 36px; color: var(--white);
  display: flex; flex-direction: column; gap: 18px;
}
.traceability-card h3 { color: var(--white); margin-bottom: 4px; }
.traceability-card p  { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag-list span {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85);
  padding: 5px 12px; border-radius: 40px; font-size: 0.78rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}
.mech-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.mech-prop {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.mech-prop .val { font-size: 1.8rem; font-weight: 900; color: var(--red); line-height: 1; }
.mech-prop .unit { font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.mech-prop .desc { font-size: 0.78rem; color: var(--text-light); }

/* ─── Manufacturing ─── */
.mfg-steps { display: flex; flex-direction: column; gap: 0; }
.mfg-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 0;
  position: relative; padding-bottom: 40px;
}
.mfg-step:last-child { padding-bottom: 0; }
.mfg-step-left { display: flex; flex-direction: column; align-items: center; gap: 0; }
.mfg-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; flex-shrink: 0; z-index: 1;
}
.mfg-step-line { flex: 1; width: 2px; background: var(--border); margin: 8px 0; }
.mfg-step:last-child .mfg-step-line { display: none; }
.mfg-step-content { padding: 6px 0 0 28px; }
[dir="rtl"] .mfg-step { grid-template-columns: 1fr 80px; }
[dir="rtl"] .mfg-step-content { padding: 6px 28px 0 0; }
.mfg-step-content h3 { margin-bottom: 10px; color: var(--steel); }
.mfg-step-content p  { font-size: 0.9rem; }
.mfg-step-img { margin-top: 16px; border-radius: var(--radius); overflow: hidden; }
.mfg-step-img img { width: 100%; height: 200px; object-fit: cover; }
.mfg-main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* ─── HSE Section ─── */
.hse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.hse-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px; text-align: center;
}
.hse-card .hse-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(214,31,41,0.08); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.hse-card .hse-icon svg { width: 30px; height: 30px; color: var(--red); }
.hse-card h3 { font-size: 1rem; margin-bottom: 10px; }

/* ─── Scroll animations ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── Utilities ─── */
.text-red    { color: var(--red); }
.text-white  { color: var(--white); }
.text-steel  { color: var(--steel); }
.text-center, .text-center p { text-align: center; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.bg-light  { background: var(--light-bg); }
.bg-dark   { background: var(--dark-bg); }
.bg-steel  { background: var(--steel); }
.section-header { max-width: 640px; margin-bottom: 50px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { margin-top: 12px; }
.section-header.center p { text-align: center; }
.divider { width: 50px; height: 3px; background: var(--red); margin: 16px 0; }
.divider.center { margin: 16px auto; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .strengths-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-grid       { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap   { order: -1; }
  .process-steps    { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .process-steps::before { display: none; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 30px; }
  .sectors-grid     { grid-template-columns: repeat(2, 1fr); }
  .contact-grid     { grid-template-columns: 1fr; }
  .quality-grid     { grid-template-columns: 1fr; }
  .product-hero-grid{ grid-template-columns: 1fr; }
  .mfg-main-content { grid-template-columns: 1fr; }
  .cert-grid        { grid-template-columns: repeat(2, 1fr); }
  .vision-mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  .navbar-links     { display: none; }
  .navbar-actions .lang-toggle { display: flex; }
  .navbar-actions .btn-contact-nav { display: none; }
  .hamburger        { display: flex; }
  .hero h1          { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats       { display: none; }
  .strengths-grid   { grid-template-columns: 1fr 1fr; }
  .process-steps    { grid-template-columns: 1fr; }
  .sectors-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .test-types       { grid-template-columns: 1fr; }
  .mech-props       { grid-template-columns: 1fr 1fr; }
  .hse-grid         { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .section          { padding: 60px 0; }
  .about-img-badge  { bottom: 10px; right: 10px; }
  [dir="rtl"] .about-img-badge { left: 10px; }
}

@media (max-width: 480px) {
  .strengths-grid { grid-template-columns: 1fr; }
  .sectors-grid   { grid-template-columns: 1fr; }
  .cert-grid      { grid-template-columns: 1fr; }
  .mech-props     { grid-template-columns: 1fr; }
  .iso-logos      { gap: 12px; }
  .hero-cta       { flex-direction: column; }
  .cta-actions    { flex-direction: column; }
}
