/* =====================
   BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --nav-h: 56px;
  --nav-bg: #343741;
  --green: #009189;
  --gold: #c9a84c;
  --white: #fff;
  --muted: rgba(255,255,255,0.6);
  --border: rgba(255,255,255,0.18);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Montserrat', sans-serif; /* DEFAULT FONT — all EN pages inherit this */
  background: #0d3d2e;
  color: var(--white);
  overflow-x: hidden;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: var(--nav-bg);
  z-index: 400;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-inner {
  max-width: 100%;
  margin: 0;
  padding: 0 100px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo */
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 32px; width: auto; display: block; }

/* Links — centered, take remaining space */
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 22px;
  margin: 0 16px;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* CTAs */
.nav-ctas {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-download, .cta-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s;
  white-space: nowrap;
}
.cta-download {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}
.cta-download:hover { background: rgba(255,255,255,0.2); }
.cta-lang {
  border: 1px solid rgba(255,255,255,0.25);
}
.cta-lang:hover { background: rgba(255,255,255,0.1); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  z-index: 301;
  position: relative;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              opacity 0.3s,
              width 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Fullscreen mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #1e2530;
  z-index: 300;
  flex-direction: column;
  padding: calc(var(--nav-h) + 32px) 48px 48px;
  padding-left: max(48px, env(safe-area-inset-left));
  padding-right: max(48px, env(safe-area-inset-right));
  padding-bottom: max(48px, env(safe-area-inset-bottom));
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1),
              transform 0.35s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mobile-menu-links li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu-links a {
  display: block;
  padding: 16px 0;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s, padding-left 0.2s;
}
.mobile-menu-links a:hover {
  opacity: 1;
  padding-left: 8px;
  color: #009189;
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.mobile-menu-footer .cta-download,
.mobile-menu-footer .cta-lang {
  font-size: 14px;
  padding: 10px 20px;
}

/* RTL mobile menu */
[dir="rtl"] .mobile-menu-links a:hover {
  padding-left: 0;
  padding-right: 8px;
}
[dir="rtl"] .burger { margin-left: 0; margin-right: 12px; }

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

/* Background image — cover full hero, centered */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/Container.png') center center / cover no-repeat;
  z-index: 0;
}

/* Dark gradient overlay — left side darker so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 35, 24, 0.82) 0%,
    rgba(8, 35, 24, 0.55) 38%,
    rgba(8, 35, 24, 0.10) 65%,
    transparent 100%
  );
  z-index: 1;
}

/* Content wrapper */
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  padding: 0 100px;
  display: flex;
  align-items: center;
  /* push content down just past the navbar */
  padding-top: var(--nav-h);
}

/* Text block — left ~42% of screen */
.hero-text {
  width: 42%;
  min-width: 340px;
}

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

/* Heading */
.hero-text h1 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}
.gold { color: var(--gold); }

/* Sub */
.sub {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Buttons */
.btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-fill:hover { background: #33b87e; transform: translateY(-1px); }
.btn-fill span { transition: transform 0.2s; display: inline-block; }
.btn-fill:hover span { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* Stats row */
.stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 20px;
}
.stat-item:first-child { padding-left: 0; }
.stat-item strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.stat-item span {
  font-size: 18px;
  color: var(--white);
  font-weight: 700;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-hint span {
  font-size: clamp(9px, 0.7vw, 14px);
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}
.scroll-bar {
  width: clamp(1px, 0.1vw, 2px);
  height: clamp(36px, 3vw, 60px);
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0);   opacity: 0.6; }
  50%       { transform: translateY(5px); opacity: 1;   }
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .hero-text { width: 50%; }
}

@media (max-width: 860px) {
  .nav-links, .nav-ctas { display: none; }
  .burger { display: flex; }
  .nav-inner { justify-content: space-between; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--nav-bg);
    padding: 18px 100px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 199;
  }

  .hero-inner { padding: 0 100px; }
  .hero-text  { width: 100%; min-width: unset; }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(8,35,24,0.75) 0%,
      rgba(8,35,24,0.55) 60%,
      rgba(8,35,24,0.4) 100%
    );
  }
}

@media (max-width: 520px) {
  .hero-text h1 { font-size: 34px; }
  .sub { font-size: 13px; }
  .stat-item strong { font-size: 15px; }
  .stat-item { padding: 0 12px; }
  .btn-fill, .btn-ghost { font-size: 13px; padding: 10px 18px; }
}

/* =====================
   ARABIC / RTL
===================== */
.ar body { font-family: 'Tajawal', sans-serif; }
.ar .nav-inner  { flex-direction: row-reverse; }
.ar .nav-links  { flex-direction: row-reverse; }
.ar .nav-ctas   { flex-direction: row-reverse; }
.ar .burger     { margin-left: 0; margin-right: 12px; }
.ar .nav-links.open { align-items: flex-end; }

/* =====================
   ARABIC / RTL
===================== */
.ar body { font-family: 'Tajawal', sans-serif; }

/* Navbar — معكوس */
.ar .nav-inner { flex-direction: row-reverse; }
.ar .nav-links { flex-direction: row-reverse; }
.ar .nav-ctas  { flex-direction: row-reverse; }
.ar .nav-links.open { align-items: flex-end; }

/* Hero bg — صورة العربي المعكوسة */
.ar .hero-bg {
  background: url('../assets/Containerar.png') center center / cover no-repeat;
}

/* Overlay من اليمين */
.ar .hero-overlay {
  background: linear-gradient(
    to left,
    rgba(8,35,24,0.82) 0%,
    rgba(8,35,24,0.55) 38%,
    rgba(8,35,24,0.10) 65%,
    transparent 100%
  );
}

/* Content — يمين */
.ar .hero-inner  { justify-content: flex-end; }
.ar .hero-text   { text-align: right; }
.ar .eyebrow     { flex-direction: row-reverse; }
.ar .btns        { flex-direction: row-reverse; }
.ar .stats       { flex-direction: row-reverse; }
.ar .stat-item:last-child  { padding-right: 0; padding-left: 20px; }
.ar .stat-item:first-child { padding-left: 0;  padding-right: 20px; }

@media (max-width: 860px) {
  .ar .hero-inner { justify-content: flex-start; }
  .ar .nav-links.open { align-items: flex-end; }
}

/* =====================
   THEME OF THE YEAR
===================== */
.theme-section {
  position: relative;
  background: #f5f3ef;
  color: #1a1a1a;
  overflow: hidden;
}

.theme-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.theme-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: url('../assets/freepik__a-minimalist-highend-corporate-background-for-text__64990_upscayl_3x_upscayl-standard-4x 1.png') top center / cover no-repeat;
  opacity: 0.35;
}
.theme-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: url('../assets/freepik__a-minimalist-highend-corporate-background-for-text__64990_upscayl_3x_upscayl-standard-4x 2.png') bottom center / cover no-repeat;
  opacity: 0.35;
}

.theme-inner {
  position: relative;
  z-index: 1;
  padding: 60px 100px;
}

/* Header bar */
.theme-header {
  background: #F1D3B5;
  border-left: 4px solid #009189;
  padding: 18px 24px;
  margin-bottom: 36px;
  border-radius: 2px;
}
.theme-header h2 {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.theme-header h2 span { color: #009189 !important; }
.theme-header p {
  font-size: clamp(11px, 0.85vw, 13px);
  color: #555;
  line-height: 1.6;
}

/* Two column layout */
.theme-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Left */
.theme-img-wrap {
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}
.theme-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.group-title {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

/* Cards */
.theme-card {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.08);
}
.theme-card-header {
  background: #009189;
  color: #fff;
  font-size: clamp(10px, 0.8vw, 12.5px);
  font-weight: 600;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.theme-card-body {
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 12px;
  font-size: clamp(10px, 0.75vw, 12px);
  line-height: 1.6;
  color: #333;
}
.theme-card-body.two-col   { grid-template-columns: 1fr 1fr; }
.theme-card-body.three-col { grid-template-columns: 1fr 1fr 1fr; }

.theme-card-body strong {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  font-size: clamp(10px, 0.8vw, 12.5px);
}

.theme-card-body strong.stat-num {
  font-size: clamp(28px, 3vw, 42px);
  color: #009189;
  line-height: 1;
  margin-bottom: 8px;
}
.theme-card-body p { margin: 0; }

.theme-img-header {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.card-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.sar-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(35%) sepia(85%) saturate(400%) hue-rotate(140deg);
  vertical-align: middle;
}

.big-num {
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 800 !important;
  color: #009189 !important;
  line-height: 1.1;
  margin-bottom: 8px !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .theme-body { grid-template-columns: 1fr; }
  .theme-inner { padding: 40px 50px; }
}
@media (max-width: 600px) {
  .theme-inner { padding: 30px 24px; }
  .theme-card-body.two-col,
  .theme-card-body.three-col { grid-template-columns: 1fr; }
}

/* =====================
   EXPLORE THE REPORT
===================== */
.explore-section { overflow: hidden; }

.explore-top {
  position: relative;
  background: #1a2332;
  padding: 70px 100px 50px;
  overflow: hidden;
}
.explore-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/freepik__flat-2d-digital-graphic-of-a-minimalist-corporate-__59836 1.png') center center / cover no-repeat;
  opacity: 0.6;
  z-index: 0;
}
.explore-top-inner {
  position: relative;
  z-index: 1;
}
.explore-bottom {
  background: #343741;
  padding: 36px 100px;
}

.explore-header {
  text-align: center;
  margin-bottom: 40px;
}
.explore-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.explore-header p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  color: var(--muted);
}

/* Cards row */
.explore-cards {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 52px;
}
.explore-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.explore-card:hover,
.explore-card.active {
  border-color: #009189;
  box-shadow: 0 4px 20px rgba(0,145,137,0.2);
}
.explore-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #009189;
  color: #ffffff !important;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.explore-card strong {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(11px, 0.9vw, 13.5px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.explore-card span {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(9px, 0.7vw, 11px);
  color: #777;
  line-height: 1.5;
}

/* Stats row */
.explore-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.ex-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.ex-stat:first-child { padding-left: 0; }
.ex-stat:last-child  { border-right: none; padding-right: 0; }
.ex-stat strong {
  font-family: 'Swissra', sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  color: #009189;
  letter-spacing: -0.01em;
}

.ex-stat span {
  font-family: 'Montserrat', sans-serif;
  color: var(--);
  font-weight: 700;
}
.ex-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 0.75vw, 12px) !important;
  color: #ffffff !important;
  font-weight: 500;
}
.ex-stat small {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 0.75vw, 12px) ;
  color: var(--white) !important;
}
.ex-stat-detail {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 0.65vw, 11px) !important;
  color: var(--white) !important;
}
.ex-detail-num {
  font-family: 'Montserrat', sans-serif !important;
  font-variant-numeric: lining-nums tabular-nums ;
  font-size: clamp(9px, 0.65vw, 11px) !important;
  color: var(--white) !important ;


}

/* =====================
   FOOTER
===================== */
.footer {
  background: #1e2530;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 52px 100px 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 40px;
  display: block;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: clamp(11px, 0.8vw, 13px);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 10px;
}
.footer-brand span {
  font-size: clamp(10px, 0.75vw, 12px);
  color: rgba(255,255,255,0.35);
}

.footer-col h4 {
  font-size: clamp(10px, 0.75vw, 11.5px);
  font-weight: 700;
  color: #009189;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  font-size: clamp(11px, 0.8vw, 13px);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 100px;
}
.footer-bottom p {
  font-size: clamp(10px, 0.7vw, 12px);
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: clamp(10px, 0.7vw, 12px);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #fff; }

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; padding: 40px 50px 36px; }
  .footer-bottom { padding: 16px 50px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; padding: 36px 24px 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; padding: 16px 24px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* =====================
   RESPONSIVE — ALL SECTIONS
===================== */

/* ── Tablet & below (≤1024px) ── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 40px; }
  .hero-inner { padding: 0 40px; padding-top: var(--nav-h); }
  .theme-inner { padding: 40px 40px; }
  .explore-top  { padding: 50px 40px 40px; }
  .explore-bottom { padding: 28px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 40px 40px 36px; }
  .footer-bottom { padding: 16px 40px; }
  .theme-body { grid-template-columns: 1fr; }
  .explore-cards { grid-template-columns: repeat(4, 1fr); }
  .explore-stats  { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ── Mobile nav breakpoint (≤860px) ── */
@media (max-width: 860px) {
  /* Hide desktop nav, show burger */
  .nav-links, .nav-ctas { display: none; }
  .burger { display: flex; }
  .nav-inner { justify-content: space-between; padding: 0 20px; }

  /* Show mobile menu */
  .mobile-menu { display: flex; }

  /* Hero */
  .hero-inner { padding: 0 20px; padding-top: var(--nav-h); }
  .hero-text  { width: 100%; min-width: unset; }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(8,35,24,0.8) 0%,
      rgba(8,35,24,0.5) 60%,
      rgba(8,35,24,0.3) 100%
    );
  }

  /* Theme */
  .theme-inner { padding: 32px 20px; }
  .theme-card-body.two-col,
  .theme-card-body.three-col { grid-template-columns: 1fr; }

  /* Explore */
  .explore-top    { padding: 40px 20px 32px; }
  .explore-bottom { padding: 20px; }
  .explore-cards  { grid-template-columns: repeat(2, 1fr); }
  .explore-stats  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ex-stat        { border: none; padding: 0; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr; padding: 32px 20px 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; padding: 16px 20px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* ── Small mobile (≤520px) ── */
@media (max-width: 520px) {
  .hero-text h1 { font-size: 32px; }
  .sub { font-size: 13px; }
  .stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 !important; }
  .btn-fill, .btn-ghost { font-size: 13px; padding: 10px 16px; }
  .explore-cards { grid-template-columns: 1fr 1fr; }
  .explore-stats { grid-template-columns: 1fr 1fr; }
  .mobile-menu { padding: 80px 28px 36px; }
  .mobile-menu-links a { font-size: 18px; padding: 14px 0; }
}

/* =====================
   MOBILE — FULL RESPONSIVE FIX
===================== */

/* Tablet (≤768px) */
@media (max-width: 768px) {
  /* Nav */
  .nav-inner { padding: 0 20px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-inner { padding: 0 20px; padding-top: var(--nav-h); }
  .hero-text { width: 100%; min-width: unset; }
  .hero-text h1 { font-size: clamp(28px, 8vw, 42px); }
  .sub { font-size: 13px; line-height: 1.65; }
  .btns { gap: 10px; }
  .btn-fill, .btn-ghost { font-size: 13px; padding: 10px 16px; }
  .stats { flex-wrap: wrap; gap: 14px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 !important; }
  .stat-item strong { font-size: 16px; }

  /* Theme */
  .theme-inner { padding: 28px 20px; }
  .theme-header { padding: 14px 16px; }
  .theme-header h2 { font-size: 14px; }
  .theme-body { grid-template-columns: 1fr; gap: 20px; }
  .theme-card-body.two-col,
  .theme-card-body.three-col { grid-template-columns: 1fr; }

  /* Explore */
  .explore-top    { padding: 36px 20px 28px; }
  .explore-bottom { padding: 20px; }
  .explore-cards  { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 0; }
  .explore-card   { padding: 14px 12px 16px; }
  .explore-stats  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ex-stat        { border: none; padding: 0; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr; padding: 28px 20px 24px; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; padding: 14px 20px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* Small phone (≤400px) */
@media (max-width: 400px) {
  .hero-text h1 { font-size: 26px; }
  .explore-cards { grid-template-columns: 1fr; }
  .explore-stats { grid-template-columns: 1fr; }
  .btns { flex-direction: column; align-items: flex-start; }
  [dir="rtl"] .btns { align-items: flex-end; }
}

/* RTL mobile fixes */
@media (max-width: 768px) {
  [dir="rtl"] .hero-inner { justify-content: flex-start; }
  [dir="rtl"] .hero-text  { text-align: right; }
  [dir="rtl"] .eyebrow    { flex-direction: row-reverse; }
  [dir="rtl"] .btns       { flex-direction: row-reverse; }
  [dir="rtl"] .stats      { flex-direction: row-reverse; }
}
