:root {
  --navy: #0e2a3a;
  --navy-2: #123547;
  --blue: #287198;
  --blue-dark: #1c5572;
  --blue-mid: #4f8cad;
  --tint: #d9e8f1;
  --paper: #edf3f8;
  --ink: #14252e;
  --ink-2: #50656f;
  --hairline: #c8dae4;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 42, 58, 0.13);
  --shadow-lg: 0 24px 60px rgba(14, 42, 58, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 247, 251, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
  width: 44px; height: 44px;
  object-fit: contain;
}
.brand-name { color: var(--navy); font-weight: 800; font-size: 16px; }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--tint); color: var(--navy); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin-block: 5px;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(31, 168, 85, 0.35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(40, 113, 152, 0.45); color: var(--blue-dark); background: rgba(255, 255, 255, 0.65); }
.btn-ghost:hover { background: var(--tint); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, #e9f3f9 0%, #d3e5f0 55%, #bdd8e8 100%);
  color: var(--ink);
  overflow: hidden;
  padding: 72px 0 110px;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(40, 113, 152, 0.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(107, 163, 187, 0.16), transparent 40%),
    repeating-linear-gradient(45deg, rgba(40,113,152,0.04) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  color: var(--navy);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
}
.hero-tag {
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.hero-sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-badge-logo {
  width: 210px;
}
.hero-badge-logo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(14, 42, 58, 0.18)); }
.hero-products {
  width: 100%;
  max-width: 640px;
  filter: drop-shadow(0 30px 40px rgba(14, 42, 58, 0.22));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.stats-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.stat-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
}
.stat-value { display: block; font-size: 22px; font-weight: 900; color: var(--navy); }
.stat-label { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-mid);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; color: var(--navy); }
.section-head h2::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  background: var(--blue);
  border-radius: 4px;
  margin: 14px auto 0;
}
.section-sub { margin-top: 14px; color: var(--ink-2); font-size: 15px; }

/* ---------- products ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media {
  height: 190px;
  background: linear-gradient(180deg, #eef4f8, #e2edf3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 20px 22px 24px; }
.product-body h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.product-en {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  font-weight: 700;
  margin-bottom: 10px;
}
.product-detail { font-size: 14px; color: var(--ink-2); }

.note {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-inline-start: 4px solid var(--blue);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.section-tint .note { background: rgba(255, 255, 255, 0.7); }

/* ---------- sectors ---------- */
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.sector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* ---------- vision / mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
}
.vm-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--blue-mid));
}
.vm-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.vm-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.vm-card p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- why ---------- */
.why {
  background: linear-gradient(180deg, #ddeaf2 0%, #cbdfec 100%);
  color: var(--ink);
  padding: 84px 0;
}
.section-head-light h2 { color: var(--navy); }
.section-head-light h2::after { background: var(--blue); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item {
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, background 0.25s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-item h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--ink-2); }

/* ---------- goals ---------- */
.goals { list-style: none; max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.goals li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.goals li:hover { transform: translateX(-4px); }
.goal-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.goals p { font-size: 14.5px; color: var(--ink); padding-top: 6px; }

/* ---------- sister ---------- */
.cards-2 { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; max-width: 560px; margin-inline: auto; }
.partner-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}
.partner-card h3 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.partner-card p { font-size: 14.5px; color: var(--ink-2); }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  text-align: center;
}
.cert-badge {
  display: inline-block;
  background: linear-gradient(150deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cert h3 { font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.cert p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { padding: 84px 0; background: var(--paper); }
.contact-card {
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.contact-card h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.contact-sub { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark);
}
.contact-label { font-size: 13px; color: var(--ink-2); width: 110px; flex-shrink: 0; }
.contact-value { font-weight: 700; font-size: 15px; color: var(--navy); }
.contact-cta .btn-ghost { border-color: rgba(40, 113, 152, 0.45); }
.contact-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-inline-start: 1px solid var(--hairline);
  padding-inline-start: 40px;
}
.contact-side img { width: 130px; }
.socials { display: grid; gap: 10px; width: 100%; }
.socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(14, 42, 58, 0.16);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.socials a:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 10px 22px rgba(14, 42, 58, 0.22); }
.socials svg { flex-shrink: 0; }
.socials .soc-fb { background: #1877f2; }
.socials .soc-ig { background: linear-gradient(45deg, #feda75 0%, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5 100%); }
.socials .soc-li { background: #0a66c2; }
.socials .soc-map { background: #2f9e4f; }

/* ---------- footer ---------- */
.site-footer {
  background: #d3e2ec;
  border-top: 1px solid var(--hairline);
  color: var(--ink-2);
  padding: 36px 0;
  text-align: center;
}
.footer-logo { width: 88px; margin: 0 auto 12px; opacity: 0.95; }
.footer-inner p { font-size: 14px; font-weight: 700; color: var(--navy); }
.footer-en { font-size: 12px !important; color: var(--ink-2) !important; font-weight: 500 !important; margin-top: 4px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-badge-logo { width: 150px; }
  .hero-products { max-width: 440px; }
  .cards-3 { grid-template-columns: 1fr; }
  .vm-grid, .cards-2 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .contact-side { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; inset-inline: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .header-cta { display: none; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
  .section { padding: 60px 0; }
  .why { padding: 60px 0; }
  .hero { padding: 48px 0 72px; }
  .contact-label { width: 92px; }
}
