/* ═══════════════════════════════════════════════════════════════
   IVIC – Shared Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a1628;
  --navy2:   #0d1f3c;
  --blue:    #1a4b8c;
  --blue2:   #2563b0;
  --accent:  #c8a84b;
  --accent2: #e6c76e;
  --light:   #f4f6fa;
  --mid:     #e8ecf4;
  --text:    #1e2b3a;
  --muted:   #5a6a7e;
  --white:   #ffffff;
  --r-sm:    6px;
  --r-md:    12px;
  --r-lg:    20px;
  --shadow:  0 4px 24px rgba(10,22,40,.12);
  --shadow2: 0 2px 12px rgba(10,22,40,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font, 'Inter', sans-serif);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* ─── Header / Nav ──────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,168,75,.18);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 72px;
}

.logo-wrap {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}

.logo-img {
  height: 64px; width: auto; display: block;
  object-fit: contain;
}

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

nav a {
  color: rgba(255,255,255,.78);
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
nav a:hover, nav a.active { color: var(--accent2); background: rgba(255,255,255,.06); }

.lang-btn {
  margin-inline-start: 16px;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 5px;
  overflow: hidden;
  width: 38px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, transform .15s;
}
.lang-btn:hover { border-color: var(--accent2); transform: scale(1.08); }
.lang-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Nav ─────────────────────────────────────────────────── */
#navBackdrop {
  display: none; position: fixed; inset: 0; z-index: 98;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#navBackdrop.active {
  display: block;
  animation: bdFadeIn .25s ease;
}
@keyframes bdFadeIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: linear-gradient(175deg, #0e2040 0%, #091522 100%);
  border-top: 2px solid var(--accent2);
  border-bottom: 1px solid rgba(200,168,75,.12);
  box-shadow: 0 28px 64px rgba(0,0,0,.65);
  flex-direction: column; padding: 0;
}
.mobile-nav.open {
  display: flex;
  animation: mobSlideIn .26s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes mobSlideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav a:not(.mobile-lang-btn) {
  color: rgba(255,255,255,.72); text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 15px 28px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  border-inline-end: 3px solid transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.mobile-nav a:not(.mobile-lang-btn):hover {
  background: rgba(200,168,75,.08);
  color: var(--accent2);
  border-inline-end-color: var(--accent2);
}
.mobile-nav a.active:not(.mobile-lang-btn) {
  color: var(--accent2);
  border-inline-end-color: var(--accent2);
  background: rgba(200,168,75,.05);
  font-weight: 600;
}

.mobile-lang-btn {
  align-self: stretch; margin: 0;
  padding: 14px 28px;
  background: rgba(255,255,255,.04);
  border: none; border-top: 1px solid rgba(255,255,255,.08);
  border-radius: 0; overflow: visible;
  width: auto; height: auto;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer;
  transition: background .2s;
}
.mobile-lang-btn:hover { background: rgba(200,168,75,.08); }
.mobile-lang-btn img {
  width: 44px; height: 30px; object-fit: cover; display: block;
  border-radius: 4px; border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(165deg, rgba(10,22,40,.88) 0%, rgba(26,75,140,.72) 60%, rgba(10,22,40,.92) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(200,168,75,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,75,.15);
  border: 1px solid rgba(200,168,75,.35);
  color: var(--accent2); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 20px; border-radius: 50px; margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent2); border-radius: 50%; }

.hero h1,
.hero-slider h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700; color: var(--white);
  line-height: 1.15;
  max-width: 860px;
}
.hero h1 span,
.hero-slider h1 span { color: var(--accent2); }

.hero-subtitle {
  margin-top: 24px; max-width: 680px;
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.72); line-height: 1.75;
}

.hero-cta {
  margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--navy); font-weight: 700; font-size: 15px;
  padding: 14px 34px; border-radius: 50px; text-decoration: none;
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,168,75,.35);
  transition: transform .2s, box-shadow .2s;
  display: inline-block; font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,168,75,.45); }

.btn-outline {
  background: transparent;
  color: var(--white); font-weight: 600; font-size: 15px;
  padding: 13px 34px; border-radius: 50px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.35); cursor: pointer;
  transition: border-color .2s, background .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }

.hero-stats {
  margin-top: 64px;
  display: flex; gap: 0; flex-wrap: wrap; justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); overflow: hidden; max-width: 700px;
}
.stat {
  flex: 1; min-width: 140px; padding: 24px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--accent2); line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ─── Section Base ───────────────────────────────────────────────── */
section { padding: 96px 24px; }
.container { max-width: 1160px; margin: 0 auto; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue2); margin-bottom: 14px;
}
.section-tag::before {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--navy); line-height: 1.2;
  letter-spacing: -.02em;
}
.section-title span { color: var(--blue2); }

.section-lead {
  margin-top: 18px; max-width: 660px;
  font-size: 16.5px; color: var(--muted); line-height: 1.8;
}

.divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px; margin-top: 20px;
}

/* ─── About ──────────────────────────────────────────────────────── */
#about { background: var(--light); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-top: 56px;
}

.about-text p {
  color: var(--muted); font-size: 15.5px; line-height: 1.85; margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

.about-features { display: grid; gap: 16px; margin-top: 32px; }

.feature-chip {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--mid);
  border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow2);
  transition: box-shadow .2s, transform .2s;
}
.feature-chip:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.chip-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); line-height: 0;
}
.chip-text { display: flex; flex-direction: column; }
.chip-text strong { font-size: 14px; color: var(--navy); font-weight: 600; }
.chip-text span { font-size: 13px; color: var(--muted); margin-top: 2px; }

.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background:
    linear-gradient(160deg, rgba(10,22,40,.80) 0%, rgba(26,75,140,.68) 100%),
    url('https://images.unsplash.com/photo-1705579611249-9861db5469ea?w=800&q=80') center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 40px;
}
.cert-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 18px 28px; width: 100%; text-align: center; color: var(--white);
}
.cert-badge .cert-num {
  font-size: 22px; font-weight: 700; color: var(--accent2); display: block;
}
.cert-badge .cert-name {
  font-size: 12px; color: rgba(255,255,255,.62); margin-top: 4px; display: block; letter-spacing: .04em;
}
.founded-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: var(--r-md); padding: 18px 24px; text-align: center;
  box-shadow: 0 8px 28px rgba(200,168,75,.4);
}
.founded-badge .f-year { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; }
.founded-badge .f-label { font-size: 11px; font-weight: 600; color: var(--navy); opacity: .7; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* ─── Services ───────────────────────────────────────────────────── */
#services { background: var(--white); }

.services-intro { display: flex; flex-direction: column; margin-bottom: 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: var(--r-lg); padding: 0;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(37,99,176,.2); }

.card-img {
  height: 185px; overflow: hidden; position: relative;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.service-card:hover .card-img img { transform: scale(1.06); }
.card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,22,40,.45) 100%);
  pointer-events: none;
}

.card-body { padding: 22px 26px 26px; }

.service-card h3 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }

.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
}
.service-card ul li::before {
  content: '';
  width: 6px; height: 6px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%; margin-top: 7px;
}

/* ─── Asset Integrity ────────────────────────────────────────────── */
#asset-integrity { background: var(--navy); }
#asset-integrity .section-tag { color: var(--accent2); }
#asset-integrity .section-tag::before { background: var(--accent2); }
#asset-integrity .section-title { color: var(--white); letter-spacing: -.02em; }
#asset-integrity .section-title span { color: var(--accent2); }
#asset-integrity .section-lead { color: rgba(255,255,255,.62); }
#asset-integrity .divider { background: linear-gradient(90deg, var(--accent2), transparent); }

.asset-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  margin-top: 56px;
}

.asset-list { display: flex; flex-direction: column; gap: 14px; }

.asset-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md); padding: 18px 22px;
  transition: background .2s, border-color .2s;
}
.asset-item:hover { background: rgba(255,255,255,.08); border-color: rgba(200,168,75,.25); }

.asset-num {
  font-size: 13px; font-weight: 700; color: var(--accent);
  flex-shrink: 0; padding-top: 1px; min-width: 28px;
}
.asset-item p { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.65; }

.asset-visual {
  position: sticky; top: 96px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 36px;
}
.asset-visual h4 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.standard-list { display: flex; flex-direction: column; gap: 12px; }
.standard-tag {
  display: flex; align-items: center; gap: 12px;
  background: rgba(200,168,75,.1);
  border: 1px solid rgba(200,168,75,.22);
  border-radius: var(--r-sm); padding: 12px 18px;
}
.standard-tag .std-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.standard-tag span { font-size: 14px; font-weight: 600; color: var(--accent2); }

.asset-visual-divider { margin: 28px 0; border: none; border-top: 1px solid rgba(255,255,255,.08); }

.asset-highlight {
  background: linear-gradient(135deg, rgba(200,168,75,.15) 0%, rgba(200,168,75,.05) 100%);
  border: 1px solid rgba(200,168,75,.2); border-radius: var(--r-md); padding: 20px;
  text-align: center;
}
.asset-highlight .big-num { font-size: 42px; font-weight: 800; color: var(--accent2); line-height: 1; }
.asset-highlight .big-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 6px; letter-spacing: .06em; text-transform: uppercase; }

/* ─── Certifications ─────────────────────────────────────────────── */
#certifications { background: var(--light); }

.cert-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}

.cert-card {
  background: var(--white); border: 1px solid var(--mid);
  border-radius: var(--r-lg); padding: 0; text-align: center;
  box-shadow: var(--shadow2); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.cert-img {
  height: 210px; overflow: hidden;
  background: #edf1f7;
  border-bottom: 1px solid var(--mid);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.cert-img img {
  max-width: 100%; max-height: 100%; object-fit: contain; display: block;
  transition: transform .35s ease;
}
.cert-card:hover .cert-img img { transform: scale(1.04); }
.cert-img.logo-bg { background: var(--white); padding: 24px; }

.cert-body { padding: 22px 22px 26px; }

.cert-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cert-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ─── Contact (new layout) ──────────────────────────────────────── */
#contact { background: var(--light); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px; margin-top: 0;
}

.contact-card {
  background: var(--white); border: 1px solid var(--mid);
  border-radius: var(--r-lg); padding: 32px 24px;
  text-align: center;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(37,99,176,.25); }

.contact-card-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(26,75,140,.25);
  line-height: 0;
}
.contact-card-icon svg { width: 30px; height: 30px; flex-shrink: 0; }
.contact-card h4 { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.contact-card p, .contact-card a {
  font-size: 15px; font-weight: 600; color: var(--navy);
  text-decoration: none; line-height: 1.5;
}
.contact-card a:hover { color: var(--blue2); }
.contact-card .cc-sub { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 4px; }

/* Map section */
.contact-map-section { background: var(--white); padding: 0; }
.contact-map-wrap {
  width: 100%; height: 480px; position: relative;
  border-top: 4px solid var(--blue);
}
.contact-map-wrap iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.map-overlay-badge {
  position: absolute; top: 20px; right: 24px;
  background: var(--white); border: 1px solid var(--mid);
  border-radius: var(--r-md); padding: 12px 18px;
  box-shadow: var(--shadow2);
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  z-index: 1;
}
.map-overlay-badge .mob-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue2); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37,99,176,.2);
}
[dir="rtl"] .map-overlay-badge { right: auto; left: 24px; }

/* ─── Footer (professional) ─────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 3px solid var(--accent);
}

.footer-top { padding: 64px 24px 48px; }

.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px; align-items: start;
}

/* Brand col */
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-logo-img {
  height: 56px; width: auto; display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-brand-col > p {
  font-size: 13px; color: rgba(255,255,255,.45);
  line-height: 1.8; margin-bottom: 20px; max-width: 280px;
}

.footer-cert-strip {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.fcert {
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(200,168,75,.15);
  border: 1px solid rgba(200,168,75,.3);
  color: var(--accent2);
}

/* Nav cols */
.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13.5px; color: rgba(255,255,255,.55);
  text-decoration: none; transition: color .2s, padding-inline-start .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col ul li a::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent2); opacity: 0;
  transition: opacity .2s; flex-shrink: 0;
}
.footer-col ul li a:hover { color: var(--accent2); }
.footer-col ul li a:hover::before { opacity: 1; }

/* Contact col */
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.footer-contact-list li .fci { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-list li a {
  color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s;
}
.footer-contact-list li a:hover { color: var(--accent2); }

.footer-lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5);
  text-decoration: none; transition: border-color .2s, color .2s;
}
.footer-lang-switch:hover { border-color: var(--accent2); color: var(--accent2); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 24px;
}
.footer-bottom-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom-inner p { font-size: 12px; color: rgba(255,255,255,.3); }

/* Responsive */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-brand-col > p { max-width: 100%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-map-wrap { height: 320px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ─── Page Hero (interior pages) ────────────────────────────────── */
.page-hero {
  padding: 140px 24px 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, var(--blue) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,168,75,.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .section-tag { color: var(--accent2); }
.page-hero .section-tag::before { background: var(--accent2); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-top: 10px;
}
.page-hero h1 span { color: var(--accent2); }
.page-hero .page-lead {
  margin-top: 16px; max-width: 620px;
  font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.8;
}
.page-hero .divider { background: linear-gradient(90deg, var(--accent2), transparent); margin-top: 20px; }

/* ─── Scroll-reveal ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid, .asset-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .hamburger { display: flex; }
  .asset-visual { position: static; }
  .founded-badge { display: none; }
}

@media (max-width: 600px) {
  .cert-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── Hero Slider ────────────────────────────────────────────────── */
.hero-slider { position: relative; overflow: hidden; min-height: 560px; }
.hero-slider .hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .9s ease;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 160px 24px 110px; text-align: center;
  min-height: 560px;
}
.hero-slider .hero-slide.active { opacity: 1; position: relative; }
.hero-slider .slide-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hero-slider .slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(8,18,36,.88) 0%, rgba(20,60,110,.75) 55%, rgba(8,18,36,.9) 100%);
}
.hero-slider .slide-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.slider-nav {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background .3s, transform .3s;
}
.slider-dot.active { background: var(--accent2); transform: scale(1.3); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.slider-arrow:hover { background: rgba(200,168,75,.3); border-color: var(--accent2); }
.slider-arrow.prev { right: 20px; }
.slider-arrow.next { left: 20px; }
[dir="ltr"] .slider-arrow.prev { left: 20px; right: auto; }
[dir="ltr"] .slider-arrow.next { right: 20px; left: auto; }

/* ─── Stats Bar ──────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 28px 24px;
}
.stats-bar-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px;
}
.sbar-item { text-align: center; }
.sbar-num { font-size: clamp(28px,4vw,40px); font-weight: 700; color: var(--accent2); line-height: 1; }
.sbar-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; letter-spacing: .04em; }

/* ─── About Preview (homepage) ───────────────────────────────────── */
.about-preview {
  padding: 96px 24px;
  background: var(--white);
}
.about-preview .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-preview-img {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,22,40,.18);
  aspect-ratio: 4/3;
}
.about-preview-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-preview-img .img-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--navy); padding: 12px 20px; border-radius: var(--r-md);
  font-weight: 700; font-size: 13px; line-height: 1.3;
  box-shadow: 0 8px 24px rgba(200,168,75,.35);
}
[dir="rtl"] .about-preview-img .img-badge { right: auto; left: 20px; }
.about-preview-text .section-tag { margin-bottom: 12px; }
.about-preview-text p { font-size: 15.5px; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
.about-preview-text .pillars { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.pillar { display: flex; align-items: center; gap: 14px; }
.pillar-dot { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg,var(--blue),var(--blue2)); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.pillar-text strong { display: block; font-size: 14px; color: var(--dark); }
.pillar-text span { font-size: 13px; color: var(--muted); }

/* ─── Services Preview (homepage) ───────────────────────────────── */
.services-preview {
  padding: 96px 24px;
  background: var(--light);
}
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px; margin-top: 48px;
}
.services-preview .view-all-wrap { text-align: center; margin-top: 48px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 50px;
  border: 2px solid var(--blue); color: var(--blue);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--blue); color: #fff; }

/* ─── Why IVIC strip ─────────────────────────────────────────────── */
.why-strip {
  padding: 96px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, var(--blue) 100%);
  position: relative; overflow: hidden;
}
.why-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,168,75,.06) 0%, transparent 60%);
}
.why-strip .container { position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.why-item { text-align: center; }
.why-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2); line-height: 0;
}
.why-item h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.why-item p { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ─── CTA Banner ─────────────────────────────────────────────────── */
.cta-banner {
  padding: 80px 24px; text-align: center;
  background: var(--white);
}
.cta-banner h2 { font-size: clamp(26px,4vw,40px); font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.cta-banner h2 span { color: var(--blue2); }
.cta-banner p { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto 32px; line-height: 1.8; }
.cta-banner .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Responsive additions ───────────────────────────────────────── */
@media (max-width: 960px) {
  .about-preview .container { grid-template-columns: 1fr; gap: 40px; }
  .about-preview-img { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .slider-arrow { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── RTL (Arabic pages) ─────────────────────────────────────────── */
[dir="rtl"] .section-tag::before { order: 1; }
[dir="rtl"] .founded-badge { right: auto; left: -20px; }
[dir="rtl"] .footer-links { align-items: flex-start; }
[dir="rtl"] .lang-btn { margin-inline-start: 16px; }
[dir="rtl"] .hero h1 { letter-spacing: 0; }
[dir="rtl"] .section-title { letter-spacing: 0; }
[dir="rtl"] .stat { border-right: none; border-left: 1px solid rgba(255,255,255,.1); }
[dir="rtl"] .stat:last-child { border-left: none; }
