/* ===========================
   RAM KRISHAN INDUSTRIES - MAIN STYLESHEET
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #e54b4b;
  --primary-dark: #061a4a;
  --accent: #e96666;
  --accent-light: #3a8fd4;
  --brand-red: #d61a1a;
  --brand-red-dark: #b81414;
  --brand-red-light: #e52320;
  --gold: #ffffff;
  --gold-light: #ffc94d;
  --white: #ffffff;
  --light-gray: #f4f6fa;
  --medium-gray: #6b7a99;
  --dark: #0d1b2a;
  --text: #2c3e50;
  --border: #e0e6f0;
  --shadow: 0 8px 32px rgba(10, 42, 110, 0.12);
  --shadow-hover: 0 16px 48px rgba(10, 42, 110, 0.22);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --black-ram: black;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--black-ram);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 7px 0;
  position: relative;
  z-index: 1001;
  direction: ltr;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a {
  color: rgba(255,255,255,0.82);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.top-bar-left a:hover { color: var(--brand-red); }
.top-bar-left a i { font-size: 0.75rem; color: var(--brand-red); }
.top-bar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.top-bar { font-size: 0.74rem; padding: 4px 0; }
.top-bar .container { gap: 10px; }
.top-bar-left { gap: 12px; flex-wrap: wrap; }
.top-bar-left a { gap: 4px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10,42,110,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(10,42,110,0.18);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
  direction: ltr;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
}
.logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}
.logo:hover .logo-img {
  opacity: 0.92;
}
.footer-brand .logo, .footer .logo {
  display: inline-block;
  color: white;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links li { position: relative; }
.nav-links a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--light-gray);
  color: var(--primary);
}
.nav-links a i { font-size: 0.7rem; transition: var(--transition); }
.nav-links li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(10,42,110,0.16);
  min-width: 260px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border: 1px solid var(--border);
  z-index: 999;
}
.nav-links li:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links li.dd-open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links li.dd-open > a i { transform: rotate(180deg); }
.nav-links a i { cursor: pointer; padding: 4px; margin: -4px; }
.dropdown-menu li a {
  padding: 10px 20px;
  border-radius: 0;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 400;
  display: block;
}
.dropdown-menu li a:hover {
  background: var(--light-gray);
  color: var(--primary);
  padding-left: 26px;
}
.dropdown-cat {
  padding: 6px 20px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Clean Main Products Dropdown */
.dropdown-products-list {
  min-width: 350px;
  padding: 8px 0;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.dropdown-products-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  transition: var(--transition);
}
.dropdown-products-list li a i {
  color: var(--brand-red);
  font-size: 0.92rem;
  width: 20px;
  text-align: center;
  transition: var(--transition);
}
.dropdown-products-list li a:hover {
  background: #fff5f5;
  color: var(--brand-red);
  padding-left: 26px;
}
.dropdown-products-list li a:hover i {
  transform: scale(1.15);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-quote {
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red-dark));
  color: white;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214,26,26,0.35);
}
.btn-search {
  background: var(--light-gray);
  border: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--medium-gray);
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-search:hover { background: var(--border); color: var(--brand-red); }

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

/* ===== HERO ===== */
.hero {
  position: relative;
  /* 16:9 aspect ratio = 9/16 = 56.25% of viewport width */
  height: 56.25vw;
  min-height: 400px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-slider {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Global light overlay — very subtle, just kills harsh highlights */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.10) 45%,
    rgba(0,0,0,0.04) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Hero content — NO visible card, NO border, NO background */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 680px;
  margin-bottom: 24px;
  padding: 0;
  /* Natural radial vignette via ::before — no box, no border */
}

/* Radial dark vignette — feathered, cinematic, no hard edges */
.hero-content::before {
  content: '';
  position: absolute;
  inset: -70px -120px 58px -120px;
  /* Dark semi-transparent fill + image blur behind */
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
  /* Rectangular shape with soft fade on all 4 edges — NO hard border */
}

/* Badge — clean pill, no heavy card */
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.96);
  /* Slide down + fade */
  opacity: 0;
  transform: translateY(-16px);
  animation: heroBadgeIn 0.7s 0.15s ease-out forwards;
}
.hero-badge i { color: var(--brand-red); font-size: 0.85rem; }

/* Heading — crisp white, stronger shadow for cinematic depth */
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 4px 24px rgba(0,0,0,0.35);
  /* Fade + slide up */
  opacity: 0;
  transform: translateY(20px);
  animation: heroContentIn 0.72s 0.28s ease-out forwards;
  will-change: opacity, transform;
}
.hero h1 .gold-span {
  color: var(--brand-red);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4), 0 2px 14px rgba(214,26,26,0.28);
}

/* Paragraph */
.hero p {
  font-size: 1.02rem;
  line-height: 1.78;
  letter-spacing: 0.08px;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  margin-bottom: 34px;
  max-width: 540px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroContentIn 0.72s 0.42s ease-out forwards;
  will-change: opacity, transform;
}

/* Buttons row */
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  animation: heroContentIn 0.72s 0.58s ease-out forwards;
  will-change: opacity, transform;
}

/* Primary (red) CTA */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red-dark));
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
  box-shadow: 0 6px 22px rgba(214,26,26,0.38), 0 2px 6px rgba(0,0,0,0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 14px 32px rgba(214,26,26,0.52), 0 4px 12px rgba(0,0,0,0.2);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-primary:focus-visible {
  outline: 3px solid rgba(214,26,26,0.55);
  outline-offset: 3px;
}

/* Outline (ghost) CTA */
.btn-outline-white {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.38);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
  cursor: pointer;
  will-change: transform;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.96);
  color: var(--primary);
  border-color: rgba(255,255,255,0.96);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 12px 28px rgba(255,255,255,0.22);
}
.btn-outline-white:active { transform: translateY(-1px); }
.btn-outline-white:focus-visible {
  outline: 3px solid rgba(255,255,255,0.5);
  outline-offset: 3px;
}

/* Statistics glass bar */
.hero-stats {
  position: absolute; bottom: 35px; left: 0; right: 0; z-index: 2;
}
.hero-stats .container {
  display: flex; gap: 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.38), 0 2px 8px rgba(0,0,0,0.2);
}
.hero-stat {
  background: rgba(8, 14, 26, 0.60);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: none;
  padding: 22px 28px;
  text-align: center;
  color: white;
  flex: 1;
  transition: background 0.22s ease, transform 0.22s ease;
  will-change: transform;
}
.hero-stat:first-child { border-radius: 14px 0 0 14px; border-left: 1px solid rgba(255,255,255,0.12); }
.hero-stat:last-child  { border-radius: 0 14px 14px 0; }
.hero-stat:hover {
  background: rgba(8, 14, 26, 0.80);
  transform: translateY(-4px);
}
.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-red);
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(214,26,26,0.22);
}
.hero-stat p {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Keyframes */
@keyframes heroBadgeIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-down cue */
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 20px; z-index: 2;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.70);
  font-size: 1.2rem;
  animation: bounceDown 2.4s infinite;
  pointer-events: none;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.45; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* ===== COMPANY STATS (SINCE 1956) ===== */
.company-stats-section {
  background: #ffffff;
  padding: 28px 0 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.company-stats-header {
  text-align: center;
  margin-bottom: 20px;
}
.company-heritage-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1.2;
}
.company-heritage-divider {
  width: 36px;
  height: 2px;
  background: var(--brand-red);
  margin: 0 auto;
  border-radius: 2px;
}
.company-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.company-stat-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.company-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-red);
  box-shadow: 0 6px 20px rgba(214, 26, 26, 0.10);
}
.company-stat-card .stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-red);
  line-height: 1.1;
  margin-bottom: 5px;
  letter-spacing: -0.5px;
}
.company-stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
}

@media (max-width: 992px) {
  .company-stats-section { padding: 22px 0 26px; }
  .company-stats-grid { gap: 12px; }
  .company-stat-card { padding: 14px 12px; }
}

@media (max-width: 768px) {
  .company-stats-section { padding: 20px 0 24px; }
  .company-stats-header { margin-bottom: 16px; }
  .company-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
  }
  .company-stat-card { padding: 14px 10px; border-radius: 10px; }
  .company-stat-card .stat-number { font-size: 1.5rem; }
  .company-stat-card .stat-label { font-size: 0.68rem; letter-spacing: 0.5px; }
}

@media (max-width: 480px) {
  .company-stats-grid { gap: 8px; }
  .company-stat-card { padding: 12px 8px; }
  .company-stat-card .stat-number { font-size: 1.35rem; }
  .company-stat-card .stat-label { font-size: 0.62rem; }
}

/* ===== SECTION COMMONS ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(10,42,110,0.08), rgba(30,111,191,0.08));
  color: var(--accent);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 20px; height: 1.5px;
  background: var(--accent);
  opacity: 0.4;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--medium-gray);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== PRODUCTS SECTION ===== */
.products-section { background: var(--light-gray); }
.products-section .section-label {
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red-dark));
  color: #ffffff;
  padding: 6px 18px;
  box-shadow: 0 4px 14px rgba(214,26,26,0.25);
  font-weight: 700;
  letter-spacing: 1px;
}
.products-section .section-label::before,
.products-section .section-label::after {
  background: #ffffff;
  opacity: 0.75;
}
.products-section .section-title {
  color: var(--primary);
  font-weight: 800;
}
.products-section .section-subtitle {
  color: #111111;
  font-weight: 400;
  max-width: 680px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04), 0 10px 24px rgba(0,0,0,0.06);
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid rgba(214, 26, 26, 0.08);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(214, 26, 26, 0.16), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(214, 26, 26, 0.4);
}
.product-card-img {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img img {
  transform: scale(1.03);
}
.product-card-overlay {
  position: absolute; inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.78;
  transition: var(--transition);
}
.product-card:hover .product-card-overlay { opacity: 0.62; }
/* Icon-style category cards (product PNGs on light background, e.g. homepage categories) */
.product-card-img-icon {
  background: linear-gradient(150deg, #fff5f5 0%, #fee8e8 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  height: 190px;
}
.product-card-img-icon img {
  position: static;
  width: auto; height: 100%; max-width: 92%; max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(214,26,26,0.12));
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-card-img-icon img { transform: scale(1.06) translateY(-4px); }
.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
}
.product-card-body p {
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 14px;
  min-height: 4.5em;
}
.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 14px;
}
.product-card-body .tag {
  display: inline-block;
  background: rgba(214, 26, 26, 0.08);
  color: var(--brand-red);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-right: 0;
  margin-bottom: 8px;
  border: 1px solid rgba(214, 26, 26, 0.16);
}
.card-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-red);
  transition: var(--transition);
}
.card-link:hover { color: var(--brand-red-dark); gap: 10px; }
.home-products-section .card-link {
  padding: 10px 16px;
  border: 1px solid rgba(214, 26, 26, 0.24);
  border-radius: 10px;
  background: rgba(214, 26, 26, 0.08);
  justify-content: center;
  align-self: flex-start;
}
.home-products-section .card-link:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

/* ===== ABOUT STRIP ===== */
/* =================================================
   ABOUT SECTION — Ram Krishan Industries
   Namespaced under .about-rki so it cannot collide
   with existing site styles. Uses only the site's
   existing palette: Red #D71920, White, Dark Gray.
   ================================================= */

.about-rki {
  --rki-red: #D71920;
  --rki-red-dark: #B4141A;
  --rki-charcoal: #1F2328;
  --rki-gray: #5B6168;
  --rki-gray-light: #EDEEF0;
  --rki-white: #FFFFFF;

  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFB 100%);
  padding: 120px 24px;
  font-family: 'Manrope', 'Inter', 'Poppins', sans-serif;
}

/* decorative corner accents */
.about-rki::before,
.about-rki::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(215, 25, 32, 0.10) 0%, rgba(215, 25, 32, 0) 70%);
  pointer-events: none;
}

.about-rki::before {
  top: -140px;
  right: -140px;
}

.about-rki::after {
  bottom: -140px;
  left: -140px;
}

.about-rki__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
}

.about-rki__inner:has(.about-rki__panel) {
  grid-template-columns: 1.05fr 0.95fr;
}

/* ---------- LEFT COLUMN ---------- */

.about-rki__content {
  max-width: 820px;
}

.about-rki__inner:has(.about-rki__panel) .about-rki__content {
  max-width: 560px;
}

.about-rki__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rki-red);
}

.about-rki__eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--rki-red);
  border-radius: 2px;
}

.about-rki__heading {
  margin: 0;
  font-family: 'Manrope', 'Inter', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 35px;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.about-rki__heading-line {
  display: block;
}

.about-rki__heading-line--dark {
  color: var(--rki-charcoal);
}

.about-rki__heading-line--red {
  color: var(--rki-red);
}

.about-rki__underline {
  display: block;
  width: 120px;
  height: 4px;
  margin: 28px 0 32px;
  border-radius: 999px;
  background: var(--rki-red);
}

.about-rki__text {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--rki-gray);
  font-weight: 400;
}

.about-rki__text:last-of-type {
  margin-bottom: 40px;
}

.about-rki__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--rki-red);
  color: var(--rki-white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.28);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.about-rki__cta-arrow {
  transition: transform 0.25s ease;
}

.about-rki__cta:hover,
.about-rki__cta:focus-visible {
  background: var(--rki-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(215, 25, 32, 0.34);
}

.about-rki__cta:hover .about-rki__cta-arrow,
.about-rki__cta:focus-visible .about-rki__cta-arrow {
  transform: translateX(4px);
}

.about-rki__cta:focus-visible {
  outline: 2px solid var(--rki-charcoal);
  outline-offset: 3px;
}

/* ---------- RIGHT COLUMN ---------- */

.about-rki__panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(31, 35, 40, 0.08);
  padding: 12px 32px;
  backdrop-filter: blur(6px);
}

.about-rki__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-rki__feature {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rki-gray-light);
  transition: background-color 0.25s ease;
}

.about-rki__feature:last-child {
  border-bottom: none;
}

.about-rki__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.10);
  color: var(--rki-red);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.about-rki__icon svg {
  width: 24px;
  height: 24px;
}

.about-rki__feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-rki__feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--rki-charcoal);
}

.about-rki__feature-desc {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--rki-gray);
}

.about-rki__panel:hover {
  box-shadow: 0 30px 70px rgba(31, 35, 40, 0.12);
  transform: translateY(-2px);
}

.about-rki__panel {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-rki__panel:hover .about-rki__icon {
  background: var(--rki-red);
  color: var(--rki-white);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .about-rki {
    padding: 96px 24px;
  }

  .about-rki__inner {
    gap: 56px;
  }

  .about-rki__heading {
    font-size: clamp(32px, 5vw, 48px);
  }
}

/* Stack to single column */
@media (max-width: 860px) {
  .about-rki__inner {
    grid-template-columns: 1fr;
  }

  .about-rki__content {
    max-width: 100%;
    text-align: center;
  }

  .about-rki__eyebrow {
    justify-content: center;
  }

  .about-rki__underline {
    margin-left: auto;
    margin-right: auto;
  }

  .about-rki__cta {
    justify-content: center;
  }
}
.about-strip {
  background: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  height: 420px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.15);
  overflow: hidden;
}
.about-img-main img { object-fit: cover; width: 100%; height: 100%; border-radius: 16px; }
.about-img-secondary {
  position: absolute;
  left: -30px; bottom: -36px;
  width: 54%;
  border-radius: 14px;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 20px 44px rgba(10,42,110,0.28);
  z-index: 2;
  transition: var(--transition);
}
.about-img-secondary img { width: 100%; height: 170px; object-fit: cover; display: block; }
.about-visual:hover .about-img-secondary { transform: translateY(-6px); }
.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red-dark));
  color: white;
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(214,26,26,0.38);
}
.about-badge-float h4 { font-size: 1.8rem; font-weight: 800; line-height: 1; color: #ffffff; }
.about-badge-float p { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.92); }
.about-text .section-label {
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red-dark));
  color: #ffffff;
  padding: 6px 18px;
  box-shadow: 0 4px 14px rgba(214,26,26,0.25);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.8px;
}
.about-text .section-label::before,
.about-text .section-label::after {
  background: #ffffff;
  opacity: 0.75;
}
.about-text h2 {
  font-family: Arial;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.2;
}
.about-strip .about-text h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.22;
}
.about-text p { color: var(--medium-gray); line-height: 1.8; margin-bottom: 16px; font-size: 1rem; }
.about-strip .about-text p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #4a5568;
}
.about-strip .about-text {
  max-width: 980px;
  margin: 0 auto;
}
/* Full-width container used when visual/image column is removed */
.about-text-full {
  width: 100%;
}
.about-text-full .about-text {
  max-width: 980px;
  margin: 0 auto;
}
.about-strip .about-feature-text h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.about-strip .about-feature-text p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
}
.about-strip .btn-primary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.about-strip .about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
/* Mobile */
@media (max-width: 560px) {
  .about-rki {
    padding: 72px 16px;
  }

  .about-rki__heading {
    font-size: 30px;
  }

  .about-rki__panel {
    padding: 8px 20px;
    border-radius: 18px;
  }

  .about-rki__feature {
    gap: 16px;
    padding: 20px 0;
  }

  .about-rki__icon {
    width: 46px;
    height: 46px;
  }

  .about-rki__cta {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-rki__cta,
  .about-rki__cta-arrow,
  .about-rki__panel,
  .about-rki__icon,
  .about-rki__feature {
    transition: none;
  }
}

@media (max-width: 560px) {
  .about-strip .about-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .about-page .about-grid > *,
  .about-page .mission-grid > *,
  .about-page .about-stats-grid > * {
    min-width: 0;
  }
  #abouth2{
    font-size: 24px;
  }
  #aboutspan{
    color: black;
  }
  .about-page .about-text,
  .about-page .about-visual,
  .about-page .why-card,
  .about-page .about-feature,
  .about-page .page-hero-content,
  .about-page .section-header,
  .about-page .cta-section .container {
    max-width: 100%;
  }
  .about-page .about-text h2,
  .about-page .about-text p,
  .about-page .section-title,
  .about-page .section-subtitle,
  .about-page .page-hero h1,
  .about-page .page-hero p,
  .about-page .why-card h3,
  .about-page .why-card p,
  .about-page .cta-section h2,
  .about-page .cta-section p {
    overflow-wrap: anywhere;
  }
}
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--light-gray);
  border-radius: 10px;
  transition: var(--transition);
}
.about-feature:hover { background: linear-gradient(135deg, rgba(214,26,26,0.06), rgba(229,35,32,0.06)); }
.about-feature-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
}
.about-feature-text h4 { font-size: 0.9rem; font-weight: 700; color: #111111; line-height: 1.3; }
.about-feature-text p { font-size: 0.82rem; color: #222222; margin: 0; line-height: 1.5; }

/* ===== INDUSTRIES ===== */
.industries-section {
  background: #0d1726;
  color: white;
  position: relative;
}
.industries-section .section-label {
  background: rgba(214, 26, 26, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(214, 26, 26, 0.3);
}
.industries-section .section-label::before,
.industries-section .section-label::after {
  background: var(--brand-red);
}
.industries-section .section-title { color: white; }
.industries-section .section-subtitle { color: rgba(255, 255, 255, 0.8); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.industry-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px 14px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 125px;
  user-select: none;
}
.industry-card:hover,
.industry-card:focus-visible,
.industry-card:active {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand-red);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(214, 26, 26, 0.28), 0 0 16px rgba(229, 35, 32, 0.18);
}
.industry-icon {
  font-size: 2.1rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.industry-card:hover .industry-icon,
.industry-card:focus-visible .industry-icon,
.industry-card:active .industry-icon {
  transform: scale(1.12);
}
.industry-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

/* ===== GENERIC SLIDER COMPONENT (Industries, Client Logos) ===== */
.slider-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.industries-grid.slider-track .industry-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 160px;
}
.slider-arrow {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
/* Light variant for sections on a white background (e.g. client logos slider) */
.slider-wrap.slider-light .slider-arrow {
  background: white;
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(10,42,110,0.1);
}
.slider-wrap.slider-light .slider-arrow:hover { background: var(--primary); color: white; border-color: var(--primary); }

.clients-section { background: var(--light-gray); }
.clients-grid { padding-bottom: 8px; }
.client-logo-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 280px;
  height: 210px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(10,42,110,0.08);
  transition: var(--transition);
}
.client-logo-card:hover { box-shadow: 0 16px 34px rgba(10,42,110,0.2); transform: translateY(-6px); }
.client-logo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.client-logo-card:hover img { transform: scale(1.06); }

.certs-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.certificates-grid {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: certsMarquee 22s linear infinite;
}
.certs-marquee:hover .certificates-grid { animation-play-state: paused; }
@keyframes certsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 10px)); }
}

/* ===== WHY RAM KRISHAN INDUSTRIES ===== */
.why-section {
  background: var(--light-gray);
  position: relative;
}
.why-section .section-label {
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red-dark));
  color: #ffffff;
  padding: 6px 18px;
  box-shadow: 0 4px 14px rgba(214, 26, 26, 0.25);
  font-weight: 700;
  letter-spacing: 1px;
}
.why-section .section-label::before,
.why-section .section-label::after {
  background: #ffffff;
  opacity: 0.75;
}
.why-section .section-title {
  color: var(--primary);
  font-weight: 800;
}
.why-section .section-subtitle {
  color: #2c3e50;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.about-stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold); font-family: 'Poppins', sans-serif; }
.about-stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 6px; }

.why-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 26px;
  box-shadow: 0 4px 18px rgba(13, 27, 42, 0.05);
  border: 1.5px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  outline: none;
  cursor: pointer;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-red-light));
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}
.why-card:hover::before,
.why-card:focus-visible::before,
.why-card:active::before {
  transform: scaleX(1);
}
.why-card:hover,
.why-card:focus-visible,
.why-card:active {
  transform: translateY(-6px);
  border-color: var(--brand-red);
  box-shadow: 0 16px 36px rgba(214, 26, 26, 0.12), 0 4px 14px rgba(0, 0, 0, 0.04);
}
.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(214, 26, 26, 0.08);
  border: 1.5px solid rgba(214, 26, 26, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand-red);
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-card:hover .why-icon,
.why-card:focus-visible .why-icon,
.why-card:active .why-icon {
  transform: scale(1.08);
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.why-card p {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
}
/* ===== CTA STRIP ===== */
.cta-section {
  background: var(--brand-red);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  display: none;
}
.cta-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; margin-bottom: 16px;
}
.cta-section p { opacity: 0.82; font-size: 1rem; max-width: 540px; margin: 0 auto 32px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white; color: var(--primary);
  padding: 13px 30px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.cta-section .btn-white {
  background: var(--brand-red);
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.cta-section .btn-white:hover {
  background: #ffffff;
  color: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.btn-outline-gold {
  background: transparent; color: var(--gold);
  padding: 13px 30px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--gold);
  transition: var(--transition); cursor: pointer;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.3fr 1.4fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-social:hover { background: var(--brand-red); color: white; transform: translateY(-3px); }
.footer-col h4 {
  font-size: 0.9rem; font-weight: 700; color: white;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.83rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul a::before {
  content: '→';
  opacity: 0;
  transition: var(--transition);
  color: var(--brand-red);
}
.footer-col ul a:hover { color: white; }
.footer-col ul a:hover::before { opacity: 1; }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.83rem; margin-bottom: 14px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.footer-contact-item i { color: var(--brand-red); margin-top: 2px; min-width: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-bottom a:hover { color: var(--brand-red); }

/* ===== FLOATING ELEMENTS ===== */
/* direction: ltr locks this UI widget in place regardless of page language/RTL */
.float-sidebar {
  position: fixed;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex; flex-direction: column; gap: 12px;
  direction: ltr;
}
.float-btn {
  display: flex; align-items: center;
  flex-direction: row;
  background: var(--primary);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1), border-radius 0.35s, box-shadow 0.35s, background 0.35s;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 6px 18px rgba(10,42,110,0.28);
}
.float-btn:hover {
  width: 200px;
  box-shadow: 0 10px 28px rgba(10,42,110,0.4);
  background: var(--accent);
}
.float-btn i {
  min-width: 54px;
  text-align: center;
  font-size: 1.25rem;
  transition: transform 0.35s;
}
.float-btn:hover i { transform: scale(1.1); }
.float-btn span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s 0.08s, transform 0.25s 0.08s;
  padding-left: 2px;
  padding-right: 14px;
}
.float-btn:hover span { opacity: 1; transform: translateX(0); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.whatsapp:hover { background: #1da851; }
.float-btn.wechat { background: #09b83e; }
.float-btn.wechat:hover { background: #07902f; }
.float-btn.email-btn { background: #ea4335; }
.float-btn.email-btn:hover { background: #c62828; }
.float-btn.phone-btn { background: #1565c0; }
.float-btn.phone-btn:hover { background: #0d47a1; }

/* Tooltip/scanner popup on hover */
.float-btn .qr-popup {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--dark);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  margin-left: 10px;
}
.float-btn:hover .qr-popup { opacity: 1; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 90px; right: 20px;
  z-index: 900;
  background: #25d366;
  color: white;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  cursor: pointer;
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
  direction: ltr;
}
.whatsapp-fab:hover { transform: scale(1.12); box-shadow: 0 10px 30px rgba(37,211,102,0.6); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 26px; right: 22px;
  z-index: 900;
  background: var(--primary);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  box-shadow: 0 4px 16px rgba(10,42,110,0.35);
  direction: ltr;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ===== LOGO MARQUEE SLIDER ===== */
.logo-marquee-section {
  background: var(--light-gray);
  padding: 65px 0;
  overflow: hidden;
  position: relative;
}
.logo-marquee-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 35px;
  padding: 10px 0;
}
.logo-marquee-wrap::before,
.logo-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}
.logo-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--light-gray) 15%, transparent);
}
.logo-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--light-gray) 15%, transparent);
}
.logo-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: logoMarqueeScroll 48s linear infinite;
  align-items: center;
}
.logo-marquee-track:hover {
  animation-play-state: paused;
}
.logo-marquee-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 24px;
  width: 178px;
  height: 86px;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: var(--transition);
}
.logo-marquee-item:hover {
  border-color: var(--brand-red);
  box-shadow: 0 8px 24px rgba(214, 26, 26, 0.12);
  transform: translateY(-3px);
}
.logo-marquee-item img {
  max-height: 58px;
  max-width: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}
.logo-marquee-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@keyframes logoMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== MEGA DROPDOWN MENU ===== */
.nav-links li.has-mega {
  position: static;
}
.nav-links .dropdown-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 95vw;
  max-width: 1180px;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.18);
  border: 1.5px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1000;
  max-height: 82vh;
  overflow-y: auto;
}
.nav-links li.has-mega:hover .dropdown-mega,
.nav-links li.has-mega.dd-open .dropdown-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-col {
  display: flex;
  flex-direction: column;
}
.mega-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-red);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 2px solid rgba(214, 26, 26, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-col-title a {
  color: var(--brand-red);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-col-title a:hover {
  color: var(--dark);
}
.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-list li a {
  display: block;
  font-size: 0.78rem;
  color: #334155;
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1.35;
  transition: var(--transition);
}
.mega-list li a:hover {
  background: var(--light-gray);
  color: var(--brand-red);
  padding-left: 10px;
}
.mega-subgroup {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--medium-gray);
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 2px;
  padding-left: 6px;
}

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(180, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  width: 90%; max-width: 600px;
  background: white;
  border-radius: 16px;
  padding: 30px;
  transform: scale(0.9);
  transition: var(--transition);
}
.search-overlay.active .search-box { transform: scale(1); }
.search-input-wrap { display: flex; gap: 12px; }
.search-input-wrap input {
  flex: 1; border: 2px solid var(--border);
  border-radius: 10px; padding: 12px 18px;
  font-size: 1rem; outline: none;
  transition: var(--transition);
}
.search-input-wrap input:focus { border-color: var(--accent); }
.search-input-wrap button {
  background: var(--primary); color: white;
  border: none; border-radius: 10px;
  padding: 12px 20px; cursor: pointer;
  font-size: 1rem; transition: var(--transition);
}
.search-input-wrap button:hover { background: var(--accent); }
.search-close {
  background: none; border: none;
  font-size: 1.2rem; color: var(--medium-gray);
  cursor: pointer; margin-top: 14px;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.search-close:hover { color: var(--primary); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  max-width: 100vw;
  background: #ffffff;
  z-index: 9999;
  padding: 75px 20px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); transition: var(--transition);
  z-index: 10;
}
.mobile-nav-close:hover { background: var(--brand-red); color: white; border-color: var(--brand-red); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.mobile-nav ul li a {
  display: block; padding: 12px 14px;
  border-radius: 8px; font-size: 0.98rem;
  font-weight: 600; color: var(--text);
  transition: var(--transition);
}
.mobile-nav ul li a:hover { background: var(--light-gray); color: var(--brand-red); }
.mobile-nav-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); width: 100%; }
.mobile-nav-footer .btn-quote { width: 100%; justify-content: center; padding: 13px; font-size: 0.95rem; display: flex; align-items: center; }

/* Expandable "Products" accordion inside mobile hamburger nav */
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; border-radius: 8px; }
.mobile-nav-row a { flex: 1; }
.mobile-submenu-toggle {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); font-size: 0.85rem;
  transition: var(--transition);
}
.mobile-nav-parent.open .mobile-submenu-toggle {
  transform: rotate(180deg);
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}
.mobile-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex !important; flex-direction: column; gap: 2px !important;
  padding-left: 12px;
  border-left: 2px solid rgba(214,26,26,0.15);
  margin-left: 14px;
  margin-top: 4px;
}
.mobile-nav-parent.open .mobile-submenu { max-height: 1200px; }
.mobile-nav .mobile-submenu li a { padding: 9px 12px; font-size: 0.88rem; font-weight: 500; color: #4a5568; }
.mobile-nav .mobile-submenu li a:hover { color: var(--brand-red); background: var(--light-gray); }

/* ===== ABOUT PAGE & HERO BANNERS ===== */
.page-hero {
  background: linear-gradient(135deg, rgba(140, 10, 10, 0.92), rgba(214, 26, 26, 0.88)), url('../images/About-Img/imgi_38_CNC-Cutting.jpg') center/cover no-repeat;
  color: white;
  padding: 85px 0 75px;
  position: relative;
  overflow: hidden;
}
.page-hero-about {
  background: linear-gradient(135deg, rgba(140, 10, 10, 0.92), rgba(214, 26, 26, 0.88)), url('#') center/cover no-repeat;
}
.page-hero-contact {
  background: linear-gradient(135deg, rgba(140, 10, 10, 0.92), rgba(214, 26, 26, 0.88)), url('#') center/cover no-repeat;
}
.page-hero-products {
  background: linear-gradient(135deg, rgba(140, 10, 10, 0.92), rgba(214, 26, 26, 0.88)), url('#') center/cover no-repeat;
}
.page-hero-news {
  background: linear-gradient(135deg, rgba(140, 10, 10, 0.92), rgba(214, 26, 26, 0.88)), url('#') center/cover no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><circle cx="150" cy="150" r="140" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') center/80% no-repeat;
}
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.6rem; }
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; margin-bottom: 14px;
}
.page-hero p { opacity: 0.82; max-width: 580px; line-height: 1.7; }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 20px; align-items: center; margin-bottom: 40px;
}
.timeline-item:nth-child(even) .tl-content:first-child { order: 3; text-align: left; }
.timeline-item:nth-child(even) .tl-dot { order: 2; }
.timeline-item:nth-child(even) .tl-content:last-child { order: 1; text-align: right; }
.tl-dot {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.75rem;
  box-shadow: 0 0 0 6px var(--light-gray);
  margin: 0 auto;
  z-index: 1;
}
.tl-content { padding: 20px 24px; background: var(--light-gray); border-radius: 12px; }
.tl-content h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.tl-content p { font-size: 0.82rem; color: var(--medium-gray); line-height: 1.6; margin: 0; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.team-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(10,42,110,0.07);
  transition: var(--transition);
  border: 1.5px solid var(--border);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
.team-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,0.5);
}
.team-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.team-card p { font-size: 0.8rem; color: var(--medium-gray); }

/* ===== PRODUCTS PAGE ===== */
.filter-bar {
  background: white;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 70px;
  z-index: 800;
}
.products-filter {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}
.filter-select {
  display: none;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230a2a6e" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 14px center/18px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--accent); }
.filter-btn {
  padding: 6px 13px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 2fr 1.2fr; gap: 48px; }
.contact-form-wrap {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none; transition: var(--transition);
  color: var(--text);
  background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,111,191,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--light-gray);
  border-radius: 14px; padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { background: white; box-shadow: var(--shadow); }
.contact-card-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.contact-card-icon.icon-address { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.contact-card-icon.icon-phone { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.contact-card-icon.icon-email { background: linear-gradient(135deg, #ea580c, #f97316); }
.contact-card-icon.icon-whatsapp { background: linear-gradient(135deg, #25d366, #16a34a); }
.contact-card-text h4 { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.contact-card-text p, .contact-card-text a {
  font-size: 0.85rem; color: #64748b;
  line-height: 1.6; transition: var(--transition);
}
.contact-card-text a { color: #1e293b; font-weight: 600; }
.contact-card-text a:hover { color: var(--brand-red); }


/* ===== CONTACT PRODUCT RANGE ===== */
.contact-product-range {
  background: white;
}
.contact-product-range .section-header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.contact-product-grid {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.contact-product-showcase-card {
  background: white;
  border: 1px solid rgba(214,26,26,0.10);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
#contactRangeTitle{
  font-size: 50px;
}
.contact-product-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.contact-product-content p {
  color: var(--medium-gray);
  font-size: 0.94rem;
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 16px;
}
.contact-product-brochure:hover {
  color: var(--brand-red-dark);
  gap: 10px;
}
.contact-product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-product-thumbs img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--light-gray);
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}
.contact-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--brand-red);
  color: white;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(214,26,26,0.18);
  transition: var(--transition);
}
.contact-product-btn:hover {
  background: var(--brand-red-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(184,20,20,0.24);
}
.contact-product-media {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.contact-product-media-contain img {
  object-fit: contain;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
 .contact-range-slider {
      background: #fff;
      overflow: hidden;
    }
    .contact-range-slider .contact-range-eyebrow {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      color: var(--brand-red);
      font-family: 'Poppins', sans-serif;
      font-size: 0.84rem;
      font-weight: 800;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }
    .contact-range-slider .contact-range-eyebrow::before,
    .contact-range-slider .contact-range-eyebrow::after {
      content: "";
      width: 44px;
      height: 2px;
      background: var(--brand-red);
      display: block;
    }
    .contact-range-slider .contact-range-eyebrow span::before,
    .contact-range-slider .contact-range-eyebrow span::after {
      content: "-";
      padding: 0 12px;
      color: var(--brand-red);
    }
    .contact-range-slider .contact-range-heading {
      text-align: center;
      max-width: 940px;
      margin: 0 auto 28px;
    }
    .contact-range-slider .contact-range-heading h2 {
      font-family: 'Poppins', sans-serif;
      font-size: clamp(2rem, 4.4vw, 3.7rem);
      line-height: 1.08;
      font-weight: 800;
      color: #050505;
      margin-bottom: 18px;
    }
    .contact-range-slider .contact-range-heading h2 span {
      color: var(--brand-red);
    }
    .contact-range-slider .contact-range-heading p {
      color: #1f2937;
      font-size: clamp(0.98rem, 1.6vw, 1.28rem);
      line-height: 1.55;
      max-width: 720px;
      margin: 0 auto;
    }
    .contact-range-slider .contact-carousel {
      position: relative;
      margin: 0 auto;
      padding: 0 34px;
    }
    .contact-range-slider .contact-carousel-viewport {
      overflow: hidden;
      width: 100%;
    }
    .contact-range-slider .contact-carousel-track {
      --contact-visible-cards: 5;
      --contact-card-gap: 26px;
      display: flex;
      gap: var(--contact-card-gap);
      transition: transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }
    .contact-range-slider .contact-product-slide {
      flex: 0 0 calc((100% - 104px) / 5);
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
      border: 1px solid rgba(15, 23, 42, 0.06);
      overflow: hidden;
      min-height: 432px;
      display: flex;
      flex-direction: column;
    }
    .contact-range-slider .contact-product-slide img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      object-position: center;
      border-radius: 14px 14px 0 0;
    }
    .contact-range-slider .contact-product-body {
      flex: 1;
      padding: 28px 24px 26px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .contact-range-slider .contact-product-body h3 {
      font-family: 'Poppins', sans-serif;
      color: #050505;
      font-size: 1.15rem;
      line-height: 1.18;
      font-weight: 800;
      min-height: 54px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
    }
    .contact-range-slider .contact-product-divider {
      width: 42px;
      height: 2px;
      background: var(--brand-red);
      margin-bottom: 20px;
    }
    .contact-range-slider .contact-product-body p {
      color: #1f2937;
      font-size: 0.9rem;
      line-height: 1.65;
      margin: 0;
    }
    .contact-range-slider .contact-carousel-arrow {
      position: absolute;
      top: 40%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 999px;
      background: rgba(255,255,255,0.96);
      color: var(--brand-red);
      box-shadow: 0 10px 28px rgba(15,23,42,0.16);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2;
      transition: var(--transition);
    }
    .contact-range-slider .contact-carousel-arrow:hover {
      color: #050505;
      transform: translateY(-50%) scale(1.04);
    }
    .contact-range-slider .contact-carousel-prev { left: 6px; }
    .contact-range-slider .contact-carousel-next { right: 6px; }
    .contact-range-slider .contact-carousel-dots {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 28px;
    }
    .contact-range-slider .contact-carousel-dot {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      border: 0;
      background: #d8dde6;
      cursor: pointer;
      transition: var(--transition);
    }
    .contact-range-slider .contact-carousel-dot.active {
      width: 24px;
      background: var(--brand-red);
    }
    .contact-range-slider .contact-range-ctas {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      margin-top: 34px;
      flex-wrap: wrap;
    }
    .contact-range-slider .contact-range-cta {
      min-width: 198px;
      min-height: 58px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      border-radius: 10px;
      font-family: 'Poppins', sans-serif;
      font-size: 1.05rem;
      font-weight: 800;
      transition: var(--transition);
    }
    .contact-range-slider .contact-range-cta:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 26px rgba(15,23,42,0.15);
    }
    .contact-range-slider .contact-range-call {
      background: var(--brand-red);
      color: #fff;
    }
    .contact-range-slider .contact-range-whatsapp {
      background: #078d3f;
      color: #fff;
    }
    .contact-range-slider .contact-range-quote {
      background: #fff;
      color: var(--brand-red);
      border: 1.5px solid var(--brand-red);
    }
    @media (max-width: 1180px) {
      .contact-range-slider .contact-product-slide {
        flex-basis: calc((100% - 78px) / 4);
      }
    }
    @media (max-width: 900px) {
      .contact-range-slider .contact-carousel-track {
        --contact-card-gap: 20px;
      }
      .contact-range-slider .contact-product-slide {
        flex-basis: calc((100% - 40px) / 3);
      }
      .contact-range-slider .contact-product-slide {
        min-height: 396px;
      }
      #contactRangeTitle{
        font-size: 20px;
      }
    }
    @media (max-width: 680px) {
      .contact-range-slider {
        padding: 56px 0;
      }
      .contact-range-slider .contact-range-eyebrow {
        gap: 10px;
        font-size: 0.72rem;
        margin-bottom: 12px;
      }
      .contact-range-slider .contact-range-eyebrow::before,
      .contact-range-slider .contact-range-eyebrow::after {
        width: 28px;
      }
      .contact-range-slider .contact-range-eyebrow span::before,
      .contact-range-slider .contact-range-eyebrow span::after {
        padding: 0 7px;
      }
      .contact-range-slider .contact-range-heading {
        margin-bottom: 24px;
      }
      .contact-range-slider .contact-carousel {
        padding: 0 18px;
      }
      .contact-range-slider .contact-carousel-track {
        --contact-card-gap: 16px;
      }
      .contact-range-slider .contact-product-slide {
        flex-basis: 100%;
      }
      .contact-range-slider .contact-product-slide {
        min-height: 408px;
      }
      .contact-range-slider .contact-product-body {
        padding: 24px 20px;
      }
      .contact-range-slider .contact-product-body h3 {
        font-size: 1.12rem;
      }
      .contact-range-slider .contact-carousel-arrow {
        width: 38px;
        height: 38px;
        top: 35%;
      }
      .contact-range-slider .contact-carousel-prev { left: 2px; }
      .contact-range-slider .contact-carousel-next { right: 2px; }
      .contact-range-slider .contact-range-ctas {
        gap: 12px;
        margin-top: 28px;
      }
      .contact-range-slider .contact-range-cta {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        font-size: 0.98rem;
      }
    }

/* ===== NEWS PAGE ===== */
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-list-card {
  background: white; border-radius: 14px;
  overflow: hidden; border: 1.5px solid var(--border);
  display: grid; grid-template-columns: 280px 1fr;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(10,42,110,0.06);
}
.news-list-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
.news-list-img {
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.news-list-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.news-list-card:hover .news-list-img img { transform: scale(1.06); }
.news-list-body { padding: 28px; }
.news-list-body .news-cat { margin-bottom: 10px; }
.news-list-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; line-height: 1.4; }
.news-list-body p { font-size: 0.88rem; color: var(--medium-gray); line-height: 1.7; margin-bottom: 18px; }
.news-list-footer {
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 0.8rem; color: var(--medium-gray);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.12); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================
   RESPONSIVE — FULL SITE
   Desktop (>1024px) design is unchanged.
   Breakpoints below adapt layout only.
   ============================================ */

/* ---- Large tablets / small laptops ---- */
@media (max-width: 1100px) {
  .container { padding: 0 20px; }
}

@media (max-width: 1024px) {
  .hero { min-height: 300px; padding-bottom: 0; }
  .hero-stats { bottom: 30px; }
  .why-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .industries-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .about-grid { gap: 36px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; }
  .hero-content { max-width: 600px; margin-bottom: 20px; }
}

/* ---- Tablets ---- */
@media (max-width: 900px) {
  .navbar .container { padding: 0 18px; }
  .top-bar-left { flex-wrap: wrap; row-gap: 4px; }
  .section { padding: 70px 0; }
}


@media (max-width: 900px) {
  .contact-product-showcase-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .contact-product-media {
    order: -1;
  }
}



/* ---- Tablets / large phones (landscape) ---- */
@media (max-width: 768px) {
  .hero-scroll-cue,
  body.home-page .hero-scroll-cue { display: block; bottom: 22px; font-size: 1.08rem; }
  .nav-links, .nav-actions .btn-search { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .logo-img { height: 40px; max-width: 170px; }

  .filter-bar { padding: 16px 0; }
  .products-filter { display: none; }
  .filter-select { display: block; }

  .slider-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
  .industries-grid.slider-track .industry-card { width: 130px; }
  .client-logo-card { width: 220px; height: 165px; }
  .slider-track { scroll-snap-type: none; }
  .top-bar { font-size: 0.7rem; padding: 3px 0; }
  .logo-marquee-item { width: 150px; height: 74px; padding: 12px 20px; }
  .logo-marquee-item img { max-width: 112px; max-height: 48px; }

  /* Hero slider: keep a proper height so absolute-positioned slides are visible */
  .hero { height: 56vw; min-height: 240px; max-height: 520px; padding: 0; flex-direction: column; align-items: stretch; }
  .hero-slider { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-slide-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero-overlay { position: absolute; }
  .hero-content { max-width: 100%; width: 100%; margin-bottom: 0; }
  .hero-content::before { inset: -40px -50px 112px -50px; }
  .hero-badge { margin-bottom: 14px; }
  .hero h1 { font-size: 1.7rem; line-height: 1.28; margin-bottom: 12px; }
  .hero p { max-width: 100%; font-size: 0.92rem; line-height: 1.55; margin-bottom: 22px; }
  .hero-btns { gap: 10px; margin-bottom: 0; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline-white { width: 100%; justify-content: center; }
  .hero-stats { display: none !important; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .about-img-main { height: 280px; }
  .about-badge-float { right: 10px; bottom: auto; top: 14px; left: auto; }
  .about-img-secondary { left: 12px; bottom: -22px; width: 58%; }
  .about-img-secondary img { height: 130px; }
  .about-features { gap: 12px; }

  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .mission-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
  .product-card-img { padding: 10px; }
  .product-card-img-icon { padding: 8px; }
  .news-list-card { grid-template-columns: 1fr; }
  .news-list-img { height: 200px; }

  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .timeline-item:nth-child(even) .tl-content:first-child,
  .timeline-item:nth-child(even) .tl-content:last-child { order: initial; text-align: left; }
  .tl-dot { width: 36px; height: 36px; font-size: 0.65rem; margin: 0; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 30px 24px; }

  .page-hero { padding: 56px 0 46px; }

  .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }

  .float-sidebar { display: none !important; }
  .whatsapp-fab { width: 50px; height: 50px; font-size: 1.35rem; bottom: 78px; right: 16px; }
  .back-top { width: 42px; height: 42px; font-size: 0.95rem; bottom: 22px; right: 18px; }
}

/* ---- Phones ---- */
@media (max-width: 640px) {
  .contact-product-range { padding: 56px 0; }
  .contact-product-range .section-header { margin-bottom: 32px; }
  .contact-product-grid { gap: 22px; }
  .contact-product-showcase-card { border-radius: 18px; padding: 18px; gap: 18px; }
  .contact-product-content h3 { font-size: 1.25rem; }
  .contact-product-content p { font-size: 0.88rem; line-height: 1.65; }
  .contact-product-media img { aspect-ratio: 1.08 / 1; }
  .contact-product-media-contain img { padding: 16px; }
  .contact-product-thumbs { gap: 9px; }
  .contact-product-thumbs img { width: 64px; height: 64px; border-radius: 10px; }
  .contact-product-actions { flex-direction: column; }
  .contact-product-btn { width: 100%; min-height: 45px; }

  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero-btns { gap: 10px; }
  .btn-primary, .btn-outline-white, .btn-white, .btn-outline-gold { padding: 12px 20px; font-size: 0.88rem; }

  .products-filter { gap: 8px; margin-bottom: 28px; }
  .filter-btn { padding: 7px 14px; font-size: 0.8rem; }

  .cta-section { padding: 56px 0; }
  .cta-btns { gap: 12px; }

  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  .contact-card { padding: 18px; }
  .contact-card-icon { width: 42px; height: 42px; min-width: 42px; font-size: 1rem; }

  .search-box { padding: 22px; }
  .search-input-wrap { flex-direction: column; }
  .search-input-wrap button { width: 100%; justify-content: center; }
}

/* ---- Small phones ---- */
@media (max-width: 560px) {
  .navbar .container { padding: 0 16px; height: 64px; }
  .filter-bar { top: 64px; }
  .logo-img { height: 35px; max-width: 145px; }

  body.home-page .hero { height: 60vw; min-height: 220px; max-height: 420px; padding: 0; }
  .hero { padding: 0; }
  .hero-content::before { inset: -24px -20px 112px -20px; }
  .hero h1 { font-size: 1.6rem; margin-bottom: 11px; }

  .news-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .industry-card { padding: 18px 10px; min-height: 110px; }
  .industry-icon { font-size: 1.8rem; margin-bottom: 8px; }
  .industry-card h4 { font-size: 0.82rem; }
  .about-stat-num { font-size: 1.8rem; }
  .home-products-section .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-products-section .product-card-img-icon { padding: 8px; height: 128px; }
  .home-products-section .product-card-body { padding: 14px; }
  .home-products-section .product-card-body h3 { min-height: 0; font-size: 0.86rem; line-height: 1.3; }
  .home-products-section .product-card-body p { min-height: 0; font-size: 0.72rem; line-height: 1.5; }
  .home-products-section .product-card-tags { gap: 7px; margin-bottom: 12px; }
  .home-products-section .product-card-body .tag { font-size: 0.62rem; padding: 3px 8px; }
  .home-products-section .card-link { width: 100%; padding: 9px 10px; font-size: 0.76rem; white-space: nowrap; align-self: stretch; justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .about-img-main { height: 220px; }
  .about-img-secondary { width: 62%; left: 8px; bottom: -18px; }
  .about-img-secondary img { height: 100px; }

  .why-card { padding: 26px 22px; }
  .contact-form-wrap { padding: 24px 18px; }
  .contact-info { gap: 14px; }

  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; justify-content: center; }
  .footer-bottom div { justify-content: center; width: 100%; }

  .page-hero h1 { font-size: 1.7rem; }
  .breadcrumb { flex-wrap: wrap; }

  .top-bar-left { gap: 10px; font-size: 0.72rem; }
  .top-bar .container { justify-content: center; }
  .top-bar-left { justify-content: center; gap: 4px 8px; line-height: 1.25; }
  .top-bar-left a { font-size: 0.66rem; }
}

/* ---- Very small phones ---- */
@media (max-width: 420px) {
  .hero-scroll-cue,
  body.home-page .hero-scroll-cue { bottom: 16px; font-size: 1rem; }
  .navbar .container { padding: 0 14px; }
  .logo-img { height: 30px; max-width: 125px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-quote { padding: 7px 12px; font-size: 0.74rem; }
  .hamburger { padding: 4px; }

  .footer-social { width: 34px; height: 34px; font-size: 0.82rem; }
  .footer-bottom { font-size: 0.75rem; }

  .slider-wrap { gap: 6px; }
  .slider-arrow { width: 32px; height: 32px; font-size: 0.75rem; }
  .industries-grid.slider-track .industry-card { width: 115px; padding: 20px 12px; }
  .client-logo-card { width: 180px; height: 135px; }
  .logo-marquee-wrap { margin-top: 24px; }
  .logo-marquee-wrap::before,
  .logo-marquee-wrap::after { width: 38px; }
  .logo-marquee-track { gap: 16px; animation-duration: 44s; }
  .logo-marquee-item { width: 128px; height: 66px; padding: 10px 16px; border-radius: 10px; }
  .logo-marquee-item img { max-width: 96px; max-height: 42px; }

  .top-bar-left a { font-size: 0.7rem; }
  .lang-current { padding: 5px 12px 5px 6px; font-size: 0.75rem; }
  .lang-current img.lang-flag { width: 18px; height: 13px; }
  .lang-menu { min-width: 175px; }

  .hero { padding: 0; height: 62vw; min-height: 200px; max-height: 380px; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero h1 { font-size: 1.5rem; margin-bottom: 10px; }
  .hero p { font-size: 0.88rem; margin-bottom: 18px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { justify-content: center; }

  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.9rem; }

  .about-badge-float { padding: 14px 16px; }
  .about-badge-float h4 { font-size: 1.4rem; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ===========================
   RTL SUPPORT (Arabic)
   Applied when <html dir="rtl"> / body.rtl is set by js/main.js applyTranslations()
   =========================== */
[dir="rtl"] body,
body.rtl {
  text-align: right;
}
[dir="rtl"] .breadcrumb .fa-chevron-right,
body.rtl .breadcrumb .fa-chevron-right {
  transform: scaleX(-1);
}
[dir="rtl"] .card-link .fa-arrow-right,
[dir="rtl"] .btn-primary .fa-arrow-right,
[dir="rtl"] .btn-white .fa-arrow-right,
body.rtl .card-link .fa-arrow-right,
body.rtl .btn-primary .fa-arrow-right,
body.rtl .btn-white .fa-arrow-right {
  transform: scaleX(-1);
}
[dir="rtl"] .nav-links,
[dir="rtl"] .nav-actions,
[dir="rtl"] .top-bar-left,
[dir="rtl"] .footer-contact-item,
[dir="rtl"] .contact-card,
[dir="rtl"] .why-card,
body.rtl .nav-links,
body.rtl .nav-actions,
body.rtl .top-bar-left,
body.rtl .footer-contact-item,
body.rtl .contact-card,
body.rtl .why-card {
  direction: rtl;
}
[dir="rtl"] .float-sidebar,
body.rtl .float-sidebar {
  right: auto;
  left: 0;
}
[dir="rtl"] .float-sidebar .float-btn,
body.rtl .float-sidebar .float-btn {
  border-radius: 0 8px 8px 0;
}
[dir="rtl"] .whatsapp-fab,
body.rtl .whatsapp-fab {
  right: auto;
  left: 24px;
}
[dir="rtl"] .back-top,
body.rtl .back-top {
  right: auto;
  left: 24px;
}
[dir="rtl"] .lang-current,
body.rtl .lang-current {
  padding: 6px 6px 6px 14px;
}
[dir="rtl"] .search-input-wrap input,
body.rtl .search-input-wrap input {
  text-align: right;
}
[dir="rtl"] .dropdown-menu,
body.rtl .dropdown-menu {
  text-align: right;
}

/* ===== ACCESSIBILITY: REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .industry-card,
  .industry-icon,
  .why-card,
  .why-icon,
  .why-card::before,
  .reveal {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============================================
   OUR JOURNEY / MILESTONES TIMELINE
   ============================================ */

/* Section wrapper */
.journey-timeline-section {
  background: #ffffff;
}

/* Header badge */
.journey-badge {
  display: inline-block;
  background: #FDECEC;
  color: #D32F2F;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* Section heading */
.journey-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 0;
}

/* Timeline container — centred, max-width constrained */
.journey-timeline {
  max-width: 680px;
  margin: 0 auto;
  padding-top: 8px;
}

/* Each milestone row */
.journey-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

/* Icon column: icon circle + connecting line */
.journey-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 56px;
}

/* Circular icon */
.journey-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FDECEC;
  border: 2.5px solid #D32F2F;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D32F2F;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.15);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

/* "Today" icon — filled red */
.journey-icon-today {
  background: #D32F2F;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.35);
}

/* Hover effect on regular icons */
.journey-item:not(.journey-item-last):hover .journey-icon {
  background: #D32F2F;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(211, 47, 47, 0.35);
}

/* Vertical connecting line */
.journey-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, #D32F2F 0%, rgba(211,47,47,0.15) 100%);
  min-height: 48px;
  margin-top: 0;
}

/* Content panel */
.journey-content {
  flex: 1;
  background: #fff;
  border: 1px solid #f0e8e8;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 12px;
  box-shadow: 0 4px 18px rgba(10, 42, 110, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.journey-item:hover .journey-content {
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.12);
  transform: translateY(-2px);
}

/* Year label (bold red) */
.journey-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: #D32F2F;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

/* Era label (smaller, muted) */
.journey-era {
  font-size: 0.78rem;
  font-weight: 600;
  color: #D32F2F;
  background: #FDECEC;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

/* Milestone title */
.journey-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Description text */
.journey-desc {
  font-size: 0.93rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin: 0;
}

/* Last item — no bottom margin on content */
.journey-item-last .journey-content {
  margin-bottom: 0;
  border-color: #f8dede;
  background: linear-gradient(135deg, #fff 70%, #fff9f9);
}

/* ---- Responsive ---- */

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .journey-timeline {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
  .journey-content {
    padding: 18px 20px;
  }
  .journey-main-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .journey-item {
    gap: 16px;
  }
  .journey-icon-col {
    width: 44px;
  }
  .journey-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .journey-content {
    padding: 14px 16px;
    border-radius: 10px;
  }
  .journey-title {
    font-size: 0.97rem;
  }
  .journey-desc {
    font-size: 0.88rem;
  }
  .journey-line {
    min-height: 40px;
  }
  .journey-timeline-section .section-header {
    padding: 0 4px;
  }
}


