/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #006941;
  --green-dark: #004d2f;
  --green-light: #008a54;
  --cream: #f0ede8;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --shadow: 0 8px 32px rgba(0,105,65,0.15);
  --shadow-lg: 0 20px 60px rgba(0,105,65,0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent; /* iOS Safari: remove tap highlight */
  height: 100%;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%; /* iOS Safari font-size bug */
  text-size-adjust: 100%;
}

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

/* ===== SCROLLBAR (Chrome/Edge) ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }
/* Firefox scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--green) var(--cream); }

/* ===== FIREFOX: backdrop-filter fallback ===== */
@supports not (backdrop-filter: blur(1px)) {
  .navbar.scrolled { background: rgba(0,80,50,0.98) !important; }
  .hero-badge       { background: rgba(255,255,255,0.25) !important; }
  .why-card         { background: rgba(255,255,255,0.18) !important; }
  .proj-arrow       { background: rgba(0,20,10,0.9)  !important; }
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,105,65,0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,105,65,0.4);
}

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-header.light .section-tag { background: rgba(255,255,255,0.2); color: var(--white); }

.section-tag {
  display: inline-block;
  background: rgba(0,105,65,0.1);
  color: var(--green);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(0,105,65,0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo img { height: 52px; width: auto; filter: brightness(0) invert(1) sepia(0.25) saturate(1.8) hue-rotate(10deg) brightness(0.96); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { background: rgba(255,255,255,0.15); }
.nav-cta {
  background: var(--white) !important;
  color: var(--green) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--cream) !important; transform: translateY(-2px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--green-dark);
  padding: 16px 24px;
}
.mobile-menu a {
  color: var(--white);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 1rem;
}
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, #009e60 100%);
}
.hero-bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg-particles::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 75%, rgba(0,255,130,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 15%, rgba(0,180,90,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(0,100,50,0.06) 0%, transparent 70%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,20,10,0.1) 0%, rgba(0,30,20,0.8) 55%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 40%;
  flex-shrink: 0;
  padding: 130px 52px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(40px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.hero-title .line1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.hero-title .line2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
/* ===== HERO SHOWCASE — Video ===== */
.hero-showcase {
  position: relative;
  width: 60%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  perspective: 1500px;
  padding: 100px 20px;
  min-height: 100vh;
}

/* Video wrapper — floats and tilts in 3D, no card/box */
.hero-video-wrapper {
  position: relative;
  width: clamp(600px, 80vw, 1200px);
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  animation: floatVideo 7s ease-in-out infinite;
  cursor: pointer;
  /* drop-shadow follows actual content shape, not a box */
  filter:
    drop-shadow(0 60px 90px rgba(0,0,0,0.7))
    drop-shadow(0 20px 45px rgba(0,80,40,0.5))
    drop-shadow(0 0 60px rgba(0,220,100,0.2));
  transition: filter 0.15s ease;
}

/* Ring hidden — no card frame */
.video-ring { display: none; }

.hero-video {
  width: 100%;
  display: block;
  /* transparent so video blends with hero background */
  background: transparent;
  border-radius: 0;
  position: relative;
  z-index: 1;
  /* remove any default browser background */
  mix-blend-mode: normal;
}

/* Ambient glow below */
.video-glow {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(0,210,100,0.55) 0%, transparent 70%);
  filter: blur(22px);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

/* Floating sparkle particles */
.video-particles {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.video-particles::before,
.video-particles::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,255,130,0.8);
  box-shadow: 0 0 8px rgba(0,255,130,0.9);
  animation: sparkle 5s ease-in-out infinite;
}
.video-particles::before {
  top: 20%; left: 10%;
  animation-delay: 0s;
}
.video-particles::after {
  top: 60%; right: 8%;
  animation-delay: 2.5s;
}

/* Keyframes */
@keyframes floatVideo {
  0%,100% { transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(0px) rotateZ(0.4deg); }
  33%      { transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-22px) rotateZ(-0.4deg); }
  66%      { transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-11px) rotateZ(0.2deg); }
}
@keyframes glowPulse {
  0%,100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scaleX(1.15); }
}
@keyframes ringRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes sparkle {
  0%,100% { opacity: 0; transform: scale(0.5) translateY(0); }
  20%      { opacity: 1; transform: scale(1) translateY(-10px); }
  80%      { opacity: 0.6; transform: scale(0.8) translateY(-30px); }
}

/* Dots */
.showcase-dots {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  position: relative;
  z-index: 5;
}
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
  border-color: transparent;
}

/* Scene container */
.showcase-scene {
  position: relative;
  width: clamp(380px, 42vw, 560px);
  height: clamp(480px, 58vh, 680px);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

/* Base card style */
.showcase-card {
  position: absolute;
  border-radius: 18px;
  /* overflow:hidden flattens 3D in WebKit/Safari — use clip-path instead */
  clip-path: inset(0 round 18px);
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  /* CSS vars set by JS mouse tracking */
  --rx: 0deg;
  --ry: 0deg;
}
.showcase-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.08s ease;
}

/* Light sheen overlay — moves with tilt */
.showcase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  background: linear-gradient(
    calc(135deg + var(--ry, 0deg) * 3),
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  transition: background 0.08s ease;
}
/* Glow ring on main card */
.card-main::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 7;
}

/* 3D volumetric label */
.card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 30px 18px 16px;
  text-align: center;
  letter-spacing: 0.3px;
}

/* ── CARD MAIN (front, large) ── */
.card-main {
  width: clamp(260px, 26vw, 360px);
  height: clamp(360px, 42vh, 500px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) perspective(900px) rotateX(var(--rx)) rotateY(calc(-6deg + var(--ry)));
  z-index: 4;
  box-shadow:
    0 50px 120px rgba(0,0,0,0.55),
    0 20px 40px rgba(0,80,40,0.3);
  animation: floatMain 5s ease-in-out infinite;
  transition: box-shadow 0.15s ease;
}

/* ── CARD LEFT ── */
.card-left {
  width: clamp(170px, 18vw, 250px);
  height: clamp(240px, 28vh, 360px);
  top: 60%; left: 1%;
  transform: translateY(-50%) perspective(900px) rotateX(calc(var(--rx) * 0.5)) rotateY(calc(20deg + var(--ry) * 0.7)) rotateZ(-2deg) scale(0.9);
  z-index: 3;
  filter: brightness(0.72) saturate(0.85);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  animation: floatLeft 4.8s ease-in-out infinite;
  transition: box-shadow 0.15s ease;
}

/* ── CARD RIGHT ── */
.card-right {
  width: clamp(155px, 17vw, 235px);
  height: clamp(220px, 26vh, 340px);
  top: 34%; right: -2%;
  transform: translateY(-50%) perspective(900px) rotateX(calc(var(--rx) * 0.5)) rotateY(calc(-24deg + var(--ry) * 0.7)) rotateZ(2deg) scale(0.84);
  z-index: 3;
  filter: brightness(0.65) saturate(0.8);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  animation: floatRight 5.2s ease-in-out infinite;
  transition: box-shadow 0.15s ease;
}

/* ── BACK CARDS (depth layers) ── */
.card-back1 {
  width: clamp(130px, 14vw, 190px);
  height: clamp(180px, 20vh, 265px);
  bottom: 3%;
  right: 3%;
  transform: perspective(900px) rotateY(-32deg) rotateZ(4deg) scale(0.68);
  z-index: 2;
  filter: brightness(0.42) blur(1.5px) saturate(0.6);
  opacity: 0.65;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}
.card-back2 {
  width: clamp(120px, 13vw, 175px);
  height: clamp(165px, 18vh, 245px);
  top: 3%;
  left: 0%;
  transform: perspective(900px) rotateY(28deg) rotateZ(-4deg) scale(0.62);
  z-index: 2;
  filter: brightness(0.38) blur(2px) saturate(0.5);
  opacity: 0.55;
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* ── GROUND SHADOW (realism) ── */
.showcase-scene::after {
  content: '';
  position: absolute;
  bottom: -28px;
  left: 15%;
  width: 70%;
  height: 36px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}

/* ── FLOAT ANIMATIONS ── */
@keyframes floatMain {
  0%,100% { transform: translate(-50%,-50%) perspective(900px) rotateX(var(--rx)) rotateY(calc(-6deg + var(--ry))) translateY(0px); }
  25%      { transform: translate(-50%,-50%) perspective(900px) rotateX(var(--rx)) rotateY(calc(-6deg + var(--ry))) translateY(-18px); }
  75%      { transform: translate(-50%,-50%) perspective(900px) rotateX(var(--rx)) rotateY(calc(-6deg + var(--ry))) translateY(-8px); }
}
@keyframes floatLeft {
  0%,100% { transform: translateY(-50%) perspective(900px) rotateX(calc(var(--rx)*0.5)) rotateY(calc(20deg + var(--ry)*0.7)) rotateZ(-2deg) scale(0.9) translateY(0px); }
  50%      { transform: translateY(-50%) perspective(900px) rotateX(calc(var(--rx)*0.5)) rotateY(calc(20deg + var(--ry)*0.7)) rotateZ(-2deg) scale(0.9) translateY(-12px); }
}
@keyframes floatRight {
  0%,100% { transform: translateY(-50%) perspective(900px) rotateX(calc(var(--rx)*0.5)) rotateY(calc(-24deg + var(--ry)*0.7)) rotateZ(2deg) scale(0.84) translateY(0px); }
  50%      { transform: translateY(-50%) perspective(900px) rotateX(calc(var(--rx)*0.5)) rotateY(calc(-24deg + var(--ry)*0.7)) rotateZ(2deg) scale(0.84) translateY(-12px); }
}

/* ── DOTS ── */
.showcase-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  position: relative;
  z-index: 5;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.dot.active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
  border-color: transparent;
}

/* ── SCROLL HINT ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-arrow {
  width: 26px; height: 26px;
  border-right: 2.5px solid rgba(255,255,255,0.6);
  border-bottom: 2.5px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: bounceDown 1.6s infinite;
}
@keyframes bounceDown {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50%      { transform: rotate(45deg) translateY(9px); opacity: 1; }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--cream);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  border: 1px solid rgba(0,105,65,0.08);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  animation: iconFloat 3s ease-in-out infinite;
}
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 1.5s; }
@keyframes iconFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-mid); font-size: 0.95rem; }

/* ===== PRODUCTS ===== */
.products {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.95);
}
.product-card.visible {
  opacity: 1;
  transform: scale(1);
}
.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.product-img-wrap {
  position: relative;
  height: 280px; /* Increased height for better visibility */
  overflow: hidden;
  background: #fdfdfd; /* Clean white-grey background */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Shows full image without cropping */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.product-info { padding: 20px; }
.product-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.product-info p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.product-btn {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--white);
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}
.product-btn:hover { background: var(--green-dark); }
.products-cta { text-align: center; }

/* ===== PRODUCTS ROW HEADER ===== */
.products-row-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.products-row-header .row-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.products-row-header h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  white-space: nowrap;
}
.row-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(255,255,255,0.3));
  margin-right: 4px;
}

/* ===== SHELVES CAROUSEL ===== */
.shelves-carousel-wrap {
  overflow: hidden;
  position: relative;
  padding: 16px 0 40px;
  /* fade edges */
  mask-image: linear-gradient(to left, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 8%, black 92%, transparent 100%);
}
.shelves-carousel-wrap:hover .shelves-track {
  animation-play-state: paused;
}

.shelves-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: carouselScroll 36s linear infinite;
}

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

.shelf-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 840px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s ease;
}
.shelf-item::before { display: none; }
.shelf-item:hover { transform: translateY(-8px); }

/* Animated GIF wrapper */
.shelf-gif-wrap {
  position: relative;
  width: 100%;
  animation: shelfFloat 5s ease-in-out infinite;
  filter:
    drop-shadow(0 40px 60px rgba(0,0,0,0.7))
    drop-shadow(0 0 40px rgba(0,220,100,0.25));
}
/* Stagger float per item */
.shelf-item:nth-child(2) .shelf-gif-wrap { animation-delay: 0.8s; }
.shelf-item:nth-child(3) .shelf-gif-wrap { animation-delay: 1.6s; }
.shelf-item:nth-child(4) .shelf-gif-wrap { animation-delay: 2.4s; }
.shelf-item:nth-child(5) .shelf-gif-wrap { animation-delay: 3.2s; }
.shelf-item:nth-child(6) .shelf-gif-wrap { animation-delay: 4.0s; }

.shelf-gif {
  width: 100%;
  display: block;
  background: transparent;
}
.shelf-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 45px;
  background: radial-gradient(ellipse, rgba(0,220,110,0.55) 0%, transparent 70%);
  filter: blur(16px);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

/* Shelf info — أسفل الصورة */
.shelf-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 24px 8px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 10px;
}
.shelf-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.shelf-info h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}
.shelf-info p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
}
.shelf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--green);
  padding: 14px 52px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transition);
  margin-top: 6px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.25);
}
.shelf-btn:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

@keyframes shelfFloat {
  0%,100% { transform: translateY(0px) rotateZ(0.4deg); }
  33%      { transform: translateY(-16px) rotateZ(-0.4deg); }
  66%      { transform: translateY(-8px) rotateZ(0.2deg); }
}

/* ===== VIDEO PRODUCTS GRID ===== */
.vp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-bottom: 56px;
}

/* البطاقة المميزة (الأكثر مبيعاً) تأخذ صف كامل بعرض شامل والفيديو يظهر بالكامل */
.vp-featured {
  grid-column: 1 / -1;
}
.vp-featured .vp-video-wrap {
  height: auto;
  min-height: 0;
  background: #000;
  aspect-ratio: auto;
}
.vp-featured .vp-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 80vh;
}

.vp-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: var(--transition);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.vp-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.vp-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.vp-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #0a1a0e;
}

.vp-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.vp-card:hover .vp-video-wrap video {
  transform: scale(1.05);
}

/* Overlay يظهر عند الـ hover */
.vp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,40,20,0.85) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.vp-card:hover .vp-overlay {
  opacity: 1;
}

.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--green);
  padding: 12px 40px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transform: translateY(10px);
  transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.vp-card:hover .vp-btn {
  transform: translateY(0);
}
.vp-btn:hover {
  background: var(--cream);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

/* بطاقة المنتجات المكتبية - بعنوان واضح */
.vp-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.vp-title-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: linear-gradient(135deg, #006941, #D4A843);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,168,67,0.4);
  letter-spacing: 0.5px;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* شارة الأكثر مبيعاً — تدرج برتقالي-أحمر مع نبض */
.vp-badge-hot {
  background: linear-gradient(135deg, #ff4500, #ff8c00, #D4A843);
  font-size: 1.05rem;
  padding: 12px 26px;
  box-shadow: 0 8px 24px rgba(255,69,0,0.45), 0 0 0 2px rgba(255,140,0,0.5);
  animation: hotPulse 2s ease-in-out infinite;
}
@keyframes hotPulse {
  0%,100% { box-shadow: 0 8px 24px rgba(255,69,0,0.45), 0 0 0 2px rgba(255,140,0,0.5); }
  50%     { box-shadow: 0 8px 32px rgba(255,69,0,0.75), 0 0 0 3px rgba(255,140,0,0.7); }
}
@media (max-width: 600px) {
  .vp-badge-hot { font-size: 0.9rem; padding: 9px 18px; }
}
@media (max-width: 600px) {
  .vp-title-badge { font-size: 0.85rem; padding: 8px 16px; top: 12px; right: 12px; }
}

/* Catalog removed */

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.why-card {
  text-align: center;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 36px 20px;
  color: var(--white);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.why-card.visible { opacity: 1; transform: translateY(0); }
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.18); }
.why-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.counter {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  display: inline;
}
.counter-plus {
  font-size: 1.6rem;
  font-weight: 900;
  display: inline;
}
.why-card p { margin-top: 10px; font-size: 1rem; font-weight: 600; opacity: 0.85; }

.why-targets { text-align: center; }
.why-targets h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.targets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.target-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.target-item:hover { background: rgba(255,255,255,0.22); }
.target-item span { font-size: 1.3rem; }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.contact-card.whatsapp:hover { border-color: #25d366; }
.contact-card.store:hover { border-color: var(--green); }
.contact-icon { font-size: 3rem; }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }
.contact-card p { color: var(--text-mid); font-size: 0.9rem; }
.contact-card span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
  direction: ltr;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 70px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 60px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,0.2); }
.footer-links h4, .footer-products h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}
.footer-links ul, .footer-products ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-products a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover, .footer-products a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 32px; height: 32px; color: var(--white); }
@keyframes pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.7); }
}

/* ===== AOS Animations ===== */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */

/* ========================================
   VIDEO PRESENTATION (iframe 16:9)
   ======================================== */
.video-pres {
  width: 100%;
  background: #001508;
}

.video-pres-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-pres-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.reel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.reel-slide.r-active { opacity: 1; pointer-events: auto; }

/* Backgrounds */
.rs-bg { position: absolute; inset: 0; }
.r-s1 .rs-bg { background: radial-gradient(ellipse at center, #0d2a14 0%, #060f09 70%); }
.r-s2 .rs-bg { background: radial-gradient(ellipse at 30% 50%, #0a2010 0%, #060f09 70%); }
.r-s3 .rs-bg { background: radial-gradient(ellipse at 70% 50%, #0a2010 0%, #060f09 70%); }
.r-s4 .rs-bg { background: radial-gradient(ellipse at center, #081a0d 0%, #060f09 70%); }
.r-s5 .rs-bg { background: radial-gradient(ellipse at center, #051508 0%, #060f09 70%); }
.r-s6 .rs-bg { background: radial-gradient(ellipse at center, #0d2a14 0%, #060f09 70%); }

/* Content */
.rs-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  padding: 2rem;
}

/* ── Slide 1: Logo ── */
.rs-logo-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 3rem;
  box-shadow: 0 0 80px rgba(0,200,80,0.3), 0 30px 60px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.r-active .rs-logo-wrap { opacity: 1; transform: translateY(0); }

.rs-logo-float { animation: reelFloat 3s ease-in-out infinite; }
.rs-logo-img { width: 260px; max-width: 65vw; display: block; }

.rs-tagline {
  color: #a8e6c0;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s;
}
.r-active .rs-tagline { opacity: 1; transform: translateY(0); }

/* ── Slides 2 & 3: Stats ── */
.rs-label-top {
  color: #00c864;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.r-active .rs-label-top { opacity: 1; transform: translateY(0); }

.rs-big-stat {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  line-height: 1;
}

.rs-num {
  font-size: clamp(5rem, 17vw, 13rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}
.r-active .rs-num { opacity: 1; transform: translateY(0); }

.rs-unit {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: #00c864;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
}
.r-active .rs-unit { opacity: 1; transform: translateY(0); }

.rs-label-bottom {
  color: #b0d8b8;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.55s, transform 0.7s ease 0.55s;
}
.r-active .rs-label-bottom { opacity: 1; transform: translateY(0); }

.rs-accent-bar {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00c864, transparent);
  border-radius: 2px;
  transition: width 0.9s ease 0.65s;
}
.r-active .rs-accent-bar { width: 220px; }

/* ── Slide 4: Coverage ── */
.rs-coverage-grid {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.rs-cov-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.r-active .rs-cov-item { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.r-active .rs-cov-item-2 { transition-delay: 0.55s; }

.rs-cov-icon { font-size: 3.5rem; }
.rs-cov-title { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; color: #fff; }
.rs-cov-sub { font-size: clamp(0.9rem, 2vw, 1.15rem); color: #00c864; font-weight: 600; }

.rs-cov-divider {
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, transparent, #00c864, transparent);
  transition: height 0.7s ease 0.45s;
}
.r-active .rs-cov-divider { height: 130px; }

/* ── Slide 5: Warranty ── */
.rs-warranty-badge {
  width: 185px;
  height: 185px;
  border-radius: 50%;
  border: 4px solid #00c864;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0,200,100,0.4), inset 0 0 40px rgba(0,200,100,0.1);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.2s, transform 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.2s;
}
.r-active .rs-warranty-badge { opacity: 1; transform: scale(1); }

.rs-warranty-inner { display: flex; align-items: center; gap: 0.5rem; }
.rs-warranty-num { font-size: 4.5rem; font-weight: 900; color: #fff; line-height: 1; }
.rs-warranty-text { font-size: 1.15rem; color: #00c864; font-weight: 700; text-align: right; line-height: 1.3; }

.rs-warranty-desc {
  color: #b0d8b8;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.75s, transform 0.7s ease 0.75s;
}
.r-active .rs-warranty-desc { opacity: 1; transform: translateY(0); }

/* ── Slide 6: CTA ── */
.rs-logo-sm-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.8rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.r-active .rs-logo-sm-wrap { opacity: 1; transform: translateY(0); }
.rs-logo-sm { width: 150px; display: block; }

.rs-cta-headline {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}
.r-active .rs-cta-headline { opacity: 1; transform: translateY(0); }

.rs-cta-sub {
  color: #b0d8b8;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.55s, transform 0.7s ease 0.55s;
}
.r-active .rs-cta-sub { opacity: 1; transform: translateY(0); }

.rs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #25d366;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s, box-shadow 0.3s;
}
.r-active .rs-cta-btn { opacity: 1; transform: translateY(0); }
.rs-cta-btn:hover { box-shadow: 0 12px 40px rgba(37,211,102,0.6); transform: translateY(-3px) !important; }

/* ── Controls ── */
.reel-ui {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.4rem;
  z-index: 10;
}

.reel-playbtn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}
.reel-playbtn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }

.reel-dots-wrap { display: flex; gap: 0.5rem; }

.reel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.reel-dot.r-dot-active { background: #00c864; transform: scale(1.35); }

/* ── Progress Bar ── */
.reel-prog-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}
.reel-prog-bar {
  height: 100%;
  background: linear-gradient(90deg, #00c864, #00ff80);
  width: 0%;
}

/* ── Slide Counter ── */
.reel-slide-counter {
  position: absolute;
  top: 1.4rem; left: 1.6rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  font-family: 'Cairo', sans-serif;
  z-index: 10;
  letter-spacing: 0.12em;
}

/* ── Keyframes ── */
@keyframes reelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .brand-reel { height: auto; min-height: 80vh; padding: 3rem 0 5rem; }
  .rs-coverage-grid { flex-direction: column; gap: 1.6rem; }
  .rs-cov-divider { width: 120px; height: 1px !important;
    background: linear-gradient(to right, transparent, #00c864, transparent); }
  .rs-warranty-badge { width: 150px; height: 150px; }
}

/* ── Tablet landscape (1024px) ── */
@media (max-width: 1024px) {
  .hero-content { width: 50%; padding: 110px 32px 70px 32px; }
  .hero-showcase { width: 50%; padding: 110px 10px 70px; }
  .hero-video-wrapper { width: clamp(500px, 80vw, 820px); }
}

/* ── Tablet portrait (900px) ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* Hero: stack vertically */
  .hero { flex-direction: column; align-items: stretch; min-height: 100vh; min-height: 100svh; }
  .hero-overlay { background: linear-gradient(to top, rgba(0,20,10,0.88) 0%, rgba(0,30,20,0.55) 100%); }
  .hero-content {
    width: 100%; min-height: unset;
    padding: 110px 28px 24px;
    flex-shrink: 0;
  }
  .hero-showcase {
    width: 100%; min-height: unset;
    height: auto;
    padding: 20px 24px 80px;
    min-height: unset;
  }
  .hero-video-wrapper { width: 560px; margin: 0 auto; }
}

/* ── Small tablet / large phone (768px) ── */
@media (max-width: 768px) {
  .hero-stats { gap: 16px; }
  .hero-showcase { padding-bottom: 50px; }
  .hero-video-wrapper { width: 500px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Video grid tablet ── */
@media (max-width: 900px) {
  .vp-grid { grid-template-columns: repeat(2, 1fr); }
  .vp-featured { grid-column: 1 / -1; }
}

/* ── Shelf item responsive ── */
@media (max-width: 768px) {
  .shelf-item { width: 90vw; }
  .shelf-info h3 { font-size: 1.3rem; }
  .shelf-btn { width: 100%; }
}

/* ── Mobile (600px) ── */
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { gap: 14px; }
  .hero-content { padding: 90px 20px 30px; text-align: center; align-items: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-showcase { padding: 10px 16px 50px; }
  .hero-video-wrapper { width: 420px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .vp-grid { grid-template-columns: 1fr; }
  .vp-featured { grid-column: 1 / -1; }
  .vp-video-wrap { min-height: 260px; }
  .vp-featured .vp-video-wrap { min-height: 0; }
  .vp-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,40,20,0.75) 0%, transparent 60%); }
  .vp-btn { transform: translateY(0); }
}

/* ── Small mobile (400px) ── */
@media (max-width: 400px) {
  .hero-title .line1 { font-size: 2.2rem; }
  .hero-video-wrapper { width: 340px; }
}

/* ========================================
   ANNOUNCE BAR
   ======================================== */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #003d1f 0%, #006941 40%, #D4A843 50%, #006941 60%, #003d1f 100%);
  background-size: 200% 100%;
  animation: announceShimmer 4s linear infinite;
  overflow: hidden;
  padding: 9px 44px 9px 0;
  border-bottom: 1px solid rgba(212,168,67,0.25);
  z-index: 1100;
}

@keyframes announceShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.announce-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: announceScroll 22s linear infinite;
}

.announce-track span {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 1.5px;
  text-shadow: 0 0 16px rgba(212,168,67,0.7);
  font-family: 'Cairo', sans-serif;
}

@keyframes announceScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.announce-close {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

.announce-close:hover { background: rgba(255,255,255,0.25); }
.announce-bar.hidden  { display: none; }

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
  background: linear-gradient(160deg, #061410, #001508);
  padding: 90px 0 80px;
}

/* ── Carousel wrapper ── */
.proj-carousel-wrap {
  position: relative;
  margin-bottom: 50px;
  padding: 0 60px;
}

.proj-track-outer {
  overflow: hidden;
  touch-action: pan-y; /* iOS Safari: allow vertical scroll while tracking horizontal swipe */
}

.proj-track {
  display: flex;
  gap: 20px;
  direction: ltr;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.proj-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  direction: rtl;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.proj-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.proj-card:hover {
  box-shadow: 0 8px 40px rgba(212,168,67,0.22), 0 0 0 1px rgba(212,168,67,0.18);
  transform: scale(1.02) translateY(-4px) !important;
}

/* ── Side arrows ── */
.proj-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(212,168,67,0.7);
  background: rgba(0,20,10,0.7);
  color: #D4A843;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.proj-arrow:hover  { background: var(--green); border-color: var(--green); color: #fff; }
.proj-arrow:disabled { opacity: 0.25; cursor: default; }
.proj-arrow-r { right: 0; }
.proj-arrow-l { left:  0; }

/* ── Dots ── */
.proj-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.proj-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(212,168,67,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.proj-dot.active {
  background: #D4A843;
  border-color: #D4A843;
  transform: scale(1.25);
}

.proj-media {
  position: relative;
  width: 100%;
  height: 300px;
}

.proj-media video,
.proj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: inherit;
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,15,8,0.93) 0%, rgba(0,10,5,0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.proj-card:hover .proj-overlay { opacity: 1; }

.proj-info {
  transform: translateY(14px);
  transition: transform 0.35s ease;
}

.proj-card:hover .proj-info { transform: translateY(0); }

.proj-tag {
  display: inline-block;
  background: rgba(212,168,67,0.18);
  border: 1px solid rgba(212,168,67,0.45);
  color: #D4A843;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.proj-info h3 { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.proj-info p  { color: rgba(255,255,255,0.55); font-size: 13px; }
.proj-cta     { text-align: center; }

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients-sec {
  background: #f8f5f0;
  padding: 80px 0;
}

.clients-sec .section-header h2,
.clients-sec .section-header p { color: #1a1a1a; }
.clients-sec .section-tag { background: rgba(0,105,65,0.1); color: #006941; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.client-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.client-card.visible { opacity: 1; transform: translateY(0); }

.client-inner {
  background: #fff;
  border: 1.5px solid #e8e4df;
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.client-inner:hover {
  border-color: rgba(0,105,65,0.4);
  box-shadow: 0 6px 24px rgba(0,105,65,0.12);
  transform: translateY(-4px);
}

.client-icon { font-size: 32px; }

.client-inner p {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin: 0;
  line-height: 1.4;
}

.clients-note {
  text-align: center;
  font-size: 13px;
  color: #999;
  font-style: italic;
  margin-top: 10px;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-sec {
  background: linear-gradient(155deg, #004d25, #001508);
  padding: 90px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,67,0.18);
  border-radius: 22px;
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s, border-color 0.3s;
}

.review-card.visible { opacity: 1; transform: translateY(0); }

.review-card:hover {
  background: rgba(212,168,67,0.07);
  border-color: rgba(212,168,67,0.38);
}

.review-stars {
  font-size: 20px;
  color: #D4A843;
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-shadow: 0 0 12px rgba(212,168,67,0.5);
}

.review-text {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006941, #D4A843);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-author strong { display: block; color: #fff; font-size: 15px; }
.review-author span   { color: rgba(255,255,255,0.45); font-size: 12px; }

/* ── Responsive: new sections ── */
@media (max-width: 900px) {
  .proj-card { flex: 0 0 calc(50% - 10px); }
  .proj-carousel-wrap { padding: 0 48px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .proj-card            { flex: 0 0 100%; }
  .proj-carousel-wrap   { padding: 0 44px; }
  .proj-overlay  { opacity: 1; }
  .proj-info     { transform: none !important; }
  .clients-grid  { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: 1fr; }
  .announce-bar  { padding: 8px 38px 8px 0; }
  .announce-track span { font-size: 15px; }
}
