/* ===== RESET + BASE ===== */

* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}
html, body {
 height: 100%;
 overflow-x: hidden;
 overflow-y: auto;
}


body {
 font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 color: var(--ink);
 background: linear-gradient(180deg, var(--paper), var(--paper-2));
 padding-top: 0px; /* ?????? ?????? ?????? ?????? */
}

html[lang="ar"] {
 direction: rtl;
 text-align: right;
 font-family: 'Tajawal', 'Noto Sans Arabic', system-ui, sans-serif !important;
 line-height: 1.8;
 word-spacing: 1px;
}


:root {
 --ink: #0f172a;
 --brand: #15803d;
 --brand-ink: #065f46;
 --paper: #ffffff;
 --paper-2: #f8fafc;
 --soft: #475569;
 --muted: #64748b;
 --radius: 14px;
 --ring: rgba(16,185,129, .35);
}
/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}


/* ===== ??????? ?????? ===== */
.container {
 max-width: 1200px;
 width: 100%;
 padding: 0 20px;
 margin: 0 auto;
}



/* ===== TRANSPARENT SLIM HEADER (FINAL VERSION) ===== */
header {
 position: relative !important;   /* ??? ???? */
 width: 100%;
 background: rgba(255, 255, 255, 0.05) !important; /* ???? ????? */
 backdrop-filter: blur(6px); /* ???? ???? */
 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
 height: auto;
 z-index: 100;
 transition: all 0.3s ease;
}

/* ????? ?????? ????? */
header .container.nav {
 height: 70px !important;
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0 20px;
}

/* ?????? */
header .logo-img {
 max-height: 90px !important;
 height: auto;
}

/* ?? ?????? */
header .brand-text {
 font-weight: 700;
 font-size: 1.1rem;
 color: #0a662f !important; /* ???? ???? */
 margin-left: 10px;
 text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

header nav ul {
 display: flex;
 gap: 1rem;
 list-style: none;
 margin: 0;
 padding: 0;
}

header nav ul li a {
 font-size: 0.82rem;
 font-weight: 500;
 color: #000;
 text-decoration: none;
 }
/* ===== GREEN UNDERLINE FOR NAV LINKS ===== */
header nav ul li a {
 position: relative;
 padding-bottom: 4px; /* ????? ????? ??? ???? ????? */
 border-bottom: 2px solid #0a662f; /* ? ???? ?????? ?????? */
 transition: all 0.3s ease;
}

/* ??? ?????? ????? ????? */
header nav ul li a:hover {
 color: #0a662f !important; /* ? ???? ???? ???? */
 border-bottom-color: #0d9488 !important; /* ? ???? ???? ?????? */
}


header nav ul li a:hover {
 color: #0a662f !important; /* ???? ??? ?????? */
}

/* ✅ إطار أخضر ثابت لزر اللغة */
header .lang select {
  border: 2px solid #0a662f !important;  /* أخضر ثابت */
  border-radius: 6px !important;         /* زوايا ناعمة */
  padding: 4px 8px !important;           /* مسافة داخلية مريحة */
  background-color: #ffffff !important;  /* خلفية بيضاء ثابتة */
}


/* ????? ??????? ????????? */
header .lang span {
 font-size: 1rem;
 line-height: 1;
}



.navbar {
  background: #f5f5f5;
  padding: 0.5rem 1rem;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}






/* =============== HERO SECTION (FULL WIDTH BRIGHT VERSION) =============== */
.hero,
.hero-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 60px 20px;
  background: url("hero-bg-desktop.png") center/cover no-repeat;
  background-color: #ffffff;
  overflow: hidden;
  text-align: left;
  z-index: 0;
  height: 100vh;
}

/* تحريك صندوق المواصفات داخل الهيرو */
.hero-specs-box{
  margin-top: 40px;     /* زوّدها لـ 50–60 لو عايز ينزل أكتر */
  /* (اختياري للتجميل)
  padding: .8rem 1rem;
  background: rgba(0,0,0,.25);
  border-left: 4px solid #e6c16d;
  border-radius: 8px;
  */
}


/* إزالة العنصر الوهمي */
.hero::before,
.hero-bleed::before {
  content: none;
}

/* النصوص العامة داخل hero */
.hero :is(h1, h2, h3, h4, h5, h6, p, span, strong, li, a, .lead, .muted, .note, .badge),
.hero-bleed :is(h1, h2, h3, h4, h5, h6, p, span, strong, li, a, .lead, .muted, .note, .badge) {
  color: #ffffff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

/* العنوان الرئيسي */
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* الفقرات العامة */
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
  max-width: 720px;
  margin-bottom: 1rem;
}

/* ✅ تخصيص فقرة we serve */
.hero-bleed .lead {
  position: absolute;
  bottom: 100px;
  left: 30px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 500px;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  z-index: 5;
  margin: 0;
}

/* الجملة الثانية */
.hero-bleed .small-text[data-i18n="hero.tradeNote"] {
  position: absolute;
  bottom: 80px;
  left: 30px;
  font-size: 13px;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  max-width: 500px;
  line-height: 1.4;
  z-index: 5;
  margin: 0;
}

/* مواصفات المنتج */
.hero-product-specs {
  position: absolute;
  top: 40%;
  left: 40px; /* محاذاة إلى اليسار */
  transform: translateY(-50%); /* تحافظ على التوسيط العمودي فقط */
  color: #ffffff;
  text-shadow: 2px 2px 6px rgb(95 95 95 / 60%);
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
  text-align: left; /* محاذاة النص لليسار */
  z-index: 5;
}

/* CTA row */
.hero .cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

/* الأزرار */
.hero .cta-row .btn {
  width: 200px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* زر رئيسي */
.hero .btn-primary {
  background-color: #0a662f;
  border: 2px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero .btn-primary:hover {
  background-color: #ffffff;
  color: #0a662f;
}

/* زر outline */
.hero .btn-outline {
  background-color: #0d9488;
  border: 2px solid #0d9488;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero .btn-outline:hover {
  background-color: #0a6e64;
  border-color: #0a6e64;
  color: #ffffff;
  transform: translateY(-1px);
}

/* النصوص الثانوية */
.hero .muted,
.hero .note,
.hero .lead {
  color: #ffffff;
  opacity: 1;
}

/* ========= Responsive fix for mobile ========= */
@media (max-width: 768px) {
  .hero,
  .hero-bleed {
    background: url("hero-bg-mobile.png") center/cover no-repeat;
    padding: 40px 16px 70px;
    text-align: left;
    position: relative;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-product-specs,
  .hero-bleed .lead,
  .hero-bleed .small-text {
    position: static !important;
    transform: none !important;
    width: 110%;
    margin: 1.rem 0;
    padding: 0 20px;
    text-align: left;
  }

  .hero-product-specs {
    margin-top: 1.8rem;
    font-size: 10px;
  }

   .hero-bleed .lead,
.hero-bleed .small-text {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: none;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  
  padding: 12px;
  border-radius: 8px;
  color: #fff;
}

  .hero .cta-row {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .hero .cta-row .btn {
    width: 220px;
  }
}



/* ===== TRUST BANNER ===== */
.trust-banner {
 padding:.9rem 0;
 background:#f1f5f9;
 border-top:3px solid #84cc16;
 border-bottom:1px solid #e2e8f0;
 text-align:center;
}
.trust-banner p {margin:.2rem 0;font-size:1rem;color:#334155;}
.trust-banner strong {color:#0f766e;}
/* ===== PRODUCTS ===== */
#products {
 padding:64px 0;
 background:
   linear-gradient(rgba(255,255,255,.25),rgba(255,255,255,.10)),
   url("leaf-pattern.png") center/cover no-repeat;
 background-attachment:fixed;
}
@media(max-width:1024px){#products{background-attachment:scroll}}
#products .grid {
 display:grid;
 gap:32px;
 grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
#products .card {
 background:#fff;
 border:1px solid #e5e7eb;
 border-radius:var(--radius);
 box-shadow:0 8px 24px rgba(2,6,23,.06);
 padding:18px;
 display:flex;
 flex-direction:column;
 transition:.2s ease;
}
#products .card:hover {transform:translateY(-2px)}
#products .tag {
 display:inline-flex;
 align-items:center;
 gap:.35rem;
 background:#f9fafb;
 border:1px solid #e2e8f0;
 padding:.35rem .6rem;
 border-radius:8px;
 font-weight:600;
 font-size:.92rem;
 color:var(--brand-ink);
 transition:.2s;
}
#products .tag:hover {
 background:#ecfdf5;
 border-color:var(--brand);
 color:#059669;
}
/* ===== COA ===== */
#coa .cta-row {
 display: flex;
 justify-content: center;
 gap: .8rem;
 flex-wrap: wrap;
 margin: 1rem 0 2rem;
}
#coa .btn {
 background: var(--brand);
 color: #fff;
 font-weight: 700;
 border-radius: 10px;
 padding: .7rem 1.2rem;
 font-size: 14px;
 transition: .2s ease;
}
#coa .btn:hover {
 background: #059669;
}
/* ===== SERVICES ===== */
#services {
  padding: 60px 0;
  background: #f9fafb;
}

#services h2 {
  text-align: center;
  font-weight: 900;
  margin-bottom: 24px;
  color: #0f172a;
}

/* ✅ Layout Grid */
#services .grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ✅ Individual Service Card */
#services .service {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(2,6,23, 0.06);
  overflow: hidden;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}

/* ✅ Image inside card */
#services .service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* ✅ Hover effect */
#services .service:hover {
  transform: translateY(-4px);
}

/* ✅ Text content inside card */
#services .service-text {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* ===== SERVICES ===== */
/* ✅ Heading style */
#services .service-text h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

/* ✅ Paragraph style */
#services .service-text p {
  margin: 0;
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
}


/* ===== LOGISTICS ===== */
#logistics {
 padding: 64px 0;
 background: #f9fafb;
}
#logistics .grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 32px;
}
#logistics .card {
 background: #fff;
 border: 1px solid #e5e7eb;
 border-radius: var(--radius);
 box-shadow: 0 8px 24px rgba(2,6,23,.06);
 padding: 18px;
 display: flex;
 flex-direction: column;
 transition: .2s ease;
}
#logistics .card:hover {
 transform: translateY(-4px);
}
#logistics .card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 margin-top: 12px;
 border-radius: 10px;
}
/* ??? ??????? ??????? */
@media (max-width: 640px) {
 #services,
 #logistics {
   padding: 40px 16px;
 }
}
/* ===== FEATURES ===== */
.features {
 display: flex;
 gap: 1rem;
 margin: .8rem 0;
 flex-wrap: wrap;
}
.feature {
 display: flex;
 align-items: center;
 gap: .4rem;
 background: #f9fafb;
 border: 1px solid #e2e8f0;
 padding: .4rem .8rem;
 border-radius: 8px;
 font-weight: 600;
 font-size: .92rem;
 color: var(--brand-ink);
 transition: .2s;
}
.feature:hover {
 background: #ecfdf5;
 border-color: var(--brand);
 color: #059669;
}
/* ===== CERTIFICATES ===== */
#certificates {
 padding-block: 40px;
 background-color: var(--paper-2);
}
#certificates .grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 20px;
 justify-items: center;
}
@media (max-width: 1000px) {
 #certificates .grid {
   grid-template-columns: repeat(2, 1fr);
 }
}
@media (max-width: 640px) {
 #certificates .grid {
   grid-template-columns: 1fr;
 }
}
#certificates .card {
 background: #f0ede5;
 border: 1px solid #dcdcdc;
 border-radius: var(--radius);
 padding: 20px;
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 width: 100%;
 max-width: 340px;
 min-height: 480px;
}
#certificates .card img {
 width: 100%;
 height: auto;
 max-height: 360px;
 object-fit: contain;
 background: var(--paper);
 border-radius: 10px;
 margin-bottom: 12px;
 aspect-ratio: 3 / 4;
}
#certificates .card h3 {
 font-size: 16px;
 color: var(--ink);
 margin: 0;
}
#certificates .card p {
 font-size: 14px;
 color: var(--soft);
 margin: 10px 0 20px;
}
#certificates .cta {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 10px;
 margin-top: auto;
}
/* ===== FOOTER ===== */
.foot {
 padding: 2rem 0;
 border-top: 1px solid #e2e8f0;
 color: var(--muted);
 font-size: 0.9rem;
 text-align: center;
}
/* ===== SCROLL OFFSET ===== */
section, [id] {
 scroll-margin-top: 110px;
}
/* ===== CONTACT SECTION ===== */
#contact {
 padding: 60px 0;
 background: #f4f8f9;
 font-size: 1rem;
}
.contact-heading {
 margin-bottom: 16px;
 font-size: 1.4rem;
 color: #005f4b;
 border-left: 4px solid #00a87a;
 padding-left: 10px;
}
.kbd {
 font-family: monospace;
 background: #e7f2f0;
 padding: 3px 6px;
 border-radius: 4px;
 display: inline-block;
 margin-top: 3px;
}
.bank-section {
 margin-top: 20px;
 padding: 12px;
 background: #ffffff;
 border: 1px solid #d4e6e2;
 border-radius: 8px;
}
.badges {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin: 10px 0;
}
.badge {
 background: #ffffff;
 border: 1px solid #00a87a;
 border-radius: 999px;
 padding: 4px 10px;
 font-size: 0.85rem;
 color: #005f4b;
}
form input,
form textarea {
 width: 100%;
 padding: 10px;
 border: 1px solid #bbb;
 border-radius: 6px;
 font-size: 1rem;
 background: #fff;
}
form label {
 display: block;
 font-weight: 600;
 color: #003c33;
}
.cta {
 margin-top: 14px;
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
}

/* ===== 💳 Payment Section ===== */
.payment-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.payment-text {
  max-width: 900px;
  margin: 0 auto;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
/
/* ===== NOTES & MUTED FIX ===== */
.note {
 font-size: 0.85rem;
 color: #666;
 margin-top: 12px;
}
/* ===== ABOUT SECTION ===== */
.about-bg {
 background-image: url('about-desktop.png');
 background-size: cover;
 background-position: center;
 padding: 80px 20px;
 text-align: center;
}
.about-note {
 font-size: 0.9rem;
 color: #444;
 margin-top: 20px;
 opacity: 0.85;
 text-align: center;
}
.content-box {
 background-color: rgba(255, 255, 255, 0.85);
 padding: 40px;
 border-radius: 12px;
 max-width: 900px;
 margin: auto;
}
/* ???????? */
@media (max-width: 768px) {
 .about-bg {
   background-image: url('about-mobile.png');
   padding: 60px 15px;
 }
 .content-box {
   padding: 25px;
 }
}
.info-section,
.form-section {
 margin-bottom: 40px;
}
/* ===== GLOBAL BUTTONS (FINAL CLEAN VERSION) ===== */
.btn {
 display: inline-block;
 padding: 10px 16px;
 font-size: 14px;
 font-weight: 600;
 border-radius: 8px;
 text-align: center;
 white-space: nowrap;
 cursor: pointer;
 text-decoration: none;
 transition: all 0.3s ease;
 border: none;
 background: transparent;
}
/* ?? ????? (????) */
.btn-primary {
 background-color: var(--brand);
 color: #ffffff ;
 border: 2px solid var(--brand);
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.btn-primary:hover {
 background-color: var(--brand-ink);
 border-color: var(--brand-ink);
 transform: translateY(-1px);
}
.btn-outline {
 background-color: #15803d ; /* ???? ????? */
 border: 2px solid #15803d ; /* ??? ????? */
 color: #ffffff ; /* ?? ???? */
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
 transition: all 0.3s ease;
}
.btn-outline:hover {
 background-color: #065f46 ; /* ?????? ?????? ??? ??????? */
 border-color: #065f46 ;
 transform: translateY(-1px);
}


/* ===== TRANSPARENT SLIM HEADER (FINAL VERSION) ===== */
header {
 position: relative !important;   /* ??? ???? */
 width: 100%;
 background: rgba(255, 255, 255, 0.05) !important; /* ???? ????? */
 backdrop-filter: blur(6px); /* ???? ???? */
 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
 height: auto;
 z-index: 100;
 transition: all 0.3s ease;
}

/* ????? ?????? ????? */
header .container.nav {
 height: 70px !important;
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0 20px;
}

/* ?????? */
header .logo-img {
 max-height: 85px !important;
 height: auto;
}

/* ?? ?????? */
header .brand-text {
 font-weight: 700;
 font-size: 1.1rem;
 color: #0a662f !important; /* ???? ???? */
 margin-left: 10px;
 text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

/* ????? ??????? */
header nav ul {
 display: flex;
 gap: 1rem;
 list-style: none;
 margin: 0;
 padding: 0;
}

header nav ul li a {
 color: #000000 !important;    /* ???? ???? */
 font-size: 0.8rem !important; /* ???? ?????? */
 font-weight: 500;
 text-decoration: none;
 transition: color 0.3s ease;
}

header nav ul li a:hover {
 color: #0a662f !important; /* ???? ??? ?????? */
}

/* ?? ????? */
header .lang select {
 background: rgba(255,255,255,0.15);
 border: 1px solid rgba(255,255,255,0.2);
 border-radius: 6px;
 color: #0a662f;
 padding: 4px 8px;
 font-size: 0.85rem;
}
/* ????? ????? */
@media (max-width: 768px) {
 header .container.nav {
   height: 64px !important;
   flex-wrap: wrap;
   justify-content: center;
 }

@media (max-width: 768px) {
  header .container.nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: auto !important;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
  }

  header .logo-img {
    max-height: 64px !important;
    height: auto !important;
  }

  header .brand-text {
    font-size: 0.9rem !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  header nav {
    width: 100% !important;
    margin-top: 8px;
  }

  header nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  header nav ul li a {
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    padding-bottom: 3px !important;
    border-bottom: 2px solid #0a662f !important;
    color: #0a662f !important;
    text-decoration: none !important;
  }

  header .lang {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  header .lang select {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 6px !important;
    color: #0a662f !important;
    padding: 4px 8px !important;
    font-size: 0.85rem !important;
  }
}
/* ===================================== */
/* 🔄 Landscape View on Phones (e.g. Pro Max) */
/* ===================================== */
@media (max-width: 930px) and (orientation: landscape) and (max-height: 500px) {
  header .container.nav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: auto !important; /* خليه auto عشان يتوسع حسب المحتوى */
    min-height: 64px;         /* ضمان الحد الأدنى للارتفاع */
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 999;
  }

  header {
    padding-top: env(safe-area-inset-top); /* دعم لأجهزة iOS */
  }

  .hero-bleed,
  .hero-content {
    padding-top: 90px !important; /* المسافة من فوق عشان يبعد عن الهيدر */
  }
}


/* =============== HERO SECTION (FULL WIDTH BRIGHT VERSION) =============== */
.hero,
.hero-bleed {
 position: relative;
 width: 100vw;                              /* ????? ?????? */
 margin-left: calc(50% - 50vw);             /* ????? ???? ??? container */
 padding: 60px 20px;
 background: url("hero-bg-desktop.png") center/cover no-repeat; /* ?????? ??? ???? ?? ????? */
 background-color: #ffffff;                 /* ??????? ???? ???? */
 overflow: hidden;
 text-align: left;
 z-index: 0;
}
/* ????? ?? ???? ????? */
.hero::before,
.hero-bleed::before {
 content: none ;
}
/* ???? ???? ?????? */
.hero :is(h1, h2, h3, h4, h5, h6, p, span, strong, li, a, .lead, .muted, .note, .badge),
.hero-bleed :is(h1, h2, h3, h4, h5, h6, p, span, strong, li, a, .lead, .muted, .note, .badge) {
 color: #ffffff ;
 text-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
 position: relative;
 z-index: 2;
}
/* ???????? ??????? */
.hero h1 {
 font-size: clamp(36px, 6vw, 60px);
 font-weight: 700;
 margin-bottom: 0.6rem;
}
.hero p {
 font-size: clamp(15px, 2vw, 18px);
 line-height: 1.5;
 max-width: 720px;
 margin-bottom: 1rem;
}
/* ?? ??????? */
.hero .cta-row {
 display: flex ;
 justify-content: center ;
 align-items: center ;
 flex-wrap: wrap ;
 gap: 14px ;
 margin-top: 22px ;
 position: relative;
 z-index: 2;
}
/* ??????? */
.hero .cta-row .btn {
 width: 200px ;
 height: 48px ;
 line-height: 48px ;
 text-align: center ;
 border-radius: 8px;
 font-weight: 600;
 font-size: 16px;
 transition: all 0.3s ease;
}
/* ?? ????? */
.hero .btn-primary {
 background-color: #0a662f ;
 border: 2px solid #ffffff ;
 color: #ffffff ;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.hero .btn-primary:hover {
 background-color: #ffffff ;
 color: #0a662f ;
}
/* ?? ????? */
.hero .btn-outline {
 background-color: #0d9488 ;
 border: 2px solid #0d9488 ;
 color: #ffffff ;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.hero .btn-outline:hover {
 background-color: #0a6e64 ;
 border-color: #0a6e64 ;
 color: #ffffff ;
 transform: translateY(-1px);
}
/* ????? ????? ??????? */
.hero .muted,
.hero .note,
.hero .lead {
 color: #ffffff ;
 opacity: 1 ;
}
/* ??????? */
@media (max-width: 768px) {
 .hero,
 .hero-bleed {
   background: url("hero-bg-mobile.png") center/cover no-repeat;
   padding: 40px 16px 60px;
   text-align: center;
 }
 .hero h1 { font-size: 28px; }
 .hero p { font-size: 15px; }
 .hero .cta-row {
   gap: 12px ;
   flex-direction: row ;
   justify-content: center ;
 }
 .hero .cta-row .btn {
   width: 200px ;
   min-width: 200px ;
 }
}
@media (max-width: 380px) {
 .hero .cta-row {
   flex-direction: column ;
   align-items: center ;
   gap: 12px ;
 }
 .hero .cta-row .btn {
   width: 220px ;
 }
}

/* ===== HERO TEXT GLOW / SHADOW FOR READABILITY ===== */
.hero :is(h1, h2, h3, h4, h5, h6, p, strong, span, li, a, .lead, .muted, .note, .badge),
.hero-bleed :is(h1, h2, h3, h4, h5, h6, p, strong, span, li, a, .lead, .muted, .note, .badge) {
 text-shadow:
   0 2px 4px rgb(0 0 0),   /* ?? ???? ???? */
   0 0 3px rgb(21 22 21);     /* ???? ???? ??? ???? */
}
/* ===== PERMANENT UNDERLINE FOR NAV LINKS (ALL DEVICES) ===== */
header nav ul li a {
 position: relative;
 color: #000000 ;      /* ??? ???? */
 text-decoration: none ;
 font-weight: 500;
 padding-bottom: 4px ; /* ????? ??? ???? ????? */
 border-bottom: 2px solid #0a662f ; /* ???? ?????? */
} /* ? ??? ??? ????? ??? */
header nav ul li a:hover {
 border-bottom-color: #0d9488 ; /* ???? ?????? */
 color: #0a662f ;
}
/* ===== DESKTOP HEADER CLEAN LAYOUT (GRID) ===== */
@media (min-width: 769px) {
 /* ?????? Grid: ???? | ????? | ?? ??? */
 header .container.nav {
   display: grid ;
   grid-template-columns: auto 1fr auto ;
   align-items: center ;
   gap: 10px ;
   height: 70px ;
   padding: 0 20px ;
   box-sizing: border-box ;
 }
 /* ????? ??????? */
 header nav { justify-self: center ; }
 html:not([dir="rtl"]) header .lang { justify-self: end ; }
 html[dir="rtl"]        header .lang { justify-self: start ; }
}
/* ===== PERMANENT UNDERLINE FOR NAV LINKS (ALL DEVICES) ===== */
header nav ul {
 display: flex;
 gap: 1rem;
 list-style: none;
 margin: 0;
 padding: 0;
}
header nav ul li a {
 position: relative;
 color: #000000 ;
 text-decoration: none ;
 font-weight: 500;
 padding-bottom: 4px ;
 border-bottom: 2px solid #0a662f ;
header nav ul li a:hover {
 border-bottom-color: #0d9488 ;
 color: #0a662f ;
}


@media (max-width: 768px) {
  header .container.nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: auto !important;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
  }

  header .logo-img {
    max-height: 64px !important;
    height: auto !important;
  }

  header .brand-text {
    font-size: 0.9rem !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  header nav {
    width: 100% !important;
    margin-top: 8px;
  }

  header nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  header nav ul li a {
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    padding-bottom: 3px !important;
    border-bottom: 2px solid #0a662f !important;
    color: #0a662f !important;
    text-decoration: none !important;
  }

  header .lang {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  header .lang select {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 6px !important;
    color: #0a662f !important;
    padding: 4px 8px !important;
    font-size: 0.85rem !important;
  }
}
 
/* === FIX: Separate language selector column (for all languages) === */
@media (min-width: 769px) {
 header .container.nav {
   display: grid ;
   grid-template-columns: auto 1fr auto ;
   align-items: center ;
 }
 /* ???? ?? ??????? ???? ?? ??????? */
 header nav {
   justify-self: center ;
 }
 /* ?? ????? ???? ?? ???? ?????? */
 header .lang {
   justify-self: end ;
   position: relative ;
   right: 0 ;
   left: auto ;
   margin-left: 20px ;
   display: flex ;
   align-items: center ;
   gap: 6px ;
 }







/* ✅ اجعل الهيدر دائمًا LTR مهما كانت اللغة */
header .container.nav {
  direction: ltr !important;
  text-align: left !important;
  flex-direction: row !important;
}

/* ✅ تأكيد على ترتيب زر اللغة دائمًا */
header .lang {
  direction: ltr !important;
  flex-direction: row !important;
}

/* ✅ حتى في RTL على الموبايل */
@media (max-width: 768px) {
  html[dir="rtl"] header .container.nav {
    direction: ltr !important;
    text-align: left !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html[dir="rtl"] header .lang {
    right: 16px !important;
    left: auto !important;
  }
}
 
}}}}



/* ===================================================
   إصلاحات شريط الرأس (Header) — تنسيق ثابت ولغات متعددة
   =================================================== */

/* شكل البار القديم (نحيف) ومسافات متوازنة */
header .container.nav {
  height: 68px !important;              /* ارتفاع البار القديم */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row !important;       /* ثابت دائماً - لا ينعكس */
  padding: 0 22px !important;           /* توازن جانبي */
  gap: 18px !important;                 /* مسافات بين العناصر */
}

/* زر اللغة والأيقونة */
header .lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  top: 0;
  right: 0;
}

/* فصل الروابط والكلمات ومنع الالتصاق والانكسار */
header nav a,
header nav span,
header nav button {
  margin: 0 6px !important;
  white-space: nowrap;
}



html[dir="rtl"] header .lang {
  right: -15px !important;
  left: auto !important;
}

/* ✅ Fix: Keep header LTR on all devices, even RTL languages */
header .container.nav {
  direction: ltr !important;
  text-align: left !important;
}




/* === ✅ Fix: Position Language Selector in Mobile View === */
@media (max-width: 768px) {
  header .lang {
    position: absolute !important;
    top: 10px !important;
    right: 16px !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 999 !important;
  }
}

/* ✅ RTL Fix for Arabic and similar */
@media (max-width: 768px) {
  html[dir="rtl"] header .lang {
    right: auto !important;
    left: 16px !important;
  }
}



@media (max-width: 768px) {
  header .container.nav {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    gap: 4px !important;
    min-height: 48px !important;
  }

  header .logo-img {
    max-height: 64px !important;
    height: 64px !important;
    margin-top: -10px !important;
    margin-bottom: -6px !important;
  }

  header .brand-text {
    font-size: 0.85rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    max-width: 100%;
    text-align: center !important;
  }

  header .lang {
    margin-top: 2px !important;
  }
}





@media (max-width: 768px) {
  /* ✅ الأزرار العلوية */
  .cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
  }

 .hero-product-specs {
  margin-top: 1.4rem !important;
}
 
  .cta-row a {
    width: 100%;
    max-width: 280px;
    text-align: center;
    border: 2px solid #007c2e !important;
    border-radius: 6px;
  }

  /* ✅ الأزرار السفلية داخل .hero-card أو القسم المماثل */
  .hero-card a {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 8px auto;
    text-align: center;
    border: 2px solid #007c2e !important;
    border-radius: 6px;
  }
}



/* 🌑 تحسين التباين البصري فوق الصورة */
.hero-bleed::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.55));
  z-index: 1;
}

/* ✨ تحسين وضوح النصوص أكثر */
.hero :is(h1, p, strong, li) {
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.7) !important;
}


/* Floating caption over hero background */
.hero-bleed{ position: relative; }
.hero-caption-special{
  position: absolute;
  left: 64px;
  bottom: 76px;           /* اضبطها حسب ذوقك */
  color: #e6c16d;         /* الذهبي */
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,.65);
  max-width: 720px;
}
/* 🌿 تعديل عام للبطل */
.hero-content {
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem 1.5rem 1.5rem;
  border-radius: 8px;
}

/* 📱 تحسين العرض على الهواتف */
@media (max-width: 768px) {

  .hero-caption-special {
    position: static;
    margin-top: 1rem;
    padding: 0.6rem 0.9rem;
    background: rgba(10, 102, 47, 0.12);
    border-left: 4px solid #e6c16d;
    border-radius: 8px;
    color: #fff;
  }

  .hero-content {
    text-align: center;
    padding: 1.75rem 1.25rem 3.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  }

  .hero-specs-box {
    margin-top: 1.5rem;
    padding: 1.25rem 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
  }

  .hero-specs-box h1,
  .hero-specs-box h2 {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .hero-specs-box p,
  .hero-specs-box li {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
  }

  .hero-specs-box .trade-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
    font-style: italic;
  }

  .mobile-bottom-spacer {
    height: 3rem;
  }
}










@media (max-width: 768px) {
  .hero-title {
    font-size: 1.2rem;
    line-height: 1.6;
    word-break: break-word;
  }

  .hero-content p,
  .hero-specs-box li {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero-content {
    padding: 1.5rem 1rem 4rem;
    background: rgba(0, 0, 0, 0.3);
  }
}








 }}}}
