/* ===========================================================
   TAURUS SOLUTIONS LTD — GLOBAL STYLESHEET
   =========================================================== */

:root {
  /* Colors */
  --primary: #e60012;
  --primary-dark: #b8000e;
  --secondary: #1A1A1A;
  --white: #FFFFFF;
  --light-bg: #F7F8FA;
  --border: #E5E7EB;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  /* Radius */
  --radius-card: 8px;
  --radius-btn: 6px;
  --radius-img: 8px;
  --radius-tag: 4px;
  --radius-input: 6px;

  /* Header */
  --header-height: 72px;
  --topbar-height: 40px;
}

/* -----------------------------------------------------------
   RESET / BASE
   ----------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 190px;
}

html { font-size: 17px; } /* base for rem scale — bumped from 16px for readability */

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.6s ease;
}

@media (max-width: 768px) {
  html { font-size: 16px; }
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

h1 { font-size: 3.05rem; line-height: 1.1; }
h2 { font-size: 2.12rem; }
h3 { font-size: 1.18rem; line-height: 1.3; }

p { color: var(--text-body); }

.container {
  max-width: 100%;
  /* margin: 0 auto; */
  padding: 0 12px;
}

.section {
  padding: var(--space-4) 0;
}

.section--alt { background: var(--light-bg); }
.section--dark { background: var(--secondary); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-8);
}

.section-head.left { text-align: left; margin-left: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline { background: transparent; border-color: var(--border); color: var(--secondary); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-dark { background: var(--secondary); color: var(--white); }
.btn-dark:hover { background: #000; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  min-height: 44px;
}
.whatsapp-btn:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }
.whatsapp-btn svg { width: 22px; height: 22px; fill: #FFFFFF; }

.cta-row { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: 30px;}

/* -----------------------------------------------------------
   TOP BAR
   ----------------------------------------------------------- */
.topbar {
  background: var(--primary);
  color: var(--white);
  height: var(--topbar-height);
}
.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}
.topbar-left { display: flex; gap: var(--space-3); align-items: center; }
.topbar-left a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); }
.topbar-left svg { width: 14px; height: 14px; fill: var(--white); }
.topbar-right { display: flex; align-items: center; gap: 6px; }

@media (max-width: 768px) {
  .topbar-right { display: none; }
}
@media (max-width: 480px) {
    .logo img{
         max-height: 30px !important; width: auto;
    }
  .topbar-left span:last-child { display: none; }
}

/* Minimal image-led rental hero */
.rentals-coming-soon {
  min-height: min(620px, calc(100vh - 145px));
  padding: 64px 24px;
  background: #111;
}

.rentals-coming-soon-media,
.rentals-coming-soon-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.rentals-coming-soon-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rentals-coming-soon-media::after {
  background: linear-gradient(90deg, rgba(8, 10, 14, 0.8), rgba(8, 10, 14, 0.36) 60%, rgba(8, 10, 14, 0.58));
}

.rentals-coming-soon-pattern,
.rentals-coming-soon::before,
.rentals-coming-soon::after {
  display: none;
}

.rentals-coming-soon-content {
  width: min(720px, 100%);
  margin-right: auto;
  text-align: left;
}

.rentals-status {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
}

.rentals-coming-soon-content .eyebrow {
  margin-bottom: 12px;
}

.rentals-coming-soon-content h1 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

.rentals-coming-soon-copy {
  max-width: 520px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.rentals-coming-soon-actions {
  justify-content: flex-start;
  margin-top: 26px;
}

.rentals-contact-line {
  justify-content: flex-start;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .rentals-coming-soon {
    min-height: 560px;
    padding: 52px 20px;
  }

  .rentals-coming-soon-media::after {
    background: rgba(8, 10, 14, 0.64);
  }

  .rentals-coming-soon-content h1 {
    font-size: 2.7rem;
  }
}

/* -----------------------------------------------------------
   MAIN NAV
   ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 500; }

/* Row 1 — logo + CTA row */
.navbar-main {
    padding:5px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar-main-inner {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 260px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;            /* desktop: don't eat clicks      */
  z-index: 1;                      /* stay below the CTA group       */
}
.logo img { pointer-events: auto; }/* the image itself stays clickable */

/* === Mobile / tablet: logo goes LEFT, is no longer absolute === */
@media (max-width: 1080px) {
  .logo {
    position: static;
    transform: none;
    left: auto; top: auto;
    width: 180px;
    flex: 0 0 auto;
    margin-right: auto;            /* pushes .nav-cta-group to the right */
    pointer-events: auto;
    z-index: 1;
  }
}

@media (max-width: 480px) {
  .logo { width: 150px; }
}
.nav-cta-group {
  position: relative;     /* establish stacking context */
  z-index: 100;           /* sits above .logo (which is z-index:auto → 0) */
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.whatsapp-icon-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--whatsapp, #25D366);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.whatsapp-icon-btn svg { width: 24px; height: 24px; fill: var(--white); }
.whatsapp-icon-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }

.nav-header-cta { white-space: nowrap; padding: 14px 26px; }

/* Row 2 — big colored tab menu, edge-to-edge (no container gutters) */
.navbar-tabs {
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.navbar-tabs .container {
  padding: 0;
  max-width: 100%;
  overflow: visible; /* must stay visible — overflow-x:auto here clips the mega-menu dropdown below it */
}

.nav-desktop { display: block; width: 100%; }
.nav-desktop > ul {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.nav-item { position: relative; flex: 1 1 0; }
.nav-item + .nav-item { border-left: 1px solid rgba(0,0,0,0.07); }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  font-size: clamp(17px, 0.9vw + 10px, 18px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 10px 15px;
  position: relative;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.nav-link:hover { filter: brightness(0.94); }

/* Tab background palette — dark→light warm gradient across the 7 items */
.nav-item:nth-child(1) .nav-link { background: #111318; color: var(--white); }
.nav-item:nth-child(2) .nav-link { background: #252a32; color: var(--white); }
.nav-item:nth-child(3) .nav-link { background: #3b424c; color: var(--white); }
.nav-item:nth-child(4) .nav-link { background: #59616c; color: var(--white); }
.nav-item:nth-child(5) .nav-link { background: #3b424c; color: var(--white); }
.nav-item:nth-child(6) .nav-link { background: #252a32; color: var(--white); }
.nav-item:nth-child(7) .nav-link { background: #111318; color: var(--white); }

.nav-item.active .nav-link { filter: brightness(0.88); }
.nav-link svg { width: 12px; height: 12px; fill: currentColor; transition: transform 0.2s ease; flex-shrink: 0; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
#rackingstoragemega{
      position: absolute;
  top: 100%;
  left: 100%;
}
#tendoremega{
   
    position: absolute;
    top: 100%;
    left: -20%;
}
/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  width: min(900px, 90vw);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.nav-item.nav-edge-left .mega-menu {
  left: 0;
  transform: translate(0, -8px);
}
.nav-item.nav-edge-left:hover .mega-menu {
  transform: translate(0, 0);
}
.mega-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--space-2);
}
.mega-menu a.mega-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  color: var(--secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mega-menu a.mega-link:hover { color: var(--primary); }
.mega-contact-box {
  background: var(--light-bg);
  border-radius: var(--radius-card);
  padding: var(--space-3);
}
.mega-contact-box .mega-col-title { color: var(--text-light); }
.mega-contact-box p { font-size: 13px; margin-bottom: 8px; color: var(--text-muted); }
.mega-contact-box a { color: var(--primary); font-weight: 600; font-size: 14px; }

/* Mobile nav toggle */
.nav-toggle {
  position: relative;
  z-index: 200;                    /* top of the row */
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  align-items: center; justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto;            /* never inherit none */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;      /* removes 300 ms tap delay */
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px; height: 2px;
  background: var(--secondary);
  position: relative;
  transition: 0.2s ease;
}
.nav-toggle span::before { content: ""; position: absolute; top: -8px; width: 24px; }
.nav-toggle span::after { content: ""; position: absolute; top: 8px; width: 24px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* -----------------------------------------------------------
   MOBILE DRAWER
   ----------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(340px, 86vw);
  height: 100%;
  background: var(--white);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.drawer-head img { max-height: 36px; }
.drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; width: 44px; height: 44px; }

.drawer-nav { padding: var(--space-2); }
.drawer-item { border-bottom: 1px solid var(--border); }
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 8px;
  font-size: 15px; font-weight: 600; text-transform: uppercase;
  color: var(--secondary);
}
.drawer-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease;
  padding-left: var(--space-2);
}
.drawer-item.is-open .drawer-submenu { max-height: 500px; }
.drawer-submenu a {
  display: block; padding: 10px 8px; font-size: 13px; color: var(--text-muted);
}
.drawer-toggle-icon { transition: transform 0.2s ease; }
.drawer-item.is-open .drawer-toggle-icon { transform: rotate(45deg); }

.drawer-footer {
  padding: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.drawer-footer a { color: var(--primary); font-weight: 600; display: block; margin-top: 6px; }

@media (max-width: 1080px) {
  .navbar-tabs { display: none; }
  .nav-toggle { display: flex; }
}

/* -----------------------------------------------------------
   HERO
   ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(90vh, 700px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { color: #FFD9B3; }
.hero h1 { color: var(--white); font-size: 52px; margin-bottom: var(--space-2); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: var(--space-4); max-width: 600px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero { min-height: 80vh; text-align: left; }
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--light-bg);
  padding: var(--space-6) 0 var(--space-4);
}
.page-hero h1 { font-size: 40px; }
@media (max-width: 768px) { .page-hero h1 { font-size: 28px; } }

.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 13px; color: var(--text-muted);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-light); }
.breadcrumb .current { color: var(--secondary); font-weight: 500; }

/* -----------------------------------------------------------
   STATS
   ----------------------------------------------------------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  text-align: center;
  padding: var(--space-6) var(--space-2);
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 40px; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

.section--dark .stat-label { color: rgba(255,255,255,0.7); }
.section--dark .stat-item { border-color: rgba(255,255,255,0.12); }

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
}

/* -----------------------------------------------------------
   CARDS / GRIDS
   ----------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-4);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card-img { overflow: hidden; aspect-ratio: 3/2; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: var(--space-3); }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-2); }
.card-link { font-size: 14px; font-weight: 600; color: var(--primary); }

.icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
}
.icon-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-card);
  background: rgba(242,104,12,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.icon-card .icon-wrap svg { width: 24px; height: 24px; fill: var(--primary); }
.icon-card h3 { margin-bottom: 8px; }
.icon-card p { font-size: 14px; color: var(--text-muted); }

/* Tag pills */
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 var(--space-3); margin-top: 10px; margin-bottom: 10px; }
.tag-pill {
  font-size: 12px; font-weight: 600;
  background: rgba(242,104,12,0.1);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-tag);
}

/* -----------------------------------------------------------
   ABOUT STRIP / TWO COL
   ----------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
.two-col img { border-radius: var(--radius-img); width: 100%; }
.two-col.reverse .col-img { order: 2; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: var(--space-4); }
  .two-col.reverse .col-img { order: 0; }
}

/* -----------------------------------------------------------
   PARTNERS MARQUEE
   ----------------------------------------------------------- */
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  gap: var(--space-8);
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track img {
  /* Fixed bounding box — every logo scales to FIT inside,
     no matter its native width/height, so none ever looks bigger. */
  width: 280px;
  height: 180px;
  object-fit: contain;      /* letterbox instead of stretch/crop */
  flex: 0 0 auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.marquee-track img:hover { filter: grayscale(0%); opacity: 1; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  align-items: center;
}
.partner-grid img { filter: grayscale(100%); opacity: 0.7; transition: 0.2s ease; }
.partner-grid img:hover { filter: grayscale(0); opacity: 1; }
@media (max-width: 768px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }

/* -----------------------------------------------------------
   TESTIMONIALS
   ----------------------------------------------------------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
}
.testimonial-card .stars { display: flex; gap: 2px; margin-bottom: var(--space-2); }
.testimonial-card .stars svg { width: 16px; height: 16px; fill: var(--primary); }
.testimonial-card p.quote { font-size: 15px; color: var(--text-body); margin-bottom: var(--space-3); }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img { width: 44px; height: 44px; border-radius: 50%; }
.testimonial-person span { font-weight: 600; font-size: 14px; }

/* -----------------------------------------------------------
   CTA BANNER
   ----------------------------------------------------------- */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: var(--space-10) 0;
  text-align: center;
  color: var(--white);
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: rgba(26,26,26,0.78); }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: var(--space-4); }
.cta-banner .cta-row { justify-content: center; }

/* -----------------------------------------------------------
   STEPS
   ----------------------------------------------------------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.step-item { text-align: center; padding: var(--space-3); }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
  margin: 0 auto var(--space-2);
}
@media (max-width: 768px) { .steps-row { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------
   FORM PLACEHOLDER
   ----------------------------------------------------------- */
.form-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  background: var(--light-bg);
}

/* -----------------------------------------------------------
   CONTACT PAGE
   ----------------------------------------------------------- */
.contact-info-list { margin-bottom: var(--space-4); }
.contact-info-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item .icon-wrap {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-card);
  background: rgba(242,104,12,0.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon-wrap svg { width: 20px; height: 20px; fill: var(--primary); }
.contact-info-item h4 { font-size: 14px; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); }

.map-embed { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* -----------------------------------------------------------
   FOOTER
   ----------------------------------------------------------- */
.site-footer { background: var(--secondary); color: rgba(255,255,255,0.75); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
  padding: var(--space-10) 0 var(--space-6);
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
.footer-col img { max-height: 70px; margin-bottom: var(--space-2); }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-3) 0;
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---- Mobile footer layout ----
   Brand full width → Quick Links (left) + Products (right)
   → Contact full width below                              */
@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand   brand"
      "quick   products"
      "contact contact";
    gap: var(--space-3) var(--space-2);
    padding: var(--space-8) 0 var(--space-6);
  }

  /* Assign each source column to its mobile grid area
     (order in the HTML: 1=brand, 2=quick, 3=products, 4=contact) */
  .footer-col:nth-child(1) { grid-area: brand; }
  .footer-col:nth-child(2) { grid-area: quick; }
  .footer-col:nth-child(3) { grid-area: products; }
  .footer-col:nth-child(4) { grid-area: contact; }

  /* Polish: tighter list rhythm for the two side-by-side columns */
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { font-size: 13.5px; }
}
/* -----------------------------------------------------------
   FLOATING BUTTONS
   ----------------------------------------------------------- */
.floating-whatsapp, .back-to-top {
  position: fixed;
  bottom: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 600;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  cursor: pointer;
  border: none;
}
.floating-whatsapp { right: 24px; background: var(--whatsapp); }
.floating-whatsapp svg { width: 26px; height: 26px; fill: var(--white); }
.floating-whatsapp:hover { background: var(--whatsapp-dark); }

.back-to-top { left: 24px; background: var(--secondary); }
.back-to-top svg { width: 20px; height: 20px; fill: var(--white); }
.back-to-top:hover { background: #000; }

.floating-whatsapp.is-visible, .back-to-top.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* -----------------------------------------------------------
   SCROLL REVEAL
   ----------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------
   RESPONSIVE SECTION PADDING
   ----------------------------------------------------------- */
@media (max-width: 768px) {
  .btn {padding: 3px 8px;font-size: 12px;}
  .section { padding: var(--space-6) 0; }
  h2 { font-size: 26px; }
  .two-col { gap: var(--space-4); }
}

/* -----------------------------------------------------------
   PRINT
   ----------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .floating-whatsapp, .back-to-top, .whatsapp-btn, .mobile-drawer, .drawer-overlay {
    display: none !important;
  }
}
/* ===========================================
   PREMIUM HEADER CTA
=========================================== */

.nav-header-cta{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    transition:all .35s cubic-bezier(.22,1,.36,1);
    animation:ctaPulse 2.8s infinite;
    box-shadow:
        0 10px 25px rgba(168,121,44,.22),
        0 0 0 0 rgba(168,121,44,.45);
}

/* Moving shine */
.nav-header-cta::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transform:skewX(-25deg);
    animation:ctaShine 3.5s infinite;
    z-index:1;
}

/* Animated glowing border */
.nav-header-cta::after{
    content:"";
    position:absolute;
    inset:-3px;
    border-radius:inherit;
    border:2px solid rgba(249,249,215,.45);
    opacity:0;
    animation:ctaRing 2.8s infinite;
    z-index:-1;
}

.nav-header-cta:hover{

    transform:translateY(-3px) scale(1.04);

    box-shadow:
        0 18px 40px rgba(168,121,44,.35);

}

.nav-header-cta:active{
    transform:scale(.97);
}

/* ===========================================
   Animations
=========================================== */

@keyframes ctaPulse{

    0%,100%{
        transform:scale(1);
        box-shadow:
            0 10px 25px rgba(168,121,44,.22),
            0 0 0 0 rgba(168,121,44,.40);
    }

    50%{
        transform:scale(1.03);
        box-shadow:
            0 16px 38px rgba(168,121,44,.35),
            0 0 0 10px rgba(168,121,44,0);
    }

}

@keyframes ctaShine{

    0%{
        left:-140%;
    }

    45%{
        left:160%;
    }

    100%{
        left:160%;
    }

}

@keyframes ctaRing{

    0%{
        opacity:0;
        transform:scale(.9);
    }

    20%{
        opacity:.8;
    }

    70%{
        opacity:0;
        transform:scale(1.12);
    }

    100%{
        opacity:0;
        transform:scale(1.12);
    }

}
/* ===========================================================
   HERO SLIDER (with slanted promotional copy box)
   =========================================================== */
.hero-slider {
  position: relative;
  min-height: min(90vh, 700px);
  overflow: hidden;
  color: var(--white);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  background: #14121e;
}
.hero-slider.is-dragging { cursor: grabbing; }

.hero-slider-track {
  display: flex;
  height: min(90vh, 700px);
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.hero-slider.is-dragging .hero-slider-track { transition: none; }

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Very subtle global dim so the box edge never looks jarring
   on bright background images. */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.08) 45%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  pointer-events: auto;
}

/* ---- Slanted promotional copy box ---- */
.hero-copy-box {
  position: relative;
  padding: 32px 10px 32px 10px;
  color: #ffffff;
  isolation: isolate;
}

/* Main slanted dark panel (low-opacity + blur) */
.hero-copy-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(126 126 126 / 11%) 0%, rgb(255 255 255 / 0%) 100%);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
  z-index: -1;
}

/* Subtle secondary angled strip to the right (matches the screenshot) */
/*.hero-copy-box::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 0;*/
/*  right: -70px;*/
/*  width: 55px;*/
/*  height: 100%;*/
/*  background: linear-gradient(*/
/*    135deg,*/
/*    rgba(28, 22, 56, 0.5) 0%,*/
/*    rgba(28, 22, 56, 0.32) 100%*/
/*  );*/
/*  clip-path: polygon(0 0, 35% 0, 100% 100%, 65% 100%);*/
/*  z-index: -2;*/
/*  pointer-events: none;*/
/*}*/

.hero-copy-box > * { position: relative; z-index: 1; }

/* ---- Text styles (all white for maximum readability) ---- */
.hero-copy-box .eyebrow {
  display: inline-block;
  color: #ff9b1a;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 10px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-copy-box h1 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero-copy-box .hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-copy-box .cta-row {
  margin-top: 22px;
  gap: 12px;
}

/* ---- Dots ---- */
.hero-dots {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.is-active { background: var(--primary); transform: scale(1.2); }

/* ---- Arrows ---- */
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow svg { width: 20px; height: 20px; fill: currentColor; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
@media (max-width: 640px) { .hero-arrow { display: none; } }

/* ---- Responsive — Tablet ---- */
@media (max-width: 992px) {
  .hero-copy-box {
    padding: 34px 84px 34px 34px;
  }
  .hero-copy-box::before {
    clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
  }
  .hero-copy-box::after {
    right: -52px;
    width: 42px;
  }
}

/* ---- Responsive — Mobile ---- */
@media (max-width: 768px) {
  .hero-slider,
  .hero-slider-track { min-height: 80vh; height: 80vh; }

  .hero-copy-box {
    padding: 20px 32px 20px 20px;
  }
  .hero-copy-box::before {
    clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
  }
  .hero-copy-box::after { display: none; }

  .hero-copy-box .eyebrow { font-size: 15px; margin-bottom: 6px; }
  .hero-copy-box h1 { font-size: 1.55rem; margin-bottom: 10px; }
  .hero-copy-box .hero-sub { font-size: 0.92rem; line-height: 1.5; }
  .hero-copy-box .cta-row { margin-top: 16px; gap: 8px; }
}

/* ---- Responsive — Small Mobile ---- */
@media (max-width: 480px) {
  .hero-copy-box {
    padding: 10px 10px 10px 10px;
  }
  .hero-copy-box::before {
    clip-path: polygon(0 0, 100% 0, calc(100% - 32px) 100%, 0 100%);
  }
  .hero-copy-box .eyebrow { font-size: 13px; }
  .hero-copy-box h1 { font-size: 1.15rem; }
  .hero-copy-box .hero-sub { font-size: 0.75rem; }
}

/* ===========================================================
   TENDER MANAGEMENT ROW (auto-scrolling infinite marquee, homepage)
   =========================================================== */
.tender-row-wrap { position: relative; overflow: hidden; }
.tender-row-wrap::before, .tender-row-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 20px;
  z-index: 2;
  pointer-events: none;
}
.tender-row-wrap::before { left: 0; background: linear-gradient(90deg, var(--light-bg), transparent); }
.tender-row-wrap::after { right: 0; background: linear-gradient(270deg, var(--light-bg), transparent); }

.tender-row {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  animation: tenderMarquee 34s linear infinite;
}
.tender-row.is-paused { animation-play-state: paused; }

@keyframes tenderMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tender-card {
  flex: 0 0 400px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tender-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.tender-card .card-img { aspect-ratio: 4/3; background: var(--light-bg); }
.tender-card .card-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tender-card .card-body { padding: var(--space-3); }
.tender-card .card-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.tender-card .card-body p { font-size: 13px; color: var(--text-muted); margin-bottom: var(--space-2); min-height: 54px; }
.tender-card-links { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.tender-card-links a { font-size: 13px; font-weight: 600; }
.tender-card-links .card-link { color: var(--primary); }
.tender-card-links .whatsapp-link { color: var(--whatsapp); }

@media (max-width: 900px) {
  .tender-card { flex: 0 0 300px; }
}
@media (max-width: 640px) {
  .tender-card { flex: 0 0 78vw; }
  .tender-row { animation-duration: 26s; }
}

/* ===========================================================
   EQUIPMENT RANGE — TRIMMED TO 3 CARDS
   =========================================================== */
.equipment-range-grid { grid-template-columns: repeat(3, 1fr); padding:60px;}
@media (max-width: 900px) {
  .equipment-range-grid { grid-template-columns: 1fr; }
}
.card-enquire-only {
  display: flex;
  flex-direction: column;
}
.card-enquire-only .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-enquire-only .card-body .btn { margin-top: auto; align-self: flex-start; }

/* ===========================================================
   FLIPBOOK / DOWNLOAD SECTION
   =========================================================== */
.flipbook-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--light-bg);
}
.flipbook-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.profile-tabs {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0 auto var(--space-4);
  flex-wrap: wrap;
}
.profile-tab {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--secondary);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.profile-tab:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.profile-tab.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.profile-tab.is-active:hover { color: var(--white); }
.flipbook-actions { text-align: center; margin-top: var(--space-4); }
@media (max-width: 640px) { .flipbook-wrap { aspect-ratio: 4/5; } }

/* ===========================================================
   TENDER MANAGEMENT PAGE (tender-management.html)
   =========================================================== */
.tm-section { padding: var(--space-10) 0; scroll-margin-top: 100px; }
.tm-section:nth-child(even) { background: var(--light-bg); }
.tm-item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 1024px) { .tm-item-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tm-item-grid { grid-template-columns: 1fr; } }

.tm-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tm-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.tm-item .card-img { aspect-ratio: 4/3; }
.tm-item .card-img img { width: 100%; height: 100%; object-fit: cover; }
.tm-item .card-body { padding: var(--space-3); }
.tm-item .card-body h4 { font-size: 1rem; margin-bottom: 4px; color: var(--secondary); }
.tm-item .card-body p { font-size: 13px; color: var(--text-muted); }

.tm-section-enquire { text-align: center; margin-top: var(--space-6); }

/* Mega menu variant for dropdowns with fewer columns (2 instead of 3) */
.mega-menu.cols-2 { grid-template-columns: 1fr 400px; }


/* ===========================================================
   TENDER MANAGEMENT — SOLUTION TABBAR
   =========================================================== */

.tm-tabbar {
  position: relative;
  z-index: 20;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Keep the tab group centered instead of stretching full width */
.tm-tabbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  max-width: 100%;
}

/* Main tab list */
.tm-tabbar-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  gap: 6px;
}

/* Individual tab */
.tm-tabbar-list li {
  flex: 0 0 auto;
}

/* Tab link */
.tm-tabbar-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 10px 18px;

  border: 1px solid transparent;
  border-radius: var(--radius-btn);

  background: transparent;
  color: var(--secondary);

  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover */
.tm-tabbar-list a:hover {
  color: var(--primary);
  background: rgba(230, 0, 18, 0.05);
  border-color: rgba(230, 0, 18, 0.16);
  transform: translateY(-1px);
}

/* Active-looking red underline */
.tm-tabbar-list a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -11px;

  height: 3px;
  border-radius: 3px;

  background: var(--primary);

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

/* Show underline on hover */
.tm-tabbar-list a:hover::after {
  transform: scaleX(1);
}

/* Keyboard accessibility */
.tm-tabbar-list a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}


/* -----------------------------------------------------------
   DESKTOP — SLIGHTLY MORE PREMIUM TAB APPEARANCE
   ----------------------------------------------------------- */

@media (min-width: 769px) {

  .tm-tabbar {
    padding: 0;
  }

  .tm-tabbar-list {
    min-height: 68px;
    padding: 10px 0;
  }

  .tm-tabbar-list a {
    min-height: 48px;
    padding: 10px 20px;
  }

}


/* -----------------------------------------------------------
   TABLET
   ----------------------------------------------------------- */

@media (max-width: 900px) {

  .tm-tabbar-list {
    gap: 4px;
  }

  .tm-tabbar-list a {
    padding: 10px 14px;
    font-size: 13px;
  }

}


/* -----------------------------------------------------------
   MOBILE — HORIZONTAL SCROLLING TABS
   ----------------------------------------------------------- */

@media (max-width: 768px) {

  .tm-tabbar {
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  }

  .tm-tabbar .container {
    display: block;
    padding: 0;
    overflow: hidden;
  }

  .tm-tabbar-list {
    width: 100%;
    max-width: none;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 8px 16px;

    gap: 6px;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    -webkit-overflow-scrolling: touch;

    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tm-tabbar-list::-webkit-scrollbar {
    display: none;
  }

  .tm-tabbar-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .tm-tabbar-list a {
    min-height: 44px;
    min-width: max-content;

    padding: 9px 15px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--white);

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .tm-tabbar-list a:hover {
    transform: none;
  }

  /* Remove desktop underline behavior on mobile */
  .tm-tabbar-list a::after {
    display: none;
  }

}


/* -----------------------------------------------------------
   SMALL MOBILE
   ----------------------------------------------------------- */

@media (max-width: 480px) {

  .tm-tabbar-list {
    padding: 7px 12px;
    gap: 6px;
  }

  .tm-tabbar-list a {
    min-height: 42px;
    padding: 8px 13px;
    font-size: 12px;
  }

}


/* -----------------------------------------------------------
   TENDER SECTION ANCHOR OFFSET
   Works with your sticky site header
   ----------------------------------------------------------- */

.tm-section {
  scroll-margin-top: 205px;
}

@media (max-width: 1080px) {

  .tm-section {
    scroll-margin-top: 145px;
  }

}

@media (max-width: 768px) {

  .tm-section {
    scroll-margin-top: 135px;
  }

}

/* ===========================================================
   FORKLIFT RANGE — PRODUCT CATEGORY TABS
   (Electric / Diesel / Attachments switcher on forklifts.html)
   =========================================================== */

.product-tabbar {
  position: relative;
  z-index: 10;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.product-tabbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  max-width: 100%;
}

.product-tabbar-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  gap: 6px;
}

.product-tabbar-list li {
  flex: 0 0 auto;
}

.product-tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 48px;
  padding: 10px 22px;

  border: 1px solid var(--border);
  border-radius: var(--radius-btn);

  background: var(--white);
  color: var(--secondary);

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-tab-btn:hover {
  color: var(--primary);
  background: rgba(230, 0, 18, 0.05);
  border-color: rgba(230, 0, 18, 0.16);
  transform: translateY(-1px);
}

.product-tab-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.product-tab-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.25);
}

.product-tab-btn.is-active:hover {
  color: var(--white);
  transform: none;
}

.product-tab-btn .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
}

.product-tab-btn.is-active .tab-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Panels */
.product-tab-panel {
  display: none;
}

.product-tab-panel.is-active {
  display: block;
  animation: tabFadeIn 0.35s ease;
}

.category-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  /*max-width: 980px;*/
  margin: 0 auto;
}

.category-intro-image {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--light-bg);
}

.category-intro-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/*.category-intro-copy { max-width: 820px; }*/
.category-intro-copy h2 { margin-bottom: var(--space-2); }
.category-intro-copy h3 { margin: var(--space-3) 0 var(--space-1); }
.category-intro-copy p + p { margin-top: var(--space-2); }

.category-info-table-wrap {
  width: 100%;
  margin-top: var(--space-6);
  overflow-x: auto;
}

.category-info-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid #444;
  font-size: 14px;
  line-height: 1.55;
}

.category-info-table caption {
  padding: 22px 16px;
  border: 1px solid #444;
  border-bottom: 0;
  color: var(--secondary);
  font-weight: 700;
  text-align: center;
}

.category-info-table th,
.category-info-table td {
  padding: 16px 14px;
  border: 1px solid #555;
  text-align: left;
  vertical-align: middle;
}

.category-info-table th {
  width: 160px;
  color: var(--secondary);
  font-weight: 700;
}

.category-info-table td { color: var(--text-body); }

.electric-benefits {
  padding: 34px 24px 40px;
  background: var(--white);
}

.electric-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.electric-benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.electric-benefit-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 10px;
  object-fit: contain;
}

.electric-benefit h3 {
  min-height: 42px;
  margin-bottom: 12px;
  color: #222;
  font-size: 16px;
  line-height: 1.25;
  text-transform: uppercase;
}

.electric-benefit-btn {
  display: inline-flex;
  min-width: 74px;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #e88900;
  color: var(--white);
  font-size: 13px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.electric-benefit-btn:hover {
  background: #c97200;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .category-info-table { min-width: 620px; font-size: 13px; }
  .category-info-table th { width: 145px; }
  .category-info-table th,
  .category-info-table td { padding: 12px 10px; }

  .electric-benefits { padding: 28px 16px 34px; }
  .electric-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .electric-benefit:last-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .electric-benefits-grid { grid-template-columns: 1fr; gap: 28px; }
  .electric-benefit:last-child { grid-column: auto; }
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* When "All" is selected, panels stack — add a divider between them
   so each category still reads as a distinct block */
.product-tab-panel.is-stacked {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.product-tab-panel.is-stacked:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* -----------------------------------------------------------
   DESKTOP
   ----------------------------------------------------------- */

@media (min-width: 769px) {

  .product-tabbar {
    padding: 0;
  }

  .product-tabbar-list {
    min-height: 68px;
    padding: 10px 0;
  }

  .product-tab-btn {
    min-height: 48px;
    padding: 10px 26px;
    font-size: 15px;
  }

}

/* -----------------------------------------------------------
   TABLET
   ----------------------------------------------------------- */

@media (max-width: 900px) {

  .product-tabbar-list {
    gap: 4px;
  }

  .product-tab-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

}

/* -----------------------------------------------------------
   MOBILE — HORIZONTAL SCROLLING TABS
   ----------------------------------------------------------- */

@media (max-width: 768px) {

  .product-tabbar {
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  }

  .product-tabbar .container {
    display: block;
    padding: 0;
    overflow: hidden;
  }

  .product-tabbar-list {
    width: 100%;
    max-width: none;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 10px 16px;
    gap: 8px;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .product-tabbar-list::-webkit-scrollbar {
    display: none;
  }

  .product-tabbar-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .product-tab-btn {
    min-height: 44px;
    min-width: max-content;
    padding: 9px 16px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .product-tab-btn:hover {
    transform: none;
  }

}

/* -----------------------------------------------------------
   SMALL MOBILE
   ----------------------------------------------------------- */

@media (max-width: 480px) {

  .product-tabbar-list {
    padding: 8px 12px;
    gap: 6px;
  }

  .product-tab-btn {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 12px;
  }

}

/* Sticky offset if a panel is ever deep-linked */
.product-tab-panel {
  scroll-margin-top: 205px;
}

@media (max-width: 1080px) {
  .product-tab-panel { scroll-margin-top: 145px; }
}

@media (max-width: 768px) {
  .product-tab-panel { scroll-margin-top: 135px; }
}

/* Aerial work equipment page */
.aerial-hero-slider {
  /*background: var(--secondary);*/
  color: var(--white);
}

.aerial-hero-slide {
  position: relative;
  /*height: 550px;*/
}

.aerial-hero-image {
  position: relative;
  /*height: 550px;*/
  overflow: hidden;
  /*background: #27313a;*/
}

.aerial-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aerial-hero-copy {
  position: absolute;
  left: 0;
  bottom: 60%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: min(560px, 72%);
  padding: 10px 54px;
    background: rgb(125 131 149 / 78%);
  color: var(--white);
}

.aerial-hero-copy h2 {
  margin: 4px 0 0;
  color: var(--white);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  line-height: 1.6;
}

.aerial-hero-kicker {
  color: var(--white);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
}

.aerial-intro-copy {
  max-width: 100%;
  padding: var(--space-4);
  background: #f4f4f4;
}

.aerial-intro-copy h2 { margin-bottom: 14px; }
.aerial-intro-copy p + p { margin-top: var(--space-2); }

.aerial-product-grid {
  max-width: 980px;
  margin: 0 auto;
}

.aerial-product-card { min-height: 100%; }

.aerial-product-image {
  min-height: 260px;
  overflow: hidden;
  background: var(--light-bg);
}

.aerial-product-image img {
  width: 100%;
  /*height: 260px;*/
  object-fit: contain;
}

.aerial-product-card .card-body {
  display: flex;
  min-height: 210px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.aerial-product-card h2 { margin-bottom: 10px; font-size: 1.4rem; }
.aerial-product-card p { flex: 1; margin-bottom: 18px; }

.aerial-features {
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-4);
  border: 1px solid var(--border);
  background: var(--white);
}

.aerial-features h2 { margin-bottom: var(--space-2); font-size: 1.2rem; }

.aerial-features ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  padding-left: 22px;
  list-style: disc;
}

.aerial-features li { color: var(--text-body); }

@media (max-width: 768px) {
  .aerial-hero-slide,
  .aerial-hero-image { height: 360px; }
  .aerial-hero-image,
  .aerial-hero-image img { height: 360px; }
  .aerial-hero-copy { bottom: 60%; width: 62%; padding: 8px 10px; }
  .aerial-hero-copy h2 { font-size:14px; line-height: 1.35; }
  .aerial-features ul { grid-template-columns: 1fr; }
  .aerial-product-image,
  .aerial-product-image img { min-height: 210px; height: 210px; }
}

/* Articulated forklifts page */
.articulated-intro {
  max-width: 100%;
  padding: 25px;
  background: #f4f4f4;
}

.articulated-intro-image {
  width: 100%;
  /*min-height: 260px;*/
  margin-top: var(--space-4);
  overflow: hidden;
  background: var(--light-bg);
}

.articulated-intro-image img {
  width: 100%;
  /*height: 260px;*/
  object-fit: cover;
}

.articulated-product-grid {
  margin-top: var(--space-6);
}

.articulated-product-card {
  min-height: 100%;
}

.articulated-product-image {
  min-height: 190px;
  overflow: hidden;
  /*background: var(--light-bg);*/
}

.articulated-product-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.articulated-product-card .card-body {
  display: flex;
  /*min-height: 245px;*/
  flex-direction: column;
  align-items: flex-start;
}

.articulated-product-card .tag-pill {
  margin-bottom: var(--space-2);
}

.articulated-product-card .card-body h3 {
  margin-bottom: 10px;
}

.articulated-product-card .card-body p {
  flex: 1;
}

.articulated-content-section {
  padding-top: var(--space-4);
}

.articulated-slider-image,
.articulated-aisle-image {
  width: 100%;
  margin-bottom: var(--space-4);
  overflow: hidden;
  /*background: var(--light-bg);*/
}

.articulated-slider-image img,
.articulated-aisle-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.articulated-key-features {
  max-width: 980px;
  margin: 0 auto var(--space-6);
  color: var(--text-body);
}

.articulated-key-features h2 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.articulated-key-features ul {
  padding-left: 28px;
  list-style: disc;
}

.articulated-key-features li {
  padding-left: 4px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.articulated-product-card--featured {
  width: min(560px, 100%);
  margin: 0 auto var(--space-8);
}

.articulated-product-card--featured .articulated-product-image {
  min-height: 280px;
}

.articulated-product-card--featured .articulated-product-image img {
  height: 280px;
}

.articulated-product-card--featured .card-body {
  align-items: center;
  text-align: center;
}

.articulated-product-card--featured h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.articulated-product-card--featured p {
  margin-bottom: 18px;
}

.advanced-parts {
  margin-top: var(--space-8);
  padding-left: 150px;
    padding-right: 150px;

}

.advanced-parts > h2 {
  margin-bottom: var(--space-3);
  text-align: center;
}

.advanced-parts-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.advanced-parts-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid #333;
  font-size: 14px;
  line-height: 1.55;
}

.advanced-parts-table th,
.advanced-parts-table td {
  border: 1px solid #333;
  padding: 10px 12px;
  vertical-align: middle;
}

.advanced-parts-table thead th {
  background: #08751b;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.advanced-parts-table th:first-child,
.advanced-parts-table td:first-child {
  width: 28%;
  text-align: center;
}

.advanced-parts-table td:first-child img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 150px;
  margin: 0 auto;
  object-fit: contain;
}

.advanced-parts-table td:last-child {
  text-align: center;
}

.advanced-parts-table h3 {
  margin-bottom: 6px;
  color: #08751b;
  font-size: 15px;
}

.advanced-parts-table p + p {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .articulated-intro-image,
  .articulated-intro-image img {
    /*min-height: 190px;*/
    height: 190px;
  }

  .articulated-key-features li {
    font-size: 14px;
  }

  .articulated-product-card--featured .articulated-product-image,
  .articulated-product-card--featured .articulated-product-image img {
    min-height: 210px;
    height: 210px;
  }

  .advanced-parts-table {
    min-width: 640px;
    font-size: 13px;
  }

  .advanced-parts-table td:first-child img {
    height: 120px;
  }
}

@media (max-width: 640px) {
  .articulated-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Forklift attachment benefits */
.attachment-benefits-section {
  background: var(--light-bg);
}

.attachment-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.attachment-benefit {
  min-height: 150px;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  background: var(--white);
}

.attachment-benefit h3 {
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 1rem;
}

.attachment-benefit p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .attachment-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .attachment-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Rentals coming-soon page */
.rentals-coming-soon-page {
  min-height: 0;
  background: #101215;
}

.rentals-coming-soon {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 145px));
  place-items: center;
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) 24px;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(230, 0, 18, 0.2), transparent 28%),
    radial-gradient(circle at 15% 85%, rgba(224, 125, 0, 0.14), transparent 26%),
    #101215;
}

.rentals-coming-soon::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  content: "";
  pointer-events: none;
}

.rentals-coming-soon::after {
  position: absolute;
  width: min(62vw, 760px);
  height: min(62vw, 760px);
  right: -18vw;
  bottom: -42vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.025), 0 0 0 92px rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.rentals-coming-soon-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(120deg, transparent 48%, rgba(255,255,255,0.08) 49%, transparent 50%);
  background-size: 54px 54px;
  pointer-events: none;
}

.rentals-coming-soon-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  text-align: center;
}

.rentals-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffb12b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rentals-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb12b;
  box-shadow: 0 0 0 5px rgba(255, 177, 43, 0.12);
  content: "";
}

.rentals-coming-soon-content .eyebrow {
  margin-bottom: 18px;
  color: #ffb12b;
  letter-spacing: 0.18em;
}

.rentals-coming-soon-content h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.98;
}

.rentals-coming-soon-copy {
  max-width: 590px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}

.rentals-coming-soon-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.rentals-coming-soon-actions .whatsapp-btn {
  background: #e60012;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.22);
}

.rentals-coming-soon-actions .whatsapp-btn:hover {
  background: #b8000e;
}

.rentals-coming-soon-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.rentals-coming-soon-actions .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.rentals-contact-line {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.rentals-contact-line a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

@media (max-width: 640px) {
  .rentals-coming-soon {
    min-height: 620px;
    padding: 72px 20px;
  }

  .rentals-coming-soon::before { inset: 14px; }
  .rentals-coming-soon-content h1 { font-size: 3.1rem; }
  .rentals-coming-soon-copy { line-height: 1.65; }

  .rentals-coming-soon-actions > * {
    width: min(320px, 100%);
    justify-content: center;
  }
}
/* ===========================================================
   TOPBAR ANNOUNCEMENT MARQUEE
   =========================================================== */

/* Screen-reader-only utility (used for the single, accessible copy
   of the announcement text so AT doesn't read the repeated clones). */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar-marquee {
  position: relative;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;
  isolation: isolate;
}

/* Soft fade on both edges so the loop never looks "cut" */
.topbar-marquee::before,
.topbar-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.topbar-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary), rgba(230, 0, 18, 0));
}
.topbar-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--primary), rgba(230, 0, 18, 0));
}

.topbar-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: topbarScroll 40s linear infinite; /* JS overrides duration */
  will-change: transform;
}

/* Pause on hover / keyboard focus — nothing "childish", just usability */
.topbar-marquee:hover .topbar-marquee-track,
.topbar-marquee:focus-within .topbar-marquee-track {
  animation-play-state: paused;
}

.topbar-marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 32px;
  white-space: nowrap;
  position: relative;
}

/* Subtle dot separator between repeats */
.topbar-marquee-track span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%);
}

@keyframes topbarScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .topbar-marquee {
    height: 32px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .topbar-marquee-track span { padding: 0 24px; }
  .topbar-marquee-track span::after { right: -2px; width: 4px; height: 4px; }
  .topbar-marquee::before,
  .topbar-marquee::after { width: 48px; }
}

@media (max-width: 480px) {
  .topbar-marquee { height: 30px; font-size: 11px; }
  .topbar-marquee-track span { padding: 0 18px; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .topbar-marquee-track { animation: none; }
}

/* ===========================================================
   DESKTOP INLINE MARQUEE (left white space of the header row)
   — hidden on mobile (the red top bar handles that instead)
   =========================================================== */

.header-inline-marquee {
  display: none;   /* off by default; enabled at ≥1081px below */
}

@media (min-width: 1081px) {

  /* Hide the red top bar on desktop — the inline marquee replaces it */
  .topbar-marquee { display: none; }

  /* Show the inline marquee on the left of the header row */
  .header-inline-marquee {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    /* Fits comfortably to the left of the centred 260px logo,
       at every desktop viewport from 1081px up. */
    max-width: clamp(280px, 35vw, 480px);
    height: 42px;

    margin-right: auto;   /* keep it pinned to the left */
    padding: 0 8px 0 4px;

    background: transparent;   /* white inherited from .navbar-main */
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  /* Soft white fade on both edges so the loop never looks cut */
  .header-inline-marquee::before,
  .header-inline-marquee::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 44px;
    z-index: 2;
    pointer-events: none;
  }
  .header-inline-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
  }
  .header-inline-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff, rgba(255, 255, 255, 0));
  }

  /* The track reuses .topbar-marquee-track for the JS auto-fill */
  .header-inline-marquee .topbar-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: topbarScroll 20s linear infinite;
    will-change: transform;
  }

  .header-inline-marquee .topbar-marquee-track span {
    display: inline-flex;
    align-items: center;
    padding: 0 26px;
    white-space: nowrap;
    position: relative;
    color: var(--secondary);
  }

  /* Dark separator dot for the white background */
  .header-inline-marquee .topbar-marquee-track span::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(230, 0, 18, 0.55);
    transform: translateY(-50%);
  }

  /* Pause on hover / keyboard focus */
  .header-inline-marquee:hover .topbar-marquee-track,
  .header-inline-marquee:focus-within .topbar-marquee-track {
    animation-play-state: paused;
  }
}

/* Respect users who prefer less motion */
@media (min-width: 1081px) and (prefers-reduced-motion: reduce) {
  .header-inline-marquee .topbar-marquee-track { animation: none; }
}
/* ===========================================================
   HEADER — SMALL MOBILE FIX
   Prevents the hamburger from overflowing on narrow viewports.
   =========================================================== */

/* Safety: the header row must never allow horizontal overflow */
.navbar-main-inner {
  flex-wrap: nowrap;
  min-width: 0;
}

/* The CTA cluster stays intact (not squashed) — we shrink it via
   the media queries below instead. */
.nav-cta-group {
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   ≤ 640px  —  hide the wide "Enquire Now" text button
   The WhatsApp icon + hamburger remain: same CTA reachable
   in one tap, but the header now fits every phone.
   ---------------------------------------------------------- */
@media (max-width: 640px) {
  .navbar-main { padding: 3px 0; }

  .navbar-main-inner { padding-left: 8px; padding-right: 8px; }

  .nav-cta-group { gap: 10px; }

  /* Hide the wide text button */
  .nav-header-cta { display: none; }

  /* Slightly smaller WhatsApp icon — still ≥40px tap target */
  .whatsapp-icon-btn {
    width: 40px;
    height: 40px;
  }
  .whatsapp-icon-btn svg { width: 20px; height: 20px; }

  /* Slightly smaller hamburger — still ≥40px tap target */
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

/* ----------------------------------------------------------
   ≤ 400px  —  squeeze a touch more for the smallest phones
   ---------------------------------------------------------- */
@media (max-width: 400px) {
  .logo { width: 130px; }

  .nav-cta-group { gap: 8px; }

  .whatsapp-icon-btn {
    width: 38px;
    height: 38px;
  }
  .whatsapp-icon-btn svg { width: 19px; height: 19px; }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .navbar-main-inner { padding-left: 6px; padding-right: 6px; }
}
/* ===========================================================
   FOOTER — CONTACT COLUMN (mobile)
   Keeps the address as one flowing paragraph, phone/email on
   the next line, hours on the line below.
   =========================================================== */
@media (max-width: 640px) {

  /* Give the Contact column a little breathing room and shrink
     the type so the address naturally fits on as few lines as
     possible without forcing a <br> break. */
  .footer-col:nth-child(4) p {
    margin-bottom: 6px;
    font-size: 13.5px;
    line-height: 1.65;
    word-break: normal;
    overflow-wrap: anywhere;   /* only breaks mid-word if truly needed */
  }

  /* Separator spacing (the &nbsp;|&nbsp; already spaces it,
     this just tightens the colour so it's subtle) */
  .footer-col:nth-child(4) p a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
  }
  .footer-col:nth-child(4) p a:hover {
    color: var(--primary);
  }
}

/* ===========================================================
   HERO SLIDER — MOBILE-SPECIFIC BACKGROUND IMAGES
   Swaps the desktop background images for mobile-optimised
   versions AND resizes the slider to match the mobile image
   aspect ratio, so the images never get cropped.
   =========================================================== */
@media (max-width: 768px) {
  /* ---- Push the copy box to the TOP on mobile ---- */
  .hero-slide {
    align-items: flex-start;       /* overrides base align-items: center */
  }

  .hero-slide .container {
    padding-top: 28px;              /* breathing room from the top edge */
  }

  /* If you want the copy box to span the full width on mobile,
     keep this; remove if you'd rather it stay narrow. */
  .hero-slide .hero-content {
    max-width: 100%;
    width: 100%;
  }
  /* ---- 1. Resize the slider to match the mobile images ----
     Change the aspect-ratio value to match your mobile
     slide files (see table below). 3/4 = portrait, 4/5 = a
     bit shorter, 9/16 = full phone-screen portrait.          */
  .hero-slider,
  .hero-slider-track {
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  /* ---- 2. Make sure the whole image fits inside ---- */
  .hero-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  /* ---- 3. Swap the background images ---- */

  /* Slide 1 — Forklifts  →  mobileslide1.jpg */
  .hero-slider .hero-slide:nth-child(1) {
    background-image: url('../assets/images/mobileslide1.jpg') !important;
  }

  /* Slide 2 — (image-only slide)  →  mobileslide2.jpg */
  .hero-slider .hero-slide:nth-child(2) {
    background-image: url('../assets/images/mobileslide2.jpg') !important;
  }

  /* Slide 3 — Racking & Shelving  →  mobileslide3.jpg */
  .hero-slider .hero-slide:nth-child(3) {
    background-image: url('../assets/images/mobileslide3.jpg') !important;
  }

  /* Slide 4 — Air Technology  →  mobileslide4.jpg */
  .hero-slider .hero-slide:nth-child(4) {
    background-image: url('../assets/images/mobileslide4.jpg') !important;
  }

  /* Slide 5 — Cleaning Technology  →  mobileslide5.jpg */
  .hero-slider .hero-slide:nth-child(5) {
    background-image: url('../assets/images/mobileslide5.jpg') !important;
  }
}