/* ===================================================
   GCC WATER INFRASTRUCTURE — gccwaterinfrastructure.icu
   Venti Red FZ-LLC | Premium Red & Black Design System
   Brand: #EB3F3F · #1e1e1e · #FFFFFF | Font: Poppins
   =================================================== */

/* --- CSS Variables --- */
:root {
  --primary-dark:   #1e1e1e;
  --secondary-dark: #252525;
  --card-bg:        #2a2a2a;
  --card-border:    rgba(255,255,255,0.08);
  --red:            #EB3F3F;
  --red-light:      #FF6B6B;
  --red-dark:       #C0292A;
  --red-glow:       rgba(235,63,63,0.22);
  --white:          #FFFFFF;
  --off-white:      rgba(255,255,255,0.88);
  --gray-100:       rgba(255,255,255,0.75);
  --gray-300:       rgba(255,255,255,0.5);
  --gray-400:       rgba(255,255,255,0.4);
  --gray-500:       rgba(255,255,255,0.28);
  --font-en:        'Poppins', sans-serif;
  --font-ar:        'Cairo', 'Poppins', sans-serif;
  --nav-height:     80px;
  --radius:         6px;
  --radius-lg:      10px;
  --shadow:         0 12px 40px rgba(0,0,0,0.55);
  --shadow-red:     0 8px 32px rgba(235,63,63,0.28);
  --transition:     0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--primary-dark);
  color: var(--off-white);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 64px 0; }
.text-red { color: var(--red); }
.text-center { text-align: center; }
.lang-ar .text-center { text-align: center; }

/* Section Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--red);
  display: block;
}

/* Section Heading */
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.section-heading span { color: var(--red); }
.section-sub {
  font-size: 1rem;
  color: var(--gray-300);
  max-width: 580px;
  line-height: 1.85;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 42px; font-size: 0.95rem; }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1ebe58;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transform: translateY(-2px);
}

/* Divider */
.gold-divider {
  width: 40px; height: 2px;
  background: var(--red);
  margin: 16px 0 32px;
}
.lang-ar .gold-divider { margin-left: auto; margin-right: 0; }
.gold-divider.center { margin: 16px auto 32px; }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.12s; }
.fade-in-delay-2 { transition-delay: 0.24s; }
.fade-in-delay-3 { transition-delay: 0.36s; }
.fade-in-delay-4 { transition-delay: 0.48s; }
/* Hero is above-the-fold — always show immediately, no observer needed */
.hero-content .fade-in { opacity: 1; transform: translateY(0); }

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(30,30,30,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: var(--white); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .brand { font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.nav-logo-text .tagline { font-size: 0.6rem; font-weight: 500; color: var(--red); letter-spacing: 2px; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--gray-100);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lang-toggle {
  background: rgba(235,63,63,0.08);
  border: 1px solid rgba(235,63,63,0.25);
  color: var(--red);
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.5px;
}
.lang-toggle:hover {
  background: rgba(235,63,63,0.18);
  border-color: var(--red);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(30,30,30,0.99);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 16px;
  color: var(--gray-100);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { background: rgba(235,63,63,0.08); color: var(--white); }
.mobile-nav .btn { margin-top: 16px; justify-content: center; }

/* =====================
   HERO — LIFESTYLE IMAGE
   =====================
   SETUP: Replace the background-image URL with your lifestyle photography.
   Recommended: A high-quality shot of a premium drinking fountain installation
   in a modern GCC building lobby, airport, or sports facility.
   Image specs: 1920×1080px minimum, landscape, well-lit, aspirational.
   Example sources: your own project photography, licensed stock.
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* REPLACE THIS with your lifestyle hero image: */
  background-image: url('../images/hero-lifestyle.jpg');
  background-size: cover;
  background-position: center 30%;
  background-color: var(--primary-dark); /* fallback if no image */
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* When lifestyle image is present: dark overlay for readability */
  /* When no image: this gradient IS the hero background visual */
  background:
    linear-gradient(105deg,
      rgba(30,30,30,0.95) 0%,
      rgba(30,30,30,0.80) 55%,
      rgba(30,30,30,0.55) 100%
    ),
    /* Rich fallback gradient — looks premium without a photo */
    radial-gradient(ellipse 80% 70% at 75% 50%, rgba(235,63,63,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(235,63,63,0.07) 0%, transparent 55%),
    linear-gradient(160deg, #1e1e1e 0%, #2a1515 50%, #1e1e1e 100%);
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  /* Architectural grid — visible fallback texture, subtle red tint */
  background-image:
    linear-gradient(rgba(235,63,63,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235,63,63,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  z-index: 0;
}
/* Decorative accent shape behind hero content */
.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(235,63,63,0.06) 40%,
    rgba(235,63,63,0.02) 100%
  );
  border-left: 1px solid rgba(235,63,63,0.08);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-inner { padding: 140px 24px 100px; max-width: 1240px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(235,63,63,0.12);
  border: 1px solid rgba(235,63,63,0.35);
  color: var(--red);
  padding: 7px 16px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  color: var(--white);
}
.hero h1 .gold { color: var(--red); }
.hero h1 .outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.6);
  color: transparent;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-100);
  line-height: 1.85;
  margin-bottom: 44px;
  max-width: 520px;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-brands {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-brands-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
.hero-brand-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-brand-logo {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: none;
  opacity: 0.90;
  transition: opacity var(--transition);
  background: rgba(255,255,255,0.93);
  border-radius: 5px;
  padding: 5px 12px;
  display: block;
}
.hero-brand-logo:hover { opacity: 1; }
.hero-brand-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span { font-size: 0.65rem; color: var(--gray-400); letter-spacing: 3px; text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--red));
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* =====================
   STATS BAR
   ===================== */
.stats-bar {
  background: var(--secondary-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}
.lang-ar .stat-item:not(:last-child)::after { right: auto; left: 0; }
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
  letter-spacing: -2px;
}
.stat-number sup {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--red);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray-300);
  margin-top: 8px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =====================
   PRODUCT RANGES
   ===================== */
.product-ranges { background: var(--primary-dark); }
.ranges-header { text-align: center; margin-bottom: 64px; }
.ranges-header .section-sub { margin: 0 auto; }
.ranges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.range-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.range-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(235,63,63,0.3);
}
/* Left red accent stripe on hover */
.range-card { border-left: 3px solid transparent; }
.range-card:hover { border-left-color: var(--red); }
.lang-ar .range-card { border-left: 1px solid var(--card-border); border-right: 3px solid transparent; }
.lang-ar .range-card:hover { border-right-color: var(--red); border-left-color: var(--card-border); }

.range-card-header {
  padding: 32px 32px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.range-logo {
  background: rgba(255,255,255,0.93);
  border-radius: 6px;
  padding: 7px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.range-logo img {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  display: block;
}
.range-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.range-badge {
  background: rgba(235,63,63,0.1);
  border: 1px solid rgba(235,63,63,0.25);
  color: var(--red);
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.range-card-body { padding: 0 32px 24px; }
.range-tagline {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.range-desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.85;
  margin-bottom: 24px;
}
.range-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.range-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-100);
}
.lang-ar .range-feature { flex-direction: row-reverse; }
.range-feature i { color: var(--red); font-size: 0.75rem; width: 14px; text-align: center; }
.range-products-preview {
  display: flex;
  gap: 10px;
  padding: 0 32px 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.range-products-preview::-webkit-scrollbar { display: none; }
.range-thumb {
  width: 90px; height: 90px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--transition), transform var(--transition);
  background: var(--secondary-dark);
}
.range-thumb:hover { border-color: var(--red); transform: scale(1.04); }
.range-card-footer {
  padding: 18px 32px 28px;
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}

/* =====================
   APPLICATIONS
   ===================== */
.applications { background: var(--secondary-dark); }
.apps-header { text-align: center; margin-bottom: 56px; }
.apps-header .section-sub { margin: 0 auto; }
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/*
  LIFESTYLE IMAGES FOR APPLICATION CARDS:
  Each app-card can have a lifestyle background image.
  Add: style="background-image: url(images/sector-education.jpg)"
  to the relevant HTML cards, or set in here per card type.
  Use subtle, dark-toned photos with people/spaces in each sector.
*/
.app-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,30,30,0.82);
  transition: background var(--transition);
}
.app-card:hover::before { background: rgba(30,30,30,0.65); }
.app-card > * { position: relative; z-index: 1; }
.app-card:hover {
  border-color: rgba(235,63,63,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.app-icon {
  width: 56px; height: 56px;
  background: rgba(235,63,63,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: background var(--transition);
  border: 1px solid rgba(235,63,63,0.15);
}
.app-card:hover .app-icon { background: rgba(235,63,63,0.2); border-color: rgba(235,63,63,0.35); }
.app-icon i { font-size: 1.4rem; color: var(--red); }
.app-img-icon {
  width: 40px; height: 40px;
  object-fit: cover;
  border-radius: 4px;
}
.app-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}
.app-desc {
  font-size: 0.8rem;
  color: var(--gray-300);
  line-height: 1.65;
}

/* =====================
   WHY VENTI RED
   ===================== */
.why-us { background: var(--primary-dark); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content .section-sub { margin-bottom: 44px; }
.why-features { display: flex; flex-direction: column; gap: 32px; }
.why-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.lang-ar .why-feature { flex-direction: row-reverse; }
.why-icon {
  width: 48px; height: 48px;
  background: rgba(235,63,63,0.08);
  border: 1px solid rgba(235,63,63,0.18);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.why-feature:hover .why-icon { background: rgba(235,63,63,0.16); }
.why-icon i { font-size: 1.2rem; color: var(--red); }
.why-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.why-text p { font-size: 0.85rem; color: var(--gray-300); line-height: 1.75; }

/*
  WHY-VISUAL — LIFESTYLE PHOTOGRAPHY PANEL
  The right-side panel shows product/installation lifestyle imagery.
  SETUP: Replace the placeholder backgrounds with real photos.
  First (wide) image: a full installation shot — e.g., a fountain installed in
  a hotel lobby or airport concourse. Square images: detail/product shots.
*/
.why-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.why-visual-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--card-bg);
}
.why-visual-img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
.why-visual-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.9);
  transition: filter var(--transition), transform 0.5s ease;
}
.why-visual-img:hover img { filter: brightness(1) saturate(1); transform: scale(1.03); }
.why-cert {
  grid-column: 1 / -1;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-ar .why-cert { border-left: 1px solid rgba(255,255,255,0.07); border-right: 3px solid var(--red); }
.why-cert i { color: var(--red); font-size: 1.4rem; flex-shrink: 0; }
.why-cert-text { font-size: 0.83rem; color: var(--gray-300); line-height: 1.5; }
.why-cert-text strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; font-size: 0.9rem; }

/* =====================
   PROJECTS / BID READY
   ===================== */
.projects { background: var(--secondary-dark); }
.projects-header { text-align: center; margin-bottom: 60px; }
.projects-header .section-sub { margin: 0 auto; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.lang-ar .project-card::after { transform-origin: right; }
.project-card:hover {
  border-color: rgba(235,63,63,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.project-card:hover::after { transform: scaleX(1); }
.project-icon {
  width: 52px; height: 52px;
  background: rgba(235,63,63,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(235,63,63,0.12);
}
.project-icon i { font-size: 1.4rem; color: var(--red); }
.project-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.project-card p { font-size: 0.85rem; color: var(--gray-300); line-height: 1.75; margin-bottom: 24px; }
.project-ctas { display: flex; flex-direction: column; gap: 10px; }
.project-cta-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--red);
  transition: var(--transition);
}
.lang-ar .project-cta-link { flex-direction: row-reverse; }
.project-cta-link:hover { color: var(--red-light); gap: 14px; }
.project-cta-link i { font-size: 0.72rem; }
.bid-banner {
  background: var(--card-bg);
  border: 1px solid rgba(235,63,63,0.18);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.lang-ar .bid-banner { border-left: 1px solid rgba(235,63,63,0.18); border-right: 4px solid var(--red); }
.bid-banner-text h3 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.bid-banner-text p { font-size: 0.9rem; color: var(--gray-300); max-width: 480px; }
.bid-banner-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* =====================
   QUOTE CTA SECTION
   ===================== */
.quote-cta {
  background: var(--red);
  position: relative;
  overflow: hidden;
}
.quote-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.25) 0%, transparent 60%),
    url('../images/cta-lifestyle.jpg') center/cover no-repeat;
  /* SETUP: Add a dark lifestyle photo behind this CTA for depth.
     Works as a pure red section even without the image. */
  mix-blend-mode: multiply;
  opacity: 0.35;
}
.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.quote-inner .section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
}
.quote-inner .section-sub { margin: 0 auto 40px; color: rgba(255,255,255,0.8); }
.quote-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.quote-cta .btn-primary {
  background: var(--white);
  color: var(--red);
}
.quote-cta .btn-primary:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.quote-cta .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.quote-cta .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.quote-contacts {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.quote-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.lang-ar .quote-contact-item { flex-direction: row-reverse; }
.quote-contact-item i { color: rgba(255,255,255,0.9); }
.quote-contact-item a { color: rgba(255,255,255,0.9); transition: color var(--transition); }
.quote-contact-item a:hover { color: var(--white); }

/* =====================
   TRUST BAR
   ===================== */
.trust-bar {
  background: #171717;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 36px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-300);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-item i { color: var(--red); font-size: 1rem; }

/* =====================
   FOOTER
   ===================== */
footer {
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 64px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.85;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: rgba(235,63,63,0.12);
  border-color: rgba(235,63,63,0.3);
  color: var(--red);
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.lang-ar .footer-links a:hover { padding-left: 0; padding-right: 4px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 12px;
  line-height: 1.5;
}
.lang-ar .footer-contact-item { flex-direction: row-reverse; }
.footer-contact-item i { color: var(--red); margin-top: 3px; font-size: 0.82rem; }
.footer-contact-item a { color: var(--gray-400); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--gray-400); }
.footer-copy span { color: var(--gray-300); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.78rem; color: var(--gray-400); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* =====================
   PRODUCTS PAGE
   ===================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(235,63,63,0.04), transparent);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-400); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: 0.62rem; }
.products-filter {
  background: var(--secondary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}
.filter-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 18px 26px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-300);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  letter-spacing: 0.3px;
}
.filter-tab:hover { color: var(--white); }
.filter-tab.active { color: var(--red); border-bottom-color: var(--red); }
.products-section { background: var(--primary-dark); }
.range-section { margin-bottom: 80px; }
.range-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  gap: 20px;
}
.range-section-brand { display: flex; align-items: center; gap: 18px; }
.range-section-logo { height: 28px; max-width: 120px; object-fit: contain; filter: none; opacity: 1; background: rgba(255,255,255,0.93); border-radius: 4px; padding: 5px 10px; display: inline-block; }
.range-section-title { font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: -0.3px; }
.range-section-origin {
  font-size: 0.72rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(235,63,63,0.25);
}
.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #232323;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 22px; }
.product-brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 10px;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.product-tagline {
  font-size: 0.82rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 18px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.spec-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--gray-300);
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.product-footer {
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 8px;
}

/* =====================
   CONTACT / QUOTE PAGE
   ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info { position: sticky; top: 120px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.lang-ar .contact-detail { flex-direction: row-reverse; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(235,63,63,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(235,63,63,0.12);
}
.contact-icon i { color: var(--red); }
.contact-detail-text h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-detail-text p, .contact-detail-text a {
  font-size: 0.88rem;
  color: var(--gray-300);
  transition: color var(--transition);
  line-height: 1.55;
}
.contact-detail-text a:hover { color: var(--red); }
.quote-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.quote-form-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.quote-form-card .sub {
  font-size: 0.88rem;
  color: var(--gray-300);
  margin-bottom: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23EB3F3F' d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 13px; padding-right: 38px; }
.lang-ar .form-select { background-position: left 14px center; padding-right: 16px; padding-left: 38px; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-500); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(235,63,63,0.5);
  box-shadow: 0 0 0 3px rgba(235,63,63,0.07);
}
.form-submit { margin-top: 28px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-note {
  font-size: 0.76rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 14px;
}
.form-note i { color: var(--red); }
.form-note a { color: var(--gray-400); transition: color var(--transition); }
.form-note a:hover { color: var(--red); }
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success i { font-size: 2.8rem; color: var(--red); margin-bottom: 20px; }
.form-success h4 { font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.form-success p { color: var(--gray-300); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .ranges-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .product-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); letter-spacing: -1px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .bid-banner { flex-direction: column; text-align: center; padding: 32px 28px; }
  .lang-ar .bid-banner { text-align: center; }
  .bid-banner-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quote-form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .product-cards-grid { grid-template-columns: 1fr; }
  .range-card-header { flex-direction: column; gap: 12px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .section-pad { padding: 72px 0; }
  .trust-inner { gap: 28px; }
  .nav-actions .btn { display: none; }
  .bid-banner { border-left-width: 1px; border-bottom: 3px solid var(--red); }
}

@media (max-width: 480px) {
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.4rem; }
  .hero h1 { letter-spacing: -0.5px; }
  .quote-contacts { flex-direction: column; align-items: center; }
}

/* =====================
   ARABIC / RTL OVERRIDES
   ===================== */
.lang-ar .section-label { flex-direction: row-reverse; }
.lang-ar .section-label::before { display: none; }
.lang-ar .section-label::after { content: ''; display: block; width: 28px; height: 1px; background: var(--red); }
.lang-ar .hero-brands { flex-direction: row-reverse; }
.lang-ar .range-card-footer { flex-direction: row-reverse; }
.lang-ar .why-features { align-items: flex-end; }
.lang-ar .project-cta-link i { transform: rotateY(180deg); }
.lang-ar .form-select { background-position: left 14px center; }
.lang-ar .hero-scroll { left: 50%; }
/* RTL: keep numerals LTR */
.lang-ar .stat-number,
.lang-ar .nav-logo-text .brand { direction: ltr; display: inline-block; }
