/* ============================================================
   Oryx Sustainability Environmental Consultancy
   Stylesheet — Vanilla CSS, RTL-first, premium corporate design
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand palette */
  --green-900: #0e3b2e;
  --green-800: #114a3a;
  --green-700: #16573f;
  --green-600: #1b6f4f;
  --green-500: #1f8a5b;
  --green-400: #3aa977;
  --green-300: #6cc49a;
  --green-200: #a9dcc1;
  --green-100: #d6efe2;
  --green-50:  #eef9f3;

  /* Neutrals */
  --ink:    #0f1c18;
  --body:   #2c3a35;
  --muted:  #6a7b75;
  --line:   #e5ece9;
  --bg:     #ffffff;
  --bg-alt: #f6faf8;
  --card:   #ffffff;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--green-500), var(--green-700));
  --grad-soft:    linear-gradient(180deg, #ffffff 0%, var(--green-50) 100%);
  --grad-hero:    linear-gradient(115deg, rgba(14,59,46,.85) 0%, rgba(14,59,46,.55) 50%, rgba(14,59,46,.25) 100%);
  --grad-stats:   linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);

  /* Radii */
  --r-sm:   12px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-xl:   36px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm:  0 4px 14px rgba(14, 59, 46, .06);
  --sh-md:  0 10px 30px rgba(14, 59, 46, .09);
  --sh-lg:  0 20px 50px rgba(14, 59, 46, .14);
  --sh-glow: 0 14px 40px rgba(31, 138, 91, .25);

  /* Type */
  --font-sans: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --header-h:  84px;

  /* Motion */
  --ease:       cubic-bezier(.2, .7, .25, 1);
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --t-fast:     .2s;
  --t-med:      .35s;
  --t-slow:     .6s;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; line-height: 1.25; }

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(64px, 9vw, 120px); }

/* Skip link */
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 12px;
  background: var(--green-700);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  z-index: 9999;
}
.skip-link:focus { inset-inline-start: 12px; }

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.eyebrow-dark {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-100);
}
.eyebrow-light {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin-block: 18px 14px;
  letter-spacing: -.01em;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.lead { font-size: 1.1rem; color: var(--body); line-height: 1.85; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: .98rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn i, .btn svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--sh-glow);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(31, 138, 91, .35); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover i { transform: translateX(-4px); }

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
}
.btn-outline-light:hover { background: #fff; color: var(--green-700); transform: translateY(-3px); }

.btn-cta { box-shadow: 0 10px 28px rgba(31, 138, 91, .25); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 4px 30px rgba(14, 59, 46, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; transition: transform var(--t-med) var(--ease); }
.brand:hover .brand-logo { transform: scale(1.05); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.primary-nav a {
  display: inline-block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  border-radius: var(--r-pill);
  position: relative;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.site-header:not(.is-scrolled) .primary-nav a { color: #fff; }
.site-header:not(.is-scrolled) .primary-nav a:hover { background: rgba(255, 255, 255, .15); }
.site-header.is-scrolled .primary-nav a:hover { color: var(--green-700); background: var(--green-50); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  transition: all var(--t-med) var(--ease);
}
.site-header.is-scrolled .lang-toggle {
  color: var(--green-700);
  border-color: var(--green-200);
  background: var(--green-50);
}
.lang-toggle:hover { transform: scale(1.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
}
.site-header.is-scrolled .nav-toggle { background: var(--green-50); border-color: var(--green-100); }
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.site-header.is-scrolled .nav-toggle span { background: var(--green-800); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a {
  display: block;
  padding: 14px 18px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease);
}
.mobile-drawer a:hover { background: var(--green-50); color: var(--green-700); }

/* ---------- HERO SLIDER ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}
.slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
  display: flex;
  align-items: center;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
.slide-bg img,
img.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  transition: transform 9s linear;
}
.slide.is-active .slide-bg img,
.slide.is-active img.slide-bg { transform: scale(1) translate3d(0, -1%, 0); }
@media (max-width: 768px) {
  .slide-bg img { object-position: center center; }
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 820px;
  padding-block: 80px;
}
.slide-content h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-block: 22px 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .18);
}
.slide-content p {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, .92);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Slide content entrance */
.slide-content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.slide.is-active .slide-content > * { opacity: 1; transform: translateY(0); }
.slide.is-active .slide-content > *:nth-child(1) { transition-delay: .15s; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .3s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .45s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: .6s; }

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all var(--t-med) var(--ease);
}
.slider-arrow i { width: 24px; height: 24px; }
.slider-arrow:hover { background: #fff; color: var(--green-700); transform: translateY(-50%) scale(1.08); }
.slider-prev { inset-inline-end: 32px; }   /* RTL: prev = right */
.slider-next { inset-inline-start: 32px; } /* RTL: next = left */

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 38px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.dot {
  width: 36px;
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .35);
  transition: background var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.dot.is-active { background: #fff; transform: scaleX(1.3); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  inset-inline-start: 32px;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 14px;
  z-index: 3;
}
.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  margin: 6px auto;
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- SERVICES ---------- */
.services { background: var(--grad-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-med) var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(31, 138, 91, .15) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform var(--t-med) var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.service-card:hover::after { transform: scale(1.4); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.service-icon i { width: 30px; height: 30px; }
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--grad-primary);
  color: #fff;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin: 0 0 20px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-700);
  font-size: .95rem;
  transition: gap var(--t-med) var(--ease);
}
.card-link i { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.card-link:hover { gap: 14px; }
.card-link:hover i { transform: translateX(-4px); }

/* ---------- ABOUT ---------- */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; }
.about-image-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 5;
}
.about-image-wrap::before {
  content: "";
  position: absolute;
  inset-block-end: -20px;
  inset-inline-start: -20px;
  width: 60%;
  height: 60%;
  background: var(--grad-primary);
  border-radius: var(--r-xl);
  z-index: -1;
  opacity: .15;
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 30px;
  inset-inline-start: -20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--r-md);
}
.about-badge i {
  width: 40px; height: 40px;
  padding: 10px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 14px;
}
.about-badge strong { display: block; color: var(--ink); font-size: 1.1rem; }
.about-badge span { color: var(--muted); font-size: .9rem; }

.about-content h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -.01em;
  margin-block: 18px 18px;
}

.checklist { display: grid; gap: 14px; margin: 28px 0 36px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--body);
  font-weight: 500;
}
.checklist i { width: 22px; height: 22px; color: var(--green-500); flex-shrink: 0; }

/* Glass utility */
.glass {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--sh-md);
}

/* ---------- STATS ---------- */
.stats {
  position: relative;
  background: var(--grad-stats);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(31,138,91,.4), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(108,196,154,.3), transparent 40%);
  z-index: -1;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><path d='M30 10c-5 8-12 12-20 12 0 5 4 12 12 16 5-8 12-12 20-12 0-5-4-12-12-16z' fill='%231f8a5b' opacity='.05'/></svg>");
  opacity: .6;
  z-index: -1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
}
.plus { color: var(--green-300); }
.stat-label {
  margin-top: 8px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .8);
}

/* ---------- SECTORS ---------- */
.sectors { background: var(--grad-soft); }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sector-card {
  position: relative;
  display: block;
  height: 280px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.sector-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.sector-card:hover img { transform: scale(1.1); }
.sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,59,46,0) 30%, rgba(14,59,46,.85) 100%);
  transition: background var(--t-med) var(--ease);
}
.sector-card:hover .sector-overlay {
  background: linear-gradient(180deg, rgba(14,59,46,.2) 0%, rgba(14,59,46,.95) 100%);
}
.sector-content {
  position: absolute;
  inset-inline: 24px;
  bottom: 22px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sector-content i {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, .15);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px);
}
.sector-content h3 {
  color: #fff;
  font-size: 1.25rem;
  flex: 1;
}
.sector-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.sector-arrow i { width: 18px; height: 18px; color: #fff; }
.sector-card:hover .sector-arrow { background: #fff; transform: translateX(-6px); }
.sector-card:hover .sector-arrow i { color: var(--green-700); }

/* ---------- PROCESS / TIMELINE ---------- */
.process { background: #fff; }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  inset-inline: 12%;
  height: 2px;
  background: linear-gradient(to left, var(--green-200), var(--green-500), var(--green-200));
  z-index: 0;
}
.timeline-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--green-700);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green-300);
  box-shadow: var(--sh-sm);
  transition: all var(--t-med) var(--ease);
}
.timeline-step:hover .step-num {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--sh-glow);
}
.step-card {
  background: var(--green-50);
  border-radius: var(--r-md);
  padding: 24px 18px;
  transition: all var(--t-med) var(--ease);
  border: 1px solid transparent;
}
.timeline-step:hover .step-card {
  background: #fff;
  border-color: var(--green-100);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.step-card i {
  width: 28px;
  height: 28px;
  color: var(--green-600);
  margin-bottom: 12px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-card p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- CLIENTS ---------- */
.clients { background: var(--bg-alt); padding-block: 80px; }
.clients .section-head { margin-bottom: 40px; }
.logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logos-track img {
  height: 56px;
  width: auto;
  filter: grayscale(100%);
  opacity: .55;
  transition: filter var(--t-med) var(--ease), opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.logos-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  padding-block: clamp(80px, 12vw, 140px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: #fff;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,59,46,.92) 0%, rgba(31,138,91,.78) 100%);
  z-index: -1;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.01em;
  margin-block: 22px 18px;
  max-width: 800px;
  margin-inline: auto;
}
.cta-inner p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- BLOG ---------- */
.blog { background: #fff; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.blog-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.blog-card:hover .blog-image img { transform: scale(1.08); }
.blog-cat {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  color: var(--green-700);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 700;
}
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  gap: 18px;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta i { width: 14px; height: 14px; }
.blog-card h3 { font-size: 1.2rem; line-height: 1.45; margin-bottom: 10px; }
.blog-body p { color: var(--muted); margin: 0 0 18px; flex: 1; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, .8);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; inset-inline: 0;
  height: 3px;
  background: var(--grad-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer-brand p { line-height: 1.85; margin-block: 16px 22px; }
.footer-logo { height: 50px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--green-400);
  border-radius: 2px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a {
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  transition: color var(--t-fast) var(--ease), padding-inline-start var(--t-fast) var(--ease);
  display: inline-block;
}
.footer-col a:hover {
  color: var(--green-300);
  padding-inline-start: 6px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-list i {
  width: 18px;
  height: 18px;
  color: var(--green-300);
  flex-shrink: 0;
}

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-med) var(--ease);
  border: 1px solid rgba(255, 255, 255, .12);
}
.socials i,
.socials svg { width: 18px; height: 18px; color: #fff; fill: currentColor; }
.socials a { color: #fff; }
.socials a:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  transform: translateY(-3px);
  padding-inline-start: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  font-size: .9rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .65); }

/* ---------- FLOATING WHATSAPP ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  inset-inline-start: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  z-index: 900;
  transition: transform var(--t-med) var(--ease);
}
.fab-whatsapp i { width: 28px; height: 28px; }
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- FOCUS STYLES ---------- */
:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .primary-nav ul { gap: 0; }
  .primary-nav a { padding: 10px 10px; font-size: .92rem; }
}

@media (max-width: 992px) {
  :root { --header-h: 72px; }
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-cta span { display: none; }
  .header-actions .btn-cta { padding: 12px; }
  .header-actions .btn-cta i { margin: 0; }

  .services-grid,
  .sectors-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-image-wrap { aspect-ratio: 16 / 10; max-width: 600px; margin-inline: auto; }

  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { display: none; }
  .timeline-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; text-align: start; }
  .step-num { margin: 0; width: 56px; height: 56px; }
  .step-card { text-align: start; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }

  .hero {
    height: 100svh;
    min-height: 100svh;
  }
  .slide {
    padding-block: calc(var(--header-h) + 30px) 120px;
    align-items: flex-start;
  }
  .slide-content {
    padding-block: 0;
    max-width: 100%;
  }
  .slide-content h1 { font-size: clamp(1.6rem, 6.5vw, 2.1rem); line-height: 1.25; }
  .slide-content p  { font-size: .95rem; line-height: 1.7; margin-bottom: 24px; }

  .slider-arrow {
    width: 42px; height: 42px;
    top: auto; bottom: 80px;
    transform: none;
  }
  .slider-prev { inset-inline-end: 16px; }
  .slider-next { inset-inline-start: 16px; }
  .slider-arrow i { width: 20px; height: 20px; }

  .slider-dots { bottom: 32px; }

  .scroll-cue { display: none; }

  .orb-1 { width: 280px; height: 280px; }
  .orb-2 { width: 220px; height: 220px; }
  .orb-3 { width: 180px; height: 180px; }

  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: .95rem;
  }

  .services-grid,
  .sectors-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom .container { justify-content: center; text-align: center; }

  .cta-buttons .btn { flex: 1; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .fab-whatsapp { width: 54px; height: 54px; bottom: 20px; inset-inline-start: 20px; }
}

@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
  .header-actions .btn-cta { display: none; }
}

/* ============================================================
   ANIMATIONS — added layer (premium motion)
   ============================================================ */

/* Page-load entrance — opacity only (transform on body would break position:fixed header & FAB) */
body {
  opacity: 0;
  animation: pageIn .6s var(--ease-out) forwards;
}
@keyframes pageIn {
  to { opacity: 1; }
}

/* ---------- HERO floating orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
  mix-blend-mode: screen;
  opacity: .7;
  will-change: transform;
}
.orb-1 {
  width: 460px; height: 460px;
  top: -120px; inset-inline-end: -80px;
  background: radial-gradient(circle, rgba(108, 196, 154, .55) 0%, rgba(31, 138, 91, 0) 70%);
  animation: orbFloat 18s ease-in-out infinite;
}
.orb-2 {
  width: 360px; height: 360px;
  bottom: -100px; inset-inline-start: 8%;
  background: radial-gradient(circle, rgba(58, 169, 119, .5) 0%, rgba(14, 59, 46, 0) 70%);
  animation: orbFloat 22s ease-in-out infinite reverse;
  animation-delay: -7s;
}
.orb-3 {
  width: 300px; height: 300px;
  top: 35%; inset-inline-start: 42%;
  background: radial-gradient(circle, rgba(169, 220, 193, .35) 0%, rgba(14, 59, 46, 0) 70%);
  animation: orbFloat 26s ease-in-out infinite;
  animation-delay: -12s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(40px, -30px, 0) scale(1.08); }
  66%      { transform: translate3d(-30px, 25px, 0) scale(.95); }
}

/* slide-content needs to sit above orbs */
.slide-content { z-index: 4; }
.slide-overlay { z-index: 2; }

/* ---------- HERO h1 gradient shimmer ---------- */
.slide-content h1 {
  background: linear-gradient(
    100deg,
    #ffffff 0%,
    #ffffff 40%,
    #c8f1da 50%,
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShimmer 6s ease-in-out infinite;
}
@keyframes textShimmer {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0 0; }
}

/* ---------- Section title underline draw ---------- */
.section-head h2 {
  position: relative;
  padding-bottom: 18px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 50%;
  height: 4px;
  width: 60px;
  border-radius: 4px;
  background: var(--grad-primary);
  transform: translateX(50%) scaleX(0);
  transform-origin: center;
  transition: transform .9s var(--ease-out) .15s;
}
.reveal.is-visible .section-head h2::after,
.section-head.reveal.is-visible h2::after,
.section-head.is-visible h2::after {
  transform: translateX(50%) scaleX(1);
}
/* RTL: same look (transformX 50% with center origin works in both directions) */

/* ---------- Service card 3D tilt ---------- */
.service-card {
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform .25s var(--ease-out), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.service-card.is-tilt {
  transition: transform .08s linear, box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.service-card:hover {
  /* keep hover lift but combine with tilt vars */
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px);
}
.service-card h3,
.service-card p,
.service-card .card-link {
  transform: translateZ(20px);
}
/* Service icon: lift in 3D + keep the original scale+rotate on hover */
.service-card .service-icon { transform: translateZ(20px); }
.service-card:hover .service-icon {
  transform: translateZ(20px) scale(1.1) rotate(-4deg);
}

/* ---------- CTA primary button breathing glow ---------- */
.btn-primary {
  animation: breathe 4s ease-in-out infinite;
}
.btn-primary:hover { animation: none; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 14px 40px rgba(31, 138, 91, .25); }
  50%      { box-shadow: 0 18px 50px rgba(31, 138, 91, .45); }
}

/* ---------- Process timeline progress fill ---------- */
.timeline {
  position: relative;
}
.timeline::after {
  content: "";
  position: absolute;
  top: 32px;
  inset-inline-start: 12%;
  height: 2px;
  width: 0;
  background: var(--grad-primary);
  z-index: 0;
  transition: width 1.6s var(--ease-out) .2s;
}
.timeline.is-running::after {
  width: 76%;
}
@media (max-width: 992px) {
  .timeline::after { display: none; }
}

/* ---------- Stats blob drift ---------- */
.stats::before {
  animation: blobDrift 22s ease-in-out infinite;
}
@keyframes blobDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(2%, -1.5%, 0) scale(1.05); }
}

/* ---------- Sector card subtle parallax-ish on hover ---------- */
.sector-card { will-change: transform; }
.sector-card:hover img { transform: scale(1.12) translate3d(0, -2%, 0); }

/* ---------- Blog card image ken-burns on hover ---------- */
.blog-card:hover .blog-image img { transform: scale(1.1) rotate(-.5deg); }

/* ---------- Floating WhatsApp idle wiggle ---------- */
.fab-whatsapp { animation: fabFloat 4s ease-in-out infinite; }
.fab-whatsapp:hover { animation: none; }
@keyframes fabFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- Card-link arrow continuous nudge ---------- */
.card-link i { animation: nudge 2.4s ease-in-out infinite; }
.card-link:hover i { animation: none; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-3px); }
}

/* ---------- Reduced motion: disable extras ---------- */
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; transform: none; animation: none; }
  .orb,
  .slide-content h1,
  .stats::before,
  .btn-primary,
  .fab-whatsapp,
  .card-link i { animation: none !important; }
  .service-card { transform: none !important; }
  .timeline::after { display: none; }
}

/* ---------- REDUCED MOTION (existing) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .logos-track { animation: none; }
  .scroll-cue { display: none; }
}
