
/* ==========================================================================
   AABEX - Modern Industrial B2B E-Commerce Design System
   Electrical • Switchgear • Fasteners • Tools
   Colors aligned with Official AABEX Brand Identity
   ========================================================================== */

:root {
  /* Official Brand Color Palette (colors sampled directly from the AABEX logo) */
  --brand-blue: #0066cc;            /* Electric Blue sampled from logo gradient mid-tone */
  --brand-blue-dark: #003880;       /* Deep Royal Blue sampled from logo gradient base */
  --brand-blue-hover: #00519e;      /* Darker Blue Hover (between mid and base) */
  --brand-blue-light: #e8f2fd;      /* Soft Blue Tint Background */
  --brand-blue-glow: rgba(0, 102, 204, 0.25);
  
  --primary-orange: #f2790a;        /* Flame Orange sampled from logo 'X' bolt */
  --primary-orange-hover: #d96600;  /* Deep Flame Orange Hover */
  --primary-orange-light: #fef2e6;  /* Warm Orange Tint */
  --primary-orange-glow: rgba(242, 121, 10, 0.28);
  
  --brand-steel: #8a9bac;           /* Metallic Steel from Wrench & Gear */
  --brand-steel-dark: #334155;
  --brand-steel-light: #cbd5e1;
  
  --navy-darkest: #05101f;          /* Deep Industrial Obsidian */
  --navy-dark: #08192f;             /* Navy Blue Background, tightened to logo's dark blue */
  --navy-medium: #0d2952;           /* Electric Royal Navy */
  --navy-card: #112a4d;             /* Card Dark Surface */
  --navy-light: #1c3a68;
  --navy-border: #21447a;
  
  --text-main: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  
  --success-green: #10b981;
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #20ba5a;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hero-card: 0 25px 50px -12px rgba(10, 27, 54, 0.35);
  --shadow-popular: 0 20px 30px -10px rgba(242, 121, 10, 0.22), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   0. SCROLL REVEAL ANIMATION SUITE (Matching React ScrollReveal Spec)
   ========================================================================== */
.scroll-reveal {
  --reveal-duration: 600ms;
  --stagger-delay: 80ms;
  will-change: transform, opacity;
  transition: opacity var(--reveal-duration) cubic-bezier(0.16, 1, 0.3, 1),
              transform var(--reveal-duration) cubic-bezier(0.16, 1, 0.3, 1),
              filter var(--reveal-duration) cubic-bezier(0.16, 1, 0.3, 1),
              clip-path var(--reveal-duration) cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal--fade-up {
  opacity: 0;
  transform: translateY(32px);
}
.scroll-reveal--fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal--fade-down {
  opacity: 0;
  transform: translateY(-32px);
}
.scroll-reveal--fade-down.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal--fade-left {
  opacity: 0;
  transform: translateX(32px);
}
.scroll-reveal--fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal--fade-right {
  opacity: 0;
  transform: translateX(-32px);
}
.scroll-reveal--fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal--scale-up {
  opacity: 0;
  transform: scale(0.92);
}
.scroll-reveal--scale-up.is-visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-reveal--blur-in {
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.95);
}
.scroll-reveal--blur-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.scroll-reveal--rotate-in-3d {
  opacity: 0;
  transform: perspective(1000px) rotateX(16deg) translateY(30px);
  transform-origin: center bottom;
}
.scroll-reveal--rotate-in-3d.is-visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0);
}

.scroll-reveal--clip-up {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(20px);
}
.scroll-reveal--clip-up.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.scroll-reveal--swing-in {
  opacity: 0;
  transform: perspective(900px) rotateY(-18deg) translateY(20px);
}
.scroll-reveal--swing-in.is-visible {
  opacity: 1;
  transform: perspective(900px) rotateY(0deg) translateY(0);
}

/* Stagger Children (Optimized for Popular Products & Category Grids) */
.scroll-reveal--stagger-children > * {
  opacity: 0;
  transform: translateY(32px) scale(0.94) perspective(900px) rotateX(6deg);
  transform-origin: center bottom;
  transition: opacity var(--reveal-duration, 600ms) cubic-bezier(0.16, 1, 0.3, 1),
              transform var(--reveal-duration, 600ms) cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease, border-color 0.35s ease;
  transition-delay: calc(var(--stagger-index, 0) * var(--stagger-delay, 80ms));
}
.scroll-reveal--stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1) perspective(900px) rotateX(0deg);
}
.scroll-reveal--stagger-children.is-visible > .card-elevated {
  transform: scale(1.05) translateY(0) perspective(900px) rotateX(0deg);
}
.scroll-reveal--stagger-children.is-visible > .card-elevated:hover {
  transform: scale(1.07) translateY(-4px) perspective(900px) rotateX(0deg);
}
/* .product-card.card-elevated's own `transform: scale(1.05)` ties in
   specificity with the stagger reveal's hidden-state transform, and wins
   on source order, so the "Most Popular" card was skipping the slide-up
   entrance and only fading in. Bump specificity so the hidden state applies
   until the reveal is triggered. */
.scroll-reveal--stagger-children:not(.is-visible) > .product-card.card-elevated {
  opacity: 0;
  transform: translateY(32px) scale(0.94) perspective(900px) rotateX(6deg);
}

/* ==========================================================================
   1. TOP BAR
   ========================================================================== */
.top-bar {
  background-color: var(--navy-darkest);
  color: var(--text-light);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: #ffffff;
}

.top-bar-item svg {
  color: var(--primary-orange);
  width: 14px;
  height: 14px;
}

.top-bar-link {
  color: #94a3b8;
  font-size: 0.8125rem;
}

.top-bar-link:hover {
  color: #ffffff;
}

.btn-top-quote {
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-top-quote:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. MAIN HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}

/* Logo */
.brand-logo, .aab-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img, .aab-logo-img {
  height: 130px;
  max-height: 140px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img, .aab-logo:hover .aab-logo-img {
  transform: scale(1.02);
}

.logo-main-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 38px;
  height: 38px;
}

.logo-text-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--navy-dark);
}

.logo-text-title span {
  color: var(--primary-orange);
}

.logo-subtitle {
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #475569;
  margin-top: 3px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
  position: relative;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-orange);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 18px;
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

/* Search Bar */
.search-bar-wrapper {
  display: none;
}

.search-input-group {
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 3px 14px;
  transition: all var(--transition-fast);
}

.search-input-group:focus-within {
  background-color: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(242, 121, 10, 0.15);
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 6px;
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
}

.search-input::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

.search-btn {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color var(--transition-fast);
}

.search-btn:hover {
  color: var(--primary-orange);
}

/* Autocomplete suggestion box */
.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: none;
  z-index: 101;
  overflow: hidden;
}

.suggestion-item {
  padding: 10px 14px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-bottom: 1px solid #f8fafc;
}

.suggestion-item:hover {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

/* User Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.user-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
  transition: color var(--transition-fast);
}

.user-account-btn:hover {
  color: var(--primary-orange);
}

.quote-basket-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
  position: relative;
  transition: color var(--transition-fast);
}

.quote-basket-btn:hover {
  color: var(--primary-orange);
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.aabex-fly-to-cart {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.35);
  transition: transform 0.7s cubic-bezier(0.3, -0.35, 0.55, 1.35), opacity 0.7s ease-in, border-radius 0.7s ease;
  will-change: transform, opacity;
}

@keyframes cartIconBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.cart-icon-wrap.is-bumping {
  animation: cartIconBump 0.4s ease;
}

.mobile-menu-toggle {
  display: none;
  color: var(--navy-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
}

/* Mobile slide-down nav panel (JS toggles .mobile-nav-open on .nav-links).
   !important is used on the visibility-critical properties here because
   this panel is injected into a WordPress page-builder layout (WPBakery)
   alongside a theme and WooCommerce that also ship their own nav/header
   CSS; !important guarantees this panel's open/closed state always wins
   regardless of any other stylesheet's specificity on the live site. */
@media (max-width: 992px) {
  .nav-links {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    position: fixed !important;
    top: var(--mobile-header-h, 72px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 8px 24px 20px !important;
    box-shadow: 0 16px 28px -10px rgba(4, 20, 46, 0.22) !important;
    z-index: 99998 !important;
    max-height: calc(100vh - var(--mobile-header-h, 72px)) !important;
    overflow-y: auto !important;
    margin: 0 !important;
  }
  .nav-links:not(.mobile-nav-open) {
    display: none !important;
  }
  .nav-links.mobile-nav-open {
    display: flex !important;
  }
  .nav-links .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    pointer-events: auto !important;
  }
  .nav-links .nav-link.active::after {
    display: none;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown .nav-link {
    justify-content: space-between;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 4px 14px;
    display: none;
    min-width: 0;
  }
  .nav-dropdown.mobile-dropdown-open .dropdown-menu {
    display: block;
  }
  .nav-dropdown.mobile-dropdown-open .nav-link svg {
    transform: rotate(180deg);
  }
  .dropdown-item {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
    pointer-events: auto !important;
  }
  .mobile-nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(4, 12, 26, 0.45) !important;
    z-index: 99997 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal, 0.2s);
  }
  .mobile-nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto !important;
  }
  body.mobile-nav-active {
    overflow: hidden !important;
  }
  .mobile-menu-toggle {
    z-index: 99999 !important;
    position: relative !important;
    pointer-events: auto !important;
  }
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
  background: radial-gradient(circle at 85% 30%, rgba(0, 102, 204, 0.35) 0%, transparent 60%),
              radial-gradient(circle at 10% 85%, rgba(242, 121, 10, 0.12) 0%, transparent 45%),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 40px),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 40px),
              linear-gradient(135deg, #05101f 0%, #08192f 40%, #003880 75%, #0066cc 100%);
  color: #ffffff;
  padding: 56px 0 60px 0;
  position: relative;
  overflow: hidden;
}

/* Thin accent bar across the very top edge of the hero section */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f2790a 0%, #ffb347 25%, #0066cc 55%, #003880 100%);
  z-index: 5;
  pointer-events: none;
}

/* Subtle background glowing grid / circles */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 121, 10, 0.16) 0%, rgba(0, 45, 98, 0) 70%);
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: min(1780px, calc(100vw - 80px));
  padding: 0 40px;
  display: grid;
  grid-template-columns: 0.72fr 1.48fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-tag {
  justify-content: center;
}

.hero-cta-group {
  justify-content: center;
}

.hero-features-strip {
  justify-content: center;
}

.hero-feature-item {
  justify-content: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary-orange);
  margin-bottom: 16px;
}

.hero-tag::before {
  content: '';
  width: 26px;
  height: 2.5px;
  background-color: var(--primary-orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.85rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title .highlight-orange {
  color: var(--primary-orange);
  display: block;
}

.hero-description {
  font-size: 1.18rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px -5px rgba(242, 121, 10, 0.4);
  transition: all var(--transition-normal);
}

.btn-primary-hero:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -5px rgba(242, 121, 10, 0.5);
}

.btn-secondary-hero {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  transition: all var(--transition-normal);
}

.btn-secondary-hero:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Feature Badges Strip in Hero */
.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-feature-icon {
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-feature-text h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-feature-text p {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* Hero Right Visual */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 20, 50, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #00224a;
  width: 100%;
  display: flex;
}

.hero-image {
  width: 100%;
  height: 520px;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hero Product Ring — rotating showcase that replaces the static hero photo */
.hero-ring-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
}

.hero-ring-stage {
  position: relative;
  margin-left: auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-ring-stage.is-dragging {
  cursor: grabbing;
}

.hero-ring-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  height: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(90px);
  pointer-events: none;
}

.hero-ring-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 55%;
  will-change: transform, opacity, filter;
  transition: opacity 0.15s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-ring-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-ring-posline {
  margin: 6px auto 0;
  height: 3px;
  width: 144px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-ring-posline-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--primary-orange);
  transition: transform 0.2s ease;
}

.hero-ring-hint {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.5s ease;
}

.hero-ring-hint svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  animation: heroRingPulse 1.8s ease-in-out infinite;
}

@keyframes heroRingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 992px) {
  .hero-ring-wrap {
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-ring-item {
    width: 68%;
  }
}

/* ==========================================================================
   4. SECTION HEADERS COMMON STYLE
   ========================================================================== */
.section-padding {
  padding: 64px 0;
}

.section-header-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
  gap: 8px;
  width: 100%;
}

.section-header-wrap > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-orange);
  margin-bottom: 8px;
  text-align: center;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2.5px;
  background-color: var(--primary-orange);
}

.section-label-center {
  display: inline-flex;
  width: auto;
  justify-content: center;
  text-align: center;
  margin-bottom: 8px;
}

.section-label-lg {
  font-size: 1.15rem;
  letter-spacing: 2.8px;
  margin-bottom: 10px;
}

.section-label-lg::before {
  width: 32px;
  height: 3px;
}

.section-header-wrap-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header-wrap-centered .section-title {
  font-size: 2.35rem;
}

.section-header-wrap-centered .section-subtitle {
  font-size: 0.85rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header-wrap-centered .view-all-link {
  margin-top: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  text-align: center;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.5;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-orange);
  transition: transform var(--transition-fast);
  white-space: nowrap;
}

.view-all-link:hover {
  transform: translateX(4px);
  color: var(--primary-orange-hover);
}

/* ==========================================================================
   5. BRANDS WE SUPPLY SECTION (Continuous Auto-Moving Marquee)
   ========================================================================== */
.brands-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 54px 0;
  overflow: hidden;
}

.brands-slider-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Smooth edge fade mask */
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  padding: 12px 0;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  flex-wrap: nowrap;
  animation: scrollBrands 24s linear infinite;
  will-change: transform;
}

.brands-slider-container:hover .brands-track {
  animation-play-state: paused;
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

.brand-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 26px;
  height: 98px;
  width: 220px;
  min-width: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  filter: grayscale(10%);
  opacity: 0.95;
  user-select: none;
}

.brand-card:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.brand-card img, .brand-card svg {
  max-height: 52px;
  max-width: 165px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   6. FEATURED PRODUCTS (POPULAR PRODUCTS)
   ========================================================================== */
.popular-products-section {
  background-color: #f8fafc;
}

/* Featured Products — scroll-pinned stacked card showcase (ported from Super Tech reference) */
.products-stack-pin-outer {
  position: relative;
}

.products-stack-pin-inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: visible;
  padding: 60px 16px 72px;
}

.products-stack-header.section-header-wrap {
  flex-shrink: 0;
  margin-bottom: 0;
  transition: opacity 0.2s linear;
}

.products-stack-deck {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 520px;
  flex: 0 0 auto;
}

.stack-card {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease, pointer-events 0s linear 0.6s;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.stack-card.is-active-card {
  pointer-events: auto;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease, pointer-events 0s linear 0s;
}

.stack-card .product-card {
  height: 100%;
  min-height: 0;
}

.products-stack-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (max-width: 560px) {
  .products-stack-deck {
    max-width: 260px;
  }
}

.product-card {
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-bounce);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  height: 100%;
  width: 100%;
  text-align: left;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(242, 121, 10, 0.4);
}

/* Elevated Featured / Center Card */
.product-card.card-elevated {
  border-color: rgba(242, 121, 10, 0.6);
  box-shadow: 0 16px 36px rgba(242, 121, 10, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: scale(1.05);
  z-index: 5;
}

.product-card.card-elevated:hover {
  transform: scale(1.07) translateY(-4px);
  box-shadow: 0 20px 42px rgba(242, 121, 10, 0.35), 0 10px 28px rgba(0, 0, 0, 0.4);
}

.popular-badge-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(242, 121, 10, 0.4);
  z-index: 3;
}

.product-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.product-card:hover .product-bg-img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 24, 41, 0.05) 0%, rgba(12, 24, 41, 0.35) 40%, rgba(12, 24, 41, 0.88) 75%, #0c1829 100%);
  z-index: 1;
  pointer-events: none;
}

.product-card-bottom {
  position: relative;
  z-index: 2;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 24, 41, 0.75) 25%, rgba(12, 24, 41, 0.96) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.25;
}

.product-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.825rem;
  margin-bottom: 8px;
}

.product-spec {
  font-size: 0.825rem;
  font-weight: 700;
  color: #f2790a;
}

.product-bullet {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.product-brand {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-add-quote {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  color: #ffffff;
  background: var(--primary-orange);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(242, 121, 10, 0.3);
}

.btn-add-quote:hover, .product-card.card-elevated .btn-add-quote {
  background: var(--primary-orange);
  color: #ffffff;
}

.btn-add-quote:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(242, 121, 10, 0.45);
}

.product-details-link {
  font-size: 0.825rem;
  font-weight: 600;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
  text-decoration: none;
  padding: 2px 0;
}

.product-details-link:hover {
  gap: 8px;
  color: #ffffff;
}

/* Carousel pagination indicator dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #cbd5e1;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.dot.active {
  width: 28px;
  background-color: var(--primary-orange);
}

/* ==========================================================================
   7. PRODUCT CATEGORIES SECTION
   ========================================================================== */
.categories-section {
  background-color: #ffffff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  height: 270px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: inherit;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.category-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.category-card:hover .category-bg-img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 30, 0.1) 0%, rgba(7, 17, 30, 0.7) 50%, rgba(7, 17, 30, 0.95) 100%);
  z-index: 2;
  transition: background var(--transition-normal);
}

.category-card:hover .category-overlay {
  background: linear-gradient(180deg, rgba(7, 17, 30, 0.2) 0%, rgba(7, 17, 30, 0.75) 45%, rgba(7, 17, 30, 0.98) 100%);
}

.category-content {
  position: relative;
  z-index: 3;
  padding: 22px;
  color: #ffffff;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.categories-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.category-desc {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.35;
  margin-bottom: 14px;
}

.category-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.category-card:hover .category-arrow-btn {
  background: var(--primary-orange);
  transform: translateX(4px);
}

/* ==========================================================================
   8. VALUE PROPOSITION BAR (WHY CHOOSE AABEX)
   ========================================================================== */
.why-choose-section {
  background-color: #f8fafc;
  background-image:
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.045) 0px, rgba(15, 23, 42, 0.045) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.045) 0px, rgba(15, 23, 42, 0.045) 1px, transparent 1px, transparent 40px);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 38px 0;
}

.why-choose-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  align-items: center;
  gap: 32px;
}

.why-choose-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.why-choose-header p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.why-choose-wrapper-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-choose-wrapper-centered .why-choose-header {
  margin-bottom: 26px;
}

.why-choose-wrapper-centered .why-choose-header h3 {
  font-size: 1.9rem;
}

.why-choose-wrapper-centered .value-props-grid {
  width: 100%;
}


.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.value-prop-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-prop-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.value-prop-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 3px;
  line-height: 1.2;
}

.value-prop-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Redesigned value-prop cards: color-washed icon, card surface, lift on hover */
.value-prop-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md, 12px);
  padding: 26px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.value-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 12px 24px rgba(15, 23, 42, 0.1));
  border-color: rgba(242, 121, 10, 0.35);
}
.value-prop-icon-wrap {
  background: var(--primary-orange-light);
  border: none;
  color: var(--primary-orange-hover);
  box-shadow: none;
}

.value-prop-icon-wrap svg {
  width: 24px;
  height: 24px;
}


/* ==========================================================================
   8b. STATS COUNTER STRIP
   ========================================================================== */
.stats-strip-section {
  background: linear-gradient(135deg, #060d17 0%, #0a1b36 55%, #063163 100%);
  padding: 46px 0;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-number span {
  color: var(--primary-orange);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   8c. TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  background: var(--bg-page);
  padding: 70px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.testimonial-quote-icon {
  color: var(--primary-orange-light);
  width: 34px;
  height: 34px;
}
.testimonial-quote-icon svg {
  width: 100%;
  height: 100%;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.testimonial-text {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue);
  background: linear-gradient(135deg, var(--brand-blue), var(--navy-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author-info h6 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2px;
}
.testimonial-author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   8d. FAQ ACCORDION
   ========================================================================== */
.faq-section {
  background: #ffffff;
  padding: 70px 0;
  border-top: 1px solid var(--border-light);
}
.faq-wrapper {
  max-width: 820px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.is-open {
  border-color: rgba(242, 121, 10, 0.35);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #ffffff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy-dark);
}
.faq-question-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange-hover);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.is-open .faq-question-icon {
  transform: rotate(45deg);
  background: var(--primary-orange);
  color: #ffffff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 22px 20px 22px;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--navy-darkest);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 40px);
  color: #cbd5e1;
  padding: 60px 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-logo-wrap {
  margin-bottom: 20px;
}

.footer-logo-wrap img {
  height: 70px !important;
  width: auto !important;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.footer-logo-title span {
  color: var(--primary-orange);
}

.footer-logo-sub {
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 4px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a:hover {
  color: #94a3b8;
}

/* ==========================================================================
   11. FLOATING WHATSAPP CHATBOT & WIDGET
   ========================================================================== */
.floating-chat-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

/* Chat Assistant Popup Window */
.chat-assistant-window {
  width: 320px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 12px;
  transition: all var(--transition-bounce);
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom right;
  pointer-events: auto;
}

.chat-assistant-window.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}

.chat-header {
  background: var(--navy-darkest);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--primary-orange);
  position: relative;
}

.agent-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  border: 1.5px solid var(--navy-darkest);
}

.agent-details h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.agent-details span {
  font-size: 0.7rem;
  color: #94a3b8;
}

.btn-close-chat {
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.btn-close-chat:hover {
  color: #ffffff;
}

.chat-body {
  padding: 16px;
  background: #f8fafc;
  max-height: 320px;
  overflow-y: auto;
}

.bot-speech-bubble {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px 12px 12px 2px;
  padding: 12px 14px;
  font-size: 0.835rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  line-height: 1.4;
}

.chat-quick-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-pill-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #0284c7;
  text-align: left;
  transition: all var(--transition-fast);
}

.option-pill-btn:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  transform: translateX(2px);
}

/* ==========================================================================
   11. FLOATING CHATBOT & DUAL ACTION BUTTONS (SUPPORT + WHATSAPP)
   ========================================================================== */
.floating-chat-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

/* Chat Assistant Popup Window */
.chat-assistant-window {
  width: 340px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 14px;
  transition: all var(--transition-bounce);
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom right;
  pointer-events: auto;
}

.chat-assistant-window.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}

.chat-header {
  background: var(--navy-darkest);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--primary-orange);
  position: relative;
}

.agent-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  border: 1.5px solid var(--navy-darkest);
}

.agent-details h6 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.agent-details span {
  font-size: 0.7rem;
  color: #94a3b8;
}

.btn-close-chat {
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.btn-close-chat:hover {
  color: #ffffff;
}

.chat-body {
  padding: 14px 16px;
  background: #f8fafc;
  max-height: 320px;
  min-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot-speech-bubble {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px 12px 12px 2px;
  padding: 10px 14px;
  font-size: 0.835rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  line-height: 1.4;
  align-self: flex-start;
  max-width: 90%;
}

.user-speech-bubble {
  background: var(--navy-dark);
  color: #ffffff;
  border-radius: 12px 12px 2px 12px;
  padding: 9px 14px;
  font-size: 0.8125rem;
  align-self: flex-end;
  text-align: right;
  max-width: 85%;
  line-height: 1.35;
}

.chat-quick-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.option-pill-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #0284c7;
  text-align: left;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.option-pill-btn:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  transform: translateX(2px);
}

.chat-whatsapp-cta-btn {
  background: var(--whatsapp-green);
  color: #ffffff !important;
  font-size: 0.785rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.chat-whatsapp-cta-btn:hover {
  background: var(--whatsapp-green-hover);
  transform: translateY(-1px);
}

/* Chat Input Footer Bar */
.chat-footer-bar {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-field {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-family: inherit;
  outline: none;
  background-color: #f8fafc;
  transition: border-color var(--transition-fast);
}

.chat-input-field:focus {
  background-color: #ffffff;
  border-color: var(--primary-orange);
}

.chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.chat-send-btn:hover {
  background: var(--primary-orange-hover);
}

/* Stacked Floating Action Buttons (Red Support Headset + Green WhatsApp) */
.floating-actions-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: auto;
}

.action-btn-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Red Support / Chatbot Button */
.chatbot-float-btn {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 50% !important;
  background-color: #E11D48 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.45);
  position: relative;
  transition: all var(--transition-bounce);
  border: none !important;
  outline: none;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}

.chatbot-float-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  display: block;
}

.chatbot-float-btn:hover {
  background-color: #be123c !important;
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.55);
}

.chatbot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #1E3A8A !important;
  color: #ffffff !important;
  font-size: 0.6875rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 10;
  pointer-events: none;
}

/* Green WhatsApp Button */
.whatsapp-float-btn {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 50% !important;
  background-color: #25D366 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: all var(--transition-bounce);
  text-decoration: none;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}

.whatsapp-float-btn svg {
  fill: #ffffff !important;
  color: #ffffff !important;
  display: block;
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a !important;
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  display: none !important;
}

/* ==========================================================================
   12. REQUEST A QUOTE MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 24, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active 
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-header {
  background: var(--navy-darkest);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close-btn {
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #f8fafc;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(242, 121, 10, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-submit-rfq {
  width: 100%;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  transition: background var(--transition-fast);
}

.btn-submit-rfq:hover {
  background: var(--primary-orange-hover);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-darkest);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2500;
  opacity: 0;
  transition: all var(--transition-bounce);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--success-green);
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .why-choose-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual-wrap {
    order: -1;
  }
  .hero-content {
    max-width: 100%;
    order: 2;
  }
  .hero-tag {
    justify-content: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-features-strip {
    text-align: left;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links, .search-bar-wrapper {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-actions {
    gap: 12px;
  }
  .user-account-btn span,
  .quote-basket-btn span {
    display: none;
  }
  .user-account-btn,
  .quote-basket-btn {
    gap: 0;
  }
}

@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
  .hero-section {
    padding: 32px 0 40px 0;
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
  }
  .hero-tag {
    font-size: 0.7rem;
  }
  .hero-visual-wrap {
    margin-bottom: 20px;
  }
  .hero-image-card {
    border-radius: 14px;
  }
  .hero-image {
    height: 260px;
    object-position: center;
  }
  .hero-content {
    padding-top: 4px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group > * {
    width: 100%;
    justify-content: center;
  }
  .hero-features-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .chat-assistant-window {
    width: 290px;
  }
}

@media (max-width: 480px) {
  .hero-image {
    height: 220px;
  }
  .hero-title {
    font-size: 2.05rem;
  }
  .hero-description {
    font-size: 1.02rem;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .value-props-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .faq-question {
    font-size: 0.875rem;
    padding: 16px;
  }
}

/* Full-bleed wrapper (WordPress shortcode deployment only): breaks the
   [aabex_v2_home] shortcode out of any page-builder container/column so
   it always spans the full viewport width, no matter how narrow or
   off-center the row/column around it is. Harmless no-op locally since
   #aabex-v2-fullbleed only exists in the WordPress-deployed markup.
   Scoped to >=960px: below that, page builders stack their columns to
   100% width on their own, so this correction is unnecessary there and
   was fighting with that natural mobile stacking, causing horizontal
   overflow. The JS runtime fix (js/main.js) is the real correction and
   also only runs at >=960px; this is just its CSS-only fallback. */
#aabex-v2-fullbleed {
  overflow-x: hidden;
}

@media (min-width: 960px) {
  #aabex-v2-fullbleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
}




/* ==========================================================
   COMPACT SCALE PASS - page felt too "zoomed in"; tighten
   typography scale and the biggest oversized spacing/imagery.
   Mobile-specific rules above (hero-section/hero-image at
   max-width:768px/480px) are left untouched - the desktop
   versions here are scoped to min-width:769px so they don't
   fight with those.
   ========================================================== */

html {
  font-size: 100%;
}

.brand-logo-img, .aab-logo-img {
  height: 52px;
  max-height: 58px;
}

.header-container {
  padding: 10px 24px;
}

.category-card {
  height: 215px;
}

.section-padding {
  padding: 88px 0;
}

.brands-section {
  padding: 40px 0;
}

.why-choose-section {
  padding: 72px 0;
}

.stats-strip-section {
  padding: 48px 0;
}

.testimonials-section {
  padding: 84px 0;
}

.faq-section {
  padding: 84px 0;
}

.site-footer {
  padding: 44px 0 24px 0;
}

@media (min-width: 769px) {
  .hero-section {
    padding: 42px 0 46px 0;
  }
  .hero-image {
    height: 400px;
    min-height: 360px;
  }
}
