:root {
  --navy: #273582;
  --navy-dark: #101a46;
  --gold: #f4b318;
  --gold-dark: #d99608;
  --ink: #111827;
  --muted: #5f6673;
  --line: #e2e7ef;
  --soft: #f5f7fb;
  --white: #ffffff;
  --green: #0f7a54;
  --shadow: 0 20px 50px rgba(16, 26, 70, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  font-family: "Cairo", Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 231, 239, 0.9);
  box-shadow: 0 12px 32px rgba(16, 26, 70, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  min-width: max-content;
}

.brand img {
  width: 116px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a:not(.quote-button) {
  padding: 10px 12px;
  color: #283044;
  font-size: 0.97rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:not(.quote-button):hover,
.site-nav > a:not(.quote-button).is-active {
  color: var(--navy);
  background: #f2f4fb;
  border-radius: var(--radius);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef2f8;
  border-radius: 999px;
  margin-inline: 8px;
}

.language-switch button {
  border: 0;
  background: transparent;
  color: #344054;
  cursor: pointer;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switch button.is-active {
  background: var(--navy);
  color: var(--white);
}

.quote-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-button,
.primary-action {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}

.quote-button:hover,
.primary-action:hover {
  transform: translateY(-2px);
  background: #34449e;
  box-shadow: 0 14px 28px rgba(39, 53, 130, 0.22);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: #eef2f8;
  color: var(--navy);
}

.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-dark);
}

.hero-image,
.hero-overlay,
.hero-geometry {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.02);
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 34, 0.94) 0%, rgba(15, 24, 64, 0.82) 44%, rgba(15, 24, 64, 0.54) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1));
}

[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(8, 13, 34, 0.94) 0%, rgba(15, 24, 64, 0.82) 44%, rgba(15, 24, 64, 0.54) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1));
}

.hero-geometry {
  z-index: -1;
  background:
    linear-gradient(132deg, transparent 0 62%, rgba(244, 179, 24, 0.88) 62.2% 64.5%, transparent 64.8%),
    linear-gradient(152deg, transparent 0 70%, rgba(255, 255, 255, 0.16) 70.2% 71%, transparent 71.2%);
  opacity: 0.85;
}

.hero-content {
  padding-block: 120px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 900;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Tajawal", "Cairo", Arial, sans-serif;
  font-size: 5.25rem;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.section {
  position: relative;
  padding-block: 92px;
}

.about-section,
.process-section,
.gallery-section {
  background:
    linear-gradient(130deg, rgba(39, 53, 130, 0.035), transparent 35%),
    linear-gradient(40deg, transparent 0 58%, rgba(17, 24, 39, 0.035) 58.2% 59%, transparent 59.2%),
    var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.split-layout-reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.02fr);
}

.section-copy h2,
.section-heading h2,
.mission-block h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.25;
  font-weight: 900;
}

.section-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.mission-block p:not(.section-kicker),
.contact-copy p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 2;
  font-weight: 600;
}

.image-panel,
.quality-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 470px;
  background: #dfe5ee;
}

.image-panel::after,
.quality-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  pointer-events: none;
}

.image-panel img,
.quality-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.image-panel-dark::before,
.image-panel-green::before,
.image-panel-light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(16, 26, 70, 0.28));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.stat-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06);
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.vision-section {
  background: var(--soft);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.mission-block {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.07);
}

.mission-block > svg {
  width: 42px;
  height: 42px;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.sustainability-section {
  background:
    linear-gradient(120deg, rgba(15, 122, 84, 0.08), transparent 44%),
    var(--white);
}

.quality-section {
  background:
    linear-gradient(135deg, rgba(16, 26, 70, 0.98), rgba(39, 53, 130, 0.94)),
    var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}

.quality-section::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 42%;
  background: linear-gradient(135deg, rgba(244, 179, 24, 0.18), transparent);
  clip-path: polygon(0 0, 100% 0, 64% 100%, 0% 100%);
  pointer-events: none;
}

.light-copy h2 {
  color: var(--white);
}

.light-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.84);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 700;
}

.check-list svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex: 0 0 auto;
  margin-top: 6px;
}

.quality-image {
  min-height: 520px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.quality-image img {
  min-height: 520px;
}

.products-section,
.certificates-section,
.contact-section {
  background: var(--soft);
}

.section-heading {
  max-width: 840px;
  text-align: center;
  margin: 0 auto 44px;
}

.section-heading p:not(.section-kicker) {
  margin-inline: auto;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 24px;
}

.product-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.product-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.9;
}

.specification-panel {
  display: grid;
  gap: 18px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.product-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(16, 26, 70, 0.09);
}

.product-feature-card > i,
.product-feature-card > svg {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(244, 179, 24, 0.14);
  color: var(--gold-dark);
}

.product-feature-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.product-feature-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 15px 32px rgba(16, 26, 70, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

caption {
  caption-side: top;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
  text-align: inherit;
}

th,
td {
  border: 1px solid #d7deea;
  padding: 16px;
  text-align: center;
  vertical-align: middle;
}

th {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

td {
  color: #202634;
  font-weight: 700;
  background: var(--white);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-list span {
  border: 1px dashed var(--gold-dark);
  color: var(--navy);
  background: rgba(244, 179, 24, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.certificate-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(16, 26, 70, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(16, 26, 70, 0.13);
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid #eef2f8;
}

.certificate-card span {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.portfolio-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 230px);
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: inline mandatory;
}

.portfolio-strip button {
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(16, 26, 70, 0.12);
  scroll-snap-align: start;
}

.portfolio-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.portfolio-strip button:hover img {
  transform: scale(1.04);
}

.profile-download {
  display: flex;
  justify-content: center;
}

.profile-download-card {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-download-card > i,
.profile-download-card > svg {
  width: 58px;
  height: 58px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(39, 53, 130, 0.1);
  color: var(--navy);
}

.profile-download-card strong,
.profile-download-card span {
  display: block;
}

.profile-download-card strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.profile-download-card span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.profile-download-card .primary-action {
  justify-content: center;
}

.profile-download-card .primary-action span {
  margin-top: 0;
  color: var(--white);
}

.profile-download-card .primary-action svg {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.8;
}

.contact-list svg {
  width: 24px;
  height: 24px;
  color: var(--gold-dark);
  flex: 0 0 auto;
  margin-top: 4px;
}

.map-box {
  height: 280px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(16, 26, 70, 0.08);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7e6;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcfe;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(39, 53, 130, 0.12);
}

.full-width {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer img {
  width: 136px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  padding: 10px;
}

.site-footer strong {
  display: block;
  font-size: 1.3rem;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.floating-actions {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  z-index: 45;
  display: grid;
  gap: 10px;
}

.floating-actions a,
.scroll-top,
.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(16, 26, 70, 0.24);
}

.floating-actions a:first-child {
  background: #23c45e;
}

.floating-actions a:last-child,
.scroll-top {
  background: var(--navy);
}

.scroll-top {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.image-modal {
  width: min(1040px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #090d1f;
  color: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.image-modal::backdrop {
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(4px);
}

.image-modal img {
  width: 100%;
  max-height: calc(100vh - 112px);
  object-fit: contain;
  background: #0a0f24;
}

.image-modal p {
  margin: 0;
  padding: 14px 18px;
  font-weight: 800;
}

.modal-close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  width: 42px;
  height: 42px;
  background: rgba(16, 26, 70, 0.78);
  z-index: 2;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

svg {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 2.35;
}

[dir="ltr"] .hero-content,
[dir="ltr"] .section-copy,
[dir="ltr"] .contact-copy {
  text-align: left;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .section-copy,
[dir="rtl"] .contact-copy {
  text-align: right;
}

[dir="ltr"] .primary-action [data-lucide="arrow-left"] {
  transform: rotate(180deg);
}

@media (max-width: 1080px) {
  .site-nav {
    position: absolute;
    inset-block-start: calc(100% + 1px);
    inset-inline: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.quote-button),
  .quote-button {
    justify-content: center;
    width: 100%;
  }

  .language-switch {
    justify-content: center;
    margin: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
  }

  .hero-content h1 {
    font-size: 3.8rem;
  }

  .split-layout,
  .split-layout-reverse,
  .product-showcase,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .image-panel,
  .quality-image,
  .image-panel img,
  .quality-image img {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 84px;
  }

  .brand img {
    width: 84px;
    height: auto;
  }

  .hero-section {
    min-height: 760px;
  }

  .hero-content {
    padding-block: 88px;
  }

  .hero-content h1 {
    font-size: 2.75rem;
    line-height: 1.08;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-download-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-download-card > i,
  .profile-download-card > svg {
    margin-inline: auto;
  }

  .section {
    padding-block: 70px;
  }

  .stats-grid,
  .mission-grid,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .image-panel,
  .quality-image,
  .image-panel img,
  .quality-image img {
    min-height: 320px;
  }

  .portfolio-strip {
    grid-auto-columns: minmax(150px, 76vw);
  }

  .floating-actions {
    inset-inline-start: 14px;
    inset-block-end: 14px;
  }

  .scroll-top {
    inset-inline-end: 14px;
    inset-block-end: 14px;
  }

  .floating-actions a,
  .scroll-top {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
