/* ==========================================================================
   قوة الانتاج المتقدم لصناعة الآلات والمعدات الزراعية - Quwat Al-Entag Al-Motaqaddem
   Brand identity: forest green + leaf green + charcoal from logo
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Deep forest / charcoal from logo */
  --primary: #152820;
  --primary-light: #243f32;
  --primary-dark: #0b1610;

  /* Leaf green accents (--gold kept for backwards compatibility) */
  --gold: #4F9A3E;
  --gold-light: #7CBC5F;
  --gold-dark: #2F6B2A;

  --accent-blue: #4F9A3E;
  --accent-cyan: #68B04A;
  --silver-slate: #B8C9B5;

  --light-bg: #F2F7F1;
  --card-bg: #ffffff;
  --text-main: #152820;
  --text-muted: #5a6b60;
  --text-light: #F0F6EE;
  --border-color: #D4E3D1;

  --shadow-sm: 0 4px 6px -1px rgba(21, 40, 32, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(79, 154, 62, 0.16);
  --shadow-lg: 0 20px 25px -5px rgba(21, 40, 32, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography & Base Setup */
body {
  font-family: 'Cairo', 'Alexandria', 'Outfit', sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(ellipse 80% 40% at 100% -10%, rgba(79, 154, 62, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 35% at 0% 20%, rgba(21, 40, 32, 0.05), transparent 45%),
    #ffffff;
  overflow-x: hidden;
  line-height: 1.7;
}

[lang="en"] body {
  font-family: 'Outfit', 'Cairo', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Alexandria', 'Cairo', 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Top Bar */
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #ffffff;
  box-shadow: 0 12px 40px -28px rgba(21, 40, 32, 0.55);
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--gold-dark) 35%, var(--gold) 70%, var(--gold-light) 100%);
}

.header-shell {
  background: #ffffff;
  border-bottom: 1px solid rgba(47, 107, 42, 0.1);
}

.header-shell-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 92px;
  padding-block: 0.65rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.25rem 0.35rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.site-brand img,
.navbar-brand img {
  height: 72px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.site-brand:hover {
  border-color: transparent;
  transform: none;
  opacity: 0.92;
}

.header-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.header-nav-link {
  position: relative;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.7rem 1.05rem;
  border-radius: 0;
  white-space: nowrap;
  transition: var(--transition);
}

.header-nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 1.05rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.header-nav-link:hover {
  color: var(--gold-dark);
  background: transparent;
}

.header-nav-link:hover::after {
  transform: scaleX(0.55);
}

.header-nav-link.active {
  color: var(--gold-dark);
  background: transparent;
  box-shadow: none;
}

.header-nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-inline-end: 0.15rem;
}

.header-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: var(--light-bg);
  border: 1px solid rgba(47, 107, 42, 0.14);
  color: var(--primary);
  transition: var(--transition);
}

.header-contact-chip--mail {
  padding: 0.35rem;
  width: 42px;
  height: 42px;
  justify-content: center;
}

.header-contact-chip:hover {
  border-color: rgba(79, 154, 62, 0.4);
  background: #ffffff;
  color: var(--gold-dark);
}

.header-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(79, 154, 62, 0.14), rgba(104, 176, 74, 0.22));
  color: var(--gold-dark);
  flex-shrink: 0;
}

.header-contact-chip--mail .header-contact-icon {
  width: 100%;
  height: 100%;
  background: transparent;
}

.header-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.header-contact-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.header-contact-text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.header-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 22px -12px rgba(79, 154, 62, 0.85);
  transition: var(--transition);
}

.header-cta:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--gold) 100%);
}

.header-meta {
  background: var(--primary-dark);
  color: #a8c4b4;
  font-size: 0.82rem;
}

.header-meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
}

.header-meta-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.header-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c5d9cb;
}

.header-meta-item i {
  color: var(--gold-light);
  font-size: 0.78rem;
}

.header-meta a:hover {
  color: var(--gold-light);
}

.header-meta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-meta-phone i {
  color: var(--gold-light);
  font-size: 0.78rem;
}

.header-meta-phone:hover {
  color: var(--gold-light);
}

/* Legacy top-bar / navbar helpers kept for compatibility */
.top-bar {
  display: none;
}

.btn-lang {
  background: rgba(79, 154, 62, 0.08);
  color: var(--gold-dark);
  border: 1px solid rgba(47, 107, 42, 0.18);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-lang:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

.site-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36, 63, 50, 0.12);
  background: #F2F7F1;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.site-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.site-menu-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.site-menu-toggle:hover span {
  background: #ffffff;
}

/* Mobile sidebar */
.site-offcanvas {
  width: min(86vw, 360px);
  background: #0C1A12;
  color: #e2e8f0;
  border: 0;
}

.site-offcanvas-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  border-bottom: 1px solid rgba(104, 176, 74, 0.14);
  background: linear-gradient(135deg, #0C1A12 0%, #12301F 55%, #1A4A2E 100%);
}

.site-offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.site-offcanvas-brand img {
  width: auto;
  height: 48px;
  max-width: 160px;
  object-fit: contain;
  background: #ffffff;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.site-offcanvas-brand strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.site-offcanvas-brand span {
  display: block;
  color: #94a3b8;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.site-offcanvas-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.site-offcanvas-close:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.site-offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.site-offcanvas-nav {
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.site-offcanvas-nav .nav-link {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1rem !important;
  border: 1px solid transparent;
  border-inline-start: 3px solid transparent;
  border-radius: 0;
  background: transparent;
}

.site-offcanvas-nav .nav-link:hover,
.site-offcanvas-nav .nav-link.active {
  color: #ffffff;
  background: rgba(79, 154, 62, 0.12);
  border-color: rgba(104, 176, 74, 0.16);
  border-inline-start-color: var(--accent-cyan);
}

.site-offcanvas-cta {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.site-offcanvas-contact {
  margin-top: auto;
  display: grid;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-offcanvas-contact a,
.site-offcanvas-contact span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #94a3b8;
  font-size: 0.92rem;
  word-break: break-word;
}

.site-offcanvas-contact a:hover {
  color: var(--gold-light);
}

.site-offcanvas-contact i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(104, 176, 74, 0.1);
  color: var(--gold-light);
  flex-shrink: 0;
}

/* Legacy navbar helpers */
.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.nav-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-dark);
  background: rgba(79, 154, 62, 0.08);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(79, 154, 62, 0.28);
  transition: var(--transition);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--gold) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 154, 62, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  transition: var(--transition);
}

.btn-navy:hover {
  background: var(--primary-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-outline-navy:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  background: var(--primary-dark);
  color: #ffffff;
  overflow: clip;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: min(86vh, 760px);
  min-height: 560px;
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.02);
  animation: heroKenBurns 16s ease-out forwards;
  will-change: transform;
}

.carousel-item.active .hero-slide-media {
  animation: heroKenBurns 16s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero-slide-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 22, 16, 0.35) 0%, rgba(11, 22, 16, 0.2) 28%, rgba(11, 22, 16, 0.78) 68%, rgba(11, 22, 16, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 22, 16, 0.55) 0%, transparent 55%);
}

[dir="ltr"] .hero-slide-shade {
  background:
    linear-gradient(180deg, rgba(11, 22, 16, 0.35) 0%, rgba(11, 22, 16, 0.2) 28%, rgba(11, 22, 16, 0.78) 68%, rgba(11, 22, 16, 0.96) 100%),
    linear-gradient(270deg, rgba(11, 22, 16, 0.55) 0%, transparent 55%);
}

.hero-slide-shade--deep,
.hero-slide-shade--warm {
  background:
    linear-gradient(180deg, rgba(11, 22, 16, 0.3) 0%, rgba(21, 40, 32, 0.25) 30%, rgba(11, 22, 16, 0.82) 70%, rgba(11, 22, 16, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 22, 16, 0.5) 0%, transparent 58%);
}

[dir="ltr"] .hero-slide-shade--deep,
[dir="ltr"] .hero-slide-shade--warm {
  background:
    linear-gradient(180deg, rgba(11, 22, 16, 0.3) 0%, rgba(21, 40, 32, 0.25) 30%, rgba(11, 22, 16, 0.82) 70%, rgba(11, 22, 16, 0.96) 100%),
    linear-gradient(270deg, rgba(11, 22, 16, 0.5) 0%, transparent 58%);
}

.hero-slide-body {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding-block: 4.5rem 8.5rem;
  box-sizing: border-box;
}

.hero-copy {
  width: min(100%, 680px);
  padding: 0;
}

.carousel-item.active .hero-copy > * {
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.carousel-item.active .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.carousel-item.active .hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.carousel-item.active .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.carousel-item.active .hero-copy > *:nth-child(4) { animation-delay: 0.34s; }
.carousel-item.active .hero-copy > *:nth-child(5) { animation-delay: 0.44s; }

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin: 0 0 1.1rem;
  padding: 0;
  background: transparent;
  border: none;
}

.hero-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-brand {
  font-family: 'Alexandria', 'Cairo', sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 10px 40px rgba(11, 22, 16, 0.35);
}

.hero-brand::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  color: #e4efe8;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 34ch;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #b7c9be;
  max-width: 34rem;
  margin: 0 0 1.75rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-outline-light-hero {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-outline-light-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-dock {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 5.5rem;
  pointer-events: none;
}

.hero-dock-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  pointer-events: auto;
}

.hero-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  flex: 1;
  max-width: 720px;
}

.hero-progress-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  text-align: start;
  cursor: pointer;
  transition: color 0.25s ease;
}

.hero-progress-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero-progress-item.active {
  color: #ffffff;
}

.hero-progress-num {
  font-family: 'Outfit', 'Alexandria', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: inherit;
}

.hero-progress-label {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

.hero-progress-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  border-radius: 999px;
}

.hero-progress-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: inherit;
}

.hero-progress-item.active .hero-progress-bar i {
  animation: heroProgressFill 7s linear forwards;
}

@keyframes heroProgressFill {
  from { width: 0; }
  to { width: 100%; }
}

.hero-nav-group {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
  padding-bottom: 0.15rem;
}

.hero-nav {
  position: static;
  width: auto;
  height: auto;
  opacity: 1;
  transform: none;
}

.hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-nav:hover .hero-nav-btn,
.hero-nav:focus .hero-nav-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

[dir="ltr"] .hero-nav .fa-arrow-right,
[dir="ltr"] .hero-nav .fa-arrow-left {
  transform: scaleX(-1);
}

.hero-metrics {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
  padding-bottom: 0;
}

.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(180deg, #ffffff 0%, #F2F7F1 100%);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 50px -28px rgba(21, 40, 32, 0.45);
  overflow: hidden;
  border-radius: 0;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.5rem 1.55rem;
  border-inline-end: 1px solid var(--border-color);
  position: relative;
}

.hero-metric::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0.85;
}

.hero-metric:last-child {
  border-inline-end: 0;
}

.hero-metric-num {
  font-family: 'Alexandria', 'Cairo', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1.1;
  padding-inline-start: 0.65rem;
}

.hero-metric-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-inline-start: 0.65rem;
}
/* Page Header (Inner Pages) */
.page-header {
  background: linear-gradient(135deg, rgba(11, 22, 16, 0.94) 0%, rgba(36, 63, 50, 0.82) 100%),
              url('../images/hero_factory.jpg') center/cover no-repeat;
  padding: 70px 0 50px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
}

.page-header h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--gold-light);
  font-weight: 600;
}

.breadcrumb-custom a {
  color: #cbd5e1;
}

.breadcrumb-custom a:hover {
  color: var(--gold-light);
}

/* Inner page hero */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  background: url('../images/hero_factory.jpg') center/cover no-repeat;
  transform: scale(1.05);
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 14, 16, 0.94) 0%, rgba(36, 63, 50, 0.78) 55%, rgba(79, 154, 62, 0.35) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.55) 0%, transparent 60%);
}

[dir="ltr"] .page-hero-shade {
  background:
    linear-gradient(260deg, rgba(14, 14, 16, 0.94) 0%, rgba(36, 63, 50, 0.78) 55%, rgba(79, 154, 62, 0.35) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.55) 0%, transparent 60%);
}

.page-hero-body {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.75rem;
}

.page-hero-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--gold-light);
}

.page-hero-crumb a {
  color: #cbd5e1;
}

.page-hero-crumb a:hover {
  color: var(--gold-light);
}

.page-hero-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 0.45rem;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.page-hero-text {
  margin: 0;
  max-width: 36rem;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Contact page */
.contact-page {
  padding: 0 0 5rem;
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(104, 176, 74, 0.07), transparent 55%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 45%, #f8fafc 100%);
}

.contact-strip {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  margin-bottom: 2.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ffffff;
  border: 1px solid rgba(36, 63, 50, 0.08);
  box-shadow: 0 22px 50px -28px rgba(36, 63, 50, 0.45);
}

.contact-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem;
  color: inherit;
  text-decoration: none;
  border-inline-end: 1px solid var(--border-color);
  transition: background 0.25s ease;
  min-width: 0;
}

.contact-strip-item:last-child {
  border-inline-end: 0;
}

a.contact-strip-item:hover {
  background: rgba(79, 154, 62, 0.04);
  color: inherit;
}

.contact-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(79, 154, 62, 0.12), rgba(104, 176, 74, 0.16));
  color: var(--gold);
  font-size: 1.05rem;
}

.contact-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-strip-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.contact-strip-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  word-break: break-word;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 1.75rem;
  align-items: start;
}

.contact-form-panel {
  background: #ffffff;
  border: 1px solid rgba(36, 63, 50, 0.08);
  box-shadow: 0 18px 40px -28px rgba(36, 63, 50, 0.4);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent-cyan));
}

.contact-form-title {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.4;
}

.contact-form-lead {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

.contact-label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.contact-input {
  border: 1px solid #dbe3ee;
  border-radius: 0;
  padding: 0.75rem 0.95rem;
  box-shadow: none;
  background: #f8fafc;
  transition: var(--transition);
}

.contact-input:focus {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(79, 154, 62, 0.12);
}

.contact-submit {
  padding: 0.85rem 2.25rem;
  font-size: 1.05rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
}

.contact-help {
  padding: 1.6rem 1.5rem;
  color: #ffffff;
  background:
    linear-gradient(145deg, #0C1A12 0%, #12301F 55%, #1A4A2E 100%);
  border-inline-start: 4px solid var(--accent-cyan);
  box-shadow: 0 18px 40px -24px rgba(21, 40, 32, 0.55);
}

.contact-help-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.55rem;
}

.contact-help-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.65rem;
  line-height: 1.4;
}

.contact-help-text {
  color: #94a3b8;
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.contact-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-help-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-map {
  flex: 1;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(36, 63, 50, 0.1);
  box-shadow: 0 16px 36px -24px rgba(36, 63, 50, 0.4);
  background: #e2e8f0;
}

.contact-map iframe {
  display: block;
  min-height: 320px;
}

/* Section Title */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

.section-main-title {
  font-size: 2.3rem;
  color: var(--primary);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-main-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

/* About Section (Homepage) */
.about-section {
  position: relative;
  padding: 5.5rem 0 5.25rem;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(79, 154, 62, 0.07), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #F2F7F1 48%, #ffffff 100%);
  overflow: hidden;
}

.about-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-intro .section-subtitle {
  margin-bottom: 0.85rem;
}

.about-heading {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin: 0 0 1.15rem;
}

.about-heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--gold);
}

.about-lead {
  font-size: 1.08rem;
  color: var(--text-main);
  line-height: 1.85;
  margin: 0;
}

.about-stage {
  position: relative;
  margin-bottom: 2.25rem;
  overflow: hidden;
  background: var(--primary-dark);
}

.about-stage-photo {
  margin: 0;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  overflow: hidden;
}

.about-stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-stage:hover .about-stage-photo img {
  transform: scale(1.06);
}

.about-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.35rem;
  background: var(--primary);
  color: #ffffff;
  border-top: 3px solid var(--gold);
}

.about-stage-slogan {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #e8f2eb;
  line-height: 1.5;
}

.about-stage-stat {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-shrink: 0;
  padding-inline-start: 1.1rem;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

.about-stage-num {
  font-family: 'Alexandria', 'Cairo', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.about-stage-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #b8c9be;
  white-space: nowrap;
}

.about-text {
  max-width: 820px;
  margin: 0 auto 2.25rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.85;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-points li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.15rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.55;
  background: #ffffff;
  border-top: 3px solid var(--gold);
  border-inline-start: 1px solid var(--border-color);
  border-inline-end: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-points li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -24px rgba(21, 40, 32, 0.35);
  border-top-color: var(--gold-dark);
}

.about-point-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 154, 62, 0.12);
  color: var(--gold-dark);
  font-size: 1.05rem;
  transition: var(--transition);
}

.about-points li:hover .about-point-icon {
  background: var(--gold);
  color: #ffffff;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}
/* Services / Products Section */
.services-section {
  position: relative;
  padding: 5rem 0 5.25rem;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(79, 154, 62, 0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #F2F7F1 50%, #ffffff 100%);
  overflow: hidden;
}

.services-section--page {
  padding-top: 3.5rem;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.services-head-copy .section-subtitle {
  margin-bottom: 0.55rem;
}

.services-heading {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin: 0;
  max-width: 22ch;
}

.services-heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 14px;
  background: var(--gold);
}

.services-head-link {
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(79, 154, 62, 0.25);
  transition: var(--transition);
  flex-shrink: 0;
}

.services-head-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  gap: 0.9rem;
}

.services-foot {
  margin-top: 2rem;
  text-align: center;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 280px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-inline-start: 4px solid var(--gold);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.product-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  border-inline-start: 0;
  border-inline-end: 4px solid var(--gold);
}

.product-row:nth-child(even) .product-row-media {
  order: 2;
}

.product-row:nth-child(even) .product-row-body {
  order: 1;
}

.product-row:hover {
  border-color: rgba(79, 154, 62, 0.35);
  box-shadow: 0 22px 44px -28px rgba(21, 40, 32, 0.4);
  transform: translateY(-3px);
}

.product-row-media {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  background: var(--primary-dark);
}

.product-row-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 22, 16, 0.35) 100%);
  pointer-events: none;
}

.product-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-row:hover .product-row-media img {
  transform: scale(1.1);
}

.product-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #F7FBF6 100%);
}

.product-row-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-row-index {
  font-family: 'Outfit', 'Alexandria', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}

.product-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 154, 62, 0.12);
  color: var(--gold-dark);
  font-size: 1rem;
  transition: var(--transition);
}

.product-row:hover .product-row-icon {
  background: var(--gold);
  color: #ffffff;
}

.product-row-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.product-row-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0 0 1.25rem;
  max-width: 42ch;
}

.product-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.35rem 0 1.15rem;
}

.product-row-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  padding: 0.28rem 0.65rem;
}

.product-row-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: auto;
  transition: var(--transition);
}

.product-row-link:hover {
  color: var(--primary);
  gap: 0.85rem;
}

[dir="ltr"] .services-head-link i,
[dir="ltr"] .product-row-link i {
  transform: scaleX(-1);
}

.service-item-col.is-hidden {
  display: none !important;
}

/* Legacy service-card kept for any leftover markup */
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 154, 62, 0.12);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-link {
  font-weight: 700;
  color: var(--gold-dark);
}

.service-link:hover {
  color: var(--primary);
}
.feature-box {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: var(--radius-md);
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 65px;
  height: 65px;
  background: rgba(36, 63, 50, 0.06);
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  background: var(--primary);
  color: var(--gold-light);
}

/* Stats Counter Section */
.stats-section {
  position: relative;
  color: #ffffff;
  padding: 4.25rem 0;
  overflow: hidden;
  background: var(--primary-dark);
}

.stats-section-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(14, 14, 16, 0.94) 0%, rgba(36, 63, 50, 0.88) 48%, rgba(47, 107, 42, 0.55) 100%),
    url('../images/hero_factory.jpg') center/cover no-repeat;
  transform: scale(1.04);
}

.stats-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(104, 176, 74, 0.08) 50%, transparent 100%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.stats-item {
  text-align: center;
  padding: 2rem 1.25rem;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.stats-item:last-child {
  border-inline-end: 0;
}

.stats-item:hover {
  background: rgba(104, 176, 74, 0.08);
}

.stats-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  color: var(--accent-cyan);
  background: rgba(104, 176, 74, 0.12);
  border: 1px solid rgba(104, 176, 74, 0.28);
  font-size: 1rem;
}

.counter-item {
  text-align: center;
  padding: 20px;
}

.counter-number {
  font-family: 'Alexandria', 'Cairo', 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 20%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-label {
  font-size: 0.98rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Filter Tabs */
.filter-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: #e8f5f2;
  color: var(--primary);
  border: 1px solid rgba(47, 107, 42, 0.12);
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(79, 154, 62, 0.28);
}

/* CTA Section */
.cta-section {
  padding: 0 0 5rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.5rem);
  color: #ffffff;
  background:
    linear-gradient(125deg, #0b1610 0%, #152820 42%, #243f32 78%, #2F6B2A 100%);
  border: 1px solid rgba(104, 176, 74, 0.22);
  box-shadow: 0 28px 60px -28px rgba(21, 40, 32, 0.55);
  border-radius: var(--radius-lg);
}

.cta-panel-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  inset-inline-end: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(104, 176, 74, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(104, 176, 74, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 176, 74, 0.35) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 20%, transparent 75%);
}

.cta-panel::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--gold));
}

.cta-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.cta-kicker {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.cta-title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  max-width: 28ch;
}

.cta-desc {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 42rem;
}

.cta-panel-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}

.cta-btn-primary {
  width: 100%;
  justify-content: center;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transition: var(--transition);
}

.cta-phone:hover {
  background: rgba(104, 176, 74, 0.12);
  border-color: rgba(104, 176, 74, 0.4);
  color: #ffffff;
}

.cta-phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(104, 176, 74, 0.16);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.cta-phone-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.cta-phone-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.cta-phone-number {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Legacy CTA class (kept if referenced elsewhere) */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 50px;
  color: #ffffff;
  border: 1px solid rgba(104, 176, 74, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(104, 176, 74, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Contact Info Cards */
.contact-info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.contact-info-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(79, 154, 62, 0.12);
  color: var(--gold-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Service Detail Page Sidebar */
.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-nav-item:last-child a {
  border-bottom: none;
}

.service-nav-item a:hover,
.service-nav-item.active a {
  background: var(--primary);
  color: var(--gold-light);
  padding-inline-start: 25px;
}

.tech-spec-badge {
  background: var(--light-bg);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border-color);
}

/* Footer */
.site-footer {
  position: relative;
  color: #94a3b8;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(79, 154, 62, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(104, 176, 74, 0.1), transparent 50%),
    linear-gradient(180deg, #0b1610 0%, #152820 100%);
  margin-top: 0;
}

.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--gold), var(--accent-cyan));
}

.site-footer-top {
  padding: 4.5rem 0 3rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.1fr 1.15fr;
  gap: 2.5rem 2rem;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0.55rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-footer-logo img {
  display: block;
  max-height: 64px;
  max-width: 220px;
  width: auto;
}

.site-footer-name {
  font-family: 'Alexandria', 'Cairo', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.site-footer-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #94a3b8;
  margin: 0 0 1.35rem;
  max-width: 34ch;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer-col h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 1.35rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.site-footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.footer-links a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(104, 176, 74, 0.45);
  flex-shrink: 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(-4px);
}

[dir="ltr"] .footer-links a:hover {
  transform: translateX(4px);
}

.footer-links a:hover::before {
  background: var(--accent-cyan);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.footer-contact-list a {
  color: #cbd5e1;
  word-break: break-word;
}

.footer-contact-list a:hover {
  color: var(--gold-light);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(104, 176, 74, 0.1);
  border: 1px solid rgba(104, 176, 74, 0.22);
  color: var(--gold-light);
  font-size: 0.9rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-3px);
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 1.15rem 0;
}

.site-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer-bottom p {
  color: #64748b;
  font-size: 0.9rem;
}

.site-footer-bottom-link {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
  padding-bottom: 2px;
  transition: var(--transition);
}

.site-footer-bottom-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Legacy footer class (kept for compatibility) */
.footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding-top: 70px;
  border-top: 3px solid var(--gold);
}

.footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 2px;
}

[dir="rtl"] .footer h5::after {
  left: auto;
  right: 0;
}

.footer-bottom {
  background: #041014;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* Modal styling */
.modal-content {
  border-radius: var(--radius-md);
  border: 1px solid var(--gold);
}

.modal-header {
  background: var(--primary);
  color: #ffffff;
  border-bottom: 2px solid var(--gold);
}

.modal-header .btn-close {
  filter: invert(1);
}

/* Direction flip helpers */
[dir="rtl"] .fa-arrow-right {
  transform: rotate(180deg);
}

[dir="rtl"] .fa-chevron-right {
  transform: rotate(180deg);
}

/* Bootstrap Theme Overrides for Logo Compatibility */
.text-warning {
  color: var(--gold-light) !important;
}

.border-warning {
  border-color: var(--gold) !important;
}

.bg-warning {
  background-color: var(--gold) !important;
  color: #ffffff !important;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .header-nav-link {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
  }

  .header-shell-inner {
    gap: 0.85rem;
  }
}

@media (max-width: 991.98px) {
  .header-shell-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .header-nav {
    display: none !important;
  }

  .site-brand {
    padding: 0.25rem 0.4rem;
    border-radius: 12px;
  }

  .site-brand img,
  .navbar-brand img {
    height: 52px;
    max-width: min(200px, 58vw);
  }

  .hero-slider .carousel,
  .hero-slider .carousel-inner,
  .hero-slider .carousel-item {
    height: auto;
    min-height: 560px;
  }

  .hero-slide {
    align-items: flex-end;
    min-height: 560px;
  }

  .hero-slide-body {
    padding: 4.5rem 0.25rem 9.5rem;
    max-width: 100%;
  }

  .hero-copy {
    width: min(100%, 520px);
  }

  .hero-brand {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .hero-title {
    font-size: 1.25rem;
    max-width: none;
  }

  .hero-dock {
    bottom: 4.75rem;
  }

  .hero-dock-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-progress {
    max-width: none;
    gap: 0.75rem;
  }

  .hero-progress-label {
    font-size: 0.74rem;
  }

  .hero-nav-group {
    justify-content: flex-end;
  }

  .hero-metrics {
    margin-top: -3rem;
    padding: 0 1rem 0;
  }

  .hero-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-metric:nth-child(2) {
    border-inline-end: 0;
  }

  .hero-metric:nth-child(1),
  .hero-metric:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
  }

  .section-main-title {
    font-size: 1.8rem;
  }

  .about-section {
    padding: 3.5rem 0 3rem;
  }

  .about-intro {
    margin-bottom: 1.75rem;
    text-align: start;
  }

  .about-heading::after {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }

  .about-stage-photo {
    aspect-ratio: 16 / 10;
  }

  .about-stage-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .about-stage-stat {
    padding-inline-start: 0;
    border-inline-start: 0;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
  }

  .about-text {
    text-align: start;
    margin-bottom: 1.75rem;
  }

  .about-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-actions {
    justify-content: flex-start;
  }

  .services-head {
    margin-bottom: 2rem;
  }

  .services-heading {
    max-width: none;
  }

  .services-section {
    padding: 3.5rem 0 3.25rem;
  }

  .product-row,
  .product-row:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
    border-inline-start: 4px solid var(--gold);
    border-inline-end: 0;
  }

  .product-row:nth-child(even) .product-row-media,
  .product-row:nth-child(even) .product-row-body {
    order: initial;
  }

  .product-row-media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .product-row-body {
    padding: 1.35rem 1.25rem 1.5rem;
  }

  .product-row-desc {
    max-width: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-item:nth-child(2) {
    border-inline-end: 0;
  }

  .stats-item:nth-child(1),
  .stats-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .cta-section {
    margin-top: -1rem;
    padding-bottom: 3.5rem;
  }

  .cta-panel-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-title {
    max-width: none;
  }

  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 1.5rem;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer-desc {
    max-width: none;
  }

  .contact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -1.5rem;
  }

  .contact-strip-item:nth-child(2) {
    border-inline-end: 0;
  }

  .contact-strip-item:nth-child(1),
  .contact-strip-item:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 280px;
  }

  .site-brand img,
  .navbar-brand img {
    height: 58px;
  }
}

@media (max-width: 575.98px) {
  .hero-slide-body {
    padding: 4rem 0.15rem 9.75rem;
  }

  .hero-copy {
    margin-inline: 0;
  }

  .hero-dock {
    bottom: 4.25rem;
  }

  .hero-progress-label {
    display: none;
  }

  .hero-nav-group {
    display: none;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-metric {
    padding: 1.1rem 1rem;
  }

  .hero-metric-num {
    font-size: 1.5rem;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-stage-photo {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }

  .contact-strip-item {
    border-inline-end: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .contact-strip-item:last-child {
    border-bottom: 0;
  }

  .contact-strip-item:nth-child(1),
  .contact-strip-item:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-media,
  .carousel-item.active .hero-slide-media,
  .carousel-item.active .hero-copy > *,
  .hero-progress-item.active .hero-progress-bar i,
  .about-stage-photo img {
    animation: none !important;
  }

  .hero-progress-item.active .hero-progress-bar i {
    width: 100%;
  }

  .about-stage:hover .about-stage-photo img {
    transform: none;
  }
}