/* =============================================================
   QOOT AL KHAIR — Premium Corporate Website CSS
   Brand: #0F4B2E (green) · #8B1E2D (burgundy) · #C8A24D (gold)
   ============================================================= */

/* ─── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --green:        #0F4B2E;
  --green-dark:   #0A3020;
  --green-mid:    #1B5E40;
  --green-light:  #F0F7F2;
  --burgundy:     #8B1E2D;
  --gold:         #C8A24D;
  --gold-light:   #DEC07A;
  --white:        #FFFFFF;
  --ivory:        #F8F4EF;
  --beige:        #FAF7F2;
  --charcoal:     #1A1A1A;
  --gray-dark:    #2D3748;
  --gray-mid:     #4A5568;
  --gray-muted:   #718096;
  --gray-border:  #E2E8F0;
  --shadow-xs:    0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 12px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --radius:       6px;
  --radius-lg:    12px;
  --header-h:     80px;
  --tr:           .3s ease;
  --tr-slow:      .6s ease;
  --font-ar:      'IBM Plex Sans Arabic', 'Segoe UI', Arial, sans-serif;
  --font-en:      'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

/* ─── 2. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ar);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; border: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
svg { display: block; }

/* ─── 3. LANGUAGE ───────────────────────────────────────────── */
html[data-lang="ar"] { font-family: var(--font-ar); }
html[data-lang="en"] { font-family: var(--font-en); }

html[data-lang="ar"] .lang-en  { display: none !important; }
html[data-lang="en"] .lang-ar  { display: none !important; }
html[data-lang="ar"] .ls-show-en { display: none !important; }
html[data-lang="en"] .ls-show-ar { display: none !important; }

/* ─── 4. LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.section-pad { padding: 100px 0; }
.mt-sm { margin-top: 32px; }

/* ─── 5. TYPOGRAPHY ─────────────────────────────────────────── */
html[data-lang="ar"] .section-heading { font-family: var(--font-ar); font-weight: 700; }
html[data-lang="en"] .section-heading { font-family: var(--font-en); font-weight: 800; }

.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.section-heading.centered { text-align: center; }
.section-heading.light { color: var(--white); }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-intro {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 12px auto 0;
  text-align: center;
}

.body-text {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--gray-mid);
  margin-bottom: 18px;
}

/* ─── 6. DECORATIVE ELEMENTS ────────────────────────────────── */
.gold-bar {
  width: 48px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.section-rule {
  width: 56px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px auto 0;
}
.section-rule.gold { background: var(--gold); opacity: .7; }

.section-header { margin-bottom: 64px; text-align: center; }

/* ─── 7. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--tr);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,162,77,.3); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,75,46,.25); }
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
}
.btn-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--tr); }
.btn-primary:hover .btn-arrow,
.btn-submit:hover .btn-arrow { transform: translateX(4px); }
html[dir="rtl"] .btn-primary:hover .btn-arrow,
html[dir="rtl"] .btn-submit:hover .btn-arrow { transform: translateX(-4px); }

.btn-header-contact {
  display: none;
  padding: 9px 22px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  background: transparent;
  transition: all var(--tr);
  white-space: nowrap;
}
.btn-header-contact:hover { background: var(--green); color: var(--white); }
.header.scrolled .btn-header-contact { display: inline-flex; }

/* ─── 8. PRELOADER ──────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  width: 120px; height: auto;
  margin: 0 auto 24px;
  animation: preloaderScale .8s ease both;
}
.preloader-fallback {
  display: none;
  margin: 0 auto 24px;
}
.preloader-brand-ar {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-ar);
  letter-spacing: .04em;
}
.preloader-brand-en {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  font-family: var(--font-en);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 6px;
}
.preloader-bar {
  width: 80px; height: 2px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}
.preloader-bar-fill {
  width: 0; height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: preloaderBar 1s ease forwards;
}
@keyframes preloaderScale { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes preloaderBar { from { width: 0; } to { width: 100%; } }

/* ─── 9. HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--tr), box-shadow var(--tr), height var(--tr);
}
.header-container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 56px;
  width: auto;
  transition: height var(--tr), filter var(--tr);
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.logo-fallback { display: none; }
.logo-name-ar {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-ar);
  transition: color var(--tr);
}
.logo-name-en {
  display: block;
  font-size: 12px;
  color: var(--gold);
  font-family: var(--font-en);
  letter-spacing: .1em;
}
.header-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  border-radius: 4px;
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: left var(--tr), right var(--tr);
}
.nav-link:hover::after, .nav-link.active::after { left: 12px; right: 12px; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active { color: var(--gold); }

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 36px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-en);
  letter-spacing: .08em;
  transition: all var(--tr);
  background: transparent;
}
.lang-switcher:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* Scrolled header */
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  height: 68px;
}
.header.scrolled .logo-img { filter: none; height: 46px; }
.header.scrolled .logo-name-ar { color: var(--green-dark); }
.header.scrolled .nav-link { color: var(--gray-mid); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--green); }
.header.scrolled .nav-link.active { color: var(--green); }
.header.scrolled .nav-link.active::after { background: var(--green); }
.header.scrolled .lang-switcher { color: var(--green); border-color: var(--green); }
.header.scrolled .lang-switcher:hover { background: var(--green); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 6px 4px;
}
.h-line {
  display: block;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--tr);
  transform-origin: center;
}
.header.scrolled .h-line { background: var(--green); }
.hamburger.open .h-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .h-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .h-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--tr);
}
.nav-overlay.show { opacity: 1; }

/* ─── 10. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #030f09 0%, #071a10 25%, #0e3e26 55%, #093020 80%, #030f09 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: .65;
  transition: opacity 1s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,20,12,.35) 0%, rgba(5,20,12,.55) 50%, rgba(5,20,12,.7) 100%);
}
.hero-body {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}
.hero-inner { max-width: 740px; }
.hero-title {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
html[data-lang="en"] .hero-title { font-family: var(--font-en); font-weight: 800; }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 620px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
}
.trust-sep { color: var(--gold); opacity: .7; }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 14px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot { 0%,100%{opacity:1;transform:translateX(-50%) translateY(0)} 60%{opacity:0;transform:translateX(-50%) translateY(14px)} }

/* ─── 11. TRUST STRIP ───────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 40px 0;
  box-shadow: var(--shadow-sm);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  border-inline-end: 1px solid var(--gray-border);
  text-align: center;
}
.trust-item:last-child { border-inline-end: none; }
.trust-icon-wrap svg { width: 40px; height: 40px; }
.trust-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
}

/* ─── 12. ABOUT ─────────────────────────────────────────────── */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
html[dir="rtl"] .about-grid { }
.about-img-col { order: 2; }
html[dir="rtl"] .about-text-col { order: 1; }
html[dir="rtl"] .about-img-col { order: 2; }
html[dir="ltr"] .about-text-col { order: 2; }
html[dir="ltr"] .about-img-col { order: 1; }
.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img {
  width: 100%; height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #0a2e1c, #1b6040);
}
.about-img-badge {
  position: absolute;
  bottom: -24px;
  inset-inline-start: -24px;
  width: 110px; height: 110px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.badge-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.4;
}

/* ─── 13. VISION & MISSION ──────────────────────────────────── */
.vision-mission { }
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.vm-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vm-bg {
  position: absolute;
  inset: 0;
}
.vm-vision .vm-bg { background: linear-gradient(145deg, #0a1f13, #0f3b24); }
.vm-mission .vm-bg { background: linear-gradient(145deg, #13201a, #0f4b2e); }
.vm-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}
.vm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 18, .6);
}
.vm-inner {
  position: relative;
  z-index: 2;
  padding: 72px 56px;
  text-align: center;
  color: var(--white);
  max-width: 480px;
}
.vm-icon-ring { margin: 0 auto 24px; }
.vm-icon-ring svg { width: 52px; height: 52px; margin: 0 auto; }
.vm-tag {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: var(--font-en);
}
.vm-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.vm-gold-line {
  width: 36px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  margin: 12px auto 20px;
}
.vm-text {
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255,255,255,.82);
}

/* ─── 14. SERVICES ──────────────────────────────────────────── */
.services { background: var(--ivory); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card-wide {
  grid-column: span 1;
}
.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--tr), transform var(--tr);
}
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-img-box {
  position: relative;
  height: 220px;
  background: var(--bg, linear-gradient(145deg, #0a2e1c, #1b6040));
  overflow: hidden;
}
.svc-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-card:hover .svc-img { transform: scale(1.04); }
.svc-num-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: rgba(15,75,46,.75);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.svc-body { padding: 24px; }
.svc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.svc-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--gray-mid);
}

/* 5-card grid: last row centers via auto-flow, no override needed */

/* ─── 15. QUALITY ────────────────────────────────────────────── */
.quality { position: relative; background: var(--green-dark); }
.quality-bg {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
}
.quality-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .15;
}
.quality-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,48,32,.85) 0%, rgba(10,48,32,.92) 100%);
}
.quality-inner { position: relative; z-index: 2; }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 0;
  margin-top: 16px;
}
.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.tl-step {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-en);
  background: rgba(200,162,77,.1);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.tl-step-last { border-color: var(--gold); background: rgba(200,162,77,.18); }
.tl-content {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}
.tl-line {
  display: none;
}

/* ─── 16. WHY US ─────────────────────────────────────────────── */
.why-us { background: var(--white); }
.why-rows { display: flex; flex-direction: column; gap: 0; }
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  align-items: stretch;
}
.why-img-col { overflow: hidden; }
.why-img-box {
  height: 100%;
  min-height: 400px;
  background: var(--bg, linear-gradient(145deg,#0a2e1c,#1b6040));
  overflow: hidden;
  position: relative;
}
.why-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.why-row:hover .why-img { transform: scale(1.03); }
.why-text-col {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.why-row:nth-child(even) .why-text-col { background: var(--beige); }
.why-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--green-light);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 16px;
}
.why-heading {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.why-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-mid);
}

/* Alternating layout — swap image/text columns */
.why-row-alt .why-img-col { order: 2; }
.why-row-alt .why-text-col { order: 1; }

/* ─── 17. FOOD SECURITY ─────────────────────────────────────── */
.cinematic-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cinematic-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #030f09, #0a3020);
}
.cin-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.cin-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,20,12,.8) 40%, rgba(10,48,32,.6) 100%);
}
.cin-content { position: relative; z-index: 2; padding: 80px 0; }
.cin-inner { max-width: 680px; }
html[dir="ltr"] .cin-inner { text-align: left; }
.cin-text {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  margin-top: 20px;
}
.cin-inner .gold-bar { margin-top: 16px; }

/* ─── 18. COMPANY STATEMENT ─────────────────────────────────── */
.statement {
  background: var(--green-light);
  border-top: 1px solid rgba(15,75,46,.08);
}
.statement-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
}
.statement-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.statement-divider {
  width: 64px; height: 1px;
  background: var(--gold);
  opacity: .6;
}
.statement-quote {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.6;
  max-width: 680px;
  font-style: normal;
}
html[data-lang="en"] .statement-quote { font-family: var(--font-en); }

/* ─── 19. CONTACT ────────────────────────────────────────────── */
.contact { background: var(--ivory); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.ci-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
}
.ci-company {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
  line-height: 1.5;
}
.ci-list { display: flex; flex-direction: column; gap: 18px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon { flex-shrink: 0; width: 38px; height: 38px; background: var(--green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ci-icon svg { width: 18px; height: 18px; }
.ci-text { display: flex; flex-direction: column; gap: 3px; }
.ci-label { font-size: 12px; font-weight: 600; color: var(--gray-muted); letter-spacing: .05em; text-transform: uppercase; }
.ci-value { font-size: 15px; color: var(--charcoal); font-weight: 500; line-height: 1.5; }
a.ci-value:hover { color: var(--green); }

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  margin-top: 24px;
  justify-content: center;
  transition: background var(--tr), transform var(--tr);
}
.whatsapp-btn:hover { background: #1ebe5d; transform: translateY(-2px); }
.whatsapp-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Form */
.c-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
}
.form-head {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-border);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-row-2 .form-field { margin-bottom: 0; }
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}
.req { color: var(--burgundy); font-size: 14px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
}
html[dir="rtl"] .form-field input,
html[dir="rtl"] .form-field textarea,
html[dir="rtl"] .form-field select { text-align: right; }
html[dir="ltr"] .form-field input,
html[dir="ltr"] .form-field textarea,
html[dir="ltr"] .form-field select { text-align: left; }
.form-field input[dir="ltr"],
.form-field textarea[dir="ltr"] { text-align: left; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15,75,46,.1);
}
.form-field input.error,
.form-field textarea.error { border-color: var(--burgundy); }
.form-field textarea { resize: vertical; min-height: 130px; }
.f-error { font-size: 12.5px; color: var(--burgundy); min-height: 18px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-light);
  border: 1px solid rgba(15,75,46,.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--green);
  font-weight: 600;
  margin-top: 16px;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ─── 20. FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--green-dark); color: var(--white); }
.footer-top { padding: 72px 0 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-logo {
  height: 60px; width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.footer-logo-fallback {
  display: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; }
.fsoc-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  transition: all var(--tr);
}
.fsoc-link svg { width: 17px; height: 17px; }
.fsoc-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,162,77,.08); }
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: .03em;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--tr), padding var(--tr);
}
.footer-nav-list a:hover { color: var(--gold); padding-inline-start: 6px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.fcon-item {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  display: block;
  transition: color var(--tr);
}
a.fcon-item:hover { color: var(--gold); }
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,162,77,.3), transparent);
}
.footer-bottom { padding: 20px 0; }
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  text-align: center;
}

/* ─── 21. ANIMATIONS ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease var(--delay, 0s), transform .6s ease var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img, .scroll-dot::after, .preloader-logo { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ─── 22. RESPONSIVE ────────────────────────────────────────── */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { gap: 48px; }
  .why-text-col { padding: 48px 40px; }
  .vm-inner { padding: 56px 36px; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 32px; }
}

/* Tablet small: ≤ 900px */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  html[dir="rtl"] .about-text-col { order: 1; }
  html[dir="rtl"] .about-img-col { order: 2; }
  html[dir="ltr"] .about-text-col { order: 1; }
  html[dir="ltr"] .about-img-col { order: 2; }
  .about-img { height: 380px; }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-panel { min-height: 420px; }
  .why-row { grid-template-columns: 1fr; min-height: auto; }
  .why-img-col { height: 300px; }
  .why-img-box { min-height: 300px; }
  .why-text-col { padding: 40px 32px; }
  /* On mobile, always show image first regardless of alt state */
  .why-row-alt .why-img-col { order: 1; }
  .why-row-alt .why-text-col { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item { border-inline-end: none; border-bottom: 1px solid var(--gray-border); padding: 16px; }
  .trust-item:nth-child(odd) { border-inline-end: 1px solid var(--gray-border); }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: none; }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section-pad { padding: 72px 0; }
  .container { padding-inline: 18px; }

  /* Header mobile */
  .header-nav {
    position: fixed;
    top: 0;
    inset-inline-end: -100%;
    width: min(340px, 88vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 88px 28px 40px;
    box-shadow: var(--shadow-lg);
    transition: inset-inline-end var(--tr);
    z-index: 999;
    overflow-y: auto;
  }
  .header-nav.open { inset-inline-end: 0; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-link { width: 100%; padding: 12px 16px; font-size: 16px; color: var(--gray-dark); border-radius: var(--radius); }
  .nav-link:hover, .nav-link.active { background: var(--green-light); color: var(--green); }
  .nav-link::after { display: none; }
  .hamburger { display: flex; }
  .btn-header-contact { display: none !important; }
  .nav-overlay { display: block; }

  /* Hero */
  .hero-body { padding-top: calc(var(--header-h) + 24px); padding-bottom: 60px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { text-align: center; justify-content: center; width: 100%; max-width: 280px; }
  .hero-trust-bar { font-size: 12px; gap: 8px; }
  .trust-sep { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .svc-card-wide { grid-column: span 1; }

  /* Timeline */
  .timeline { grid-template-columns: 1fr; }
  .tl-item { flex-direction: row; text-align: start; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .tl-item:last-child { border-bottom: none; }
  .tl-step { flex-shrink: 0; margin-bottom: 0; margin-inline-end: 16px; }
  .tl-content { font-size: 15px; }

  /* Why */
  .why-row { grid-template-columns: 1fr; }
  .why-img-col { height: 260px; }
  .why-img-box { min-height: 260px; }
  .why-text-col { padding: 32px 24px; }
  .why-num { font-size: 42px; }

  /* Contact form */
  .form-row-2 { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-desc { max-width: 100%; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 320px; }
  .about-img-badge { width: 90px; height: 90px; }

  /* Cin */
  .cin-inner { text-align: start; }

  /* Form */
  .c-form { padding: 24px; }
  .ci-card { padding: 24px; }
}

/* Mobile small: ≤ 480px */
@media (max-width: 480px) {
  .section-pad { padding: 56px 0; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .section-heading { font-size: clamp(24px, 6vw, 32px); }
  .vm-inner { padding: 48px 24px; }
  .trust-strip { padding: 28px 0; }
  .trust-label { font-size: 13.5px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-item:nth-child(odd) { border-inline-end: 1px solid var(--gray-border); }
  .trust-item:nth-child(even) { border-inline-end: none; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: none; }
  .statement-quote { font-size: clamp(17px, 4.5vw, 22px); }
  .footer-top { padding: 48px 0 36px; }
}

/* Mobile tiny: ≤ 375px */
@media (max-width: 375px) {
  .hero-cta .btn { max-width: 100%; }
  .header-nav { width: 92vw; }
}
