/*
Theme Name: Maaden Theme
Theme URI: https://maadenalbeah.com/
Author: Ahmed Abdel Nasser
Author URI: http://qpoint.com.sa
Description: Custom theme for Ma'aden Al-Bi'ah Commercial Establishment — scrap metals & recycling services in Makkah.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maadentheme
*/

/* =============================================================
   GLOBAL ENHANCEMENTS — Maaden Theme
   Covers: transparent-over-hero header, hero polish, sections,
   responsive tuning, and consistent button system.
   Uses !important to override the theme's inline <style> blocks.
   ============================================================= */

:root {
  /* Palette sampled from the logo: deep forest green + warm antique gold */
  --mdn-green-dark: #0f3d1e;
  --mdn-green:      #1e6b35;
  --mdn-green-ink:  #082814;
  --mdn-gold:       #c0a15a;
  --mdn-gold-dark:  #8a6a28;
  --mdn-gold-light: #e4cc8a;
  /* Legacy aliases — kept so older class rules that reference --mdn-copper still resolve */
  --mdn-copper:     #c0a15a;
  --mdn-steel:      #4a5660;
  --mdn-steel-dark: #2a323a;
  --mdn-cream:      #f5f3ee;
  --mdn-bg:         #f8f9f7;
  --mdn-text:       #1f2933;
  --mdn-muted:      #6b7280;
  --mdn-header-h:   72px;
  --mdn-shadow-sm:  0 6px 18px rgba(8, 40, 20, 0.08);
  --mdn-shadow-md:  0 14px 38px rgba(8, 40, 20, 0.12);
  --mdn-radius:     12px;
  --mdn-radius-lg:  20px;
}

/* Safer overflow default — hidden is more broadly supported than clip on mobile Safari */
html, body { max-width: 100%; overflow-x: hidden; }
body { position: relative; }

/* ============================================================
   TYPOGRAPHY — force Tajawal across the entire UI
   Ensures heavy weights (800/900) render with real font
   instead of faux-bold on Arabic (fixes "بيئة" rendering).
   ============================================================ */
html, body, button, input, select, textarea, optgroup {
  font-family: 'Tajawal', 'Segoe UI', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Keep icon fonts + the WA float SVG unaffected */
.bi, [class^="bi-"], [class*=" bi-"] {
  font-family: 'bootstrap-icons' !important;
}


/* ============================================================
   1. HEADER — transparent over hero, solid on scroll
   ============================================================ */
header.main-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: background 0.35s ease,
              box-shadow 0.35s ease,
              backdrop-filter 0.35s ease,
              padding 0.25s ease;
  padding: 4px 0;
}

/* Homepage, at top of page → transparent with soft top shadow for legibility */
body.home header.main-header {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.18) 60%,
    transparent 100%) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scrolled on home OR any non-home page → solid gradient pill */
body.home header.main-header.is-scrolled,
body:not(.home) header.main-header {
  background: linear-gradient(90deg,
    rgba(15, 61, 30, 0.94) 0%,
    rgba(30, 107, 53, 0.94) 100%) !important;
  box-shadow: 0 6px 24px rgba(8, 40, 20, 0.18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
body.home header.main-header.is-scrolled { padding: 0; }

/* Non-home pages need top offset because header is fixed */
body:not(.home) { padding-top: var(--mdn-header-h); }

/* Header inner — tighter gap, cleaner alignment */
header.main-header .header-container {
  padding: 8px 22px !important;
  max-width: 1240px !important;
}

/* Logo tuning */
header.main-header .header-left img {
  transition: transform 0.3s ease, max-height 0.3s ease;
  max-height: 52px !important;
}
header.main-header.is-scrolled .header-left img {
  max-height: 44px !important;
}
header.main-header .header-left a {
  display: inline-flex;
  align-items: center;
}

/* Desktop nav refinement */
header.main-header .desktop-nav {
  gap: 26px !important;
}
header.main-header .desktop-nav li a {
  position: relative;
  padding: 6px 2px;
  font-size: 15px;
  transition: color 0.25s ease;
}
header.main-header .desktop-nav li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.3s ease;
}
header.main-header .desktop-nav li a:hover {
  color: #ffffff !important;
}
header.main-header .desktop-nav li a:hover::after {
  width: 100%;
}

/* Icon links — circular hover chip */
header.main-header .header-icons { gap: 8px !important; }
header.main-header .icon-link {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}
header.main-header .icon-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Mobile hamburger — refined tap target with subtle gold accent on hover */
header.main-header .mobile-hamburger {
  width: 44px !important;
  height: 44px !important;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px !important;
  font-size: 22px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease !important;
}
header.main-header .mobile-hamburger:hover,
header.main-header .mobile-hamburger:focus-visible {
  background: linear-gradient(135deg, var(--mdn-gold-dark), var(--mdn-gold)) !important;
  border-color: var(--mdn-gold) !important;
  color: var(--mdn-green-ink) !important;
  transform: scale(1.04);
}
@media (max-width: 991px) {
  header.main-header .mobile-hamburger { display: inline-flex !important; }
  header.main-header .desktop-nav { display: none !important; }
  header.main-header .header-nav { display: none !important; }
  header.main-header .header-container { padding: 6px 16px !important; }
}
@media (max-width: 480px) {
  header.main-header .header-left img { max-height: 42px !important; }
  header.main-header.is-scrolled .header-left img { max-height: 38px !important; }
}


/* ============================================================
   2. MOBILE MENU — slide-out panel with brand head, nav buttons,
      CTA, and circular contact icons. Formal, B2B tone.
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0 !important;
  left: auto !important;
  width: min(320px, 88vw) !important;
  height: 100%;
  padding: 0 !important;
  gap: 0 !important;
  background:
    radial-gradient(ellipse 400px 200px at 100% 0%, rgba(192, 161, 90, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0b2a15 0%, #0f3d1e 55%, #082814 100%) !important;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  will-change: transform;
  z-index: 999;
  direction: rtl;
  color: #ffffff;
}
.mobile-menu.active {
  right: 0 !important;
  transform: translateX(0) !important;
}

/* Gold accent stripe down the outer edge */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--mdn-gold) 20%, var(--mdn-gold) 80%, transparent);
}

/* Header row — brand + close */
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__brand img {
  width: 110px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  display: block;
}

.mobile-menu .close-menu {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 16px !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.mobile-menu .close-menu:hover,
.mobile-menu .close-menu:focus-visible {
  background: linear-gradient(135deg, var(--mdn-gold-dark), var(--mdn-gold));
  border-color: var(--mdn-gold);
  color: var(--mdn-green-ink);
  transform: rotate(90deg);
}

/* Nav area — scrollable if needed */
.mobile-menu__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 14px;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu .mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu .mobile-links li a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 14px !important;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 14.5px !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.mobile-menu .mobile-links li a:hover,
.mobile-menu .mobile-links li a:focus-visible {
  background: rgba(192, 161, 90, 0.12);
  color: #ffffff !important;
}
.mobile-menu .mobile-links li a:active { transform: scale(0.98); }

.mobile-link__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--mdn-gold-light);
  font-size: 15px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.mobile-menu .mobile-links li a:hover .mobile-link__icon {
  background: linear-gradient(135deg, var(--mdn-gold-dark), var(--mdn-gold));
  border-color: var(--mdn-gold);
  color: var(--mdn-green-ink);
}
.mobile-link__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-link__chev {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.mobile-menu .mobile-links li a:hover .mobile-link__chev {
  color: var(--mdn-gold);
  transform: translateX(-3px);
}

/* Footer block: CTA + contact icons */
.mobile-menu__foot {
  padding: 16px 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}
.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 100%);
  color: var(--mdn-green-ink);
  font-weight: 800;
  font-size: 14.5px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(138, 106, 40, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 14px;
}
.mobile-menu__cta:hover,
.mobile-menu__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(138, 106, 40, 0.50);
  color: var(--mdn-green-ink);
}
.mobile-menu__cta i { font-size: 16px; }

/* Contact icon buttons — 3-up equal row */
.mobile-menu .mobile-contact {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mobile-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: 44px !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.mobile-contact__btn:hover,
.mobile-contact__btn:focus-visible {
  background: linear-gradient(135deg, var(--mdn-gold-dark), var(--mdn-gold)) !important;
  border-color: var(--mdn-gold);
  color: var(--mdn-green-ink) !important;
  transform: translateY(-2px);
}

/* Overlay — darker + stronger blur for focus */
.mobile-menu-overlay {
  background: rgba(8, 40, 20, 0.65) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* ============================================================
   3. HERO — cinematic slider with Ken-Burns zoom + pagination dots
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  direction: rtl;
}
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 8s ease-out;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1.08);
}

/* Cinematic dark overlay + vignette — ~50% opacity, preserves WCAG text contrast */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.65) 85%),
    linear-gradient(180deg, rgba(8, 40, 20, 0.55) 0%, rgba(0, 0, 0, 0.40) 45%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Optional looping background video layer — appears on top of the WebP once loaded.
   Fades in smoothly after `canplay`. Always muted + looped, no controls. */
.hero-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide__video.is-ready { opacity: 1; }

/* ============================================================
   HERO PARTICLES — floating dust/vapor overlay for subtle motion
   Cheap, GPU-only transforms, respects prefers-reduced-motion.
   ============================================================ */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}
.hero-particle {
  position: absolute;
  bottom: -20px;
  left: var(--x, 50%);
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(228, 204, 138, var(--opacity, 0.55)) 0%,
    rgba(228, 204, 138, 0) 70%);
  filter: blur(0.8px);
  animation: heroParticleRise var(--duration, 18s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
.hero-particle:nth-child(3n) {
  background: radial-gradient(circle,
    rgba(255, 255, 255, var(--opacity, 0.45)) 0%,
    rgba(255, 255, 255, 0) 70%);
}
.hero-particle:nth-child(5n) {
  background: radial-gradient(circle,
    rgba(192, 161, 90, var(--opacity, 0.50)) 0%,
    rgba(192, 161, 90, 0) 70%);
}
@keyframes heroParticleRise {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.9; }
  55%  { transform: translate3d(8px, -55vh, 0) scale(1); }
  100% { transform: translate3d(-4px, -115vh, 0) scale(1.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-particle { animation: none !important; display: none; }
  .hero-slide { transition: opacity 0.3s linear !important; transform: none !important; }
  .hero-slide.active { transform: none !important; }
}
/* Save data users — skip particle animation work */
@media (prefers-reduced-data: reduce) {
  .hero-particles { display: none; }
}

/* Hero content — centered stack */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
}
/* Swap animation — fade/slide while content is being replaced */
.hero-content.is-swapping .hero-title,
.hero-content.is-swapping .hero-desc,
.hero-content.is-swapping .hero-buttons {
  opacity: 0;
  transform: translateY(16px);
}
.hero-content .hero-title,
.hero-content .hero-desc,
.hero-content .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-content .hero-desc { transition-delay: 0.08s; }
.hero-content .hero-buttons { transition-delay: 0.16s; }

/* Eyebrow chip (new) */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 18px;
}
.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mdn-gold);
  box-shadow: 0 0 0 3px rgba(192, 161, 90, 0.25);
}

/* Title + description */
.hero-title {
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 1.1rem;
  max-width: 900px;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
.hero-desc {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 2rem;
  opacity: 0.96;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* CTA buttons — always side-by-side, gracefully shrink on narrow screens */
.hero-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 620px;
}
.hero-button {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease, border-color 0.3s ease;
  min-width: 0; /* allow ellipsis on very narrow screens */
}
.hero-button i { font-size: 17px; }
.hero-button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Primary — solid green */
.hero-button--primary {
  background: linear-gradient(135deg, var(--mdn-green) 0%, var(--mdn-green-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(30, 107, 53, 0.40);
}
.hero-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(30, 107, 53, 0.55);
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 100%);
  color: #fff;
}

/* Ghost — gold outline */
.hero-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--mdn-gold);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-button--ghost:hover {
  background: var(--mdn-gold);
  color: var(--mdn-green-ink);
  transform: translateY(-3px);
  border-color: var(--mdn-gold);
}

/* Pagination dots */
.hero-dots {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
  direction: ltr;
}
.hero-dot {
  position: relative;
  width: 42px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.45); }
.hero-dot__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mdn-gold), var(--mdn-gold-light));
  border-radius: 999px;
}
.hero-dot.is-active {
  background: rgba(255, 255, 255, 0.18);
  transform: scaleY(1.5);
}
.hero-dot.is-active .hero-dot__fill {
  animation: heroDotFill 5.5s linear forwards;
}
@keyframes heroDotFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-decoration: none;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-scroll:hover {
  opacity: 1;
  transform: translate(-50%, 4px);
  color: #fff;
}
.hero-scroll__mouse {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  position: relative;
}
.hero-scroll__wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: heroScrollWheel 1.8s ease-in-out infinite;
}
@keyframes heroScrollWheel {
  0%   { transform: translate(-50%, 0);   opacity: 1; }
  80%  { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0);   opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section { height: 100vh; height: 100dvh; min-height: 560px; }
  .hero-eyebrow { font-size: 11.5px; padding: 6px 12px; margin-bottom: 14px; }
  .hero-title { font-size: clamp(1.5rem, 7.2vw, 2.2rem); margin-bottom: 0.9rem; }
  .hero-desc  { font-size: 14.5px; margin-bottom: 1.6rem; line-height: 1.7; }
  .hero-button {
    padding: 11px 18px;
    font-size: 13.5px;
    gap: 6px;
  }
  .hero-button i { font-size: 15px; }
  .hero-buttons {
    gap: 10px;
    max-width: 100%;
    padding: 0 6px;
  }
  .hero-dots { bottom: 28px; gap: 9px; }
  .hero-dot { width: 32px; }
  .hero-scroll { bottom: 60px; }
  .hero-scroll__mouse { width: 20px; height: 32px; }
}
@media (max-width: 380px) {
  .hero-button { padding: 10px 14px; font-size: 12.5px; }
  .hero-button i { font-size: 14px; }
}


/* ============================================================
   4. SECTION BASICS — uniform spacing & titles
   ============================================================ */
section.about-section,
section.services-wave-section,
section.vision-wave-section,
section.benefits-diagonal-section,
section.fleet-section,
section.pt-section,
section.rq-section {
  padding: clamp(60px, 8vw, 100px) 20px !important;
  scroll-margin-top: 80px;
}

/* Unified section title treatment */
.about-title, .services-title, .vm-title, .benefits-diagonal-title,
.fleet-title, .pt-title, .rq-title {
  font-size: clamp(1.75rem, 3.8vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: var(--mdn-green-ink) !important;
  margin-bottom: 1rem !important;
  line-height: 1.3 !important;
}

/* Section subtitle/lead */
.about-desc, .services-subtitle, .vm-lead, .bf-lead,
.fleet-lead, .pt-lead, .rq-lead {
  font-size: clamp(15px, 1.8vw, 17px) !important;
  line-height: 1.8 !important;
  color: var(--mdn-muted) !important;
}


/* ============================================================
   5. ABOUT SECTION — premium redesign
   ============================================================ */
.about-section {
  background:
    radial-gradient(ellipse 900px 500px at 95% -5%, rgba(30, 107, 53, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 0% 105%, rgba(15, 61, 30, 0.10) 0%, transparent 55%),
    #ffffff !important;
  padding: clamp(80px, 10vw, 130px) 20px !important;
  position: relative;
  overflow: hidden !important;
  direction: rtl;
}

/* Decorative background shapes */
.about-bg-shape {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.about-bg-shape:not(.about-bg-shape--2) {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(30, 107, 53, 0.12) 0%, transparent 70%);
}
.about-bg-shape--2 {
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(15, 61, 30, 0.10) 0%, transparent 70%);
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 1220px !important;
  margin: 0 auto !important;
}

/* Grid — 1fr 1.2fr for RTL feel (content right side is richer) */
.about-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.2fr !important;
  gap: clamp(40px, 5vw, 80px) !important;
  align-items: center !important;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr !important; }
  .about-col-right { text-align: center !important; }
  .about-col-left { order: -1; }
}

/* ============== VISUAL COLUMN ============== */
.about-visual {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.about-visual__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background:
    linear-gradient(135deg, #0f3d1e 0%, #1e6b35 50%, #1e6b35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  box-shadow:
    0 30px 60px rgba(8, 40, 20, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  z-index: 2;
}
.about-visual__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.about-visual__frame .about-logo {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: 70%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
  object-fit: contain;
}

/* Floating experience badge */
.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  padding: 18px 24px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(8, 40, 20, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
  border: 1px solid rgba(30, 107, 53, 0.1);
  transform: rotate(-4deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-badge:hover { transform: rotate(0deg) scale(1.05); }
.about-badge__num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  background: linear-gradient(135deg, #0f3d1e, #1e6b35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.about-badge__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--mdn-muted);
  white-space: nowrap;
}

/* Decorative dot pattern */
.about-dots {
  position: absolute;
  width: 140px;
  height: 140px;
  top: -24px;
  right: -24px;
  z-index: 1;
  background-image: radial-gradient(circle, #1e6b35 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.35;
  border-radius: 12px;
}

/* ============== CONTENT COLUMN ============== */
/* Unified section-eyebrow chip (applies to every section's eyebrow) */
.about-eyebrow,
.services-eyebrow,
.vm-eyebrow,
.bf-eyebrow,
.fleet-eyebrow,
.pt-eyebrow,
.rq-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 7px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--mdn-green-dark) !important;
  background: rgba(30, 107, 53, 0.06) !important;
  border: 1px solid rgba(30, 107, 53, 0.18) !important;
  border-radius: 999px !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.2px;
  text-transform: none !important;
  line-height: 1.4;
}
.about-eyebrow__dot,
.services-eyebrow-dot,
.vm-eyebrow-dot,
.bf-eyebrow-dot,
.fleet-eyebrow-dot,
.pt-eyebrow-dot,
.rq-eyebrow-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--mdn-gold) !important;
  box-shadow: 0 0 0 3px rgba(192, 161, 90, 0.22) !important;
  flex: 0 0 auto;
}

.about-title {
  font-size: clamp(2rem, 4.3vw, 3rem) !important;
  font-weight: 900 !important;
  color: var(--mdn-green-ink) !important;
  line-height: 1.2 !important;
  margin: 0 0 20px !important;
}
.about-title__accent {
  background: linear-gradient(135deg, #0f3d1e 0%, #1e6b35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-desc {
  font-size: clamp(15px, 1.8vw, 17px) !important;
  line-height: 2 !important;
  color: #4b5563 !important;
  margin: 0 0 24px !important;
}

/* Feature checklist */
.about-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mdn-green-ink);
  font-weight: 500;
  max-width: 60%;
}
.about-features li i {
  color: #1e6b35;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .about-features { text-align: start; max-width: 600px; margin-inline: auto; margin-bottom: 28px; }
  .about-features li { justify-content: flex-start; max-width: 100%; }
}
/* 2 in row 1, 3rd centered below — match the about-stats pattern */
@media (max-width: 720px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    max-width: 100%;
  }
  .about-features li:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    margin: 0 auto;
  }
}
@media (max-width: 420px) {
  .about-features { grid-template-columns: 1fr; max-width: 340px; }
  .about-features li:nth-child(3) { grid-column: auto; max-width: 100%; margin: 0; }
}

/* Buttons — primary + ghost */
.about-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.about-buttons .about-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 13px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease !important;
  white-space: nowrap;
  cursor: pointer;
}
.about-buttons .about-btn--primary {
  background: linear-gradient(135deg, #0f3d1e 0%, #1e6b35 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(30, 107, 53, 0.32);
  border: 2px solid transparent;
}
.about-buttons .about-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30, 107, 53, 0.5);
  color: #ffffff !important;
}
.about-buttons .about-btn--ghost {
  background: transparent !important;
  color: var(--mdn-green-dark) !important;
  border: 2px solid rgba(30, 107, 53, 0.28) !important;
}
.about-buttons .about-btn--ghost:hover {
  background: rgba(30, 107, 53, 0.08) !important;
  border-color: var(--mdn-green) !important;
  transform: translateY(-3px);
  color: var(--mdn-green-dark) !important;
}

@media (max-width: 900px) {
  .about-buttons { justify-content: center; }
  .about-visual { max-width: 380px; }
  .about-badge { bottom: -16px; left: -16px; padding: 14px 20px; }
}
@media (max-width: 500px) {
  .about-visual { max-width: 280px; }
  .about-visual__frame { padding: 32px; border-radius: 26px; }
  .about-dots { width: 100px; height: 100px; top: -16px; right: -16px; }
  .about-badge { padding: 12px 18px; }
  .about-badge__num { font-size: 22px; }
  .about-badge__label { font-size: 10px; }
}

.about-col img { max-width: 100%; height: auto; }


/* ============================================================
   5a. SERVICES SECTION — premium redesign
   ============================================================ */

/* Section backdrop: cream with refined deep green decorative blobs */
.services-wave-section {
  background:
    radial-gradient(ellipse 600px 300px at 10% -5%, rgba(30, 107, 53, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 800px 400px at 95% 105%, rgba(15, 61, 30, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fafaf6 100%) !important;
  padding: clamp(80px, 10vw, 140px) 20px !important;
  position: relative;
  overflow: hidden !important;
}
/* Add subtle decorative accents — top thin gradient line, bottom soft fade */
.services-wave-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 60%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
  border-radius: 3px;
}
.services-wave-section::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(8, 40, 20, 0.04));
  pointer-events: none;
}

/* Header block — eyebrow + title + subtitle */
.services-wave-section .services-content-container {
  text-align: center;
  padding-top: 0 !important;
}

.services-wave-section .services-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
  font-weight: 900 !important;
  color: var(--mdn-green-ink) !important;
  margin: 0 0 18px !important;
  line-height: 1.15 !important;
  position: relative;
  display: inline-block;
  padding: 0;
}
.services-wave-section .services-title::after { display: none; }

/* Accented portion of title — gradient text with an elegant gold bar underneath */
.services-wave-section .services-title-accent {
  display: inline-block;
  position: relative;
  padding-bottom: 18px;
  /* keep the gold gradient from the GOLD ACCENTS block at the bottom of style.css */
}
/* Clean gold pill underline — tapered gradient, centered, formal */
.services-wave-section .services-title-accent::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  width: 80%;
  max-width: 200px;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--mdn-gold-dark) 18%,
    var(--mdn-gold) 50%,
    var(--mdn-gold-dark) 82%,
    transparent 100%);
  border-radius: 999px;
}
/* Small diamond/dot centered on the underline */
.services-wave-section .services-title-accent::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  bottom: 0;
  width: 8px;
  height: 8px;
  background: var(--mdn-gold);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--mdn-gold-dark);
  z-index: 2;
}

.services-wave-section .services-subtitle {
  font-size: clamp(15px, 1.8vw, 17.5px) !important;
  line-height: 1.85 !important;
  color: var(--mdn-muted) !important;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 64px) !important;
  font-weight: 400;
}

/* Grid: 3 cols desktop (wider, more presence), 2 tablet, 1 mobile */
.services-grid-flag {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(20px, 2.5vw, 32px) !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box;
  width: 100% !important;
  justify-items: stretch !important;
}
@media (max-width: 900px) {
  .services-grid-flag { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .services-grid-flag { grid-template-columns: 1fr !important; max-width: 380px; }
}

/* Card: premium white pane with circular icon badge */
.services-grid-flag .service-flag-card {
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(8, 40, 20, 0.08) !important;
  border: 1px solid rgba(30, 107, 53, 0.08) !important;
  padding: 48px 24px 28px !important;
  margin-top: 44px !important; /* room for the floating icon badge */
  position: relative;
  text-align: center !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
  overflow: visible !important;
  direction: rtl;
  display: flex !important;
  flex-direction: column !important;
}
.services-grid-flag .service-flag-card:hover {
  transform: translateY(-8px) rotate(0deg) scale(1) !important;
  box-shadow: 0 24px 46px rgba(30, 107, 53, 0.18) !important;
  border-color: rgba(30, 107, 53, 0.25) !important;
}

/* Replace the clip-path flag with a floating circular icon badge */
.services-grid-flag .flag-header {
  position: absolute !important;
  top: -40px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 82px !important;
  height: 82px !important;
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 50%, #1e6b35 100%) !important;
  border-radius: 50% !important;
  clip-path: none !important;
  box-shadow: 0 12px 30px rgba(30, 107, 53, 0.35),
              inset 0 0 0 4px rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease !important;
}
.services-grid-flag .service-flag-card:hover .flag-header {
  transform: translateX(-50%) rotate(-6deg) scale(1.05) !important;
  box-shadow: 0 18px 40px rgba(30, 107, 53, 0.5),
              inset 0 0 0 4px rgba(255, 255, 255, 0.18) !important;
}

/* Soft ring around icon */
.services-grid-flag .flag-header::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(30, 107, 53, 0.28);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.5s ease;
  animation: aj-spin 14s linear infinite;
  animation-play-state: paused;
}
.services-grid-flag .service-flag-card:hover .flag-header::before {
  opacity: 1;
  animation-play-state: running;
}
@keyframes aj-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.services-grid-flag .service-icon {
  font-size: 2rem !important;
  color: #ffffff !important;
  z-index: 2;
  line-height: 1;
}

/* Body typography refinement */
.services-grid-flag .flag-body {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.services-grid-flag .flag-body h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem) !important;
  font-weight: 800 !important;
  color: var(--mdn-green-ink) !important;
  margin: 0 0 12px !important;
  line-height: 1.35 !important;
  min-height: 2.7em;
}
.services-grid-flag .flag-body p {
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  color: var(--mdn-muted) !important;
  margin: 0 0 20px !important;
  flex: 1;
}


/* Kill the old hover overlay and the stray rotate */
.services-grid-flag .service-flag-card::before { display: none !important; }

/* Mobile tune */
@media (max-width: 560px) {
  .services-grid-flag .service-flag-card {
    padding: 42px 22px 24px !important;
    margin-top: 42px !important;
  }
  .services-grid-flag .flag-header {
    top: -36px !important;
    width: 74px !important;
    height: 74px !important;
  }
  .services-grid-flag .service-icon { font-size: 1.8rem !important; }
  .services-grid-flag .flag-body h3 { min-height: auto; }
}

/* Restore white title/subtitle only when section wants green background — here we keep ink green so override the mobile black rule */
@media (max-width: 768px) {
  .services-wave-section .services-title,
  .services-wave-section .services-subtitle { color: var(--mdn-green-ink) !important; }
  .services-wave-section .services-subtitle { color: var(--mdn-muted) !important; }
}
/* Vision / Mission / Values — light, formal */
.vision-wave-section {
  background:
    radial-gradient(ellipse 900px 500px at 90% -10%, rgba(192, 161, 90, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 700px 400px at 5% 110%, rgba(30, 107, 53, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--mdn-cream) 100%) !important;
  padding: clamp(80px, 10vw, 130px) 20px !important;
  position: relative;
  overflow: hidden !important;
  color: var(--mdn-text) !important;
  direction: rtl;
}
.vision-wave-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 60%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
  border-radius: 3px;
}

.vision-container {
  position: relative;
  z-index: 2;
  max-width: 1240px !important;
  margin: 0 auto !important;
}

/* Header — centered */
.vm-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vm-title {
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  font-weight: 900 !important;
  color: var(--mdn-green-ink) !important;
  line-height: 1.2 !important;
  margin: 0 0 16px !important;
}

.vm-lead {
  font-size: clamp(15px, 1.9vw, 17.5px);
  line-height: 1.9;
  color: var(--mdn-muted);
  margin: 0;
}

/* Grid */
/* Carousel */
.vm-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(40px, 6vw, 64px);
}
.vm-viewport {
  overflow: hidden;
  border-radius: 22px;
}
.vm-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  align-items: stretch;
}
.vm-track > .vm-card {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}

/* Nav arrows */
.vm-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(30, 107, 53, 0.18);
  background: #ffffff;
  color: var(--mdn-green-dark);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(8, 40, 20, 0.08);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.vm-carousel__nav:hover {
  background: var(--mdn-gold);
  color: var(--mdn-green-ink);
  border-color: var(--mdn-gold);
  transform: translateY(-50%) scale(1.06);
}
.vm-carousel__nav--prev { right: 0; }
.vm-carousel__nav--next { left: 0; }

/* Dots */
.vm-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  direction: ltr;
}
.vm-dot {
  width: 28px;
  height: 5px;
  padding: 0;
  border: none;
  background: rgba(30, 107, 53, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, transform 0.3s ease;
}
.vm-dot:hover { background: rgba(30, 107, 53, 0.35); }
.vm-dot.is-active {
  background: linear-gradient(90deg, var(--mdn-gold-dark), var(--mdn-gold), var(--mdn-gold-light));
  width: 44px;
}

@media (max-width: 640px) {
  .vm-carousel { padding: 0 44px; }
  .vm-carousel__nav { width: 38px; height: 38px; font-size: 16px; }
  .vm-dot { width: 22px; }
  .vm-dot.is-active { width: 36px; }
}
@media (max-width: 420px) {
  .vm-carousel { padding: 0 6px; }
  .vm-carousel__nav { top: auto; bottom: -54px; transform: none; }
  .vm-carousel__nav--prev { right: calc(50% - 50px); }
  .vm-carousel__nav--next { left: calc(50% - 50px); }
  .vm-carousel__nav:hover { transform: scale(1.06); }
  .vm-dots { margin-top: 58px; }
}

/* ============================================================
   VISION / MISSION / VALUES CARD — formal centered layout
   Icon → label divider → title → text/list, all centered.
   Decorative quote-mark watermark in corner for visual richness.
   Featured card gets full gold top-stripe + cream tint.
   ============================================================ */
.vm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(30, 107, 53, 0.10);
  border-radius: 22px;
  padding: clamp(36px, 4.5vw, 52px) clamp(22px, 2.8vw, 40px) clamp(32px, 4vw, 44px);
  min-height: 380px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(8, 40, 20, 0.05);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              box-shadow 0.4s ease,
              background 0.35s ease;
}
/* Gold top pill — expands on hover */
.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--mdn-gold-dark), var(--mdn-gold), var(--mdn-gold-light));
  border-radius: 0 0 999px 999px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Decorative quote-mark watermark (behind content) */
.vm-card::after {
  content: '\F6B0'; /* bi-quote */
  font-family: 'bootstrap-icons';
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: clamp(70px, 8vw, 110px);
  color: rgba(192, 161, 90, 0.10);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.vm-card:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 161, 90, 0.45);
  box-shadow: 0 26px 52px rgba(8, 40, 20, 0.12);
}
.vm-card:hover::before { width: 150px; }

/* Featured (middle) — gold-tinted bg + full-width top stripe */
.vm-card--featured {
  background: linear-gradient(155deg, #ffffff 0%, var(--mdn-cream) 100%);
  border-color: rgba(192, 161, 90, 0.35);
}
.vm-card--featured::before {
  width: 100%;
  height: 5px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 50%, var(--mdn-gold-light) 100%);
}

/* Icon — circular with inner glow */
.vm-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 6px 0 22px;
  box-shadow:
    0 12px 26px rgba(30, 107, 53, 0.28),
    inset 0 0 0 4px rgba(255, 255, 255, 0.14);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 2;
}
.vm-card--featured .vm-card__icon {
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 100%);
  box-shadow:
    0 12px 26px rgba(138, 106, 40, 0.35),
    inset 0 0 0 4px rgba(255, 255, 255, 0.20);
}
.vm-card:hover .vm-card__icon {
  transform: rotate(-8deg) scale(1.08);
}

/* Label — with decorative flanking lines (elegant divider) */
.vm-card__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 900;
  color: var(--mdn-gold-dark);
  margin-bottom: 14px;
  letter-spacing: 1.8px;
  position: relative;
  z-index: 2;
  font-family: 'Tajawal', Arial, sans-serif;
}
.vm-card__label::before,
.vm-card__label::after {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
}

/* Title */
.vm-card__title {
  font-size: clamp(1.35rem, 2.1vw, 1.65rem);
  font-weight: 900;
  color: var(--mdn-green-ink);
  margin: 0 0 16px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

/* Body text — centered, readable line length */
.vm-card__text {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--mdn-muted);
  margin: 0 auto;
  max-width: 38ch;
  position: relative;
  z-index: 2;
}

/* Values list — list items right-aligned inside a centered block */
.vm-card__list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  text-align: right;
  max-width: 38ch;
  width: 100%;
  position: relative;
  z-index: 2;
  direction: rtl;
}
.vm-card__list li {
  position: relative;
  padding-right: 28px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mdn-text);
}
.vm-card__list li::before {
  content: '\F270'; /* bi-check2 */
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 0;
  top: 2px;
  color: var(--mdn-gold-dark);
  font-size: 15px;
  font-weight: bold;
}
.vm-card__shine { display: none; }

/* Smaller screens — tighten padding + icon */
@media (max-width: 640px) {
  .vm-card { min-height: 360px; padding: 34px 22px 28px; }
  .vm-card__icon { width: 66px; height: 66px; font-size: 26px; margin-bottom: 18px; }
  .vm-card::after { font-size: 70px; top: 16px; right: 16px; }
}


/* ============================================================
   5c. BENEFITS — premium dark section with modern cards
   ============================================================ */
/* Benefits — light formal theme */
.benefits-diagonal-section {
  background:
    radial-gradient(ellipse 800px 500px at 10% 0%, rgba(30, 107, 53, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 800px 500px at 90% 100%, rgba(192, 161, 90, 0.08) 0%, transparent 55%),
    #ffffff !important;
  padding: clamp(80px, 10vw, 130px) 20px !important;
  position: relative;
  overflow: hidden !important;
}
.benefits-diagonal-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 60%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
  border-radius: 3px;
}

/* Section header */
.benefits-diagonal-section .bf-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.benefits-diagonal-section .benefits-diagonal-title {
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  font-weight: 900 !important;
  color: var(--mdn-green-ink) !important;
  margin: 0 0 16px !important;
  line-height: 1.2 !important;
}
.bf-lead {
  font-size: clamp(15px, 1.9vw, 17.5px);
  line-height: 1.9;
  color: var(--mdn-muted);
  margin: 0;
}

/* Benefits grid — 2×2 cards on light bg */
.bf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 24px);
  max-width: 1040px;
  margin: 0 auto;
}
@media (max-width: 720px) { .bf-grid { grid-template-columns: 1fr; max-width: 520px; } }

.bf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 2.8vw, 32px);
  background: #ffffff;
  border: 1px solid rgba(30, 107, 53, 0.10);
  border-radius: 18px;
  overflow: hidden;
  text-align: right;
  direction: rtl;
  box-shadow: 0 4px 14px rgba(8, 40, 20, 0.04);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.bf-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--mdn-gold), transparent);
  transition: width 0.35s ease;
}
.bf-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 161, 90, 0.40);
  box-shadow: 0 18px 40px rgba(8, 40, 20, 0.10);
}
.bf-card:hover::after { width: 120px; }

.bf-card__num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  color: rgba(138, 106, 40, 0.55);
  font-family: 'Tajawal', Arial, sans-serif;
}

.bf-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 100%);
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(30, 107, 53, 0.22);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.bf-card:hover .bf-card__icon { transform: rotate(-6deg) scale(1.06); }

.bf-card__title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--mdn-green-ink);
  margin: 0;
  line-height: 1.3;
}

.bf-card__text {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mdn-muted);
  margin: 0;
  flex: 1;
}

.bf-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mdn-green-dark);
  background: rgba(30, 107, 53, 0.08);
  border: 1px solid rgba(30, 107, 53, 0.18);
  border-radius: 999px;
}
.bf-card__tag i { font-size: 11px; color: var(--mdn-green); }

@media (max-width: 520px) {
  .bf-card__num { top: 12px; left: 12px; font-size: 11px; }
  .bf-card__icon { width: 50px; height: 50px; font-size: 22px; }
}


/* ============================================================
   PARTNERS / LICENSES section — shared section container styling
   ============================================================ */
.pt-section {
  background:
    radial-gradient(ellipse 800px 400px at 15% 0%, rgba(30, 107, 53, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 800px 400px at 85% 100%, rgba(15, 61, 30, 0.10) 0%, transparent 55%),
    #ffffff;
  padding: clamp(70px, 9vw, 120px) 20px;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.pt-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.pt-bg-shape--1 {
  top: -160px; right: -160px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(30, 107, 53, 0.1) 0%, transparent 70%);
}
.pt-bg-shape--2 {
  bottom: -180px; left: -180px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(15, 61, 30, 0.08) 0%, transparent 70%);
}

.pt-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */
.pt-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}
.pt-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--mdn-green-ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.pt-title-accent {
  background: linear-gradient(135deg, #0f3d1e, #1e6b35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pt-lead {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.85;
  color: var(--mdn-muted);
  margin: 0;
}edia (max-width: 600px) {
  .pt-showcase { padding: 10px; border-radius: 18px; }
  .pt-showcase::before,
  .pt-showcase::after { width: 28px; height: 28px; }
  .pt-image { border-radius: 10px; }
}


/* ============================================================
   5e. REQUEST A SERVICE — 2-step picker + dynamic form
   ============================================================ */
.rq-section {
  background:
    radial-gradient(ellipse 700px 500px at 20% 0%, rgba(30, 107, 53, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 90% 100%, rgba(15, 61, 30, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #fafaf6 0%, #f1f5f2 100%);
  padding: clamp(80px, 10vw, 130px) 20px;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.rq-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.rq-bg-shape--1 {
  top: -180px; right: -180px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(30, 107, 53, 0.12) 0%, transparent 70%);
}
.rq-bg-shape--2 {
  bottom: -200px; left: -200px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(15, 61, 30, 0.10) 0%, transparent 70%);
}

.rq-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.rq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}
.rq-title {
  font-size: clamp(2rem, 4.3vw, 3rem);
  font-weight: 900;
  color: var(--mdn-green-ink);
  margin: 0 0 16px;
  line-height: 1.2;
}
.rq-title-accent {
  background: linear-gradient(135deg, #0f3d1e, #1e6b35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.rq-lead {
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.85;
  color: var(--mdn-muted);
  margin: 0;
}

/* Picker (Step 1) — two big choice cards */
.rq-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 640px) { .rq-picker { grid-template-columns: 1fr; max-width: 420px; } }

.rq-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(32px, 4vw, 44px) clamp(20px, 3vw, 32px);
  background: #ffffff;
  border: 2px solid rgba(30, 107, 53, 0.12);
  border-radius: 22px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  font-family: inherit;
  overflow: hidden;
}
.rq-pick::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(30, 107, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.rq-pick:hover,
.rq-pick:focus-visible {
  transform: translateY(-6px);
  border-color: var(--mdn-green);
  box-shadow: 0 24px 50px rgba(30, 107, 53, 0.18);
  outline: none;
}
.rq-pick:hover::before,
.rq-pick:focus-visible::before { opacity: 1; }

.rq-pick__icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f3d1e 0%, #1e6b35 100%);
  color: #ffffff;
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(30, 107, 53, 0.3);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rq-pick:hover .rq-pick__icon {
  transform: rotate(-6deg) scale(1.05);
}
.rq-pick__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 900;
  color: var(--mdn-green-ink);
  margin: 8px 0 0;
}
.rq-pick__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mdn-muted);
  margin: 0;
  max-width: 280px;
}
.rq-pick__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--mdn-green-dark);
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(30, 107, 53, 0.08);
  transition: background 0.25s ease, color 0.25s ease;
}
.rq-pick:hover .rq-pick__cta {
  background: linear-gradient(135deg, #0f3d1e, #1e6b35);
  color: #ffffff;
}

/* Forms (Step 2) */
.rq-forms {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.rq-forms[hidden] { display: none !important; }

.rq-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mdn-green-dark);
  background: #ffffff;
  border: 1.5px solid rgba(30, 107, 53, 0.2);
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 22px;
  font-family: inherit;
  transition: all 0.25s ease;
}
.rq-back:hover {
  background: rgba(30, 107, 53, 0.08);
  border-color: var(--mdn-green);
  transform: translateX(-4px);
}

.rq-form {
  background: #ffffff;
  border: 1px solid rgba(30, 107, 53, 0.12);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(8, 40, 20, 0.08);
}
.rq-form[hidden] { display: none !important; }

.rq-form__head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(30, 107, 53, 0.15);
}
.rq-form__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--mdn-green-dark);
  background: rgba(30, 107, 53, 0.1);
  border-radius: 999px;
  margin-bottom: 10px;
}
.rq-form__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--mdn-green-ink);
  margin: 0 0 8px;
}
.rq-form__lead {
  font-size: 14.5px;
  color: var(--mdn-muted);
  margin: 0;
}

/* Field grid */
.rq-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 600px) { .rq-field-grid { grid-template-columns: 1fr; } }

.rq-field { display: flex; flex-direction: column; gap: 8px; }
.rq-field--full { grid-column: 1 / -1; }

.rq-field__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--mdn-green-ink);
}
.rq-field__label small {
  display: block;
  font-weight: 500;
  font-size: 11.5px;
  color: var(--mdn-muted);
  margin-top: 2px;
}

.rq-field input,
.rq-field select,
.rq-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Tajawal', Arial, sans-serif;
  color: var(--mdn-text);
  background: #f8faf9;
  border: 1.5px solid rgba(30, 107, 53, 0.15);
  border-radius: 12px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  direction: rtl;
  box-sizing: border-box;
}
.rq-field textarea { resize: vertical; min-height: 80px; }
.rq-field input:focus,
.rq-field select:focus,
.rq-field textarea:focus {
  outline: none;
  border-color: var(--mdn-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 107, 53, 0.12);
}
.rq-field input[type="file"] {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}
.rq-field input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #0f3d1e, #1e6b35);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-left: 12px;
  transition: transform 0.2s ease;
}
.rq-field input[type="file"]::file-selector-button:hover { transform: translateY(-1px); }

/* Submit */
.rq-submit-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.rq-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0f3d1e 0%, #1e6b35 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 12px 30px rgba(30, 107, 53, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.rq-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(30, 107, 53, 0.5);
}
.rq-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.rq-submit.is-sending .rq-submit__text::after {
  content: '...';
  animation: rq-dots 1.2s infinite;
}
@keyframes rq-dots {
  0%, 20%   { content: '...'; }
  40%       { content: '.'; }
  60%       { content: '..'; }
  80%, 100% { content: '...'; }
}

.rq-msg {
  margin-top: 18px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  min-height: 22px;
}
.rq-msg.is-success { color: #1e6b35; }
.rq-msg.is-error   { color: #d93025; }


/* ============================================================
   GLOBAL SAFETY — every section respects viewport
   ============================================================ */
.about-container,
.services-content-container,
.vision-container,
.benefits-diagonal-container,
.fleet-container,
.pt-container,
.rq-container,
.footer-grid {
  max-width: min(1200px, 100%) !important;
  box-sizing: border-box !important;
}
section,
section > * {
  max-width: 100%;
  box-sizing: border-box;
}
/* Images safety */
img { max-width: 100%; height: auto; }


/* ============================================================
   7. FOOTER — redesigned (CTA band + 4-col grid + bottom bar)
   ============================================================ */
footer.footer {
  background:
    radial-gradient(ellipse 900px 400px at 100% 0%, rgba(192, 161, 90, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 800px 500px at 0% 100%, rgba(30, 107, 53, 0.20) 0%, transparent 55%),
    linear-gradient(180deg, #0b2a15 0%, #0f3d1e 60%, #082814 100%) !important;
  padding: 0 !important;
  color: #fff;
  position: relative;
  direction: rtl;
}
footer.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
}

/* ----- CTA band at top ----- */
.footer-cta {
  background:
    radial-gradient(ellipse 600px 200px at 80% 50%, rgba(192, 161, 90, 0.16) 0%, transparent 70%),
    rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(26px, 3.5vw, 48px) 20px;
}
.footer-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.footer-cta__text h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.35;
}
.footer-cta__text p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}
.footer-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}
.footer-cta__btn i { font-size: 16px; }
.footer-cta__btn--primary {
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 100%);
  color: var(--mdn-green-ink);
  box-shadow: 0 10px 24px rgba(138, 106, 40, 0.35);
}
.footer-cta__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(138, 106, 40, 0.50);
  color: var(--mdn-green-ink);
}
.footer-cta__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.footer-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  transform: translateY(-3px);
}

/* ----- Main grid ----- */
.footer-main {
  padding: clamp(50px, 6vw, 80px) 20px clamp(40px, 5vw, 60px);
}
footer.footer .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
  text-align: right;
}

/* Brand column */
.footer-col--brand img.footer-logo {
  width: 150px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-col__intro {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px;
  max-width: 320px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(192, 161, 90, 0.12);
  border: 1px solid rgba(192, 161, 90, 0.35);
  color: var(--mdn-gold-light);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}
.footer-badge i { font-size: 13px; color: var(--mdn-gold); }

/* Column headings */
footer.footer .footer-col h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 18px;
  padding: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.2px;
}
.footer-col__accent {
  display: inline-block;
  width: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--mdn-gold-dark), var(--mdn-gold));
  border-radius: 2px;
}

/* Lists */
footer.footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.footer .footer-col li {
  margin-bottom: 9px;
}
footer.footer .footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease, padding 0.2s ease;
  display: inline-block;
  padding: 2px 0;
  position: relative;
}
footer.footer .footer-col a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--mdn-gold);
  margin-inline-end: 0;
  transition: width 0.25s ease, margin 0.25s ease;
  vertical-align: middle;
}
footer.footer .footer-col a:hover {
  color: var(--mdn-gold-light);
  transform: none;
}
footer.footer .footer-col a:hover::before {
  width: 14px;
  margin-inline-end: 8px;
}

/* Contact list — richer layout with icon badges */
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
}
.footer-contact__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(192, 161, 90, 0.12);
  border: 1px solid rgba(192, 161, 90, 0.25);
  color: var(--mdn-gold-light);
  font-size: 16px;
}
.footer-contact__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.footer-contact__label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.50);
  text-transform: none;
  letter-spacing: 0.3px;
}
.footer-contact__value,
.footer-contact__body a,
.footer-contact__body span:not(.footer-contact__label) {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
  word-break: break-word;
}
.footer-contact__body a:hover { color: var(--mdn-gold-light); }

/* ----- Bottom bar ----- */
footer.footer .footer-bottom {
  margin: 0;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom__copy {
  font-size: 13px;
}
.footer-bottom__credit {
  font-size: 13px;
  font-family: 'Tajawal', Arial, sans-serif;
}
.footer-bottom__credit a {
  color: var(--mdn-gold-light);
  text-decoration: none;
  font-weight: 800;
  border-bottom: 1.5px dashed rgba(192, 161, 90, 0.45);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-bottom__credit a:hover {
  color: var(--mdn-gold);
  border-color: var(--mdn-gold);
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  /* Desktop 4-col collapses to the 3-row mobile pattern:
     Row 1 — Brand (centered, full width)
     Row 2 — Quick Links  |  Services (2 columns side-by-side)
     Row 3 — Contact (centered, full width) */
  footer.footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand   brand"
      "links   services"
      "contact contact";
    gap: clamp(26px, 3.5vw, 40px);
    text-align: right;
  }
  .footer-col--brand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
  }
  .footer-col--brand img.footer-logo {
    margin: 0 auto 16px !important;
  }
  .footer-col--brand .footer-col__intro {
    margin: 0 auto 18px;
    max-width: 480px;
  }
  .footer-col--brand .footer-badges {
    justify-content: center;
  }

  /* 2-column link group — clearly divided */
  footer.footer .footer-grid > .footer-col:nth-child(2) { grid-area: links; }
  footer.footer .footer-grid > .footer-col:nth-child(3) { grid-area: services; }

  /* Centered contact row */
  .footer-col--contact {
    grid-area: contact;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.10);
    width: 100%;
  }
  .footer-col--contact h3 {
    margin-top: 14px;
  }
  .footer-contact {
    width: 100%;
    max-width: 420px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
  }
  .footer-contact li {
    justify-content: flex-start;
    text-align: right;
  }

  /* CTA band — stack text + buttons cleanly */
  .footer-cta__inner {
    justify-content: center;
    text-align: center;
  }
  .footer-cta__text { flex: 1 1 100%; }
}

@media (max-width: 640px) {
  /* CTA buttons full-width, side-by-side */
  .footer-cta { padding: 22px 16px; }
  .footer-cta__inner { flex-direction: column; }
  .footer-cta__actions { width: 100%; flex-wrap: nowrap; }
  .footer-cta__btn { flex: 1 1 auto; padding: 11px 16px; font-size: 13px; }

  /* Main grid padding tightens */
  .footer-main { padding: 40px 18px 28px; }
  footer.footer .footer-grid { gap: 26px; }

  /* Keep 2-col link layout even on phones */
  footer.footer .footer-grid > .footer-col:nth-child(2),
  footer.footer .footer-grid > .footer-col:nth-child(3) {
    text-align: right;
  }
  footer.footer .footer-col h3 { font-size: 0.95rem; margin-bottom: 14px; }
  footer.footer .footer-col a { font-size: 13.5px; }
  footer.footer .footer-col li { margin-bottom: 7px; }

  /* Contact — single column of cards on very narrow phones */
  .footer-contact { grid-template-columns: 1fr; max-width: 320px; gap: 12px; }
  .footer-contact li { justify-content: center; text-align: right; }

  .footer-bottom__inner { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 380px) {
  .footer-col--brand img.footer-logo { width: 130px; }
  .footer-col__intro { font-size: 13.5px; }
  .footer-badge { font-size: 10.5px; padding: 4px 9px; }
  footer.footer .footer-col a { font-size: 13px; }
}


/* ============================================================
   8. WHATSAPP FLOATING BUTTON — moved above WP admin bar
   ============================================================ */
body.admin-bar .wa-float { bottom: 54px; }


/* ============================================================
   9. ACCESSIBILITY & MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

/* Touch target safety on small screens — skip decorative carousel dots */
@media (max-width: 768px) {
  a:not(.hero-dot):not(.vm-dot):not(.hero-scroll),
  button:not(.hero-dot):not(.vm-dot):not(.mobile-hamburger) {
    min-height: 40px;
  }
  /* Hero dots stay slim pills + tap-zone added via padding-based hit area */
  .hero-dot {
    min-height: 0 !important;
    position: relative;
  }
  .hero-dot::before {
    content: '';
    position: absolute;
    inset: -12px -4px;  /* expands clickable area without inflating visuals */
  }
  .vm-dot {
    min-height: 0 !important;
  }
  .vm-dot::before {
    content: '';
    position: absolute;
    inset: -10px -4px;
  }
  .vm-dot { position: relative; }
}


/* ============================================================
   LICENSES — redesigned "certificate board" for the التراخيص section
   Replaces the old .pt-licenses-grid block with a certificate-style
   layout: numbered cards, gold ribbons, seal-ring icon, bottom stats.
   ============================================================ */
.lic-board {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 42px) clamp(16px, 2vw, 30px);
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(192,161,90,0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--mdn-cream) 100%);
  border-radius: 28px;
  box-shadow:
    0 30px 70px rgba(8, 40, 20, 0.10),
    inset 0 0 0 1px rgba(192, 161, 90, 0.18);
  overflow: hidden;
}
/* soft green/gold glow behind the grid */
.lic-board__glow {
  position: absolute;
  inset: -60px -60px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(192,161,90,0.22), transparent 70%);
  pointer-events: none;
  filter: blur(6px);
}

/* 4-up top row, wide feature row (desktop) */
.lic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

/* === Card === */
.lic-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 61, 30, 0.08);
  border-radius: 18px;
  padding: 32px 18px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  isolation: isolate;
  overflow: hidden;
}
/* Decorative corner stripes (subtle) */
.lic-card::before,
.lic-card::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.lic-card::before {
  top: 10px; right: 10px;
  border-top: 2px solid var(--mdn-gold);
  border-right: 2px solid var(--mdn-gold);
  border-top-right-radius: 10px;
}
.lic-card::after {
  bottom: 10px; left: 10px;
  border-bottom: 2px solid var(--mdn-gold);
  border-left: 2px solid var(--mdn-gold);
  border-bottom-left-radius: 10px;
}
.lic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(8, 40, 20, 0.14);
  border-color: rgba(192, 161, 90, 0.45);
}
.lic-card:hover::before,
.lic-card:hover::after { opacity: 1; }

/* Wide feature card spans full row — grid with named areas
   Row 1: ribbon (spans both cols)
   Rows 2-4: icon (right col, spans rows) + name/desc/tag (left col) */
.lic-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    "ribbon ribbon"
    "icon   name"
    "icon   desc"
    "icon   tag";
  column-gap: clamp(18px, 2.2vw, 28px);
  row-gap: 8px;
  padding: 26px clamp(20px, 2.5vw, 32px);
  text-align: right;
  background:
    radial-gradient(circle at 90% 0%, rgba(192, 161, 90, 0.12), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, var(--mdn-cream) 100%);
  border-color: rgba(192, 161, 90, 0.35);
  align-items: stretch;
}
.lic-card--feature .lic-card__ribbon {
  grid-area: ribbon;
  place-self: start center;   /* align-self: start + justify-self: center */
  margin: 0 auto 6px;          /* safety center */
  text-align: center;
  padding: 8px 22px;           /* a little more presence than standard ribbons */
  font-size: 12.5px;
  letter-spacing: 0.4px;
}
.lic-card--feature .lic-card__icon {
  grid-area: icon;
  grid-row: 2 / 5;
  align-self: center;
  flex-shrink: 0;
  margin: 0;
}
.lic-card--feature .lic-card__name {
  grid-area: name;
  align-self: end;
  font-size: clamp(17px, 1.8vw, 21px);
  margin: 0;
}
.lic-card--feature .lic-card__desc {
  grid-area: desc;
  align-self: center;
  margin: 0;
  max-width: 100%;
}
.lic-card--feature .lic-card__tag {
  grid-area: tag;
  align-self: start;
  justify-self: start;
  margin: 4px 0 0;
}

/* Number counter (top-left corner) */
.lic-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(138, 106, 40, 0.5);
  letter-spacing: 1px;
  font-family: 'Tajawal', Arial, sans-serif;
}

/* Gold ribbon */
.lic-card__ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 50%, var(--mdn-gold-light) 100%);
  color: var(--mdn-green-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(138, 106, 40, 0.35);
}
.lic-card__ribbon i {
  font-size: 13px;
  color: var(--mdn-green-dark);
}
.lic-card__ribbon--hero {
  padding: 7px 16px;
  font-size: 12px;
}

/* Logo frame for agencies (cards 1-4) — holds real government logos */
.lic-card__logo {
  position: relative;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(30, 107, 53, 0.10);
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(8, 40, 20, 0.06);
  margin: 4px auto 6px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.lic-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.3s ease;
}
.lic-card:hover .lic-card__logo {
  border-color: rgba(192, 161, 90, 0.45);
  box-shadow: 0 10px 22px rgba(138, 106, 40, 0.14);
}

/* Icon circle retained for the feature card (card 5) and any icon-only variant */
.lic-card__icon {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 100%);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(8, 40, 20, 0.22);
  margin-top: 4px;
  z-index: 1;
}
.lic-card__icon--xl {
  width: 84px;
  height: 84px;
  font-size: 34px;
}
.lic-card__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--mdn-gold);
  opacity: 0.55;
  animation: licRing 14s linear infinite;
}
@keyframes licRing {
  to { transform: rotate(360deg); }
}
.lic-card:hover .lic-card__ring {
  opacity: 0.9;
  animation-duration: 6s;
}

/* Text */
.lic-card__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--mdn-green-ink);
  margin: 4px 0 0;
  line-height: 1.5;
}
.lic-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mdn-muted);
  margin: 0;
  max-width: 260px;
}
.lic-card--feature .lic-card__desc { max-width: 100%; }

/* Tag */
.lic-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 6px 14px;
  background: rgba(30, 107, 53, 0.08);
  color: var(--mdn-green-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(30, 107, 53, 0.18);
}
.lic-card__tag i {
  color: var(--mdn-green);
  font-size: 14px;
}
.lic-card__tag--feature {
  background: linear-gradient(135deg, rgba(192,161,90,0.15), rgba(228,204,138,0.25));
  color: var(--mdn-green-ink);
  border-color: rgba(192, 161, 90, 0.45);
  padding: 8px 16px;
  font-size: 13px;
}
.lic-card__tag--feature i { color: var(--mdn-gold-dark); }

/* === Bottom stats strip === */
.lic-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed rgba(192, 161, 90, 0.35);
  flex-wrap: wrap;
}
.lic-footer__stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lic-footer__num {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 50%, var(--mdn-gold-light) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.lic-footer__stat span {
  font-size: 13px;
  color: var(--mdn-muted);
  font-weight: 600;
}
.lic-footer__sep {
  width: 1px;
  height: 32px;
  background: rgba(138, 106, 40, 0.25);
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .lic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lic-board { padding: 22px 14px; border-radius: 22px; }
  .lic-grid { grid-template-columns: 1fr; gap: 14px; }
  .lic-card { padding: 28px 16px 20px; }
  .lic-card__name { font-size: 16px; }
  .lic-card__desc { font-size: 12.5px; }
  .lic-card__logo { max-width: 150px; padding: 10px 12px; }
  .lic-card--feature {
    grid-template-columns: 1fr;
    grid-template-areas: "ribbon" "icon" "name" "desc" "tag";
    text-align: center;
    padding: 24px 18px;
    row-gap: 10px;
  }
  .lic-card--feature .lic-card__icon { grid-row: auto; justify-self: center; }
  .lic-card--feature .lic-card__name,
  .lic-card--feature .lic-card__desc { justify-self: center; }
  .lic-card--feature .lic-card__tag  { justify-self: center; }
  .lic-footer { gap: 12px; }
  .lic-footer__sep { display: none; }
}


/* ============================================================
   FLEET SECTION — banner + feature list (replaces old projects carousel)
   ============================================================ */
.fleet-section {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0 clamp(90px, 11vw, 140px);
  background:
    radial-gradient(ellipse 900px 400px at 5% 0%, rgba(30, 107, 53, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 700px 400px at 95% 100%, rgba(192, 161, 90, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--mdn-bg) 0%, #ffffff 100%);
  overflow: hidden;
}
/* Subtle gold accent divider at top (matches other sections) */
.fleet-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 60%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
  border-radius: 3px;
}
.fleet-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.fleet-header {
  text-align: center;
  margin-bottom: 48px;
}
.fleet-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--mdn-green-ink);
  margin: 0 0 16px;
  line-height: 1.2;
}
.fleet-title-accent {
  color: var(--mdn-green);
}
.fleet-lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--mdn-muted);
  font-size: 16px;
  line-height: 1.9;
}

/* ============================================================
   FLEET SHOWCASE — banner image + features panel (single column)
   Stacks banner → features on every viewport for consistency.
   ============================================================ */
.fleet-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.5vw, 44px);
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, var(--mdn-cream) 100%);
  padding: clamp(18px, 2.5vw, 30px);
  border-radius: 24px;
  box-shadow:
    0 20px 48px rgba(8, 40, 20, 0.08),
    inset 0 0 0 1px rgba(192, 161, 90, 0.25);
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

/* Banner — single landscape image with gradient + floating badge */
.fleet-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 40, 20, 0.18);
  aspect-ratio: 16 / 9;
}
.fleet-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fleet-banner:hover img { transform: scale(1.03); }
.fleet-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 40, 20, 0) 55%, rgba(8, 40, 20, 0.35) 100%);
  pointer-events: none;
}
.fleet-banner__badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--mdn-gold) 0%, var(--mdn-gold-light) 100%);
  color: var(--mdn-green-ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(138, 106, 40, 0.30);
  backdrop-filter: blur(4px);
}
.fleet-banner__badge i { color: var(--mdn-green-dark); font-size: 15px; }

/* Feature list */
.fleet-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.fleet-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .fleet-features { grid-template-columns: 1fr; }
}
.fleet-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 61, 30, 0.08);
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fleet-features li:hover {
  transform: translateX(-4px);
  box-shadow: 0 10px 24px rgba(8, 40, 20, 0.08);
  border-color: rgba(30, 107, 53, 0.25);
}
.fleet-feature__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(30, 107, 53, 0.25);
}
.fleet-feature__text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--mdn-green-ink);
}
.fleet-feature__text p {
  margin: 0;
  color: var(--mdn-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* CTA button */
.fleet-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(30, 107, 53, 0.30);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  align-self: center;
  margin: 4px auto 0;
}
.fleet-cta:hover,
.fleet-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(30, 107, 53, 0.40);
  color: #fff;
}
.fleet-cta i {
  font-size: 18px;
}

/* Responsive stacking */
@media (max-width: 900px) {
  .fleet-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .fleet-banner { aspect-ratio: 16 / 9; }
  .fleet-cta { align-self: center; }
}
@media (max-width: 600px) {
  .fleet-section { padding: 50px 0 70px; }
  .fleet-header { margin-bottom: 32px; }
  .fleet-showcase {
    padding: 14px;
    border-radius: 20px;
  }
  .fleet-banner { border-radius: 14px; }
  .fleet-banner__badge {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .fleet-features li { padding: 12px; }
  .fleet-feature__icon { width: 40px; height: 40px; font-size: 18px; }
  .fleet-feature__text h3 { font-size: 15px; }
  .fleet-feature__text p { font-size: 13px; }
  .fleet-cta { width: 100%; padding: 13px 24px; }
}


/* ============================================================
   GOLD ACCENTS — applied last, overrides legacy green accents
   to pick up the brand's antique-gold tone from the logo.
   ============================================================ */

/* Section title accents → gold */
.about-title__accent,
.services-title-accent,
.vm-title-accent,
.bf-title-accent,
.fleet-title-accent,
.pt-title-accent,
.rq-title-accent {
  color: var(--mdn-gold) !important;
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 50%, var(--mdn-gold-light) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* About badge — gold accent over green */
.about-badge {
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 100%) !important;
  color: #0b2a15 !important;
  box-shadow: 0 10px 22px rgba(138, 106, 40, 0.32) !important;
}
.about-badge__num,
.about-badge__label {
  color: #0b2a15 !important;
}

/* Fleet banner badge — swap to gold for harmony with the green banner bg */
.fleet-banner__badge {
  background: linear-gradient(135deg, var(--mdn-gold) 0%, var(--mdn-gold-light) 100%) !important;
  color: var(--mdn-green-ink) !important;
  box-shadow: 0 6px 14px rgba(138, 106, 40, 0.35) !important;
}
.fleet-banner__badge i {
  color: var(--mdn-green-dark) !important;
}

/* Header logo: slight gold glow on hover */
.header-left img {
  transition: filter 0.3s ease;
}
.header-left a:hover img {
  filter: drop-shadow(0 0 8px rgba(192, 161, 90, 0.45));
}

/* Request-form picker highlight on hover */
.rq-pick:hover {
  border-color: var(--mdn-gold) !important;
  box-shadow: 0 14px 30px rgba(138, 106, 40, 0.18) !important;
}



/* ============================================================
   LAYOUT SAFETY — unified centered headers for every section
   Guarantees eyebrow + title + lead are vertically stacked and
   horizontally centered regardless of section-specific overrides.
   ============================================================ */
.services-content-container,
.vm-header,
.bf-header,
.fleet-header,
.pt-header,
.rq-header {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ensure the eyebrow chip doesn't stretch to full width on flex parents */
.about-eyebrow,
.services-eyebrow,
.vm-eyebrow,
.bf-eyebrow,
.fleet-eyebrow,
.pt-eyebrow,
.rq-eyebrow {
  align-self: center;
  flex: 0 0 auto;
  width: auto !important;
  max-width: max-content !important;
}
/* About section keeps its RTL 2-col layout but eyebrow aligns right */
.about-col-right .about-eyebrow { align-self: flex-end; }
@media (max-width: 900px) {
  .about-col-right { display: flex; flex-direction: column; align-items: center; }
  .about-col-right .about-eyebrow { align-self: center; }
}

/* Services grid should stretch the full container width but stay centered */
.services-grid-flag,
.bf-grid,
.vm-carousel {
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ============================================================
   RESPONSIVE + CENTERING SAFETY — final pass
   Every section's inner container gets max-width + margin auto
   Every section header gets centered flex layout
   Grid children never cause horizontal overflow
   ============================================================ */

/* Containers: constrain width AND center */
.about-container,
.services-content-container,
.vision-container,
.benefits-diagonal-container,
.fleet-container,
.pt-container,
.rq-container,
.lic-board,
.stats-container,
.clients-container {
  max-width: min(1200px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  width: 100%;
}

/* No horizontal scroll anywhere */
html, body {
  overflow-x: clip;
  max-width: 100vw;
}
body { position: relative; }

/* Every section has symmetric horizontal padding */
section {
  box-sizing: border-box;
}
section > * { max-width: 100%; }

/* Tablet */
@media (max-width: 900px) {
  .about-grid { gap: 28px !important; }
  .services-grid-flag { grid-template-columns: repeat(2, 1fr) !important; }
  .bf-grid { grid-template-columns: 1fr !important; max-width: 520px !important; margin: 0 auto !important; }
  .fleet-showcase { grid-template-columns: 1fr !important; }
  .lic-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mobile */
@media (max-width: 640px) {
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .services-grid-flag { grid-template-columns: 1fr !important; max-width: 420px !important; }
  .rq-picker { grid-template-columns: 1fr !important; max-width: 420px !important; }
  .lic-grid { grid-template-columns: 1fr !important; }
  .lic-footer { gap: 14px !important; flex-direction: column; padding-top: 20px; }
  .lic-footer__sep { display: none !important; }
  .hero-content { padding: 0 16px !important; }
  .about-section { padding: 60px 16px !important; }
  .about-stats { grid-template-columns: 1fr !important; gap: 12px; }
  .fleet-showcase { padding: 14px !important; }
  .lic-board { padding: 20px 14px !important; }
}

/* Small mobile */
@media (max-width: 420px) {
  .lic-card { padding: 26px 14px 18px !important; }
  .lic-card__name { font-size: 15.5px !important; }
  .lic-card__desc { font-size: 12.5px !important; }
  .vm-card { padding: 22px 18px !important; }
  .bf-card { padding: 20px 16px !important; }
  .service-flag-card { padding: 22px 16px !important; }
  .rq-form__head h3 { font-size: 18px !important; }
}

/* Prevent WP admin bar from pushing layout on mobile */
@media (max-width: 600px) {
  body.admin-bar { padding-top: 0 !important; }
}


/* ============================================================
   STATS SECTION — dedicated "Our numbers" band between About & Services
   ============================================================ */
.stats-section {
  position: relative;
  padding: clamp(70px, 9vw, 110px) 20px;
  background:
    radial-gradient(ellipse 900px 400px at 0% 0%, rgba(30, 107, 53, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 700px 400px at 100% 100%, rgba(192, 161, 90, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--mdn-cream) 100%);
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 60%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
  border-radius: 3px;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.stats-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(38px, 5vw, 56px);
}
.stats-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mdn-green-dark);
  background: rgba(30, 107, 53, 0.06);
  border: 1px solid rgba(30, 107, 53, 0.18);
  border-radius: 999px;
  margin-bottom: 16px;
}
.stats-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mdn-gold);
  box-shadow: 0 0 0 3px rgba(192, 161, 90, 0.22);
}
.stats-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--mdn-green-ink);
  line-height: 1.2;
  margin: 0 0 14px;
}
.stats-title-accent {
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 50%, var(--mdn-gold-light) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-lead {
  font-size: clamp(14.5px, 1.7vw, 16px);
  line-height: 1.9;
  color: var(--mdn-muted);
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
  max-width: 1120px;
  margin: 0 auto;
}

.stat-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(30, 107, 53, 0.10);
  border-radius: 18px;
  padding: clamp(22px, 2.5vw, 30px) clamp(16px, 2vw, 22px);
  text-align: center;
  box-shadow: 0 6px 18px rgba(8, 40, 20, 0.05);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--mdn-gold), transparent);
  transition: width 0.35s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 161, 90, 0.40);
  box-shadow: 0 22px 44px rgba(8, 40, 20, 0.10);
}
.stat-card:hover::after { width: 110px; }

.stat-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--mdn-green-dark) 0%, var(--mdn-green) 100%);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(30, 107, 53, 0.22);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-card:hover .stat-card__icon {
  transform: rotate(-6deg) scale(1.06);
}

.stat-card__num {
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 50%, var(--mdn-gold-light) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Tajawal', Arial, sans-serif;
}
.stat-card__unit {
  font-size: 0.6em;
  vertical-align: baseline;
  margin-inline-start: 2px;
}
.stat-card__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mdn-green-ink);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; max-width: 340px; }
  .stat-card { padding: 22px 16px; }
  .stat-card__icon { width: 50px; height: 50px; font-size: 22px; margin-bottom: 10px; }
}


/* ============================================================
   CLIENTS / PARTNERS IN SUCCESS — logo wall of B2B references
   ============================================================ */
.clients-section {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 20px;
  background:
    radial-gradient(ellipse 800px 400px at 10% 0%, rgba(192, 161, 90, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 800px 400px at 90% 100%, rgba(30, 107, 53, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, var(--mdn-cream) 0%, #ffffff 100%);
  overflow: hidden;
}
.clients-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 60%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mdn-gold) 50%, transparent);
  border-radius: 3px;
}
.clients-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.clients-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.clients-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mdn-green-dark);
  background: rgba(30, 107, 53, 0.06);
  border: 1px solid rgba(30, 107, 53, 0.18);
  border-radius: 999px;
  margin-bottom: 16px;
}
.clients-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mdn-gold);
  box-shadow: 0 0 0 3px rgba(192, 161, 90, 0.22);
}
.clients-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--mdn-green-ink);
  line-height: 1.2;
  margin: 0 0 14px;
}
.clients-title-accent {
  background: linear-gradient(135deg, var(--mdn-gold-dark) 0%, var(--mdn-gold) 50%, var(--mdn-gold-light) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.clients-lead {
  font-size: clamp(14.5px, 1.7vw, 16px);
  line-height: 1.9;
  color: var(--mdn-muted);
  margin: 0;
}

/* Logo wall — 4-up desktop, 2-up tablet, 1-up mobile */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}
.client-logo {
  position: relative;
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.2vw, 28px);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(192, 161, 90, 0.14) 0%, transparent 60%),
    linear-gradient(145deg, #0f3d1e 0%, #082814 100%);
  border: 1px solid rgba(192, 161, 90, 0.22);
  border-radius: 18px;
  box-shadow:
    0 10px 24px rgba(8, 40, 20, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
}
.client-logo::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45px;
  height: 3px;
  background: linear-gradient(90deg, var(--mdn-gold), transparent);
  transition: width 0.35s ease;
}
.client-logo:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 161, 90, 0.55);
  box-shadow:
    0 22px 44px rgba(8, 40, 20, 0.32),
    inset 0 0 0 1px rgba(192, 161, 90, 0.20);
}
.client-logo:hover::after { width: 120px; }
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  /* White silhouette on idle — unified "trust wall" look on dark bg;
     original color on hover brings individual brand forward. */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.client-logo:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 900px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
@media (max-width: 420px) {
  .clients-grid { grid-template-columns: 1fr; max-width: 340px; gap: 14px; }
  .client-logo { aspect-ratio: 7 / 3; padding: 18px; }
}


/* ============================================================
   ABOUT TITLE — mobile clarity fix for "نبذة عن معادن البيئة"
   Arabic heavy-weight text with gradient background-clip was
   getting clipped at the glyph descenders on small screens.
   ============================================================ */
@media (max-width: 700px) {
  .about-title {
    font-size: clamp(1.5rem, 6.2vw, 2rem) !important;
    line-height: 1.5 !important;
    padding-bottom: 4px;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .about-title__accent {
    display: inline-block;
    line-height: 1.5;
    padding-bottom: 3px;       /* breathing room below gradient glyphs */
  }
}
@media (max-width: 420px) {
  .about-title { font-size: clamp(1.35rem, 7vw, 1.7rem) !important; }
}
