/* =====================================================================
   MEDITEX - Premium Corporate Stylesheet
   Colors: Navy #0A2540 | Gold #D4AF37 | White
   Fonts: Poppins (EN) / Tajawal (AR)
   ===================================================================== */

:root {
  --navy: #0A2540;
  --navy-light: #14365c;
  --navy-dark: #061a30;
  --gold: #D4AF37;
  --gold-light: #e3c75f;
  --gold-dark: #b8962b;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e6e9ee;
  --gray-300: #d1d6de;
  --gray-500: #8a93a3;
  --gray-700: #4a5260;
  --gray-900: #1a1f2a;
  --success: #2a9d6b;
  --warning: #e9a23b;
  --error: #d64545;
  --shadow-sm: 0 2px 8px rgba(10,37,64,.06);
  --shadow-md: 0 8px 24px rgba(10,37,64,.10);
  --shadow-lg: 0 20px 50px rgba(10,37,64,.14);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 0;
}

html[dir="rtl"] body { font-family: 'Tajawal', sans-serif; }

h1,h2,h3,h4,h5,h6 { font-weight: 600; line-height: 1.25; color: var(--navy); }
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4 { font-family: 'Tajawal', sans-serif; }

a { text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; }

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

html:not(.aos-ready) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-gold { background: var(--gold) !important; }
.bg-light-soft { background: var(--gray-50); }

/* ---------- Section heading ---------- */
.section-title { margin-bottom: 50px; }
.section-title .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 40px;
}
.section-title .eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 30px; height: 2px; background: var(--gold);
}
html[dir="rtl"] .section-title .eyebrow { padding-left: 0; padding-right: 40px; }
html[dir="rtl"] .section-title .eyebrow::before { left: auto; right: 0; }

.section-title h2 { font-size: 2.4rem; font-weight: 700; }
.section-title p { color: var(--gray-500); max-width: 620px; margin: 14px auto 0; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius-sm); font-weight: 500; padding: 12px 28px; transition: all var(--transition); border: none; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 32px;
  box-shadow: 0 22px 60px rgba(212,175,55,.18);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 26px 78px rgba(212,175,55,.22);
}

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

.btn-outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

.btn-whatsapp { background: #25D366; color: #fff; font-weight: 500; }
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  transition: transform .35s cubic-bezier(.25,.8,.25,1), opacity .35s ease, background .35s ease, padding .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, color .35s ease;
  background: transparent;
  z-index: 1100;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity, background;
}
#mainNav.scrolled {
  background: rgba(255,255,255,.92);
  padding: 10px 0;
  box-shadow: 0 28px 80px rgba(10,37,64,.12);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
#mainNav.scrolling-up {
  background: rgba(255,255,255,.62);
  box-shadow: 0 12px 32px rgba(10,37,64,.08);
  backdrop-filter: blur(14px);
}
#mainNav .navbar-brand { color: #fff; transition: color .35s ease, transform .35s ease; }
#mainNav.scrolled .navbar-brand { color: var(--navy); transform: translateY(-1px); }
#mainNav.scrolled .brand-text { color: var(--navy); }
#mainNav.scrolled .nav-link { color: rgba(10,37,64,.78); }
#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active { color: var(--gold); }
#mainNav.scrolled .brand-mark { background: var(--navy); color: #fff; }
#mainNav.scrolled .lang-switch a { color: rgba(10,37,64,.72); }
#mainNav.scrolled .lang-switch a.active { color: var(--gold-dark); }
#mainNav.scrolled .lang-switch a:hover { color: var(--navy); }
#mainNav.scrolled .navbar-toggler { border-color: rgba(10,37,64,.35); }
#mainNav.scrolled .navbar-toggler-icon { filter: brightness(0); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 14px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 1.3rem;
}
.brand-text { color: #fff; font-size: 1.4rem; letter-spacing: .5px; }
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 58px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), filter 0.35s ease;
  display: inline-block;
  vertical-align: middle;
}
.navbar-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.65));
}
#mainNav.scrolled .brand-logo-img {
  filter: drop-shadow(0 2px 6px rgba(10, 37, 64, 0.22));
}

.hero-badge-crest {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-inline-end: 6px;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.5));
  transition: transform 0.3s ease;
  vertical-align: middle;
}
.pulse-badge:hover .hero-badge-crest {
  transform: scale(1.2) rotate(4deg);
}

.footer-logo-crest {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.35));
  transition: transform 0.35s ease;
}
.footer-logo-crest:hover {
  transform: scale(1.08) rotate(-2deg);
}

.brand-seal-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,251,0.95));
  border: 1.5px solid rgba(212,175,55,0.38);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(10,37,64,0.06);
  transition: all 0.35s ease;
}
.brand-seal-box:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,0.65);
  box-shadow: 0 16px 42px rgba(212,175,55,0.16);
}
.brand-seal-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(212,175,55,0.35));
  transition: transform 0.35s ease;
}
.brand-seal-box:hover .brand-seal-img {
  transform: scale(1.08) rotate(3deg);
}

#mainNav .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  margin: 0 6px;
  position: relative;
  padding: 8px 4px !important;
}
#mainNav .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold); width: 0; transition: width var(--transition);
}
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: #fff; }
#mainNav .nav-link:hover::after, #mainNav .nav-link.active::after { width: 100%; }

.lang-switch a { color: rgba(255,255,255,.7); font-weight: 600; font-size: .85rem; padding: 0 4px; }
.lang-switch a.active { color: var(--gold); }
.lang-switch a:hover { color: #fff; }

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(212,175,55,.3); }

/* ---------- Hero ---------- */
/* Positioned exactly like About Us page-hero */
.hero {
  position: relative;
  padding: 180px 0 115px;
  color: #fff;
  background-color: var(--navy-dark);
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content-wrap {
  max-width: 820px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.hero p.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-specialties {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem !important;
  margin-bottom: 30px !important;
}
.hero-specialties i { color: var(--gold); font-size: 1.05rem; }

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-buttons .btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-buttons .btn-outline-light { border-color: rgba(255,255,255,.72); }
.hero-buttons .btn-outline-light:hover { border-color: #fff; }

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 70px;
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }
  .hero-buttons .btn {
    width: 100%;
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  color: #fff;
  background-color: var(--navy);
  background: linear-gradient(180deg, rgba(6,26,48,.82) 0%, rgba(6,26,48,.64) 100%),
              url('../images/hero-home.png') center/cover no-repeat;
}
.page-hero h1 { color: #fff; font-size: 2.8rem; font-weight: 700; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 640px; }

/* ---------- Products page ---------- */
.products-hero {
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 150px 0 82px;
  background:
    linear-gradient(105deg, rgba(6,26,48,.9), rgba(6,26,48,.68)),
    var(--products-hero-image, url('../images/product-hero.png')) center 42%/cover no-repeat;
}
.products-hero h1 {
  max-width: 780px;
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  line-height: 1.14;
}
.products-hero p {
  max-width: 670px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.92);
  font-size: 1.08rem;
  line-height: 1.8;
}
.products-hero-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: .87rem;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.products-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.products-hero-link i { color: var(--gold-light); transition: transform var(--transition); }
.products-hero-link:hover { color: var(--gold-light); }
.products-hero-link:hover i { transform: translateY(4px); }
.textile-materials { background: var(--gray-50); }
.textile-materials-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 440px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10,37,64,.07);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(10,37,64,.09);
}
.textile-materials-image {
  min-height: 440px;
  overflow: hidden;
  background: var(--gray-200);
}
.textile-materials-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.textile-materials-card:hover .textile-materials-image img { transform: scale(1.035); }
.textile-materials-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
}
.textile-materials-content .eyebrow,
.catalog-heading .eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--gold-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.textile-materials-content h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.2;
}
.textile-materials-content > p {
  margin: 0;
  color: var(--gray-700);
  font-size: .98rem;
  line-height: 1.85;
}
.textile-materials-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 25px;
  padding: 0;
  list-style: none;
}
.textile-materials-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--navy);
  font-size: .93rem;
  font-weight: 500;
}
.textile-materials-list i { color: var(--gold-dark); font-size: 1.05rem; }
.textile-materials-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.textile-materials-actions .btn { padding: 12px 23px; }
.textile-materials-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
}
.textile-materials-link i { color: var(--gold-dark); }
.textile-materials-link:hover { color: var(--gold-dark); }
.product-lines {
  padding: 82px 0;
  background: #fff;
}
.product-lines .section-title { margin-bottom: 34px; }
.product-lines .section-title .eyebrow { color: var(--gold-dark); }
.product-lines .section-title h2 {
  margin-top: 4px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.product-lines .section-title p {
  max-width: 700px;
  color: var(--gray-700);
}
.textile-range-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.textile-range-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #fbfbfa);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.textile-range-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,175,55,.55);
  box-shadow: var(--shadow-md);
}
.textile-range-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: rgba(212,175,55,.15);
  color: var(--gold-dark);
  font-size: 1.35rem;
}
.textile-range-number {
  position: absolute;
  top: 29px;
  right: 24px;
  color: rgba(10,37,64,.3);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.3px;
}
html[dir="rtl"] .textile-range-number { right: auto; left: 24px; }
.textile-range-card h3 { margin: 0 0 9px; font-size: 1.08rem; }
.textile-range-card p { margin: 0; color: var(--gray-700); font-size: .88rem; line-height: 1.7; }
#product-catalog { scroll-margin-top: 90px; background: var(--gray-50); }
.catalog-heading { margin-bottom: 28px; }
.catalog-heading h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
}
.catalog-heading p { max-width: 700px; margin: 0; color: var(--gray-700); }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px !important;
  padding: 15px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.filter-bar .search-box { flex: 1 1 250px; }
.filter-chip { min-height: 42px; }
html[dir="rtl"] .textile-materials-content { align-items: flex-start; text-align: right; }
html[dir="rtl"] .textile-materials-actions { justify-content: flex-start; }
html[dir="rtl"] .textile-range-card { text-align: right; }
@media (max-width: 991px) {
  .textile-materials-card { grid-template-columns: 1fr 1fr; }
  .textile-materials-image,
  .textile-materials-image img { min-height: 390px; }
  .textile-materials-content { padding: 30px; }
  .textile-range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .products-hero { min-height: 420px; padding: 130px 0 62px; background-position: 58% center; }
  .textile-materials-card { grid-template-columns: 1fr; }
  .textile-materials-image,
  .textile-materials-image img { min-height: 0; height: 300px; }
  .textile-materials-content { padding: 30px 24px; }
  .product-lines { padding: 58px 0; }
  .filter-bar { gap: 8px; padding: 12px; }
  .filter-bar .search-box { flex-basis: 100%; }
  .filter-chip { padding: 8px 14px; }
}
@media (max-width: 479px) {
  .textile-range-grid { grid-template-columns: 1fr; }
  .textile-range-card { min-height: 0; }
  .textile-range-icon { margin-bottom: 18px; }
  .textile-materials-actions { align-items: stretch; flex-direction: column; }
  .textile-materials-actions .btn { width: 100%; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-wrap { background: var(--gray-50); padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.breadcrumb { margin: 0; background: transparent; padding: 0; font-size: .9rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .active { color: var(--gray-500); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray-300); }

/* ---------- Why Choose Us cards ---------- */
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  text-align: center; height: 100%;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold); font-size: 1.8rem; margin-bottom: 22px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; transform: rotateY(360deg); }
.feature-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--gray-500); font-size: .92rem; margin: 0; }

/* ---------- Textile services spotlight ---------- */
.textile-services {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 88px;
  background:
    radial-gradient(circle at 92% 8%, rgba(212,175,55,.09), transparent 27%),
    linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}
.textile-services .eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.textile-services h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.textile-intro { color: var(--gray-700); font-size: 1.02rem; line-height: 1.85; margin-bottom: 22px; }
.textile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid rgba(212,175,55,.6);
  padding: 7px 0;
}
.textile-link i { color: var(--gold-dark); transition: transform var(--transition); }
.textile-link:hover { color: var(--gold-dark); }
.textile-link:hover i { transform: translateX(4px); }
html[dir="rtl"] .textile-link:hover i { transform: translateX(-4px); }
.textile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.textile-card {
  position: relative;
  min-height: 230px;
  padding: 26px 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,37,64,.08);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(10,37,64,.05);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.textile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,.48);
  box-shadow: var(--shadow-md);
}
.textile-card-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  background: rgba(212,175,55,.14);
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.textile-card-number {
  position: absolute;
  top: 29px;
  right: 24px;
  color: rgba(10,37,64,.22);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
html[dir="rtl"] .textile-card-number { right: auto; left: 24px; }
.textile-card h3 { font-size: 1.12rem; margin-bottom: 9px; }
.textile-card p { color: var(--gray-500); font-size: .88rem; line-height: 1.7; margin: 0; }
html[dir="rtl"] .textile-services { text-align: right; }
@media (max-width: 575px) {
  .textile-grid { grid-template-columns: 1fr; gap: 14px; }
  .textile-card { min-height: 0; padding: 24px; }
}

/* ---------- Category cards (القطاعات المتخصصة) ---------- */
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(10, 37, 64, 0.12);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Dégradé : 80% de la photo est 100% visible et totalement limpide */
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 80%,
    rgba(6, 26, 48, 0.25) 90%,
    rgba(6, 26, 48, 0.85) 100%
  );
  transition: background 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.cat-card:hover::after {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 78%,
    rgba(6, 26, 48, 0.35) 88%,
    rgba(6, 26, 48, 0.92) 100%
  );
}
/* Le beau reflet vitré aéré et cohérent (frosted glassmorphism) sur les 20% du bas */
.cat-card .cat-body {
  position: relative;
  z-index: 2;
  padding: 16px 20px 18px;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 6px 12px;
  background: linear-gradient(
    to top,
    rgba(6, 26, 48, 0.96) 0%,
    rgba(6, 26, 48, 0.82) 60%,
    rgba(6, 26, 48, 0.48) 88%,
    rgba(6, 26, 48, 0.15) 100%
  );
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 -8px 24px rgba(6, 26, 48, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.35s ease;
}
.cat-card:hover .cat-body {
  background: linear-gradient(
    to top,
    rgba(6, 26, 48, 0.98) 0%,
    rgba(6, 26, 48, 0.88) 60%,
    rgba(6, 26, 48, 0.58) 90%,
    rgba(6, 26, 48, 0.25) 100%
  );
  border-top-color: var(--gold);
  box-shadow: 0 -12px 30px rgba(6, 26, 48, 0.65), inset 0 1px 0 rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}
.cat-card .cat-body i {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
  transition: transform 0.3s ease, color 0.3s ease;
}
.cat-card:hover .cat-body i {
  transform: scale(1.1);
  color: var(--gold-light);
}
.cat-card h4 {
  grid-column: 2;
  grid-row: 1;
  color: #fff;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.cat-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 4px 0 0 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-card:hover img {
  transform: scale(1.06);
}
.cat-card:hover {
  color: #fff;
}

/* ---------- Product cards ---------- */
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); height: 100%;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--gray-100); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 50px;
}
html[dir="rtl"] .product-badge { left: auto; right: 14px; }
.product-stock {
  position: absolute; top: 14px; right: 14px;
  background: rgba(42,157,107,.95); color: #fff;
  font-size: .7rem; font-weight: 500; padding: 5px 10px; border-radius: 50px;
}
html[dir="rtl"] .product-stock { right: auto; left: 14px; }
.product-stock.order { background: rgba(233,162,59,.95); }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body .ref { font-size: .75rem; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.product-body h5 { font-size: 1.1rem; margin: 6px 0 10px; }
.product-body .desc { color: var(--gray-500); font-size: .88rem; margin-bottom: 14px; flex: 1; }
.product-meta { font-size: .82rem; color: var(--gray-700); margin-bottom: 4px; }
.product-meta strong { color: var(--navy); }
.product-price {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-200);
}
.product-price .price { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.product-price .price small { font-size: .75rem; color: var(--gray-500); font-weight: 400; }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { padding: 8px 14px; font-size: .8rem; }

/* ---------- Process steps ---------- */
.process-step { text-align: center; position: relative; padding: 20px; }
.process-step .step-num {
  width: 80px; height: 80px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 20px; position: relative;
  box-shadow: 0 10px 30px rgba(10,37,64,.2);
}
.process-step .step-num::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed var(--gold); opacity: .4;
}
.process-step h5 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { color: var(--gray-500); font-size: .9rem; margin: 0; }

/* ---------- Stats ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; padding: 70px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,.08) 0%, transparent 70%);
}
.stat-item { text-align: center; }
.stat-item .stat-num { font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-item .stat-label { color: rgba(255,255,255,.8); margin-top: 10px; font-size: .95rem; }

/* ---------- CTA banner (Modern Luxury Industrial Design) ---------- */
.cta-section-wrap {
  position: relative;
  z-index: 5;
  padding: 40px 0 60px;
}

.cta-luxury-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 60px 52px;
  background: radial-gradient(120% 140% at 85% 15%, #0f3258 0%, #071e36 40%, #041220 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: 
    0 25px 65px -15px rgba(4, 18, 32, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(212, 175, 55, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.cta-luxury-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 
    0 35px 80px -15px rgba(4, 18, 32, 0.65),
    0 0 35px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Ambient Floating Glow Layers */
.cta-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.cta-glow-1 {
  width: 480px;
  height: 480px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0) 70%);
  animation: ctaOrbFloat1 12s ease-in-out infinite alternate;
}

html[dir="rtl"] .cta-glow-1 {
  right: auto;
  left: -100px;
}

.cta-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -80px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 70%);
  animation: ctaOrbFloat2 15s ease-in-out infinite alternate;
}

html[dir="rtl"] .cta-glow-2 {
  left: auto;
  right: -80px;
}

@keyframes ctaOrbFloat1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-35px, 30px) scale(1.18); opacity: 0.95; }
  100% { transform: translate(25px, -20px) scale(0.92); opacity: 0.6; }
}

@keyframes ctaOrbFloat2 {
  0% { transform: translate(0, 0) scale(0.95); opacity: 0.5; }
  50% { transform: translate(40px, -25px) scale(1.12); opacity: 0.85; }
  100% { transform: translate(-20px, 35px) scale(1.05); opacity: 0.6; }
}

/* Precision Textile Micro-weave Texture Overlay */
.cta-weave-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.12) 1.2px, transparent 1.2px),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 14px 14px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

/* Watermark Crest Background */
.cta-watermark {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 320px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  filter: grayscale(100%) brightness(300%);
  user-select: none;
}

html[dir="rtl"] .cta-watermark {
  right: auto;
  left: 2%;
}

.cta-watermark img {
  width: 100%;
  height: auto;
  display: block;
}

/* Eyebrow Badge & Live Pulsing Indicator */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  width: fit-content;
}

.cta-pulse-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: ctaLivePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes ctaLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cta-badge-text {
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Typography */
.cta-title {
  color: #ffffff;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.cta-desc {
  color: rgba(241, 245, 249, 0.88);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.85;
  max-width: 720px;
  font-weight: 400;
}

/* Trust Strip & Technical Credential Badges */
.cta-trust-strip {
  margin-top: 4px;
}

.cta-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-trust-pill:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.cta-trust-pill i {
  font-size: 1rem;
}

/* Premium Metallic Shimmer Button */
.btn-cta-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 38px;
  background: linear-gradient(135deg, #fce072 0%, #d4af37 45%, #b48e24 100%);
  color: #041220 !important;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none !important;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    0 12px 30px rgba(212, 175, 55, 0.38),
    0 4px 10px rgba(4, 18, 32, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 0 rgba(140, 105, 15, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.2px;
}

/* Continuous Light Sweep Animation across the button */
.btn-cta-luxury::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 90%
  );
  transform: rotate(25deg);
  animation: ctaBtnSweep 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaBtnSweep {
  0%, 70% { left: -85%; }
  100% { left: 160%; }
}

.btn-cta-luxury:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 20px 42px rgba(212, 175, 55, 0.55),
    0 6px 14px rgba(4, 18, 32, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #020912 !important;
}

.btn-cta-luxury i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-cta-luxury:hover i {
  transform: translateX(5px);
}

html[dir="rtl"] .btn-cta-luxury:hover i {
  transform: translateX(-5px);
}

.cta-reassurance {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  font-weight: 500;
  text-align: inherit;
}

/* Legacy .cta-banner fallback */
.cta-banner {
  border-radius: 28px;
  padding: 50px 40px;
  background: radial-gradient(120% 140% at 85% 15%, #0f3258 0%, #071e36 40%, #041220 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .cta-luxury-card {
    padding: 44px 30px;
    border-radius: 22px;
  }
  .cta-title {
    font-size: 1.65rem;
  }
  .cta-actions-wrap {
    align-items: flex-start !important;
    text-align: start !important;
  }
  .btn-cta-luxury {
    width: 100%;
    justify-content: center;
  }
  .cta-reassurance {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .cta-luxury-card {
    padding: 34px 20px;
  }
  .cta-title {
    font-size: 1.4rem;
    line-height: 1.42;
  }
  .cta-desc {
    font-size: 0.93rem;
  }
  .cta-trust-strip {
    gap: 8px !important;
  }
  .cta-trust-pill {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .btn-cta-luxury {
    font-size: 1rem;
    padding: 14px 24px;
  }
}

/* ---------- Textile production journey ---------- */
.factory-journey {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(212,175,55,.1), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}
.factory-journey-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 38px;
}
.factory-journey-heading > div { max-width: 570px; }
.factory-journey-heading .eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.factory-journey-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.18;
}
.factory-journey-heading p {
  max-width: 450px;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0;
}
.factory-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.factory-journey-card {
  position: relative;
  min-height: 220px;
  padding: 27px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10,37,64,.08);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(10,37,64,.05);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.factory-journey-card::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  right: -48px;
  bottom: -55px;
  border: 1px solid rgba(212,175,55,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(212,175,55,.035), 0 0 0 28px rgba(212,175,55,.025);
  pointer-events: none;
}
.factory-journey-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,175,55,.5);
  box-shadow: var(--shadow-md);
}
.factory-journey-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.factory-journey-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(212,175,55,.14);
  color: var(--gold-dark);
  font-size: 1.5rem;
}
.factory-journey-number {
  color: rgba(10,37,64,.28);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.factory-journey-card h3 {
  font-size: 1.12rem;
  margin-bottom: 9px;
}
.factory-journey-card p {
  max-width: 36ch;
  color: var(--gray-700);
  font-size: .91rem;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 767px) {
  .factory-journey-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .factory-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .factory-journey-card { min-height: 210px; padding: 22px; }
}
@media (max-width: 479px) {
  .factory-journey-grid { grid-template-columns: 1fr; }
  .factory-journey-card { min-height: 0; }
}

/* ---------- About page ---------- */
.about-img-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 45px rgba(10,37,64,0.12); border: 1px solid rgba(10,37,64,0.08); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.about-img-wrap:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(10,37,64,0.18); }
.about-img-wrap:hover img { transform: scale(1.02); }
.about-img-wrap img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.about-img-wrap .exp-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--gold); color: var(--navy);
  padding: 18px 26px; border-radius: var(--radius-sm);
  text-align: center;
}
.about-img-wrap .exp-badge .num { font-size: 2rem; font-weight: 700; line-height: 1; }
.about-img-wrap .exp-badge .lbl { font-size: .8rem; font-weight: 500; }

.value-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--gray-200); height: 100%; transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card i { font-size: 2rem; color: var(--gold); margin-bottom: 14px; }
.value-card h5 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--gray-500); font-size: .9rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--gray-200); text-align: center; height: 100%;
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-card i { font-size: 2.2rem; color: var(--gold); margin-bottom: 16px; }
.contact-card h5 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { color: var(--gray-500); margin: 0; }

.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); }
.home-contact-form { max-width: 760px; }
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 1px solid var(--gray-300);
  padding: 12px 16px; font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}
.form-label { font-weight: 500; color: var(--navy); font-size: .9rem; }

.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-item .accordion-button { font-weight: 500; color: var(--navy); padding: 18px 22px; }
.faq-item .accordion-button:not(.collapsed) { background: var(--gray-50); color: var(--navy); }
.faq-item .accordion-button:focus { box-shadow: none; }
.faq-item .accordion-body { color: var(--gray-700); }

.whatsapp-cta {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: var(--radius); padding: 40px; color: #fff; text-align: center;
}
.whatsapp-cta i { font-size: 3rem; margin-bottom: 14px; }
.whatsapp-cta h3 { color: #fff; }
.whatsapp-cta p { color: rgba(255,255,255,.9); }

.whatsapp-cta-compact {
  padding: 16px 20px !important;
  border-radius: 14px !important;
}
.whatsapp-cta-compact i {
  font-size: 1.85rem !important;
  margin-bottom: 0 !important;
}
.whatsapp-cta-compact .btn-sm {
  padding: 7px 16px !important;
  font-size: 0.84rem !important;
  border-radius: 999px !important;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }
.site-footer .brand-mark { background: var(--gold); }
.site-footer .text-light-muted { color: rgba(255,255,255,.82); font-size: .92rem; }
.footer-title { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.82); font-size: .92rem; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
html[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 5px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: .92rem; color: rgba(255,255,255,.82); }
.footer-contact i { color: var(--gold); margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,.82); }
.footer-contact a:hover { color: var(--gold); }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; margin-right: 8px;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .88rem; color: rgba(255,255,255,.5); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 998;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
html[dir="rtl"] .back-to-top { left: auto; right: 28px; }

/* ---------- Brands strip ---------- */
.brands-strip { padding: 50px 0; background: var(--gray-50); }
.brand-logo {
  display: flex; align-items: center; justify-content: center;
  height: 80px; opacity: .55; filter: grayscale(100%); transition: all var(--transition);
  font-size: 1.3rem; font-weight: 700; color: var(--navy);
}
.brand-logo:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,37,64,.95); display: none;
  align-items: center; justify-content: center; padding: 30px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 24px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-chip {
  padding: 8px 20px; border-radius: 50px; border: 1px solid var(--gray-300);
  background: #fff; color: var(--gray-700); font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--gold); color: var(--navy); }
.filter-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box input { padding-left: 42px; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-500); }
html[dir="rtl"] .search-box input { padding-left: 16px; padding-right: 42px; }
html[dir="rtl"] .search-box i { left: auto; right: 14px; }

/* ---------- Alerts ---------- */
.alert { border-radius: var(--radius-sm); border: none; padding: 16px 20px; }
.alert-success { background: #e8f7f0; color: #1a7a52; }
.alert-error { background: #fce8e8; color: #a83232; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 1.9rem; }
  #mainNav { background: rgba(10,37,64,.97); padding: 12px 0; }
  #mainNav .navbar-collapse { background: var(--navy); margin-top: 14px; padding: 20px; border-radius: var(--radius); }
  #mainNav .nav-link { color: rgba(255,255,255,.85); }
  #mainNav.scrolled .navbar-collapse .nav-link { color: rgba(255,255,255,.88); }
  #mainNav.scrolled .navbar-collapse .nav-link:hover,
  #mainNav.scrolled .navbar-collapse .nav-link.active { color: var(--gold-light); }
  #mainNav.scrolled .navbar-collapse .lang-switch a { color: rgba(255,255,255,.82); }
  #mainNav.scrolled .navbar-collapse .lang-switch a.active { color: var(--gold-light); }
  .nav-actions { margin-top: 14px; }
  .hero h1 { font-size: 2.4rem; }
  .page-hero { padding: 140px 0 60px; }
  .page-hero h1 { font-size: 2.1rem; }
  .cta-banner { padding: 40px 28px; }
  .cta-banner h2 { font-size: 1.7rem; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .stat-item .stat-num { font-size: 2.2rem; }
  .back-to-top { bottom: 20px; left: 20px; }
  .home-contact-form { padding: 24px 18px; }
}
/* ===== Gestion du nom en arabe dans le badge ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

html[dir="rtl"] .hero-badge {
    direction: rtl;
}

.badge-divider {
    opacity: 0.4;
    font-weight: 300;
    margin: 0 0.25rem;
}

.company-name-ar {
    display: inline-block;
    font-family: 'Tajawal', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    line-height: 1.2;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.18);
    padding: 0.14rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    letter-spacing: 0.02em;
    white-space: nowrap;
    direction: rtl;
    unicode-bidi: isolate;
}

/* =====================================================================
   EXTENDED UX & ANIMATION ENHANCEMENTS
   ===================================================================== */

/* ── Skip to content (accessibility) ── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 9999;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ── Keyboard focus ring (accessibility) ── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Product card single action button ── */
.product-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.product-actions .btn {
  padding: 10px 20px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: .3px;
  transition: all var(--transition);
}
.product-actions .btn-gold {
  box-shadow: 0 8px 24px rgba(212,175,55,.25);
}
.product-actions .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(212,175,55,.35);
}

/* ── Pulse badge animation ── */
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.35); }
  50%       { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}
.pulse-badge { animation: pulseBadge 2.4s ease-in-out infinite; }

/* ── Scroll indicator bounce ── */
.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  margin-top: 48px;
  letter-spacing: .5px;
}
.scroll-indicator i {
  animation: bounce 1.6s ease-in-out infinite;
  font-size: 1.2rem;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Stat counter glow ── */
.stat-item:hover .stat-num { text-shadow: 0 0 32px rgba(212,175,55,.55); }

/* ── Process step connector line (desktop) ── */
@media (min-width: 992px) {
  .process-step { position: relative; }
  .process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -24px;
    width: 48px;
    height: 2px;
    background: linear-gradient(to right, rgba(212,175,55,.5), transparent);
  }
  .col-lg-3:last-child .process-step::after { display: none; }
  html[dir="rtl"] .process-step::after { right: auto; left: -24px; background: linear-gradient(to left, rgba(212,175,55,.5), transparent); }
}

/* ── Filter chip active state ── */
.filter-chip.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  box-shadow: 0 4px 14px rgba(10,37,64,.25);
}

/* ── Footer links smooth motion ── */
.footer-links a {
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}
.footer-links a:hover { transform: translateX(5px); }
html[dir="rtl"] .footer-links a:hover { transform: translateX(-5px); }

/* ── Reduced motion safety ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .pulse-badge    { animation: none; }
  .scroll-indicator i { animation: none; }
}

/* ── Print styles ── */
@media print {
  #mainNav, .back-to-top, .hero-buttons, .product-actions { display: none !important; }
  .hero, .page-hero { min-height: auto; padding: 30px 0; }
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
}

/* =====================================================================
   FABRIC PROPERTIES (خصائص الأقمشة) - ENHANCED ICONS & CARDS
   ===================================================================== */
/* Custom Shield Virus / Anti-bacterial & Anti-mold Protection Icon */
.bi-shield-virus,
i.bi-shield-virus {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  line-height: 1;
}
.bi-shield-virus::before,
i.bi-shield-virus::before {
  content: "" !important;
  font-family: inherit !important;
  display: block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM256 112c8.8 0 16 7.2 16 16c0 33 39.9 49.5 63.2 26.2c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6C334.5 200.1 351 240 384 240c8.8 0 16 7.2 16 16s-7.2 16-16 16c-33 0-49.5 39.9-26.2 63.2c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0C311.9 334.5 272 351 272 384c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-33-39.9-49.5-63.2-26.2c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6C177.5 311.9 161 272 128 272c-8.8 0-16-7.2-16-16s7.2-16 16-16c33 0 49.5-39.9 26.2-63.2c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0C200.1 177.5 240 161 240 128c0-8.8 7.2-16 16-16zM232 256a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm72 32a16 16 0 1 0 -32 0 16 16 0 1 0 32 0z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM256 112c8.8 0 16 7.2 16 16c0 33 39.9 49.5 63.2 26.2c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6C334.5 200.1 351 240 384 240c8.8 0 16 7.2 16 16s-7.2 16-16 16c-33 0-49.5 39.9-26.2 63.2c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0C311.9 334.5 272 351 272 384c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-33-39.9-49.5-63.2-26.2c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6C177.5 311.9 161 272 128 272c-8.8 0-16-7.2-16-16s7.2-16 16-16c33 0 49.5-39.9 26.2-63.2c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0C200.1 177.5 240 161 240 128c0-8.8 7.2-16 16-16zM232 256a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm72 32a16 16 0 1 0 -32 0 16 16 0 1 0 32 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.fabric-prop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}
.prop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.35;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.prop-badge i {
  font-size: 0.85rem;
}
.prop-badge:hover {
  transform: translateY(-1px);
}
.prop-badge-medical {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #059669;
}
.prop-badge-medical:hover {
  background: rgba(16, 185, 129, 0.22);
}
.prop-badge-flame {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #dc2626;
}
.prop-badge-flame:hover {
  background: rgba(239, 68, 68, 0.22);
}
.prop-badge-static {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.40);
  color: #d97706;
}
.prop-badge-static:hover {
  background: rgba(245, 158, 11, 0.24);
}
.prop-badge-water {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #0891b2;
}
.prop-badge-water:hover {
  background: rgba(6, 182, 212, 0.22);
}
.prop-badge-ripstop {
  background: rgba(132, 204, 22, 0.14);
  border: 1px solid rgba(132, 204, 22, 0.38);
  color: #4d7c0f;
}
.prop-badge-ripstop:hover {
  background: rgba(132, 204, 22, 0.24);
}
.prop-badge-breathable {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #0284c7;
}
.prop-badge-breathable:hover {
  background: rgba(56, 189, 248, 0.24);
}
.prop-badge-thermal {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #4f46e5;
}
.prop-badge-thermal:hover {
  background: rgba(99, 102, 241, 0.22);
}

/* ---------- Dedicated Fabric Properties Showcase Section ---------- */
.fabric-props-section {
  position: relative;
  background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 100%);
  padding: 95px 0;
  overflow: hidden;
}
.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .props-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .props-grid { grid-template-columns: 1fr; }
}

.prop-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.prop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--gold));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.prop-card:hover {
  transform: translateY(-7px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 48px rgba(10, 37, 64, 0.10);
}
.prop-card:hover::before {
  opacity: 1;
}

.prop-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 20px;
  background: var(--icon-bg, rgba(212, 175, 55, 0.12));
  color: var(--icon-color, var(--gold));
  box-shadow: 0 8px 22px var(--icon-glow, rgba(212, 175, 55, 0.15));
  transition: transform 0.4s ease;
}
.prop-card:hover .prop-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.prop-card-sector {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  display: block;
}
.prop-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.prop-card p {
  color: var(--gray-700);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}
.prop-card-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
}
.standard-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.standard-badge i {
  color: var(--gold-dark);
  font-size: 0.75rem;
}


/* =====================================================================
   ADVANCED UX/UI & INDUSTRIAL LUXURY ANIMATIONS (2026 EDITION)
   ===================================================================== */

/* 1. Global Scroll Progress Indicator */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.8), 0 0 4px rgba(212, 175, 55, 0.5);
  z-index: 10000;
  transition: width 0.08s ease-out;
  pointer-events: none;
}
html[dir="rtl"] #scrollProgress {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
}

/* 2. Hero Ambient Canvas & Dynamic Grid */
.hero {
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 20px 20px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}
.hero-ambient-glow {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(10, 37, 64, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  animation: heroGlowFloat 14s ease-in-out infinite alternate;
}
@keyframes heroGlowFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-40px, 30px) scale(1.15); opacity: 0.9; }
  100% { transform: translate(30px, -20px) scale(0.95); opacity: 0.5; }
}

/* Live Operational Pulse Dot in Hero */
.pulse-live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  margin-inline-end: 8px;
  vertical-align: middle;
}
@keyframes livePulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Shimmer Button Effect (Sweep Light) */
.btn-gold,
.btn-hero {
  position: relative;
  overflow: hidden;
}
.btn-gold::after,
.btn-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 90%
  );
  transform: rotate(25deg);
  animation: buttonSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes buttonSweep {
  0%, 75% { left: -70%; }
  100% { left: 140%; }
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

/* 3. Industrial Ticker Ribbon (Fluid & Mobile Optimized) */
.industrial-ticker-wrap {
  background: linear-gradient(90deg, #061a30 0%, #0a2540 50%, #061a30 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
}
.industrial-ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: tickerSlideLTR 45s linear infinite;
  gap: clamp(1.4rem, 3.5vw, 2.8rem);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Pause uniquement au survol souris desktop (évite le gel au toucher sur mobile) */
@media (hover: hover) {
  .industrial-ticker-wrap:hover .industrial-ticker-track {
    animation-play-state: paused;
  }
}

/* En mode RTL (Arabe) : démarrage direct à 0% avec vitesse calme et lisible */
html[dir="rtl"] .industrial-ticker-track {
  animation: tickerSlideRTL 45s linear infinite;
}

/* LTR Keyframes (Anglais) : démarre instantanément à 0 et défile vers la gauche */
@keyframes tickerSlideLTR {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* RTL Keyframes (Arabe) : démarre instantanément à 0 et défile avec fluidité vers la droite */
@keyframes tickerSlideRTL {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(50%, 0, 0); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 10px);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.80rem, 2.6vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.ticker-item i {
  color: var(--gold);
  font-size: clamp(0.9rem, 2.8vw, 1.05rem);
}
.ticker-separator {
  color: rgba(212, 175, 55, 0.45);
  font-weight: 300;
  flex-shrink: 0;
}

/* Défilement calme, lisible et harmonieux sur tablette et mobile */
@media (max-width: 768px) {
  .industrial-ticker-wrap {
    padding: 10px 0;
  }
  .industrial-ticker-track {
    gap: 1.5rem;
  }
  html[dir="rtl"] .industrial-ticker-track {
    animation-duration: 38s;
  }
  html[dir="ltr"] .industrial-ticker-track {
    animation-duration: 38s;
  }
}

@media (max-width: 480px) {
  .industrial-ticker-wrap {
    padding: 8px 0;
  }
  .industrial-ticker-track {
    gap: 1.2rem;
  }
  html[dir="rtl"] .industrial-ticker-track {
    animation-duration: 35s;
  }
  html[dir="ltr"] .industrial-ticker-track {
    animation-duration: 35s;
  }
}

/* 4. Interactive 3D Card Spotlight & Magnetic Hover */
.card-spotlight {
  position: relative;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}
.card-spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 175, 55, 0.14),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.card-spotlight:hover::after {
  opacity: 1;
}

/* High-tech Corner Accents on Cards */
.tech-corners {
  position: relative;
}
.tech-corners::before,
.tech-corners::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(212, 175, 55, 0.4);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 4;
}
.tech-corners::before {
  top: 8px;
  left: 8px;
  border-top: 1.5px solid;
  border-left: 1.5px solid;
}
.tech-corners::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 1.5px solid;
  border-right: 1.5px solid;
}
.tech-corners:hover::before,
.tech-corners:hover::after {
  border-color: var(--gold);
  width: 16px;
  height: 16px;
}

/* 5. Enhanced Core Sector Cards (القطاعات الأربعة) */
.cat-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.cat-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 50px rgba(10, 37, 64, 0.22);
}
.cat-card .explore-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(6, 26, 48, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.35s ease;
  z-index: 3;
}
html[dir="rtl"] .cat-card .explore-pill {
  right: auto;
  left: 16px;
}
.cat-card:hover .explore-pill {
  opacity: 1;
  transform: translateY(0);
}
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #f3e5ab, var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
  z-index: 5;
}
.cat-card:hover::before {
  transform: scaleX(1);
}

/* 6. Fabric Properties Interactive Filter Bar */
.props-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.props-filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.props-filter-btn:hover {
  background: var(--gray-50);
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}
.props-filter-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.18);
}
.props-filter-btn.active i {
  color: var(--gold);
}
.prop-card.hidden {
  display: none !important;
}

/* Prop card hover pointer */
.prop-card {
  cursor: pointer;
}

/* 7. Product Cards Quick View & Visual Details */
.product-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(10, 37, 64, 0.08);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 37, 64, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
}
.product-quickview-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: rgba(6, 26, 48, 0.85);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}
.product-card:hover .product-quickview-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.product-quickview-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* 8. Interactive Seamless Client Logo Marquee */
.brands-marquee-container {
  overflow: hidden;
  position: relative;
  padding: 30px 0;
  direction: ltr !important;
}
.brands-marquee-container::before,
.brands-marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-50), transparent);
}
.brands-marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--gray-50), transparent);
}
.brands-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  direction: ltr !important;
  animation: brandsMarquee 35s linear infinite;
  will-change: transform;
}
.brands-marquee-container:hover .brands-marquee-track {
  animation-play-state: paused;
}
@keyframes brandsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-badge-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 14px;
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.03);
  transition: all 0.3s ease;
}
html[dir="rtl"] .client-badge-card {
  direction: rtl;
  text-align: center;
}
.client-badge-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.16);
}
.client-badge-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.client-badge-sub {
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 3px;
  text-transform: uppercase;
}

/* 9. Interactive Stats Gauges with Metallic Borders */
.stat-card-enhanced {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.stat-card-enhanced:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.stat-card-enhanced::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stat-num-glow {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #f3e5ab 70%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 8px;
}
.stat-card-enhanced .stat-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
}

/* 10. Floating WhatsApp Pulse Rings & Tooltip */
.whatsapp-float-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
}
html[dir="rtl"] .whatsapp-float-wrap {
  right: auto;
  left: 28px;
}
.btn-whatsapp-pulse {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-whatsapp-pulse:hover {
  transform: scale(1.12);
  color: #fff;
}
.btn-whatsapp-pulse::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: waRadar 2.2s infinite;
}
@keyframes waRadar {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-chat-bubble {
  background: #ffffff;
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  margin-inline-end: 14px;
  white-space: nowrap;
  border: 1px solid rgba(10, 37, 64, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: bubblePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}
@keyframes bubblePop {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* 11. Modal Popup for Property Details & Quick View */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 48, 0.82);
  backdrop-filter: blur(12px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.custom-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.custom-modal-dialog {
  background: #ffffff;
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1.5px solid rgba(212, 175, 55, 0.25);
}
.custom-modal-backdrop.active .custom-modal-dialog {
  transform: translateY(0) scale(1);
}
.custom-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  font-size: 1.2rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
html[dir="rtl"] .custom-modal-close {
  right: auto;
  left: 20px;
}
.custom-modal-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}
