/* ═══════════════════════════════════════════════════════════════
   ناسا بلاست — style.css
   النسخة المُعاد بناؤها — منظّمة ومقسّمة بالكامل
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. المتغيرات العامة (CSS Variables) ── */
:root {
  --primary:    #C0262E;
  --primary-dk: #9b1c23;
  --primary-lt: #e63946;
  --dark:       #121010;
  --dark2:      #1e1a1a;
  --text:       #2d2d2d;
  --muted:      #6b7280;
  --bg:         #f8f6f3;
  --white:      #ffffff;
  --border:     rgba(0, 0, 0, 0.08);
  --sh-sm:      0 2px 12px rgba(0, 0, 0, 0.07);
  --sh-md:      0 8px 32px rgba(0, 0, 0, 0.11);
  --sh-lg:      0 20px 60px rgba(0, 0, 0, 0.15);
  --r:          16px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 2. إعادة الضبط العامة (Reset) ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ✅ FIX: overflow-x:hidden على html بيكسر position:sticky وبيجمد الـ scroll على iOS Safari
   الحل: نحط overflow-x:clip على html (مش hidden) — بتمنع الـ horizontal scroll
   من غير ما تعمل new scroll container زي overflow:hidden */
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100vw; }

body {
  font-family: 'Noto Kufi Arabic', sans-serif;
  line-height: 1.7;
  background: var(--bg);
  direction: rtl;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
}

img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; }

/* ── 3. أنيميشن Reveal عند التمرير ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

[class*="delay-1"] { transition-delay: 0.1s; }
[class*="delay-2"] { transition-delay: 0.2s; }
[class*="delay-3"] { transition-delay: 0.3s; }
[class*="delay-4"] { transition-delay: 0.4s; }
[class*="delay-5"] { transition-delay: 0.5s; }

/* ── 4. WhatsApp زر العائم ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.3s var(--spring);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.08); }
}

.wa-float:hover {
  transform: scale(1.12) rotate(8deg);
  animation: none;
}

/* ── 5. Navbar شريط التنقل ── */
.navbar {
  display: flex;
  height: 68px;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 12, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  direction: rtl;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
  transition: height 0.3s var(--ease);
}
.navbar.scrolled { height: 58px; }

.navbar .logo img {
  width: 78px;
  transition: transform 0.3s var(--spring);
}
.navbar .logo img:hover { transform: scale(1.06); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: white; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.cta .btn-pdf,
.navbar-controls .btn-pdf {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  padding: 9px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(192, 38, 46, 0.35);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.cta .btn-pdf:hover,
.navbar-controls .btn-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(192, 38, 46, 0.55);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 5px;
  border-radius: 9px;
  transition: background 0.25s;
}
.hamburger:hover { background: rgba(255, 255, 255, 0.08); }
.hamburger .bar {
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.4s var(--ease);
}
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── 6. Mobile Nav القائمة الجانبية للموبايل ── */
.menu-overlay {
  position: fixed;
  inset: 0;
  /* ✅ FIX: no backdrop-filter — huge performance win on mobile */
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  will-change: opacity;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100%;
  /* ✅ FIX: solid background — no backdrop-filter (causes GPU lag on mobile) */
  background: #120e0e;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.55);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  border-radius: 24px 0 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  /* ✅ FIX: use transform instead of right for GPU-accelerated animation */
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.mobile-nav.active { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-nav-logo { display: flex; align-items: center; gap: 10px; }
.mobile-nav-logo img { width: 46px; }
.mobile-nav-logo span { color: white; font-size: 15px; font-weight: 800; }

.close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 300;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--spring);
}
.close-btn:hover { background: var(--primary); color: white; transform: rotate(90deg); }

.mobile-nav-body { flex: 1; padding: 16px; overflow-y: auto; }
.mobile-nav ul   { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav ul li {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s, transform 0.4s;
}
.mobile-nav.active ul li                { opacity: 1; transform: translateX(0); }
.mobile-nav.active ul li:nth-child(1)  { transition-delay: 0.07s; }
.mobile-nav.active ul li:nth-child(2)  { transition-delay: 0.13s; }
.mobile-nav.active ul li:nth-child(3)  { transition-delay: 0.19s; }
.mobile-nav.active ul li:nth-child(4)  { transition-delay: 0.25s; }
.mobile-nav.active ul li:nth-child(5)  { transition-delay: 0.31s; }

.mobile-nav ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.28s var(--ease);
}
.mobile-nav ul li a:hover {
  background: rgba(192, 38, 46, 0.12);
  color: white;
  border-color: rgba(192, 38, 46, 0.2);
}

.mobile-nav-footer {
  padding: 14px 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-nav .btn-pdf {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  width: 100%;
  transition: all 0.28s var(--spring);
  box-shadow: 0 5px 18px rgba(192, 38, 46, 0.35);
}
.mobile-nav .btn-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(192, 38, 46, 0.55);
}

/* ── 7. Hero القسم الرئيسي ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(180deg, #eee9e3 0%, var(--bg) 100%);
  margin-top: 68px;
  padding: 80px 24px 72px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 100vw);
  height: 450px;
  background: radial-gradient(ellipse, rgba(192, 38, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text {
  animation: fadeUp 0.9s 0.1s ease-out both;
  max-width: 800px;
}
.hero-text h1 {
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
  font-size: clamp(26px, 5vw, 56px);
}
.hero-text h1 .highlight { color: var(--primary); }
.hero-text p {
  font-size: clamp(15px, 2.5vw, 21px);
  font-weight: 500;
  color: var(--muted);
}

.video-frame {
    max-width: 840px;
    width: 100%;
    margin: 48px auto 0;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    padding-bottom: clamp(180px, 49%, 480px);
    height: 0;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    animation: fadeUp 0.9s 0.3s ease-out both;
}
.lazy-embed {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.lazy-embed-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.lazy-embed:hover .lazy-embed-thumbnail { transform: scale(1.02); }

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
  pointer-events: none;
}
.lazy-embed:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
}
.play-icon svg polygon { fill: var(--primary); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 8. عناوين الأقسام ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark2);
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}
.section-header p {
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── 9. Offers قسم العروض ── */
.offers { padding: 80px 24px; background: var(--white); }
.offers h2 {
  text-align: center;
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 36px;
  font-weight: 800;
  color: var(--dark2);
  line-height: 1.5;
}
.highlighted-text {
  font-weight: 900;
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.highlighted-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.5;
}
.offer-banner {
    position: relative;
    width: min(100%, 950px);
    margin: 0 auto 22px;
    overflow: hidden;
    border-radius: var(--r);
    box-shadow: var(--sh-md);
}

.offer-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.offer-banner img.hidden { display: none !important; }

.offer-details {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ── 10. شبكة منتجات العروض ── */
.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
@media (max-width: 600px)  { .product-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-item {
  background: var(--white);
  padding: 16px 14px;
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  text-align: center;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--spring), box-shadow 0.3s, border-color 0.3s;
}
.product-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-md);
  border-color: rgba(192, 38, 46, 0.2);
}
.product-item .img-wrap {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.product-item .img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.product-item:hover .img-wrap img { transform: scale(1.06); }
.product-item h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark2);
  margin-bottom: 12px;
  line-height: 1.4;
  flex: 1;
}
.btn-product {
  display: block;
  width: 100%;
  padding: 9px 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(192, 38, 46, 0.25);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
  margin-top: auto;
}
.btn-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(192, 38, 46, 0.45);
}
.explore-wrap  { text-align: center; margin-top: 36px; }
.explore-products {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(192, 38, 46, 0.3);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.explore-products:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(192, 38, 46, 0.5);
}

/* ── 11. About قسم من نحن ── */
.about-us { padding: 90px 24px; background: var(--white); text-align: center; }
.about-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg);
  padding: 28px 22px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--spring), box-shadow 0.3s, border-color 0.3s;
}
.about-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(192, 38, 46, 0.15);
}
.about-item .img-wrap {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--sh-md);
}
.about-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.about-item:hover .img-wrap img { transform: scale(1.04); }
.about-item h3 { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.about-item p  { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 380px; }

/* ── 12. Partners شريط الشركاء ── */
.partners-section {
  padding: 56px 24px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.partners-section h2 { font-size: 22px; font-weight: 800; color: var(--dark2); margin-bottom: 8px; }
.partners-section p  {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ── 13. Features قسم المميزات ── */
.features-section {
  padding: 90px 24px;
  background: linear-gradient(135deg, #faf9f7, #ece8e2);
  overflow: hidden;
}
.features-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 64px;
  align-items: center;
  flex-direction: row-reverse;
}
@media (max-width: 1100px) { .features-content { flex-direction: column; gap: 40px; text-align: center; } }

.features-image { flex: 1.1; position: relative; }
.image-bg-blob {
  position: absolute;
  top: 5%;
  left: -5%;
  width: 240px;
  height: 340px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  border-radius: 40% 60% 60% 40%;
  z-index: 0;
  opacity: 0.08;
}
.features-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--sh-lg);
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.features-image:hover img { transform: scale(1.03) translateY(-4px); }

.features-list { flex: 1; }
.features-title {
  color: var(--dark);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 22px;
  line-height: 1.3;
}
.features-list ul { list-style: none; padding: 0; margin-bottom: 32px; }
.features-list li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
  position: relative;
  padding-right: 34px;
  line-height: 1.7;
}
.features-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  right: 0;
  font-size: 17px;
  top: 2px;
}

.features-stats { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
@media (max-width: 1100px) { .features-stats { justify-content: center; } }

.stat-item {
  text-align: center;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  flex: 1;
  min-width: 110px;
  max-width: 180px;
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}
.stat-item:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.stat-number {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1;
  white-space: nowrap;
}
.stat-item p { font-size: 12px; color: var(--muted); font-weight: 700; line-height: 1.4; }

/* ── 14. Products قسم المنتجات ── */
.products-section { background: var(--white); padding: 90px 24px; text-align: center; }
.prod-grid {
  display: grid;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (max-width: 600px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--white);
  border-radius: var(--r);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--spring), box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--sh-md);
  border-color: rgba(192, 38, 46, 0.18);
}
.prod-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card img {
  max-width: 90%;
  max-height: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.product-card:hover img { transform: scale(1.08); }
.product-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark2);
  margin: 14px 14px 12px;
  line-height: 1.4;
  flex: 1;
}
.btn-details {
  display: block;
  margin: 0 14px 16px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(192, 38, 46, 0.25);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.btn-details:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(192, 38, 46, 0.45); }

.info-section {
  text-align: center;
  padding: 36px;
  background: var(--bg);
  border-radius: var(--r);
  max-width: 1200px;
  margin: 48px auto 0;
}
.info-section p { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  padding: 13px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(192, 38, 46, 0.3);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(192, 38, 46, 0.5); }

/* ── 15. Certificates قسم الشهادات ── */
.certificate-section { background: var(--dark2); padding: 80px 24px; text-align: center; color: white; }
.certificate-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
}
.certificate-title i { font-size: 24px; color: #FFD700; }
.certificate-description,
.certificate-more-info {
  font-size: 14px;
  max-width: 660px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}
.certificate-more-info { margin-top: 28px; margin-bottom: 0; }

.cert-slider-wrap {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: block;
  min-height: 180px;
}

.certificate-slider {
  display: flex;
  width: max-content;
  gap: 12px;
  min-height: 160px;
}

.certificate-item {
  flex: none;
  width: 220px;
  height: 155px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s var(--spring), box-shadow 0.35s;
}
.certificate-item:hover {
  transform: perspective(800px) rotateY(8deg) translateY(-6px);
  box-shadow: 0 18px 32px rgba(192, 38, 46, 0.3);
}
.certificate-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
/* Mobile sizes handled in final block */

/* ── 16. Exhibition قسم المعارض ── */
.exhibition-section {
  padding: 80px 24px;
  text-align: center;
  background: var(--dark2);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.exhibition-title {
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 800;
  margin-bottom: 36px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* ── 17. Contact قسم التواصل ── */
.contact-section { background: var(--white); padding: 90px 24px; text-align: center; }
.contact-grid {
  display: grid;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.contact-card {
  background: var(--bg);
  padding: 26px 18px;
  border-radius: var(--r);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s var(--spring);
}
.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(192, 38, 46, 0.12);
  border-color: rgba(192, 38, 46, 0.2);
  background: var(--white);
}
.contact-card a { color: inherit; display: block; }
.contact-card a:hover h3 { color: var(--primary); }
.contact-card i  { font-size: 30px; color: var(--primary); margin-bottom: 13px; display: block; }
.contact-card h3 { font-size: 14px; color: var(--dark); margin-bottom: 7px; font-weight: 700; word-break: break-word; line-height: 1.5; }
.contact-card p  { font-size: 12px; color: var(--muted); line-height: 1.65; }

.contact-form-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}
@media (max-width: 900px) { .contact-form-map { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--r);
  box-shadow: var(--sh-md);
  border: 1px solid var(--border);
  text-align: right;
}
.contact-form h3 { font-size: 19px; color: var(--dark); margin-bottom: 6px; font-weight: 800; }
.contact-form > p { font-size: 13px; margin-bottom: 22px; color: var(--muted); line-height: 1.7; }
.form-row { display: flex; gap: 12px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { flex-direction: column; } }
.form-group { flex: 1; margin-bottom: 0; }

.contact-form label { font-size: 12px; color: var(--text); margin-bottom: 5px; display: block; font-weight: 700; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.25s, box-shadow 0.25s;
  font-family: 'Noto Kufi Arabic', sans-serif;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192, 38, 46, 0.1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #bbb; }

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  padding: 13px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Noto Kufi Arabic', sans-serif;
  box-shadow: 0 5px 16px rgba(192, 38, 46, 0.3);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(192, 38, 46, 0.5); }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.contact-map { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-md); min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }

/* ── 18. FAQ قسم الأسئلة الشائعة ── */
.faq-section { background: var(--bg); padding: 90px 24px; text-align: center; }
.faq-container { max-width: 720px; margin: 0 auto; text-align: right; }

.faq-item {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--spring);
}
.faq-item:hover { border-color: rgba(192, 38, 46, 0.2); box-shadow: var(--sh-sm); transform: translateX(-2px); }
.faq-item.open  { border-color: rgba(192, 38, 46, 0.4); box-shadow: 0 4px 20px rgba(192, 38, 46, 0.1); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--dark);
  font-weight: 700;
  padding: 18px 20px;
  cursor: pointer;
  transition: color 0.25s;
  gap: 14px;
  user-select: none;
}
.faq-question:hover,
.faq-item.open .faq-question { color: var(--primary); }
.faq-question span { flex: 1; }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(192, 38, 46, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.3s var(--spring);
  border: 1.5px solid rgba(192, 38, 46, 0.25);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
  border-color: var(--primary);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-answer p { padding: 0 20px 18px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ── 19. Footer ── */
.footer-section { background: var(--dark2); color: white; padding: 48px 24px 28px; }
.footer-content  { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 22px;
}
@media (max-width: 768px) { .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 32px; } }
.footer-logo img { max-width: 110px; }

.social-media h3 { font-size: 13px; margin-bottom: 14px; color: rgba(255, 255, 255, 0.45); max-width: 360px; }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.28s var(--spring);
}
.social-icons a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 7px 18px rgba(192, 38, 46, 0.45);
  border-color: transparent;
}

.lang-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  padding: 9px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s;
}
.lang-wrap:hover { background: rgba(255, 255, 255, 0.12); }
.lang-wrap i { color: var(--primary); font-size: 17px; }
.lang-wrap select {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  font-family: 'Noto Kufi Arabic', sans-serif;
  padding: 2px 4px;
  cursor: pointer;
  outline: none;
}
.lang-wrap select option { background: var(--dark2); color: white; }

.footer-divider { height: 1px; background: rgba(255, 255, 255, 0.07); margin-bottom: 18px; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.28); }

/* ── 20. Responsive ── */
@media (max-width: 809px) {
  .nav-links         { display: none; }
  .navbar-controls .btn-pdf { display: none; }
  .hamburger         { display: flex; }
  .navbar            { padding: 0 20px; }
}
/* Show nav-lang-btn and theme-toggle on mobile too */
@media (max-width: 809px) {
  .navbar-controls   { gap: 6px; }
  .nav-lang-btn      { padding: 6px 10px; font-size: 12px; }
  .theme-toggle      { width: 34px; height: 34px; font-size: 15px; }
}

/* ── 21. Mobile Sidebar Social Media ── */
.mob-social-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.mob-social-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-align: center;
}
.mob-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mob-social-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s var(--spring), background 0.25s, opacity 0.4s, transform 0.4s;
  opacity: 0;
  transform: translateY(12px);
}
.mobile-nav.active .mob-social-btn {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.active .mob-social-btn:nth-child(1) { transition-delay: 0.38s; }
.mobile-nav.active .mob-social-btn:nth-child(2) { transition-delay: 0.44s; }
.mobile-nav.active .mob-social-btn:nth-child(3) { transition-delay: 0.50s; }
.mobile-nav.active .mob-social-btn:nth-child(4) { transition-delay: 0.56s; }
.mob-social-btn i { font-size: 16px; width: 18px; text-align: center; flex-shrink: 0; }
.mob-social-btn:hover { transform: translateY(-2px) !important; }
.mob-fb { background: rgba(24,119,242,0.15); border-color: rgba(24,119,242,0.25); }
.mob-fb:hover { background: #1877f2; border-color: #1877f2; }
.mob-ig { background: rgba(225,48,108,0.15); border-color: rgba(225,48,108,0.25); }
.mob-ig:hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.mob-wa { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.25); }
.mob-wa:hover { background: #25D366; border-color: #25D366; }
.mob-yt { background: rgba(255,0,0,0.15); border-color: rgba(255,0,0,0.25); }
.mob-yt:hover { background: #FF0000; border-color: #FF0000; }

/* ── 22. General Mobile Fixes ── */
@media (max-width: 480px) {
  /* Prevent horizontal scroll */
  body { overflow-x: clip; }
  /* Products section padding */
  .products-section { padding: 60px 14px; }
  /* Hero sections */
  .hero-section { min-height: 80vh; }
  /* Form improvements */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevent iOS zoom on input focus */
  }
  /* Shrink product image wraps on mobile so they don't push content down */
  .product-item .img-wrap { height: 130px; }
  .prod-img-wrap           { height: 150px; }
  .product-card img        { max-height: 130px; }
}

@media (max-width: 360px) {
  .mob-social-btn span { display: none; }
  .mob-social-btn { justify-content: center; padding: 11px; }
  .mob-social-grid { grid-template-columns: repeat(4, 1fr); }
  /* Extra small screens — shrink product images */
  .prod-img-wrap { height: 140px; }
  .product-item .img-wrap { height: 120px; }
  .product-card img { max-height: 120px; }
}

/* ── DARK MODE ── */
:root {
  --theme-transition: background 0.4s ease, color 0.4s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  --bg-page:      #f8f6f3;
  --bg-card:      #ffffff;
  --bg-section:   #ffffff;
  --text-main:    #2d2d2d;
  --text-muted2:  #6b7280;
  --border2:      rgba(0,0,0,0.08);
  --input-bg:     #ffffff;
  --input-border: rgba(0,0,0,0.15);
}
[data-theme="dark"] {
  --bg-page:      #0f0d0d;
  --bg-card:      #1a1616;
  --bg-section:   #141111;
  --text-main:    #e8e2e2;
  --text-muted2:  #9ca3af;
  --border2:      rgba(255,255,255,0.08);
  --input-bg:     #1f1b1b;
  --input-border: rgba(255,255,255,0.15);
  --bg:           #1a1616;
  --white:        #1a1616;
  --text:         #e8e2e2;
  --muted:        #9ca3af;
  --border:       rgba(255,255,255,0.08);
}
[data-theme="dark"] body            { background: var(--bg-page); color: var(--text-main); }
[data-theme="dark"] .products-section,
[data-theme="dark"] .product-card,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .info-section   { background: var(--bg-section); }
[data-theme="dark"] .product-card   { border-color: var(--border2); }
[data-theme="dark"] .prod-img-wrap,
[data-theme="dark"] .product-item .img-wrap { background: #201c1c; }
[data-theme="dark"] .product-card h3,
[data-theme="dark"] .product-item h3 { color: #e8e2e2; }
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .section-header p { color: var(--text-main); }
[data-theme="dark"] .section-header p { color: var(--text-muted2); }
[data-theme="dark"] .about-section,
[data-theme="dark"] .about-us       { background: #0c1628 !important; }
[data-theme="dark"] .about-item     { background: #0f1e35; border-color: var(--border2); }
[data-theme="dark"] .about-item h3,
[data-theme="dark"] .about-item p   { color: var(--text-main); }
[data-theme="dark"] .certificate-section { background: #0a0808; }
[data-theme="dark"] .certificate-item { background: #1a1616; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .features-section { background: #141111; }
[data-theme="dark"] .feature-card   { background: #1a1616; border-color: var(--border2); }
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .feature-card p  { color: var(--text-main); }
[data-theme="dark"] .contact-section { background: #141111; }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--input-bg); border-color: var(--input-border);
  color: var(--text-main);
}
[data-theme="dark"] .faq-question span { color: var(--text-main); }
[data-theme="dark"] .faq-answer p  { color: var(--text-muted2); }
[data-theme="dark"] .faq-item      { border-color: var(--border2); background: #1a1616; }
[data-theme="dark"] .offers-section { background: #0a0808; }
[data-theme="dark"] .product-item  { background: #1a1616; border-color: var(--border2); }
[data-theme="dark"] .info-section  { background: #201c1c; }
[data-theme="dark"] .hero-section  { background: linear-gradient(135deg, #0a0808 0%, #1a0e0f 100%); }

/* ── DARK MODE TOGGLE BUTTON ── */
.theme-toggle {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  transition: all 0.25s var(--spring);
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,0.14); color: white; transform: scale(1.08); }

/* ── LANGUAGE BUTTON IN NAVBAR ── */
.nav-lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 7px 13px;
  color: rgba(255,255,255,0.75);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--spring);
  flex-shrink: 0;
  font-family: inherit;
}
.nav-lang-btn:hover { background: rgba(255,255,255,0.14); color: white; }
.nav-lang-btn i { font-size: 14px; color: var(--primary-lt); }

/* navbar controls group */
.navbar-controls {
  display: flex; align-items: center; gap: 8px;
}

/* ── BACK TO TOP BUTTON ── */
.back-to-top {
  position: fixed;
  bottom: 96px;
  left: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 18px rgba(192,38,46,0.4);
  z-index: 998;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--spring);
  cursor: pointer;
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover   { background: var(--primary-dk); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(192,38,46,0.55); }

/* ── PRODUCT BADGES ── */
.product-card { position: relative; }
.prod-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
html[dir="ltr"] .prod-badge { right: auto; left: 10px; }
.prod-badge-hot  { background: linear-gradient(135deg,#C0262E,#9b1c23); color: #fff; }
.prod-badge-new  { background: linear-gradient(135deg,#185FA5,#0c447c); color: #fff; }
.prod-badge-best { background: linear-gradient(135deg,#3B6D11,#27500A); color: #fff; }

/* ── WHATSAPP POPUP TOOLTIP ── */
.wa-tooltip {
  position: fixed;
  /* الزر: bottom:28px, height:58px → مركزه على bottom:57px
     الـ tooltip نفسه تقريباً ارتفاعه 62px → bottom: 57 - 31 = 26px */
  bottom: 26px;
  left: 96px; /* LTR default */
  background: #fff;
  color: #1a1616;
  border-radius: 14px;
  padding: 12px 16px 12px 14px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  z-index: 1000;
  max-width: 220px;
  line-height: 1.5;
  opacity: 0; visibility: hidden;
  transform: translateX(-10px);
  transition: opacity 0.28s var(--spring), visibility 0.28s, transform 0.28s var(--spring);
  border: 1px solid rgba(0,0,0,0.07);
}
/* RTL: tooltip أعلى الزر من اليمين */
html[dir="rtl"] .wa-tooltip {
  left: auto;
  right: 96px;   /* 58px زر + 10px مسافة + padding */
  transform: translateX(10px);
}
html[dir="ltr"] .wa-tooltip { left: 96px; right: auto; }
.wa-tooltip.visible {
  opacity: 1; visibility: visible; transform: translateX(0);
}
/* السهم يشاور على الزر — يكون في المنتصف عامودياً */
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -7px;
  left: -7px;
  width: 14px; height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
html[dir="rtl"] .wa-tooltip::after {
  left: auto;
  right: -7px;
  border-left: none;
  border-right: 1px solid rgba(0,0,0,0.07);
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: none;
}
.wa-tooltip-close {
  position: absolute; top: 6px; left: 8px;
  font-size: 16px; color: #9ca3af; cursor: pointer; line-height: 1;
  background: none; border: none;
}
html[dir="rtl"] .wa-tooltip-close { left: auto; right: 8px; }
.wa-tooltip-close:hover { color: #374151; }
[data-theme="dark"] .wa-tooltip { background: #1f1b1b; color: #e8e2e2; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .wa-tooltip::after { background: #1f1b1b; }

.wa-tooltip-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-tooltip-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 18px;
}
.wa-tooltip-text {
  font-size: 13px; font-weight: 600; line-height: 1.5;
  color: inherit;
}


/* ── READING PROGRESS BAR ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 3px 3px 0;
}

/* ── FORM VALIDATION STYLES ── */
.form-group input.error,
.form-group textarea.error,
.form-group select.error,
.contact-form input.error,
.contact-form textarea.error {
  border-color: #e24b4a !important;
  box-shadow: 0 0 0 3px rgba(226,75,74,0.12) !important;
  background: #fff8f8 !important;
}
.form-group input.success,
.form-group textarea.success,
.contact-form input.success,
.contact-form textarea.success {
  border-color: #1D9E75 !important;
  box-shadow: 0 0 0 3px rgba(29,158,117,0.1) !important;
}
.field-error-msg {
  font-size: 12px; color: #e24b4a; margin-top: 5px;
  display: flex; align-items: center; gap: 5px;
}
.field-error-msg i { font-size: 11px; }
.submit-btn.loading {
  opacity: 0.7; cursor: not-allowed;
  pointer-events: none;
}
.submit-btn.sent {
  background: linear-gradient(135deg,#1D9E75,#0F6E56) !important;
}
/* Success message */
.form-success-msg {
  display: none; text-align: center; padding: 32px 20px;
}
.form-success-msg.show { display: block; }
.form-success-msg i    { font-size: 48px; color: #1D9E75; margin-bottom: 14px; display: block; }
.form-success-msg h3   { font-size: 20px; font-weight: 700; color: var(--dark2); margin-bottom: 8px; }
.form-success-msg p    { color: var(--muted); font-size: 14px; }

/* ── SKELETON LOADING ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0ece8 25%, #e4dfda 50%, #f0ece8 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 8px;
}
[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #201c1c 25%, #2a2424 50%, #201c1c 75%);
  background-size: 600px 100%;
}
.prod-skeleton {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  padding-bottom: 16px;
}
.prod-skeleton .sk-img  { width: 100%; height: 190px; }
.prod-skeleton .sk-title { height: 16px; margin: 14px 14px 8px; }
.prod-skeleton .sk-sub  { height: 12px; margin: 0 28px 12px; }
.prod-skeleton .sk-btn  { height: 36px; margin: 0 14px; border-radius: 50px; }

/* ── DARK MODE EXTRA GAPS ── */
[data-theme="dark"] .wa-float {
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}
[data-theme="dark"] .navbar {
  background: rgba(8,6,6,0.97);
  border-bottom-color: rgba(255,255,255,0.05);
}
[data-theme="dark"] .mobile-nav {
  background: linear-gradient(160deg, rgba(12,9,9,0.99) 0%, rgba(18,12,12,0.99) 100%);
}
[data-theme="dark"] .product-hero {
  background: linear-gradient(135deg, #060d1a 0%, #0c1628 100%) !important;
}
[data-theme="dark"] .section-header h2 { color: #e8e2e2; }
[data-theme="dark"] .section-header p  { color: #9ca3af; }
[data-theme="dark"] .footer-section    { background: #0a0808; }
[data-theme="dark"] .footer-bottom p   { color: rgba(255,255,255,0.22); }
[data-theme="dark"] .social-icons a    { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .related-section   { background: #141111; }
[data-theme="dark"] .product-card .btn-details { box-shadow: 0 3px 12px rgba(192,38,46,0.2); }
[data-theme="dark"] .specs-table tr    { border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .specs-table td:first-child { color: #9ca3af; }
[data-theme="dark"] .specs-table td:last-child  { color: #e8e2e2; }
[data-theme="dark"] .product-info h1   { color: #e8e2e2; }
[data-theme="dark"] .product-info .product-desc { color: #9ca3af; }
[data-theme="dark"] .feature-tag       { background: #201c1c; border-color: rgba(255,255,255,0.08); color: #e8e2e2; }
[data-theme="dark"] .main-image-wrap   { background: #201c1c; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .faq-question      { background: #1a1616; }
[data-theme="dark"] .faq-question:hover{ background: #221c1c; }
[data-theme="dark"] .form-group label  { color: #9ca3af; }
[data-theme="dark"] .contact-info-item { color: #9ca3af; }
[data-theme="dark"] .contact-info-item i { color: var(--primary-lt); }
[data-theme="dark"] .certificate-title { color: #e8e2e2; }
[data-theme="dark"] .about-section .section-header h2 { color: #e8e2e2; }
[data-theme="dark"] .stat-number       { color: var(--primary-lt); }
[data-theme="dark"] .stat-label        { color: #9ca3af; }
[data-theme="dark"] .offers-section    { background: #0d0b0b; }

/* ── SMOOTH DARK MODE TRANSITION ── */
body,
.navbar,
.product-card,
.faq-item,
.faq-question,
.about-item,
.feature-card,
.form-group input,
.form-group textarea,
.footer-section,
.products-section,
.related-section,
.certificate-section,
.contact-section,
.about-section,
.main-image-wrap,
.prod-img-wrap,
.product-item .img-wrap,
.info-section,
.mobile-nav,
.social-icons a {
  transition:
    background-color 0.4s ease,
    background 0.4s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
/* ✅ Page flash overlay for dark mode toggle */
.theme-flash {
  position: fixed;
  inset: 0;
  background: #0f0d0d;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.theme-flash.flash-in  { opacity: 0.18; }
.theme-flash.flash-out { opacity: 0; }

/* ── HERO ENHANCEMENTS ── */
.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.hero > * { position: relative; z-index: 1; }

/* Trust badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
  animation: fadeUp 0.9s 0.5s ease-out both;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(192,38,46,0.15);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark2);
  backdrop-filter: blur(6px);
}
.hero-badge i { color: var(--primary); font-size: 14px; }
[data-theme="dark"] .hero-badge {
  background: rgba(30,22,22,0.85);
  border-color: rgba(192,38,46,0.25);
  color: #e8e2e2;
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--primary);
  margin-right: 4px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── PRODUCT CARD HOVER IMPROVEMENTS ── */
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  border-radius: var(--r);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.product-card:hover::after { opacity: 1; }
/* WhatsApp card button — see full definition in products-section block below */
.card-wa-btn i { font-size: 15px; flex-shrink: 0; }
.card-wa-btn span { white-space: nowrap; }
@media (hover: none) {
  /* On touch devices always show the wa button */
  .card-wa-btn { opacity: 1 !important; transform: translateY(0) !important; }
}

/* ── FOOTER REDESIGN ── */
.footer-section {
  background: #0e0b0b;
  padding: 0;
}
/* product-page.html still uses the old .footer-content wrapper directly
   inside .footer-section, so it needs its own padding restored */
.footer-content {
  padding: 48px 24px 28px;
}
@media (max-width: 600px) {
  .footer-content { padding: 40px 20px 24px; }
}
.footer-top-bar {
  background: var(--primary);
  padding: 14px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: .02em;
}
.footer-top-bar a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 28px; } }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 220px;
}
.footer-brand img { max-width: 90px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
}
.footer-links a i { font-size: 11px; color: var(--primary); }
.footer-links a:hover { color: white; gap: 12px; }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-contact-list li i {
  color: var(--primary);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-list li a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-contact-list li a:hover { color: white; }

.footer-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.footer-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.22s var(--spring), background 0.22s;
}
.footer-social-btn:hover { transform: translateY(-2px); }
.footer-social-btn i { font-size: 15px; }
.fsb-fb { background: rgba(24,119,242,0.15); } .fsb-fb:hover { background: #1877f2; }
.fsb-ig { background: rgba(225,48,108,0.15); } .fsb-ig:hover { background: #e1306c; }
.fsb-wa { background: rgba(37,211,102,0.15); } .fsb-wa:hover { background: #25D366; }
.fsb-yt { background: rgba(255,0,0,0.15);    } .fsb-yt:hover { background: #FF0000; }

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom-bar p { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-bottom-bar .footer-bottom-links {
  display: flex; gap: 20px;
}
.footer-bottom-bar .footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-bottom-bar .footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }


/* ═══════════════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════════════
   NASAPLAST — Consolidated Enhancements v6 (clean, no conflicts)
   ═══════════════════════════════════════════════════════════════ */

/* 1. DARK MODE RIPPLE ANIMATION */
.dark-mode-ripple {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 99998;
  transform: scale(0); opacity: 0;
  background: radial-gradient(circle, rgba(192,38,46,0.2) 0%, rgba(15,10,10,0.95) 60%, transparent 100%);
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1), opacity 0.65s ease;
}
.dark-mode-ripple.active { transform: scale(1); opacity: 1; }
.dark-mode-ripple.fade-out { opacity: 0; transform: scale(1.15); transition: opacity 0.4s ease, transform 0.4s ease; }

.dark-stars-container { position: fixed; inset: 0; pointer-events: none; z-index: 99997; overflow: hidden; opacity: 0; transition: opacity 0.4s ease; }
.dark-stars-container.active { opacity: 1; }
.dark-star { position: absolute; width: 3px; height: 3px; background: white; border-radius: 50%; opacity: 0; animation: starAppear 0.6s ease forwards; }
@keyframes starAppear { 0% { opacity: 0; transform: scale(0) translateY(8px); } 60% { opacity: 1; transform: scale(1.4) translateY(-3px); } 100% { opacity: 0.5; transform: scale(1) translateY(0); } }

.theme-shimmer { position: fixed; inset: 0; pointer-events: none; z-index: 99995; background: linear-gradient(90deg, transparent, rgba(192,38,46,0.12), transparent); opacity: 0; display: none; }
.theme-shimmer.active { display: block; animation: darkModeShimmer 0.65s ease forwards; }
@keyframes darkModeShimmer { 0% { opacity: 0; transform: translateX(-100%); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } }

.dark-particle { position: fixed; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); pointer-events: none; z-index: 99999; animation: floatParticle 1.1s ease forwards; }
@keyframes floatParticle { 0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.9; } 60% { transform: translateY(-55px) translateX(15px) scale(1.2); opacity: 0.5; } 100% { transform: translateY(-110px) translateX(-8px) scale(0); opacity: 0; } }

/* 2. SVG THEME ICON */
.theme-icon-svg { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; transform: none !important; transform-origin: center center; }
.theme-icon-svg svg { display: block; width: 18px; height: 18px; transform: none; transform-origin: center center; overflow: visible; }
.theme-toggle.spinning .theme-icon-svg { animation: iconSpin 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes iconSpin { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(200deg) scale(1.25); } 100% { transform: rotate(360deg) scale(1); } }
[data-theme="dark"] .theme-toggle { color: #ffd700; background: rgba(192,38,46,0.15); border-color: rgba(192,38,46,0.3); box-shadow: 0 0 12px rgba(192,38,46,0.2); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(192,38,46,0.25); box-shadow: 0 0 20px rgba(192,38,46,0.35); transform: scale(1.1); }
[data-theme="dark"] .theme-icon-svg svg { color: #ffd700; }

/* 3. HERO */
.hero { padding-top: 100px !important; padding-bottom: 60px !important; background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(192,38,46,0.07) 0%, transparent 68%), linear-gradient(180deg, #f5f0ea 0%, #faf7f4 55%, var(--bg) 100%) !important; }
.hero-dots { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-dots::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 55%; background-image: radial-gradient(circle, rgba(192,38,46,0.16) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 20%, transparent 75%); }
.hero-watermark { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); width: min(300px, 75vw); opacity: 0.04; pointer-events: none; z-index: 0; filter: grayscale(1); user-select: none; }
.hero-brand-stamp { position: relative; z-index: 3; display: flex; justify-content: center; align-items: center; margin-bottom: 28px; animation: fadeUp 0.7s 0.05s ease-out both; transform: none !important; }
.hero-brand-stamp img { display: block; width: 88px; height: 88px; object-fit: contain; border-radius: 20px; box-shadow: 0 10px 32px rgba(192,38,46,0.18), 0 3px 10px rgba(0,0,0,0.1); border: 2px solid rgba(192,38,46,0.12); background: white; padding: 6px; transform: none !important; transition: box-shadow 0.3s ease !important; }
.hero > * { position: relative !important; z-index: 2 !important; }
.hero-canvas, .hero-dots, .hero-watermark { z-index: 0 !important; position: absolute !important; }
.hero::before, .hero::after { z-index: 0 !important; }
.navbar .logo img { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important; animation: none !important; }

[data-theme="dark"] .hero { background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(192,38,46,0.1) 0%, transparent 68%), linear-gradient(180deg, #0e0b0b 0%, #130d0d 55%, #0f0d0d 100%) !important; }
[data-theme="dark"] .hero-watermark { opacity: 0.03 !important; filter: grayscale(1) brightness(3) !important; }
[data-theme="dark"] .hero-dots::before { background-image: radial-gradient(circle, rgba(192,38,46,0.18) 1px, transparent 1px); }
[data-theme="dark"] .hero-text h1 { color: #f0e8e8 !important; }
[data-theme="dark"] .hero-text h1 .highlight { color: var(--primary-lt) !important; }
[data-theme="dark"] .hero-text p { color: #9ca3af !important; }
[data-theme="dark"] .hero-badge { background: rgba(22,15,15,0.92) !important; border: 1px solid rgba(192,38,46,0.28) !important; color: #e8dede !important; }
[data-theme="dark"] .hero-badge i { color: var(--primary-lt) !important; }
[data-theme="dark"] .hero-brand-stamp img { background: #1e1818; border-color: rgba(192,38,46,0.2); }
[data-theme="dark"] .typewriter-cursor { background: var(--primary-lt) !important; }

@media (max-width: 768px) {
  .hero { padding-top: 82px !important; padding-bottom: 44px !important; }
  .hero-brand-stamp img { width: 72px; height: 72px; border-radius: 16px; }
  .hero-watermark { width: min(220px, 68vw); }
}

/* 4. PRODUCT CARDS — clean, no overflow:visible, no conflicting rules */
.products-section .prod-grid { gap: 20px; padding: 0 2px; }

.products-section .product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.products-section .product-card::before {
  content: ''; position: absolute; top: 0; left: 14px; right: 14px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 0 0 2px 2px; opacity: 0; transition: opacity 0.28s ease; z-index: 1;
}
.products-section .product-card::after { display: none !important; }
.products-section .product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(0,0,0,0.1), 0 4px 8px rgba(192,38,46,0.06); border-color: rgba(192,38,46,0.14); }
.products-section .product-card:hover::before { opacity: 0.5; }

.products-section .prod-img-wrap { width: 100%; height: 188px; background: linear-gradient(155deg, #f9f5f1 0%, #fdf8f5 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.products-section .product-card img { max-width: 88%; max-height: 165px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.1)); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), filter 0.28s ease; }
.products-section .product-card:hover img { transform: scale(1.06) translateY(-3px); filter: drop-shadow(0 10px 16px rgba(0,0,0,0.14)); }

.products-section .product-card h3 { font-size: 14px; font-weight: 800; color: #1a1212; margin: 13px 13px 9px; line-height: 1.4; flex: 1; }
.products-section .btn-details { display: block; margin: 0 13px 9px; padding: 10px 16px; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: white; border-radius: 11px; font-size: 13px; font-weight: 800; text-align: center; box-shadow: 0 3px 11px rgba(192,38,46,0.26); transition: transform 0.22s var(--spring), box-shadow 0.22s; }
.products-section .btn-details:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(192,38,46,0.4); }
.products-section .card-wa-btn { margin: 0 13px 13px; }
.products-section .product-card:hover .card-wa-btn { opacity: 1; transform: translateY(0); }
@media (hover: none) { .products-section .card-wa-btn { opacity: 1 !important; transform: none !important; } }

[data-theme="dark"] .products-section .product-card { background: #1c1717; border-color: rgba(255,255,255,0.07); box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
[data-theme="dark"] .products-section .product-card:hover { box-shadow: 0 14px 32px rgba(0,0,0,0.42), 0 4px 8px rgba(192,38,46,0.1); border-color: rgba(192,38,46,0.2); }
[data-theme="dark"] .products-section .prod-img-wrap { background: linear-gradient(155deg, #1e1919 0%, #231d1d 100%); }
[data-theme="dark"] .products-section .product-card h3 { color: #ede6e6; }

@media (max-width: 768px) {
  .products-section .prod-grid { grid-template-columns: repeat(2,1fr) !important; gap: 11px !important; }
  .products-section .prod-img-wrap { height: 150px; }
  .products-section .product-card img { max-height: 130px; }
  .products-section .product-card h3 { font-size: 12.5px; margin: 10px 11px 8px; }
  .products-section .btn-details { margin: 0 11px 8px; padding: 9px 13px; font-size: 12px; border-radius: 9px; }
  .products-section .card-wa-btn { margin: 0 11px 11px; border-radius: 9px; }
}
@media (max-width: 400px) { .products-section .prod-grid { gap: 8px !important; } .products-section .product-card h3 { font-size: 11.5px; } }

/* 5. OFFERS ITEMS */
.offers .product-item { background: #fff; border-radius: 14px; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 2px 9px rgba(0,0,0,0.05); overflow: hidden; transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s ease; }
.offers .product-item:hover { transform: translateY(-5px); box-shadow: 0 13px 26px rgba(0,0,0,0.1), 0 3px 7px rgba(192,38,46,0.06); }
.offers .product-item .img-wrap { background: linear-gradient(155deg, #f9f5f1, #fdf8f5); height: 140px; overflow: hidden; }
.offers .product-item img { filter: drop-shadow(0 4px 8px rgba(0,0,0,0.09)); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1); }
.offers .product-item:hover img { transform: scale(1.05) translateY(-2px); }
.offers .product-item h3 { font-size: 12.5px; font-weight: 800; color: #1a1212; padding: 10px 11px 7px; }
.offers .btn-product { display: block; margin: 0 11px 12px; padding: 8px 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: white; border-radius: 9px; font-size: 11.5px; font-weight: 800; text-align: center; box-shadow: 0 3px 9px rgba(192,38,46,0.22); transition: transform 0.22s var(--spring), box-shadow 0.22s; }
.offers .btn-product:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(192,38,46,0.36); }
[data-theme="dark"] .offers .product-item { background: #1c1717; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .offers .product-item .img-wrap { background: linear-gradient(155deg, #1e1919, #231d1d); }
[data-theme="dark"] .offers .product-item h3 { color: #ede6e6; }
@media (max-width: 768px) { .offers .product-grid { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; } .offers .product-item .img-wrap { height: 118px; } }

/* 6. CONTACT + ABOUT */
.contact-card { border-radius: 16px; transition: transform 0.28s var(--spring), box-shadow 0.28s ease; border: 1px solid var(--border); background: var(--white); }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 13px 28px rgba(0,0,0,0.09); }
[data-theme="dark"] .contact-card { background: #1c1717 !important; border-color: rgba(255,255,255,0.08) !important; }
[data-theme="dark"] .contact-card h3 { color: #e8e2e2 !important; }
[data-theme="dark"] .contact-card p { color: #9ca3af !important; }
.about-item { border-radius: 18px; overflow: hidden; transition: transform 0.28s var(--spring), box-shadow 0.28s ease; }
.about-item:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,0,0,0.09); }
.section-header h2::after { content: ''; position: absolute; bottom: -8px; right: 50%; transform: translateX(50%); width: 42px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-lt)); border-radius: 3px; }

/* 7. DARK MODE TEXT FIXES */
[data-theme="dark"] .partners-section           { background: #141111 !important; border-color: rgba(255,255,255,0.06) !important; }
[data-theme="dark"] .partners-section h2        { color: #e8e2e2 !important; }
[data-theme="dark"] .partners-section p         { color: #9ca3af !important; }
[data-theme="dark"] .about-us                   { background: #141111 !important; }
[data-theme="dark"] .about-item h3              { color: var(--primary-lt) !important; }
[data-theme="dark"] .about-item p               { color: #9ca3af !important; }
[data-theme="dark"] .features-section           { background: #141111 !important; }
[data-theme="dark"] .features-title             { color: #e8e2e2 !important; }
[data-theme="dark"] .features-list ul li        { color: #b0a8a8 !important; }
[data-theme="dark"] .exhibition-section         { background: #0f0d0d !important; }
[data-theme="dark"] .exhibition-title           { color: #e8e2e2 !important; }
[data-theme="dark"] .offers h2                  { color: #e8e2e2 !important; }
[data-theme="dark"] .offer-details              { color: #9ca3af !important; }
[data-theme="dark"] .navbar                     { background: rgba(8,6,6,0.97) !important; }
[data-theme="dark"] .footer-section             { background: #0a0808 !important; }

/* 8. TICKER — GPU-accelerated, no flicker */
 100% { transform: translate3d(-50%,0,0); } }
 100% { transform: translate3d(-50%,0,0); } }

.certificate-item, .certificate-item img, .tickerlogo { opacity: 1 !important; visibility: visible !important; }
.certificate-section .reveal, .certificate-section .reveal-left, .certificate-section .reveal-right { opacity: 1 !important; transform: none !important; }
/* Mobile mask handled in final block */

/* 9. BODY TRANSITIONS — background/color only, no transform */
body, .product-card, .faq-item, .faq-question, .about-item,
.form-group input, .form-group textarea, .footer-section,
.products-section, .certificate-section, .contact-section,
.about-section, .prod-img-wrap, .product-item .img-wrap, .info-section {
  transition: background-color 0.36s ease, background 0.36s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar { transition: background-color 0.36s ease, height 0.3s var(--ease), box-shadow 0.3s ease !important; }
.navbar .logo img { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important; animation: none !important; }

/* 10. MOBILE NAVBAR */
@media (max-width: 768px) {
  .navbar { padding: 0 14px !important; height: 58px !important; }
  .navbar.scrolled { height: 50px !important; }
  .navbar .logo img { width: 60px !important; }
  .navbar-controls { gap: 6px !important; }
  .navbar-controls .btn-pdf { display: none !important; }
}


/* ═══════════════════════════════════════════════════════════════
   ✨ v7 — Back-to-Top Premium + Offer Button Fix
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. OFFER BUTTON FIX — text was getting clipped on mobile ── */
/* Original had border-radius:50px which clips 2-line text on small screens */
.btn-product {
  border-radius: 12px !important;    /* rectangular, not pill */
  padding: 11px 14px !important;
  line-height: 1.35 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: normal !important;    /* allow wrapping */
  word-break: keep-all !important;
  min-height: 44px !important;       /* enough height for 2 lines */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
/* Override the consolidated .offers .btn-product too */
.offers .btn-product {
  border-radius: 12px !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 400px) {
  .btn-product, .offers .btn-product { font-size: 12px !important; padding: 10px 11px !important; }
}

/* ── 2. BACK TO TOP — Premium with scroll progress ring ── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  left: 22px;
  width: 50px; height: 50px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 998;
  padding: 0;
  /* hidden state */
  opacity: 0; visibility: hidden;
  transform: translateY(18px) scale(0.8);
  transition: opacity 0.35s var(--spring), visibility 0.35s, transform 0.35s var(--spring), box-shadow 0.25s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(192,38,46,0.45);
  overflow: visible;
}
.back-to-top.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: var(--primary-dk);
  box-shadow: 0 8px 28px rgba(192,38,46,0.6);
  transform: translateY(-3px) scale(1.06) !important;
}
.back-to-top:active {
  transform: scale(0.94) !important;
}

/* SVG progress ring */
.btt-ring {
  position: absolute;
  top: -3px; left: -3px;
  width: 56px; height: 56px;
  pointer-events: none;
}
.btt-ring-progress {
  transition: stroke-dashoffset 0.15s linear;
}

/* Arrow icon */
.btt-arrow {
  position: relative;
  z-index: 1;
  width: 20px; height: 20px;
  transition: transform 0.25s var(--spring);
}
.back-to-top:hover .btt-arrow {
  transform: translateY(-2px);
}

/* Pulse animation when first appears */
@keyframes bttAppear {
  0%   { box-shadow: 0 4px 20px rgba(192,38,46,0.45); }
  40%  { box-shadow: 0 4px 20px rgba(192,38,46,0.45), 0 0 0 8px rgba(192,38,46,0.15); }
  100% { box-shadow: 0 4px 20px rgba(192,38,46,0.45), 0 0 0 14px rgba(192,38,46,0); }
}
.back-to-top.visible {
  animation: bttAppear 0.6s ease forwards;
}

/* Click ripple effect */
.back-to-top::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0); opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.back-to-top:active::after {
  transform: scale(2.2); opacity: 0;
  transition: transform 0s, opacity 0s;
}

/* Dark mode */
[data-theme="dark"] .back-to-top { box-shadow: 0 4px 20px rgba(192,38,46,0.3); }
[data-theme="dark"] .back-to-top:hover { box-shadow: 0 8px 28px rgba(192,38,46,0.5); }

/* Mobile adjustments */
@media (max-width: 480px) {
  .back-to-top { left: 14px; bottom: 94px; width: 46px; height: 46px; }
  .btt-ring { width: 52px; height: 52px; }
}



/* ═══════════════════════════════════════════════════════════════
   v8 — FINAL FIXES: Button alignment + Back-to-Top position
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. OFFER BUTTON — محاذاة النص بالظبط ── */
/* Kill all previous conflicting rules with one clean block */
.btn-product,
.offers .btn-product,
.product-item .btn-product {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: calc(100% - 22px) !important;   /* full width minus margins */
  margin: 0 11px 13px !important;
  padding: 12px 10px !important;
  min-height: 48px !important;            /* enough for 2 lines */
  line-height: 1.4 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: normal !important;         /* allow text wrap */
  word-break: keep-all !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(192,38,46,0.3) !important;
  transition: transform 0.22s var(--spring), box-shadow 0.22s !important;
}
.btn-product:hover,
.offers .btn-product:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 20px rgba(192,38,46,0.45) !important;
}

/* ── 2. BACK-TO-TOP — محاذاة مع الواتساب ── */
/*
  wa-float  (desktop): bottom:24px, left:24px, size:60px
  wa-float  (mobile ≤768px): bottom:18px, left:18px, size:54px
  back-to-top sits 12px above wa-float, horizontally centered on it

  Desktop: bottom = 24+60+12 = 96px | left = 24+(60-50)/2 = 29px
  Mobile:  bottom = 18+54+12 = 84px | left = 18+(54-46)/2 = 22px
*/
.back-to-top {
  bottom: 96px !important;
  left: 29px !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
}
.btt-ring {
  top: -3px !important;
  left: -3px !important;
  width: 56px !important;
  height: 56px !important;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 84px !important;
    left: 22px !important;
    width: 46px !important;
    height: 46px !important;
  }
  .btt-ring {
    width: 52px !important;
    height: 52px !important;
    top: -3px !important;
    left: -3px !important;
  }
}



/* ═══════════════════════════════════════════════════════════════
   🚀 NASA PLAST — Full Rebrand v9
   Primary: Deep Navy + Sky Blue accent (from logo)
   ═══════════════════════════════════════════════════════════════ */

/* ── New Brand Color Palette ── */
:root {
  /* Brand primaries — replacing red with navy+blue */
  --primary:    #0d5c7a;   /* deep ocean blue */
  --primary-dk: #0a3f56;   /* darker navy */
  --primary-lt: #1490b8;   /* sky blue highlight */
  --primary-glow: rgba(13,92,122,0.35);

  /* Accent — keep a warm punch for CTAs */
  --accent:     #e85d26;   /* rocket flame orange */
  --accent-dk:  #c44a1a;

  /* Backgrounds — slightly cooler off-white */
  --bg:         #f4f7f9;
  --dark:       #0a1628;
  --dark2:      #0f2241;

  /* Updated shadows */
  --sh-sm: 0 2px 12px rgba(13,92,122,0.09);
  --sh-md: 0 8px 32px rgba(13,92,122,0.14);
  --sh-lg: 0 20px 60px rgba(13,92,122,0.18);
}

/* ── Dark mode override with new palette ── */
[data-theme="dark"] {
  --bg-page:    #080f1a;
  --bg-card:    #0f1e35;
  --bg-section: #0c1628;
  --bg:         #0f1e35;
  --white:      #0f1e35;
  --text:       #e0eaf2;
  --text-main:  #e0eaf2;
  --muted:      #7a9ab5;
  --border:     rgba(20,144,184,0.12);
  --border2:    rgba(20,144,184,0.15);
}

/* ── Navbar ── */
.navbar {
  background: rgba(8, 15, 30, 0.97) !important;
  border-bottom: 1px solid rgba(20,144,184,0.15) !important;
}
[data-theme="dark"] .navbar {
  background: rgba(5, 10, 22, 0.99) !important;
  border-bottom-color: rgba(20,144,184,0.1) !important;
}

/* ── Reading progress bar ── */
.reading-progress {
  background: linear-gradient(90deg, var(--primary), var(--primary-lt), #1aaad4) !important;
}

/* ── Hero section ── */
.hero {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(13,92,122,0.08) 0%, transparent 68%),
    linear-gradient(180deg, #eef4f8 0%, #f4f7f9 55%, var(--bg) 100%) !important;
}
.hero::before {
  background: radial-gradient(ellipse, rgba(13,92,122,0.07) 0%, transparent 70%) !important;
}
.hero-dots::before {
  background-image: radial-gradient(circle, rgba(13,92,122,0.18) 1px, transparent 1px) !important;
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(13,92,122,0.15) 0%, transparent 68%),
    linear-gradient(180deg, #060d1a 0%, #0a1525 55%, #080f1a 100%) !important;
}
[data-theme="dark"] .hero-dots::before {
  background-image: radial-gradient(circle, rgba(20,144,184,0.2) 1px, transparent 1px) !important;
}

/* Hero brand stamp */
.hero-brand-stamp img {
  background: linear-gradient(135deg, #0a1628, #0d2545) !important;
  border-color: rgba(20,144,184,0.3) !important;
  box-shadow: 0 10px 32px rgba(13,92,122,0.3), 0 3px 10px rgba(0,0,0,0.2) !important;
}

/* Hero badges */
.hero-badge {
  border-color: rgba(13,92,122,0.18) !important;
}
.hero-badge i { color: var(--primary-lt) !important; }
[data-theme="dark"] .hero-badge {
  background: rgba(8,20,45,0.92) !important;
  border-color: rgba(20,144,184,0.3) !important;
}
[data-theme="dark"] .hero-badge i { color: var(--primary-lt) !important; }

/* Typewriter cursor */
.typewriter-cursor { background: var(--primary-lt) !important; }
.hero-text h1 .highlight { color: var(--primary-lt) !important; }
[data-theme="dark"] .hero-text h1 .highlight { color: #1aaad4 !important; }

/* ── Section headers underline ── */
.section-header h2::after {
  background: linear-gradient(90deg, var(--primary), var(--primary-lt)) !important;
}

/* ── CTA / Primary buttons ── */
.cta .btn-pdf,
.navbar-controls .btn-pdf,
.mobile-nav-footer .btn-pdf {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important;
  box-shadow: 0 4px 16px rgba(13,92,122,0.38) !important;
}
.cta .btn-pdf:hover,
.navbar-controls .btn-pdf:hover {
  box-shadow: 0 8px 24px rgba(13,92,122,0.55) !important;
}

/* ── OFFER buttons — use accent orange for CTA punch ── */
.btn-product,
.offers .btn-product {
  background: linear-gradient(135deg, #e85d26, #c44a1a) !important;
  box-shadow: 0 4px 14px rgba(232,93,38,0.35) !important;
}
.btn-product:hover,
.offers .btn-product:hover {
  box-shadow: 0 7px 22px rgba(232,93,38,0.52) !important;
}
[data-theme="dark"] .btn-product,
[data-theme="dark"] .offers .btn-product {
  box-shadow: 0 4px 14px rgba(232,93,38,0.25) !important;
}

/* Highlighted text (15% discount link) */
.highlighted-text { color: var(--accent) !important; }

/* ── Product cards ── */
.products-section .product-card::before {
  background: linear-gradient(90deg, transparent, var(--primary-lt), transparent) !important;
}
.products-section .product-card:hover {
  border-color: rgba(13,92,122,0.18) !important;
  box-shadow: 0 14px 32px rgba(13,92,122,0.12), 0 4px 8px rgba(13,92,122,0.07) !important;
}
.products-section .btn-details {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important;
  box-shadow: 0 3px 11px rgba(13,92,122,0.3) !important;
}
.products-section .btn-details:hover {
  box-shadow: 0 7px 20px rgba(13,92,122,0.48) !important;
}
[data-theme="dark"] .products-section .product-card:hover {
  border-color: rgba(20,144,184,0.25) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.45), 0 4px 8px rgba(13,92,122,0.12) !important;
}

/* ── About section ── */
.about-item h3 { color: var(--primary) !important; }
[data-theme="dark"] .about-item h3 { color: var(--primary-lt) !important; }

/* ── Features stats ── */
.stat-number { color: var(--primary) !important; }
[data-theme="dark"] .stat-number { color: var(--primary-lt) !important; }

/* ── Features list checkmarks / icons ── */
.features-list ul li::before { color: var(--primary-lt); }

/* ── Partners ticker — logos on blue tint hover ── */
.tickerlogo:hover { filter: none; opacity: 1; transform: scale(1.1); }

/* ── Certificate section ── */
.certificate-section {
  background: linear-gradient(135deg, #080f1a 0%, #0a1a2e 50%, #0d2040 100%) !important;
}
.certificate-item:hover {
  box-shadow: 0 18px 32px rgba(13,92,122,0.4) !important;
}

/* ── Contact section ── */
.contact-card i { color: var(--primary-lt) !important; }
.contact-card:hover {
  border-color: rgba(13,92,122,0.18) !important;
  box-shadow: 0 13px 28px rgba(13,92,122,0.1) !important;
}
[data-theme="dark"] .contact-section { background: #0c1628 !important; }
[data-theme="dark"] .contact-card i { color: var(--primary-lt) !important; }

/* Submit button */
.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important;
  box-shadow: 0 4px 16px rgba(13,92,122,0.35) !important;
}
.submit-btn:hover { box-shadow: 0 8px 24px rgba(13,92,122,0.5) !important; }

/* ── FAQ ── */
.faq-icon i { color: var(--primary-lt) !important; }
.faq-question:hover .faq-icon i { color: var(--primary-lt) !important; }
[data-theme="dark"] .faq-question:hover { background: rgba(13,92,122,0.1) !important; }

/* ── Back to top & WA float ── */
.back-to-top {
  background: var(--primary) !important;
  box-shadow: 0 4px 20px rgba(13,92,122,0.5) !important;
}
.back-to-top:hover {
  background: var(--primary-dk) !important;
  box-shadow: 0 8px 28px rgba(13,92,122,0.65) !important;
}
[data-theme="dark"] .back-to-top { box-shadow: 0 4px 20px rgba(13,92,122,0.35) !important; }

/* ── Dark mode toggle — now glows blue ── */
[data-theme="dark"] .theme-toggle {
  background: rgba(13,92,122,0.2) !important;
  border-color: rgba(20,144,184,0.35) !important;
  box-shadow: 0 0 12px rgba(13,92,122,0.3) !important;
}
[data-theme="dark"] .theme-toggle:hover {
  background: rgba(13,92,122,0.35) !important;
  box-shadow: 0 0 20px rgba(20,144,184,0.4) !important;
}

/* ── Footer ── */
.footer-section {
  background: linear-gradient(180deg, #060d1a 0%, #040a14 100%) !important;
}
.footer-top-bar {
  background: linear-gradient(90deg, var(--primary-dk), var(--primary), var(--primary-lt)) !important;
}
.footer-links a i { color: var(--primary-lt) !important; }
.footer-contact-list li i { color: var(--primary-lt) !important; }
.footer-col-title i { color: var(--primary-lt) !important; }

/* ── Mobile nav ── */
.mobile-nav { background: linear-gradient(160deg, #060d1a 0%, #0a1628 100%) !important; }
.mobile-nav ul li a:hover { background: rgba(13,92,122,0.15) !important; border-color: rgba(20,144,184,0.25) !important; }

/* ── Download button ── */
.btn-download {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important;
  box-shadow: 0 5px 18px rgba(13,92,122,0.35) !important;
}
.btn-download:hover { box-shadow: 0 10px 28px rgba(13,92,122,0.52) !important; }

/* ── Explore button ── */
.explore-products { color: var(--primary) !important; }
.explore-products:hover { color: var(--primary-lt) !important; }
.explore-products i { color: var(--primary-lt) !important; }

/* ── Social buttons in footer ── */
.fsb-fb:hover { background: #1877f2 !important; }
.fsb-ig:hover { background: #e1306c !important; }
.fsb-wa:hover { background: #25D366 !important; }
.fsb-yt:hover { background: #FF0000 !important; }

/* ── Prod badges ── */
.prod-badge-hot  { background: linear-gradient(135deg, var(--accent), var(--accent-dk)) !important; }
.prod-badge-best { background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important; }
.prod-badge-new  { background: linear-gradient(135deg, #0d7f4f, #085c38) !important; }

/* ── WhatsApp card button stays green ── */
.card-wa-btn {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  box-shadow: 0 3px 9px rgba(37,211,102,0.25) !important;
}

/* ── Features section bg ── */
.features-section {
  background: linear-gradient(135deg, #eef4f8 0%, #f4f7f9 100%) !important;
}
[data-theme="dark"] .features-section {
  background: linear-gradient(135deg, #080f1a 0%, #0c1628 100%) !important;
}

/* ── Image blob behind features image ── */
.image-bg-blob {
  background: radial-gradient(ellipse, rgba(13,92,122,0.12) 0%, transparent 70%) !important;
}

/* ── About section background ── */
.about-us { background: #f4f7f9 !important; }
[data-theme="dark"] .about-us { background: #0c1628 !important; }

/* ── Partners section ── */
.partners-section { background: #eef4f8 !important; border-color: rgba(13,92,122,0.1) !important; }
[data-theme="dark"] .partners-section { background: #0a1525 !important; }

/* ── Exhibition ── */
.exhibition-section { background: #080f1a !important; }
.exhibition-title { color: #e0eaf2 !important; }

/* ── Offers section background ── */
.offers { background: #f4f7f9 !important; }
[data-theme="dark"] .offers { background: #080f1a !important; }

/* ── Hero canvas particles color update via JS won't apply so make it harmonious ── */
.hero-canvas { opacity: 0.45 !important; }

/* ── Scrollbar (webkit) ── */
::-webkit-scrollbar-thumb { background: var(--primary) !important; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-lt) !important; }



/* ═══════════════════════════════════════════════════════════════
   ✨ v10 — Explore Button + Badges + Card Shimmer
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. "استكشف منتجاتنا" — مرئية في الدارك مود ── */
.explore-products {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(20,144,184,0.3) !important;
  box-shadow: 0 5px 20px rgba(13,92,122,0.35) !important;
}
.explore-products:hover {
  box-shadow: 0 10px 30px rgba(13,92,122,0.55) !important;
  color: #ffffff !important;
}
.explore-products i { color: #ffffff !important; }

[data-theme="dark"] .explore-products {
  background: linear-gradient(135deg, #0d5c7a, #1490b8) !important;
  color: #ffffff !important;
  border-color: rgba(20,144,184,0.4) !important;
  box-shadow: 0 5px 24px rgba(13,92,122,0.5) !important;
}
[data-theme="dark"] .explore-products:hover {
  box-shadow: 0 10px 32px rgba(20,144,184,0.6) !important;
}

/* ── 2. Hero Badges — أوضح وأجمل ── */
/* Light mode: white glass with blue border */
.hero-badge {
  background: rgba(255,255,255,0.92) !important;
  border: 1.5px solid rgba(13,92,122,0.2) !important;
  color: #0a1628 !important;
  box-shadow: 0 3px 14px rgba(13,92,122,0.1) !important;
  backdrop-filter: blur(8px) !important;
  font-weight: 700 !important;
}
.hero-badge i { color: var(--primary-lt) !important; }

/* Dark mode: vivid blue-tinted glass — very visible */
[data-theme="dark"] .hero-badge {
  background: rgba(13,50,85,0.88) !important;
  border: 1.5px solid rgba(20,144,184,0.45) !important;
  color: #d8eaf5 !important;
  box-shadow: 0 3px 14px rgba(13,92,122,0.35), inset 0 1px 0 rgba(20,144,184,0.15) !important;
  backdrop-filter: blur(10px) !important;
}
[data-theme="dark"] .hero-badge i { color: #38c4e8 !important; }

/* ── 3. Product Card Shimmer on Hover ── */

/* The shimmer: a white-blue light sweep across the card */
.products-section .product-card {
  isolation: isolate; /* new stacking context for pseudo-elements */
}

/* Shimmer layer — starts off-screen left, sweeps to right on hover */
.products-section .product-card::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 30%,
    rgba(20,144,184,0.12) 48%,
    rgba(255,255,255,0.18) 52%,
    rgba(20,144,184,0.08) 56%,
    transparent 70%,
    transparent 100%
  ) !important;
  background-size: 250% 100% !important;
  background-position: -100% 0 !important;
  opacity: 0 !important;
  transition: background-position 0.55s ease, opacity 0.2s ease !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.products-section .product-card:hover::after {
  background-position: 200% 0 !important;
  opacity: 1 !important;
}

/* Blue glow border on hover */
.products-section .product-card:hover {
  box-shadow:
    0 14px 32px rgba(13,92,122,0.13),
    0 4px 8px rgba(13,92,122,0.08),
    0 0 0 1.5px rgba(20,144,184,0.25) !important;
}

/* Dark mode — stronger glow */
[data-theme="dark"] .products-section .product-card:hover {
  box-shadow:
    0 16px 36px rgba(0,0,0,0.5),
    0 4px 10px rgba(13,92,122,0.2),
    0 0 0 1.5px rgba(20,144,184,0.35),
    0 0 20px rgba(20,144,184,0.1) !important;
}

/* Dark mode shimmer — more visible */
[data-theme="dark"] .products-section .product-card::after {
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 28%,
    rgba(20,144,184,0.18) 46%,
    rgba(180,230,255,0.22) 52%,
    rgba(20,144,184,0.14) 58%,
    transparent 72%,
    transparent 100%
  ) !important;
  background-size: 250% 100% !important;
  background-position: -100% 0 !important;
}

/* Also apply shimmer to offers product-item */
.offers .product-item {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.offers .product-item::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 30%,
    rgba(20,144,184,0.1) 48%,
    rgba(255,255,255,0.15) 52%,
    rgba(20,144,184,0.06) 56%,
    transparent 70%,
    transparent 100%
  );
  background-size: 250% 100%;
  background-position: -100% 0;
  opacity: 0;
  transition: background-position 0.55s ease, opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}
.offers .product-item:hover::after {
  background-position: 200% 0;
  opacity: 1;
}
.offers .product-item:hover {
  box-shadow:
    0 13px 28px rgba(13,92,122,0.11),
    0 0 0 1.5px rgba(20,144,184,0.2) !important;
}



/* ═══════════════════════════════════════════════════════════════
   🖥️ PC EXPERIENCE + PERFORMANCE FIXES — v11
   ═══════════════════════════════════════════════════════════════ */

/* ── PC: Hero max-width content ── */
@media (min-width: 1200px) {
  .hero-text { max-width: 860px; }
  .hero-text h1 { font-size: 52px; }
  .hero-badges { gap: 14px; margin-top: 28px; }
  .hero-badge { font-size: 14px; padding: 9px 20px; }
  .hero-brand-stamp img { width: 100px; height: 100px; }
  .video-frame { max-width: 900px; }
}

/* ── PC: Product grid — 4 cols with better spacing ── */
@media (min-width: 1200px) {
  .products-section .prod-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
    max-width: 1300px;
    margin: 0 auto;
  }
  .products-section .prod-img-wrap { height: 220px; }
  .products-section .product-card img { max-height: 196px; }
  .products-section .product-card h3 { font-size: 15px; }
  .products-section .btn-details { font-size: 14px; padding: 11px 18px; }
}

/* ── PC: Offers grid — 4 cols ── */
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    max-width: 1300px;
    margin: 0 auto;
  }
  .offers .product-item .img-wrap { height: 170px; }
  .offers .product-item h3 { font-size: 14px; }
}

/* ── PC: Sections max-width containment ── */
@media (min-width: 1200px) {
  .offers > *:not(.product-grid) { max-width: 1300px; margin-left: auto; margin-right: auto; }
  .about-stack { max-width: 1300px; margin: 0 auto; }
  .features-content { max-width: 1300px; }
  .faq-container { max-width: 900px; }
}

/* ── PC: Features bigger stats ── */
@media (min-width: 1200px) {
  .stat-item { min-width: 150px; max-width: 220px; padding: 22px 18px; }
  .stat-number { font-size: clamp(28px, 2.6vw, 40px) !important; }
  .features-list h2 { font-size: 30px; }
  .features-list ul li { font-size: 16px; }
}

/* ── PC: Navbar wider padding ── */
@media (min-width: 1200px) {
  .navbar { padding: 0 60px !important; }
  .nav-links { gap: 42px; }
  .nav-links a { font-size: 15.5px; }
}

/* ── PC: Footer wider ── */
@media (min-width: 1200px) {
  .footer-main { max-width: 1300px; padding: 64px 60px 40px; }
  .footer-bottom-bar { max-width: 1300px; padding: 20px 60px; }
}

/* ── PC: Contact section ── */
@media (min-width: 1200px) {
  .contact-grid { max-width: 1300px; margin: 0 auto; }
  .contact-form-map { max-width: 1300px; }
}

/* ── PERFORMANCE: Reduce canvas particles on mobile ── */
@media (max-width: 768px) {
  .hero-canvas { display: none !important; } /* saves ~15ms frame budget */
}

/* ── PERFORMANCE: Reduce animations on low-end devices ── */
@media (prefers-reduced-motion: reduce) {
  .certificate-slider, .img-ticker { animation: none !important; overflow-x: auto !important; }
  .img-ticker { width: 100% !important; flex-wrap: wrap !important; }
  .certificate-slider { width: 100% !important; flex-wrap: wrap !important; justify-content: center !important; }
  .ticker-container, .cert-slider-wrap { overflow-x: auto !important; min-height: auto !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.1ms !important; }
}

/* ── Mobile: remove overflow-x issues ── */
body { overflow-x: clip; }

/* ── Mobile: larger tap targets ── */
@media (max-width: 768px) {
  .nav-links a { padding: 8px 0; }
  .faq-question { padding: 18px 16px !important; min-height: 56px; }
  .contact-card { padding: 22px 16px !important; }
  .footer-links a { padding: 6px 0; min-height: 36px; }
}

/* ── PC: Section headings bigger ── */
@media (min-width: 1200px) {
  .section-header h2 { font-size: 38px; }
  .section-header p  { font-size: 17px; }
}

/* ── Fix hero before blob — 700px fixed width breaks mobile ── */
.hero::before {
  width: clamp(300px, 60vw, 700px) !important;
}



/* ═══════════════════════════════════════════════════════════════
   🎞️ TICKER — Clean Seamless Loop v11
   Logic: strip contains 2× the original set, animate -50% = 1 full loop
   ═══════════════════════════════════════════════════════════════ */

/* --- All ticker items always visible --- */
.tickerlogo,
.certificate-item,
.certificate-item img {
  opacity: 1 !important;
  visibility: visible !important;
  flex-shrink: 0;
}

/* Mobile mask handled in final block */

/* --- Prevent reveal/IntersectionObserver from hiding ticker content --- */
.ticker-container .reveal,
.ticker-container [class*="reveal"],
.cert-slider-wrap  .reveal,
.cert-slider-wrap  [class*="reveal"] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* --- Reduced motion: stop animation but show all items --- */
@media (prefers-reduced-motion: reduce) {
  .img-ticker, .certificate-slider {
    animation: none !important;
    overflow-x: auto !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 16px !important;
  }
}



/* ═══════════════════════════════════════════════════════════════
   🌙 DARK MODE ANIMATION CSS — Clean v11
   ═══════════════════════════════════════════════════════════════ */

/* Hide the old flash overlay — replaced by JS ripple system */
.theme-flash {
  display: none !important;
}

/* Dark mode ripple, stars, shimmer — handled purely in JS now */
/* Just ensure these don't cause layout shifts */
.dark-mode-ripple,
.dark-stars-container,
.theme-shimmer,
.dark-particle {
  pointer-events: none !important;
  position: fixed !important;
}

/* Icon spin — smooth, no tilt */
.theme-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}

/* Button glow in dark mode */
[data-theme="dark"] .theme-toggle {
  color: #ffd700 !important;
  background: rgba(13,92,122,0.2) !important;
  border-color: rgba(20,144,184,0.35) !important;
  box-shadow: 0 0 14px rgba(20,144,184,0.25) !important;
}
[data-theme="dark"] .theme-toggle:hover {
  background: rgba(13,92,122,0.35) !important;
  box-shadow: 0 0 22px rgba(20,144,184,0.4) !important;
  transform: scale(1.1) !important;
}


/* Offer headline — replaced H2 to avoid multiple H2 in section */
.offer-headline {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 900;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}
[data-theme="dark"] .offer-headline { color: #e8e2e2; }


/* ═══════════════════════════════════════════════════════════════
   🎞️ TICKER & CERTIFICATES — Final Style Match v16
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   PARTNERS LOGO TICKER
────────────────────────────────────────── */
.ticker-container {
  overflow: hidden !important;
  width: 100% !important;
  display: block !important;
  position: relative !important;
  padding: 12px 0 !important;
  min-height: 92px !important;
  direction: ltr !important; /* force LTR so animation runs left regardless of page dir */
  /* Fade edges */
  mask-image: linear-gradient(to right,
    transparent 0%, black 10%, black 90%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, black 10%, black 90%, transparent 100%) !important;
}

/* The scrolling strip — NO initial transform */
.img-ticker {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  gap: 0 !important;
  animation: logoScroll 22s linear infinite !important;
  will-change: transform !important;
}
/* hover no longer pauses — logos always scroll */

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual logo item */
.tickerlogo {
  width: 100px !important;
  height: 68px !important;
  flex-shrink: 0 !important;
  margin: 0 28px !important;
  object-fit: contain !important;
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transition: transform 0.3s ease !important;
}
.tickerlogo:hover {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transform: scale(1.12) !important;
}
[data-theme="dark"] .tickerlogo { filter: grayscale(0%) brightness(1) !important; opacity: 1 !important; }
[data-theme="dark"] .tickerlogo:hover { filter: grayscale(0%) brightness(1.1) !important; opacity: 1 !important; }

/* ──────────────────────────────────────────
   CERTIFICATE SLIDER
────────────────────────────────────────── */
.cert-slider-wrap {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  position: relative !important;
  padding: 20px 0 30px !important;
  min-height: 200px !important;
  direction: ltr !important; /* force LTR so animation runs left regardless of page dir */
  mask-image: linear-gradient(to right,
    transparent 0%, black 8%, black 92%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, black 8%, black 92%, transparent 100%) !important;
}

.certificate-slider {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  gap: 20px !important;
  animation: certScroll 18s linear infinite !important;
  will-change: transform !important;
  align-items: center !important;
}
/* hover no longer pauses — certificates always scroll */

@keyframes certScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Certificate card */
.certificate-item {
  flex-shrink: 0 !important;
  width: 230px !important;
  height: 162px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer !important;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.18),
    0 1px 4px rgba(0,0,0,0.1) !important;
  transition:
    transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.35s ease !important;
  background: #fff !important;
}
.certificate-item:hover {
  transform: perspective(900px) rotateY(-8deg) translateY(-10px) scale(1.04) !important;
  box-shadow:
    0 24px 48px rgba(13,92,122,0.25),
    0 8px 16px rgba(0,0,0,0.15),
    -6px 0 20px rgba(13,92,122,0.1) !important;
}
.certificate-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}
.certificate-item:hover img {
  transform: scale(1.04) !important;
}

/* Overlay glow on hover */
.certificate-item::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(13,92,122,0.08) 0%, transparent 60%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}
.certificate-item:hover::after { opacity: 1 !important; }

/* Dark mode */
[data-theme="dark"] .certificate-item {
  background: #1a2535 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.2) !important;
}
[data-theme="dark"] .certificate-item:hover {
  box-shadow:
    0 24px 48px rgba(13,92,122,0.35),
    0 8px 16px rgba(0,0,0,0.4) !important;
}

/* Ensure always visible */
.tickerlogo, .certificate-item, .certificate-item img {
  opacity: 1;
  visibility: visible;
}
.certificate-item { opacity: 1 !important; visibility: visible !important; }
.tickerlogo { visibility: visible !important; }

/* Reveal observer should never hide ticker content */
.ticker-container *,
.cert-slider-wrap * {
  animation-play-state: running;
}
.ticker-container .reveal,
.cert-slider-wrap .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Mobile sizes */
@media (max-width: 768px) {
  .ticker-container {
    min-height: 76px !important;
    padding: 8px 0 !important;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%) !important;
  }
  .cert-slider-wrap {
    min-height: 155px !important;
    padding: 12px 0 20px !important;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%) !important;
  }
  .tickerlogo { width: 72px !important; height: 50px !important; margin: 0 14px !important; }
  .certificate-item { width: 160px !important; height: 113px !important; }
  .certificate-item:hover {
    transform: perspective(600px) rotateY(-5deg) translateY(-6px) scale(1.02) !important;
  }
}
@media (max-width: 480px) {
  .ticker-container { min-height: 68px !important; }
  .cert-slider-wrap { min-height: 135px !important; }
  .tickerlogo { width: 62px !important; height: 44px !important; margin: 0 10px !important; }
  .certificate-item { width: 140px !important; height: 99px !important; }
}


/* ═══════════════════════════════════════════════════
   ✅ MOBILE FIX — منع التمرير الأفقي على كل الشاشات
   ═══════════════════════════════════════════════════ */

/* ✅ FIX: شيلنا * { max-width:100vw } لأنها كانت بتكسر الـ flex layouts والـ position:sticky
   وبتقطع الـ sidebar على الداش بورد وبتبوظ خاصية overflow على الكثير من العناصر.
   الحل الصح: overflow-x:clip على body و html فقط — شيلنا من الـ * */
img, video, iframe, table { max-width: 100%; }

/* إصلاح الـ sections التي فيها padding كبير */
@media (max-width: 480px) {
  section, .section, [class*="-section"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .hero { padding: 80px 16px 50px !important; }
  .hero-text h1 { font-size: clamp(22px, 7vw, 36px) !important; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { text-align: center; }

  /* إصلاح الـ about section */
  .about-stack { padding: 0 16px !important; }
  .about-item { padding: 20px 16px !important; }

  /* إصلاح الـ contact */
  .contact-grid, .contact-form-map { padding: 0 !important; }
  .contact-form-wrap { padding: 20px 16px !important; }

  /* إصلاح الـ products */
  .prod-grid, .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  /* إصلاح الـ footer */
  .footer-main { padding: 40px 16px 24px !important; }
  .footer-bottom-bar { padding: 16px !important; }
  .footer-bottom-bar .flex { flex-direction: column; gap: 8px; text-align: center; }

  /* إصلاح الـ nav */
  .nav-container { padding: 0 14px !important; }

  /* إصلاح الـ section header */
  .section-header { padding: 0 16px; }
  .section-header h2 { font-size: clamp(20px, 6vw, 32px) !important; }

  /* إصلاح الـ features */
  .features-image { display: none; } /* إخفاء الصورة الكبيرة في الموبايل */
  .features-list { width: 100% !important; }

  /* إصلاح الـ ticker */
  .ticker-track { gap: 14px; }
}

/* تأكيد إضافي للشاشات الصغيرة جداً */
@media (max-width: 360px) {
  html, body { max-width: 360px; }
  .prod-grid, .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .hero-text h1 { font-size: 20px !important; }
}

/* ══════════════════════════════════════════════
   NASAPLAST v4 — PRODUCTS PAGE ENHANCEMENTS
══════════════════════════════════════════════ */

/* Better product grid gap and card height consistency */
.prod-grid {
  gap: 20px !important;
}

/* Force equal card heights via grid */
.products-section .prod-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  align-items: stretch !important;
}

.products-section .product-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Better image container — uniform height */
.products-section .prod-img-wrap {
  height: 190px !important;
  flex-shrink: 0 !important;
}

/* Card content area fills remaining space */
.products-section .product-card h3 {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  padding: 0 10px !important;
  margin: 12px 0 !important;
}

/* CTA button always at bottom */
.products-section .btn-details {
  margin-top: auto !important;
  margin-bottom: 14px !important;
  margin-left: 13px !important;
  margin-right: 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border-radius: 12px !important;
  padding: 11px 18px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  transition: transform .22s, box-shadow .22s !important;
}
.products-section .btn-details:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(192,38,46,.35) !important;
}

/* Badge pill on card — موحدة مع الـ v9 palette */
.prod-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  pointer-events: none;
}
/* .prod-badge.hot / .new / .best removed — use .prod-badge-hot / -new / -best instead */

/* WhatsApp quick button on card hover */
.card-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 13px 13px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.card-wa-btn i { font-size: 15px; flex-shrink: 0; }
.card-wa-btn span { white-space: nowrap; }

.products-section .product-card:hover .card-wa-btn,
.product-card:hover .card-wa-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
@media (hover: none) {
  .card-wa-btn { opacity: 1 !important; transform: translateY(0) !important; pointer-events: all !important; }
}

/* Mobile: 2 columns always clean */
@media (max-width: 540px) {
  .products-section .prod-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .products-section .prod-img-wrap { height: 150px !important; }
  .products-section .product-card h3 { font-size: 12px !important; margin: 8px 0 !important; }
  .products-section .btn-details { font-size: 12px !important; padding: 9px 12px !important; margin-left: 9px !important; margin-right: 9px !important; }
}

@media (max-width: 360px) {
  .products-section .prod-img-wrap { height: 130px !important; }
}

/* Dark mode compatibility */
[data-theme="dark"] .products-section .product-card h3 { color: #e8e0d8 !important; }
[data-theme="dark"] .products-section .prod-img-wrap { background: linear-gradient(155deg, #1a1212, #221818) !important; }

/* ══ PRODUCTS SECTION CARD ENTRY ANIMATION ══ */
@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.products-section .product-card.reveal.is-visible {
  animation: cardSlideUp 0.52s cubic-bezier(0.22,1,0.36,1) both;
}
.products-section .product-card.reveal.is-visible.delay-1 { animation-delay: 0.05s; }
.products-section .product-card.reveal.is-visible.delay-2 { animation-delay: 0.12s; }
.products-section .product-card.reveal.is-visible.delay-3 { animation-delay: 0.19s; }
.products-section .product-card.reveal.is-visible.delay-4 { animation-delay: 0.26s; }
/* img float on hover — subtle */
@keyframes imgFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.products-section .product-card:hover img {
  animation: imgFloat 2.4s ease-in-out infinite;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.14));
}
/* top accent line animation */
@keyframes accentPulse {
  0%,100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}
.products-section .product-card:hover::before {
  opacity: 0.5;
  animation: accentPulse 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════
   ✨ Navbar logo + WhatsApp button — refined finish
   ═══════════════════════════════════════════════════════════════ */
.navbar .logo { display:flex; align-items:center; }
.navbar .logo a {
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:18px;
  background:radial-gradient(circle at 30% 30%, rgba(232,160,32,.18), rgba(255,255,255,.02) 65%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 6px 22px -10px rgba(232,160,32,.5);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.navbar .logo a:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 1px rgba(232,160,32,.25), 0 14px 32px -12px rgba(232,160,32,.55); }
.navbar .logo img { width:46px !important; height:46px !important; object-fit:contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.navbar.scrolled .logo a { width:56px; height:56px; border-radius:16px; }
.navbar.scrolled .logo img { width:40px !important; height:40px !important; }
@media (max-width:768px) {
  .navbar .logo a { width:50px; height:50px; border-radius:14px; }
  .navbar .logo img { width:36px !important; height:36px !important; }
  .navbar.scrolled .logo a { width:46px; height:46px; }
  .navbar.scrolled .logo img { width:32px !important; height:32px !important; }
}

/* Floating WhatsApp — refined glow, no aggressive pulse */
.wa-float {
  width:60px; height:60px; bottom:24px; left:24px;
  background: linear-gradient(135deg, #29d36b 0%, #128C7E 100%);
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.4);
  animation: wa-soft-pulse 3s ease-in-out infinite;
}
@keyframes wa-soft-pulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.35); }
  50%      { box-shadow: 0 10px 30px -8px rgba(37,211,102,.6), 0 0 0 14px rgba(37,211,102,0); }
}
.wa-float:hover { transform: scale(1.08); animation:none; box-shadow: 0 14px 36px -8px rgba(37,211,102,.7); }
@media (max-width:768px) {
  .wa-float { width:54px; height:54px; bottom:18px; left:18px; font-size:24px; }
}

/* Hide the old tooltip just in case any markup remains */
.wa-tooltip { display:none !important; }

/* ── Typewriter subtitle (fix: h1 no longer broken by inline typewriter) ── */
.hero-sub-typewriter {
  font-size: clamp(26px, 5vw, 56px);
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 14px;
  min-height: 1.4em;
  line-height: 1.25;
}
.hero-sub-typewriter .highlight {
  color: var(--primary);
}

/* ── Map fallback link (shown if iframe blocked) ── */
.map-fallback-link {
  display: none;
  position: absolute;
  bottom: 12px;
  right: 50%;
  transform: translateX(50%);
  background: var(--primary);
  color: white;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  gap: 6px;
  z-index: 5;
}
.contact-map { position: relative; }
.contact-map iframe:not([src]) ~ .map-fallback-link,
.contact-map iframe[src=""] ~ .map-fallback-link { display: flex; }


/* ═══════════════════════════════════════════════════════════════
   🔧 FINAL CLEANUP — Resolve all remaining color inconsistencies
   Ensures full consistency with Navy+Blue brand palette (v9+)
   ═══════════════════════════════════════════════════════════════ */

/* ── Faq icon in open state (ensure it uses navy not old red) ── */
.faq-item.open .faq-icon {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

/* ── Contact cards ── */
.contact-card:hover {
  box-shadow: 0 18px 40px rgba(13,92,122,0.1) !important;
  border-color: rgba(13,92,122,0.2) !important;
}

/* ── Features list bullet ── */
.features-list li::before {
  color: var(--primary-lt) !important;
}

/* ── Product items in offers grid btn ── */
.offers .btn-product {
  background: linear-gradient(135deg, #e85d26, #c44a1a) !important;
  box-shadow: 0 4px 14px rgba(232,93,38,0.35) !important;
}

/* ── Explore button ensure visibility ── */
.explore-products {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk)) !important;
  color: white !important;
}
.explore-products:hover {
  background: linear-gradient(135deg, var(--primary-lt), var(--primary)) !important;
}

/* ── Dark mode: about-us items ── */
[data-theme="dark"] .about-item h3 {
  color: var(--primary-lt) !important;
}
[data-theme="dark"] .about-item p {
  color: var(--muted) !important;
}

/* ── Partners section background ── */
.partners-section {
  background: transparent !important;
  border: none;
}

/* ── Consistent footer social button hover colors ── */
.footer-social-btn.fsb-fb:hover { background: #1877f2 !important; }
.footer-social-btn.fsb-ig:hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; }
.footer-social-btn.fsb-wa:hover { background: #25D366 !important; }
.footer-social-btn.fsb-yt:hover { background: #FF0000 !important; }

/* ── Dark mode: contact form input focus ── */
[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus {
  border-color: var(--primary-lt) !important;
  box-shadow: 0 0 0 3px rgba(20,144,184,0.15) !important;
  background: #0f1e35 !important;
  color: var(--text-main) !important;
}
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background: #0a1525 !important;
  border-color: rgba(20,144,184,0.2) !important;
  color: var(--text-main) !important;
}

/* ── Dark mode: FAQ ── */
[data-theme="dark"] .faq-item {
  background: #0f1e35 !important;
  border-color: rgba(20,144,184,0.1) !important;
}
[data-theme="dark"] .faq-item:hover {
  border-color: rgba(20,144,184,0.2) !important;
}
[data-theme="dark"] .faq-question {
  color: var(--text-main) !important;
  background: #0f1e35 !important;
}

/* ── Dark mode: stat items ── */
[data-theme="dark"] .stat-item {
  background: #0f1e35 !important;
  border-color: rgba(20,144,184,0.1) !important;
}

/* ── Ensure offers section background is correct ── */
.section-offers,
.offers { background: var(--bg, #f4f7f9) !important; }
[data-theme="dark"] .section-offers,
[data-theme="dark"] .offers { background: #080f1a !important; }

/* ── Product item in offers light background ── */
.offers .product-item {
  background: white !important;
}
[data-theme="dark"] .offers .product-item {
  background: #0f1e35 !important;
  border-color: rgba(20,144,184,0.12) !important;
}
[data-theme="dark"] .offers .product-item h3 {
  color: #e0eaf2 !important;
}
[data-theme="dark"] .offers .product-item .img-wrap {
  background: #0a1525 !important;
}


/* ═══════════════════════════════════════════════════════════════
   🔧 NASAPLAST — FINAL FIX PATCH v10
   الإصلاح النهائي لجميع المشاكل
   ═══════════════════════════════════════════════════════════════ */

/* ══ 1. إصلاح محاذاة زر العودة للأعلى فوق زر الواتساب بالضبط ══
   wa-float desktop: bottom:24px, left:24px, size:60px
   back-to-top: width=50px → left = 24 + (60-50)/2 = 29px
                bottom = 24 + 60 + 14 = 98px
   wa-float mobile (≤768): bottom:18px, left:18px, size:54px
   back-to-top mobile: width=46px → left = 18 + (54-46)/2 = 22px
                        bottom = 18 + 54 + 14 = 86px
*/
.wa-float {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  width: 60px !important;
  height: 60px !important;
  z-index: 999 !important;
}
@media (max-width: 768px) {
  .wa-float {
    bottom: 18px !important;
    left: 18px !important;
    width: 54px !important;
    height: 54px !important;
  }
}

.back-to-top {
  position: fixed !important;
  /* centered horizontally over wa-float: left = 24 + (60-50)/2 = 29px */
  left: 29px !important;
  bottom: 98px !important;  /* 24 + 60 + 14 */
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  z-index: 998 !important;
}
.btt-ring {
  top: -3px !important;
  left: -3px !important;
  width: 56px !important;
  height: 56px !important;
}
@media (max-width: 768px) {
  .back-to-top {
    left: 22px !important;   /* 18 + (54-46)/2 */
    bottom: 86px !important; /* 18 + 54 + 14 */
    width: 46px !important;
    height: 46px !important;
  }
  .btt-ring {
    width: 52px !important;
    height: 52px !important;
    top: -3px !important;
    left: -3px !important;
  }
}

/* ══ 2. تحسين صفحة المنتجات - product-page UI/UX ══ */

/* Product hero أفضل */
.product-hero {
  background: linear-gradient(145deg, #040b18 0%, #071526 40%, #0b2040 70%, #0d2d55 100%) !important;
  padding: 52px 24px 44px !important;
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,144,184,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.product-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,144,184,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Product detail layout محسّن */
.product-detail {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 48px 24px !important;
  gap: 48px !important;
}
@media (max-width: 768px) {
  .product-detail { padding: 24px 16px !important; gap: 20px !important; }
}

/* Product info box محسّن */
.product-info-box {
  background: #fff !important;
  border-radius: 20px !important;
  border: 1px solid rgba(13,92,122,0.1) !important;
  padding: 32px !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04) !important;
}
@media (max-width: 768px) {
  .product-info-box { padding: 20px 16px !important; border-radius: 16px !important; }
}
[data-theme="dark"] .product-info-box {
  background: #0f1e35 !important;
  border-color: rgba(20,144,184,0.15) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3) !important;
}

/* Main image wrap أفضل */
.main-image-wrap {
  border-radius: 20px !important;
  border: 1.5px solid rgba(13,92,122,0.1) !important;
  background: linear-gradient(155deg, #f5f9fc 0%, #eef4f8 100%) !important;
  box-shadow: 0 12px 48px rgba(0,0,0,0.08), 0 3px 10px rgba(0,0,0,0.05) !important;
  transition: box-shadow 0.3s ease !important;
}
.main-image-wrap:hover {
  box-shadow: 0 18px 60px rgba(13,92,122,0.12), 0 5px 15px rgba(0,0,0,0.07) !important;
}
[data-theme="dark"] .main-image-wrap {
  background: linear-gradient(155deg, #0d1f38 0%, #0a1830 100%) !important;
  border-color: rgba(20,144,184,0.15) !important;
}

/* Specs table محسّن */
.specs-table {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1.5px solid rgba(13,92,122,0.1) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  margin-bottom: 24px !important;
}
.specs-table tr:nth-child(even) td {
  background: rgba(13,92,122,0.03) !important;
}
.specs-table tr:hover td {
  background: rgba(13,92,122,0.06) !important;
  transition: background 0.2s !important;
}
.specs-table td {
  padding: 13px 14px !important;
}
.specs-table td:first-child {
  color: #3a5268 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}
.specs-table td:last-child {
  color: #0f1f2e !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}
[data-theme="dark"] .specs-table {
  border-color: rgba(20,144,184,0.15) !important;
}
[data-theme="dark"] .specs-table td:first-child { color: #88a8c0 !important; }
[data-theme="dark"] .specs-table td:last-child { color: #c8dce9 !important; }
[data-theme="dark"] .specs-table tr:nth-child(even) td { background: rgba(20,144,184,0.05) !important; }
[data-theme="dark"] .specs-table tr:hover td { background: rgba(20,144,184,0.09) !important; }

/* Feature tags محسّنة */
.feature-tag {
  background: #fff !important;
  border: 1.5px solid rgba(13,92,122,0.12) !important;
  font-size: 13px !important;
  padding: 7px 15px !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  transition: all 0.22s ease !important;
  color: #2c4a5e !important;
}
.feature-tag:hover {
  border-color: var(--primary) !important;
  background: rgba(13,92,122,0.06) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 14px rgba(13,92,122,0.12) !important;
}
.feature-tag i {
  color: var(--primary-lt) !important;
}
[data-theme="dark"] .feature-tag {
  background: rgba(13,92,122,0.12) !important;
  border-color: rgba(20,144,184,0.2) !important;
  color: #a8c8dc !important;
}

/* CTA buttons أقوى */
.btn-whatsapp {
  border-radius: 14px !important;
  font-weight: 800 !important;
  padding: 15px 26px !important;
  font-size: 15px !important;
  box-shadow: 0 6px 24px rgba(37,211,102,0.32) !important;
  background: linear-gradient(135deg, #25D366 0%, #1aad55 100%) !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
}
.btn-whatsapp:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(37,211,102,0.45) !important;
}

.btn-catalog {
  border-radius: 14px !important;
  font-weight: 800 !important;
  padding: 15px 26px !important;
  font-size: 15px !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%) !important;
  box-shadow: 0 6px 24px rgba(13,92,122,0.32) !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
}
.btn-catalog:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(13,92,122,0.45) !important;
}

/* Related section */
.related-section {
  background: linear-gradient(180deg, #f5f8fb 0%, #eef2f7 100%) !important;
  padding: 60px 24px !important;
}
[data-theme="dark"] .related-section {
  background: linear-gradient(180deg, #080f1a 0%, #060d18 100%) !important;
}
.related-section h2 {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #0f1f2e !important;
  margin-bottom: 8px !important;
}
[data-theme="dark"] .related-section h2 { color: #c8dce9 !important; }

/* ══ 3. تحسين grid المنتجات في index.html ══ */
.products-section {
  padding: 80px 24px !important;
}
@media (max-width: 768px) {
  .products-section { padding: 50px 16px !important; }
}

/* Product cards أفضل على موبايل */
@media (max-width: 480px) {
  .products-section .prod-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .products-section .prod-img-wrap { height: 130px !important; }
  .products-section .product-card img { max-height: 110px !important; }
  .products-section .product-card h3 { font-size: 11.5px !important; margin: 8px 10px 6px !important; }
  .products-section .btn-details { margin: 0 10px 7px !important; padding: 8px 11px !important; font-size: 11.5px !important; }
  .products-section .card-wa-btn { margin: 0 10px 10px !important; font-size: 11.5px !important; padding: 8px 10px !important; }
}

/* Section header تحسين */
.section-header h2 {
  font-size: clamp(26px, 4vw, 38px) !important;
  font-weight: 900 !important;
}
.section-header p {
  font-size: 16px !important;
  max-width: 500px !important;
  margin: 0 auto !important;
}

/* ══ 4. تحسين عام للنافبار على موبايل ══ */
@media (max-width: 768px) {
  .navbar { padding: 0 16px !important; }
  .navbar-controls { gap: 6px !important; }
  .nav-lang-btn { padding: 6px 10px !important; font-size: 12px !important; }
  .theme-toggle { width: 34px !important; height: 34px !important; }
}

/* ══ 5. تحسين الـ back-to-products button ══ */
.back-to-products {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.92) !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-bottom: 22px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  transition: all 0.22s !important;
  backdrop-filter: blur(8px) !important;
}
.back-to-products:hover {
  background: rgba(255,255,255,0.2) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* ══ 6. تحسين الـ category-tag ══ */
.category-tag {
  background: rgba(13,92,122,0.08) !important;
  color: var(--primary) !important;
  border: 1.5px solid rgba(13,92,122,0.18) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 5px 16px !important;
  border-radius: 50px !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 18px !important;
}
[data-theme="dark"] .category-tag {
  background: rgba(20,144,184,0.12) !important;
  color: var(--primary-lt) !important;
  border-color: rgba(20,144,184,0.25) !important;
}

/* ══ 7. تحسين section-label ══ */
.section-label {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.section-label i {
  width: 26px !important; height: 26px !important;
  background: rgba(13,92,122,0.1) !important;
  border-radius: 7px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 12px !important;
  color: var(--primary) !important;
}
[data-theme="dark"] .section-label { color: var(--primary-lt) !important; }
[data-theme="dark"] .section-label i { background: rgba(20,144,184,0.15) !important; color: var(--primary-lt) !important; }

/* ══ 8. تحسين product-info h1 ══ */
.product-info h1 {
  font-size: clamp(22px, 3.5vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  color: #0a1624 !important;
  margin-bottom: 14px !important;
}
[data-theme="dark"] .product-info h1 { color: #d8eaf5 !important; }

/* ══ 9. تحسين product-desc ══ */
.product-desc {
  font-size: 14.5px !important;
  color: #4a6275 !important;
  line-height: 1.9 !important;
  margin-bottom: 24px !important;
}
[data-theme="dark"] .product-desc { color: #7a9db5 !important; }

/* ══ 10. تحسين related-grid cards ══ */
.related-grid .product-card {
  border-radius: 16px !important;
  border: 1.5px solid rgba(13,92,122,0.08) !important;
  box-shadow: 0 3px 18px rgba(0,0,0,0.07) !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
  background: #fff !important;
}
.related-grid .product-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 14px 36px rgba(13,92,122,0.15) !important;
  border-color: rgba(13,92,122,0.22) !important;
}
[data-theme="dark"] .related-grid .product-card {
  background: #0f1e35 !important;
  border-color: rgba(20,144,184,0.12) !important;
}
[data-theme="dark"] .related-grid .product-card:hover {
  box-shadow: 0 14px 36px rgba(0,0,0,0.4) !important;
  border-color: rgba(20,144,184,0.25) !important;
}

/* ══ 11. شريط تقدم القراءة ══ */
.reading-progress {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--primary-lt), var(--primary)) !important;
  z-index: 9999 !important;
  transition: width 0.1s linear !important;
}

/* ══ 12. إصلاح الـ breadcrumb direction ══ */
html[dir="rtl"] .breadcrumb i.fa-chevron-left {
  transform: none;
}

/* ══ 13. تحسين الـ info-section في المنتجات ══ */
.info-section {
  text-align: center !important;
  padding: 40px 24px !important;
  background: linear-gradient(135deg, rgba(13,92,122,0.04) 0%, rgba(13,92,122,0.02) 100%) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(13,92,122,0.08) !important;
  margin: 16px 24px 0 !important;
}
.info-section p {
  font-size: 15px !important;
  color: #4a6275 !important;
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}
[data-theme="dark"] .info-section {
  background: linear-gradient(135deg, rgba(20,144,184,0.06) 0%, rgba(20,144,184,0.03) 100%) !important;
  border-color: rgba(20,144,184,0.12) !important;
}
[data-theme="dark"] .info-section p { color: #7a9db5 !important; }

/* ══ 14. Smooth scrolling ══ */
html { scroll-behavior: smooth !important; }

/* ══ 15. تحسين الـ not-found ══ */
.not-found i { color: rgba(13,92,122,0.2) !important; }
.not-found h2 { color: #0f1f2e !important; }
[data-theme="dark"] .not-found h2 { color: #c8dce9 !important; }

/* ══ 16. مراجعة الـ Dashboard — محاذاة أفضل على الموبايل ══ */
@media (max-width: 900px) {
  .sidebar {
    position: fixed !important;
    right: -100% !important;
    top: 0 !important;
    height: 100vh !important;
    z-index: 300 !important;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1) !important;
  }
  .sidebar.open {
    right: 0 !important;
  }
  .main {
    width: 100% !important;
  }
  .stats-g {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .fg-g {
    grid-template-columns: 1fr !important;
  }
  .fg-f {
    grid-column: 1 !important;
  }
}
@media (max-width: 480px) {
  .stats-g {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .content { padding: 16px !important; }
  .card-bd { padding: 16px !important; }
  .topbar { padding: 0 14px !important; }
  .tbl th, .tbl td { padding: 9px 10px !important; font-size: 12px !important; }
}


/* ═══════════════════════════════════════════════════════════════
   🔧 v11 PATCH — Logo + Typewriter + Certificates
   ═══════════════════════════════════════════════════════════════ */

/* ══ Logo sizing — navbar circle container ══ */
.navbar .logo a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.navbar .logo img {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,0.15) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}
.navbar.scrolled .logo img {
  width: 40px !important;
  height: 40px !important;
}
@media (max-width: 768px) {
  .navbar .logo img {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ══ Hero brand stamp logo ══ */
.hero-brand-stamp img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 22px !important;
  object-fit: cover !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35) !important;
  border: 2.5px solid rgba(255,255,255,0.18) !important;
}
@media (max-width: 768px) {
  .hero-brand-stamp img { width: 72px !important; height: 72px !important; border-radius: 18px !important; }
}

/* ══ Hero watermark logo ══ */
.hero-watermark {
  object-fit: contain !important;
  border-radius: 0 !important;
}

/* ══ Footer logo ══ */
.footer-logo img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
}

/* ══ Mobile nav logo ══ */
.mobile-nav-logo img {
  width: 42px !important;
  height: 42px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}

/* ══ Typewriter — full h1 size on all breakpoints ══ */
.hero-sub-typewriter {
  font-size: clamp(26px, 5vw, 56px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  margin: 0 0 14px !important;
}
@media (max-width: 900px) {
  .hero-sub-typewriter { font-size: clamp(22px, 7vw, 38px) !important; }
}
@media (max-width: 480px) {
  .hero-sub-typewriter { font-size: clamp(20px, 8vw, 30px) !important; }
}
@media (max-width: 360px) {
  .hero-sub-typewriter { font-size: 20px !important; }
}

/* ══ Certificate slider — better display for portrait certificates ══ */
.certificate-item img {
  height: 240px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
  border: 1px solid rgba(13,92,122,0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.certificate-item img:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 14px 32px rgba(13,92,122,0.18) !important;
}
.certificate-item {
  padding: 8px 10px !important;
}
@media (max-width: 768px) {
  .certificate-item img { height: 180px !important; max-width: 140px !important; }
}


/* ═══════════════════════════════════════════════════════════════
   🎨 v12 — Footer Brand Redesign + Ticker Fix
   ═══════════════════════════════════════════════════════════════ */

/* ══ Footer Brand — horizontal lockup ══ */
.footer-logo-link {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  margin-bottom: 18px !important;
}
.footer-logo-wrap {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  border: 2px solid rgba(20,144,184,0.25) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 4px rgba(20,144,184,0.08) !important;
  background: #fff !important;
}
.footer-logo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  max-width: unset !important;
}
.footer-brand-name {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.footer-brand-title {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  letter-spacing: 0.01em !important;
}
.footer-brand-sub {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--primary-lt, #1490b8) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
}

/* Footer description text */
.footer-brand p {
  font-size: 13px !important;
  color: rgba(255,255,255,0.48) !important;
  line-height: 1.75 !important;
  margin-top: 0 !important;
  max-width: 240px !important;
}

/* Trust badges row */
.footer-trust-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-top: 16px !important;
}
.ftb {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 11px !important;
  border-radius: 50px !important;
  background: rgba(20,144,184,0.1) !important;
  border: 1px solid rgba(20,144,184,0.2) !important;
  color: rgba(255,255,255,0.65) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.ftb i {
  color: var(--primary-lt, #1490b8) !important;
  font-size: 11px !important;
}
.ftb:hover {
  background: rgba(20,144,184,0.18) !important;
  border-color: rgba(20,144,184,0.35) !important;
  color: rgba(255,255,255,0.85) !important;
}

@media (max-width: 600px) {
  .footer-logo-wrap { width: 50px !important; height: 50px !important; }
  .footer-brand-title { font-size: 19px !important; }
  .footer-brand p { max-width: 100% !important; }
}

/* ══ Ticker — hide nasaplast logo, show partner logos only ══ */
/* Make partner logos look cleaner - grayscale with hover color */
.tickerlogo {
  filter: grayscale(30%) opacity(0.75) !important;
  transition: filter 0.3s ease, transform 0.3s ease !important;
}
.tickerlogo:hover {
  filter: grayscale(0%) opacity(1) !important;
  transform: scale(1.1) !important;
}

/* Partners section header better styling */
.partners-section {
  text-align: center !important;
  padding: 16px 24px 8px !important;
}
.partners-section h2 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--dark2, #1e1a1a) !important;
  margin-bottom: 6px !important;
}
.partners-section p {
  font-size: 14px !important;
  color: var(--muted, #6b7280) !important;
}
[data-theme="dark"] .partners-section h2 { color: #d8eaf5 !important; }
[data-theme="dark"] .partners-section p   { color: #7a9db5 !important; }
[data-theme="dark"] .tickerlogo {
  filter: grayscale(0%) brightness(0.85) !important;
}
[data-theme="dark"] .tickerlogo:hover {
  filter: grayscale(0%) brightness(1.1) !important;
}

/* ══ Product-page footer logo (uses footer-logo class) ══ */
.footer-logo .footer-logo-link {
  margin-bottom: 0 !important;
}
.footer-top .footer-logo-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}
.footer-top .footer-logo-wrap {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
}
